summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: e95ac88caa113023578f598dc1a2aa48743eb0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
2003-06-09  Dodji  <dodji@seketeli.org>
	* tests/test4-main.c: updated this test to test the
	new cr_declaration_to_string () api.
	
	* src/parser/cr-declaration.[ch] (cr_declaration_to_string ()):
	Added this new api to allow the serialisation of css declarations.
	This is not well tested yet, but it works.

	* src/parser/cr-parser.c (cr_parser_parse_declaration): 
	fixed a bug that prevented this parsing function to be called outside
	the stylesheet parsing context.

	* src/seleng/cr-style.[ch]: went forward in the font properties 
	gathering.
	
	* src/parser/cr-tknzr.[ch]: fixed some 'const" related compilation
	warnings.
	
	* src/parser/cr-parser.[ch]: exported the declaration parsing api
	so that cr_declaration_parse () can use it.
	
	* src/parser/cr-declaration.[ch]:
	added cr_declaration_parse () api. Not tested yet.
	
	* tests/test7-main.c: updated the test to reflect all the changes
	that happened today.
	
	* src/parser/cr-enc-handler.[ch], src/parser/cr-input.[ch], 
	src/parser/cr-om-parser.[hc], src/parser/cr-parser.[ch].
	Add the 'const' keyword in to function prototypes.

	
	* src/layeng/cr-lay-eng.c: 
	(compute_text_box_inner_edge_size ()) revisied this function to
	make it append the text label to it's container so that
	the size of the text label can be computed. I don't know how
	to do this otherwise. I would have liked this not to happen since
	compute_text_box_inner_edge_size () is part of the layout process
	not the rendering process. Now these two processes are much more
	tied than I would like.
	
	* src/layeng/cr-box.c:
	updated the cr_box_to_string () method to make it serialise
	CRBox->inner_edge.max_width for debug purposes.

	* src/layeng/cr-box-view.c: 
	1/now, the layout code is called
	in the "expose-event" signal callback. Trying to isolate the
	layout from the rendering appears to be too difficult 
	if not impossible.
	
	2/created a cr_box_view_new_from_xml_css_bufs () method to create
	a box view directly from a css buffer and an xml buffer.

2003-06-04  Dodji  <dodji@seketeli.org>

	* tests/test7-main.c: created a new xml/css document to bring the test to
	a broader extend. It appeared that libcroco's layout code is 
	damned bugged... I am debugging it...

	* src/seleng/cr-style.c:changed the default element display property
	to "block" and not "inline" anymore.
	Also made the set_prop_background_color () function support
	hex strings (e.g.: #ffffff or #ee)

	* src/parser/cr-rgb.[ch]: added cr_rgb_set_from_hex_str ()
	to support hash (hex) strings (#ffffff or #eee).

	* src/parser/cr-num.c:support of fixed/variable length numbers.

	* src/layeng/cr-lay-eng.c: a lot of layout fixes.
	

2003-05-31	Kang Jeong-Hee	<Keizi@mail.co.kr>

	* src/parser/*.[ch]: s/void */gpointer/

2003-05-12  Dodji  <dodji@seketeli.org>

	* tests/test7-main.c: updated the test to reflect the new supported
	css2 properties.

	* src/layeng/cr-style.c:
	(set_prop_border_x_width_from_value ()) debugged this.	
	(set_prop_border_x_style_from_value ()) debugged this.
	
	* src/layeng/cr-box-view.c:
	(draw_borders ()) debugged this a lot.

2003-05-07  Dodji  <dodji@seketeli.org>

	* tests/test7-main.c: just added a test for the "background-color" 
	property.

	* src/layeng/cr-box-view.c:
	(set_color ()) added this function to manage the setting
	of rgb color in an easier way than set_background/foreground().
	(set_border_line_attrs ()) implemented the border-x-color
	property setting in this function. This uses the new set_color ()
	function.
	(draw_padding ()) revisited this function to make it draw
	a padding area that has "background" color.
	
	
2003-05-06  Dodji  <dodji@seketeli.org>

	* src/layeng/cr-style.[ch]: started to add the support of
	the "color" and "background-color" properties.

	* src/layeng/cr-lay-eng.c:
	(style_specified_2_computed_value()) updated this function to
	compute also the new colors properties (color and background-color).
	
	* src/layeng/cr-box-view.c:
	(set_background_color ()) 
	(set_foreground_color ())added these functions to set the box 
	inner/padding edge color.
	also started to use these two functions to test them.
	
2003-05-05  Dodji  <dodji@seketeli.org>

	* tests/test7-main.c: small update for debug purposes.

	* src/layeng/cr-style.h: cleanup.

	* src/layeng/cr-lay-eng.c: put in here what is needed to support
	border-x and border-style-x properties.

	* src/layeng/cr-box.[ch]: make CRBoxModel inherits CRBox.

	* src/layeng/cr-box-view.c: start to support the border-style-x and
	border-x property. I must test this.

	* configure.in: defined a personal environment where I can set
	the CFLAGS I want.

2003-05-04  Dodji  <dodji@seketeli.org>

	* src/parser/cr-tknzr.c:
	(cr_tknzr_get_next_token ()) fixed a small bug in here.
	
	* src/layeng/cr-style.[ch]: 
	Deeply Modified the layout of the CRStyle structure for 
	1/group all numerical properties together in a table.
	2/group all color (rgb) properties together in another table.
	3/group all border style properties together in another table.
	That way, accessing those properties is more efficient.
	4/make sure that each properties can have 3 values:
	specified, computed and actual value as specified by the css2 spec. 
	(I doubt actuall value is usefull
	here though).
	Modified the file to make this be coherent again.

	* src/layeng/cr-lay-eng.c :
	Made this coherent after the change of the CRStyle structure.
	
	(normalize_num ()):created this function to
	normalize numerical properties.
	(style_specified_2_computed_values ): 
	new function to computed css2 "computed values" from specified values.
	This is required by the css2 spec in chap 6.1.
	(create_box_tree_real): updated this to make it call 
	style_specified_2_computed_values () before actually building the box.

2003-05-01  Dodji  <dodji@seketeli.org>

	* configure.in, csslint/Makefile.am, src/parser/Makefile.am, src/seleng/Makefile.am, src/layeng/Makefile.am: 
	fixed #111895

2003-04-28  Dodji  <dodji@seketeli.org>

	* tests/test7-main.c: woohoo, this now shows some text. 
	Okay, it is a crappy design sketch, but this is a milestone.

	* src/layeng/cr-lay-eng.c: store the created label widget in the cache.
	box content cache.
	* src/layeng/cr-box.h:created a box content cache to store the label 
	widget used to calculate text box size.
	
	* src/layeng/cr-box-view.[hc]: made this simpler and manage to
	make it show someting on the screen. Now the box view
	is just the view port. To render the box model, we just walk thru it
	and draw each box in the box view.
	

2003-04-26  dodji  <dodji@seketeli.org>
	
	* configure.in: made sure to include the libgnomeui clflags and
	 libsflags to croco libs and croco cflags when the layeng is turned
	 on.
	* csslint/Makefile.am: made sure to use the CROCO_LIBS and CROCO_CLFAGS
	 variables.
	* src/libcroco.h: added the cr-box-view.h include file
	* src/layeng/cr-box-view.c: started to write a draw_box() function that
	 will draw the box tree on the screen.
	* src/layeng/cr-lay-eng.c: removed the adjust_edges_on_inner_edge () function.
	* tests/Makefile.am: made sure to include libgnomeui clfags and libs
	 when layeng is turned on.
	* tests/test7-main.c: made started to include a cr-box-view.c test.

2003-04-20  dodji  <dodji@seketeli.org>

	* tests/test7-main.c: updated the test7 code to see the layout in
	action.

	* src/layeng/cr-style.[ch]: just modified some rule 
	names for convenience.

	* src/layeng/cr-lay-eng.[ch]:
	when forward in normal flow layout code. Have now very basic layout code.
	Still have to write a canvas code to render the layed out box.

        * src/layeng/cr-lay-eng.c (compute_text_box_inner_edge_size): started to work on the
	the inner edge size computation based on pango.

	* src/layeng/Makefile.am: updated to compile/link against libgnomeui.
	* configure.in: updated it to test the presence
	of libgnomeui if and only if the layout engine is enabled.

2003-04-15  Alexander Larsson  <alexl@redhat.com>

	* Makefile.am:
	Change _DATA to _HEADERS for header
	
	* src/Makefile.am:
	Only use filename for _HEADERS.
	remove libcroco-config.h from _HEADERS

2003-04-12  dodji  <dodji@seketeli.org>

	* src/* made a big change of the source tree.
	Now, the whole thing is divided in 3 parts:
	the paser, the selection engine and the layout engine.
	The parser source files produce a libcroco.so shared lib.
	The selection engine source files produce a libcrseleng.so shared
	library.
	The layout engine source fils produce a libcrlayeng.so shared
	library.
	The same configure options as before apply.

2003-04-05  Dodji  <dodji@seketeli.org>

	* src/cr-token.h (struct _CRToken): 
	applied a patch from Greg Lee <greg@ling.lll.hawaii.edu>,
	which solves a compilation error under gcc 2.95.3. Basically,
	it transforms an implicitly defined  union into an explicitly
	defined one. Modified all the files impacted.
	
2003-04-03  Dodji  <dodji@seketeli.org>

	* tests/testctl: can now run one single test. This can also
	run all the tests a run a simple report that summarizes the
	results of the tests.

	* configure.in: make sure this generates the libcroco.spec file.
	make sure to test the presence of glib2 during configure.

	* libcroco.spec.in: added autoconf magic in this.
	Can now generate an rpm by typing make rpm. Before that,
	the user that types make rpm must have write acess to
	/usr/src .

2003-04-02  Gaël Chamoulaud (strider) <strider@freespiders.org>
	
	* croco-config.1: updated the man page
	* csslint/csslint.1: updated the man page

2003-04-01  Dodji  <dodji@seketeli.org>

	* tests/testctl: started to code the libcroco test launcher script.
	it is not useable yet, but work is in progress.

2003-03-31  Dodji  <dodji@seketeli.org>
	* src/cr-lay-eng.c: started to code the tree annotation process.
	I seriously need to debug this.
	
	* configure.in: put in there the list of tests to be compile
	and the conditions cause AM_CONDITIONAL() is buggy and does
	not seem to fit my needs. Also modified tests/Makefile.am
	to take this in account.
	
	* tests/test7-main.c: added this file to debug the layout engine
	related stuffs.

	* croco-config.1: some minor fixes in the man page.
	
2003-03-30 Christian Schaller <uraeus@gnome.org>
	* Fixed disting by adding manpages to EXTRA_DIST
	* Added spec.in file, this need to be added to build 
	  system to generate .spec file.
	* Remove Makefile.in from CVS, this is a generated file
	
2003-03-30  Dodji  <dodji@seketeli.org>
	* autogen.sh: 
	Made sure that in dev mode, the configure scripts
	gets called with --enable-tests=yes --enable-seleng=yes
	--enable-layeng=yes. This options being set to 'no' by default.

	* src/cr-lay-eng.c: 
	Started to code a layout engine. This is more a design
	sketch than real usefull code so far.

        * src/cr-cascade.c:
	Started to code a #CRCascade class to abstract a css2 cascade.	
	This is more a placeholder (or a design sketch) than real
	usefull code today.
	
	* tests/Makefile.am: improved the conditional compilation
	of the tests; e.g if the selection engine feature is disabled
	the selection engine tests won't be compiled.	
	* configure.in: added --enable-layeng to contionaly compile
	the layout engine files. Also improved the handling of
	of the enable-xxx arguments => 'yes' forces the feature to
	be enabled (the coder knows what he is doing); 'auto' checks
	if the features xxx depends on are available and then
	switches xxx on.

2003-03-24  dodji  <dodji@seketeli.org>
	* src/cr-style.c (cr_style_set_style_from_decl): 
	Have a first hot (and bugged) implem of this function.	
	I can now, go and get worried about building the annotated
	xml tree.

2003-03-20  Gaël Chamoulaud  <strider@freespiders.org>

	* Makefile.am (SUBDIRS): added man page for croco-config

2003-03-20  Dom Lachowicz <cinamod@hotmail.com>

	* COPYING: replace with contents from COPYING.LIB (GNU LGPL)
	
2003-03-20  Gaël Chamoulaud  <strider@freespiders.org>

	* configure.in: added conditional compilation of the unit tests
	in tests/ subdir 

	* tests/Makefile.am (INCLUDES): conditional compilation of the unit tests
	in tests/ subdir 

2003-03-19  Gaël Chamoulaud  <strider@freespiders.org>

	* Relicense from GPL -> LGPL

2003-03-18  Gaël Chamoulaud  <strider@freespiders.org>

	* configure.in: fixed a configure bug. Make sure to properly
	check the libxml2 versions.

2003-03-18  Dom Lachowicz <cinamod@hotmail.com>

	* autogen.sh: Use gnome-autogen (cvs co gnome-common). Creates libtool
	and other things properly

	* configure.in: better check for LIBXML2, conditional compilation of
	the SELENG module

	* tests/Makefile.am: disable test5 until I can think of a better 
	work-around
	
2003-03-16  dodji  <dodji@seketeli.org>

	* src/cr-style.c (set_border_x_style_from_value): 
	new method added to gather 'border_top_style' ... 'border_left_style'
	properties value from the css stylesheet.
	
	(set_border_x_width_from_value): completed this function
	to properly gather 'border_top_width' ... 'border_left_width'
	properties values from the css stylesheet.

	* src/cr-num.c (cr_num_set): new method added.

2003-03-15  dodji  <dodji@seketeli.org>

	* src/cr-utils.[ch]
	added some new helper functions/did some cleanups.
	
	* src/cr-tknzr.[ch]:
	made the necessary modifs implied by the new CRNum/CRTerm type
	system.

	* src/cr-term.[ch]:
	big cleanup of the CRTerm/CRNum typing system.

	* src/cr-style.[ch]:
	went forward in the style data structure population code.

	* src/rgb.[ch]:
	made the necessary modifs implied by the new CRNum type
	system
	
	* src/cr-parser.c:
	made the necessary modifs implied by the new CRNum type
	system

	* src/cr-num.[ch]: did some big changes for a better
	handling of numeric types.

2003-03-05  Dodji  <dodji@seketeli.org>

	* src/cr-parser.c (cr_parser_new_from_buf): 
	new method to parse stylesheets from in memory buffers.

2003-03-04  Dodji  <dodji@seketeli.og>

	* src/cr-input.c (cr_input_new_from_buf): 
	added this new method to instanciate an input stream from
	an in memory buffer.
	(cr_input_new_from_uri): modified this method to make it
	use the new cr_input_new_from_buf() method.

2003-03-03  Dodji  <dodji@seketeli.org>

	* tests/README-description.txt: 
	added this test description file in the project.
	
	* src/cr-sel-eng.c (cr_sel_eng_get_matched_rulesets_real): 
	renamed the function cr_sel_eng_get_rulesets_real() into
	this new one. Modified it memory management model so that 
	1/ it does not allocate it output array
	2/ caller can use it in a incremental way and get the rulesets
	chunck by chunk.
	(cr_sel_eng_sel_get_matched_rulesets): 
	added this public interface based on the private interface
	cr_sel_eng_get_matched_rulesets_real().
	

2003-03-02  Dodji  <dodji@seketeli.org>

	* src/cr-sel-eng.c (cr_sel_eng_get_rulesets_real): 
	started to code an implementation of a ruleset "requester".
	Still have to debug all this.

2002-09-25  dodji  <dodji@seketeli.org>

	* src/cr-utils.h: updated this file to define stuffs needed by
	other modules.

	* src/cr-parser-input.c: started to write down code to handle
	the stacked parser input.