Age | Commit message (Collapse) | Author |
|
* src/gpath.c (g_path_get_dirname): If the pathname starts with
* a
"/", return the "/".
svn path=/trunk/mono/; revision=67334
|
|
* test/string-util.c (test_strlcpy): Add new test.
* src/gunicode.c (g_filename_from_utf8): g_strlcpy needs the full
size, with the extra zero at the end; Fixes the stack trace
issue.
svn path=/trunk/mono/; revision=67332
|
|
* src/gutf8.c : several fixes:
- fixed incorrect mb_size clear and mb_remain computation.
- initialize items_written to 0 for error case.
- in utf8_to_utf16_len differentiate error messages
completely.
- in g_utf8_to_utf16 use guchar instead of gchar.
* test/utf8.c : added test case string in test_utf8_seq() to
both test_utf8_to_utf16() and test_utf16_to_utf8().
svn path=/trunk/mono/; revision=67173
|
|
svn path=/trunk/mono/; revision=67169
|
|
This is causing the problems in bootstrap
svn path=/trunk/mono/; revision=67168
|
|
svn path=/trunk/mono/; revision=67155
|
|
Removes many of the warnings in valgrind with make check in corlib
2006-10-21 Miguel de Icaza <miguel@novell.com>
* src/gunicode.c (g_filename_from_utf8): Use g_strlcpy here.
* src/gmarkup.c (g_markup_parse_context_parse): Do not dereference
null values here. This gets things a little bit further in
corlib, but not too far.
svn path=/trunk/mono/; revision=66866
|
|
* src/gdir.c (g_dir_read_name): Do not return . or ..
svn path=/trunk/mono/; revision=66864
|
|
* src/gstr.c (g_ascii_xdigit_value): Make this into a function,
thanks to Paolo for pointing the problem with the double macro
expansion.
svn path=/trunk/mono/; revision=66863
|
|
* src/gmodule.c (g_module_open): Actually return NULL if we fail
to load the module (was hiding the real bug in the pinvoke tests).
(g_module_build_path): Do not prepend "lib" if the "lib" is part
of the call.
svn path=/trunk/mono/; revision=66861
|
|
svn path=/trunk/mono/; revision=66860
|
|
* src/gstr.c (g_strsplit): this routine has some non-expected
behavior, if the string begins with the delimiter, it will return
an empty first string, unlike strtok
* src/gpath.c (g_path_get_dirname): Return "." as a dirname for
paths that do not contain a directory.
svn path=/trunk/mono/; revision=66859
|
|
svn path=/trunk/mono/; revision=66809
|
|
svn path=/trunk/mono/; revision=66808
|
|
* test/array.c: new test for insertion in the middle of other values.
* src/garray.c: fixed destination index.
svn path=/trunk/mono/; revision=66798
|
|
* src/gpath.c (g_build_path): Do not append terminator if the next
string is empty.
* src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
documented.
(g_utf16_to_utf8): Include trailing zero as documented.
svn path=/trunk/mono/; revision=66796
|
|
svn path=/trunk/mono/; revision=66780
|
|
* src/gmarkup.c (g_markup_parse_context_parse): Accept dots in
* the
sequence, reset the state after a closing element.
svn path=/trunk/mono/; revision=66775
|
|
* src/garray.c (g_array_insert_vals): Shift the elements the
correct amount.
svn path=/trunk/mono/; revision=66772
|
|
* src/garray.c (g_array_insert_vals): Should actually use the
number of elements to insert.
* test/array.c: Add new test case, this was happening in the JIT.
svn path=/trunk/mono/; revision=66771
|
|
* Add _GNU_SOURCE at configure time, remove from sources.
* src/gstr.c (g_strsplit): Empty strings return a 0 value vector.
* src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
for the support stuff.
Move private prototypes elsewhere
svn path=/trunk/mono/; revision=66769
|
|
svn path=/trunk/mono/; revision=66766
|
|
* src/glib.h (g_thread_init): Adding missing brace
(g_list_next): remove ; from the macro definition.
svn path=/trunk/mono/; revision=66762
|
|
* src/gutf8.c: internal methods
* src/ghashtable.c: internal methods.
svn path=/trunk/mono/; revision=66761
|
|
* src/gerror.c (g_propagate_error): Implement.
* src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.
* test/string-util.c (test_ascii_strncasecmp): test
svn path=/trunk/mono/; revision=66728
|
|
svn path=/trunk/mono/; revision=66685
|
|
2006-10-15 Miguel de Icaza <miguel@novell.com>
* configure.in: Fix detection of platforms the [3456] stuff does
not work inside autoconf.
* src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro
* src/glib.h (offsetof): Mono sources depend on this, bring this
from the standard definition. Redefine G_STRUCT_OFFSET in terms
of this.
svn path=/trunk/mono/; revision=66684
|
|
* src/glib.h (G_STRUCT_OFFSET): fix macro definition.
fix typo.
* src/sizes.c: Add test.
* src/gshell.c: Make it build
svn path=/trunk/mono/; revision=66683
|
|
svn path=/trunk/mono/; revision=66682
|
|
svn path=/trunk/mono/; revision=66681
|
|
* src/glib.h: add various _TO_LE and _FROM_LE macros.
* test/endian.c: tests for endian conversion macros.
svn path=/trunk/mono/; revision=66680
|
|
* src/gmodule.h: Move definitions of gmodule to gmodule.h because
Mono expects it there.
svn path=/trunk/mono/; revision=66465
|
|
svn path=/trunk/mono/; revision=66463
|
|
svn path=/trunk/mono/; revision=66459
|
|
* src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
and put the array in readonly memory.
* src/gstr.c: fixed the build and made array const.
* src/gmodule.c: fixed thinko.
svn path=/trunk/mono/; revision=66447
|
|
svn path=/trunk/mono/; revision=66435
|
|
svn path=/trunk/mono/; revision=66432
|
|
|
|
svn path=/trunk/mono/; revision=66428
|
|
svn path=/trunk/mono/; revision=66427
|
|
svn path=/trunk/mono/; revision=66426
|
|
* src/ghashtable.c (g_hash_table_new_alloc,
g_hash_table_new_full_alloc): Add new entry points that will be
used for GC-aware hashtables.
svn path=/trunk/mono/; revision=66421
|
|
svn path=/trunk/mono/; revision=66396
|
|
* test/string-util.c:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strescape.
svn path=/trunk/mono/; revision=66395
|
|
* test/string-util.c:
* configure.ac:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strlcpy.
svn path=/trunk/mono/; revision=66394
|
|
* test/string-util.c:
* TODO:
* src/gstr.c:
* src/glib.h: implemented g_strdelimit.
svn path=/trunk/mono/; revision=66393
|
|
* test/spawn.c: add search path flag when running ls.
* src/gspawn.c: g_spawn_command_line_sync searches the program in the
PATH if it's not an absolute path.
svn path=/trunk/mono/; revision=66390
|
|
* test/string-util.c:
* src/glib.h: implement g_ascii_xdigit_value and tests.
svn path=/trunk/mono/; revision=66389
|
|
* src/gstr.c (g_ascii_strdown): Implement.
* str/glib.c (g_log_set_handler): empty.
(g_printerr): empty.
(GMemVTable): define, empty, ignored.
(G_USEC_PER_SEC) :-)
svn path=/trunk/mono/; revision=66378
|
|
* src/gunicode.c (g_convert): Add bytes_read, bytes_written
support; Small fixes to avoid valgrind errors.
(g_utf8_validate): Add, based on the libxml code.
gstr.c: implement g_strdown.
svn path=/trunk/mono/; revision=66375
|