ChangeLog 41 KB

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