summaryrefslogtreecommitdiff
path: root/source3/intl
Commit message (Collapse)AuthorAgeFilesLines
* lib: Remove "tdb based replacement for gettext"Andrew Bartlett2019-05-222-293/+0
| | | | | | | This is unused since SWAT was removed in Samba 4.1 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* lib: Pass mem_ctx to lock_path()Volker Lendecke2018-08-171-1/+1
| | | | | | | | Fix a confusing API: Many places TALLOC_FREE the path where it's not clear you have to do it. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* lib: Give util_paths.c its own headerVolker Lendecke2017-06-241-0/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* lang_tdb: don't leak lock_path or data_path onto talloc tosDavid Disseldorp2014-11-031-5/+18
| | | | | | | Also check for allocation failures. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* source3/intl/lang_tdb.h: fix licence/copyrightGünther Deschner2011-06-101-0/+23
| | | | Guenther
* lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett2011-06-061-1/+1
| | | | | | | | | | This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
* s3: only include tdb headers where needed.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-051-1/+1
|
* s3-build: only include intl protos where needed.Günther Deschner2011-03-302-0/+8
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* Use common util_file code.Jelmer Vernooij2008-10-121-3/+3
|
* use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam2008-03-261-1/+1
| | | | | Michael (This used to be commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
* util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam2008-03-251-1/+1
| | | | | | | | Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
* Fix some warningsVolker Lendecke2008-02-251-2/+9
| | | | | warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result (This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
* Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter2007-11-011-1/+1
| | | | | | | | | | | | | | | | | | The point is doing the following associations: - non discardable state data (all TDB files that may need to be backed up) go to statedir - shared data (codepage stuff) go to codepagedir The patch *does not change* the default location for these directories. So, there is no behaviour change when applying it. The main change is for samba developers who have to think when dealing with files that previously pertained to libdir whether they: - go in statedir - go in codepagedir - stay in libdir (This used to be commit d6cdbfd875bb2653e831d314726c3240beb0a96b)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23671: Remove unused code -- 16416 bytes of bss space...Volker Lendecke2007-10-101-26/+0
| | | | (This used to be commit 25f3bfdb1f60ab17af05608481068299da94cec9)
* r21973: make use of tdb_*_bystring() and string_term_tdb_data()Stefan Metzmacher2007-10-101-11/+5
| | | | | | | to avoid creating the TDB_DATA struct from strings "by hand" metze (This used to be commit 9756b7ea084139e74061e98416716acd9d1aedfa)
* r17345: Some C++ warningsVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 21c8fa2fc8bfd35d203b089ff61efc7c292b4dc0)
* r14225: Fix Coverity Bug # 67Volker Lendecke2007-10-101-1/+4
| | | | (This used to be commit 740522875105ff52d53065cb35720426532fb174)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-1/+1
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2007-10-101-2/+2
| | | | | | version to 3.0.20pre1 (This used to be commit 9727d05241574042dd3aa8844ae5c701d22e2da1)
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2007-10-101-2/+2
| | | | | | | | | | | | | | | | | | | 1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-4/+4
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r39: * importing .cvsignore filesGerald Carter2007-10-101-2/+0
| | | | | * updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
* More casty-foo ...Richard Sharpe2003-11-131-1/+2
| | | | (This used to be commit 00d5136ea0456115c25bf3c791616ef4bbbb8fc1)
* Add newline to debug messageAndrew Bartlett2003-11-071-1/+1
| | | | (This used to be commit e0868b978ec5debf6b91aeeb85aa1f404d07a34b)
* Fix from Monyo.John Terpstra2003-10-181-1/+1
| | | | (This used to be commit f6f5cdb9aa0d7823c3a2327dfe681d22f56965da)
* Allow d_printf() to handle strings with escaped quotation marks since theTim Potter2003-09-261-2/+33
| | | | | | | msg file includes the escape character. Fixes bug #489. (This used to be commit 8ce279e47184623e74f795294ffba842e4f2e848)
* Fix return of result. Patch from Yasuma Takeda <yasuma@miraclelinux.com>Jeremy Allison2003-09-221-0/+1
| | | | | Jeremy. (This used to be commit 95e33b1250abbbb3a0ad5e9fa1586d545e51322b)
* Applied Monyo's patch for bug #412 which allows \n characters toTim Potter2003-09-221-0/+2
| | | | | appear in msg strings. (This used to be commit 53a2a389902b6ffa37dd61f0c0a496744fc2e2b3)
* Put in some DEBUGs for swat language selection. Part of bug 456.Tim Potter2003-09-191-13/+22
| | | | (This used to be commit bbe4ae8af2918808a1fd3547602c909f42a54634)
* More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison2003-09-051-2/+2
| | | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-3/+3
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-231-1/+2
| | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
* sync 3.0 branch with headJelmer Vernooij2002-08-171-2/+4
| | | | (This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison2002-01-091-2/+2
| | | | | | in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy. (This used to be commit ec71f1732b6b27bd2d65b250a6f3720a235dc38d)
* Fixed nasty cast of tdb_delete in traversals.Jeremy Allison2002-01-031-1/+1
| | | | | Jeremy. (This used to be commit a0cdec3acc82d1ce0292fadd4b8dac23638450f3)
* add *.po32 to ignore listHerb Lewis2001-12-121-0/+1
| | | | (This used to be commit fe0db4c55f8bfc70004edd60a29359337fa40723)
* Ignore .po files.Martin Pool2001-11-191-0/+1
| | | | (This used to be commit 4b7c0c9928f649887edc4aac093cb0cfbf51ef4a)
* get rid of compiler warnings (casts and delete unused variables)Herb Lewis2001-10-231-2/+2
| | | | (This used to be commit 51cb4411df61d1caec9d84809b1a53a6a632f808)
* - renamed *.po message files to *.msgAndrew Tridgell2001-10-151-12/+15
| | | | | | | | - fixed minor bug in lang_tdb.c the msg files are still in a po/ directory, but unfortunately that is not easy to fix given the terrible handling of directories in CVS. (This used to be commit 2fbeedeb1607957f1e48e66074445dc3bc5a16f7)
* removed unused gettext codeAndrew Tridgell2001-10-1522-4956/+0
| | | | (This used to be commit aaa1e9315e5c8cc6ef4517aa9ec4f22fd2f0eb5c)
* the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell2001-10-141-14/+53
| | | | | | | | and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files (This used to be commit 5296b20ad85d7519c870768455cb4d8df048c55a)
* switched over to a new method of handling uppercase/lowercase mappingsAndrew Tridgell2001-10-031-0/+181
| | | | | | | | | | | | | | | | | | | | | | | for unicode strings. The new method relies on 3 files that are mmap'd at startup to provide the mapping tables. The upcase.dat and lowcase.dat tables should be the same on all systems. The valid.dat table says what characters are valid in 8.3 names, and differs between systems. I'm committing the japanese valid.dat here, in future we need some way of automatically installing and choosing a appropriate table. This commit also adds my mini tdb based gettext replacement in intl/lang_tdb.c. I have not enabled this yet and have not removed the old gettext code as the new code is still being looked at by Monyo. Right now the code assumes that the upcase.dat, lowcase.dat and valid.dat files are installed in the Samba lib directory. That is not a good choice, but I'll leave them there until we work out the new install directory structure for Samba 3.0. simo - please look at the isvalid_w() function and think about using it in your new mangling code. That should be the final step to correctly passing the chargen test code from monyo. (This used to be commit 1c221994f118dd542a158b2db51e07d04d0e9314)
* added files and directories to support gettext() featureMotonobu Takahashi2001-09-2423-0/+5056
Also added some po files to support: English, Japanese, Polish, Turlish (This used to be commit 736b713c49ebe45923169b70f5c47f5afda8d94a)