CVSROOT: /cvs/gnome Module name: criawips Changes by: herzi 05/09/29 12:20:49
Modified files: . : ChangeLog TODO src/dom : cria-block-priv.h cria-block.c cria-block.h cria-slide-priv.h cria-slide-view.h cria-slide.c cria-slide.h cria-theme.c src/io : cria-presentation-parser.c cria-presentation-writer.c src/rendering : cria-block-renderer.c cria-block-renderer.h cria-canvas-text.c cria-slide-renderer.c cria-slide-renderer.h src/widgets : cria-slide-editor.c cria-slide-show.c Added files: src/dom : cria-slide-element.c cria-slide-element.h Log message: 2005-09-29 Sven Herzberg <[EMAIL PROTECTED]> * TODO: added "NULL checks for g_free are unnecessary" * src/dom/cria-block-priv.h: derive from CriaSlideElement now; remove the name property * src/dom/cria-block.c: derive from CriaSlideElement now; use G_DEFINE_TYPE; removed the name property; removed unnecessary functions; lots of methods take const arguments now; removed the inheritance logic; get rid of the weak reference on the slide * src/dom/cria-block.h: removed the name property; lots of methods take const arguments now * src/dom/cria-slide-element.c: added a base class for slide elements; which can be text blocks, auto-shapes, images, etc. * src/dom/cria-slide-element.h: added a base class for slide elements; which can be text blocks, auto-shapes, images, etc. * src/dom/cria-slide-priv.h: keep a list of elements instead of a hashmap * src/dom/cria-slide-view.h: added a callback for the moment that a new element is added to the slide (so we can update the editor automatically) * src/dom/cria-slide.c: use cdebug correctly; we have elements as children now, not blocks; _get_master_slide() now takes a const argument * src/dom/cria-slide.h: we have elements as children now, not blocks * src/dom/cria-theme.c: fix a parameter name * src/io/cria-presentation-parser.c: use cdebug correctly; fix signedness bug; use the new block/element APIs * src/io/cria-presentation-writer.c: use cdebug correctly; use the new element/block APIs * src/rendering/cria-block-renderer.c: added block attribute inheritance logic; warn if something wrt the alignment handling goes wrong; * src/rendering/cria-block-renderer.h: _get_block() takes a const parameter now * src/rendering/cria-canvas-text.c: added two more tasks * src/rendering/cria-slide-renderer.c: _get_slide() takes a const parameter now; added block-listing and inheritance logic; fixed a debugging message * src/rendering/cria-slide-renderer.h: _get_slide() takes a const parameter now * src/widgets/cria-slide-editor.c: use the new block/element API * src/widgets/cria-slide-show.c: use the new block/element API URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=criawips&who=herzi&date=explicit&mindate=2005-09-29%2012:19&maxdate=2005-09-29%2012:21 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list