ChangeLog 40 KB

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