summaryrefslogtreecommitdiff
path: root/xtalloc.c
blob: 656ac2d6cb5bff989f62462fff0e147432e643d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
 * Copyright © 2010 Intel Corporation
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice (including the next
 * paragraph) shall be included in all copies or substantial portions of the
 * Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS IN THE SOFTWARE.
 */

#include <talloc.h>

void *
xtalloc_named_const (const void *context, size_t size, const char *name)
{
	void *ret;

	ret = talloc_named_const (context, size, name);
	if (ret == NULL) {
		fprintf (stderr, "Out of memory.\n");
		exit (1);
	}

	return ret;
}

char *
xtalloc_strdup (const void *t, const char *p)
{
	char *ret;

	ret = talloc_strdup (t, p);
	if (ret == NULL) {
		fprintf (stderr, "Out of memory.\n");
		exit (1);
	}

	return ret;
}

char *
xtalloc_strndup (const void *t, const char *p, size_t n)
{
	char *ret;

	ret = talloc_strndup (t, p, n);
	if (ret == NULL) {
		fprintf (stderr, "Out of memory.\n");
		exit (1);
	}

	return ret;
}

char *
xtalloc_asprintf (const void *t, const char *fmt, ...)
{
	va_list ap;
	char *ret;

	va_start(ap, fmt);

	ret = talloc_vasprintf(t, fmt, ap);
	if (ret == NULL) {
		fprintf (stderr, "Out of memory.\n");
		exit (1);
	}

	va_end(ap);
	return ret;
}

void *
_xtalloc_reference_loc (const void *context,
			const void *ptr, const char *location)
{
	void *ret;

	ret = _talloc_reference_loc (context, ptr, location);
	if (ret == NULL) {
		fprintf (stderr, "Out of memory.\n");
		exit (1);
	}

	return ret;
}
tion value='libreoffice-4-3-6'>libreoffice-4-3-6 main, development dictionaries repositoryroot
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2017-07-12Branch libreoffice-5-3-5libreoffice-5-3-5Christian Lohmaier0-0/+0
2017-05-02tdf#107558 French spelling dictionary (6.0.3) and thesaurusgov-5.3-49cp-5.3-66cp-5.3-65cp-5.3-64cp-5.3-63cp-5.3-60cp-5.3-59cp-5.3-58cp-5.3-57cp-5.3-56cp-5.3-55cp-5.3-53cp-5.3-52cp-5.3-51cp-5.3-50cp-5.3-49cp-5.3-47cp-5.3-46cp-5.3-44cp-5.3-43cp-5.3-42cp-5.3-41cp-5.3-40cp-5.3-39cp-5.3-38cp-5.3-37cp-5.3-36cp-5.3-35cp-5.3-33cp-5.3-32cp-5.3-29cp-5.3-28cp-5.3-26cp-5.3-25cp-5.3-24cp-5.3-22cp-5.3-21cp-5.3-20cp-5.3-19cp-5.3-18cp-5.3-17cp-5.3-15cp-5.3-14cp-5.3-13cp-5.3-12cp-5.3-11co-5.3-67co-5.3-66co-5.3-65co-5.3-64co-5.3-63co-5.3-59co-5.3-58co-5.3-57co-5.3-54co-5.3-49co-5.3-48cd-5.3-61cd-5.3-23libreoffice-5-3distro/collabora/cp-5.3distro/collabora/cd-5.3-3.4Olivier R6-84839/+88495
2017-03-03Update Croatian dictionary to version 2.0cp-5.3-9cp-5.3-8-wincp-5.3-8cp-5.3-7cp-5.3-6cp-5.3-5cp-5.3-4cp-5.3-3cp-5.3-2cp-5.3-10cp-5.3-1Krunoslav Šebetić3-215123/+55246
2017-02-07Guarani spell checker and thesaurus.Giovanni Caligaris9-9/+4250
2017-01-22tdf#105396 update German dictionariesAndras Timar15-90882/+360559
2016-12-29tdf#97349: typo fixes in control wordsAndras Timar1-2/+2
2016-12-14Updated the GB DictionaryMarco A.G.Pinto4-180/+2112
2016-11-23Branch libreoffice-5-3Christian Lohmaier0-0/+0
2016-11-22tdf#103922: add Tibetan syllable spellcheckerlibreoffice-5-3-branch-pointAron Budea9-0/+575
2016-11-20Czech thesaurus: regenerate from updated sourceStanislav Horacek4-4433/+3724
2016-11-07Czech thesaurus: regenerate from updated sourceStanislav Horacek6-82083/+80581
2016-10-08Calquing English’s title case is bad style in Spanish and GuaraniAdolfo Jayme Barrientos1-2/+2
2016-10-03Update pt_PT dictionary to version 16.10.1.2Andras Timar4-15942/+91971
2016-09-29Update Guarani thesaurus to v1.1Giovanni Calligaris11-915/+921
2016-08-16Update the Swedish dictionary to the latest releaseNiklas Johansson3-165718/+166321
2016-07-28cut size of README_en_GB.txtAron Budea1-15573/+11
2016-07-18tdf#97393, tdf#100019: updated EN (CA, GB, US, ZA) dictionariesAron Budea10-44003/+46538
2016-07-07Update pt_PT dictionary to version 16.7.4.1Andras Timar3-46/+74
2016-06-14tdf#90786 Put license file in the right directoryAron Budea1-1/+2
2016-05-24gb_Dictionary_add_thesaurus doesn't like whitespacelibreoffice-5-2-branch-pointcp-5.1-branch-pointChristian Lohmaier1-3/+1
2016-05-23thesuaurs.idx is generated by gb_Dictionary_add_thesaurusChristian Lohmaier2-145870/+1
2016-05-23tdf#97393 Update English Dictionaries to 2016.05.01 releaseAron Budea15-164413/+310946
2016-05-18tdf#90786 Bundle license file, and update Scottish Gaelic dict to 3.1Aron Budea4-6870/+111641
2016-04-07Update Croatian dictionaryKrunoslav Šebetić4-60130/+60741
2016-04-05Bring shipped Spanish dictionary up to version 2.1Ricardo Palomares8-7989/+22236
2016-03-14Update Icelandic dictionary and thesaurusBjörgvin Ragnarsson4-27612/+35842
2016-03-10tdf#98531 Updated Croatian dictionaryKrunoslav Šebetić3-186339/+186648
2016-02-26Czech thesaurus: Blacklist more words + re-generate after the recent changes.Jan Holesovsky2-100422/+75153
2016-02-26dictionary-to-thesaurus.py: Put the better categorized words to the front.Jan Holesovsky1-7/+13
2016-02-26dictionary-to-thesaurus.py: Only output the same class of word.Jan Holesovsky1-5/+27
2016-02-25Czech thesaurus: Updates of some terms.Jan Holesovsky2-36/+17
2016-02-25Czech thesaurus: Blacklist some unhelpful meanings.Jan Holesovsky3-8/+14
2016-02-25dictionary-to-thesaurus.py: Move blacklist to a separate file.Jan Holesovsky2-16/+35
2016-02-25Related tdf#93514: Introduce a new Czech thesaurus.Jan Holesovsky6-5/+186534
2016-02-25dictionary-to-thesaurus.py: Actually use the Czech names.Jan Holesovsky1-4/+4
2016-02-25dictionary-to-thesaurus.py: Various cleanups.Jan Holesovsky1-12/+66
2016-02-25dos2unix on the cs_CZ files.Jan Holesovsky4-520/+514
2016-02-25Czech: Script and dictionary to generate the Czech thesaurus.Jan Holesovsky2-0/+217872
2016-02-11Updated pt_PT dictionary to version 16.1.3.4Andras Timar2-15/+20
2016-01-17Bring shipped Spanish dictionary up to version 2.0Ricardo Palomares7-48438/+56809
2016-01-07Update the Swedish spelling dictionariesNiklas Johansson3-79/+649
2016-01-04tdf#96782 updated German dictionariesAndras Timar15-150513/+345430
2015-12-28Updated Slovenian thesaurusAndras Timar3-380/+1468
2015-12-12Add Guarani thesaurus (gug-PY)Giovanni Caligaris11-0/+3293
2015-10-27tdf#95024 update Hungarian spelling dictionarylibreoffice-5-1-branch-pointLászló Németh4-83523/+84518
2015-10-15Update pt_PT dictionary to version 15.10.3.1Andras Timar2-3/+4
2015-09-28tdf#94573: invalid encoding in hyph_zu_ZAJulien Nabet1-1/+1
2015-09-21tdf#94415 update Greek dictionary to version 0.9Andras Timar