ChangeLog 39 KB

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