ChangeLog 40 KB

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