gtk-css-engine r148 - in trunk: . doc libccss/ccss
- From: robsta svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-css-engine r148 - in trunk: . doc libccss/ccss
- Date: Wed, 1 Oct 2008 11:38:03 +0000 (UTC)
Author: robsta
Date: Wed Oct 1 11:38:03 2008
New Revision: 148
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=148&view=rev
Log:
* HACKING:
* Makefile.am:
* NEWS:
* README:
* TODO:
* configure.in:
* doc/Makefile.am:
* libccss/ccss/ccss-node.c:
Release 0.2: update auxiliary files and fix `make distcheck'.
Modified:
trunk/ChangeLog
trunk/HACKING
trunk/Makefile.am
trunk/NEWS
trunk/README
trunk/TODO
trunk/configure.in
trunk/doc/Makefile.am
trunk/libccss/ccss/ccss-node.c
Modified: trunk/HACKING
==============================================================================
--- trunk/HACKING (original)
+++ trunk/HACKING Wed Oct 1 11:38:03 2008
@@ -48,6 +48,7 @@
----------------
* NEWS.
+* TODO.
* Remove extra version in configure.in.
* `make distcheck`.
* Commit to svn.
Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am (original)
+++ trunk/Makefile.am Wed Oct 1 11:38:03 2008
@@ -2,7 +2,7 @@
ACLOCAL_AMFLAGS = -I .
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-werror
-SUBDIRS = libccss src themes
+SUBDIRS = doc libccss src themes
EXTRA_DIST = \
AUTHORS \
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Wed Oct 1 11:38:03 2008
@@ -2,6 +2,29 @@
NEWS
====
+Version 0.2, 2008-10-01
+-----------------------
+
+Focus on basic CSS support.
+
+### Features ###
+* Border radius.
+* Background image: -attachment, -position, -repeat, -size.
+* External tool `css2gtkrc` for extracting gtkrc information form stylesheets.
+
+### Theme ###
+* Use actual borders for checks and options, make them use 100% of the
+ allocated space.
+* Gilouche-CSS theme somewhat closer to the original.
+
+#### Internals ###
+* Have an internal instance of `ccss_style_t` with default values, `ccss_style_init()`
+ initialises the style to those. Then drawing functions don't have to check
+ for `NULL` pointers any more, or, at least not handle them functionally.
+* Create `color` property and use it for bg- and fg-color (in `block`, `style`, ...).
+* More robust parsing, handle (some) invalid CSS.
+* Better stability, work around a problem in libcroco (b.g.o#553937).
+
Version 0.1, 2008-08-22
-----------------------
Modified: trunk/README
==============================================================================
--- trunk/README (original)
+++ trunk/README Wed Oct 1 11:38:03 2008
@@ -29,6 +29,10 @@
* background
* background-color
* background-image
+* background-attachment
+* background-position
+* background-repeat
+* background-size
* border
* border-bottom
* border-left
Modified: trunk/TODO
==============================================================================
--- trunk/TODO (original)
+++ trunk/TODO Wed Oct 1 11:38:03 2008
@@ -2,46 +2,16 @@
ROADMAP
=======
-0.2 "Basics"
-------------
+0.3 "Features"
+--------------
### Features ###
+* Improve gtkrc export.
* Add a fixup stage when the stylesheet is loaded, handle things like
single `background-size: <length>;` there.
* Background attachment.
-* Add a parse run in the engine to set up GtkStyle correctly.
* Store type-name, type-id and selector-group in the GtkStyle and use that
information if no widget is passed.
-
-#### Done:
-* Border radius.
-* Background image: position, repeat, size.
-* External gtkrc-from-css tool for actually shipping themes.
-
-### Internals ###
-* Embed the "property" struct in all properties, implement `ccss_selector_apply()`
- in a generic manner.
-* Check all list iterators for const-ness.
-* Make all string comparisons case insensitive?
-* Get rid of the _match() functions all toghether?
-* Check 80 column code width.
-* Use `for` to iterate over `GSList`, e.g
- `for (GSList const *iter = list; iter != NULL; iter = iter->next) { ... }`
-
-#### Done:
-* Have an internal instance of `ccss_style_t` with default values, `ccss_style_init()`
- initialises the style to those. Then drawing functions don't have to check
- for `NULL` pointers any more, or, at least not handle them functionally.
-* Create `color' property and use it for bg- and fg-color (in `block`, `style`, ...).
-
-### Theme ###
-* Use actual borders for checks and options, make them use 100% of the
- allocated space.
-* Gilouche-CSS theme pretty much matches the original.
-
-0.3 "Features"
---------------
-
* Border images, c.f. [border-image in Firefox](http://ejohn.org/blog/border-image-in-firefox/).
* [Box-shadow](http://www.w3.org/TR/css3-background/#box-shadow).
* Multiple background images.
@@ -61,6 +31,21 @@
* Support system gtk system colors.
* [CSS Transitions](http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html)
+### Internals ###
+* Embed the "property" struct in all properties, implement `ccss_selector_apply()`
+ in a generic manner.
+* Check all list iterators for const-ness.
+* Make all string comparisons case insensitive?
+* Get rid of the _match() functions all toghether?
+* Check 80 column code width.
+* Use `for` to iterate over `GSList`, e.g
+ `for (GSList const *iter = list; iter != NULL; iter = iter->next) { ... }`
+
+### Theme ###
+* Make theme active (use pseudo-classes).
+* Set text color.
+* Ready for desktop-wide use.
+
0.4 "Correctness"
-----------------
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Wed Oct 1 11:38:03 2008
@@ -10,9 +10,9 @@
m4_define([ccss_version_minor], [2])
m4_define([ccss_version_micro], [0])
### For the release:
-# m4_define([ccss_version_extra], [])
+m4_define([ccss_version_extra], [])
### On trunk:
-m4_define([ccss_version_extra], [.trunk])
+#m4_define([ccss_version_extra], [.trunk])
m4_define([ccss_version],
[ccss_version_major.ccss_version_minor.ccss_version_micro[]ccss_version_extra])
Modified: trunk/doc/Makefile.am
==============================================================================
--- trunk/doc/Makefile.am (original)
+++ trunk/doc/Makefile.am Wed Oct 1 11:38:03 2008
@@ -1,5 +1,6 @@
-all-local: gtk-css-engine.html
+EXTRA_DIST = \
+ 01-introduction.txt
gtk-css-engine.html: news.html todo.html readme.html hacking.html
cat $^ > $@
Modified: trunk/libccss/ccss/ccss-node.c
==============================================================================
--- trunk/libccss/ccss/ccss-node.c (original)
+++ trunk/libccss/ccss/ccss-node.c Wed Oct 1 11:38:03 2008
@@ -71,7 +71,7 @@
}
static bool
-get_viewport (ccss_node_t *self,
+get_viewport (ccss_node_t const *self,
uint32_t *x,
uint32_t *y,
uint32_t *width,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]