2006-08-18 Aaron Bockover <abockover@novell.com>
[mono.git] / eglib / ChangeLog
1 2006-08-18  Aaron Bockover  <abockover@novell.com>
2
3         * test/driver.c: Added getopt support and code timing, among other 
4         nice features to make testing/profiling easier
5
6         * test/test.c: Add support for suppressing output (quiet) and
7         define RESULT, FAILED, and OK
8
9         * src/glib.h:
10         * src/glist.c: Added g_list_nth_data implementation
11
12         * test/slist.c:
13         * test/string-util.c:
14         * test/ptrarray.c:
15         * test/string.c:
16         * test/hashtable.c:
17         * test/list.c: Use RESULT, FAILURE, and OK for tests
18
19 2006-08-18  Miguel de Icaza  <miguel@novell.com>
20
21         * src/eglib-config.h (G_OS_): Add the G_OS_UNIX and G_OS_WIN32
22         defines that we can use to check on the host OS.
23
24 2006-08-18  Aaron Bockover  <abockover@novell.com>
25
26         * test/test.[ch]:
27         * test/driver.c: Support pass/fail logging on tests to show group report
28
29 2006-08-18  Aaron Bockover  <abockover@novell.com>
30
31         * test/test.c: 
32         * test/test.h: Added result() to be used in place of g_strdup_printf(),
33         it's shorter to write and allows the duped string to be freed safely;
34         added license header to file
35
36         * test/driver.c: Added license header to file
37
38         * test/string-util.c:
39         * test/ptrarray.c:
40         * test/string.c:
41         * test/list.c: Use result() in place of g_strdup_printf(), it's nicer
42
43 2006-08-18  Aaron Bockover  <abockover@novell.com>
44
45         * src/gptrarray.c: Implemented g_ptr_array_sort
46
47         * test/ptrarray.c: Added sort test
48         
49         * test/driver.c: Added --help; support running N iterations and allow
50         selecting which test groups to run; uses the test group table in tests.h
51         
52         * test/tests.h: Added group table
53         
54         * test/test.h:
55         * test/test.c: Using a Group structure and table, removed run_groups
56         as we only need run_group now
57
58         * test/slist.h: Removed, not needed, tests/groups defined in tests.h
59
60 2006-08-18  Miguel de Icaza  <miguel@novell.com>
61
62         * src/unicode.c: New file, to host unicode code, it will throw as
63         this code is no longer used in the Mono runtime anyways.
64         
65         * src/glib.h: Use stdint.h types, a lot of the good stuff is
66         replicated by glib.
67
68 2006-08-18  Duncan Mak  <duncan@a-chinaman.com>
69
70         * src/glist.c: Implemented. Missing remove,
71         remove_link and insert_before.
72
73         * test/list.c: Tests for GList.
74
75 >>>>>>> .r63982
76 2006-08-17  Aaron Bockover  <abockover@novell.com>
77
78         * src/gptrarray.c: Implemented g_ptr_array_remove and 
79         g_ptr_array_remove_index
80
81         * test/other: Removed, rewritten in Makefile.am
82
83         * test/Makefile.am: Build test-eglib against local eglib and 
84         test-glib against GLib 2.0 (replaces 'other')
85
86         * test/ptrarray.c: Added tests for g_ptr_array_remove and
87         g_ptr_array_remove_index
88
89 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
90
91         * src/gslist.c: Added MIT license.
92         (g_slist_insert_sorted): Forgot the case where the data is
93         appended to the end of the list.
94
95         * test/slist.c (test_slist_insert_sorted): Fix the test.        
96
97 2006-08-17  Aaron Bockover  <abockover@novell.com>
98
99         * src/gptrarray.c: Added g_ptr_array_set_size implementation
100
101         * test/ptrarray.c: Added test for g_ptr_array_set_size
102
103 2006-08-17  Miguel de Icaza  <miguel@novell.com>
104
105         * src/glib.h: A handful of extra macros
106
107         * configure.in, src/eglib-config.h.in: Set some system-specific
108         settings that are probed at configure time.
109
110 2006-08-17  Aaron Bockover  <abockover@novell.com>
111
112         * src/gptrarray.c: Added beginnings of GPtrArray (alloc, free, add, iterate)
113
114         * src/glib.h: Added GPtrArray signatures
115
116         * src/Makefile.am: Added gptrarray.c to build
117
118         * test/ptrarray.c:
119         * test/tests.h:
120         * test/driver.c:
121         * test/Makefile.am: Add ptrarray tests for available functionality
122
123 2006-08-17  Aaron Bockover  <abockover@novell.com>
124         
125         * test/test.h: 
126         * test/test.c: Added group iterator/test driver functionality
127         
128         * test/driver.c: Added groups to run using new test functionality
129         
130         * test/slist.h:
131         * test/hashtable.h:
132         * test/string-util.h: Test group definitions for string util/hashtable
133
134         * test/slist.c:
135         * test/str.c: 
136         * test/hash.c: Added test definition table 
137
138         * test/Makefile.am: Added -Wall -Werror -D_FORTIFY_SOURCE=2
139
140         * src/gstr.c: Added implementation for g_str_has_prefix, g_str_has_suffix
141
142         * src/glib.h: Added missing function signatures
143
144         * src/Makefile.am: added -D_FORTIFY_SOURCE=2 
145
146 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
147
148         * src/gslist.c (g_slist_remove_link): I misread the function
149         signature. Re-implemented.
150         (g_slist_delete_link): Implemented.
151         (g_slist_reverse): Implemented.
152         (g_slist_insert_sorted): Implemented.
153
154 2006-08-17  Duncan Mak  <duncan@a-chinaman.com>
155
156         * src/gslist.c (g_slist_find): 
157         (g_slist_length):
158         (g_slist_remove):
159         (g_slist_remove_link): Implemented.
160
161         * test/slist.c: Tests for GSList.
162
163 2006-08-17  Raja R Harinath  <harinath@gmail.com>
164
165         * src/gslist.c (g_slist_free_1): New.  Free a single list node.
166         (g_slist_free): Use it to free the list nodes.  Don't free the
167         data, since the list doesn't own it.
168         (g_slist_append): Convert into a one-liner.
169         (g_slist_foreach): Remove redundant null check.
170         (g_slist_last): Actually return the last node.
171         (g_slist_copy): Simplify.
172         * src/gslist.h (g_slist_free_1): Add.
173
174 2006-08-16  Duncan Mak  <duncan@a-chinaman.com>
175
176         * src/gslist.c:
177
178         * src/gslist.h: First attempt at implementing GSList, incomplete.
179
180         * src/Makefile.am (libeglib_la_SOURCES): add gslist.c
181         * src/glib.h: Add GFunc definition. #include the new gslist.h.
182
183 2006-08-16  Miguel de Icaza  <miguel@novell.com>
184
185         * src/Makefile.am: Added -Wall,-Werror, corrected lots of
186         mistakes.
187
188         * src/gstring.c: Gstring implementation.
189
190         * test/str.c (test_gstring): string tests.
191
192 2006-08-16  Aaron Bockover  <abockover@novell.com>
193
194         * src/gstr.c: Added g_strsplit implementation
195
196         * test/driver.c: Run the split test
197
198         * test/str.c: Added a test for g_strsplit
199
200         * Makefile.am:
201         * src/Makefile.am:
202         * test/Makefile.am: Added MAINTAINERCLEANFILES
203
204 2006-08-16  Miguel de Icaza  <miguel@novell.com>
205
206         * src/gouput.c: Implement some output routines, update missing
207         progress. 
208
209         * test: Add test driver, and initial tests. 
210
211 2006-08-15  Miguel de Icaza  <miguel@novell.com>
212
213         * src/ghashtable.c: Implement most of this, it is completely
214         untested at this point.
215