ChangeLog 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287
  1. 2009-01-08 Bill Holmes <[email protected]>
  2. * winconfig.h, src/gfile-posix.c :
  3. Fixing the MSVC builds.
  4. Contributed under MIT/X11 license.
  5. 2009-01-07 Miguel de Icaza <[email protected]>
  6. * src/gfile-posix.c: Move g_get_current_dir, as it is a
  7. POSIX-esque feature, and some other systems do not have current
  8. directories.
  9. * src/glib.h (G_LOCK_DEFINE, G_LOCK_DEFINE_STATIC):
  10. Embedded support from Paolo's work on quack.
  11. * configure.ac: check for strtok_r, langinfo.h and iconv.h
  12. * src/gpath.c (strtok_r): Add a strtok_r implementation if it is
  13. not available on the target system.
  14. 2008-11-05 Bill Holmes <[email protected]>
  15. * src/gutf8.c, src/unicode-data.h, src/gunicode.c :
  16. Fixing the MSVC builds.
  17. Contributed under MIT/X11 license.
  18. 2008-11-04 Atsushi Enomoto <[email protected]>
  19. * src/gutf8.c, src/gunicode.c, src/glib.h:
  20. implemented g_unichar_type(), g_unichar_toupper(),
  21. g_unichar_tolower(), g_unichar_totitle(), g_utf8_strup()
  22. and g_utf8_strdown(). Fixed some surrogate pair bugs.
  23. * TODO : removed implemented things.
  24. * test/unicode.c, test/tests.h, test/utf8.c, test/Makefile.am:
  25. added new tests.
  26. 2008-11-04 Atsushi Enomoto <[email protected]>
  27. * src/unicode-data.h : new header for some new unicode manipulation
  28. functions.
  29. 2008-10-17 Miguel de Icaza <[email protected]>
  30. * Allow types to be defined on the eglib-config.h file, that could
  31. be a platform specific generated type file.
  32. * gtimer.c: split functionality in platforms.
  33. 2008-10-13 Bill Holmes <[email protected]>
  34. * src/gdate-win32.c : Fix compiler errors for MSVC.
  35. * src/gpath.c : Fix compiler errors for MSVC.
  36. * src/gfile-posix.c : Adding declaration for mkstemp for the win 32
  37. implementation in gfile-win32.c.
  38. Contributed under MIT/X11 license.
  39. 2008-10-11 Miguel de Icaza <[email protected]>
  40. * gtimer.c: Same process.
  41. * src/glib.h: Move g_strdup here, to consolidate all allocations
  42. in this header, will help for merging the allocation work later.
  43. * src/gpattern.c (compile_pattern): From Unity, use -1 in the enum
  44. for MatchType.
  45. * src/gpath.c: Split this one as well.
  46. * src/gmodule-win32.c, src/gmisc-unix.c, src/gmisc-win32.c,
  47. src/gmodule-unix.c: split functionality in platforms.
  48. * src/goutput.c (g_logv): On some platforms, before we abort we
  49. want to flush the stdout/stderr.
  50. 2008-10-10 Miguel de Icaza <[email protected]>
  51. * Split functionality that is operating system specific into
  52. -win32.c, -unix.c and -posix.c
  53. * Use g_malloc everywhere, and g_free, so that these can be easily
  54. overwritten consistently.
  55. 2008-09-16 Bill Holmes <[email protected]>
  56. * src/gunicode.c : Fix a warning.
  57. Contributed under MIT/X11 license.
  58. 2008-08-28 Bill Holmes <[email protected]>
  59. * src/glib.h : Adding a c++ definition for G_BEGIN_DECLS.
  60. Contributed under MIT/X11 license.
  61. 2008-08-27 Bill Holmes <[email protected]>
  62. * glib.h, gunicode.c : Fixing some compiler errors.
  63. Contributed under MIT/X11 license.
  64. 2008-08-20 Mike Voorhees <[email protected]>
  65. * Patch from Mike Voorhees to fix various problems with
  66. g_utf8_validate compared to the glib implementation and unit tests
  67. to ensure that there are no regressions.
  68. From a mailing list post to mono-devel-list on August 19th, 2008
  69. [Mono-dev] utf8 related patches. Please review.
  70. 2008-08-20 Mike Voorhees <[email protected]>
  71. * src/glib.h : Adding declarations for g_utf8_strlen, g_utf8_get_char,
  72. and g_utf8_next_char.
  73. * src/gunicode.c : Adding implementation for g_utf8_strlen, g_utf8_get_char,
  74. and g_utf8_next_char.
  75. * src/gunicode.c : Rewrote g_utf8_validate.
  76. * test/utf8.c Adding tests for g_utf8_strlen, g_utf8_get_char,
  77. g_utf8_next_char, and g_utf8_validate.
  78. Contributed under MIT/X11 license.
  79. 2008-08-05 Andreas Faerber <[email protected]>
  80. * autogen.sh: Suppress arguments warning for NOCONFIGURE.
  81. Contributed under MIT/X11 license.
  82. 2008-08-04 Bill Holmes <[email protected]>
  83. * test/tests.h, test/Makefile.am, test/memory.c : Adding memory tests to test
  84. allocation routines return NULL when 0 size is passed in.
  85. Contributed under MIT/X11 license.
  86. 2008-08-04 Bill Holmes <[email protected]>
  87. * src/glib.h : Changing the allocation routines to return null if 0 size is
  88. passed in.
  89. Contributed under MIT/X11 license.
  90. 2008-06-16 Zoltan Varga <[email protected]>
  91. * src/vasprintf.c (vasprintf): Applied patch from Michail Ushakov
  92. <[email protected]>. Workaround broken vsnprintf on windows. Fixes
  93. #400445.
  94. 2008-06-11 Zoltan Varga <[email protected]>
  95. * src/goutput.c (g_log): Remove unnecessary and incorrect call to
  96. g_strdup_printf (). Fixes #398918.
  97. 2008-05-01 Bill Holmes <[email protected]>
  98. * src/glib.h : Adding declarations for g_ucs4_to_utf16 and g_utf16_to_ucs4.
  99. * src/gutf8.c : Adding implementation for g_ucs4_to_utf16 and g_utf16_to_ucs4.
  100. * test/utf8.c Adding tests for g_ucs4_to_utf16 and g_utf16_to_ucs4.
  101. Contributed under MIT/X11 license.
  102. 2008-04-20 Geoff Norton <[email protected]>
  103. * src/gspan.c: Fix the _NSGetEnviron define to prevent an impropoer
  104. pointer dereference.
  105. 2008-03-19 Bill Holmes <[email protected]>
  106. * src/gpath.c (g_path_is_absolute) : Adding a case for '/'
  107. on Windows.
  108. * src/gpath.c (g_get_user_name) : On Windows add a check for %USERNAME%
  109. when %USER% fails.
  110. * src/gstr.c (g_strsplit, g_strsplit_set): Change to remove truncation
  111. errors with MSVC build.
  112. * src/gstr.c (g_filename_to_uri, g_filename_from_uri): Fixes to handle
  113. Windows paths.
  114. * src/gstr.c (g_ascii_strncasecmp): Convert each character to lower case
  115. before comparing.
  116. * src/gunicode.c (g_get_charset): Implement for Windows.
  117. Contributed under MIT/X11 license.
  118. 2008-03-12 Geoff Norton <[email protected]>
  119. * src/gutf8.c: Implement g_ucs4_to_utf16 and g_utf16_to_ucs4 as
  120. asserts. They're needed to build mono with eglib.
  121. * src/gutil.h: Add a few missing function declarations to the header.
  122. * src/gspawn.c: Some darwin implementations don't have crt_externs.h
  123. So we'll just define _NSGetEnviron() ourselves.
  124. * Makefile.am: Dont build test when cross compiling.
  125. * configure.ac: Define CROSS_COMPILING when cross compiling.
  126. Undefine _FORTIFY_SOURCE on arm-apple-darwin as the headers it
  127. requires are not available.
  128. 2008-01-15 Andreas Faerber <[email protected]>
  129. * configure.ac: Add default G_BREAKPOINT implementation.
  130. Fix typo in breakpoint CPU output.
  131. 2007-12-23 Zoltan Varga <[email protected]>
  132. * src/glib.h: Include <limits.h>. Fixes #350482.
  133. 2007-11-21 Dick Porter <[email protected]>
  134. * src/gslist.c (g_slist_find_custom): Implement
  135. * src/glist.c (g_list_find_custom): Implement
  136. * test/list.c: Test g_list_find_custom()
  137. * test/slist.c: Test g_slist_find_custom()
  138. 2007-11-20 Dick Porter <[email protected]>
  139. * src/gstr.c: Implement g_strsplit_set() and re-implement
  140. g_strsplit() so it passes the additional tests. (g_strsplit()
  141. should treat multi-char delimiters as just a single token, rather
  142. than a set of delimiters.)
  143. * src/gslist.c: Implement g_slist_index(), g_slist_nth() and
  144. g_slist_nth_data().
  145. * test/string-util.c: Test g_strsplit_set() and more tests for
  146. g_strsplit().
  147. * test/slist.c: Test g_slist_nth() and
  148. g_slist_index().
  149. 2007-11-06 Geoff Norton <[email protected]>
  150. * configure.ac: Check for libiconv_open as the previous check was failing against
  151. some versions of libiconv.
  152. 2007-11-06 Andreas Faerber <[email protected]>
  153. * test/Makefile.am: Fix noinst_PROGRAMS for automake 1.6.3
  154. Add support for VPATH
  155. 2007-11-06 Geoff Norton <[email protected]>
  156. * configure.ac: Determing if glib-2.0 is installed and set HAVE_GLIB appropriately
  157. * test/Makefile.am: Only build test-glib if glib-2.0 is available
  158. 2007-11-05 Geoff Norton <[email protected]>
  159. * configure.ac: Check for getpwent_r and wether libiconv is needed to be linked.
  160. Also look to see if we can use export-dynamic in the test suite.
  161. * test/Makefile.am: Get LDFLAGS from configure instead of setting them.
  162. * src/gerror.c: Implement g_clear_error.
  163. * src/glib.h: Only use the format, ... convention is HAVE_C99_SUPPORT is available.
  164. * src/gpath.c: Only use the getpwent_r codepath if getpwent_r is available.
  165. * src/gspawn.c: Define environ to call _NSGetEnviron() on Apple.
  166. * src/Makefile.am: Remove -Werror so we dont fail on different function declarations.
  167. Portions of all of the above are from Andreas Faerber & Jonathan Chambers
  168. 2007-10-31 Jonathan Chambers <[email protected]>
  169. * src/ghashtable.c: Add g_hash_table_foreach_steal.
  170. * src/garray.c: Add g_array_remove_index_fast.
  171. * src/gpath.c (g_path_is_absolute): Handle windows paths.
  172. * src/glib.h: Add g_hash_table_foreach_steal and g_array_remove_index_fast
  173. Contribution is licensed as MIT/X11.
  174. 2007-06-13 Jonathan Chambers <[email protected]>
  175. * src/gunicode.c: Add g_unichar_isxdigit and g_unichar_xdigit_value.
  176. * src/gmisc.c: Add g_win32_getlocale stub.
  177. * src/glib.h: Add declarations of above functions,
  178. GFreeFunc typedef, and CLAMP, GUINT_TO_LE, and threading
  179. macros.
  180. * test/string-util.c: Fix warning.
  181. * test/utf8.c: Add test for g_unichar_xdigit_value.
  182. Contribution is licensed as MIT/X11.
  183. 2007-05-05 Aaron Bockover <[email protected]>
  184. * src/gstr.c:
  185. * src/glib.h: Added g_ascii_tolower implementation; make g_ascii_strdown
  186. use it to do the transformation
  187. * test/string-util.c: Added a test for g_ascii_strdown
  188. 2007-04-27 Jonathan Chambers <[email protected]>
  189. * src/gstr.c: Fix off by one error in g_strdup allocation.
  190. 2007-04-27 Jonathan Chambers <[email protected]>
  191. * src/eglib-config.hw: Forgot to add for msvc build.
  192. * src/vasprintf: Forgot to add for msvc build.
  193. 2007-04-27 Jonathan Chambers <[email protected]>
  194. * src/gstr.c: Fix off by one error for NULL terminator.
  195. 2007-04-27 Jonathan Chambers <[email protected]>
  196. Combined patch from Michael Jerris <[email protected]> and me.
  197. * winconfig.h: Config file for msvc builds.
  198. * configure.ac: Add AC_CHECK_HEADERS for getopt.h, sys/time.h,
  199. sys/wait.h, and pwd.h.
  200. * src/gspawn.c: Include config.h and use HAVE_* macros.
  201. * src/eglib-config.h.in: Add inclusion guards.
  202. * src/ghashtable.c: Fix warnings.
  203. * src/gmisc.c: Windows implementation of g_getenv, g_setenv,
  204. and g_unsetenv.
  205. * src/gpath.c: Include config.h and use HAVE_* macros.
  206. * src/gmarkup.c: Fix warnings.
  207. * src/gptrarray.c: Fix warnings.
  208. * src/gstr.c: Fix warnings and use HAVE_* macros.
  209. * src/glib.h: Move macros to eglib-config.h and include it.
  210. * src/gdate.c: Implement g_get_current_time on windows.
  211. * src/gpattern.c: Fix warnings.
  212. * src/gdir.c: Implement g_dir on windows.
  213. * src/gfile.c: Implement mkstemp and g_file_test on windows.
  214. * src/gtimer.c: Implement g_timer on windows.
  215. * src/gmodule.c: Fix warnings.
  216. * src/gunicode.c: Fix warnings.
  217. * src/gutf8.c: Fix warnings.
  218. * test/ptrarray.c: Fix warnings.
  219. * test/string.c: Fix warnings.
  220. * test/list.c: Fix warnings.
  221. * test/pattern.c: Use HAVE_* macros.
  222. * test/dir.c: Use HAVE_* macros.
  223. * test/file.c: Use HAVE_* macros and use system specific files for tests.
  224. * test/test.c: Fix warnings and use HAVE_* macros.
  225. * test/timer.c: Use HAVE_* macros.
  226. * test/string-util.c: Fix warnings.
  227. * test/test.h: Supress warnings on msvc.
  228. * test/module.c: Use HAVE_* macros.
  229. * test/utf8.c: Fix warnings.
  230. * test/spawn.c: Use HAVE_* macros.
  231. * test/driver.c: Fix warnings and use HAVE_* macros.
  232. * test/path.c: Use HAVE_* macros and use system specific files for tests.
  233. * test/sizes.c: Fix warnings.
  234. 2007-04-24 Jonathan Chambers <[email protected]>
  235. Patch from Michael Jerris <[email protected]>
  236. * src/gspawn.c: Start msvc build.
  237. * src/gpath.c: Start msvc build.
  238. * src/gmarkup.c: Start msvc build.
  239. * src/gshell.c: Start msvc build.
  240. * src/gstr.c: Start msvc build.
  241. * src/glist.c: Start msvc build.
  242. * src/glib.h: Start msvc build.
  243. * src/gdate.c: Start msvc build.
  244. * src/gpattern.c: Start msvc build.
  245. * src/gdir.c: Start msvc build.
  246. * src/gfile.c: Start msvc build.
  247. * src/gtimer.c: Start msvc build.
  248. * src/gmodule.c: Start msvc build.
  249. * src/gunicode.c: Start msvc build.
  250. 2007-01-27 Robert Jordan <[email protected]>
  251. * test/Makefile.am: Add linker option to be able to
  252. load symbols from the main program.
  253. * test/module.c: Clean-ups.
  254. 2007-01-26 Robert Jordan <[email protected]>
  255. * configure.ac: Add PLATFORM_WIN32 conditional.
  256. * src/Makefile.ac: Use PLATFORM_WIN32 conditional for psapi, iconv
  257. * test/module.c, test/tests.h, test/Makefile.am: New test for gmodule.
  258. * src/gmodule.h: Add G_MODULE_{IMPORT|EXPORT} defines.
  259. * src/gmodule.c (g_module_symbol): Implement in-proc symbol lookup
  260. for Win32.
  261. * src/gmodule.c: Add GModule.main_module, consider it in
  262. g_module_close ().
  263. * src/gpath.c (g_get_home_dir): Add dummy Win32 implementation to
  264. fix the build.
  265. 2006-11-03 Miguel de Icaza <[email protected]>
  266. * src/gpath.c (g_path_get_dirname): If the pathname starts with a
  267. "/", return the "/".
  268. * test/string-util.c (test_strlcpy): Add new test.
  269. * src/gunicode.c (g_filename_from_utf8): g_strlcpy needs the full
  270. size, with the extra zero at the end; Fixes the stack trace
  271. issue.
  272. 2006-10-30 Miguel de Icaza <[email protected]>
  273. * test/utf8.c (test_utf8_seq): Add new failing test.
  274. 2006-10-30 Atsushi Enomoto <[email protected]>
  275. * src/gutf8.c : several fixes:
  276. - fixed incorrect mb_size clear and mb_remain computation.
  277. - initialize items_written to 0 for error case.
  278. - in utf8_to_utf16_len differentiate error messages completely.
  279. - in g_utf8_to_utf16 use guchar instead of gchar.
  280. * test/utf8.c : added test case string in test_utf8_seq() to
  281. both test_utf8_to_utf16() and test_utf16_to_utf8().
  282. 2006-10-21 Miguel de Icaza <[email protected]>
  283. * src/gunicode.c (g_filename_from_utf8): Use g_strlcpy here.
  284. * src/gmarkup.c (g_markup_parse_context_parse): Do not dereference
  285. null values here. This gets things a little bit further in
  286. corlib, but not too far.
  287. * src/gdir.c (g_dir_read_name): Do not return . or ..
  288. * src/gstr.c (g_ascii_xdigit_value): Make this into a function,
  289. thanks to Paolo for pointing the problem with the double macro
  290. expansion.
  291. * src/gmodule.c (g_module_open): Actually return NULL if we fail
  292. to load the module (was hiding the real bug in the pinvoke tests).
  293. (g_module_build_path): Do not prepend "lib" if the "lib" is part
  294. of the call.
  295. * src/gstr.c (g_strsplit): this routine has some non-expected
  296. behavior, if the string begins with the delimiter, it will return
  297. an empty first string, unlike strtok
  298. * src/gpath.c (g_path_get_dirname): Return "." as a dirname for
  299. paths that do not contain a directory.
  300. 2006-10-18 Gonzalo Paniagua Javier <[email protected]>
  301. * test/array.c: new test for insertion in the middle of other values.
  302. * src/garray.c: fixed destination index.
  303. 2006-10-18 Miguel de Icaza <[email protected]>
  304. * src/gpath.c (g_build_path): Do not append terminator if the next
  305. string is empty.
  306. * src/gutf8.c (g_utf8_to_utf16): Include trailing zero as
  307. documented.
  308. (g_utf16_to_utf8): Include trailing zero as documented.
  309. 2006-10-17 Miguel de Icaza <[email protected]>
  310. * src/gstr.c (g_strdown): Actually move.
  311. * src/gmarkup.c (g_markup_parse_context_parse): Accept dots in the
  312. sequence, reset the state after a closing element.
  313. * src/garray.c (g_array_insert_vals): Shift the elements the
  314. correct amount.
  315. (g_array_insert_vals): Should actually use the
  316. number of elements to insert.
  317. * test/array.c: Add new test case, this was happening in the JIT.
  318. * Add _GNU_SOURCE at configure time, remove from sources.
  319. * src/gstr.c (g_strsplit): Empty strings return a 0 value vector.
  320. * src/glib.h (G_MAXINT64, G_MININT64): Add another set of macros
  321. for the support stuff.
  322. Move private prototypes elsewhere
  323. * src/glib.h (g_thread_init): Adding missing brace
  324. (g_list_next): remove ; from the macro definition.
  325. 2006-10-17 Miguel de Icaza <[email protected]>
  326. * src/gutf8.c: internal methods
  327. * src/ghashtable.c: internal methods.
  328. 2006-10-16 Miguel de Icaza <[email protected]>
  329. * src/gerror.c (g_propagate_error): Implement.
  330. * src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.
  331. * test/string-util.c (test_ascii_strncasecmp): test
  332. 2006-10-15 Miguel de Icaza <[email protected]>
  333. * configure.in: Fix detection of platforms the [3456] stuff does
  334. not work inside autoconf.
  335. * src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro
  336. * src/glib.h (offsetof): Mono sources depend on this, bring this
  337. from the standard definition. Redefine G_STRUCT_OFFSET in terms
  338. of this.
  339. * src/glib.h (G_STRUCT_OFFSET): fix macro definition.
  340. fix typo.
  341. * src/sizes.c: Add test.
  342. * src/gshell.c: Make it build
  343. 2006-10-14 Miguel de Icaza <[email protected]>
  344. * src/glib.h: add various _TO_LE and _FROM_LE macros.
  345. * test/endian.c: tests for endian conversion macros.
  346. 2006-10-09 Miguel de Icaza <[email protected]>
  347. * src/gmodule.h: Move definitions of gmodule to gmodule.h because
  348. Mono expects it there.
  349. Mon Oct 9 12:59:16 CEST 2006 Paolo Molaro <[email protected]>
  350. * src/ghashtable.c: s/to_prime/g_spaced_primes_closest/g
  351. and put the array in readonly memory.
  352. * src/gstr.c: fixed the build and made array const.
  353. * src/gmodule.c: fixed thinko.
  354. 2006-10-08 Miguel de Icaza <[email protected]>
  355. * src/gstr.c (g_strdup): should allow NULL as an argument.
  356. 2006-10-08 Gonzalo Paniagua Javier <[email protected]>
  357. * test/string-util.c:
  358. * TODO:
  359. * src/gstr.c:
  360. * src/glib.h: implemented g_strescape.
  361. 2006-10-08 Gonzalo Paniagua Javier <[email protected]>
  362. * test/string-util.c:
  363. * configure.ac:
  364. * TODO:
  365. * src/gstr.c:
  366. * src/glib.h: implemented g_strlcpy.
  367. 2006-10-08 Gonzalo Paniagua Javier <[email protected]>
  368. * test/string-util.c:
  369. * TODO:
  370. * src/gstr.c:
  371. * src/glib.h: implemented g_strdelimit.
  372. 2006-10-07 Gonzalo Paniagua Javier <[email protected]>
  373. * test/spawn.c: add search path flag when running ls.
  374. * src/gspawn.c: g_spawn_command_line_sync searches the program in the
  375. PATH if it's not an absolute path.
  376. 2006-10-07 Gonzalo Paniagua Javier <[email protected]>
  377. * test/string-util.c:
  378. * src/glib.h: implement g_ascii_xdigit_value and tests.
  379. 2006-10-06 Miguel de Icaza <[email protected]>
  380. * src/gstr.c (g_ascii_strdown): Implement.
  381. * str/glib.c (g_log_set_handler): empty.
  382. (g_printerr): empty.
  383. (GMemVTable): define, empty, ignored.
  384. (G_USEC_PER_SEC) :-)
  385. * src/gunicode.c (g_convert): Add bytes_read, bytes_written
  386. support; Small fixes to avoid valgrind errors.
  387. (g_utf8_validate): Add, based on the libxml code.
  388. gstr.c: implement g_strdown.
  389. 2006-10-05 Miguel de Icaza <[email protected]>
  390. * src/gunicode.c: Some work in progress to implement g_convert
  391. (which is needed by g_locale_to_utf8).
  392. 2006-09-18 Miguel de Icaza <[email protected]>
  393. * test/string-util.c (test_filename_from_uri): tests for new
  394. methods.
  395. * src/gstr.c (g_filename_to_uri, g_filename_from_uri): implement.
  396. 2006-09-14 Atsushi Enomoto <[email protected]>
  397. * src/gutf8.c, test/utf8.c : EOL fix.
  398. 2006-09-04 Miguel de Icaza <[email protected]>
  399. * src/gmarkup.c: The leak fixing commit.
  400. * src/gmarkup.c (g_markup_parse_context_end_parse): Add missing
  401. method.
  402. (g_markup_parse_context_free): Implement.
  403. (parse_attributes): Store the value, not the attribute name
  404. twice.
  405. Properly check the /> section.
  406. (g_markup_parse_context_parse): When checking for error, use the
  407. "error!=NULL && *error != NULL" upon return from callbacks,
  408. it is only then that its valid to check for *error for error
  409. conditions.
  410. (g_markup_parse_context_parse): Add comment processing.
  411. Only release one element of the list.
  412. * test/markup.c: Incorporate the kind of code that is used in Mono
  413. for domain loading; Will test the rest later.
  414. 2006-09-01 Miguel de Icaza <[email protected]>
  415. * src/gmarkup.c (g_markup_parse_context_parse): Add text parsing
  416. support, and end-element support; not tested yet.
  417. 2006-09-01 Atsushi Enomoto <[email protected]>
  418. * gutf8.c : bad allocation size. multiply sizeof gchar/gunichar2.
  419. 2006-09-01 Atsushi Enomoto <[email protected]>
  420. * gutf8.c : when error is null, utf8_to_utf16_len() and
  421. utf16_to_utf8_len() could return -1, so return NULL for those
  422. cases in g_utf8_to_utf16() and g_utf16_to_utf8().
  423. 2006-09-01 Miguel de Icaza <[email protected]>
  424. * src/gmarkup.c: Builds and does minimal parsing.
  425. * test/markup.c: Sample test cases I have been using
  426. 2006-08-31 Atsushi Enomoto <[email protected]>
  427. * src/gerror.h,
  428. src/gerror.c : added g_set_error().
  429. * src/gutf8.c :
  430. g_utf8_to_utf16() and g_utf16_to_utf8() implementation.
  431. * src/glib.h : added all above, and some dependent bits.
  432. * src/Makefile.am : added gutf8.c.
  433. * TODO: removed above.
  434. * test/Makefile.am,
  435. test/tests.h : added utf8 tests.
  436. * test/utf8.c : test for g_utf8_to_utf16 and g_utf16_to_utf8.
  437. It still needs more tests e.g. for multibytes.
  438. 2006-08-31 Gonzalo Paniagua Javier <[email protected]>
  439. * src/gspawn.c: small touch-ups and make read/write EINTR-proof.
  440. 2006-08-31 Gonzalo Paniagua Javier <[email protected]>
  441. * test/file.c: remove useless test.
  442. * test/spawn.c: new g_spawn_async_with_pipes test.
  443. * src/glib.h: Modified file.
  444. * src/gspawn.c: implemented g_spawn_async_with_pipes. Needs fine tuning.
  445. 2006-08-28 Gonzalo Paniagua Javier <[email protected]>
  446. * TODO: Modified file.
  447. * test/tests.h:
  448. * test/pattern.c:
  449. * test/dir.c:
  450. * test/Makefile.am:
  451. * src/Makefile.am:
  452. * src/glib.h:
  453. * src/gdir.c:
  454. * src/gfile.c: implemented g_dir_*, unix version.
  455. 2006-08-27 Gonzalo Paniagua Javier <[email protected]>
  456. * src/glib.h:
  457. * test/Makefile.am: Modified file.
  458. * test/tests.h:
  459. * src/Makefile.am: Modified file.
  460. * test/pattern.c:
  461. * src/gpattern.c: implemented the 3 pattern matching functions used.
  462. * test/ptrarray.c: fix the compare function to work with qsort.
  463. * test/file.c:
  464. * test/path.c:
  465. * src/gspawn.c:
  466. * src/gpath.c: made valgrind happy.
  467. 2006-08-26 Gonzalo Paniagua Javier <[email protected]>
  468. * test/file.c:
  469. * src/glib.h:
  470. * src/gfile.c: implemented g_file_test. Changed the default mask to
  471. .XXXXXX. Add tests.
  472. 2006-08-26 Raja R Harinath <[email protected]>
  473. * src/sort.frag.h (digit): Declare here based on externally
  474. provided typedef 'list_node'.
  475. (MAX_DIGITS): Use 'sizeof (list_node)'.
  476. * src/gslist.c (list_node): Declare instead of 'digit'.
  477. * src/glist.c: Likewise.
  478. * test/slist.c (verify_sort): Verify the length of the list too.
  479. (test_slist_sort): Free the correct list.
  480. * test/list.c: Likewise.
  481. * src/sort.frag.h (MAX_DIGITS): Rename from N_DIGITS.
  482. (combine_sort): Change 'max_pos' argument to more natural
  483. 'n_digits'.
  484. (increment): Likewise. Use 'n_digits' to avoid reading at an
  485. offset that hasn't been initialized.
  486. (do_sort): Remove memset.
  487. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  488. * TODO:
  489. * test/file.c:
  490. * src/glib.h:
  491. * src/gfile.c: implement g_file_open_tmp.
  492. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  493. * TODO:
  494. * src/glib.h:
  495. * src/gdate.c: New file.
  496. * src/gfile.c: New file.
  497. * src/Makefile.am: implemented g_file_get_contents and
  498. g_get_current_time.
  499. * test/tests.h:
  500. * test/file.c: New file.
  501. * test/Makefile.am: tests for the above.
  502. 2006-08-26 Raja R Harinath <[email protected]>
  503. * src/sort.frag.h: Add copyright notice and some explanation.
  504. (increment): Remove null check.
  505. (combine_digits): Add 'list' argument to seed the summation.
  506. (do_sort): Use the empty or singleton tail as the seed, rather
  507. than calling 'increment'.
  508. 2006-08-25 Raja R Harinath <[email protected]>
  509. * TODO: Remove 'List' entries.
  510. * src/Makefile.am (libeglib_la_SOURCES): Add sort.frag.h.
  511. * src/sort.frag.h: New. Implements a "generic" bottom-up "counting"
  512. mergesort that works both on singly- and doubly-linked lists.
  513. * src/gslist.c (g_slist_sort): Use it.
  514. * src/glist.c (g_list_sort): Likewise.
  515. * src/glib.h (g_slist_sort, g_list_sort): Declare.
  516. * test/slist.c, test/list.c: Add basic testcases.
  517. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  518. * src/gspawn.c: propagate errors from reads.
  519. * src/gpath.c: an empty PATH is like a NULL one.
  520. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  521. * test/tests.h:
  522. * test/timer.c:
  523. * test/Makefile.am:
  524. * TODO:
  525. * src/glib.h:
  526. * src/gtimer.c:
  527. * src/Makefile.am: implemented GTimer.
  528. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  529. * test/tests.h:
  530. * test/Makefile.am:
  531. * test/spawn.c:
  532. * src/gspawn.c:
  533. * src/glib.h:
  534. * src/Makefile.am: initial implentation of g_spawn_command_line_sync.
  535. Still need better error handling, but works for the most part.
  536. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  537. * src/garray.c: grow faster so that the 'big' test does not crawl.
  538. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  539. * test/shell.c:
  540. * src/gqueue.c: plugged leaks.
  541. 2006-08-25 Gonzalo Paniagua Javier <[email protected]>
  542. * test/path.c:
  543. * src/gpath.c: when PATH is not defined, the current dir is used.
  544. See execvp(3).
  545. 2006-08-25 Alp Toker <[email protected]>
  546. * src/gstr.c: g_strv_length() should return guint, not gint
  547. * src/glib.h: Add g_strv_length() prototype
  548. 2006-08-24 Miguel de Icaza <[email protected]>
  549. * src/gpath.c (g_get_home_dir, g_get_tmp_dir, g_get_user_name,
  550. g_get_prgname, g_set_prgname): implemented.
  551. * test/ Fix leaks.
  552. * src/gpath.c (g_get_current_dir): Implement.
  553. (g_find_program_in_path, g_path_is_absolute): implement.
  554. Add g_path_get_dirname, g_path_get_basename
  555. * src/gpath.c: Path routines
  556. 2006-08-23 Miguel de Icaza <[email protected]>
  557. * src/gerror.c: Implement.
  558. * src/glist.c (g_list_sort): Remove routine instead of hoping that
  559. it wont crash when we run it.
  560. 2006-08-23 Raja R Harinath <[email protected]>
  561. * src/glist.c (g_list_insert_before): Avoid non-head declaration.
  562. * test/slist.c (test_slist_insert_before): Add.
  563. * src/gslist.c (g_slist_insert_before): Append if 'sibling' is null.
  564. * test/list.c (test_list_insert_before): Add test for return value
  565. of g_list_insert_before.
  566. * test/Makefile.am (test_eglib_LDADD): Refer to the .la file so as
  567. to rebuild test if eglib changes.
  568. * src/glist.c (new_node, disconnect_node): New helpers that
  569. maintain doubly-linked list invariants.
  570. (g_list_prepend, g_list_append): Express in terms of new_node.
  571. (g_list_insert_before): Likewise. Fix return value when inserting
  572. in the middle of the list.
  573. (g_list_concat): Reorganize to make more compact.
  574. (g_list_nth): Likewise.
  575. (g_list_nth_data): Don't segfault if 'n' is too large.
  576. (g_list_remove): Rewrite using _find and disconnect_node.
  577. (g_list_remove_link): Don't traverse list: use disconnect_node.
  578. (g_list_insert_sorted): Rewrite to make more compact. Use new_node.
  579. (g_list_copy): Likewise.
  580. (_prepend, _concat): Remove.
  581. * src/gslist.c (insert_after, find_prev, find_prev_link):
  582. New helpers.
  583. (g_slist_copy): Simplify slightly, using insert_after.
  584. (g_slist_concat): Reorganize to make more compact.
  585. (g_slist_find): Likewise.
  586. (g_slist_insert_sorted): Likewise.
  587. (g_slist_remove): Rewrite using find_prev.
  588. (g_slist_remove_link): Rewrite using find_prev_link.
  589. (g_slist_remove_all, g_slist_insert_before): New.
  590. 2006-08-21 Duncan Mak <[email protected]>
  591. * src/gqueue.c: GQueue implementation.
  592. * src/glib.h: Add prototypes.
  593. * src/Makefile.am (libeglib_la_SOURCES): Include gqueue.c.
  594. * test/queue.c:
  595. * test/Makefile.am (SOURCES):
  596. * test/tests.h (DEFINE_TEST_GROUP_INIT_H): add tests for GQueue.
  597. 2006-08-21 Aaron Bockover <[email protected]>
  598. * src/gstr.c: fixed bug/invalid read/write on malloc-only case (no
  599. realloc/delimiter token not found); use memcpy instead of strncpy for
  600. better performance
  601. * test/test.c (run_group): allow running specific tests under a group;
  602. added copied g_strsplit/g_strfreev from EGlib source as eg_strsplit
  603. and eg_strfreev to avoid performance skews in the driver
  604. * test/driver.c: allow user-specified group name to contain specific
  605. test to run under the group as 'group_name:test1,test2,...testN'
  606. * test/string-util.c: Added more g_strsplit tests
  607. * test/slist.c:
  608. * test/ptrarray.c:
  609. * test/fake.c:
  610. * test/string.c:
  611. * test/list.c:
  612. * test/array.c:
  613. * test/hashtable.c: make test names shorter (no need to prefix with
  614. the group since it runs under the group)
  615. 2006-08-21 Miguel de Icaza <[email protected]>
  616. * src/glib.h (g_hash_table_new_full): Add missing prototype.
  617. Replace g_free(x) with plain free, so it can be used as a function
  618. argument.
  619. Add ABS
  620. * src/ghashtable.c: Add rehashing.
  621. * test/hashtable.c: Add a bunch of extra tests.
  622. * src/goutput.c: Fix g_log so it actually formats the data.
  623. * src/ghashtable.c (g_hash_table_new): The glib test suite
  624. uncovered a bunch of bugs, the g_hash_table_new should actually
  625. have parameters.
  626. (g_hash_table_remove, g_hash_table_foreach_remove): Fixed bugs
  627. uncovered.
  628. 2006-08-20 Aaron Bockover <[email protected]>
  629. * src/gmisc.c: added g_setenv, g_getenv, g_unsetenv
  630. * src/gstr.c: added g_snprintf, g_sprintf, g_fprintf, g_printf
  631. * src/glib.h: added macros for above va_args printf functions
  632. * src/Makefile.am: added gmisc.c
  633. * test/whats-implemented: script to see what needs to be implemented
  634. 2006-08-20 Chris Toshok <[email protected]>
  635. * test/array.c (test_array_big): add a test from the glib
  636. documentation.
  637. 2006-08-20 Chris Toshok <[email protected]>
  638. * test/tests.h: add array tests to the mix.
  639. * test/array.c: a few array tests.
  640. * src/glib.h: add array prototypes.
  641. * src/garray.c: initial array foo.
  642. * test/Makefile.am (SOURCES): add array.c
  643. * src/Makefile.am (libeglib_la_SOURCES): add garray.c
  644. 2006-08-19 Aaron Bockover <[email protected]>
  645. * src/gstring.c: optimize and generalize reallocation by providing
  646. a GROW_IF_NECESSARY macro, do not use strcpy/strcat as they are
  647. very, very slow; GString is now much closer to GLib's implementation
  648. in terms of performance
  649. * test/string.c: added speed-specific tests to beat on reallocation code
  650. * test/test-both: run make if the test drivers don't exist
  651. 2006-08-19 Jonathan Chambers <[email protected]>
  652. * src/gmodule.c: Add gmodule support for windows and fix
  653. windows build. Contribution is licensed as MIT/X11.
  654. 2006-08-19 Aaron Bockover <[email protected]>
  655. * test/driver.c: Added --debug mode that allows for testing all paths
  656. of the driver without actually running real tests; runs only the 'fake'
  657. test, which does nothing; useful for running the driver through valgrind
  658. * test/Makefile.am:
  659. * test/tests.h:
  660. * test/fake.c: Added fake test for valgrinding the driver
  661. * test/ptrarray.c: update sort test
  662. 2006-08-19 Aaron Bockover <[email protected]>
  663. * test/test-both: added --help
  664. 2006-08-19 Aaron Bockover <[email protected]>
  665. * test/driver.c: added -n mode to show only raw global run times,
  666. which is useful for scripts (test-both --speed-compare)
  667. * test/test-both: added --speed-compare mode
  668. * test/README: updated with information on --speed-compare
  669. 2006-08-19 Aaron Bockover <[email protected]>
  670. * test/test.c: do not print times if -t is not passed
  671. * test/driver.c: removed use of GList from the driver to avoid skews due
  672. to performance differences between GLib and EGLib
  673. 2006-08-19 Aaron Bockover <[email protected]>
  674. * test/test.c: Perform iterations at the test level, only output one
  675. report for all iterations of tests in a group to produce more usable
  676. output; add timing for the tests and group; added get_timestamp for
  677. easy code timing
  678. * test/test.h: Removed run_test as it should only be called from
  679. run_group, added get_timestamp
  680. * test/Makefile.am: Added -DDRIVER_NAME
  681. * test/test-both: simple script to run both drivers with the same options
  682. * test/driver.c: Iterations are now run at the test level, show a global
  683. status (OK/FAIL) indicator
  684. * test/README: Updated
  685. * configure.ac: Renamed from configure.in as configure.in naming
  686. convention is deprecated in favor of configure.ac
  687. * autogen.sh: s/configure.in/configure.ac/
  688. 2006-08-19 Miguel de Icaza <[email protected]>
  689. * Makefile.am: Removed MAINTAINERCLEANFILES that was too
  690. aggresive, it failed make distcheck and the resulting tarball was
  691. not buildable.
  692. * src/glib.h: remove the various GPOINTER_TO_*, G*_TO_POINTER,
  693. GSIZE_FORMAT macros, and move them into src/eglib-config.h
  694. Moved also gssize and gsize to be arch specific. This should fix
  695. the 32/64 problems that Jon Chambers reported.
  696. * configure.in: test for pointer size, define the various values
  697. depending on 32 vs 32/64 worlds, might need further porting in the
  698. future.
  699. Change package name to eglib
  700. * test/slist.c, test/list.c, test/hashtable.c: Update tests to use
  701. FAILURE macro.
  702. * test/string-util.c: fix leak for valgrind tests.
  703. * test/tests.h: New size test, for testing datatypes.
  704. * test/sizes.c: New tests.
  705. 2006-08-19 Aaron Bockover <[email protected]>
  706. * test/README: Added quick guide on adding new tests/groups to the
  707. driver and some examples on how to perform various tests with the driver
  708. 2006-08-18 Aaron Bockover <[email protected]>
  709. * test/driver.c: Added getopt support and code timing, among other
  710. nice features to make testing/profiling easier
  711. * test/test.c: Add support for suppressing output (quiet) and
  712. define RESULT, FAILED, and OK
  713. * src/glib.h:
  714. * src/glist.c: Added g_list_nth_data implementation
  715. * test/slist.c:
  716. * test/string-util.c:
  717. * test/ptrarray.c:
  718. * test/string.c:
  719. * test/hashtable.c:
  720. * test/list.c: Use RESULT, FAILURE, and OK for tests
  721. 2006-08-18 Miguel de Icaza <[email protected]>
  722. * src/gstring.c (g_string_truncate): Implement truncate.
  723. (g_string_prepend): implement.
  724. Fix various bugs uncovered by new tests.
  725. * src/glib.h: introduce gssize type, the signed one. Important.
  726. * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
  727. defines that we can use to check on the host OS.
  728. 2006-08-18 Aaron Bockover <[email protected]>
  729. * test/test.[ch]:
  730. * test/driver.c: Support pass/fail logging on tests to show group report
  731. 2006-08-18 Aaron Bockover <[email protected]>
  732. * test/test.c:
  733. * test/test.h: Added result() to be used in place of g_strdup_printf(),
  734. it's shorter to write and allows the duped string to be freed safely;
  735. added license header to file
  736. * test/driver.c: Added license header to file
  737. * test/string-util.c:
  738. * test/ptrarray.c:
  739. * test/string.c:
  740. * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
  741. 2006-08-18 Aaron Bockover <[email protected]>
  742. * src/gptrarray.c: Implemented g_ptr_array_sort
  743. * test/ptrarray.c: Added sort test
  744. * test/driver.c: Added --help; support running N iterations and allow
  745. selecting which test groups to run; uses the test group table in tests.h
  746. * test/tests.h: Added group table
  747. * test/test.h:
  748. * test/test.c: Using a Group structure and table, removed run_groups
  749. as we only need run_group now
  750. * test/slist.h: Removed, not needed, tests/groups defined in tests.h
  751. 2006-08-18 Miguel de Icaza <[email protected]>
  752. * src/unicode.c: New file, to host unicode code, it will throw as
  753. this code is no longer used in the Mono runtime anyways.
  754. * src/glib.h: Use stdint.h types, a lot of the good stuff is
  755. replicated by glib.
  756. 2006-08-18 Duncan Mak <[email protected]>
  757. * src/glist.c (g_list_remove, g_list_remove_link): Implemented.
  758. * src/gslist.c (g_slist_remove): Remember to set the next pointer
  759. to NULL when the item to remove is the first item in the list.
  760. 2006-08-18 Duncan Mak <[email protected]>
  761. * src/glist.c: Implemented. Missing remove,
  762. remove_link and insert_before.
  763. * test/list.c: Tests for GList.
  764. 2006-08-17 Aaron Bockover <[email protected]>
  765. * src/gptrarray.c: Implemented g_ptr_array_remove and
  766. g_ptr_array_remove_index
  767. * test/other: Removed, rewritten in Makefile.am
  768. * test/Makefile.am: Build test-eglib against local eglib and
  769. test-glib against GLib 2.0 (replaces 'other')
  770. * test/ptrarray.c: Added tests for g_ptr_array_remove and
  771. g_ptr_array_remove_index
  772. 2006-08-17 Duncan Mak <[email protected]>
  773. * src/gslist.c: Added MIT license.
  774. (g_slist_insert_sorted): Forgot the case where the data is
  775. appended to the end of the list.
  776. * test/slist.c (test_slist_insert_sorted): Fix the test.
  777. 2006-08-17 Aaron Bockover <[email protected]>
  778. * src/gptrarray.c: Added g_ptr_array_set_size implementation
  779. * test/ptrarray.c: Added test for g_ptr_array_set_size
  780. 2006-08-17 Miguel de Icaza <[email protected]>
  781. * src/glib.h: A handful of extra macros
  782. * configure.in, src/eglib-config.h.in: Set some system-specific
  783. settings that are probed at configure time.
  784. 2006-08-17 Aaron Bockover <[email protected]>
  785. * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
  786. * src/glib.h: Added GPtrArray signatures
  787. * src/Makefile.am: Added gptrarray.c to build
  788. * test/ptrarray.c:
  789. * test/tests.h:
  790. * test/driver.c:
  791. * test/Makefile.am: Add ptrarray tests for available functionality
  792. 2006-08-17 Aaron Bockover <[email protected]>
  793. * test/test.h:
  794. * test/test.c: Added group iterator/test driver functionality
  795. * test/driver.c: Added groups to run using new test functionality
  796. * test/slist.h:
  797. * test/hashtable.h:
  798. * test/string-util.h: Test group definitions for string util/hashtable
  799. * test/slist.c:
  800. * test/str.c:
  801. * test/hash.c: Added test definition table
  802. * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
  803. * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
  804. * src/glib.h: Added missing function signatures
  805. * src/Makefile.am: added -D_FORTIFY_SOURCE=2
  806. 2006-08-17 Duncan Mak <[email protected]>
  807. * src/gslist.c (g_slist_remove_link): I misread the function
  808. signature. Re-implemented.
  809. (g_slist_delete_link): Implemented.
  810. (g_slist_reverse): Implemented.
  811. (g_slist_insert_sorted): Implemented.
  812. 2006-08-17 Duncan Mak <[email protected]>
  813. * src/gslist.c (g_slist_find):
  814. (g_slist_length):
  815. (g_slist_remove):
  816. (g_slist_remove_link): Implemented.
  817. * test/slist.c: Tests for GSList.
  818. 2006-08-17 Raja R Harinath <[email protected]>
  819. * src/gslist.c (g_slist_free_1): New. Free a single list node.
  820. (g_slist_free): Use it to free the list nodes. Don't free the
  821. data, since the list doesn't own it.
  822. (g_slist_append): Convert into a one-liner.
  823. (g_slist_foreach): Remove redundant null check.
  824. (g_slist_last): Actually return the last node.
  825. (g_slist_copy): Simplify.
  826. * src/gslist.h (g_slist_free_1): Add.
  827. 2006-08-16 Duncan Mak <[email protected]>
  828. * src/gslist.c:
  829. * src/gslist.h: First attempt at implementing GSList, incomplete.
  830. * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
  831. * src/glib.h: Add GFunc definition. #include the new gslist.h.
  832. 2006-08-16 Miguel de Icaza <[email protected]>
  833. * src/Makefile.am: Added -Wall,-Werror, corrected lots of
  834. mistakes.
  835. * src/gstring.c: Gstring implementation.
  836. * test/str.c (test_gstring): string tests.
  837. 2006-08-16 Aaron Bockover <[email protected]>
  838. * src/gstr.c: Added g_strsplit implementation
  839. * test/driver.c: Run the split test
  840. * test/str.c: Added a test for g_strsplit
  841. * Makefile.am:
  842. * src/Makefile.am:
  843. * test/Makefile.am: Added MAINTAINERCLEANFILES
  844. 2006-08-16 Miguel de Icaza <[email protected]>
  845. * src/gouput.c: Implement some output routines, update missing
  846. progress.
  847. * test: Add test driver, and initial tests.
  848. 2006-08-15 Miguel de Icaza <[email protected]>
  849. * src/ghashtable.c: Implement most of this, it is completely
  850. untested at this point.