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