From bf98b9a5819c4cb2367a5f461cd42129062beafd Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 09:25:53 +0000 Subject: clutter-1.26.2 base --- diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..83bc72e --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1,1068 @@ +1 Notes on the Free Translation Project +*************************************** + +Free software is going international! The Free Translation Project is +a way to get maintainers of free software, translators, and users all +together, so that free software will gradually become able to speak many +languages. A few packages already provide translations for their +messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work on translations can contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +1.1 Quick configuration advice +============================== + +If you want to exploit the full power of internationalization, you +should configure it using + + ./configure --with-included-gettext + +to force usage of internationalizing routines provided within this +package, despite the existence of internationalizing capabilities in the +operating system where this package is being installed. So far, only +the `gettext' implementation in the GNU C library version 2 provides as +many features (such as locale alias, message inheritance, automatic +charset conversion or plural form handling) as the implementation here. +It is also not possible to offer this additional functionality on top +of a `catgets' implementation. Future versions of GNU `gettext' will +very likely convey even more functionality. So it might be a good idea +to change to GNU `gettext' as soon as possible. + + So you need _not_ provide this option if you are using GNU libc 2 or +you have installed a recent copy of the GNU gettext package with the +included `libintl'. + +1.2 INSTALL Matters +=================== + +Some packages are "localizable" when properly installed; the programs +they contain can be made to speak your own native language. Most such +packages use GNU `gettext'. Other packages have their own ways to +internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. If not, the included GNU +`gettext' library will be used. This library is wholly contained +within this package, usually in the `intl/' subdirectory, so prior +installation of the GNU `gettext' package is _not_ required. +Installers may use special options at configuration time for changing +the default behaviour. The commands: + + ./configure --with-included-gettext + ./configure --disable-nls + +will, respectively, bypass any pre-existing `gettext' to use the +internationalizing routines provided within this package, or else, +_totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl.a' file and +will decide to use this. This might not be desirable. You should use +the more recent version of the GNU `gettext' library. I.e. if the file +`intl/VERSION' shows that the library which comes with this package is +more recent, you should use + + ./configure --with-included-gettext + +to prevent auto-detection. + + The configuration process will not test for the `catgets' function +and therefore it will not be used. The reason is that even an +emulation of `gettext' on top of `catgets' could not provide all the +extensions of the GNU `gettext' library. + + Internationalized packages usually have many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +1.3 Using This Package +====================== + +As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. If you happen to have the `LC_ALL' or some other +`LC_xxx' environment variables set, you should unset them before +setting `LANG', otherwise the setting of `LANG' will not have the +desired effect. Here `LL' is an ISO 639 two-letter language code, and +`CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + The locale naming convention of `LL_CC', with `LL' denoting the +language and `CC' denoting the country, is the one use on systems based +on GNU libc. On other systems, some variations of this scheme are +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of +locales supported by your system for your language by running the +command `locale -a | grep '^LL''. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + Special advice for Norwegian users: The language code for Norwegian +bokma*l changed from `no' to `nb' recently (in 2003). During the +transition period, while some message catalogs for this language are +installed under `nb' and some older ones under `no', it's recommended +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and +older translations are used. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +1.4 Translating Teams +===================== + +For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://translationproject.org/', in the "Teams" area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `coordinator@translationproject.org' to +reach the coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skills are praised more than +programming skills, here. + +1.5 Available Packages +====================== + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of November +2007. The matrix shows, in regard of each package, for which languages +PO files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo + +----------------------------------------------------+ + Compendium | [] [] [] [] | + a2ps | [] [] [] [] [] | + aegis | () | + ant-phone | () | + anubis | [] | + ap-utils | | + aspell | [] [] [] [] [] | + bash | [] | + bfd | | + bibshelf | [] | + binutils | | + bison | [] [] | + bison-runtime | [] | + bluez-pin | [] [] [] [] [] | + cflow | [] | + clisp | [] [] [] | + console-tools | [] [] | + coreutils | [] [] [] [] | + cpio | | + cpplib | [] [] [] | + cryptonit | [] | + dialog | | + diffutils | [] [] [] [] [] [] | + doodle | [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + fetchmail | [] [] () [] [] | + findutils | [] | + findutils_stable | [] [] [] | + flex | [] [] [] | + fslint | | + gas | | + gawk | [] [] [] | + gcal | [] | + gcc | [] | + gettext-examples | [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] | + gip | [] | + gliv | [] [] | + glunarclock | [] | + gmult | [] [] | + gnubiff | () | + gnucash | [] [] () () [] | + gnuedu | | + gnulib | [] | + gnunet | | + gnunet-gtk | | + gnutls | [] | + gpe-aerial | [] [] | + gpe-beam | [] [] | + gpe-calendar | | + gpe-clock | [] [] | + gpe-conf | [] [] | + gpe-contacts | | + gpe-edit | [] | + gpe-filemanager | | + gpe-go | [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] | + gpe-package | | + gpe-sketchbook | [] [] | + gpe-su | [] [] | + gpe-taskmanager | [] [] | + gpe-timesheet | [] | + gpe-today | [] [] | + gpe-todo | | + gphoto2 | [] [] [] [] | + gprof | [] [] | + gpsdrive | | + gramadoir | [] [] | + grep | [] [] | + gretl | () | + gsasl | | + gss | | + gst-plugins-bad | [] [] | + gst-plugins-base | [] [] | + gst-plugins-good | [] [] [] | + gst-plugins-ugly | [] [] | + gstreamer | [] [] [] [] [] [] [] | + gtick | () | + gtkam | [] [] [] [] | + gtkorphan | [] [] | + gtkspell | [] [] [] [] | + gutenprint | [] | + hello | [] [] [] [] [] | + herrie | [] | + hylafax | | + idutils | [] [] | + indent | [] [] [] [] | + iso_15924 | | + iso_3166 | [] [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | [] [] [] | + iso_639 | [] [] [] [] | + jpilot | [] | + jtag | | + jwhois | | + kbd | [] [] [] [] | + keytouch | [] [] | + keytouch-editor | [] | + keytouch-keyboa... | [] | + latrine | () | + ld | [] | + leafpad | [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] | + libextractor | [] | + libgpewidget | [] [] [] | + libgpg-error | [] | + libgphoto2 | [] [] | + libgphoto2_port | [] [] | + libgsasl | | + libiconv | [] [] | + libidn | [] [] [] | + lifelines | [] () | + lilypond | [] | + lingoteach | | + lprng | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailfromd | | + mailutils | [] | + make | [] [] | + man-db | [] [] [] | + minicom | [] [] [] | + nano | [] [] [] | + opcodes | [] | + parted | [] [] | + pilot-qof | | + popt | [] [] [] | + psmisc | [] | + pwdutils | | + qof | | + radius | [] | + recode | [] [] [] [] [] [] | + rpm | [] | + screem | | + scrollkeeper | [] [] [] [] [] [] [] [] | + sed | [] [] [] | + shared-mime-info | [] [] [] [] () [] [] [] | + sharutils | [] [] [] [] [] [] | + shishi | | + skencil | [] () | + solfege | | + soundtracker | [] [] | + sp | [] | + system-tools-ba... | [] [] [] [] [] [] [] [] [] | + tar | [] [] | + texinfo | [] [] [] | + tin | () () | + tuxpaint | [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] [] | + util-linux-ng | [] [] [] [] | + vorbis-tools | [] | + wastesedge | () | + wdiff | [] [] [] [] | + wget | [] [] [] | + xchat | [] [] [] [] [] [] [] | + xkeyboard-config | [] | + xpad | [] [] [] | + +----------------------------------------------------+ + af am ar az be bg bs ca cs cy da de el en en_GB eo + 6 0 2 1 8 26 2 40 48 2 56 88 15 1 15 18 + + es et eu fa fi fr ga gl gu he hi hr hu id is it + +--------------------------------------------------+ + Compendium | [] [] [] [] [] | + a2ps | [] [] [] () | + aegis | | + ant-phone | [] | + anubis | [] | + ap-utils | [] [] | + aspell | [] [] [] | + bash | [] | + bfd | [] [] | + bibshelf | [] [] [] | + binutils | [] [] [] | + bison | [] [] [] [] [] [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] | + cflow | [] | + clisp | [] [] | + console-tools | | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] | + cpplib | [] [] | + cryptonit | [] | + dialog | [] [] [] | + diffutils | [] [] [] [] [] [] [] [] [] | + doodle | [] [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] | + fetchmail | [] | + findutils | [] [] [] | + findutils_stable | [] [] [] [] | + flex | [] [] [] | + fslint | | + gas | [] [] | + gawk | [] [] [] [] () | + gcal | [] [] | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] | + gettext-tools | [] [] [] [] | + gip | [] [] [] [] | + gliv | () | + glunarclock | [] [] [] | + gmult | [] [] [] | + gnubiff | () () | + gnucash | () () () | + gnuedu | [] | + gnulib | [] [] [] | + gnunet | | + gnunet-gtk | | + gnutls | | + gpe-aerial | [] [] | + gpe-beam | [] [] | + gpe-calendar | | + gpe-clock | [] [] [] [] | + gpe-conf | [] | + gpe-contacts | [] [] | + gpe-edit | [] [] [] [] | + gpe-filemanager | [] | + gpe-go | [] [] [] | + gpe-login | [] [] [] | + gpe-ownerinfo | [] [] [] [] [] | + gpe-package | [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] | + gphoto2 | [] [] [] [] [] | + gprof | [] [] [] [] [] | + gpsdrive | [] | + gramadoir | [] [] | + grep | [] [] [] | + gretl | [] [] [] () | + gsasl | [] [] | + gss | [] [] | + gst-plugins-bad | [] [] [] [] | + gst-plugins-base | [] [] [] [] | + gst-plugins-good | [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] | + gstreamer | [] [] [] | + gtick | [] [] [] | + gtkam | [] [] [] [] | + gtkorphan | [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | [] | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | + herrie | [] | + hylafax | | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] [] [] [] | + iso_15924 | [] | + iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | [] | + iso_4217 | [] [] [] [] [] [] | + iso_639 | [] [] [] [] [] [] | + jpilot | [] [] | + jtag | [] | + jwhois | [] [] [] [] [] | + kbd | [] [] | + keytouch | [] [] [] | + keytouch-editor | [] | + keytouch-keyboa... | [] [] | + latrine | [] [] | + ld | [] [] [] [] | + leafpad | [] [] [] [] [] [] | + libc | [] [] [] [] [] | + libexif | [] | + libextractor | [] | + libgpewidget | [] [] [] [] [] | + libgpg-error | [] | + libgphoto2 | [] [] [] | + libgphoto2_port | [] [] | + libgsasl | [] [] | + libiconv | [] [] [] | + libidn | [] [] | + lifelines | () | + lilypond | [] [] [] | + lingoteach | [] [] [] | + lprng | | + lynx | [] [] [] | + m4 | [] [] [] [] | + mailfromd | | + mailutils | [] [] | + make | [] [] [] [] [] [] [] [] | + man-db | [] | + minicom | [] [] [] [] | + nano | [] [] [] [] [] [] [] | + opcodes | [] [] [] [] | + parted | [] [] [] | + pilot-qof | | + popt | [] [] [] [] | + psmisc | [] [] | + pwdutils | | + qof | [] | + radius | [] [] | + recode | [] [] [] [] [] [] [] [] | + rpm | [] [] | + screem | | + scrollkeeper | [] [] [] | + sed | [] [] [] [] [] | + shared-mime-info | [] [] [] [] [] [] | + sharutils | [] [] [] [] [] [] [] [] | + shishi | [] | + skencil | [] [] | + solfege | [] | + soundtracker | [] [] [] | + sp | [] | + system-tools-ba... | [] [] [] [] [] [] [] [] [] | + tar | [] [] [] [] [] | + texinfo | [] [] [] | + tin | [] () | + tuxpaint | [] [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux | [] [] [] [] [] [] [] | + util-linux-ng | [] [] [] [] [] [] [] | + vorbis-tools | | + wastesedge | () | + wdiff | [] [] [] [] [] [] [] [] | + wget | [] [] [] [] [] [] [] [] | + xchat | [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] | + xpad | [] [] [] | + +--------------------------------------------------+ + es et eu fa fi fr ga gl gu he hi hr hu id is it + 85 22 14 2 48 101 61 12 2 8 2 6 53 29 1 52 + + ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn + +--------------------------------------------------+ + Compendium | [] | + a2ps | () [] [] | + aegis | () | + ant-phone | [] | + anubis | [] [] [] | + ap-utils | [] | + aspell | [] [] | + bash | [] | + bfd | | + bibshelf | [] | + binutils | | + bison | [] [] [] | + bison-runtime | [] [] [] | + bluez-pin | [] [] [] | + cflow | | + clisp | [] | + console-tools | | + coreutils | [] | + cpio | [] | + cpplib | [] | + cryptonit | [] | + dialog | [] [] | + diffutils | [] [] [] | + doodle | | + e2fsprogs | [] | + enscript | [] | + fetchmail | [] [] | + findutils | [] | + findutils_stable | [] | + flex | [] [] | + fslint | | + gas | | + gawk | [] [] | + gcal | | + gcc | | + gettext-examples | [] [] [] | + gettext-runtime | [] [] [] | + gettext-tools | [] [] | + gip | [] [] | + gliv | [] | + glunarclock | [] [] | + gmult | [] [] [] | + gnubiff | | + gnucash | () () () | + gnuedu | | + gnulib | [] [] | + gnunet | | + gnunet-gtk | | + gnutls | [] | + gpe-aerial | [] | + gpe-beam | [] | + gpe-calendar | [] | + gpe-clock | [] [] [] | + gpe-conf | [] [] [] | + gpe-contacts | [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] | + gpe-go | [] [] [] | + gpe-login | [] [] [] | + gpe-ownerinfo | [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] | + gpe-today | [] [] | + gpe-todo | [] | + gphoto2 | [] [] | + gprof | [] | + gpsdrive | [] | + gramadoir | () | + grep | [] [] | + gretl | | + gsasl | [] | + gss | | + gst-plugins-bad | [] | + gst-plugins-base | [] | + gst-plugins-good | [] | + gst-plugins-ugly | [] | + gstreamer | [] | + gtick | [] | + gtkam | [] [] | + gtkorphan | [] | + gtkspell | [] [] | + gutenprint | [] | + hello | [] [] [] [] [] [] [] | + herrie | [] | + hylafax | | + idutils | [] | + indent | [] [] | + iso_15924 | [] | + iso_3166 | [] [] [] [] [] [] [] [] | + iso_3166_2 | [] | + iso_4217 | [] [] [] | + iso_639 | [] [] [] [] | + jpilot | () () | + jtag | | + jwhois | [] | + kbd | [] | + keytouch | [] | + keytouch-editor | [] | + keytouch-keyboa... | | + latrine | [] | + ld | | + leafpad | [] [] | + libc | [] [] [] | + libexif | | + libextractor | | + libgpewidget | [] | + libgpg-error | | + libgphoto2 | [] | + libgphoto2_port | [] | + libgsasl | [] | + libiconv | [] | + libidn | [] [] | + lifelines | [] | + lilypond | [] | + lingoteach | [] | + lprng | | + lynx | [] [] | + m4 | [] [] | + mailfromd | | + mailutils | | + make | [] [] [] | + man-db | | + minicom | [] | + nano | [] [] [] | + opcodes | [] | + parted | [] [] | + pilot-qof | | + popt | [] [] [] | + psmisc | [] [] [] | + pwdutils | | + qof | | + radius | | + recode | [] | + rpm | [] [] | + screem | [] | + scrollkeeper | [] [] [] [] | + sed | [] [] | + shared-mime-info | [] [] [] [] [] [] [] | + sharutils | [] [] | + shishi | | + skencil | | + solfege | () () | + soundtracker | | + sp | () | + system-tools-ba... | [] [] [] [] | + tar | [] [] [] | + texinfo | [] [] | + tin | | + tuxpaint | () [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] | + util-linux-ng | [] [] | + vorbis-tools | | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] | + xchat | [] [] [] [] | + xkeyboard-config | [] [] [] | + xpad | [] [] [] | + +--------------------------------------------------+ + ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn + 51 2 25 3 2 0 6 0 2 2 20 0 11 1 103 6 + + or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta + +--------------------------------------------------+ + Compendium | [] [] [] [] [] | + a2ps | () [] [] [] [] [] [] | + aegis | () () | + ant-phone | [] [] | + anubis | [] [] [] | + ap-utils | () | + aspell | [] [] [] | + bash | [] [] | + bfd | | + bibshelf | [] | + binutils | [] [] | + bison | [] [] [] [] [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] [] | + cflow | [] | + clisp | [] | + console-tools | [] | + coreutils | [] [] [] [] | + cpio | [] [] [] | + cpplib | [] | + cryptonit | [] [] | + dialog | [] | + diffutils | [] [] [] [] [] [] | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] [] | + fetchmail | [] [] [] | + findutils | [] [] [] | + findutils_stable | [] [] [] [] [] [] | + flex | [] [] [] [] [] | + fslint | [] | + gas | | + gawk | [] [] [] [] | + gcal | [] | + gcc | [] [] | + gettext-examples | [] [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] [] [] | + gettext-tools | [] [] [] [] [] [] [] | + gip | [] [] [] [] | + gliv | [] [] [] [] [] [] | + glunarclock | [] [] [] [] [] [] | + gmult | [] [] [] [] | + gnubiff | () [] | + gnucash | () [] | + gnuedu | | + gnulib | [] [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gpe-aerial | [] [] [] [] [] [] [] | + gpe-beam | [] [] [] [] [] [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] [] [] [] [] | + gpe-conf | [] [] [] [] [] [] [] | + gpe-contacts | [] [] [] [] [] | + gpe-edit | [] [] [] [] [] [] [] [] [] | + gpe-filemanager | [] [] | + gpe-go | [] [] [] [] [] [] [] [] | + gpe-login | [] [] [] [] [] [] [] [] | + gpe-ownerinfo | [] [] [] [] [] [] [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] [] [] [] [] [] [] | + gpe-su | [] [] [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] [] | + gpe-todo | [] [] [] [] | + gphoto2 | [] [] [] [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] | + gramadoir | [] [] | + grep | [] [] [] [] | + gretl | [] [] [] | + gsasl | [] [] [] | + gss | [] [] [] [] | + gst-plugins-bad | [] [] [] | + gst-plugins-base | [] [] | + gst-plugins-good | [] [] | + gst-plugins-ugly | [] [] [] | + gstreamer | [] [] [] [] | + gtick | [] | + gtkam | [] [] [] [] [] | + gtkorphan | [] | + gtkspell | [] [] [] [] [] [] [] [] | + gutenprint | [] | + hello | [] [] [] [] [] [] [] [] | + herrie | [] [] [] | + hylafax | | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | | + iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | [] [] [] [] [] [] [] | + iso_639 | [] [] [] [] [] [] [] | + jpilot | | + jtag | [] | + jwhois | [] [] [] [] | + kbd | [] [] [] | + keytouch | [] | + keytouch-editor | [] | + keytouch-keyboa... | [] | + latrine | | + ld | [] | + leafpad | [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] | + libextractor | [] [] | + libgpewidget | [] [] [] [] [] [] [] [] | + libgpg-error | [] [] [] | + libgphoto2 | [] | + libgphoto2_port | [] [] [] | + libgsasl | [] [] [] [] | + libiconv | [] [] [] | + libidn | [] [] () | + lifelines | [] [] | + lilypond | | + lingoteach | [] | + lprng | [] | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | [] | + mailutils | [] [] [] | + make | [] [] [] [] | + man-db | [] [] [] [] | + minicom | [] [] [] [] [] | + nano | [] [] [] [] | + opcodes | [] [] | + parted | [] | + pilot-qof | | + popt | [] [] [] [] | + psmisc | [] [] | + pwdutils | [] [] | + qof | [] [] | + radius | [] [] | + recode | [] [] [] [] [] [] [] | + rpm | [] [] [] [] | + screem | | + scrollkeeper | [] [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] [] [] | + shared-mime-info | [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | [] | + skencil | [] [] [] | + solfege | [] | + soundtracker | [] [] | + sp | | + system-tools-ba... | [] [] [] [] [] [] [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + tin | () | + tuxpaint | [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] [] | + util-linux-ng | [] [] [] [] | + vorbis-tools | [] | + wastesedge | | + wdiff | [] [] [] [] [] [] [] | + wget | [] [] [] [] | + xchat | [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + xpad | [] [] [] | + +--------------------------------------------------+ + or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta + 0 5 77 31 53 4 58 72 3 45 46 9 45 122 3 + + tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu + +---------------------------------------------------+ + Compendium | [] [] [] [] | 19 + a2ps | [] [] [] | 19 + aegis | [] | 1 + ant-phone | [] [] | 6 + anubis | [] [] [] | 11 + ap-utils | () [] | 4 + aspell | [] [] [] | 16 + bash | [] | 6 + bfd | | 2 + bibshelf | [] | 7 + binutils | [] [] [] [] | 9 + bison | [] [] [] [] | 20 + bison-runtime | [] [] [] [] | 18 + bluez-pin | [] [] [] [] [] [] | 28 + cflow | [] [] | 5 + clisp | | 9 + console-tools | [] [] | 5 + coreutils | [] [] [] | 18 + cpio | [] [] [] [] | 11 + cpplib | [] [] [] [] [] | 12 + cryptonit | [] | 6 + dialog | [] [] [] | 9 + diffutils | [] [] [] [] [] | 29 + doodle | [] | 6 + e2fsprogs | [] [] | 10 + enscript | [] [] [] | 16 + fetchmail | [] [] | 12 + findutils | [] [] [] | 11 + findutils_stable | [] [] [] [] | 18 + flex | [] [] | 15 + fslint | [] | 2 + gas | [] | 3 + gawk | [] [] [] | 16 + gcal | [] | 5 + gcc | [] [] [] | 7 + gettext-examples | [] [] [] [] [] [] | 29 + gettext-runtime | [] [] [] [] [] [] | 28 + gettext-tools | [] [] [] [] [] | 20 + gip | [] [] | 13 + gliv | [] [] | 11 + glunarclock | [] [] [] | 15 + gmult | [] [] [] [] | 16 + gnubiff | [] | 2 + gnucash | () [] | 5 + gnuedu | [] | 2 + gnulib | [] | 10 + gnunet | | 0 + gnunet-gtk | [] [] | 3 + gnutls | | 4 + gpe-aerial | [] [] | 14 + gpe-beam | [] [] | 14 + gpe-calendar | [] [] | 7 + gpe-clock | [] [] [] [] | 21 + gpe-conf | [] [] [] | 16 + gpe-contacts | [] [] | 10 + gpe-edit | [] [] [] [] [] | 22 + gpe-filemanager | [] [] | 7 + gpe-go | [] [] [] [] | 19 + gpe-login | [] [] [] [] [] | 21 + gpe-ownerinfo | [] [] [] [] | 21 + gpe-package | [] | 6 + gpe-sketchbook | [] [] | 16 + gpe-su | [] [] [] [] | 21 + gpe-taskmanager | [] [] [] [] | 21 + gpe-timesheet | [] [] [] [] | 18 + gpe-today | [] [] [] [] [] | 21 + gpe-todo | [] [] | 8 + gphoto2 | [] [] [] [] | 21 + gprof | [] [] | 13 + gpsdrive | [] | 5 + gramadoir | [] | 7 + grep | [] | 12 + gretl | | 6 + gsasl | [] [] [] | 9 + gss | [] | 7 + gst-plugins-bad | [] [] [] | 13 + gst-plugins-base | [] [] | 11 + gst-plugins-good | [] [] [] [] [] | 16 + gst-plugins-ugly | [] [] [] | 13 + gstreamer | [] [] [] | 18 + gtick | [] [] | 7 + gtkam | [] | 16 + gtkorphan | [] | 7 + gtkspell | [] [] [] [] [] [] | 27 + gutenprint | | 4 + hello | [] [] [] [] [] | 38 + herrie | [] [] | 8 + hylafax | | 0 + idutils | [] [] | 15 + indent | [] [] [] [] [] | 28 + iso_15924 | [] [] | 4 + iso_3166 | [] [] [] [] [] [] [] [] [] | 54 + iso_3166_2 | [] [] | 4 + iso_4217 | [] [] [] [] [] | 24 + iso_639 | [] [] [] [] [] | 26 + jpilot | [] [] [] [] | 7 + jtag | [] | 3 + jwhois | [] [] [] | 13 + kbd | [] [] [] | 13 + keytouch | [] | 8 + keytouch-editor | [] | 5 + keytouch-keyboa... | [] | 5 + latrine | [] [] | 5 + ld | [] [] [] [] | 10 + leafpad | [] [] [] [] [] | 24 + libc | [] [] [] | 19 + libexif | [] | 5 + libextractor | [] | 5 + libgpewidget | [] [] [] | 20 + libgpg-error | [] | 6 + libgphoto2 | [] [] | 9 + libgphoto2_port | [] [] [] | 11 + libgsasl | [] | 8 + libiconv | [] [] | 11 + libidn | [] [] | 11 + lifelines | | 4 + lilypond | [] | 6 + lingoteach | [] | 6 + lprng | [] | 2 + lynx | [] [] [] | 15 + m4 | [] [] [] | 18 + mailfromd | [] [] | 3 + mailutils | [] [] | 8 + make | [] [] [] | 20 + man-db | [] | 9 + minicom | [] | 14 + nano | [] [] [] | 20 + opcodes | [] [] | 10 + parted | [] [] [] | 11 + pilot-qof | [] | 1 + popt | [] [] [] [] | 18 + psmisc | [] [] | 10 + pwdutils | [] | 3 + qof | [] | 4 + radius | [] [] | 7 + recode | [] [] [] | 25 + rpm | [] [] [] [] | 13 + screem | [] | 2 + scrollkeeper | [] [] [] [] | 26 + sed | [] [] [] [] | 23 + shared-mime-info | [] [] [] | 29 + sharutils | [] [] [] | 23 + shishi | [] | 3 + skencil | [] | 7 + solfege | [] | 3 + soundtracker | [] [] | 9 + sp | [] | 3 + system-tools-ba... | [] [] [] [] [] [] [] | 38 + tar | [] [] [] | 17 + texinfo | [] [] [] | 15 + tin | | 1 + tuxpaint | [] [] [] | 19 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux | [] [] [] | 20 + util-linux-ng | [] [] [] | 20 + vorbis-tools | [] [] | 4 + wastesedge | | 1 + wdiff | [] [] | 23 + wget | [] [] [] | 20 + xchat | [] [] [] [] | 29 + xkeyboard-config | [] [] [] | 14 + xpad | [] [] [] | 15 + +---------------------------------------------------+ + 76 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu + 163 domains 0 3 1 74 51 0 143 21 1 57 7 45 0 2036 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If November 2007 seems to be old, you may fetch a more recent copy +of this `ABOUT-NLS' file on most GNU archive sites. The most +up-to-date matrix with full percentage details can be found at +`http://translationproject.org/extra/matrix.html'. + +1.6 Using `gettext' in new packages +=================================== + +If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course you have to respect the GNU Library General Public +License which covers the use of the GNU `gettext' library. This means +in particular that even non-free programs can use `libintl' as a shared +library, whereas only free software can use `libintl' as a static +library or use modified versions of `libintl'. + + Once the sources are changed appropriately and the setup can handle +the use of `gettext' the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`coordinator@translationproject.org' to make the `.pot' files available +to the translation teams. + diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..4362b49 --- /dev/null +++ b/COPYING @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..d711c33 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,1900 @@ +# Generated by configure. Do not edit. + +commit 2faa83baf3ce9b9c94635311ad79944ab2a73c84 +Author: Emmanuele Bassi +Date: Fri May 12 11:29:01 2017 +0100 + + Release Clutter 1.26.2 + + NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 48 insertions(+), 1 deletion(-) + +commit b08fe46874271b834cbfb1f62ce32461b16a68ab +Author: Emmanuele Bassi +Date: Fri May 12 11:00:44 2017 +0100 + + build: Bind interface age to minor and micro version + + Instead of requiring to manually update the interface age, we can simply + check for the minor version, and either set it to 0 for development + releases, or set it to the micro version for stable one. We don't do API + additions in micro releases anyway. + + configure.ac | 24 +++++------------------- + 1 file changed, 5 insertions(+), 19 deletions(-) + +commit 03c7b026685effb897aced7db4bbef8705e21338 +Author: Olivier Fourdan +Date: Tue May 9 14:58:50 2017 +0200 + + gdk: stage: destroy and clear subsurface on unrealize() + + When using a gdk subsurface, destroy it on clutter_stage_gdk_unrealize() + to avoid keeping around an old existing subsurface pointing to a parent + surface which might be gone. + + https://bugzilla.gnome.org/show_bug.cgi?id=781975 + + clutter/gdk/clutter-stage-gdk.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 9196768696abcaabcbf38dd94b91e5be34a55d6d +Author: Nigel Taylor +Date: Fri May 5 08:42:47 2017 -0400 + + conform/actor-graph: Add missing null-termination + + https://bugzilla.gnome.org/show_bug.cgi?id=759085 + + tests/conform/actor-graph.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit f275967c8675cb908218806efdc848e91fb3d357 +Author: Emmanuele Bassi +Date: Wed May 3 11:55:00 2017 +0100 + + build: Stop including the generated marshaller header + + Newer versions of glib-genmarshal generate the function prototypes for + us, so we don't need to include the generated header by injecting an + "include" pre-processor directive when generating the body. + + build/autotools/Makefile.am.marshal | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit f318e93e228d8aabfb057492c9793f44a6a457b2 +Author: Piotr Drąg +Date: Thu Apr 27 16:18:26 2017 +0200 + + Update po/Makevars + + po/Makevars | 39 ++++++++++++++++++++++++++++++++++++++- + 1 file changed, 38 insertions(+), 1 deletion(-) + +commit 9c4330b6ddbae230de8b25610e59af143e38b2ab +Author: Yuras Shumovich +Date: Sun Mar 26 16:18:36 2017 +0000 + + Update Belarusian translation + + po/be.po | 1625 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 848 insertions(+), 777 deletions(-) + +commit 19c48d6de00cb84dca09f452b6487768ae4ddb07 +Author: Fabio Tomat +Date: Mon Mar 13 07:32:17 2017 +0000 + + Update Friulian translation + + po/fur.po | 221 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 114 insertions(+), 107 deletions(-) + +commit eac930eff7021622a676aa2cf792ec321cb83e2d +Author: Fabio Tomat +Date: Tue Mar 7 21:51:31 2017 +0000 + + Add Friulian translation + + po/fur.po | 2800 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2800 insertions(+) + +commit c6a5ef3fbaabf0e99a9f8b0edc1227238f88e5fc +Author: Kjartan Maraas +Date: Tue Feb 14 08:22:11 2017 +0100 + + Updated Norwegian bokmål translation. + + po/nb.po | 1679 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 829 insertions(+), 850 deletions(-) + +commit c9f9157e2322425c96a3bfec8e7170841ca6b1a1 +Author: Piotr Drąg +Date: Thu Jan 26 04:33:04 2017 +0100 + + Fix a translator comment + + They need to be exactly one line above a string to show up in .po files. + + clutter/deprecated/clutter-shader.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 8076b09677a64ad0f5026faaf9b26b2dadd2f0e0 +Author: Olivier Fourdan +Date: Thu Jan 5 09:04:04 2017 +0100 + + build: Bump gdk version requirement + + gtk+-3.22.6 includes all the fixes required to use gdk subsurfaces under + Wayland, bump the minimal required version to this new version. + + https://bugzilla.gnome.org/show_bug.cgi?id=774546 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ffa7aa95d8ec62efbbc20e5aacc29d52555f3145 +Author: Olivier Fourdan +Date: Wed Nov 16 15:31:28 2016 +0100 + + gdk: stage: Use gdk for the Wayland subsurface + + GDK has all the bits required to deal with the subsurface, by using the + GDK Wayland API instead of the Wayland API directly, we can save a few + lines of code. + + https://bugzilla.gnome.org/show_bug.cgi?id=774546 + + clutter/gdk/clutter-stage-gdk.c | 137 ++++++++++++++-------------------------- + clutter/gdk/clutter-stage-gdk.h | 4 +- + 2 files changed, 50 insertions(+), 91 deletions(-) + +commit 55093e304ec0c8cdc287ed933f4d78ca6eea5e07 +Author: Marc-Antoine Perennou +Date: Mon Feb 29 19:50:43 2016 +0100 + + backend: check for wayland before x11 + + this way, clutter-gtk applications work fine on wayland + without the need of exporting CLUTTER_BACKEND=wayland + as gtk+ checks for wayland and x11 in the same order + + https://bugzilla.gnome.org/show_bug.cgi?id=762888 + + Signed-off-by: Marc-Antoine Perennou + + clutter/clutter-backend.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit c05dc54908d72c94511bc0c3c26aed1624840fe2 +Author: Philip Withnall +Date: Tue Oct 4 16:48:17 2016 +0100 + + clutter-script: Document support for top-level arrays + + Despite being a widely-used feature, it doesn’t seem to be obvious from + the documentation that the top-level node in a ClutterScript JSON file + can be an object, or an array of objects. Try to clarify that in the + documentation. + + https://bugzilla.gnome.org/show_bug.cgi?id=772412 + + clutter/clutter-script.c | 26 ++++++++++++++++++++++++-- + 1 file changed, 24 insertions(+), 2 deletions(-) + +commit 7ab085c0864a0607bf602a48afa6f12e562c965f +Author: Gábor Kelemen +Date: Sun Sep 25 09:05:21 2016 +0000 + + Updated Hungarian translation + + po/hu.po | 1483 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 737 insertions(+), 746 deletions(-) + +commit a1837ee5f3ed0c88aafc11d0e5a6b2aa53a5b65a +Author: gogo +Date: Sat Sep 24 10:26:12 2016 +0000 + + Added Croatian translation + + po/hr.po | 2454 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2454 insertions(+) + +commit 79da526145de3033e01eb1de6d6ec712639a7ea5 +Author: Peter Mráz +Date: Wed Sep 21 11:17:42 2016 +0000 + + Updated Slovak translation + + po/sk.po | 50 +++++++++++++++++++++++--------------------------- + 1 file changed, 23 insertions(+), 27 deletions(-) + +commit d4e38c4657a67688797e4a297de5c486a41c0c56 +Author: David King +Date: Sun Sep 18 12:35:47 2016 +0200 + + Update British English translation + + po/en_GB.po | 1630 +++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 853 insertions(+), 777 deletions(-) + +commit 301a14e3a08cdb04be937227d6532443dbf4face +Author: Piotr Drąg +Date: Mon Sep 12 19:00:48 2016 +0200 + + Add more options to XGETTEXT_OPTIONS in po/Makevars + + po/Makevars | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4bfa70c9a5abdd6a9cf48a0c5701c3185df9c539 +Author: Baurzhan Muftakhidinov +Date: Sun Sep 11 13:37:16 2016 +0000 + + Updated Kazakh translation + + po/kk.po | 1498 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 744 insertions(+), 754 deletions(-) + +commit f00e71281f4900c20dfcb8d3d3d4b054dc9ae5e7 +Author: Dušan Kazik +Date: Sat Sep 10 14:27:05 2016 +0000 + + Updated Slovak translation + + po/sk.po | 1616 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 807 insertions(+), 809 deletions(-) + +commit 48c67647015634bfd4ac0d5a106050271759f38f +Author: Piotr Drąg +Date: Wed Sep 7 04:17:57 2016 +0200 + + Updated Polish translation + + po/pl.po | 13 ++++++------- + 1 file changed, 6 insertions(+), 7 deletions(-) + +commit ade7b4996adc88b2787d9be0257f2415aff6ee47 +Author: Jeremy Bicha +Date: Sat Sep 3 22:29:17 2016 -0400 + + Fix typo in Spanish translation header + + po/es.po | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 363c3f8bf4196b4c94135bb0fcc0023d5eda261f +Author: Philip Withnall +Date: Tue Aug 23 18:06:46 2016 +0100 + + tests: Set locale in test-script.c + + So that if the translatable strings in test-script.json are ever + translated in the .po files, they will appear translated in the test + program. + + Note that for them to be translated in the .po files, they must first be + extracted by gettext, which first needs to grow support for + ClutterScript files. + + https://bugzilla.gnome.org/show_bug.cgi?id=770288 + + tests/interactive/test-script.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 3de11d5a01884a56e431dafde0a31b3fc1d7ae5e +Author: Philip Withnall +Date: Tue Aug 23 18:05:02 2016 +0100 + + clutter-script: Add an example of translation in ClutterScript + + Document the ‘translatable’ key and friends. + + https://bugzilla.gnome.org/show_bug.cgi?id=770288 + + clutter/clutter-script.c | 24 ++++++++++++++++++++++++ + 1 file changed, 24 insertions(+) + +commit 21e9c814c76d7ff807e805bb8b29e4c5b1eefcf7 +Author: Piotr Drąg +Date: Mon Aug 22 20:52:10 2016 +0200 + + Updated Polish translation + + po/pl.po | 1563 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 775 insertions(+), 788 deletions(-) + +commit ab547c3f9fe6d18244e0f0e56a871fb5f383f111 +Author: Gustavo Noronha Silva +Date: Tue Jul 26 12:38:22 2016 +0200 + + canvas: fix checking twice for width > 0 + + clutter/clutter-canvas.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 40bbab84ba08630415a04e1762de66cab7902e3d +Author: Philip Withnall +Date: Sun Jul 17 11:54:49 2016 +0100 + + clutter: Fix typo in docs for ClutterActor::queue-relayout + + Signed-off-by: Philip Withnall + + https://bugzilla.gnome.org/show_bug.cgi?id=768898 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6e7a169a12fc9dc0aaf1591b0758a3f92c0579c9 +Author: Piotr Drąg +Date: Fri Jul 15 17:35:36 2016 +0200 + + Add Language headers to po files + + Future versions of gettext will fail if this header is missing. + + po/as.po | 2 +- + po/az_IR.po | 2 +- + po/ca@valencia.po | 2 +- + po/es.po | 2 +- + po/fi.po | 1 + + po/mk.po | 1 + + po/nb.po | 2 +- + po/sl.po | 2 +- + po/sr@latin.po | 2 +- + po/zh_HK.po | 2 +- + 10 files changed, 10 insertions(+), 8 deletions(-) + +commit d7372cc45347b92effd1bf2c0f60185a1e35ab27 +Author: Philip Withnall +Date: Tue Jul 12 14:48:58 2016 +0100 + + actor: Clarify that add_effect() sinks floating references on the effect + + So if you want to reuse a ClutterEffect, make sure to + g_object_ref_sink() it yourself first. + + https://bugzilla.gnome.org/show_bug.cgi?id=768734 + + clutter/clutter-actor.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 9285a8522fbe1a4651c729a52de97dfff73dcf9b +Author: Owen W. Taylor +Date: Wed Jun 29 17:03:46 2016 -0400 + + Don't create the Cogl GLib source multiple times + + Since the check for backend->cogl_context was accidentally moved + to clutter_backend_do_real_create_context, the Glib source that + is created at the end of clutter_backend_do_create_context() is + created and added each time create_context() is called, though + create_context() is supposed to be idempotent. + + https://bugzilla.gnome.org/show_bug.cgi?id=768243 + + clutter/clutter-backend.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 78bb07e6b80e4c5791669389587ec78eaaec6a3e +Author: Andika Triwidada +Date: Fri Jun 24 21:22:58 2016 +0000 + + Updated Indonesian translation + + po/id.po | 530 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 265 insertions(+), 265 deletions(-) + +commit 6d4cef25e14b9a8b4dfcb29d032686a793c365e7 +Author: Cédric Valmary +Date: Mon May 30 18:50:48 2016 +0000 + + Updated Occitan translation + + po/oc.po | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit f12969fd5276cdcfeeb0a78b827405c975a11bc0 +Author: Florian Müllner +Date: Thu May 12 15:25:43 2016 +0200 + + text: Bind A in addition to a + + The 'select-all' action is currently only bound to a, which makes + it awkward to use when caps-lock is active, and is inconsistent with GTK+. + Just accept both upper- and lower-case variants. + + https://bugzilla.gnome.org/show_bug.cgi?id=766326 + + clutter/clutter-text.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 8af3e1ec0c2cd7a2f58c72b32706eafd4484e911 +Author: Cédric Valmary +Date: Sun May 8 18:42:30 2016 +0000 + + Updated Occitan translation + + po/oc.po | 450 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 227 insertions(+), 223 deletions(-) + +commit c6e40de500534df321d2150229a16215054fce38 +Author: Emmanuele Bassi +Date: Tue Mar 29 15:04:50 2016 +0100 + + actor: Warn on adding/removing itself as a child + + ClutterActor should warn if a user tries to add or remove an actor to, + and from, itself on the scene graph. + + Clutter will likely crash, or warn way down the line, but if we can make + debugging simpler then we should. + + clutter/clutter-actor.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit c1818efb18edac10ef06f25e717f9591f44fd226 +Author: Jeff Bai +Date: Sat Mar 26 15:27:25 2016 +0800 + + update zh_CN translation + + po/zh_CN.po | 162 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 81 insertions(+), 81 deletions(-) + +commit 85183a14b7d9439c4df02d35b2732ce54a5ddac6 +Author: Inaki Larranaga Murgoitio +Date: Wed Mar 23 17:05:22 2016 +0100 + + Updated Basque language + + po/eu.po | 191 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 96 insertions(+), 95 deletions(-) + +commit a208fdd0b9684ddc587a3d719ce1f8afdda4a515 +Author: Ask Hjorth Larsen +Date: Mon Mar 21 22:28:10 2016 +0100 + + Updated Danish translation + + po/da.po | 15 +++++++++++++-- + 1 file changed, 13 insertions(+), 2 deletions(-) + +commit 449b8ec9f5e185067950d3dc2e16549675718c0d +Author: Emmanuele Bassi +Date: Mon Mar 21 14:34:48 2016 +0000 + + Post-release version bump to 1.26.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 3f1b0adb9dbdcb5767ef843bd735129955b503aa +Author: Emmanuele Bassi +Date: Mon Mar 21 14:24:59 2016 +0000 + + Release Clutter 1.26.0 + + NEWS | 26 ++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 28 insertions(+), 2 deletions(-) + +commit 8ea58124c7df60acf675c40c71ce1aca4bf1523c +Author: Ask Hjorth Larsen +Date: Sun Mar 20 23:45:13 2016 +0100 + + Updated Danish translation + + po/da.po | 546 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 270 insertions(+), 276 deletions(-) + +commit 8d08ef12a53dc2fb4140bb33fc92c496fde96bfb +Author: Stas Solovey +Date: Fri Mar 4 21:44:34 2016 +0000 + + Updated Russian translation + + po/ru.po | 514 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 256 insertions(+), 258 deletions(-) + +commit 3d4a7cd4a4cf6d3e7a12f33dca000d45f71b4e9e +Author: Rūdolfs Mazurs +Date: Thu Mar 3 22:09:59 2016 +0200 + + Update Latvian translation + + po/lv.po | 523 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 260 insertions(+), 263 deletions(-) + +commit 4ea63af3cd7b684d518c1ddc6281300e2b6077ab +Author: Efstathios Iosifidis +Date: Tue Mar 1 23:27:20 2016 +0000 + + Updated Greek translation + + po/el.po | 544 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 275 insertions(+), 269 deletions(-) + +commit b93e70d306e952aaadcfe472596956e0b7af92a3 +Author: Jordi Mas +Date: Sun Feb 28 16:41:33 2016 +0100 + + Update Catalan translation + + po/ca.po | 33 ++++++++++++++++++--------------- + 1 file changed, 18 insertions(+), 15 deletions(-) + +commit e62a6376a50b975fcfbcf8e0ec6cef6f48f0e1df +Author: Emmanuele Bassi +Date: Sun Feb 28 12:43:43 2016 +0000 + + gdk: Disable deprecation warnings + + For the GDK backend We're using the GdkDeviceManager API, which maps to + Clutter's own device manager API. GDK has now moved to a per-seat device + management model, and deprecated the device manager singleton one. + + In order to avoid the deprecation warnings, we'd have to implement a + model similar to the GDK one inside the generic Clutter API, but that + would also require moving all the others backend to it, which is pretty + pointless. + + Instead, we can disable deprecation warnings for the + ClutterDeviceManager implementation inside the GDK backend. + + clutter/gdk/clutter-device-manager-gdk.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 2bbadcaa8905328c0df274be8997a4dcc46c6086 +Author: Cédric Valmary +Date: Sat Feb 27 22:40:39 2016 +0000 + + Added Occitan translation + + po/oc.po | 2880 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2880 insertions(+) + +commit a99dd7555ba427fecded3811c9b40019b5384637 +Author: Chun-wei Fan +Date: Fri Feb 26 20:55:17 2016 +0800 + + clutter/config.h.win32.in: Keep in sync with autotools builds + + This updates config.h.win32.in to be in-sync with the entries that are in + the config.h.in that is generated by the autotools builds. In particular, + for Visual Studio builds, we default to enable all available drivers ("*"). + + clutter/config.h.win32.in | 27 +++------------------------ + 1 file changed, 3 insertions(+), 24 deletions(-) + +commit 2b0ff2f2ba0af6f3baf094759c72615af9e5918f +Author: Emmanuele Bassi +Date: Tue Feb 23 15:12:57 2016 +0000 + + cally: Avoid clone spamming state changes + + Clones may generate a temporary map/unmap on their source when painting; + this, in turn, will generate unnecessary ATK state changes. + + https://bugzilla.gnome.org/show_bug.cgi?id=756371 + + clutter/cally/cally-actor.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit c867e9d941c08b3ef8de722784a4d013ef92bb59 +Author: Emmanuele Bassi +Date: Tue Feb 23 16:08:52 2016 +0000 + + actor: Expand is_in_clone_paint() check + + The function should return true not only if the actor is being painted + by a ClutterClone, but also if it's inside a sub-graph being painted by + a ClutterClone. + + https://bugzilla.gnome.org/show_bug.cgi?id=756371 + + clutter/clutter-actor.c | 22 +++++++++++++++++++++- + 1 file changed, 21 insertions(+), 1 deletion(-) + +commit 6240b1a228597d7068aae41d48ef4437f6450347 +Author: Марко Костић +Date: Tue Feb 23 18:36:16 2016 +0000 + + Updated Serbian translation + + po/sr.po | 26 +++++++++++++------------- + 1 file changed, 13 insertions(+), 13 deletions(-) + +commit 92716e771920fc7cf5fea22c449fa4c1151a013c +Author: Jordi Mas +Date: Mon Feb 22 20:49:10 2016 +0100 + + Update Catalan translation + + po/ca.po | 951 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 483 insertions(+), 468 deletions(-) + +commit b1049608da7e1d11122e16a370b5fb08cb2d6d4f +Author: Anders Jonsson +Date: Sun Feb 21 21:15:57 2016 +0000 + + Updated Swedish translation + + po/sv.po | 692 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 373 insertions(+), 319 deletions(-) + +commit 17dc05f2417df11f7a560bae5db0c0fbaa367b52 +Author: Мирослав Николић +Date: Thu Feb 18 20:55:07 2016 +0100 + + Updated Serbian translation + + po/sr.po | 529 ++++++++++++++++++++++++++++----------------------------- + po/sr@latin.po | 529 ++++++++++++++++++++++++++++----------------------------- + 2 files changed, 526 insertions(+), 532 deletions(-) + +commit be7fa8c2cb9c8f83a321e5b3f172fa1578c23d68 +Author: Emmanuele Bassi +Date: Thu Feb 18 18:51:47 2016 +0000 + + Post-release version bump to 1.25.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ee68130efe59f956ed9d92bdfcf9691fea8b84f9 +Author: Emmanuele Bassi +Date: Thu Feb 18 18:41:49 2016 +0000 + + Release Clutter 1.25.6 + + NEWS | 28 ++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 29 insertions(+), 1 deletion(-) + +commit 483a4bb00e7dd2f14d86e167c8013c8638723c33 +Author: Emmanuele Bassi +Date: Thu Feb 18 17:19:09 2016 +0000 + + build: Use AC_COMPILE_IFELSE + + Instead of AC_TRY_COMPILE, which has been deprecated by newer autoconf. + + configure.ac | 66 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 33 insertions(+), 33 deletions(-) + +commit 86bc2f43bce941cf59aa3ecece26189ce61e50c0 +Author: Milo Casagrande +Date: Thu Feb 18 13:08:14 2016 +0000 + + Updated Italian translation + + po/it.po | 515 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 256 insertions(+), 259 deletions(-) + +commit 9a353e5ba9b4456b3ac5453883823cb20ecd7022 +Author: Fran Dieguez +Date: Tue Feb 16 23:47:36 2016 +0100 + + Updated Galician translations + + po/gl.po | 530 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 266 insertions(+), 264 deletions(-) + +commit 8181ef15d6d203e82de9f2f10827563515612c2a +Author: Jonas Ådahl +Date: Tue Jul 7 10:23:12 2015 +0800 + + evdev: Pass a motion delta to pointer constrain callback + + The constrain callback cannot rely on the pointer position of the + corresponding ClutterInputDevice to get the actual delta of the motion + event that is to be constrained since it is only updated when an event is + dispatched. So change the API to pass the previous pointer position when + constraining. + + https://bugzilla.gnome.org/show_bug.cgi?id=752752 + + README.in | 7 +++++++ + clutter/evdev/clutter-device-manager-evdev.c | 5 ++++- + clutter/evdev/clutter-evdev.h | 2 ++ + 3 files changed, 13 insertions(+), 1 deletion(-) + +commit 52e38d1ab7c0e13aee8bdd7695741faf2dbb12ef +Author: Jonas Ådahl +Date: Wed Dec 2 16:13:36 2015 +0800 + + evdev: Expose microsecond timestamps via the clutter evdev API + + This is needed by Wayland compositors for certain types of events. + + https://bugzilla.gnome.org/show_bug.cgi?id=752752 + + clutter/evdev/clutter-device-manager-evdev.c | 7 +++++++ + clutter/evdev/clutter-evdev.h | 3 +++ + clutter/evdev/clutter-event-evdev.c | 31 ++++++++++++++++++++++++++++ + clutter/evdev/clutter-input-device-evdev.h | 3 +++ + 4 files changed, 44 insertions(+) + +commit 9214d5029c630e6ed8fd9793f6bcb0a0ae451576 +Author: Jonas Ådahl +Date: Wed Dec 2 12:39:44 2015 +0800 + + evdev: Use microsecond granularity for internal timestamps + + It's what libinput uses internally, and it'll be exposed in a later + patch. + + https://bugzilla.gnome.org/show_bug.cgi?id=752752 + + clutter/evdev/clutter-device-manager-evdev.c | 168 ++++++++++++++++----------- + 1 file changed, 99 insertions(+), 69 deletions(-) + +commit a598917e0793d25df2caf1b51d061700b5688263 +Author: Jonas Ådahl +Date: Wed Dec 2 12:17:23 2015 +0800 + + evdev: Provide the relative pointer motion event deltas + + Compositors need more detailed information about motion events. Make it + possible to retrieve this information when running the evdev backend by + adding the information to the backend specific event struct. + + https://bugzilla.gnome.org/show_bug.cgi?id=752752 + + clutter/evdev/clutter-device-manager-evdev.c | 53 ++++++++++++++++++------- + clutter/evdev/clutter-evdev.h | 7 ++++ + clutter/evdev/clutter-event-evdev.c | 59 ++++++++++++++++++++++++++++ + clutter/evdev/clutter-input-device-evdev.h | 6 +++ + 4 files changed, 110 insertions(+), 15 deletions(-) + +commit a10200509e7aa25d43373c586e2539739806e914 +Author: Jonas Ådahl +Date: Wed Sep 30 14:26:09 2015 +0800 + + evdev: Recycle device ids after devices are removed + + In order to not grow the device id number forever, recycle the ids + whenever a device is released. + + https://bugzilla.gnome.org/show_bug.cgi?id=755849 + + clutter/evdev/clutter-device-manager-evdev.c | 62 ++++++++++++++++++++++++++++ + clutter/evdev/clutter-device-manager-evdev.h | 5 +++ + clutter/evdev/clutter-input-device-evdev.c | 36 ++++++++-------- + 3 files changed, 86 insertions(+), 17 deletions(-) + +commit 3a8ba7b1738b43108ddc5ee01d76c0fd66f9546f +Author: Chao-Hsiung Liao +Date: Sat Feb 13 06:30:20 2016 +0000 + + Updated Chinese (Taiwan) translation + + po/zh_TW.po | 528 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 264 insertions(+), 264 deletions(-) + +commit 29babef8b134960e3912b38c8e052fd9d0255f43 +Author: Alexandre Franke +Date: Mon Feb 8 07:35:50 2016 +0000 + + Updated French translation + + po/fr.po | 529 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 264 insertions(+), 265 deletions(-) + +commit 697dfc083cb9c09d0ac13d04abb38c588ce1327d +Author: Dušan Kazik +Date: Sun Feb 7 19:02:11 2016 +0000 + + Updated Slovak translation + + po/sk.po | 517 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 258 insertions(+), 259 deletions(-) + +commit 04c76d3b706cb90b5586f93a83d8de44f8c298b8 +Author: Piotr Drąg +Date: Sat Feb 6 15:37:42 2016 +0100 + + Updated Polish translation + + po/pl.po | 539 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 270 insertions(+), 269 deletions(-) + +commit 0b2306bece82c29192247cb2d97c74c5ba698d3d +Author: Alexander Shopov +Date: Mon Feb 1 06:15:24 2016 +0200 + + Updated Bulgarian translation + + po/bg.po | 1584 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 824 insertions(+), 760 deletions(-) + +commit c624230a8a125ae6a06e9139151b0d292aa87915 +Author: Emmanuele Bassi +Date: Mon Jan 25 18:48:49 2016 +0000 + + gdk: Enable swap throttling on full screen windows + + Since commit 6183eb363282e5143bfd52aa36b5e6a318c4c992 we disabled swap + throttling in favour of being driven by the GDK frame clock (and thus by + the compositor). + + Compositors may decide to unredirect full screen windows to avoid the + performance penalty of the additional copy, especially on X11, which + means that a Clutter application marked as full screen is not going to + be driven by the compositor, and it's not going to be throttled by the + underlying GL machinery. This has a performance impact on constrained + platforms. + + For this reason, we should re-enable swap throttling when the window is + full screen. + + As the change was introduced especially because of Wayland, we should + check that we're not running as clients under a Wayland compositor; if + we do, we always keep swap throttling disabled, as the compositor will + always manage our output, even when full screen. + + clutter/gdk/clutter-stage-gdk.c | 22 ++++++++++++++++++++++ + 1 file changed, 22 insertions(+) + +commit 84b17220c0f527757d35db13f5314f6df4cf01c6 +Author: Gábor Kelemen +Date: Mon Jan 25 11:21:48 2016 +0000 + + Updated Hungarian translation + + po/hu.po | 542 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 270 insertions(+), 272 deletions(-) + +commit 26386c6026da4fcc6e9ed1199bf151cc4d29e6bb +Author: Emmanuele Bassi +Date: Thu Jan 21 16:20:02 2016 +0000 + + Post-release version bump to 1.25.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0b7e2886f3bb3ec910b9faed57c924860fc280ae +Author: Emmanuele Bassi +Date: Thu Jan 21 16:06:08 2016 +0000 + + Release Clutter 1.25.4 + + NEWS | 23 +++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 24 insertions(+), 1 deletion(-) + +commit e1b9482600dbf5848f04271b173e332a4b7ed3cc +Author: Emmanuele Bassi +Date: Thu Jan 21 15:58:30 2016 +0000 + + docs: Add missing symbols + + doc/reference/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit 307cb5859838b80128f192222e33df13210a56cd +Author: Carlos Garnacho +Date: Fri Oct 23 17:31:47 2015 +0200 + + evdev: Add scroll source/finish flags info to scroll events. + + Libinput tells us this much, so make use of it. + + https://bugzilla.gnome.org/show_bug.cgi?id=757026 + + clutter/evdev/clutter-device-manager-evdev.c | 65 ++++++++++++++++++++++------ + 1 file changed, 51 insertions(+), 14 deletions(-) + +commit 89c1c1e5510360cc01da5bb042c531439aee7a3a +Author: Carlos Garnacho +Date: Fri Oct 23 17:27:14 2015 +0200 + + clutter-event: Add scroll source enum and axis scroll flags + + Those can be used to implement different scrolling behaviors. + The fields have been added to ClutterScrollEvent itself. According + to pahole, this makes the struct as big as ClutterButtonEvent and + ClutterTouchEvent, so already at the limit of the ClutterEvent + union. + + https://bugzilla.gnome.org/show_bug.cgi?id=757026 + + clutter/clutter-enums.h | 39 +++++++++++++++++++++++++++++++++++ + clutter/clutter-event.c | 42 ++++++++++++++++++++++++++++++++++++++ + clutter/clutter-event.h | 7 +++++++ + doc/reference/clutter-sections.txt | 2 ++ + 4 files changed, 90 insertions(+) + +commit 9eaa7a78f660faaa7741efa2d48f6171d39c789a +Author: Aurimas Černius +Date: Tue Jan 12 22:23:03 2016 +0200 + + Updated Lithuanian translation + + po/lt.po | 30 +++++++++++++++--------------- + 1 file changed, 15 insertions(+), 15 deletions(-) + +commit 29f4254aeca0db7cf82c536d19999363aa4a6320 +Author: Rafael Fontenelle +Date: Tue Jan 5 20:08:24 2016 +0000 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 515 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 258 insertions(+), 257 deletions(-) + +commit abbf6ffeedcaacca86b893302b2139ea19c5f386 +Author: Yosef Or Boczko +Date: Thu Dec 31 17:19:47 2015 +0200 + + Updated Hebrew translation + + po/he.po | 526 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 263 insertions(+), 263 deletions(-) + +commit d65f72655fdfe9b6a55932a4b37865e78dfd41d0 +Author: Mario Blättermann +Date: Mon Dec 28 20:42:59 2015 +0100 + + Updated German translation + + po/de.po | 869 ++++++++++++++++++++++++++------------------------------------- + 1 file changed, 351 insertions(+), 518 deletions(-) + +commit 1020ceff3315a7b11e45fb3059720c5044614e08 +Author: Marek Černocký +Date: Thu Dec 24 00:39:26 2015 +0100 + + Updated Czech translation + + po/cs.po | 509 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 254 insertions(+), 255 deletions(-) + +commit b683a4c698f15337ac56c96fbe408ea884cb4ebc +Author: Aurimas Černius +Date: Sun Dec 20 14:58:44 2015 +0200 + + Updated Lithuanian translation + + po/lt.po | 533 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 265 insertions(+), 268 deletions(-) + +commit 3f110d99d05dd4b6bd9aef8192a345048e5ba6b1 +Author: Daniel Mustieles +Date: Thu Dec 17 19:11:21 2015 +0100 + + Updated Spanish translation + + po/es.po | 5803 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 2903 insertions(+), 2900 deletions(-) + +commit 1f46697c4f6468acc6e90825b88999a9287c1ca4 +Author: Emmanuele Bassi +Date: Thu Dec 17 14:24:44 2015 +0000 + + Post-release version bump to 1.25.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 314ba2c6ac7164dabaa8c25c3533d666befd4973 +Author: Emmanuele Bassi +Date: Thu Dec 17 14:14:24 2015 +0000 + + Release Clutter 1.25.2 (snapshot) + + NEWS | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 58 insertions(+), 2 deletions(-) + +commit 879cc0763d28cb67221506174eff10232db2575f +Author: Emmanuele Bassi +Date: Thu Dec 17 14:06:48 2015 +0000 + + docs: Add 1.26 symbols index + + doc/reference/clutter-docs.xml.in | 5 +++++ + 1 file changed, 5 insertions(+) + +commit f4f609b28f8d11d0617e0dfe92646a5f8d242658 +Author: Emmanuele Bassi +Date: Thu Dec 17 13:55:08 2015 +0000 + + docs: Update sections file for missing macros + + doc/reference/clutter-sections.txt | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 1c9e297ae86c74bcab00674cb8ad8dd8ceb5fba1 +Author: Matej Urbančič +Date: Sun Dec 13 20:07:28 2015 +0100 + + Updated Slovenian translation + + po/sl.po | 506 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 253 insertions(+), 253 deletions(-) + +commit 86a9272bed5b15d33b825aa4ea802afd27e57cfb +Author: Pedro Albuquerque +Date: Sun Dec 13 08:22:44 2015 +0000 + + Updated Portuguese translation + + po/pt.po | 535 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 266 insertions(+), 269 deletions(-) + +commit fae541ebf1d5ecb41bd439843bcbbec3c8d63fd5 +Author: Emmanuele Bassi +Date: Fri Dec 11 16:39:32 2015 +0000 + + build: Rework the default rules for the EGL backend + + So that we can set it to 'check', and do configure-time discovery of the + dependencies, instead of enabling it explicitly. + + This should make it easier to spot build issues on environments like + Continuous, which build Clutter and Cogl for running as part of the + display server infrastructure on Wayland. + + configure.ac | 98 +++++++++++++++++++++++++++++------------------------------- + 1 file changed, 47 insertions(+), 51 deletions(-) + +commit a774ff5a09b49c83e32f436f447bb35c5615592a +Author: Emmanuele Bassi +Date: Fri Dec 11 16:23:09 2015 +0000 + + egl: Rename backend constructor function + + Otherwise the build will fail. + + clutter/egl/clutter-backend-eglnative.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7501f3b4f99260bc188cf5114168660d9124ae9d +Author: Emmanuele Bassi +Date: Fri Dec 11 15:51:30 2015 +0000 + + tests: Force X11 backend for the pixmap test + + So it's usable as long as the X11 backend support is compiled into + Clutter — and we can use this test to check that overriding works + as intended. + + tests/interactive/test-pixmap.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit e9b5eb3045d335b6ebbfc7443076754447447065 +Author: Emmanuele Bassi +Date: Fri Dec 11 15:41:35 2015 +0000 + + Allow setting the default backend from the configuration file + + We should allow a configuration file to set up the initial state of the + global state, which also implies being able to set the backend. + + If the allowed backends have already been set programmatically via the + clutter_set_windowing_backend(), though, then the application code takes + precedence, as we assume that the application author knows better than + us what their code supports or requires. + + clutter/clutter-backend-private.h | 2 ++ + clutter/clutter-backend.c | 7 +++++++ + clutter/clutter-main.c | 11 +++++++++++ + 3 files changed, 20 insertions(+) + +commit cc31ed77bda37d2739fdc3137cb15eda51605c7b +Author: Emmanuele Bassi +Date: Fri Dec 11 15:39:54 2015 +0000 + + Read the config file when creating the global shared state + + The configuration file should set up the global state before we + initialize it; instead of relying on implicit ordering, explicitly read + the configuration file once, when creating the global shared context + data structure. + + clutter/clutter-main.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 6d0d1deda2c75535f162253ae8b6787a2c885f71 +Author: Emmanuele Bassi +Date: Fri Dec 11 15:39:04 2015 +0000 + + backend: Ensure that Cogl drivers are set prior to initialization + + It doesn't make sense for the allowed drivers to be changed after + Clutter has been initialized. + + clutter/clutter-backend.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 10b74e7005acc39d2b7e123ce3b81fb9b02b5afa +Author: Emmanuele Bassi +Date: Fri Dec 11 14:25:21 2015 +0000 + + backend: Allow setting a list of windowing backends + + Like CLUTTER_DRIVER, we want to allow users to specify a list of + backends to test, and fall back to the internally defined priority as a + default. + + This requires changing the way the allowed backend string is parsed, + both for the CLUTTER_BACKEND environment variable and for the + clutter_set_windowing_backend() function. Existing callers are still + supported with the exact same semantics. + + clutter/clutter-backend.c | 136 +++++++++++++++++++++++++++++++--------------- + 1 file changed, 93 insertions(+), 43 deletions(-) + +commit 7ca28e09746f3f1a6b240a8c1a416dd4ad6c8ff6 +Author: Emmanuele Bassi +Date: Fri Dec 11 14:23:38 2015 +0000 + + Add internal constructor function for each backend + + We're going to use it to create an instance of each backend without + using the get_type() function. + + clutter/egl/clutter-backend-eglnative.c | 8 ++++++-- + clutter/egl/clutter-backend-eglnative.h | 6 ++++-- + clutter/gdk/clutter-backend-gdk.c | 7 ++++++- + clutter/gdk/clutter-backend-gdk.h | 6 ++++-- + clutter/mir/clutter-backend-mir.c | 8 ++++++-- + clutter/mir/clutter-backend-mir.h | 9 +++++---- + clutter/osx/clutter-backend-osx.c | 6 ++++++ + clutter/osx/clutter-backend-osx.h | 2 ++ + clutter/wayland/clutter-backend-wayland.c | 8 ++++++-- + clutter/wayland/clutter-backend-wayland.h | 6 ++++-- + clutter/win32/clutter-backend-win32.c | 6 ++++++ + clutter/win32/clutter-backend-win32.h | 2 ++ + clutter/x11/clutter-backend-x11.c | 8 ++++++-- + clutter/x11/clutter-backend-x11.h | 6 ++++-- + 14 files changed, 67 insertions(+), 21 deletions(-) + +commit 407d7ca436842b5461828066d8aecf86ff826f12 +Author: Emmanuele Bassi +Date: Thu Dec 10 16:52:45 2015 +0000 + + Allow overriding the list of Cogl drivers via configuration file + + Clutter has a configuration file that can be used to override + various settings, including the ones from environment variables. + + clutter/clutter-backend-private.h | 1 + + clutter/clutter-backend.c | 8 +++++++- + clutter/clutter-main.c | 11 +++++++++++ + 3 files changed, 19 insertions(+), 1 deletion(-) + +commit bb23335b5fd29fb1d63e99b8f9eb32c5f11b4405 +Author: Emmanuele Bassi +Date: Wed Dec 9 14:26:28 2015 +0000 + + Add a configuration option for deciding the Cogl drivers to use + + Using environment variables only is not convenient for all platforms, + and in some cases it's beneficial to decide the default driver when + building Clutter. Cogl already has a similar configuration switch, and + since Clutter is overriding the default Cogl behaviour, it should offer + the same mechanism. + + https://bugzilla.gnome.org/show_bug.cgi?id=742678 + + clutter/clutter-backend.c | 2 +- + configure.ac | 9 +++++++++ + 2 files changed, 10 insertions(+), 1 deletion(-) + +commit 2c524fbf73cf5348cc1b03cced4a6b1c4c2f0224 +Author: Emmanuele Bassi +Date: Wed Dec 9 12:45:12 2015 +0000 + + backend: Allow overriding the Cogl drivers chain + + We have an hardcoded list of drivers we have to go through when creating + a Cogl context. Some platforms may expose those drivers, but not be the + preferred ones. + + In order to allow users and system integrators to override the list of + drivers, we should crib the same approach used by GDK, and have an + environment variable with a list of drivers to try. + + The new environment variable is called `CLUTTER_DRIVER` and accepts a + comma-separated list of driver names, which will be tested in sequence + until one succeeds. There's also an additional '*' token which is used + to ask Clutter to fall back to the internally defined preferred list of + drivers. + + https://bugzilla.gnome.org/show_bug.cgi?id=742678 + + clutter/clutter-backend.c | 79 +++++++++++++++++++++++++++------------ + doc/reference/running-clutter.xml | 17 +++++++++ + 2 files changed, 73 insertions(+), 23 deletions(-) + +commit b47e1616eb1201eae35955aa62aebc352927c67b +Author: Emmanuele Bassi +Date: Wed Dec 9 12:44:20 2015 +0000 + + Fix annotation for bind_model() + + The (optional) annotation should only be used for (out) arguments; in + arguments that can be NULL should use the (nullable) annotation. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a166cc9f35463f6ed79425de237df5e994eebaef +Author: Emmanuele Bassi +Date: Wed Dec 9 12:42:55 2015 +0000 + + Fix definition of ClutterEventExtender + + The interface vtable structure is missing the GTypeInterface parent, and + GObject is complaining about it, as it should. + + clutter/clutter-device-manager-private.h | 2 ++ + 1 file changed, 2 insertions(+) + +commit 7fe12eca54c15e9f2de0f87e7310afeb52ac8304 +Author: Emmanuele Bassi +Date: Tue Dec 8 17:20:13 2015 +0000 + + build: Use the 'x11' pkg-config module to check for X11 + + Don't look at GLX headers or symbols; we don't use them anyway. + + https://bugzilla.gnome.org/show_bug.cgi?id=759191 + + configure.ac | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit dd305950848891b5b91673033af134d3e1728cc3 +Author: Emmanuele Bassi +Date: Tue Dec 8 14:24:36 2015 +0000 + + gdk: Check for both GDK and Cogl winsys support + + When using GDK and Cogl API, we need to check that both GDK and Cogl + have been built with support for that API, otherwise the build will + likely fail. + + clutter/gdk/clutter-stage-gdk.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 968022b83fa60c542ba35ede2490e750bd883cb2 +Author: Lionel Landwerlin +Date: Sat Dec 5 23:15:32 2015 +0000 + + test: interactive: port cairo clock to ClutterCanvas + + https://bugzilla.gnome.org/show_bug.cgi?id=759074 + + tests/interactive/test-cairo-clock.c | 32 ++++++++++++++++---------------- + 1 file changed, 16 insertions(+), 16 deletions(-) + +commit 25e157ea42eff3bade9d08d7d45309a5a86f7942 +Author: Lionel Landwerlin +Date: Sat Dec 5 23:15:17 2015 +0000 + + test: interactive: port cairo flowers to ClutterCanvas + + https://bugzilla.gnome.org/show_bug.cgi?id=759074 + + tests/interactive/test-cairo-flowers.c | 41 +++++++++++++++++++++++++--------- + 1 file changed, 30 insertions(+), 11 deletions(-) + +commit 9c26a98a6f16e6a339bd10cf0133930fed1e5d02 +Author: Jonas Ådahl +Date: Wed Dec 2 16:19:09 2015 +0800 + + evdev: Drop redundant stage set check + + Every path creating a input device in the evdev backend sets a stage, + so the check is unnecessary. + + https://bugzilla.gnome.org/show_bug.cgi?id=752752 + + clutter/evdev/clutter-device-manager-evdev.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit 1d53b773fdd645f19ddfc66d74818f5f636dacc4 +Author: Emmanuele Bassi +Date: Mon Nov 30 13:47:57 2015 +0000 + + text: Enforce boolean value + + We store the cursor-visible value in a bit field, which means that we + need to enforce the argument for the setter to either 0 or 1 in order to + fit. + + clutter/clutter-text.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit c8ef4349fed719040b8e92449eaa0aad75103401 +Author: Emmanuele Bassi +Date: Mon Nov 30 13:47:15 2015 +0000 + + docs: Improve documentation for ClutterText + + Ensure that the rule for :cursor-visible are documented. + + clutter/clutter-text.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit 388fe9b542946adcb97b4f1e83065f77b1248f97 +Author: Emmanuele Bassi +Date: Mon Nov 30 13:45:45 2015 +0000 + + text: Unify conditions for visible cursor + + We have a bunch of similar checks in various places, and they should all + be coalesced into one. + + clutter/clutter-text.c | 18 ++++++------------ + 1 file changed, 6 insertions(+), 12 deletions(-) + +commit 3b6ed43edd46b46e115d9d3fdc98d0d9e92857f6 +Author: Emmanuele Bassi +Date: Mon Nov 30 13:15:52 2015 +0000 + + build: Add --disable-Werror + + We enable a bunch of compiler flags to trip common errors during + development. While this is very useful while hacking on Clutter, it + makes the life of people building Clutter on automated build systems + much harder; thus, we should have a configuration option to opt out of + the -Werror business. + + GNOME has pretty much standardised on `--disable-Werror`, so we should + crib that configure option. + + configure.ac | 33 +++++++++++++++++++++------------ + 1 file changed, 21 insertions(+), 12 deletions(-) + +commit 2646658bf2a1e96ee2b83d6bdeb8be164075631b +Author: Emmanuele Bassi +Date: Mon Nov 2 11:55:42 2015 +0000 + + Add tags to the Git ignore file + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 78eb07d6576b0ef6c9d7e91d34414772d71d7455 +Author: Emmanuele Bassi +Date: Mon Nov 2 12:34:39 2015 +0000 + + text: Allow selectability without editability + + Being able to select text and being able to edit text are two separate + capabilities, but ClutterText only allows the former with the latter. + + The ClutterText:selectable property is set to TRUE by default, given + that it depends on the :editable property; this implies that all + ClutterText instances now are going to show a cursor as soon as they get + key focused. Obviously, this would make labels look a bit off — but if + you have a label then you would not give it key focus, either by + explicitly calling clutter_actor_grab_focus(), or by setting it as + reactive and allowing it to be clicked. + + If this turns out to be a problem, we have various ways to avoid showing + a cursor — for instance, we could change the default value of the + selectable property, and ensure that setting the :editable property to + TRUE would also set the :selectable property as a side effect. Or we + could hide the cursor until the first button/touch press event. Finally, + we could always back this commit out if it proves to be too much of a + breakage for existing code bases. + + https://bugzilla.gnome.org/show_bug.cgi?id=757470 + + clutter/clutter-text.c | 145 +++++++++++++++++++++++++------------------------ + 1 file changed, 75 insertions(+), 70 deletions(-) + +commit 8c863573fcd8bf40c5cf0f2cb29673636ad90d56 +Author: Lionel Landwerlin +Date: Sun Nov 22 17:22:41 2015 +0000 + + gdk: take into account scaling on wayland + + The X11 part of the GDK backend takes into account the scaling factor of its + window when resizing the underlying X11 objects. We need to do the same for + Wayland. + + https://bugzilla.gnome.org/show_bug.cgi?id=755245 + + clutter/gdk/clutter-stage-gdk.c | 50 ++++++++++++++++++++++++----------------- + 1 file changed, 30 insertions(+), 20 deletions(-) + +commit a9b0715df1bc455567981b98a281b750efe64f29 +Author: Carlos Garnacho +Date: Tue Nov 17 19:44:38 2015 +0100 + + gdk: Implement ClutterEventExtender + + This lifts the responsibility off its ClutterBackend. + + https://bugzilla.gnome.org/show_bug.cgi?id=758238 + + clutter/gdk/clutter-backend-gdk.c | 25 --------------------- + clutter/gdk/clutter-device-manager-gdk.c | 37 +++++++++++++++++++++++++++++++- + 2 files changed, 36 insertions(+), 26 deletions(-) + +commit 9215852c32f09cb8effc9ea387fd5383df93607d +Author: Carlos Garnacho +Date: Tue Nov 17 19:38:32 2015 +0100 + + x11: Implement ClutterEventExtender + + This lifts the responsibility off its ClutterBackend. + + https://bugzilla.gnome.org/show_bug.cgi?id=758238 + + clutter/x11/clutter-backend-x11.c | 25 ----------------------- + clutter/x11/clutter-device-manager-xi2.c | 35 +++++++++++++++++++++++++++++++- + 2 files changed, 34 insertions(+), 26 deletions(-) + +commit 8aeea7fb7351ff6c9e6edf42b529803ac1699a90 +Author: Carlos Garnacho +Date: Tue Nov 17 17:44:19 2015 +0100 + + evdev: Set event code on button/key events + + This will allow users to know the event code without strange calculations + on event->key.hardware_keycode or event->button.button. + + https://bugzilla.gnome.org/show_bug.cgi?id=758238 + + clutter/evdev/clutter-device-manager-evdev.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit f1ad702309486ff4bd32b7f0456a132893f2c17a +Author: Carlos Garnacho +Date: Tue Nov 17 17:42:44 2015 +0100 + + evdev: Allow to retrieve the input.h event code from ClutterEvents + + This is now stored as platform data in the ClutterEvent, so can + be retrieved with the clutter_evdev_event_get_event_code() call + that's been added to the evdev backend. + + https://bugzilla.gnome.org/show_bug.cgi?id=758238 + + clutter/Makefile.am | 1 + + clutter/evdev/clutter-device-manager-evdev.c | 10 +++ + clutter/evdev/clutter-evdev.h | 3 + + clutter/evdev/clutter-event-evdev.c | 101 +++++++++++++++++++++++++++ + clutter/evdev/clutter-input-device-evdev.h | 8 +++ + 5 files changed, 123 insertions(+) + +commit dfc749e576584c9ea6ad0aac739683e8ac64ea84 +Author: Carlos Garnacho +Date: Tue Nov 17 17:40:30 2015 +0100 + + evdev: Implement the ClutterEventExtender interface + + This will allow the ClutterDeviceManagerEvdev to define evdev-specific + event data. + + https://bugzilla.gnome.org/show_bug.cgi?id=758238 + + clutter/evdev/clutter-device-manager-evdev.c | 31 +++++++++++++++++++++++++--- + 1 file changed, 28 insertions(+), 3 deletions(-) + +commit 4115f215aca5b4b9fe7dd6b32e66f81d12c1176f +Author: Carlos Garnacho +Date: Tue Nov 17 17:37:45 2015 +0100 + + backend: Bridge platform-dependent event data creation to device managers + + Device managers can now implement the ClutterEventExtender interface + that allows them to set their own data to events, make the backend call + those implementations if the device manager implements the interface. + + https://bugzilla.gnome.org/show_bug.cgi?id=758238 + + clutter/clutter-backend.c | 20 ++++++++++++++++++-- + 1 file changed, 18 insertions(+), 2 deletions(-) + +commit 5ea70bd102b25ca4c85ce06921d17b0eff15e673 +Author: Carlos Garnacho +Date: Tue Nov 17 17:35:55 2015 +0100 + + device-manager: Add private interface to manipulate platform event data + + This normally belonged to the ClutterBackend, however there's device + managers (eg. evdev) that are somewhat detached from the backend, so + need to bridge this somehow. + + This allows device managers to implement these bits that were usually + responsibility of the ClutterBackend. + + https://bugzilla.gnome.org/show_bug.cgi?id=758238 + + clutter/clutter-device-manager-private.h | 20 ++++++++++++++++++++ + clutter/clutter-device-manager.c | 9 +++++++++ + 2 files changed, 29 insertions(+) + +commit 89a794ec46844aa3c3c3bbdee26b2b07b1219e4d +Author: Emmanuele Bassi +Date: Wed Nov 18 11:52:53 2015 +0000 + + Add version macros for Clutter 1.26 + + clutter/clutter-macros.h | 18 ++++++++++++++++++ + clutter/clutter-version.h.in | 10 ++++++++++ + 2 files changed, 28 insertions(+) + +commit 8a63ea031d394ec0e983bfbd9f12ae0fe5e53a97 +Author: Emmanuele Bassi +Date: Mon Nov 2 12:42:01 2015 +0000 + + Bump up version to 1.25.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 83b738c0e7060b4526fdbd306fcc255f71c064fa +Author: Carlos Garnacho +Date: Mon Nov 16 15:26:56 2015 +0100 + + evdev: Move additional pointer buttons after the old 4-7 scrolling ones + + On X11 those were skipped, so additional pointer buttons would come up + as button >= 8 events. Do here the same, so we remain compatible across + backends. + + https://bugzilla.gnome.org/show_bug.cgi?id=758237 + + clutter/evdev/clutter-device-manager-evdev.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 5a022e8e14eca2e7a3675a2270d8fbbee4e08452 +Author: Jeff Bai +Date: Sat Nov 14 15:06:45 2015 +0800 + + update zh_CN translation + + po/zh_CN.po | 1185 ++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 600 insertions(+), 585 deletions(-) + +commit a2ff8b471fe1a05c2a48bdbe64d0f2ead548f7fb +Author: YunQiang Su +Date: Wed Nov 4 16:52:21 2015 +0800 + + update zh_CN translation + + po/zh_CN.po | 61 ++++++++++++++++++++++++------------------------------------- + 1 file changed, 24 insertions(+), 37 deletions(-) + +commit a9f16c3d1f3152eab1987cb84562872685a08bac +Author: Carlos Garnacho +Date: Fri Oct 23 16:56:00 2015 +0200 + + evdev: Mark either of smooth/discrete scroll events as emulating + + We're always emulating one of those, depending on the scrolling + device/source, so mark these as such. + + clutter/evdev/clutter-device-manager-evdev.c | 23 ++++++++++++++++------- + 1 file changed, 16 insertions(+), 7 deletions(-) + +commit 9753c9938239bdb2b102c56b496a76687f6d873a +Author: Carlos Garnacho +Date: Fri Oct 16 19:07:19 2015 +0200 + + click-action: Ignore motions/updates from different devices/sequences + + Otherwise events from other devices or touch sequences might unintendedly + trigger the thresholds, and a "cancelled" ::long-press with it. + + https://bugzilla.gnome.org/show_bug.cgi?id=756749 + + clutter/clutter-click-action.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 9ea14ff949970ec1fb1464b053c132855768460f +Author: Inaki Larranaga Murgoitio +Date: Wed Oct 14 10:36:36 2015 +0200 + + Updated Basque language + + po/eu.po | 876 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 438 insertions(+), 438 deletions(-) + +commit 410d59f5a166259c7a238a8c8e60eeb234029f94 +Author: Emmanuele Bassi +Date: Mon Oct 12 22:45:27 2015 +0100 + + Post-release version bump to 1.24.3 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 55dc86c0c0f875ee2d2b94facc5ef01878a69bd0 +Author: Emmanuele Bassi +Date: Mon Oct 12 19:52:05 2015 +0100 + + Release Clutter 1.24.2 + + NEWS | 26 ++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 28 insertions(+), 2 deletions(-) + +commit b6425bbb15ceaebf39282fb1ad18f4a1f6799780 +Author: Emmanuele Bassi +Date: Mon Oct 12 19:41:57 2015 +0100 + + Use explicit NULL comparison for pointers + + Following the coding style. + + clutter/evdev/clutter-device-manager-evdev.c | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +commit 1fe21a8fe174a4c98e8c694cff5bfc80ddb9efde +Author: Carlos Garnacho +Date: Fri Oct 9 20:43:25 2015 +0200 + + evdev: Emulate discrete scroll events out of smooth scroll ones. + + There's handlers around relying on up/down/left/right scroll events, + which won't work as expected if only smooth scroll events are sent. + In order to work properly there, we have to retrofit discrete scroll + events on the evdev backend. + + Fix this by implementing emission (on devices with a wheel) and + emulation (on anything else) of discrete scroll events. On the former + both smooth and discrete events are set, for the latter we do accumulate + the dx/dy of the latest scroll events, and emit discrete ones when we + accumulated enough. The ending 0/0 event will reset the accumulators for + the next scrolling batch. + + https://bugzilla.gnome.org/show_bug.cgi?id=756284 + + clutter/evdev/clutter-device-manager-evdev.c | 130 +++++++++++++++++++++++++-- + 1 file changed, 122 insertions(+), 8 deletions(-) + +commit b2f8a0595c9cd4bd6c186c5c2c7573ecc3fd31be +Author: Pedro Albuquerque +Date: Wed Oct 7 07:06:00 2015 +0000 + + Updated Portuguese translation + + po/pt.po | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit a19413d9a636e062d60473b02972dc2b65c0752f +Author: Jiri Grönroos +Date: Tue Oct 6 16:00:50 2015 +0000 + + Updated Finnish translation + + po/fi.po | 2089 ++++++++++++++++++++++++++++++++++++++------------------------ + 1 file changed, 1291 insertions(+), 798 deletions(-) + +commit 2ddec579d6f34395e8fd20a0efdbe8983b35148c +Author: Owen W. Taylor +Date: Tue Sep 29 15:33:29 2015 -0400 + + clutter_actor_update_map_state: Remove a useless warning + + A check for priv->parent == NULL was inside the else of a check + for (priv->parent == NULL). + + https://bugzilla.gnome.org/show_bug.cgi?id=745517 + + clutter/clutter-actor.c | 4 ---- + 1 file changed, 4 deletions(-) + +commit 4c9443bbd7171447fa9315fa13dc7cbf383c7081 +Author: Owen W. Taylor +Date: Tue Sep 29 15:17:24 2015 -0400 + + _clutter_actor_set_enable_paint_unmapped: don't force an unmap + + When enable_paint_unmapped is disabled, we shouldn't force the + source widget to be unmapped if the constraints would keep it + mapped; in practice this shouldn't matter unless a paint handler + is messing with the map state. + + https://bugzilla.gnome.org/show_bug.cgi?id=745517 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 76c8cd292ed269bd75e7482d96fd4209076d2266 +Author: Owen W. Taylor +Date: Tue Sep 29 14:15:16 2015 -0400 + + Avoid crashing when an actor not parented to a toplevel is cloned + + If we can't realize the source actor for a clone, simply skip updating + the map state and painting it. + + https://bugzilla.gnome.org/show_bug.cgi?id=745517 + + clutter/clutter-actor.c | 6 +++++- + clutter/clutter-clone.c | 12 +++++++++--- + 2 files changed, 14 insertions(+), 4 deletions(-) + +commit 86a65ddffc511418e1aff48c4b8b9b7f7caa75f3 +Author: Piotr Drąg +Date: Sat Sep 26 14:55:36 2015 +0200 + + Fix Kannada translation of default:LTR + + po/kn.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6840b3a4c7d8be19f13046db25c8ddc29f7424f8 +Author: Piotr Drąg +Date: Sat Sep 26 14:53:56 2015 +0200 + + Fix Hindi translation of default:LTR + + po/hi.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 41a479264d6e8604a0cf99bf37e9548fc98b82c2 +Author: Piotr Drąg +Date: Sat Sep 26 14:44:43 2015 +0200 + + Fix Ukrainian translation of default:LTR + + po/uk.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b9df8524f0c0835ef82737bb65282bc1214a1d94 +Author: Lionel Landwerlin +Date: Tue Sep 22 17:27:42 2015 +0100 + + gdk: Enable clock updates when timelines are added to the clock + + Enable animation updates from the GdkFrameClock whenever any timeline is + added to the ClutterMasterClockGdk. This may improve animation + smoothness (depending on the GDK backend in use) because it allows GDK + to tweak its frame timing for animation purposes. + + https://bugzilla.gnome.org/show_bug.cgi?id=755357 + + clutter/gdk/clutter-master-clock-gdk.c | 53 ++++++++++++++++++++++++++++++++-- + 1 file changed, 51 insertions(+), 2 deletions(-) + +commit 9ef5fd104aa627544faa315c0114b24f2bcd35af +Author: Милош Поповић +Date: Tue Sep 22 12:36:27 2015 +0000 + + Updated Serbian Latin translation + + po/sr@latin.po | 888 +++++++++++++++++++++++++++++---------------------------- + 1 file changed, 448 insertions(+), 440 deletions(-) + +commit f2a56cec014f30558a0eed8fa5a8e3e1201f6fe9 +Author: Милош Поповић +Date: Tue Sep 22 12:35:47 2015 +0000 + + Updated Serbian translation + + po/sr.po | 888 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 448 insertions(+), 440 deletions(-) + +commit 6c26f791c257e56479a8ada9b68159425659e1f5 +Author: Emmanuele Bassi +Date: Tue Sep 22 00:58:13 2015 +0100 + + docs: Fix up the main reference XML + + We need an updated Docbook schema, and a couple of other attributes, so + that gtk-doc will generate a valid devhelp file. + + doc/reference/clutter-docs.xml.in | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 3816d5a6bb5257d5f65dbbb40029a353e0523f67 +Author: Philip Withnall +Date: Thu Sep 17 16:32:33 2015 +0100 + + gdk: Fix frame budget diagnostics + + Set the frame budget so that CLUTTER_ENABLE_DIAGNOSTIC correctly outputs + timing diagnostics from the ClutterMasterClockGdk. + + https://bugzilla.gnome.org/show_bug.cgi?id=755357 + + clutter/gdk/clutter-master-clock-gdk.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 9e8da646368394f3004e72c4bc4409ad1c473c92 +Author: Philip Withnall +Date: Thu Sep 17 16:31:11 2015 +0100 + + gdk: Use frame time when calculating the tick time for clock updates + + This is how GdkFrameClock is meant to be used: the frame time is meant + to be queried from the GdkFrameClock within its frame signals, rather + from the system monotonic time source. + + https://bugzilla.gnome.org/show_bug.cgi?id=755357 + + clutter/gdk/clutter-master-clock-gdk.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5545b69a8f064d020f4b9c3532147c80f433ab63 +Author: Philip Withnall +Date: Thu Sep 17 16:27:14 2015 +0100 + + timeline: Add more debug output + + https://bugzilla.gnome.org/show_bug.cgi?id=755357 + + clutter/clutter-timeline.c | 24 ++++++++++++++++++++++-- + 1 file changed, 22 insertions(+), 2 deletions(-) + +commit ae1a84853e4978092afec07aaead3e3a94f738f8 +Author: Philip Withnall +Date: Thu Sep 17 16:26:23 2015 +0100 + + timeline: Ensure waiting_first_tick is set before adding the timeline + + Just in case the timeline starts being prodded by the ClutterMasterClock + before the add function returns. (This has not been verified.) + + https://bugzilla.gnome.org/show_bug.cgi?id=755357 + + clutter/clutter-timeline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8e52f8c61ef2192eaf7f2208a922d3530df47d9b +Author: Rafael Fontenelle +Date: Sun Sep 20 14:05:56 2015 +0000 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 865 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 433 insertions(+), 432 deletions(-) + +commit f5f2b2ee7a459abb481153346eb4ab86967f1b60 +Author: Anders Jonsson +Date: Sun Sep 20 12:49:21 2015 +0000 + + Updated Swedish translation + + po/sv.po | 1113 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 549 insertions(+), 564 deletions(-) + +commit 5cf6c80c9b19f05c5c791e4f19f2e8677ce641cc +Author: Ask Hjorth Larsen +Date: Sat Sep 19 16:24:08 2015 +0000 + + Updated Danish translation + + po/da.po | 481 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 244 insertions(+), 237 deletions(-) + +commit 53372f69fd1c3918b7ff32d8069350dce15621d9 +Author: Rūdolfs Mazurs +Date: Fri Sep 18 22:23:06 2015 +0300 + + Updated Latvian translation + + po/lv.po | 509 ++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 246 insertions(+), 263 deletions(-) + +commit 2e554db8cf18e0ac523f534b67f886bfb7326532 +Author: Stas Solovey +Date: Thu Sep 17 11:26:45 2015 +0000 + + Updated Russian translation + + po/ru.po | 879 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 442 insertions(+), 437 deletions(-) + +commit 5fecf2b293bbdf01d28c8936ebc95336495a11a9 +Author: Emmanuele Bassi +Date: Tue Sep 15 13:12:09 2015 +0100 + + Post-release version bump to 1.24.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.pre-1.0 b/ChangeLog.pre-1.0 new file mode 100644 index 0000000..6cef10a --- /dev/null +++ b/ChangeLog.pre-1.0 @@ -0,0 +1,20518 @@ +commit f245f3049d8bb09c5177b4e1c19ab8f5552549b4 +Author: Emmanuele Bassi +Date: Tue Jul 28 13:23:26 2009 +0100 + + [release] 1.0.0 + + configure.ac | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +commit 93ecd6d0c43bbdf5bba61134394c76da192d97f5 +Author: Emmanuele Bassi +Date: Tue Jul 28 12:20:07 2009 +0100 + + Update the NEWS + + NEWS | 26 ++++++++++++++++++++++++++ + 1 file changed, 26 insertions(+) + +commit 77fdd7494e9ccaced094ce825022518dd50d1eaa +Author: Emmanuele Bassi +Date: Tue Jul 28 13:57:07 2009 +0100 + + Fix compiler warnings when COGL debug level=minimum + + clutter/cogl/common/cogl-debug.c | 2 +- + clutter/pango/cogl-pango-render.c | 4 +++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +commit 85b69237a9e0d2eb42634d9f837bc6544379f258 +Author: Emmanuele Bassi +Date: Tue Jul 28 12:19:44 2009 +0100 + + [docs] Point the TODO to Bugzilla + + TODO | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit c6830791673d31b74dfb87d6bda472de040dc3f8 +Author: Emmanuele Bassi +Date: Tue Jul 28 12:19:26 2009 +0100 + + [docs] Update requirements and release notes + + README | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++--------------- + 1 file changed, 62 insertions(+), 18 deletions(-) + +commit a5d6b233086faa03512975763b286c7ea44b7fec +Author: Emmanuele Bassi +Date: Tue Jul 28 13:43:52 2009 +0100 + + [units] Add binding-friendly initializers + + We should follow the convention for boxed types initializers of: + + _from_ (boxed, value) + + For ClutterUnits as well; so: + + clutter_units_pixels -> clutter_units_from_pixels + clutter_units_em -> clutter_units_from_em + ... + + We should still keep the short-hand version as a macro, though. + + clutter/clutter-units.c | 36 +++++++++---------- + clutter/clutter-units.h | 55 +++++++++++++++++------------- + doc/reference/clutter/clutter-sections.txt | 15 +++++--- + tests/conform/test-clutter-units.c | 8 ++--- + 4 files changed, 63 insertions(+), 51 deletions(-) + +commit 57baa2f0bcd37269f029351736681396739263bd +Author: Emmanuele Bassi +Date: Tue Jul 28 13:20:32 2009 +0100 + + [animation] Fix variable use + + Instead of using the proper typed variables we were overwriting + the gpointer for the Interval's final value. + + clutter/clutter-animation.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f4ad3761c48f0cd04c04e4de334c5492eae010cc +Author: Neil Roberts +Date: Tue Jul 28 12:03:55 2009 +0100 + + [win32] Remove the call to clutter_redraw in clutter_stage_win32_show + + Since commit 7b811f8b this is done in clutter_stage_show so there is + no need for it in the backends. + + clutter/win32/clutter-stage-win32.c | 10 +--------- + 1 file changed, 1 insertion(+), 9 deletions(-) + +commit df586eb507adeed9b83e53c667e706cd1807601a +Author: Neil Roberts +Date: Tue Jul 28 12:00:49 2009 +0100 + + [win32] Move the show/hide to be implementations of the interface + + This makes clutter_stage_win32_show/hide be implementations of + ClutterStageWindowIface rather than overriding the methods in + ClutterActor. This reflects the changes in e4ff24bc for the X11 + backend. + + clutter/win32/clutter-stage-win32.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c0cf6146343e852d3ebbca79e701d53bcddaa2d5 +Author: Neil Roberts +Date: Tue Jul 28 11:58:34 2009 +0100 + + [build/mingw] Update Cairo version to 1.8.6 in mingw-cross-compile.sh + + The Pango 1.22 binaries require Cairo 1.8.0 to get + cairo_show_text_glyphs. + + build/mingw/mingw-cross-compile.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a1cef026c5eff04f1233d2e9b096987716987cb9 +Author: Ole André Vadla Ravnås +Date: Tue Jul 7 20:02:25 2009 +0200 + + Avoid near/far identifier names. + + Leads to conflict with system headers on Windows, where macros named + "near" and "far" are defined. + + clutter/cogl/common/cogl-matrix.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 05883af1f6362b3ad5a762e70412f20aaf608bf9 +Author: Ole André Vadla Ravnås +Date: Wed Jul 1 16:29:12 2009 +0200 + + Remove unused variable to fix compiler warning. + + clutter/json/json-object.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 01578512706fb4bd46d99574a8282cd4d25f7bad +Author: Ole André Vadla Ravnås +Date: Wed Jul 1 16:27:11 2009 +0200 + + Call glClientActiveTexture() through COGL context. + + Fixes build issues on systems with OpenGL header older than 1.3. + + clutter/cogl/common/cogl.c | 4 ++++ + clutter/cogl/gl/cogl-primitives.c | 2 ++ + 2 files changed, 6 insertions(+) + +commit f61f66c6fe18ad4e8c07379c19cdd3e1bff216b6 +Author: Ole André Vadla Ravnås +Date: Tue Jun 16 22:29:21 2009 +0200 + + Avoid C99 to fix compilation with compilers like MSVC. + + clutter/cogl/common/cogl-blend-string.c | 20 ++++++++++---------- + clutter/cogl/common/cogl-primitives.c | 8 ++++++-- + clutter/cogl/common/cogl.c | 4 +++- + 3 files changed, 19 insertions(+), 13 deletions(-) + +commit ab5a10768c225230aad25299d129269c88df1e54 +Author: Ole André Vadla Ravnås +Date: Mon May 18 17:30:36 2009 +0200 + + Initialize pixel data before glReadPixels(). + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9cf8410b0fba4d7cb508968830ee095d92cf5d74 +Author: Haakon Sporsheim +Date: Tue Mar 31 14:45:45 2009 +0200 + + Reposition variable declarations to avoid C99. + + tests/interactive/test-cogl-vertex-buffer.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 94a571ea76ee20b93a8db04e980d08bf283ed34b +Author: Haakon Sporsheim +Date: Tue Mar 31 14:44:46 2009 +0200 + + Add MSVC preprocessor guards in test-clutter-cairo-flowers.c + + tests/interactive/test-clutter-cairo-flowers.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit fa4a37072ed3113862802b1a97be6dfb74abcdd2 +Author: Haakon Sporsheim +Date: Tue Mar 31 14:43:12 2009 +0200 + + Add white_color a variable on the stack. + + tests/interactive/test-scale.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit fe416fb745fe4293e889d5179707051c959af921 +Author: Haakon Sporsheim +Date: Tue Mar 31 14:41:44 2009 +0200 + + Add int dummy; to empty struct TestConformSimpleFixture definition. + + tests/conform/test-conform-common.h | 1 + + 1 file changed, 1 insertion(+) + +commit f852ade82379c6241683df741448be6146bb76ce +Author: Haakon Sporsheim +Date: Tue Mar 31 14:39:46 2009 +0200 + + Remove config.h inclusion. + + tests/interactive/test-fbo.c | 1 - + tests/interactive/test-shader.c | 1 - + 2 files changed, 2 deletions(-) + +commit e4eed92177e6720b9713227ca4b1ecd0f5ce8c0b +Author: Haakon Sporsheim +Date: Tue Mar 31 14:37:07 2009 +0200 + + Reposition variable declarations to avoid C99. + + clutter/cogl/common/cogl-material.c | 3 ++- + clutter/cogl/common/cogl-matrix.c | 6 ++++-- + 2 files changed, 6 insertions(+), 3 deletions(-) + +commit dbc9c16259e55e3715dcd2c0286c13597a45d71d +Author: Neil Roberts +Date: Tue Jul 28 10:39:18 2009 +0100 + + Remove the MSVC build files + + These are hopelessly out of date so they just cause more trouble than + they're worth. + + Anyone interested in building with MSVC would be better off starting + from the build files available as part of the OAH project which is + located here: + + https://launchpad.net/oah + + build/msvc_2k5/README | 62 --- + build/msvc_2k5/clutter-version.h | 27 -- + build/msvc_2k5/clutter.sln | 131 ------ + build/msvc_2k5/clutter.vcproj | 772 --------------------------------- + build/msvc_2k5/test-actors.vcproj | 201 --------- + build/msvc_2k5/test-behave.vcproj | 201 --------- + build/msvc_2k5/test-boxes.vcproj | 177 -------- + build/msvc_2k5/test-depth.vcproj | 201 --------- + build/msvc_2k5/test-entry.vcproj | 177 -------- + build/msvc_2k5/test-events.vcproj | 177 -------- + build/msvc_2k5/test-offscreen.vcproj | 177 -------- + build/msvc_2k5/test-perspective.vcproj | 177 -------- + build/msvc_2k5/test-project.vcproj | 177 -------- + build/msvc_2k5/test-rotate.vcproj | 201 --------- + build/msvc_2k5/test-scale.vcproj | 177 -------- + build/msvc_2k5/test-score.vcproj | 177 -------- + build/msvc_2k5/test-script.vcproj | 201 --------- + build/msvc_2k5/test-text.vcproj | 183 -------- + build/msvc_2k5/test-textures.vcproj | 177 -------- + build/msvc_2k5/test-threads.vcproj | 177 -------- + build/msvc_2k5/test-timeline.vcproj | 177 -------- + build/msvc_2k5/version.rc | 48 -- + 22 files changed, 4175 deletions(-) + +commit fa3728126fe39e7a885184a2b69a93ac2ea34aa8 +Author: Emmanuele Bassi +Date: Tue Jul 28 11:25:11 2009 +0100 + + [animation] Force the final state inside ::completed + + In case we are skipping too many frames, we should force the animation + instance to apply the final state of the animated interval inside the + ::completed signal handler. + + clutter/clutter-animation.c | 18 +++++++++++++++++- + 1 file changed, 17 insertions(+), 1 deletion(-) + +commit a8eb5bd461369979d75d40a1a6d17aa43141643e +Author: Emmanuele Bassi +Date: Mon Jul 27 17:24:35 2009 +0100 + + [build] Generate ChangeLog from the Git import + + Makefile.am | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 76140c5f521a8912786c292a2699b48a7b873d16 +Author: Emmanuele Bassi +Date: Mon Jul 27 16:51:14 2009 +0100 + + [build] Use API_VERSION, not MAJORMINOR + + The correct macro for Clutter's API version is CLUTTER_API_VERSION, + not CLUTTER_MAJORMINOR anymore. + + doc/reference/clutter/Makefile.am | 2 +- + doc/reference/cogl/Makefile.am | 2 +- + tests/conform/Makefile.am | 2 +- + tests/interactive/Makefile.am | 2 +- + tests/micro-bench/Makefile.am | 3 ++- + 5 files changed, 6 insertions(+), 5 deletions(-) + +commit 42ea471e330bbff217e7d5c199885e3991a47e06 +Author: Emmanuele Bassi +Date: Mon Jul 27 16:10:07 2009 +0100 + + Remove explicit size of the Vertex arrays + + The Vertex arrays passed to some ClutterActor methods should not + have the size. Albeit being technically correct, it's not a good + practice. + + clutter/clutter-actor.c | 6 +++--- + clutter/clutter-actor.h | 4 ++-- + 2 files changed, 5 insertions(+), 5 deletions(-) + +commit fe0e7f9f74358d8333135e51d9c3937ce7e59967 +Author: Emmanuele Bassi +Date: Mon Jul 27 15:42:31 2009 +0100 + + [stage] Add a warning for :offscreen usage + + The Stage:offscreen property hasn't been tested for ages, and it + should really just use a FBO, not indirect rendering on a X Pixmap + only on X11. There are better ways anyway to get the current + contents of ClutterStage as a buffer anyway. + + We might remove it at any later date, or actually make it work + properly. + + clutter/clutter-stage.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 6e6d0a5ea611a99438ae455c1f485e882f621863 +Author: Emmanuele Bassi +Date: Mon Jul 27 15:08:03 2009 +0100 + + [glx] Explicitly set the depth size for GLX visuals + + When requesting a GLX visual from the X server we should explicitly + set the GL_DEPTH_SIZE and the GL_ALPHA_SIZE bits, otherwise some + functionality might just not work, or work unreliably. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1723 + + clutter/glx/clutter-backend-glx.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 88e77b25dfeeead3b4d54d2b24ab9056459c6ee9 +Author: Emmanuele Bassi +Date: Mon Jul 27 15:01:52 2009 +0100 + + Convert gint to GLints in the Shader types wrapper + + The GValue wrappers for ClutterShader types should always store + values using GL types (GLfloat, GLint) internally, but give and + take generic C types (float, int) to the Clutter side. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1359 + + clutter/clutter-shader-types.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit ad7dcc989648791e8fec1bb45711c9f71671dfe0 +Author: Emmanuele Bassi +Date: Mon Jul 27 12:04:40 2009 +0100 + + [color] Fix HLS to RGB colorspace conversion + + The HLS to RGB conversion in case the S value is zero is: + + R = G = B = luminance + + ClutterColor uses a byte (0 to 255) for the R, G and B channels + encoding, while luminance is expressed using a floating point value + in the closed interval [0, 1]; thus the case above becomes: + + R = G = B = (luminance * 255) + + The clutter_color_from_hls() code is missing the final step of + de-normalizing the luminance value, and so it breaks the roundtrip + colorspace conversion between RGB and HLS. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1695 + + clutter/clutter-color.c | 14 +++++--------- + 1 file changed, 5 insertions(+), 9 deletions(-) + +commit db2fda9c430beed64309c1881a44917933863bd0 +Author: Emmanuele Bassi +Date: Mon Jul 27 11:46:26 2009 +0100 + + [tests] Add RGB<->HLS roundtrip test unit + + The ClutterColor conformance test should have a unit for verifying + the RGB<->HLS conversion code, especially the ability to roundtrip + between the two colorspaces. + + tests/conform/test-color.c | 69 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 2 files changed, 70 insertions(+) + +commit 894fe4ba93f37f46c4a999022714ccb224a35703 +Author: Owen W. Taylor +Date: Wed Jul 22 15:38:44 2009 -0400 + + Always create the Damage object for ClutterX11TexturePixmap auto updates + + If clutter_x11_texture_set_window() was called after + clutter_x11_texture_pixmap_set_automatic(), then the Damage object would + not be properly created so updates to the window were ignored. + + Refactor creation of the damage object to a separate function, and + call it from clutter_x11_texture_set_window() and clutter_x11_texture_set_pixmap() + as appropriate. Addition and removal of the filter function is made + conditional on priv->damage to make free_damage_resources() cleanly + idempotent. + + See: http://bugzilla.gnome.org/show_bug.cgi?id=587189 for the original + bug report. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1710 + + Signed-off-by: Emmanuele Bassi + + clutter/x11/clutter-x11-texture-pixmap.c | 74 +++++++++++++++++++++++--------- + 1 file changed, 54 insertions(+), 20 deletions(-) + +commit 2c2f31b1be57380d4368f6da1d0a4529a5a7f8c1 +Author: Michael Mortensen +Date: Sun Jul 26 20:13:36 2009 +0100 + + [osx] Update events to floating point coordinates + + The event translation code should be using the float type for + coordinates. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1725 + + Signed-off-by: Emmanuele Bassi + + clutter/osx/clutter-event-osx.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 13f32cb3b91d5087297a3e17ee97ce46154f9243 +Author: Emmanuele Bassi +Date: Sun Jul 26 20:10:42 2009 +0100 + + [osx] Implement StageWindow::show/::hide + + Instead of using the Actor class ::show and ::hide virtual function, + use the StageWindow interface API. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1724 + + clutter/osx/clutter-stage-osx.c | 29 +++++++++++++---------------- + 1 file changed, 13 insertions(+), 16 deletions(-) + +commit e860d939f9d9611dcf5b8c6e70272b6318a4ba94 +Author: Emmanuele Bassi +Date: Thu Jul 23 19:04:27 2009 +0100 + + [text] Allow key navigation by word + + When pressing Ctrl with the left and right arrow keys we should + skip to (or select until) the previous and next word, respectively. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1713 + + clutter/clutter-text.c | 92 ++++++++++++++++++++++++++++++++++++-------------- + 1 file changed, 67 insertions(+), 25 deletions(-) + +commit 6a1506bd5f920430de6a6e2f035fef9da2557714 +Author: Geoff Gustafson +Date: Thu Jul 23 18:21:10 2009 +0100 + + [text] Queue a redraw when the selection is cleared + + If you select all the text in a ClutterText, there is an invisible + cursor position either at the beginning or end. If it's at the beginning, + the bug is that left arrow won't clear the selection. If it's at the end, + the bug is that the right arrow won't. + + Here are the ways to reproduce it: + + a. Ctrl-A selects all and moves the hidden cursor position to the left. + b. For single line: End, Shift-Home does the same. + c. Or manually moving to the end and doing Shift-Left Arrow to the + beginning. + + These all put it in the state where right arrow will properly clear + selection and move to cursor position 1, but left arrow fails to clear + the selection. + + For b and c above, the opposite will give you the end case where right + arrow doesn't work. + + Anyway, it turns out clear_selection is getting called, it just doesn't + show up because it's not doing a queue_redraw. So the attached patch + seems to fix things. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 29d8d60487878f5bc87caee08cadc15789875e4d +Author: Emmanuele Bassi +Date: Tue Jul 21 16:35:50 2009 +0100 + + [docs] Fix wrong XML elements + + doc/reference/clutter/clutter-animation-tutorial.xml | 2 +- + doc/reference/clutter/creating-behaviours.xml | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 2e38730eb1c16040503ab39625648f35e8ecffb5 +Author: Emmanuele Bassi +Date: Tue Jul 21 14:13:31 2009 +0100 + + [docs] Update the Actor subclassing documentation + + Mention map/unmap and fix the examples code. + + Update the Container virtual functions. + + doc/reference/clutter/subclassing-ClutterActor.xml | 56 +++++++++++++--------- + 1 file changed, 34 insertions(+), 22 deletions(-) + +commit ea436a20b31eef70af60beb5366e1ccad1261c4a +Author: Emmanuele Bassi +Date: Tue Jul 21 14:11:28 2009 +0100 + + [build] Use per-target flags and libraries + + AM_LDFLAGS is ignored by the LDFLAGS target, and it's also not the right + place to put the libraries used by the linker. + + Thanks to Vincent Untz for spotting this. + + tests/interactive/Makefile.am | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +commit ed005685c9351b23795d40bb91cb862b92641f2b +Author: Emmanuele Bassi +Date: Tue Jul 21 11:51:20 2009 +0100 + + [docs] Update the "creating new behaviours" chapter + + The signature of the ::alpha_notify virtual function has been + changed with the switch to float ClutterAlpha. + + doc/reference/clutter/creating-behaviours.xml | 47 ++++++++++----------------- + 1 file changed, 17 insertions(+), 30 deletions(-) + +commit c87fea6cf1f3e3015bf2c505f0d140682b714e99 +Author: Emmanuele Bassi +Date: Tue Jul 21 11:50:08 2009 +0100 + + [docs] Update the building instructions + + New configure script command line switches have been added since + the last time we updated the documentation. + + doc/reference/clutter/building-clutter.xml | 70 +++++++++++++++++++++++++++--- + 1 file changed, 63 insertions(+), 7 deletions(-) + +commit 78773ab6fe96923a70e09b903db188ac5ad90f9a +Author: Emmanuele Bassi +Date: Tue Jul 21 11:29:52 2009 +0100 + + [docs] Update the animations tutorial + + Bring the Animation framework introduction/tutorial up to the 1.0 + API for timelines and animations. + + .../clutter/clutter-animation-tutorial.xml | 742 +++++++++------------ + 1 file changed, 321 insertions(+), 421 deletions(-) + +commit fdfd208c044609a9215f09a91026fe6f02773a3a +Author: Emmanuele Bassi +Date: Tue Jul 21 09:22:34 2009 +0100 + + Fix copy-and-paste errors in the deprecation macros + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1704 + + clutter/clutter-deprecated.h | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 605927db5b9d9ddb8677458b94ad2ca6d058f355 +Author: Emmanuele Bassi +Date: Tue Jul 21 09:20:09 2009 +0100 + + [docs] Fix typo in the effects migration guide + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1706 + + doc/reference/clutter/migrating-ClutterEffect.xml | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit eff857bc7f21dcfd2b8cae5f4ede1f673c24ffd1 +Author: Emmanuele Bassi +Date: Mon Jul 20 20:59:18 2009 +0100 + + [docs] Improve the Units to and from string conversion + + Make sure to document the conversion to and from strings for ClutterUnits, + with negative examples and with the behaviour for fractionary bits. + + clutter/clutter-units.c | 22 ++++++++++++++++++---- + 1 file changed, 18 insertions(+), 4 deletions(-) + +commit b1d98c25f4d70bc355e2b4d66c2496ab58b9b60c +Author: Emmanuele Bassi +Date: Mon Jul 20 12:49:35 2009 +0100 + + [doc] Miscellaneous documentation fixes + + Remove private symbols, and add missing public ones. + + clutter/cogl/cogl-material.h | 79 ++++++++++++++++-------------- + clutter/cogl/cogl-types.h | 16 ++++++ + clutter/cogl/cogl.h.in | 31 ++++++------ + doc/reference/clutter/clutter-sections.txt | 1 - + doc/reference/cogl/Makefile.am | 7 +++ + doc/reference/cogl/cogl-sections.txt | 22 +-------- + 6 files changed, 83 insertions(+), 73 deletions(-) + +commit cdb239756b8c369566ae2c45b3562d2a838674cc +Author: Emmanuele Bassi +Date: Mon Jul 20 12:47:53 2009 +0100 + + [cogl] Make the blend string error domain public + + The error domain and codes must present in a publicly installed header + otherwise they won't be usable to match a GError. + + clutter/cogl/cogl-types.h | 11 +++++++++++ + clutter/cogl/common/cogl-blend-string.c | 2 +- + clutter/cogl/common/cogl-blend-string.h | 13 ------------- + 3 files changed, 12 insertions(+), 14 deletions(-) + +commit e1e8c76ad7d7391fcf2ee79d730ee96fa8528c10 +Author: Emmanuele Bassi +Date: Mon Jul 20 11:45:47 2009 +0100 + + [gitignore] Add test-materials + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 56ef6727b5807c245e3eaf434653007efce70fda +Author: Emmanuele Bassi +Date: Tue Jul 14 13:47:35 2009 +0100 + + Allow disabling motion event throttling + + It might be desirable for some applications and/or platforms to get + every motion event that was delivered to Clutter from the windowing + backend. By adding a per-stage flag we can bypass the throttling + done when processing the events. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1665 + + clutter/clutter-stage.c | 76 +++++++++++++++++++++++++----- + clutter/clutter-stage.h | 8 ++-- + doc/reference/clutter/clutter-sections.txt | 2 + + 3 files changed, 71 insertions(+), 15 deletions(-) + +commit f7850b516c1481f7a63c68a2e0c2b9959bdd67a6 +Author: Emmanuele Bassi +Date: Sat Jul 18 19:40:29 2009 +0100 + + [docs] Move the releasing process to a separate file + + The documentation on how to release Clutter should be in a separate + file from the documentation on how to hack on Clutter. + + HACKING | 38 -------------------------------------- + RELEASING | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 56 insertions(+), 38 deletions(-) + +commit da37e1e27db84135a6349460f68159f16cd02e0c +Author: Robert Bragg +Date: Sun Jul 19 10:08:32 2009 +0100 + + [doc] Remove references to cogl_vertex_buffer_delete_indices + + These referencese were left over from before indices got CoglHandles to + uniquely identify them. cogl_handle_unref can be used to delete indices + now. + + clutter/cogl/cogl-vertex-buffer.h | 14 -------------- + doc/reference/cogl/cogl-sections.txt | 1 - + 2 files changed, 15 deletions(-) + +commit dc0b1cddf5bc0195c78b0ab15a8dc54c7aa49913 +Author: Emmanuele Bassi +Date: Sat Jul 18 16:59:54 2009 +0100 + + [cogl/gles] Fix missing symbols in CoglContext + + Keep the CoglContext in sync between GL and GLES backends. We ought + to find a way to have a generic context, though, and have backend + specific sections. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1698 + + clutter/cogl/gles/cogl-context.h | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit a11b912dea3f3ad9d51d4600c6aac1b69dc004a9 +Author: Owen W. Taylor +Date: Fri Jul 17 15:15:03 2009 -0400 + + Fix parallel build of introspection + + We need to explicitly force order so that ClutterJson.gir and Cogl.gir + are present in the parent directory before we try to build Clutter.typelib. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1700 + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 7654ef10abfc5f207603ecd9012c810adb62a52a +Author: Owen W. Taylor +Date: Fri Jul 17 15:10:06 2009 -0400 + + Fix building introspection when dolt is not in use + + On some platforms (anything but Linux, and on obscure Linux + architectures) dolt isn't used, so $(top_builddir)/doltlibtool + won't exist. $(top_builddir)/libtool will always be generated + even if dolt is used, so just use that unconditionally. We don't + need the extra speed when linking the single program for + introspection. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1699 + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 2 +- + clutter/cogl/Makefile.am | 2 +- + clutter/json/Makefile.am | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +commit 8ca87ea60f5f522f98a58da86b8dc69e8a0b79de +Author: Emmanuele Bassi +Date: Fri Jul 17 17:51:26 2009 +0100 + + Post-release bump to 0.9.9 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3dc3d46967aea8714b23ed31cb51e2085a8b78e7 +Author: Emmanuele Bassi +Date: Fri Jul 17 17:32:45 2009 +0100 + + [release] 0.9.8 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6b30b76b6845cc100e16fd5ada7ed12f784b40c3 +Author: Emmanuele Bassi +Date: Fri Jul 17 17:32:20 2009 +0100 + + Update NEWS file + + NEWS | 38 ++++++++++++++++++++++++++++++++++++++ + 1 file changed, 38 insertions(+) + +commit f0ec828188519e69944509584c4e925f572720ec +Author: Emmanuele Bassi +Date: Mon Jul 13 17:27:01 2009 +0100 + + Fix comments inside configure.ac + + configure.ac | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 7b811f8be4be0529b50a24397cee86e8ecf02f3a +Author: Neil Roberts +Date: Fri Jul 17 12:43:52 2009 +0100 + + [stage] Force an allocation before showing the stage + + A lot of applications change the size of the stage from the default + before the stage is initially shown. The size change won't take affect + until the first allocation run. However we want the window to be at + the correct size when we first map it so we should force an allocation + run before showing the stage. + + There was an explicit call to XResizeWindow in + clutter_stage_x11_show. This is not needed anymore because + XResizeWindow will already have been called by the allocate method. + + clutter/clutter-stage.c | 4 ++++ + clutter/x11/clutter-stage-x11.c | 15 --------------- + 2 files changed, 4 insertions(+), 15 deletions(-) + +commit 8f9f6aaf4178266b38709bb7f7d6f118cc2d6de2 +Author: Marcos +Date: Mon Jul 13 17:04:05 2009 +0100 + + [win32] Compilation fixes + + Remove the usage of the old CLUTTER_UNITS_* macros and put back a + missing ';'. + + Signed-off-by: Emmanuele Bassi + + clutter/win32/clutter-stage-win32.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit 7a8895944b373a99023bc21998a48079debcc544 +Author: Emmanuele Bassi +Date: Mon Jul 13 16:56:47 2009 +0100 + + [osx] Enable motion event dispatch + + By default NSWindow does not listen to mousemoved events and hence the + default behaviour for Actors using the "motion-event" signal differs + from backend to backend. + + Using setAcceptsMouseMovedEvents seems to fix it; unfortunately, I + cannot verify it, but since nobody is currently working on the Quartz + backend I guess it cannot get more broken than how currently is. + + Thanks to: Michael + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1687 + + clutter/osx/clutter-stage-osx.c | 1 + + 1 file changed, 1 insertion(+) + +commit d59b9333a19842e559f9f161d26d0c1d623eafa2 +Author: Emmanuele Bassi +Date: Mon Jul 13 16:53:06 2009 +0100 + + [osx] Remove old units macros + + Remove the usage of CLUTTER_UNITS_* macros and at least get the + chance to make the OSX backend compile. + + Hopefully, since I can't currently test it. + + clutter/osx/clutter-stage-osx.c | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit af5e432ba9bf56ccd376d52e73e0e23d5bc9b37c +Author: Emmanuele Bassi +Date: Mon Jul 13 16:18:27 2009 +0100 + + [actor] Allow querying whether we are painted by a Clone + + It would be useful inside a custom actor's paint function to be able to + tell if this is a primary paint call, or if we are in fact painting on + behalf of a clone. + + In Mutter we have an optimization not to paint occluded windows; this is + desirable for the windows per se, to conserve bandwith to the card, but + if something like an application switcher is using clones of these windows, + they will not get painted either; currently we have no way of + differentiating between the two. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1685 + + clutter/clutter-actor.c | 32 ++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 35 insertions(+) + +commit 43d394ebae027e5af963d5f3f459ed57bbc9617f +Author: Emmanuele Bassi +Date: Mon Jul 13 16:16:38 2009 +0100 + + Remove unused TEXTURE_IN_CLONE_PAINT private flag + + The CLUTTER_TEXTURE_IN_CLONE_PAINT was used with the old CloneTexture + actor; now that we have ClutterClone nothing sets the private flag + anymore, and the flag itself is not needed. + + clutter/clutter-private.h | 9 ++++----- + clutter/clutter-texture.c | 7 ------- + 2 files changed, 4 insertions(+), 12 deletions(-) + +commit 13f31d83190be1a0e47c1aedf0570f8e6ad8f0b8 +Author: Xu Li +Date: Mon Jul 13 16:06:13 2009 +0800 + + [x11] update_wm_hints after unsetting WITHDRAWN + + Updating the WM hints on the stage window shortcircuits if the stage + is in WITHDRAWN state, so we need to move the update_wm_hints() call + after the flag has been unset. + + Signed-off-by: Emmanuele Bassi + + clutter/x11/clutter-stage-x11.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 07453a5861073fabdf64fe394c1caa71fc39d45c +Author: Emmanuele Bassi +Date: Mon Jul 13 15:31:38 2009 +0100 + + [glx] Make the wait_for_vblank function private + + Nobody should be using the function to wait for the vblank outside + of the GLX backend. + + clutter/glx/clutter-backend-glx.c | 120 +++++++++++++++++++------------------- + clutter/glx/clutter-backend-glx.h | 10 +--- + 2 files changed, 63 insertions(+), 67 deletions(-) + +commit 5425a6e311e12da044687ac17ce387b939b71547 +Author: Owen W. Taylor +Date: Sat Jun 6 15:47:57 2009 -0400 + + Call glFinish() before manually waiting for VBLANK + + If we manually wait for the VBLANK with: + + - SGI_video_sync + - Direct usage of the DRM ioctl + + Then we should call glFinish() first, or otherwise the swap-buffers + may be delayed by pending drawing and cause a tear. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1636 + + Signed-off-by: Emmanuele Bassi + + clutter/glx/clutter-backend-glx.c | 31 +++++++++++++++++++++++++++---- + 1 file changed, 27 insertions(+), 4 deletions(-) + +commit b08bbcccad7fffc4b7c829f963c3130a34ed8ae9 +Author: Emmanuele Bassi +Date: Sun Jul 12 01:43:41 2009 +0100 + + [tests] Remove test-perspective + + The perspective test was used essentially to determine whether the + perspective set up in COGL worked correctly. The perspective code + has been changed a lot since Clutter 0.3: we rely on client-side + matrices and we use floating point; so, all the conditions the test + was supposed to verify do not exist anymore. + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-perspective.c | 51 ------------------------------------ + 2 files changed, 52 deletions(-) + +commit ea56a5e7a802a46f9ad6fe12480e16dc587c09b2 +Author: Evan Martin +Date: Sun Jul 12 01:38:40 2009 +0100 + + [docs] Fix typos and remove mentions of SVN + + Signed-off-by: Emmanuele Bassi + + HACKING | 3 ++- + clutter/cogl/cogl-path.h | 2 +- + tests/README | 2 +- + 3 files changed, 4 insertions(+), 3 deletions(-) + +commit efc16a4d90c48d41376769bca93cd2091d40665c +Author: Jakub Higersberger +Date: Fri Jul 3 14:51:17 2009 +0200 + + Use correct signal detail + + The Animation should connect to the notify::alpha signal, not to + the non-existing notify::value signal. + + Fixes bugs: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1674 + http://bugzilla.openedhand.com/show_bug.cgi?id=1688 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5a554bf063a3b673bd7f30d9a92be218e4e810c7 +Author: Emmanuele Bassi +Date: Sun Jul 12 01:27:31 2009 +0100 + + Small code clean up + + Make ClutterTexture slightly more similar to the rest of the code base. + + clutter/clutter-texture.c | 38 ++++++++++++++++++++++++-------------- + 1 file changed, 24 insertions(+), 14 deletions(-) + +commit 1920b03381e9b44aab9f6a5a64e8bb4c0cec1b20 +Author: Robert Bragg +Date: Tue Jul 7 16:16:56 2009 +0100 + + [cogl] Fix more brokeness with _cogl_material_equal + + commit e2c4a2a9f83 fixed one thing but broke many others things :-/ + hopfully this fixes that. + + It turned out that the journal was mistakenly setting the OVERRIDE_LAYER0 + flush option for all entries, but some other logic errors were also + uncovered in _cogl_material_equal. + + clutter/cogl/common/cogl-material.c | 73 +++++++++++++++++++++++++---------- + clutter/cogl/common/cogl-primitives.c | 7 +++- + 2 files changed, 58 insertions(+), 22 deletions(-) + +commit 8fb3a48ae2b6c9a87f17a874fad12d8f1199c29e +Author: pippin +Date: Thu Jul 9 15:45:08 2009 -0400 + + serialize upload of asyncronously loaded textures + + Rate limit the uploading of textures to stop if it uses more than 5ms + during one master clock iteration. + + clutter/clutter-texture.c | 74 +++++++++++++++++++++++++++++++++++++++++------ + 1 file changed, 65 insertions(+), 9 deletions(-) + +commit 211bf798544f76af7fe9e7c9893f66a0f84e02b0 +Author: Robert Bragg +Date: Thu Jul 9 20:03:01 2009 +0100 + + ensure next iteration + + Added an internal clutter function, _clutter_master_clock_ensure_next_iteration + that ensures another iteration of the master clock, can be called from repaint + functions as well as other threads. + + clutter/clutter-master-clock.c | 23 +++++++++++++++++++++++ + clutter/clutter-master-clock.h | 15 ++++++++------- + 2 files changed, 31 insertions(+), 7 deletions(-) + +commit e2c4a2a9f8324a3a17104a15034a40279b4910bb +Author: Robert Bragg +Date: Sat Jul 4 00:15:49 2009 +0100 + + [cogl] Fix drawing with sliced textures using material layer0 overrides + + To help us handle sliced textures; When flushing materials there is an + override option that can be given to replace the texture name for layer0 + so we may iterate the slices without needing to modify the material + in use. + + Since improving the journal's ability to batch state changes we added a + _cogl_material_equals function that is used by the journal to compare + materials and identify when a state change is required, but this wasn't + correctly considering the layer0 override resulting in false positives that + meant the journal wouldn't update the GL state and the first texture name + was used for all slices. + + clutter/cogl/common/cogl-material-private.h | 3 +- + clutter/cogl/common/cogl-material.c | 208 +++++++++++++++++++--------- + clutter/cogl/common/cogl-primitives.c | 3 +- + 3 files changed, 144 insertions(+), 70 deletions(-) + +commit df4429462fa495e44d3a8431ab27771426f7ba42 +Author: Robert Bragg +Date: Fri Jul 3 00:34:10 2009 +0100 + + [cogl matrix stack] Create a client side matrix stack for the projection matrix + + The cost of glGetFloatv with Mesa is still representing a majority of our + time in OpenGL for some applications, and the last thing left using this is + the current-matrix API when getting the projection matrix. + + This adds a matrix stack for the projection matrix, so all getting, setting + and modification of the projection matrix is now managed by Cogl and it's only + when we come to draw that we flush changes to the matrix to OpenGL. + + This also brings us closer to being able to drop internal use of the + deprecated OpenGL matrix functions, re: commit 54159f5a1d02 + + clutter/cogl/common/cogl-current-matrix.c | 105 ++++++++++++++++++------------ + clutter/cogl/common/cogl-current-matrix.h | 2 + + clutter/cogl/common/cogl-matrix-stack.c | 8 +-- + clutter/cogl/common/cogl-matrix.c | 1 + + clutter/cogl/common/cogl-primitives.c | 10 ++- + clutter/cogl/common/cogl-vertex-buffer.c | 4 +- + clutter/cogl/common/cogl.c | 7 +- + clutter/cogl/gl/cogl-context.h | 1 + + clutter/cogl/gl/cogl-primitives.c | 6 +- + 9 files changed, 85 insertions(+), 59 deletions(-) + +commit c3cc553c4991100b456e96ea14fc17c85311d6e2 +Author: Emmanuele Bassi +Date: Thu Jul 2 14:21:16 2009 +0100 + + Add more (allow-none) annotations + + clutter/clutter-actor.c | 91 +++++++++++++++++++++++++++++-------------------- + 1 file changed, 54 insertions(+), 37 deletions(-) + +commit f1044a279c45e8f4f48cc81a5c1c0fa720835d1d +Author: Colin Walters +Date: Thu Jul 2 13:15:42 2009 +0100 + + Use the (allow-none) annotation for clutter_init* + + We accept NULL for some parameters in the initialization functions. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-main.c | 18 ++++++++++-------- + 1 file changed, 10 insertions(+), 8 deletions(-) + +commit d1232509a21a7ce05aa8c85b2c14872ffc4df5cb +Author: Emmanuele Bassi +Date: Wed Jul 1 15:59:13 2009 +0100 + + Post-release bump to 0.9.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9ce88d86b484bcc4a15decfb95b97294e4cce292 +Author: Emmanuele Bassi +Date: Wed Jul 1 15:28:33 2009 +0100 + + [release] 0.9.6 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a373bbb819462b6baa62f0ecfff9716c8dbc8fa8 +Author: Emmanuele Bassi +Date: Wed Jul 1 14:56:13 2009 +0100 + + [docs] Update the NEWS and README files + + NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ + README | 5 +++++ + 2 files changed, 45 insertions(+) + +commit 45c85c4213c85d0dbbbe0e7eb8f93e290d5ffff2 +Author: Emmanuele Bassi +Date: Wed Jul 1 15:15:52 2009 +0100 + + [actor] Remove the unused get_allocation_coords() + + The clutter_actor_get_allocation_coords() is not used, and since + the switch to floats in the Actor's API, it returns exactly what + the get_allocation_box() returns. + + clutter/clutter-actor.c | 62 +++++++------------------------------------- + clutter/clutter-actor.h | 5 ---- + clutter/clutter-deprecated.h | 2 ++ + 3 files changed, 12 insertions(+), 57 deletions(-) + +commit 37bd35f592e13dfa8ded884fcf668409dec119f3 +Author: Emmanuele Bassi +Date: Wed Jul 1 13:59:13 2009 +0100 + + [actor] Allow changing the transformations matrix + + Currently, the transformation matrix for an actor is constructed + from scenegraph-related accessors. An actor, though, can call COGL + API to add new transformations inside the paint() implementation, + for instance: + + static void + my_foo_paint (ClutterActor *a) + { + ... + cogl_translate (-scroll_x, -scroll_y, 0); + ... + } + + Unfortunately these transformations will be completely ignored by + the scenegraph machinery; for instance, getting the actor-relative + coordinates from event coordinates is going to break badly because + of this. + + In order to make the scenegraph aware of the potential of additional + transformations, we need a ::apply_transform() virtual function. This + vfunc will pass a CoglMatrix which can be used to apply additional + operations: + + static void + my_foo_apply_transform (ClutterActor *a, CoglMatrix *m) + { + CLUTTER_ACTOR_CLASS (my_foo_parent_class)->apply_transform (a, m); + ... + cogl_matrix_translate (m, -scroll_x, -scroll_y, 0); + ... + } + + The ::paint() implementation will be called with the actor already + using the newly applied transformation matrix, as expected: + + static void + my_foo_paint (ClutterActor *a) + { + ... + } + + The ::apply_transform() implementations *must* chain up, so that the + various transformations of each class are preserved. The default + implementation inside ClutterActor applies all the transformations + defined by the scenegraph-related accessors. + + Actors performing transformations inside the paint() function will + continue to work as previously. + + clutter/clutter-actor.c | 104 +++++++++++++++++++++-------- + clutter/clutter-actor.h | 15 ++++- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 89 insertions(+), 31 deletions(-) + +commit 0414daf0fb64433cb168799bfec79d5996b05ddf +Author: Emmanuele Bassi +Date: Wed Jul 1 12:34:54 2009 +0100 + + Split the typdef to avoid confusing scanners + + Scanners like gtk-doc and g-ir-scanner get confused by: + + typedef struct _Foo { + ... + } Foo; + + And expect instead: + + typedef struct _Foo Foo; + + struct _Foo { + ... + }; + + CoglMatrix definition should be changed to avoid the former type. + + clutter/cogl/cogl-matrix.h | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 250b775926da40a5e4b96565b413c4a2c57d4a8d +Author: Emmanuele Bassi +Date: Thu Jun 25 14:41:25 2009 +0100 + + [x11] Fix the race between resize and glViewport calls + + The race we were experiencing in the X11 backends is apparently + back after the fix in commit 00a3c698. + + This time, just delaying the setting of the SYNC_MATRICES flag + is not enough, so we can resume the use of a STAGE_IN_RESIZE + private flag. + + This should also fix bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1668 + + clutter/clutter-main.c | 7 +++++-- + clutter/clutter-private.h | 3 ++- + clutter/x11/clutter-event-x11.c | 6 ++++-- + clutter/x11/clutter-stage-x11.c | 35 +++++++++++++++++++++++++++-------- + 4 files changed, 38 insertions(+), 13 deletions(-) + +commit 3726213291ad513e09ec7e8b3776cc2d2b9d9cb9 +Author: Emmanuele Bassi +Date: Thu Jun 25 14:39:57 2009 +0100 + + Add debug notes for calls to glViewport() + + In order to validate the sequence of: + + XResizeWindow + ConfigureNotify + glViewport + + that should happen on X11 we need to add debug annotations to the + calls to glViewport() done through COGL. + + clutter/cogl/common/cogl.c | 1 + + 1 file changed, 1 insertion(+) + +commit 3bab7871030d8ad6be6dc730e5902d256dea28a2 +Author: Robert Bragg +Date: Wed Jul 1 12:57:30 2009 +0100 + + [cogl] cache the viewport width and height + + This avoids some calls to glGetFloatv, which have at least proven to be very + in-efficient in mesa at this point in time, since it always updates all derived + state even when it may not relate to the state being requested. + + clutter/cogl/common/cogl.c | 30 ++++++++++++++++-------------- + clutter/cogl/gl/cogl-context.c | 3 +++ + clutter/cogl/gl/cogl-context.h | 3 +++ + clutter/cogl/gl/cogl-fbo.c | 2 +- + 4 files changed, 23 insertions(+), 15 deletions(-) + +commit 358d7c30dcb6e50b8dc1208d7b602b74cc198f10 +Author: Robert Bragg +Date: Fri Jun 19 12:15:12 2009 +0100 + + [cogl] Ensure well defined semantics for COGL_INVALID_HANDLE material layers + + Fixes and adds a unit test for creating and drawing using materials with + COGL_INVALID_HANDLE texture layers. + + This may be valid if for example the user has set a texture combine string + that only references a constant color. + + _cogl_material_flush_layers_gl_state will bind the fallback texture for any + COGL_INVALID_HANDLE layer, later though we could explicitly check when the + current blend mode does't actually reference a texture source in which case + binding the fallback texture is redundant. + + This tests drawing using cogl_rectangle, cogl_polygon and + cogl_vertex_buffer_draw. + + clutter/cogl/common/cogl-material.c | 8 +- + clutter/cogl/common/cogl-primitives.c | 35 ++++-- + clutter/cogl/common/cogl-vertex-buffer.c | 10 +- + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-materials.c | 195 +++++++++++++++++++++++++++++++ + 6 files changed, 240 insertions(+), 10 deletions(-) + +commit fce406f1b88794d35d8fb0c04c6bf690b990bd0d +Merge: 04bb78994 33400c0aa +Author: Robert Bragg +Date: Tue Jun 30 17:17:30 2009 +0100 + + Merge branch 'cogl-journal-batching' + + [cogl] Improve ability to break out into raw OpenGL via begin/end mechanism + Adds a cogl_flush() to give developers breaking into raw GL a fighting chance + [cogl-material] Be more carefull about flushing in cogl_material_remove_layer + Revert "[rectangle] Avoid modifying materials mid scene" + Revert "[actor] Avoid modifying materials mid-scene to improve journal batching" + [cogl-vertex-buffer] Disable unused client tex coord arrays + [cogl] disable all client tex coord arrays in _cogl_add_path_to_stencil_buffer + [cogl] flush matrices in _cogl_add_path_to_stencil_buffer + [journal] Don't resize a singlton VBO; create and destroy a VBO each flush + [cogl] avoid using the journal in _cogl_add_path_to_stencil_buffer + [pango-display-list] Use the Cogl journal for short runs of text + [material] _cogl_material_equal: catch the simplest case of matching handles + [material] avoid flushing the journal when just changing the color + [cogl journal] Perform software modelview transform on logged quads. + [Cogl journal] use G_UNLIKLEY around runtime debugging conditions + [cogl journal] Adds a --cogl-debug=batching option to trace batching + [Cogl journal] Adds a --cogl-debug=journal option for tracing the journal + [cogl] Adds a debug option for disabling use of VBOs --cogl-debug=disable-vbos + [cogl] Force Cogl to always use the client side matrix stack + [cogl-debug] Adds a "client-side-matrices" Cogl debug option + [cogl-color] Adds a cogl_color_equal() function + [cogl material] optimize logging of material colors in the journal + [rectangle] Avoid modifying materials mid scene + [actor] Avoid modifying materials mid-scene to improve journal batching + [journal] Always pad our vertex data as if at least 2 layers are enabled + [cogl] Improving Cogl journal to minimize driver overheads + GPU state changes + + The Cogl journal is a mechanism Cogl uses to batch geometry resulting from + any of the cogl_rectangle* functions before sending it to OpenGL. This aims + to improve the Cogl journal so that it can reduce the number of state + changes and draw calls we issue to the OpenGL driver and hopfully improve + performance. + + Previously each call to any of the cogl_rectangle* functions would imply an + immediate GL draw call, as well as a corresponding modelview change; + material state changes and gl{Vertex,Color,TexCoord}Pointer calls. Now + though we have tried to open the scope for batching up as much as possible + so we only have to flush the geometry either before calling glXSwapBuffers, + or when we change state that isn't tracked by the journal. + + As a basic example, it's now possible for us to batch typical picking + renders into a single draw call for the whole scene. + + Some key points about this change: + - We now perform transformations of quads in software (except for long runs of + text which continue to use VBOs) + * It might seem surprising at first, but when you consider that so many + Clutter actors are little more than textured quads and each actor + typically implies a modelview matrix change; the costs involved in + setting up the GPU with the new modelview can easily out weigh the cost + of simply transforming 4 vertices. + - We always use Cogl's own client side matrix API now. + * We found the performance of querying the OpenGL driver for matrix state + was often worse than using the client matrix code, and also - discussing + with Mesa developers - agreed that since khronos has essentially + deprecated the GL matrix API (by removing it from OpenGL 3 and + OpenGL-ES 2) it was appropriate to take full responsibility for all our + matrix manipulation. + - Developers should avoid modifying materials mid-scene. + * With the exception of material color changes, if you try and modify a + material that is referenced in the journal we will currently force a + journal flush. Note: you can assume that re-setting the same value for + a material property won't require a flush though. + - Several new --cogl-debug options have been added + * "disable-batching" can be used to identify bugs in the way that the + journal does its batching; of could this shouldn't ever be needed :-) + * "disable-vbos" can be used to test the VBO fallback paths where we + simply use malloc()'d buffers instead. + * "batching" lets you get an overview of how the journal is batching + your geometry and may help you identify ways to improve your + application performance. + * "journal" lets you trace all the geometry as it gets logged in the + journal, and all the geometry as its flushed from the journal. + Obviously an inconsistency can identify a bug, but the numbers may + help you verify application logic too. + * "disable-software-transform" as implied will instead use the driver + /GPU to transform quads by the modelview matrix. + Although committed separately a --clutter-debug=nop-picking option was + also added that lets you remove picking from the equation, which can + sometimes help make problem analysis more deterministic. + +commit 33400c0aae58468107be8a9e4572a37dd890ec81 +Author: Robert Bragg +Date: Mon Jun 29 22:32:05 2009 +0100 + + [cogl] Improve ability to break out into raw OpenGL via begin/end mechanism + + Although we wouldn't recommend developers try and interleve OpenGL drawing + with Cogl drawing - we would prefer patches that improve Cogl to avoid this + if possible - we are providing a simple mechanism that will at least give + developers a fighting chance if they find it necissary. + + Note: we aren't helping developers change OpenGL state to modify the + behaviour of Cogl drawing functions - it's unlikley that can ever be + reliably supported - but if they are trying to do something like: + + - setup some OpenGL state. + - draw using OpenGL (e.g. glDrawArrays() ) + - reset modified OpenGL state. + - continue using Cogl to draw + + They should surround their blocks of raw OpenGL with cogl_begin_gl() and + cogl_end_gl(): + + cogl_begin_gl (); + - setup some OpenGL state. + - draw using OpenGL (e.g. glDrawArrays() ) + - reset modified OpenGL state. + cogl_end_gl (); + - continue using Cogl to draw + + Again; we aren't supporting code like this: + - setup some OpenGL state. + - use Cogl to draw + - reset modified OpenGL state. + When the internals of Cogl evolves, this is very liable to break. + + cogl_begin_gl() will flush all internally batched Cogl primitives, and emit + all internal Cogl state to OpenGL as if it were going to draw something + itself. + + The result is that the OpenGL modelview matrix will be setup; the state + corresponding to the current source material will be setup and other world + state such as backface culling, depth and fogging enabledness will be also + be sent to OpenGL. + + Note: no special material state is flushed, so if developers want Cogl to setup + a simplified material state it is the their responsibility to set a simple + source material before calling cogl_begin_gl. E.g. by calling + cogl_set_source_color4ub(). + + Note: It is the developers responsibility to restore any OpenGL state that they + modify to how it was after calling cogl_begin_gl() if they don't do this then + the result of further Cogl calls is undefined. + + clutter/cogl/cogl.h.in | 79 ++++++++++++++++++++++++++++++++++++ + clutter/cogl/common/cogl.c | 75 ++++++++++++++++++++++++++++++++++ + clutter/cogl/gl/cogl-context.c | 2 + + clutter/cogl/gl/cogl-context.h | 2 + + doc/reference/cogl/cogl-sections.txt | 2 + + 5 files changed, 160 insertions(+) + +commit 6d9498da7cbe180ddc4b68ae3a48985631db46a0 +Author: Robert Bragg +Date: Mon Jun 29 17:10:34 2009 +0100 + + Adds a cogl_flush() to give developers breaking into raw GL a fighting chance + + This function should only need to be called in exceptional circumstances + since Cogl can normally determine internally when a flush is necessary. + + As an optimization Cogl drawing functions may batch up primitives + internally, so if you are trying to use raw GL outside of Cogl you stand a + better chance of being successful if you ask Cogl to flush any batched + geometry before making your state changes. + + cogl_flush() ensures that the underlying driver is issued all the commands + necessary to draw the batched primitives. It provides no guarantees about + when the driver will complete the rendering. + + This provides no guarantees about the GL state upon returning and to avoid + confusing Cogl you should aim to restore any changes you make before + resuming use of Cogl. + + If you are making state changes with the intention of affecting Cogl drawing + primitives you are 100% on your own since you stand a good chance of + conflicting with Cogl internals. For example clutter-gst which currently + uses direct GL calls to bind ARBfp programs will very likely break when Cogl + starts to use ARBfb programs internally for the material API, but for now it + can use cogl_flush() to at least ensure that the ARBfp program isn't applied + to additional primitives. + + This does not provide a robust generalized solution supporting safe use of + raw GL, its use is very much discouraged. + + clutter/clutter-main.c | 2 +- + clutter/cogl/cogl.h.in | 42 ++++++++++++++++++++++----------- + clutter/cogl/common/cogl.c | 4 ++-- + clutter/eglnative/clutter-backend-egl.c | 2 +- + clutter/eglx/clutter-backend-egl.c | 2 +- + clutter/fruity/clutter-backend-fruity.c | 2 +- + clutter/glx/clutter-backend-glx.c | 2 +- + clutter/osx/clutter-stage-osx.c | 2 +- + clutter/sdl/clutter-backend-sdl.c | 2 +- + clutter/win32/clutter-backend-win32.c | 2 +- + doc/reference/cogl/cogl-sections.txt | 3 +++ + 11 files changed, 41 insertions(+), 24 deletions(-) + +commit 87f99e214a6f60c06cc34f844e02ecb0f63c953f +Author: Robert Bragg +Date: Wed Jun 24 18:34:06 2009 +0100 + + [cogl-material] Be more carefull about flushing in cogl_material_remove_layer + + Previously we would call _cogl_material_pre_change_notify unconditionally, but + now we wait until we really know we are removing a layer before notifying the + change, which will require a journal flush. + + Since the convenience functions cogl_set_source_color4ub and + cogl_set_source_texture share a single material, cogl_set_source_color4ub + always calls cogl_material_remove_layer. Often this is a NOP though and + shouldn't require a journal flush. + + This gets performance back to where it was before reverting the per-actor + material commits. + + clutter/cogl/common/cogl-material.c | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +commit 6ee8e1565475d75d343682e4d4eed2f68e0c26eb +Author: Robert Bragg +Date: Wed Jun 24 18:24:58 2009 +0100 + + Revert "[rectangle] Avoid modifying materials mid scene" + + This reverts commit 8cf42ea8ac5c05f6b443c453f9c6c2a3cd75acfa. + + Since the journal puts material colors in the vertex array accumulated for + drawing we don't need to flush the journal simply due to color changes which + means using cogl_set_source_color4ub is no longer a concern. + + clutter/clutter-rectangle.c | 89 +++++++++++++++++---------------------------- + 1 file changed, 34 insertions(+), 55 deletions(-) + +commit 5ffbe052480cb06e44f1a317ac729553ddd2dc96 +Author: Robert Bragg +Date: Wed Jun 24 18:20:45 2009 +0100 + + Revert "[actor] Avoid modifying materials mid-scene to improve journal batching" + + This reverts commit 85243da382025bd516937c76a61b8381f6e74689. + + Since the journal puts material colors in the vertex array accumulated for + drawing we don't need to flush the journal simply due to color changes + which means using cogl_set_source_color4ub is no longer a concern. + + clutter/clutter-actor.c | 14 ++++---------- + 1 file changed, 4 insertions(+), 10 deletions(-) + +commit 8b67916cc1e2aed7861214205fc0d68c0c6d67f1 +Author: Robert Bragg +Date: Wed Jun 24 18:10:50 2009 +0100 + + [cogl-vertex-buffer] Disable unused client tex coord arrays + + Before any cogl vertex buffer drawing we call + enable_state_for_drawing_buffer which sets up the GL state, but we weren't + disabling unsed client texture coord arrays. + + clutter/cogl/common/cogl-vertex-buffer.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 8873c6a11a4668e737e4dc75d1d2a2c14904482f +Author: Robert Bragg +Date: Mon Jun 22 01:29:39 2009 +0100 + + [cogl] disable all client tex coord arrays in _cogl_add_path_to_stencil_buffer + + After flushing the journal an unknown number of client side texture arrays + may be left enabled. Disable them all before using glDrawArrays. + + clutter/cogl/gl/cogl-primitives.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit ca0a0e9dac23219709a1c365a070ea9d4d517909 +Author: Robert Bragg +Date: Mon Jun 22 00:49:20 2009 +0100 + + [cogl] flush matrices in _cogl_add_path_to_stencil_buffer + + Before calling glRectf we need to ensure we flush the modelview and + projection matrices. + + clutter/cogl/gl/cogl-primitives.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit f386b1f002f111210e87e6f72eb1795ad2befc1e +Author: Robert Bragg +Date: Mon Jun 22 00:11:41 2009 +0100 + + [journal] Don't resize a singlton VBO; create and destroy a VBO each flush + + This simplifies the vertex data uploading in the journal, and could improve + performance. Modifying a VBO mid-scene could reqire synchronizing with the + GPU or some form of shadowing/copying to avoid modifying data that the GPU + is currently processing; the buffer was also being marked as GL_STATIC_DRAW + which could have made things worse. + + Now we simply create a GL_STATIC_DRAW VBO for each flush and and delete it + when we are finished. + + clutter/cogl/common/cogl-primitives.c | 40 +++++++++++------------------------ + 1 file changed, 12 insertions(+), 28 deletions(-) + +commit 7b7787b050a1dd245dea396335ddf96662c6a570 +Author: Robert Bragg +Date: Mon Jun 22 00:05:02 2009 +0100 + + [cogl] avoid using the journal in _cogl_add_path_to_stencil_buffer + + Using cogl_rectangle (and thus the journal) in + _cogl_add_path_to_stencil_buffer means we have to consider all the state + that the journal may change in case it may interfer with the direct GL calls + used. This has proven to be error prone and in this case the journal is an + unnecissary overhead. We now simply call glRectf instead of using + cogl_rectangle. + + clutter/cogl/gl/cogl-primitives.c | 16 ++++++---------- + 1 file changed, 6 insertions(+), 10 deletions(-) + +commit 6562f3224a558b224b9076fe794547bfc9bb2af5 +Author: Robert Bragg +Date: Wed Jun 17 23:35:49 2009 +0100 + + [pango-display-list] Use the Cogl journal for short runs of text + + For small runs of text like icon labels, we can get better performance + going through the Cogl journal since text may then be batched together + with other geometry. + + For larger runs of text though we still use VBOs since the cost of logging + the quads becomes too expensive, including the software transform which + isn't at all optimized at this point. VBOs also have the further advantage + of avoiding repeated validation of vertices by the driver and repeated + mapping of data into the GPU so long as the text doesn't change. + + Currently the threshold is 100 vertices/25 quads. This number was plucked + out of thin air and should be tuned later. + + With this change I see ~180% fps improvment for test-text. (x61s + i965 + + Mesa 7.6-devel) + + clutter/pango/cogl-pango-display-list.c | 33 +++++++++++++++++++++++++++++++++ + 1 file changed, 33 insertions(+) + +commit 6ac3b5a564608862fdf4e9b8887b882ebe497f4b +Author: Robert Bragg +Date: Wed Jun 17 23:31:40 2009 +0100 + + [material] _cogl_material_equal: catch the simplest case of matching handles + + We were missing the simplest test of all: are the two CoglHandles equal and + are the flush option flags for each material equal? This should improve + batching for some common cases. + + clutter/cogl/common/cogl-material.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 9afa52f056b58bbd35274fec3fe21ff483949321 +Author: Robert Bragg +Date: Wed Jun 17 23:31:11 2009 +0100 + + [material] avoid flushing the journal when just changing the color + + Whenever we modify a material we call _cogl_material_pre_change_notify which + checks to see if the material is referenced by the journal and if so flushes + if before we modify the material. + + Since the journal logs material colors directly into a vertex array (to + avoid us repeatedly calling glColor) then we know we never need to flush + the journal when material colors change. + + clutter/cogl/common/cogl-material.c | 80 ++++++++++++++++++++++++------------- + 1 file changed, 52 insertions(+), 28 deletions(-) + +commit efbf483d8cdd448b20ddcfedc518509f907b2ac6 +Author: Robert Bragg +Date: Wed Jun 17 01:31:36 2009 +0100 + + [cogl journal] Perform software modelview transform on logged quads. + + Since most Clutter actors aren't much more than textured quads; flushing the + journal typically involves lots of 'change modelview; draw quad' sequences. + + The amount of overhead involved in uploading a new modelview and queuing + that primitive is huge in comparison to simply transforming 4 vertices by + the current modelview when logging quads. (Note if your GPU supports HW + vertex transform, then it still does the projective and viewport transforms) + + At the same time a --cogl-debug=disable-software-transform option has been + added for comparison and debugging. + + This change allows typical pick scenes to be batched into a single draw call + and I'm seeing test-pick run over 200% faster with this. (i965 + Mesa + 7.6-devel) + + clutter/cogl/cogl-debug.h | 3 +- + clutter/cogl/common/cogl-debug.c | 3 +- + clutter/cogl/common/cogl-primitives.c | 158 +++++++++++++++++++++++++--------- + 3 files changed, 120 insertions(+), 44 deletions(-) + +commit 612a1e2dea5599a30e3c922dee288d72e890c415 +Author: Robert Bragg +Date: Wed Jun 17 01:30:24 2009 +0100 + + [Cogl journal] use G_UNLIKLEY around runtime debugging conditions + + May as well improve the branch prediction around runtime debugging code. + + clutter/cogl/common/cogl-primitives.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 7d1876fd261f5039e25d468e0cc7dcbf63229912 +Author: Robert Bragg +Date: Thu Jun 11 11:54:01 2009 +0100 + + [cogl journal] Adds a --cogl-debug=batching option to trace batching + + Enabling this option makes Cogl trace how the journal is managing to batch + your rectangles. The journal staggers how it emmits state to the GL driver + and the batches will normally get smaller for each stage, but ideally you + don't want to be in a situation where Cogl is only able to draw one quad per + modelview change and draw call. + + E.g. this is a fairly ideal example: + BATCHING: journal len = 101 + BATCHING: vbo offset batch len = 101 + BATCHING: material batch len = 101 + BATCHING: modelview batch len = 101 + + This isn't: + BATCHING: journal len = 1 + BATCHING: vbo offset batch len = 1 + BATCHING: material batch len = 1 + BATCHING: modelview batch len = 1 + BATCHING: journal len = 1 + BATCHING: vbo offset batch len = 1 + BATCHING: material batch len = 1 + BATCHING: modelview batch len = 1 + + + clutter/cogl/cogl-debug.h | 5 +++-- + clutter/cogl/common/cogl-debug.c | 3 ++- + clutter/cogl/common/cogl-primitives.c | 17 ++++++++++++----- + 3 files changed, 17 insertions(+), 8 deletions(-) + +commit d03e6cfb2c1ea47fdcf8db7d471666bd380c93aa +Author: Robert Bragg +Date: Wed Jun 17 01:59:28 2009 +0100 + + [Cogl journal] Adds a --cogl-debug=journal option for tracing the journal + + When this option is used Cogl will print a trace of all quads that get + logged into the journal, and a trace of quads as they get flushed. + + If you are seeing a bug with the geometry being drawn by Cogl this may give + some clues by letting you sanity check the numbers being logged vs the + numbers being emitted. + + clutter/cogl/cogl-debug.h | 3 ++- + clutter/cogl/common/cogl-debug.c | 3 ++- + clutter/cogl/common/cogl-primitives.c | 36 ++++++++++++++++++++++------------- + 3 files changed, 27 insertions(+), 15 deletions(-) + +commit 3ea7816499996c3bb918b27c6f44c987b90d2e9c +Author: Robert Bragg +Date: Wed Jun 17 01:46:06 2009 +0100 + + [cogl] Adds a debug option for disabling use of VBOs --cogl-debug=disable-vbos + + For testing the VBO fallback paths it helps to be able to disable the + COGL_FEATURE_VBOS feature flag. When VBOs aren't available Cogl should use + client side malloc()'d buffers instead. + + clutter/cogl/cogl-debug.h | 3 ++- + clutter/cogl/common/cogl-debug.c | 3 ++- + clutter/cogl/common/cogl.c | 3 +++ + 3 files changed, 7 insertions(+), 2 deletions(-) + +commit 54159f5a1d029dbfff19711f5397fc9b99556ed4 +Author: Robert Bragg +Date: Wed Jun 17 01:37:39 2009 +0100 + + [cogl] Force Cogl to always use the client side matrix stack + + Previously we only used the Cogl matrix stack API for indirect contexts, but + it's too costly to keep on requesting modelview matrices from GL (for + logging in the journal) even for direct rendering. + + I also experimented with a patch for mesa to improve performance and + discussed this with upstream, but we agreed to consider the GL matrix API + essentially deprecated. (For reference the GLES 2 and GL 3 specs have + removed the matrix APIs) + + clutter/cogl/common/cogl-current-matrix.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 713af6535de11f27e1da9c1e233e8402d2864ab9 +Author: Robert Bragg +Date: Fri Jun 5 13:50:00 2009 +0100 + + [cogl-debug] Adds a "client-side-matrices" Cogl debug option + + This allows us to force Cogl to use the client side matrix stack even when + direct rendering. + + clutter/cogl/cogl-debug.h | 3 ++- + clutter/cogl/common/cogl-current-matrix.c | 3 ++- + clutter/cogl/common/cogl-debug.c | 3 ++- + 3 files changed, 6 insertions(+), 3 deletions(-) + +commit a8be68c83cb97a8bafc93f5304e177e1b265bca1 +Author: Robert Bragg +Date: Fri Jun 5 12:58:31 2009 +0100 + + [cogl-color] Adds a cogl_color_equal() function + + CoglColors shouldn't be compared using memcmp since they may contain + uninitialized padding bytes. + + The prototype is also suitable for passing to g_hash_table_new as the + key_equal_func. + + _cogl_pango_display_list_add_texture now uses this instead of memcmp. + + clutter/cogl/cogl-color.h | 16 ++++++++++++++++ + clutter/cogl/common/cogl-color.c | 15 +++++++++++++++ + clutter/pango/cogl-pango-display-list.c | 3 +-- + 3 files changed, 32 insertions(+), 2 deletions(-) + +commit aca1bf4329481cedfd8ffa65591338662c6d626a +Author: Robert Bragg +Date: Thu Jun 4 14:23:16 2009 +0100 + + [cogl material] optimize logging of material colors in the journal + + We now put the color of materials into the vertex array used by the journal + instead of calling glColor() but the number of requests for the material + color were quite expensive so we have changed the material color to + internally be byte components instead of floats to avoid repeat conversions + and added _cogl_material_get_colorubv as a fast-path for the journal to + copy data into the vertex array. + + clutter/cogl/common/cogl-material-private.h | 21 ++++-------- + clutter/cogl/common/cogl-material.c | 51 +++++++++++++++++------------ + clutter/cogl/common/cogl-primitives.c | 26 +++++++-------- + clutter/cogl/gles/cogl-gles2-wrapper.c | 7 ++++ + clutter/cogl/gles/cogl-gles2-wrapper.h | 2 ++ + 5 files changed, 56 insertions(+), 51 deletions(-) + +commit 938452f1b1109e7c8daff8f49c4f0a45a13be25f +Author: Robert Bragg +Date: Fri Jun 5 13:03:14 2009 +0100 + + [rectangle] Avoid modifying materials mid scene + + To improve batching of geometry in the Cogl journal we need to avoid modifying + materials midscene. + + Currently cogl_set_source_color and cogl_set_source_texture simply modify a + single shared material. In the future we can improve this so they use a pool + of materials that gets recycled as the journal is flushed, but for now we + give all ClutterRectangles their own private materials for painting with. + + clutter/clutter-rectangle.c | 89 ++++++++++++++++++++++++++++----------------- + 1 file changed, 55 insertions(+), 34 deletions(-) + +commit dc1ca79398e343d06918cf1c38b72771f476f0a6 +Author: Robert Bragg +Date: Wed Jun 17 18:36:27 2009 +0100 + + [actor] Avoid modifying materials mid-scene to improve journal batching + + Currently cogl_set_source_color uses a single shared material which means + each actor that uses it causes the journal to flush if the color changes. + Until we improve cogl_set_source_color to use a pool of materials that can + be recycled as the journal is flushed we avoid mid-scene material changes by + giving all actors a private material instead. + + clutter/clutter-actor.c | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +commit 40cfaeaffc9b744d99c21c1e6cd5b57e358ff37a +Author: Robert Bragg +Date: Wed Jun 10 13:59:45 2009 +0100 + + [journal] Always pad our vertex data as if at least 2 layers are enabled + + The number of material layers enabled when logging a quad in the journal + determines the stride of the corresponding vertex data (since we need a set + of texture coordinates for each layer.) By padding data in the case where we + have only one layer we can avoid a change in stride if we are mixing single + and double layer primitives in a scene (e.g. relevent for a composite + manager that may use 2 layers for all shaped windows) Avoiding stride + changes means we can minimize calls to gl{Vertex,Color}Pointer when flushing + the journal. + + Since we need to update the texcoord pointers when the actual number of + layers changes, this adds another batch_and_call() stage to deal with + glTexCoordPointer and enabling/disabling the client arrays. + + clutter/cogl/common/cogl-primitives.c | 108 ++++++++++++++++++++++++---------- + 1 file changed, 78 insertions(+), 30 deletions(-) + +commit 845ff67301da767926f96c56026a8dd9c7964f01 +Author: Robert Bragg +Date: Wed Jun 17 18:46:42 2009 +0100 + + [cogl] Improving Cogl journal to minimize driver overheads + GPU state changes + + Previously the journal was always flushed at the end of + _cogl_rectangles_with_multitexture_coords, (i.e. the end of any + cogl_rectangle* calls) but now we have broadened the potential for batching + geometry. In ideal circumstances we will only flush once per scene. + + In summary the journal works like this: + + When you use any of the cogl_rectangle* APIs then nothing is emitted to the + GPU at this point, we just log one or more quads into the journal. A + journal entry consists of the quad coordinates, an associated material + reference, and a modelview matrix. Ideally the journal only gets flushed + once at the end of a scene, but in fact there are things to consider that + may cause unwanted flushing, including: + + - modifying materials mid-scene + This is because each quad in the journal has an associated material + reference (i.e. not copy), so if you try and modify a material that is + already referenced in the journal we force a flush first) + + NOTE: For now this means you should avoid using cogl_set_source_color() + since that currently uses a single shared material. Later we + should change it to use a pool of materials that is recycled + when the journal is flushed. + + - modifying any state that isn't currently logged, such as depth, fog and + backface culling enables. + + The first thing that happens when flushing, is to upload all the vertex data + associated with the journal into a single VBO. + + We then go through a process of splitting up the journal into batches that + have compatible state so they can be emitted to the GPU together. This is + currently broken up into 3 levels so we can stagger the state changes: + + 1) we break the journal up according to changes in the number of material layers + associated with logged quads. The number of layers in a material determines + the stride of the associated vertices, so we have to update our vertex + array offsets at this level. (i.e. calling gl{Vertex,Color},Pointer etc) + 2) we further split batches up according to material compatability. (e.g. + materials with different textures) We flush material state at this level. + 3) Finally we split batches up according to modelview changes. At this level + we update the modelview matrix and actually emit the actual draw command. + + This commit is largely about putting the initial design in-place; this will be + followed by other changes that take advantage of the extended batching. + + clutter/clutter-main.c | 3 + + clutter/cogl/cogl-debug.h | 21 +- + clutter/cogl/cogl-material.h | 19 +- + clutter/cogl/cogl.h.in | 14 + + clutter/cogl/common/cogl-clip-stack.c | 4 + + clutter/cogl/common/cogl-debug.c | 3 +- + clutter/cogl/common/cogl-material-private.h | 99 +++-- + clutter/cogl/common/cogl-material.c | 318 +++++++++++-- + clutter/cogl/common/cogl-primitives.c | 667 ++++++++++++++++++++-------- + clutter/cogl/common/cogl-primitives.h | 2 + + clutter/cogl/common/cogl-vertex-buffer.c | 28 +- + clutter/cogl/common/cogl.c | 38 +- + clutter/cogl/gl/cogl-context.c | 4 + + clutter/cogl/gl/cogl-context.h | 4 + + clutter/cogl/gl/cogl-fbo.c | 2 + + clutter/cogl/gl/cogl-primitives.c | 44 +- + clutter/cogl/gl/cogl-program.c | 5 + + clutter/cogl/gl/cogl-texture-private.h | 12 +- + clutter/cogl/gl/cogl-texture.c | 3 +- + clutter/eglnative/clutter-backend-egl.c | 1 + + clutter/eglx/clutter-backend-egl.c | 1 + + clutter/fruity/clutter-backend-fruity.c | 1 + + clutter/glx/clutter-backend-glx.c | 1 + + clutter/osx/clutter-stage-osx.c | 1 + + clutter/sdl/clutter-backend-sdl.c | 3 +- + clutter/win32/clutter-backend-win32.c | 1 + + 26 files changed, 1003 insertions(+), 296 deletions(-) + +commit 04bb7899416063994af8730866f390e68ecc4d65 +Author: Øyvind Kolås +Date: Tue Jun 30 16:48:53 2009 +0100 + + [texture] fix load-async and load-data-async properties. + + Removed the G_PARAM_CONSTRUCT from the property registration of + "load-async" and "load-data-async". It made it impossible to use only + load-data-async, as the async loading state would be unset when + load-async got set it's default FALSE value. + + clutter/clutter-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 722360774ca4628c1589f5d6f09932faa0c8b711 +Author: Robert Bragg +Date: Mon Jun 22 00:58:32 2009 +0100 + + [clip-stack] Use signed integers while combining window space clip rectangles + + Use signed integers while combining window space clip rectangles, so we avoid + arithmatic errors later resulting in glScissor getting negative width and + height arguments. + + clutter/cogl/common/cogl-clip-stack.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit d63cda3b7620daa4e081e7023ce5d0afb5783b54 +Author: Robert Bragg +Date: Mon Jun 22 00:00:04 2009 +0100 + + [cogl] Remove unused ctx->polygon_vertices array + + This array used to be used by cogl_polygon but was changed to use + ctx->logged_vertices some time ago. + + clutter/cogl/gl/cogl-context.c | 4 ---- + clutter/cogl/gl/cogl-context.h | 1 - + 2 files changed, 5 deletions(-) + +commit 30f13cafc5fff69c7e31f3ead2df5d6c0282ec07 +Author: Robert Bragg +Date: Tue Jun 23 15:24:42 2009 +0100 + + [cogl] Give the default (fallback) texture a format of RGBA_8888_PRE + + Previously this was RGBA_8888. It souldn't really make a difference but for + consistency we expect almost all textures in use to have an internaly + premultiplied pixel format. + + clutter/cogl/gl/cogl-context.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 4680b34046aba7adfb958d2995d7e56fdcb3d473 +Author: Robert Bragg +Date: Fri Jun 19 16:39:37 2009 +0100 + + [cogl-texture] use the right format when downloading sliced textures from GL + + _cogl_texture_download_from_gl needs to create transient CoglBitmaps when + downloading sliced textures from GL, and then copies these as subregions + into the final target_bitmap. _cogl_texture_download_from_gl also supports + target_bitmaps with a different format to the source CoglTexture being + downloaded. + + The problem was that in the case of slice textures we were always looking + at the format of the CoglTexture, not of the target_bitmap when setting + up the transient slice bitmap. + + clutter/cogl/gl/cogl-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 24ca92951f739278697990fb25f351045d6ece9c +Author: Robert Bragg +Date: Wed Jun 17 14:30:44 2009 +0100 + + [cogl] Adds cogl_read_pixels to replace direct use of glReadPixels + + To allow for flushing of batched geometry within Cogl we can't support users + directly calling glReadPixels. glReadPixels is also awkward, not least + because it returns upside down image data. + + All the unit tests have been swithed over and clutter_stage_read_pixels now + sits on top of this too. + + clutter/clutter-stage.c | 44 +++------------------ + clutter/cogl/cogl.h.in | 33 ++++++++++++++++ + clutter/cogl/common/cogl.c | 56 +++++++++++++++++++++++++++ + doc/reference/cogl/cogl-sections.txt | 4 ++ + tests/conform/test-blend-strings.c | 16 +++++--- + tests/conform/test-premult.c | 14 ++++--- + tests/conform/test-vertex-buffer-contiguous.c | 28 ++++++++++---- + tests/conform/test-vertex-buffer-interleved.c | 9 +++-- + tests/conform/test-vertex-buffer-mutability.c | 13 +++++-- + 9 files changed, 151 insertions(+), 66 deletions(-) + +commit 27fff12a6a880241002cec3705da7af9905a20bf +Author: Robert Bragg +Date: Wed Jun 17 02:08:31 2009 +0100 + + [cogl matrix] Adds ability to dirty state cached by the client matrix apis + + To be able to load matrices to GL manually within Cogl we need a way to + dirty the state cached by the client matrix stack API. + + clutter/cogl/common/cogl-current-matrix.c | 15 +++++++++++++++ + clutter/cogl/common/cogl-current-matrix.h | 1 + + clutter/cogl/common/cogl-matrix-stack.c | 7 +++++++ + clutter/cogl/common/cogl-matrix-stack.h | 1 + + 4 files changed, 24 insertions(+) + +commit 26d5afd203ba393255fdc98cd980f65d014967c3 +Author: Robert Bragg +Date: Thu Jun 11 00:34:00 2009 +0100 + + [debug] Adds a "nop-picking" clutter debug option to NOP _clutter_do_pick() + + I've found this is something I do quite often when debugging rendering + problems since its a simple way to wipe out lots of geometry and removes a + lot of unpredictable noise when logging geometry passing through the Cogl + journal. + + clutter/clutter-debug.h | 3 ++- + clutter/clutter-main.c | 6 +++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + +commit 56bc54d2426e7ea4a092d4cae1792a124ce55600 +Author: Robert Bragg +Date: Tue Jun 16 22:48:21 2009 +0100 + + [cogl_polygon] fixes a buffer overrun and color format bug + + We were calculating our vertex stride and allocating our vertex array + differently depending on whether the user passed TRUE for use_color or not. + The problem was that we were always writting color data to the array + regardless of use_color. + + There was also a bug with _cogl_texture_sliced_polygon in that it was + writing byte color components but we were expecting float components. We + now use byte components in _cogl_multitexture_unsliced_polygon too and pass + GL_UNSIGNED_BYTE to glColorPointer. + + clutter/cogl/common/cogl-primitives.c | 40 ++++++++++++++++++++--------------- + 1 file changed, 23 insertions(+), 17 deletions(-) + +commit 060f1488e043c31b5c6841a719a5bc0cb7e8c30b +Author: Robert Bragg +Date: Tue Jun 16 00:45:44 2009 +0100 + + [test-cogl-tex-getset] Assume a premultiplied pixel format + + test-cogl-tex-getset was assuming it was dealing with + COGL_PIXEL_FORMAT_RGBA_8888 but since merging the premultiplcation branch + the pixel format is actually COGL_PIXEL_FORMAT_RGBA_8888_PRE + + tests/interactive/test-cogl-tex-getset.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 8f734ccbb48effa1b9f3057e26ac5eb40ef54930 +Author: Robert Bragg +Date: Wed Jun 17 15:03:33 2009 +0100 + + [vertex-buffer] Add cogl_vertex_buffer_indices_get_type API + + cogl_vertex_buffer_indices lets you query back the data type used for the + given indices handle. + + clutter/cogl/cogl-vertex-buffer.h | 11 +++++++++++ + clutter/cogl/common/cogl-vertex-buffer.c | 21 +++++++++++++++++++++ + 2 files changed, 32 insertions(+) + +commit 555159776b9146d86b0be8b224c4712cf67dcaa7 +Author: Robert Bragg +Date: Wed Jun 17 15:02:56 2009 +0100 + + [vertex-buffer] Remove the COGL_INDICES_TYPE_UNSIGNED_INT indicies type + + Since some embedded GPUs may not support 32bit integer indices we wont + include it until there is a particular need. + + clutter/cogl/cogl-vertex-buffer.h | 2 -- + 1 file changed, 2 deletions(-) + +commit a66f027c61c9dfd545c3ba4d9d104679bef2ec43 +Author: Damien Lespiau +Date: Thu Jun 25 16:06:41 2009 +0200 + + [cogl] Add COGL_HAS_GL and COGL_HAS_GLES + + Cogl already add similar defines but with the CLUTTER namespace + (CLUTTER_COGL_HAS_GL and CLUTTER_COGL_HAS_GLES). Let's just add two + similar defines with the COGL namespace. Removing the CLUTTER_COGL ones + could break applications silently for no real good reason. + + clutter/cogl/gl/cogl-defines.h.in | 1 + + clutter/cogl/gles/cogl-defines.h.in | 1 + + 2 files changed, 2 insertions(+) + +commit 30b5dac7c319ecedee7492b126bcb6e0c4b5928c +Author: Damien Lespiau +Date: Thu Jun 25 15:59:11 2009 +0200 + + [misc] Update headers #endif comments + + While grepping through the public headers looking for invalid use of + private HAVE_* defines, I stumbled upon two out of sync comments. Yes + it's a very minor trivial change. + + clutter/clutter-actor.h | 2 +- + clutter/clutter-color.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 81bc2b4cc7c755b825f55424be261a5120f4fc0c +Author: Emmanuele Bassi +Date: Mon Jun 29 16:34:49 2009 +0100 + + [actor] Remove unused clutter_actor_pick() + + The clutter_actor_pick() function just emits the ::pick signal + on the actor. Nobody should be using it, since the paint() method + is already context sensitive and will result in a ::pick emission + by itself. The clutter_actor_pick() is just confusing things. + + clutter/clutter-actor.c | 29 ----------------------------- + clutter/clutter-actor.h | 2 -- + clutter/clutter-deprecated.h | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 - + 4 files changed, 2 insertions(+), 32 deletions(-) + +commit bd668cf156bf54d2ad1cee8ea7cd0c13b02ea95f +Author: Emmanuele Bassi +Date: Mon Jun 29 16:33:07 2009 +0100 + + Add more debug notes inside the master clock + + clutter/clutter-master-clock.c | 20 +++++++++++++++----- + 1 file changed, 15 insertions(+), 5 deletions(-) + +commit 9e84e5203421c8a358fbcfe6f1eb6c70f95fd160 +Author: Emmanuele Bassi +Date: Tue Jun 23 15:45:42 2009 +0100 + + [docs] Update after the Input API changes + + doc/reference/clutter/clutter-sections.txt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 537ccc3cd94cb43740c622d5e65d62cbae062579 +Author: Emmanuele Bassi +Date: Tue Jun 23 15:25:16 2009 +0100 + + [docs] Add an initial porting guide + + The Clutter API reference should have a section on how to port + applications from older version of Clutter to the new API. + + The first guide deals on how to port animations created with + ClutterEffect to clutter_actor_animate(). + + doc/reference/clutter/Makefile.am | 6 +- + doc/reference/clutter/clutter-docs.xml.in | 16 ++- + doc/reference/clutter/migrating-ClutterEffect.xml | 137 ++++++++++++++++++++++ + 3 files changed, 154 insertions(+), 5 deletions(-) + +commit de745e93c99951baae16151c373ebc06a2571b59 +Author: Emmanuele Bassi +Date: Tue Jun 23 15:23:53 2009 +0100 + + [docs] Fix the ActorBox annotations + + The ClutterActorBox API is incorrectly annotated and gtk-doc is unable + to pick it up. + + clutter/clutter-actor.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 20f3c173fe10bee6d04814d08bfe21e23c294cf8 +Author: Neil Roberts +Date: Wed Jun 24 12:04:55 2009 +0100 + + [test-shader] Fix some of the shaders to use premultiplied colors + + Texture data is now in premultiplied format and the shader should + output a premultiplied color if the default blend mode is being + used. Shaders that directly manipulate the rgb values now + unpremultiply and premultiply again afterwards. + + tests/interactive/test-shader.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit e9d277609d81bd5198638b9565e1668ff8391235 +Author: Tim Horton +Date: Thu Jun 18 22:46:48 2009 -0400 + + Add element-type annotations for animate*v functions + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1653 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit c272a7b2a2a9817b3b4f67fafcefeb2b241b7eb0 +Author: Ole André Vadla Ravnås +Date: Thu Jun 18 23:53:46 2009 +0200 + + [master clock] Fix MT safety issues + + Fix MT issues when enabling threading in Clutter. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1655 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit ba6c0c27f9b796bbf6f81de1deab10877a287f37 +Author: Emmanuele Bassi +Date: Mon Jun 22 12:07:08 2009 +0100 + + [texture] Revert to integer parameters in ::size-change + + In the int-to-float switch for actor properties, the ::size-change signal + was moved to use floats instead of integers. Sub-pixel precision for image + size is meaningless, though, so we should revert it back to ints. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1659 + + clutter/clutter-texture.c | 96 ++++++++++++++++++++++++++--------------------- + 1 file changed, 53 insertions(+), 43 deletions(-) + +commit 8a1cf0cff4320b61cbede38b39e5b7ece6d24b08 +Author: Emmanuele Bassi +Date: Fri Jun 19 18:25:25 2009 +0100 + + Post-release bump to 0.9.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fdaaa8b6d701d2b43fd2750de1b018b5af5577ea +Author: Emmanuele Bassi +Date: Fri Jun 19 17:50:31 2009 +0100 + + [release] 0.9.4 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b833ed3c0d678e0fa65da8c602d946446d225f5d +Author: Emmanuele Bassi +Date: Tue Jun 16 16:42:41 2009 +0100 + + Update the NEWS file + + NEWS | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 78 insertions(+) + +commit 3d49edad85dd4756b4845b619abdfa76ecd4e469 +Author: Emmanuele Bassi +Date: Fri Jun 19 18:06:02 2009 +0100 + + [docs] Add new input-related accessors + + Add the ClutterEvent accessors for the device pointer and type, and + the ClutterInputDevice accessors for the id and type. + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit a79d6228aa75e5d27f4229c32950494629c81126 +Author: Emmanuele Bassi +Date: Fri Jun 19 16:38:35 2009 +0100 + + Remove the last few fixed-point entry points + + The last fixed-point entry points are just a few, and trivial. The + end user is expected to do the conversion using the CoglFixed type + and macros. + + clutter/clutter-behaviour-ellipse.c | 275 ++--------------------------- + clutter/clutter-behaviour-ellipse.h | 136 +++++--------- + clutter/clutter-behaviour-rotate.c | 96 ---------- + clutter/clutter-behaviour-rotate.h | 11 -- + clutter/clutter-behaviour-scale.c | 104 ----------- + clutter/clutter-behaviour-scale.h | 47 ++--- + clutter/clutter-deprecated.h | 20 +++ + clutter/clutter-timeline.c | 16 -- + clutter/clutter-timeline.h | 1 - + doc/reference/clutter/clutter-sections.txt | 16 -- + 10 files changed, 94 insertions(+), 628 deletions(-) + +commit cb4e5c90835e218247d3787c9df310b1fbdc7726 +Author: Emmanuele Bassi +Date: Fri Jun 19 15:12:32 2009 +0100 + + [x11] Simplify the XInput support + + Instead of using a specific function to check whether the X + server supports the XInput extension we can use the generic + Xlib function XQueryExtension(). This cuts down the extra + checks inside the configure.ac and simplifies the code inside + clutter_x11_register_xinput(). + + clutter/x11/clutter-backend-x11.c | 54 ++++++++++++++++++--------------------- + configure.ac | 41 ----------------------------- + 2 files changed, 25 insertions(+), 70 deletions(-) + +commit 21608fe5f7c7a7750b09a1cbd10d68027a425085 +Author: Emmanuele Bassi +Date: Fri Jun 19 14:32:37 2009 +0100 + + [x11] Add a command line switch for enabling XInput + + Currently, XInput support requires a function call. In order to + make it easier for people to test it, we can also add a command + line switch that moves the pointer device detection and handling + to XInput. This should ensure that, at least for people building + Clutter with --enable-xinput, applications can be easily migrated + and regressions can be caught. + + clutter/x11/clutter-backend-x11.c | 18 +++++++++++++----- + 1 file changed, 13 insertions(+), 5 deletions(-) + +commit 0ec541282acf7b9ea08217b154524013c93b7d95 +Author: Emmanuele Bassi +Date: Fri Jun 19 14:20:50 2009 +0100 + + [tests] Remove unneeded g_type_init() + + Now that we can safely check for an uninitialized Clutter we + don't have side effects in calling one of the functions like + clutter_x11_enable_xinput(), which require to be called before + any other Clutter function. + + tests/interactive/test-devices.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a6b469736770d2c2ea25b582196bd221ce85721e +Author: Emmanuele Bassi +Date: Fri Jun 19 14:19:39 2009 +0100 + + [backend] Do not store the stage manager singleton + + The StageManager singleton instance is already kept around + by the clutter_stage_manager_get_default() function; there is + no need to have it inside the main Clutter context as well. + + clutter/clutter-backend.c | 9 +++------ + clutter/clutter-private.h | 1 - + clutter/x11/clutter-backend-x11.c | 5 +---- + 3 files changed, 4 insertions(+), 11 deletions(-) + +commit b6e404a40605bc94ad429e5d64325286a381275e +Author: Emmanuele Bassi +Date: Fri Jun 19 14:12:36 2009 +0100 + + [x11] Use _clutter_context_is_initialized() + + Instead of using _clutter_context_get_default() and checking the + is_initialized flag, we should use the newly added private function + that does not cause side effects, especially for functions that have + to be called before any other Clutter function. + + clutter/x11/clutter-backend-x11.c | 22 ++++++++-------------- + 1 file changed, 8 insertions(+), 14 deletions(-) + +commit b5f4befeaa2d1944c7623a31f8a8ccaae200b640 +Author: Emmanuele Bassi +Date: Fri Jun 19 14:09:42 2009 +0100 + + Allow checking initialization without side-effects + + The _clutter_context_get_default() function will automatically + create the main Clutter context; if we just want to check whether + Clutter has been initialized this will complicate matters, by + requiring a call to g_type_init() inside the client code. + + Instead, we should simply provide an internal API that checks + whether the main Clutter context exists and if it has been + initialized, without any side effect. + + clutter/clutter-main.c | 13 +++++++++++-- + clutter/clutter-private.h | 1 + + 2 files changed, 12 insertions(+), 2 deletions(-) + +commit 184df2a5fa34375cff8cde5318ba46bdbd7c3026 +Author: Emmanuele Bassi +Date: Fri Jun 19 13:07:20 2009 +0100 + + [input] Rework input device API + + The input device API is split halfway thorugh the backends in a very + weird way. The data structures are private, as they should, but most + of the information should be available in the main API since it's + generic enough. + + The device type enumeration, for instance, should be common across + every backend; the accessors for device type and id should live in the + core API. The internal API should always use ClutterInputDevice and + not the private X11 implementation when dealing with public structures + like ClutterEvent. + + By adding accessors for the device type and id, and by moving the + device type enumeration into the core API we can cut down the amount + of symbols private and/or visible only to the X11 backends; this way + when other backends start implementing multi-pointer support we can + share the same API across the code. + + clutter/clutter-event.c | 147 +++++++++++++++++++++- + clutter/clutter-event.h | 95 +++++++++----- + clutter/clutter-main.c | 35 ------ + clutter/clutter-private.h | 3 + + clutter/x11/clutter-backend-x11.c | 252 +++++++++++++++++++------------------- + clutter/x11/clutter-backend-x11.h | 2 +- + clutter/x11/clutter-event-x11.c | 39 +++--- + clutter/x11/clutter-x11.h | 10 +- + tests/interactive/test-devices.c | 60 +++++---- + 9 files changed, 392 insertions(+), 251 deletions(-) + +commit 3653a9a64d1666f05a256d96ef5741144459b686 +Author: Damien Lespiau +Date: Mon Jun 15 14:15:27 2009 +0100 + + Public headers should not have #ifdefs relying on private defines + + HAVE_COGL_GLES2 is defined in config.h through the configure script and + should not be used in public headers. + + The patch makes configure generate the right define that can be used + later in the header. + + clutter/cogl/gles/cogl-defines.h.in | 6 ++++-- + configure.ac | 3 +++ + 2 files changed, 7 insertions(+), 2 deletions(-) + +commit c6fba47a5229b7d52f2ff7e78c6cff52ce2069c2 +Author: Emmanuele Bassi +Date: Wed Jun 17 17:59:54 2009 +0100 + + Hide clutter_context_get_default() + + The clutter_context_get_default() function is private, but shared + across Clutter. For this reason, it should be prefixed by '_' so + that the symbol is hidden from the shared object. + + clutter/clutter-actor.c | 13 +++---- + clutter/clutter-backend.c | 8 ++--- + clutter/clutter-event.c | 10 +++--- + clutter/clutter-feature.c | 4 +-- + clutter/clutter-main.c | 61 +++++++++++++++++---------------- + clutter/clutter-private.h | 4 +-- + clutter/clutter-stage.c | 5 +-- + clutter/clutter-texture.c | 2 +- + clutter/eglnative/clutter-event-egl.c | 2 +- + clutter/fruity/clutter-backend-fruity.c | 8 +++-- + clutter/fruity/clutter-fruity.c | 2 +- + clutter/sdl/clutter-event-sdl.c | 2 +- + clutter/win32/clutter-backend-win32.c | 4 +-- + clutter/win32/clutter-event-win32.c | 6 ++-- + clutter/win32/clutter-stage-win32.c | 10 +++--- + clutter/x11/clutter-backend-x11.c | 16 ++++----- + clutter/x11/clutter-event-x11.c | 4 +-- + clutter/x11/clutter-stage-x11.c | 14 ++++---- + 18 files changed, 87 insertions(+), 88 deletions(-) + +commit 8c676ebd872b65e84896f5390b7642416fcb1040 +Author: Emmanuele Bassi +Date: Wed Jun 17 15:43:53 2009 +0100 + + Remove an unusued member from MainContext + + The MainContext structure has a field for the master clock, but + clutter_master_clock_get_default() will return the same instance + from everywhere. + + clutter/clutter-main.c | 2 -- + clutter/clutter-private.h | 1 - + 2 files changed, 3 deletions(-) + +commit 1aa8c89f2c18e01e9f36338c0609f58caaa90c3a +Author: Matthew Allum +Date: Wed Jun 17 15:09:16 2009 +0100 + + [XInput] Get XInput working again. + + Check for distros shipping out of sync header vs libXi, + call in g_type_init() in test-devices, fix ifdef so + XInput events get correctly selected. + + clutter/glx/clutter-stage-glx.c | 2 +- + configure.ac | 13 ++++++++++--- + tests/interactive/test-devices.c | 2 ++ + 3 files changed, 13 insertions(+), 4 deletions(-) + +commit 3035092edba837593ff753817b3d8807a83555aa +Author: Emmanuele Bassi +Date: Tue Jun 16 18:08:52 2009 +0100 + + Do not use the --pkd switch for g-ir-scanner + + Revert commit 8aacff0e0f38d2cdfae841f6a154baa793ea7739 + + clutter/Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +commit c4716d78d0ee874115e970666ba7739f1829b90e +Author: Emmanuele Bassi +Date: Tue Jun 16 16:42:07 2009 +0100 + + [docs] Update the backends hacking reference + + HACKING.backends | 2 -- + 1 file changed, 2 deletions(-) + +commit 29ab2691166a2417733fef527845e9877e627186 +Author: Emmanuele Bassi +Date: Tue Jun 16 16:41:46 2009 +0100 + + [docs] Update the release notes + + README | 40 ++++++++++++++++++++++++++++++++++++---- + 1 file changed, 36 insertions(+), 4 deletions(-) + +commit 5e098c388668fe3ee3f08b28e73a9a4120216993 +Author: Emmanuele Bassi +Date: Tue Jun 16 16:41:29 2009 +0100 + + [docs] Update the HACKING file + + HACKING | 52 +++++++--------------------------------------------- + 1 file changed, 7 insertions(+), 45 deletions(-) + +commit 8aacff0e0f38d2cdfae841f6a154baa793ea7739 +Author: Emmanuele Bassi +Date: Tue Jun 16 16:40:36 2009 +0100 + + [introspection] Add --pkg switch pointing at Clutter + + Add a element pointing to Clutter's pkg-config + file name. + + clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 9f83e7dc2ee855dbbb8cb7de8b7a42d43dd485b0 +Author: Emmanuele Bassi +Date: Tue Jun 16 16:38:01 2009 +0100 + + [stage] Remove an assertion + + We might get a size request on destruction, so it should be safe + to avoid an assertion failure because we don't have the stage + implementation anymore. + + clutter/clutter-stage.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 4bed539b215d2504977aa6cee739854b7ca612d8 +Author: Emmanuele Bassi +Date: Tue Jun 16 16:30:41 2009 +0100 + + Add more ActorBox utility methods + + ActorBox should have methods for easily extracting the X and Y + coordinates of the origin, and the width and height separately. + + These methods will make it easier for high-level language bindings + to manipulate ActorBox instances and avoid the Geometry type. + + clutter/clutter-actor.c | 72 ++++++++++++++++++++++++++++++ + clutter/clutter-types.h | 4 ++ + doc/reference/clutter/clutter-sections.txt | 4 ++ + 3 files changed, 80 insertions(+) + +commit 9ed2a47db1818322c8ef8a93aa8654c1ab1e7ef6 +Author: Emmanuele Bassi +Date: Tue Jun 16 13:48:11 2009 +0100 + + [doap] Add branches for past releases + + clutter.doap | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 275f292ab9ac2961695d0596d9fe5b172f7470c7 +Author: Emmanuele Bassi +Date: Tue Jun 16 12:47:19 2009 +0100 + + Add accessors for the boxed types + + The Vertex and ActorBox boxed types are meant to be used across + the API, but are fairly difficult to bind. Their memory management + is also unclear, and has to go through the indirection of + g_boxed_copy() and g_boxed_free(). + + clutter/clutter-actor.c | 391 +++++++++++++++++++++++------ + clutter/clutter-actor.h | 47 +--- + clutter/clutter-deprecated.h | 2 + + clutter/clutter-types.h | 90 +++++-- + doc/reference/clutter/clutter-sections.txt | 24 +- + 5 files changed, 417 insertions(+), 137 deletions(-) + +commit 63c84c46f8c4e2c1e0c6654d016912dc3bbaefc5 +Author: Colin Walters +Date: Tue Jun 16 10:34:13 2009 -0400 + + Plug minor memory leak in cogl_vertex_buffer_submit_real + + Free a temporary list. + + clutter/cogl/common/cogl-vertex-buffer.c | 1 + + 1 file changed, 1 insertion(+) + +commit f8e956548235116de18558c86470b16555149122 +Author: Emmanuele Bassi +Date: Mon Jun 15 15:08:59 2009 +0100 + + [tests] Beautify the bouncing actor + + The test-easing interactive demo for the high-level animation API + is a bit "flat". Instead of using a Rectangle actor we should + probably be using something more "interesting" -- like a CairoTexture + with a gradient. + + tests/interactive/test-easing.c | 72 ++++++++++++++++++++++++++++++++--------- + 1 file changed, 56 insertions(+), 16 deletions(-) + +commit f95f4ba3cb02b0f4d0aefcd19d18a1af0ba81707 +Author: Neil Roberts +Date: Mon Jun 15 12:41:13 2009 +0100 + + [ClutterCairoTexture] Use the right component ordering when uploading data + + Cairo stores the image data in ARGB native byte order so we need to + upload this as BGRA on little endian architectures and ARGB on big + endian. ClutterTexture doesn't currently expose any flags to describe + ARGB format so until we can fix the Clutter API it now uses the Cogl + API directly. + + clutter/clutter-cairo-texture.c | 46 +++++++++++++++++++++++++++-------------- + 1 file changed, 30 insertions(+), 16 deletions(-) + +commit c6b4ea8b442af4e6bfa0e5961685b58c23595e32 +Author: Emmanuele Bassi +Date: Mon Jun 15 11:50:23 2009 +0100 + + [cairo-texture] Clean up and whitespace fixes + + Simple clean up of the CairoTexture to remove unneeded checks, + redundant variables and white space. + + clutter/clutter-cairo-texture.c | 34 ++++++++++++++++------------------ + 1 file changed, 16 insertions(+), 18 deletions(-) + +commit 9799750c0338218a542334c9f4dbf2177beafa4f +Author: Emmanuele Bassi +Date: Mon Jun 15 10:53:43 2009 +0100 + + [animation] Rework animation chaining + + In order to chain up animations using clutter_actor_animate() and + friends you have to use an idle handler that guarantees that the + main loop spins at least once after the animation pointer has been + detached from the actor. + + This has several drawbacks, first and foremost the fact that the + slice of the main loop for the idle handler might be starved by + other operations, like redrawing. This inevitably leads to tricks + with priorities and the like, contributing to the overall complexity. + + Instead, we should guarantee that the animation instance created by + clutter_actor_animate() is valid for the ::completed signal until + it reaches its default handler; after that, the animation is detached + from the actor and destroyed. This means that it's possible to + create a new animation after the first is complete by simply using + g_signal_connect_after(). + + This unfortunately makes it impossible to keep a reference to the + animation pointer attached to the actor by using g_object_ref(); a + way to "fix" this would be to have a clutter_animation_attach() + and a clutter_animation_detach() pair of methods that allow attaching + any animation to an actor. This might overcomplicate what it is + the simple animation API, though, so it's currently not implemented + and left for future versions. + + The test-easing interactive demo has been modified to show how + the animation queuing works by adding a command line switch that + recenters the animated actor once the first animation has ended. + + clutter/clutter-animation.c | 252 ++++++++++++---------------------------- + tests/interactive/test-easing.c | 53 ++++++++- + 2 files changed, 126 insertions(+), 179 deletions(-) + +commit 612d1cded77c07b6a4884e5ec3c0bf5b8929bff9 +Author: Emmanuele Bassi +Date: Mon Jun 15 11:24:54 2009 +0100 + + [animation] Allow swapped/after signal variants + + Continuing in the tradition on making clutter_actor_animate() the + next g_object_connect(), here's the addition of the signal-after:: + and signal-swapped:: modifiers for the automagic signal connection + arguments. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1646 + + clutter/clutter-animation.c | 47 ++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 44 insertions(+), 3 deletions(-) + +commit 0415d62d40b728e328042eb6c1c3f60c92dd2909 +Author: Emmanuele Bassi +Date: Mon Jun 15 10:48:56 2009 +0100 + + Disable single header inclusion for GLib + + In order to be ready for the next major version of GLib we need to + disable single header inclusion by using the G_DISABLE_SINGLE_INCLUDES + define in the build process. + + clutter/Makefile.am | 1 + + clutter/cogl/common/Makefile.am | 1 + + clutter/cogl/gl/Makefile.am | 1 + + clutter/cogl/gles/Makefile.am | 1 + + clutter/json/Makefile.am | 1 + + clutter/pango/Makefile.am | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-clutter-rectangle.c | 2 +- + tests/interactive/Makefile.am | 9 +++++++-- + tests/micro-bench/Makefile.am | 1 + + 10 files changed, 16 insertions(+), 3 deletions(-) + +commit e6a987d670cce4e6ce99529f1ef0b227dd237edd +Author: Owen W. Taylor +Date: Thu Jun 11 18:56:27 2009 -0400 + + Fix redraw queueing in the presence of cloning + + We can't short-circuit the emission of ::queue-redraw for not-visible + actors, since ClutterClone uses that signal to know when things need + to be redrawn. + + Calling clutter_actor_queue_redraw() out of clutter_actor_real_map() / + clutter_actor_real_unmap() was causing the flag state to get set + incorrectly from _clutter_actor_set_enable_paint_unmapped(), because + a paint queueing a redraw was not expected. + + Moving queuing the redraw to clutter_actor_hide()/show() fixes this, and + also fixes a problem where showing a child of a cloned actor wouldn't + cause the clone to be repainted. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1484 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 25 +++++++++++++------------ + 1 file changed, 13 insertions(+), 12 deletions(-) + +commit abac520f0c081c3c4c986d50ff42a297dd6e8ccd +Author: Emmanuele Bassi +Date: Fri Jun 12 03:46:38 2009 +0100 + + [tests] Add unit for Clone behaviour + + A clone actor should not modify the state of its source, so we need + to check that it's not breaking any invariant. + + .gitignore | 2 ++ + tests/conform/test-actor-invariants.c | 34 ++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 37 insertions(+) + +commit 795e005566f2055999e226da8a34f50890c71c25 +Author: Owen W. Taylor +Date: Thu Jun 11 18:46:44 2009 -0400 + + Fix handling of not-visible texture pixmaps + + If we have an not-visible texture pixmap, we need to: + + - Still update it if it is realized, since it won't be + updated when shown. And it might be also be cloned. + + - Queue a redraw if even if not visible, since it + it might be cloned. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1647 + + Signed-off-by: Emmanuele Bassi + + clutter/glx/clutter-glx-texture-pixmap.c | 2 -- + clutter/x11/clutter-x11-texture-pixmap.c | 3 --- + 2 files changed, 5 deletions(-) + +commit b9a53d379d3aaca4b09a90cd44d5a9d9736a2435 +Author: Damien Lespiau +Date: Sun Jun 14 01:16:30 2009 +0100 + + [gitignore] ignore TAGS and new test + + * ignore files generated by make tags + * ignore the newly introduced premult test + + .gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit 0dfc1dd284ea698ed6d3d814d12a5e5b7bff7095 +Author: Neil Roberts +Date: Fri Jun 12 11:05:26 2009 +0100 + + [test-cogl-tex-tile] Fix breakages from ClutterFixed removal and timelines + + The test has been broken since the change to use floats instead of + fixed point because it was passing degrees to sin and cos but they + expect radians. + + It was further broken since the timeline changes because it was + directly using the parameter of the new-frame signal as a frame number + but it now represents the elapsed time. + + tests/interactive/test-cogl-tex-tile.c | 31 ++++++++++++++----------------- + 1 file changed, 14 insertions(+), 17 deletions(-) + +commit 9d829957737fc016033e80c33593d2cc8daa0f4c +Author: Robert Bragg +Date: Mon Jun 8 17:43:34 2009 +0100 + + [_cogl_texture_bitmap_prepare] use bitmap format for FORMAT_ANY + no alpha + + My patch to choose a premultiplied format when the user gives + COGL_PIXEL_FORMAT_ANY for the internal_format broke the case where the data + in question doesn't have and alpha channel. + + This was accidentally missed when merging the premultiplication branch + since I merged a local version of the branch that missed this commit. + + clutter/cogl/gl/cogl-texture.c | 2 ++ + clutter/cogl/gles/cogl-texture.c | 2 ++ + 2 files changed, 4 insertions(+) + +commit 6414adbfeb696282c5e5ca0eb47a77caf3309d92 +Author: Emmanuele Bassi +Date: Thu Jun 11 16:59:50 2009 +0100 + + [tests] Fix the cogl_polygon() interactive test + + We need to premultiply the alpha, and we also need to change the + frame painting to use the frame-less Timeline. + + tests/interactive/test-cogl-tex-polygon.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit a8fc4e1694a5faef75d3b962640c87b057bef322 +Author: Emmanuele Bassi +Date: Thu Jun 11 16:53:52 2009 +0100 + + [tests] Fix the VBO interactive test + + We need to fix the VBO premultiplication; we also do not need to + forcibly queue a redraw in an idle handler: the timeline and the + master clock will do that for us. + + tests/interactive/test-cogl-vertex-buffer.c | 26 ++++++++------------------ + 1 file changed, 8 insertions(+), 18 deletions(-) + +commit 19f112f9bca3077cc946acb828bd681b3ddf1b7c +Author: Emmanuele Bassi +Date: Thu Jun 11 16:23:26 2009 +0100 + + [tests] Update test-actors (and clones) + + The test-actors test (and its clones, test-actor-clone and + test-paint-wrapper) was written a long time ago for a different API + and has been tweaked to bits. We should probably have something a + little bit more complicated, but at least we should not use semantics + and coding patterns from Clutter 0.2, otherwise we won't be testing + anything except that Clutter 0.2 worked. + + tests/interactive/test-actor-clone.c | 63 ++++----- + tests/interactive/test-actors.c | 56 ++++---- + tests/interactive/test-paint-wrapper.c | 247 +++++++++++++++++---------------- + 3 files changed, 181 insertions(+), 185 deletions(-) + +commit 71b62e75d24eeee15c6522e6d67f6439fb1315c5 +Author: Robert Bragg +Date: Mon Jun 8 12:18:34 2009 +0100 + + [cogl] Don't allow calling cogl_set_source_texture with an INVALID_HANDLE + + Although the underlying materials should allow layers with INVALID_HANDLES + it shouldn't be necissary to expose that via cogl_set_source_texture() and + it's easier to resolve a warning/crash here than odd artefacts/crashes later + in the pipeline. + + clutter/cogl/common/cogl-material.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 96827db74089054763c596e28aa180bc0fb1b7c5 +Merge: eb5539742 ec77b9139 +Author: Robert Bragg +Date: Thu Jun 11 15:16:27 2009 +0100 + + Bug 1406 - Handling of premultiplication in clutter + + Merge branch 'premultiplication' + + [cogl-texture docs] Improves the documentation of the internal_format args + [test-premult] Adds a unit test for texture upload premultiplication semantics + [fog] Document that fogging only works with opaque or unmultipled colors + [test-blend-strings] Explicitly request RGBA_888 tex format for test textures + [premultiplication] Be more conservative with what data gets premultiplied + [bitmap] Fixes _cogl_bitmap_fallback_unpremult + [cogl-bitmap] Fix minor copy and paste error in _cogl_bitmap_fallback_premult + Avoid unnecesary unpremultiplication when saving to local data + Don't unpremultiply Cairo data + Default to a blend function that expects premultiplied colors + Implement premultiplication for CoglBitmap + Use correct texture format for pixmap textures and FBO's + Add cogl_color_premultiply() + +commit ec77b9139820207962ba38b3cd2ecc491144592f +Author: Robert Bragg +Date: Thu Jun 11 14:31:01 2009 +0100 + + [cogl-texture docs] Improves the documentation of the internal_format args + + Clarifies that if you give COGL_PIXEL_FORMAT_ANY as the internal format for + cogl_texture_new_from_file or cogl_texture_new_from_data then Cogl will + choose a premultiplied internal format. + + clutter/cogl/cogl-texture.h | 16 ++++++++++++++-- + 1 file changed, 14 insertions(+), 2 deletions(-) + +commit 41579eb3c9d7243d41754e38d30f1d8ad20958fd +Author: Robert Bragg +Date: Sun Jun 7 16:31:12 2009 +0100 + + [test-premult] Adds a unit test for texture upload premultiplication semantics + + cogl_texture_new_from_data lets you specify a source format for the users given + data, and an internal format which the user wants the GPU to see. This unit + test verifies that the users data is premultiplied, un-premultiplied or + left alone for a number of (source format, internal format) pairs. + + cogl_texture_set_region allows specifying a source format, and the internal + format is determined from the texture being updated. As above we test + a number of format pairs and check Cogl is converting data correctly. + + The test verifies that if the user allows COGL_FORMAT_ANY for the + internal_format then by default Cogl will choose a premultipled format for + RGBA textures. + + Note: Currently this only tests cogl_texture_new_from_data and + cogl_texture_set_region, we should also test cogl_texture_new_from_file, + cogl_texture_new_from_bitmap and cogl_texture_new_from_foreign. + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-premult.c | 388 ++++++++++++++++++++++++++++++++++++++ + 3 files changed, 390 insertions(+) + +commit 70636b4815283136ca5d878b6e39e12337c4f9ed +Author: Robert Bragg +Date: Sun Jun 7 11:54:05 2009 +0100 + + [fog] Document that fogging only works with opaque or unmultipled colors + + The fixed function fogging provided by OpenGL only works with unmultiplied + colors (or if the color has an alpha of 1.0) so since we now premultiply + textures and colors by default a note to this affect has been added to + clutter_stage_set_fog and cogl_set_fog. + + test-depth.c no longer uses clutter_stage_set_fog for this reason. + + In the future when we can depend on fragment shaders we should also be + able to support fogging of premultiplied primitives. + + clutter/clutter-stage.c | 10 ++++++++++ + clutter/cogl/cogl.h.in | 23 ++++++++++++++++------- + tests/interactive/test-depth.c | 3 --- + 3 files changed, 26 insertions(+), 10 deletions(-) + +commit 80aceda9bb3fde41827cb35bec98ba523a095b0f +Author: Robert Bragg +Date: Sat Jun 6 21:55:05 2009 +0100 + + [test-blend-strings] Explicitly request RGBA_888 tex format for test textures + + This test assumes that the textures will be stored internally with exactly + the color given so that specific texture combining arithmetic can be + tested. Using COGL_PIXEL_FORMAT_ANY allows Cogl to internally premultiply + the textures, so we have to explicitly request an unmultiplied format. + + tests/conform/test-blend-strings.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit a9b011f3edc9730f60280e38bf2164f1c2dd95a9 +Author: Robert Bragg +Date: Sat Jun 6 21:45:05 2009 +0100 + + [premultiplication] Be more conservative with what data gets premultiplied + + We don't want to force texture data to be premultipled if the user + explicitly specifies a non premultiplied internal_format such as + COGL_PIXEL_FORMAT_RGBA_8888. So now Cogl will only automatically + premultiply data when COGL_PIXEL_FORMAT_ANY is given for the + internal_format, or a premultiplied internal format such as + COGL_PIXEL_FORMAT_RGBA_8888_PRE is requested but non-premultiplied source + data is given. + + This approach is consistent with OpenVG image formats which have already + influenced Cogl's pixel format semantics. + + clutter/cogl/gl/cogl-texture.c | 24 +++++++++++------------- + clutter/cogl/gles/cogl-texture.c | 24 +++++++++++------------- + 2 files changed, 22 insertions(+), 26 deletions(-) + +commit 9d3aa576045ce0aea51ef767b74596bb4582570f +Author: Robert Bragg +Date: Sun Jun 7 15:58:56 2009 +0100 + + [bitmap] Fixes _cogl_bitmap_fallback_unpremult + + The _cogl_unpremult_alpha_{first,last} functions which + _cogl_bitmap_fallback_unpremult depends on were incorrectly casting each + of the byte components of a texel to a gulong and performing shifts as + if it were dealing with the whole texel. + + It now just uses array indexing to access the byte components without + needing to cast or manually shift any bits around. + + Even though we used to depend on unpremult whenever we used a + ClutterCairoTexture, clutter_cairo_texture_context_destroy had it's own + unpremult code which worked which is why this bug wouldn't have been noticed + before. + + clutter/cogl/common/cogl-bitmap-fallback.c | 60 +++++++++++++++--------------- + 1 file changed, 30 insertions(+), 30 deletions(-) + +commit cb959ef457a670a5e827963d4a85f6c732993295 +Author: Robert Bragg +Date: Sun Jun 7 20:29:13 2009 +0100 + + [cogl-bitmap] Fix minor copy and paste error in _cogl_bitmap_fallback_premult + + The returned bitmap format should include the COGL_PREMULT_BIT flag not + have it explicitly removed as for _cogl_bitmap_fallback_unpremult. + + clutter/cogl/common/cogl-bitmap-fallback.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5e18cee77ab0167a000bb3af8a7c047357141177 +Author: Owen W. Taylor +Date: Sat May 9 14:39:01 2009 -0400 + + Avoid unnecesary unpremultiplication when saving to local data + + Now that we typically have premultiplied data stored in Cogl + textures, when fetching a texture into local data for temporary + storage, use a premultiplied format to avoid an unpremultiply/ + premultiply roundtrip. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1406 + + Signed-off-by: Robert Bragg + + clutter/clutter-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 1e5b5d10c5608efa411afcb8e032c5e956325249 +Author: Owen W. Taylor +Date: Thu Jun 4 13:45:43 2009 -0400 + + Don't unpremultiply Cairo data + + Instead of unpremultiplying the Cairo data, pass it directly to Cogl + in premultiplied form; we now *prefer* premultiplied data. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1406 + + Signed-off-by: Robert Bragg + + clutter/clutter-cairo-texture.c | 58 +++++++---------------------------------- + 1 file changed, 9 insertions(+), 49 deletions(-) + +commit c3448314d59a855a7dfaa47d68c3fa3531eee4ce +Author: Owen W. Taylor +Date: Sat May 9 14:39:01 2009 -0400 + + Default to a blend function that expects premultiplied colors + + Many operations, like mixing two textures together or alpha-blending + onto a destination with alpha, are done most logically if texture data + is in premultiplied form. We also have many sources of premultiplied + texture data, like X pixmaps, FBOs, cairo surfaces. Rather than trying + to work with two different types of texture data, simplify things by + always premultiplying texture data before uploading to GL. + + Because the default blend function is changed to accommodate this, + uses of pure-color CoglMaterial need to be adapted to add + premultiplication. + + gl/cogl-texture.c gles/cogl-texture.c: Always premultiply + non-premultiplied texture data before uploading to GL. + + cogl-material.c cogl-material.h: Switch the default blend functions + to ONE, ONE_MINUS_SRC_ALPHA so they work correctly with premultiplied + data. + + cogl.c: Make cogl_set_source_color() premultiply the color. + + cogl.h.in color-material.h: Add some documentation about + premultiplication and its interaction with color values. + + cogl-pango-render.c clutter-texture.c tests/interactive/test-cogl-offscreen.c: + Use premultiplied colors. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1406 + + Signed-off-by: Robert Bragg + + clutter/clutter-texture.c | 3 ++- + clutter/cogl/cogl-material.h | 10 ++++++++++ + clutter/cogl/cogl.h.in | 9 +++++++-- + clutter/cogl/common/cogl-material.c | 2 +- + clutter/cogl/common/cogl.c | 7 ++++++- + clutter/cogl/gl/cogl-texture.c | 22 ++++++++++++---------- + clutter/cogl/gles/cogl-texture.c | 23 +++++++++++++---------- + clutter/pango/cogl-pango-display-list.c | 5 ++++- + clutter/pango/cogl-pango-render.c | 18 +++++++++++------- + tests/interactive/test-cogl-offscreen.c | 2 +- + 10 files changed, 67 insertions(+), 34 deletions(-) + +commit 888a26199918f84d6f444910f49db8cc321296f3 +Author: Owen W. Taylor +Date: Sat May 9 14:39:01 2009 -0400 + + Implement premultiplication for CoglBitmap + + cogl-bitmap.c cogl-bitmap-pixbuf.c cogl-bitmap-fallback.c cogl-bitmap-private.h: + Add _cogl_bitmap_can_premult(), _cogl_bitmap_premult() and implement + a reasonably fast implementation in the "fallback" code. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1406 + + Signed-off-by: Robert Bragg + + clutter/cogl/common/cogl-bitmap-fallback.c | 93 ++++++++++++++++++++++++++++++ + clutter/cogl/common/cogl-bitmap-pixbuf.c | 13 +++++ + clutter/cogl/common/cogl-bitmap-private.h | 14 +++++ + clutter/cogl/common/cogl-bitmap.c | 26 +++++++-- + 4 files changed, 140 insertions(+), 6 deletions(-) + +commit 4dcd5f6134f62bf1d5988cea7479b14c896190fd +Author: Owen W. Taylor +Date: Sat May 9 14:39:01 2009 -0400 + + Use correct texture format for pixmap textures and FBO's + + RGBA data in X pixmaps and in FBOs is already premultiplied; use + the right format when creating cogl textures. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1406 + + Signed-off-by: Robert Bragg + + clutter/clutter-texture.c | 4 ++-- + clutter/glx/clutter-glx-texture-pixmap.c | 6 ++++-- + clutter/x11/clutter-x11-texture-pixmap.c | 6 ++++-- + 3 files changed, 10 insertions(+), 6 deletions(-) + +commit f90017ab4ef69d1275f726f4a8a272bfae3cb5a7 +Author: Owen W. Taylor +Date: Sat May 9 14:39:01 2009 -0400 + + Add cogl_color_premultiply() + + Add a convenience function to convert an ARGB color from + non-premultiplied to premultiplied form. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1406 + + Signed-off-by: Robert Bragg + + clutter/cogl/cogl-color.h | 12 ++++++++++++ + clutter/cogl/common/cogl-color.c | 8 ++++++++ + 2 files changed, 20 insertions(+) + +commit eb55397423181272914c4bdb861eb55b72808dc6 +Author: Emmanuele Bassi +Date: Thu Jun 11 13:24:34 2009 +0100 + + [build] Fix distcheck for the json-glib internal copy + + Since commit d743aeaa updated the internal copy of JSON-GLib and + added a new private header file, we need to fix the build to avoid + a distcheck failure. + + clutter/json/Makefile.am | 12 +++++++----- + 1 file changed, 7 insertions(+), 5 deletions(-) + +commit 61c45da90a489a619b6e99b6a93f12c5192d306a +Merge: cd08dc632 e60584ea6 +Author: Emmanuele Bassi +Date: Thu Jun 11 13:01:34 2009 +0100 + + Bug 1637 - Master clock improvements + + Merge branch 'master-clock-updates' + + * master-clock-updates: (22 commits) + Change the paint forcing on the Text cache text + [timelines] Improve marker hit check and don't fudge the delta + Revert "[timeline] Don't clamp the elapsed time when a looping tl reaches the end" + [tests] Don't add a newline to the end of g_test_message calls + [test-timeline] Add a marker at the beginning of the timeline + [timeline] Don't clamp the elapsed time when a looping tl reaches the end + [master-clock] Throttle if no redraw was performed + [docs] Update Clutter's API reference + Force a paint instead of calling clutter_redraw() + Fix clutter_redraw() to match the redraw cycle + Run the repaint functions inside the redraw cycle + Remove useless manual timeline ticking + Move elapsed-time calculations into ClutterTimeline + Limit the frame rate when not syncing to VBLANK + Decrease the main-loop priority of the frame cycle + Avoid motion-compression in test-picking test + Compress events as part of the frame cycle + Remove stage update idle and do updates from the master clock + Call g_main_context_wakeup() when we start running timelines + Remove unused msecs_delta member + ... + +commit cd08dc6327d5c1eb5342c49b222ad00feaa9c449 +Author: Emmanuele Bassi +Date: Thu Jun 11 12:36:41 2009 +0100 + + [tests] Fix a segfault in the binding-pool test + + The commit that moved all the properties to floats missed the + test-binding-pool interactive test. + + tests/interactive/test-binding-pool.c | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit e60584ea6f7db76974b18789c9b90aaeeedf072a +Author: Emmanuele Bassi +Date: Wed Jun 10 18:10:32 2009 +0100 + + Change the paint forcing on the Text cache text + + The changes in the master clock and the repaint cycle have been + changed, and broke the way the test for the Text actor cache of + PangoLayouts forces a redraw. + + We have to call clutter_actor_paint() on the Stage embedding the + Text actor we want to test; this is kinda fugly because if the + Layout has changed it will end up causing a reallocation cycle + in the middle of the Text actor paint. Since it's a test case, + and since forcing redraws is a bit of a hack as well, we can + close both our eyes on that. + + tests/conform/test-text-cache.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit f1000db3caa450e4917b48d3c4f69bea5a255197 +Author: Neil Roberts +Date: Thu Jun 11 12:14:53 2009 +0100 + + [timelines] Improve marker hit check and don't fudge the delta + + Markers added at the start of the timeline need to be special cased + because we effectively check whether the marker time is greater than + the old frame time or less than or equal to the new frame time but we + never actually emit a frame for the start of the timeline. + + If the timeline is looping then it adjusts the position to interpolate + a wrapped around position. However we do not emit a new frame after + setting this position so we need to check for markers again there. + + clutter_timeline_get_delta should return the actual wall clock time + between emissions of the new-frame signal - even if the elapsed time + has been fudged at the end of the timeline. To make this work it no + longer directly manipulates priv->msecs_delta but instead passes a + delta value to check_markers. + + clutter/clutter-timeline.c | 102 +++++++++++++++++++++++++++++++++++++-------- + 1 file changed, 85 insertions(+), 17 deletions(-) + +commit bf0c21e0154a9666d5be2be18cf93f3a5119953c +Author: Tommi Komulainen +Date: Fri Apr 24 16:43:39 2009 +0100 + + stage: set key focus actor to NULL before emitting focus-out + + Someone might hide the previously focused actor in the focus-out signal + handler and as key focus still appears to be on that actor we'd get + re-entrant call and get glib critical from g_object_weak_unref + + This changes clutter_stage_get_key_focus() to return stage/NULL during + focus-out signal emission. It used to be the actor focus-out was being + emitted on. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1547 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-stage.c | 18 +++++++++++++++++- + 1 file changed, 17 insertions(+), 1 deletion(-) + +commit 9021aa2909189becd9809d29ebf8c9a3c362ce5f +Author: Neil Roberts +Date: Thu Jun 11 10:55:52 2009 +0100 + + Revert "[timeline] Don't clamp the elapsed time when a looping tl reaches the end" + + This reverts commit 9c5663d6717722d6d77162060f284355b5081174. + + The patch was causing problems for applications that expect the + elapsed_time to be at either end of the timeline when the completed + signal is fired. For example test-behave swaps the direction of the + timeline in the completed handler but if the time has overflowed the + end then the timeline would only take a short time to get back the + beginning. This caused the animation to just vibrate around the + beginning. + + clutter/clutter-timeline.c | 142 +++++++++++------------------- + tests/conform/test-timeline-interpolate.c | 8 +- + 2 files changed, 54 insertions(+), 96 deletions(-) + +commit 6bb5b3a13e6dfe1934c9d2476f00ac2be86d33cd +Author: Neil Roberts +Date: Thu Jun 11 11:38:49 2009 +0100 + + [tests] Don't add a newline to the end of g_test_message calls + + Two of the timeline tests were calling g_test_message and adding a \n + so the output looked odd. + + tests/conform/test-timeline-interpolate.c | 14 +++++++------- + tests/conform/test-timeline-rewind.c | 20 ++++++++++---------- + 2 files changed, 17 insertions(+), 17 deletions(-) + +commit 19cbb307831234e5cfeb473802db77eb56328013 +Author: Neil Roberts +Date: Thu Jun 11 11:23:45 2009 +0100 + + [test-timeline] Add a marker at the beginning of the timeline + + The beginning of the timeline needs special treatment to detect a + marker so it should have one in the conformance test. + + tests/conform/test-timeline.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 9c5663d6717722d6d77162060f284355b5081174 +Author: Neil Roberts +Date: Wed Jun 10 17:41:16 2009 +0100 + + [timeline] Don't clamp the elapsed time when a looping tl reaches the end + + The new-frame signal of a timeline was previously guaranteed to be + emitted with the elapsed_time set to the end before it emits the + completed signal. This doesn't necessarily make sense for looping + timelines because it would cause the elapsed time to be clamped to a + slightly off value whenever the timeline restarts. This patch makes it + perform the wrap around before emitting the new-frame signal so that + the elapsed time always corresponds to the time elapsed since the + timeline was started. + + Additionally it no longer fudges the msecs_delta property to make the + marker check work so clutter_timeline_get_delta will always return the + wall clock time since the last frame. + + clutter/clutter-timeline.c | 142 +++++++++++++++++++----------- + tests/conform/test-timeline-interpolate.c | 8 +- + 2 files changed, 96 insertions(+), 54 deletions(-) + +commit df839e22e6c5e5e323168fd4b336ff2b4df0fbcc +Author: Emmanuele Bassi +Date: Wed Jun 10 16:23:35 2009 +0100 + + [text] Do not leak the effective attributes + + Thanks to Iain Holmes for catching the leak. + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit acf7722a41dc5c568f895166cc471f53f3546926 +Author: Neil Roberts +Date: Wed Jun 10 15:50:27 2009 +0100 + + [master-clock] Throttle if no redraw was performed + + A flag in the master clock is now set whenever the dispatch caused an + actual redraw of a stage. If this flag is not set during the prepare + and check functions then it will resort to limiting the redraw + attempts to the default frame rate as if vblank syncing was + disabled. Otherwise if a timeline is running that does not cause the + scene to change then it would busy-wait with 100% CPU until the next + frame. + + This fix was suggested by Owen Taylor in: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 11 +++++++++-- + clutter/clutter-private.h | 2 +- + clutter/clutter-stage.c | 12 ++++++++---- + 3 files changed, 18 insertions(+), 7 deletions(-) + +commit eca73fe6c7cdc6657f6da2bdff19d635d0459792 +Author: Emmanuele Bassi +Date: Wed Jun 10 14:54:42 2009 +0100 + + [docs] Annotate fixed sized arrays + + clutter/clutter-actor.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 7c08f554bc403938d90363fcba552d5121ad1449 +Author: Emmanuele Bassi +Date: Wed Jun 10 14:54:19 2009 +0100 + + [docs] Update Clutter's API reference + + doc/reference/clutter/clutter-sections.txt | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit 0f9dea0337aadc5c7218c93a592d83ae4828d6b4 +Author: Emmanuele Bassi +Date: Wed Jun 10 14:52:53 2009 +0100 + + Force a paint instead of calling clutter_redraw() + + We do not need the whole redraw machinery inside + clutter_stage_read_pixels(): instead, we want Clutter to drop everything, + paint and call glReadPixels() with the current buffer. + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 92a7e23ec1c7fbbb8233bf7207630b5fc9992c08 +Author: Emmanuele Bassi +Date: Wed Jun 10 14:24:33 2009 +0100 + + [build] Use top_srcdir instead of relative paths + + doc/reference/clutter/Makefile.am | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 84d67bf1b3c39444efd2c85c90f9bbd7da5fc0ec +Author: Emmanuele Bassi +Date: Wed Jun 10 14:23:45 2009 +0100 + + [l10n] Add LINGUAS + + Use the LINGUAS file to generate the contents of the ALL_LINGUAS + variable. + + configure.ac | 2 +- + po/LINGUAS | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +commit bd3254c0f8ee775df9979deb46d2ac8dbfc92876 +Author: Emmanuele Bassi +Date: Wed Jun 10 12:50:45 2009 +0100 + + [docs] Various gtk-doc fixes for COGL + + Try to keep the gtk-doc errors down to a minimum. + + clutter/cogl/cogl-bitmap.h | 8 ++-- + clutter/cogl/cogl-material.h | 24 +++++++---- + clutter/cogl/cogl-matrix.h | 32 +++++++------- + clutter/cogl/cogl-offscreen.h | 4 +- + clutter/cogl/cogl-vertex-buffer.h | 9 ++-- + clutter/cogl/cogl.h.in | 6 +-- + doc/reference/cogl/Makefile.am | 2 - + doc/reference/cogl/cogl-sections.txt | 83 +++++++++++++++++++++++++++++++++--- + 8 files changed, 126 insertions(+), 42 deletions(-) + +commit e1cac4fece275c0e8428942a880ae5e5f4b3b13b +Author: Emmanuele Bassi +Date: Tue Jun 9 16:29:29 2009 +0100 + + Fix clutter_redraw() to match the redraw cycle + + The clutter_redraw() function is used by embedding toolkits to + force a redraw on a stage. Since everything is performed by + toggling a flag inside the Stage itself and then letting the + master clock advance, we need a ClutterStage method to ensure + that we start the master clock and redraw. + + clutter/clutter-main.c | 13 ++----------- + clutter/clutter-stage.c | 27 +++++++++++++++++++++++++++ + clutter/clutter-stage.h | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 31 insertions(+), 11 deletions(-) + +commit 7099d251c664752ef72c076d2b9cc45b70d58624 +Author: Emmanuele Bassi +Date: Tue Jun 9 16:28:25 2009 +0100 + + Run the repaint functions inside the redraw cycle + + Now that every redraw is performed within the master clock we + need to run the repaint functions inside it. + + clutter/clutter-master-clock.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 287d4f76ecf0ccd2171eaf4a61c79ccea06e5f1d +Author: Owen W. Taylor +Date: Mon Jun 8 13:13:18 2009 -0400 + + Remove useless manual timeline ticking + + The master clock now works fine whether or not there are any stages, + so in the timeline conformance tests don't need to set up their + own times. + + Set CLUTTER_VBLANK=none for the conformance tests, which in addition + to removing an test-environment dependency, will result in the ticking + for timeline tests being throttled to the default frame rate. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + tests/conform/test-conform-main.c | 7 +++++ + tests/conform/test-timeline-interpolate.c | 19 ------------- + tests/conform/test-timeline-rewind.c | 19 ------------- + tests/conform/test-timeline.c | 44 ------------------------------- + 4 files changed, 7 insertions(+), 82 deletions(-) + +commit 6705ce6c6a8c7b490714a15c697c1ad24c9bf8b0 +Author: Owen W. Taylor +Date: Mon Jun 8 13:00:09 2009 -0400 + + Move elapsed-time calculations into ClutterTimeline + + Instead of calculating a delta in the master clock, and passing that + into each timeline, make each timeline individually responsible for + remembering the last time and computing the delta. + + This: + + - Fixes a problem where we could spin infinitely processing + timeline-only frames with < 1msec differences. + - Makes timelines consistently start timing on the first frame; + instead of doing different things for the first started timeline + and other timelines. + - Improves accuracy of elapsed time computations by avoiding + accumulating microsecond => millisecond truncation errors. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 37 +++------------------ + clutter/clutter-timeline.c | 53 +++++++++++++++++++++++-------- + clutter/clutter-timeline.h | 4 +-- + tests/conform/test-timeline-interpolate.c | 17 +--------- + tests/conform/test-timeline-rewind.c | 17 +--------- + tests/conform/test-timeline.c | 15 +-------- + 6 files changed, 48 insertions(+), 95 deletions(-) + +commit dcd8d2831455f1ae950cbab073f37d0ad36d2295 +Author: Owen W. Taylor +Date: Sat Jun 6 22:48:15 2009 -0400 + + Limit the frame rate when not syncing to VBLANK + + clutter-master-clock.c clutter-master-clock.h: When the + SYNC_TO_VBLANK feature is not available, wait for 1/frame_rate + seconds since the start of the last frame before drawing the next + frame. Add _clutter_master_clock_start_running() to abstract + the usage of g_main_context_wakeup() + + clutter-stage.c: Add _clutter_master_clock_start_running() + + clutter-main.c: Update docs for clutter_set_default_frame_rate() + clutter_get_default_frame_rate() to no longer talk about timeline + frame rates. + + test-text-perf.c test-text.c: Set a frame rate of 1000fps so that + frame-rate limiting doesn't affect the result. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-main.c | 9 +-- + clutter/clutter-master-clock.c | 131 +++++++++++++++++++++++++++++-------- + clutter/clutter-master-clock.h | 2 + + clutter/clutter-stage.c | 18 +++-- + tests/micro-bench/test-text-perf.c | 1 + + tests/micro-bench/test-text.c | 1 + + 6 files changed, 124 insertions(+), 38 deletions(-) + +commit 64bb2e694fde2656c26b3b0bf60edbab544ba7ee +Author: Owen W. Taylor +Date: Sat Jun 6 19:31:32 2009 -0400 + + Decrease the main-loop priority of the frame cycle + + Change CLUTTER_PRIORITY_REDRAW to be lower than the GTK+ resize + and relayout priorities to avoid starving GTK+ when run in the + same process as clutter. + Remove the unused CLUTTER_PRIORITY_TIMELINE + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-main.h | 17 ++++++----------- + 1 file changed, 6 insertions(+), 11 deletions(-) + +commit fc83e364779431dd3a89733ad9e762440de8a001 +Author: Owen W. Taylor +Date: Sat Jun 6 22:55:34 2009 -0400 + + Avoid motion-compression in test-picking test + + Using clutter_stage_get_actor_at_pos() rather than synthesizing + events; the synthesized events were being compressed, so we were + only tesitng one pick per frame. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + tests/micro-bench/test-picking.c | 20 +++++++------------- + 1 file changed, 7 insertions(+), 13 deletions(-) + +commit 6e69692e22334d15e2d01d39439362bbf1ba8679 +Author: Owen W. Taylor +Date: Sat Jun 6 19:10:41 2009 -0400 + + Compress events as part of the frame cycle + + Instead of trying to guess about which motion events are + extraneous, queue up all events until we process a frame. + This allows us to look ahead and reliably compress consecutive + sequence of motion events. + + clutter-main.c: Feed received events to the stage for queueing. + Remove old compression code. Remove clutter_get_motion_events_frequency() + clutter_set_motion_events_frequency() + clutter-stage.c: Keep a queue of pending events. + clutter-master-clock.c: Add processng of queued events to the + clock source dispatch function. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-main.c | 129 ++++++++--------------------------------- + clutter/clutter-main.h | 2 - + clutter/clutter-master-clock.c | 19 +++++- + clutter/clutter-private.h | 10 +++- + clutter/clutter-stage.c | 90 +++++++++++++++++++++++++++- + 5 files changed, 136 insertions(+), 114 deletions(-) + +commit 89a8fd7755b7a12d579994f7cf0d0e66cf7f99b6 +Author: Owen W. Taylor +Date: Sat Jun 6 18:22:51 2009 -0400 + + Remove stage update idle and do updates from the master clock + + When a redraw is queued on a stage, simply set a flag; then in + the check/prepare functions of the master clock source, check + for stages that need redrawing. + + This avoids the complexity of having multiple competing sources + at the same priority and makes the update ordering more reliable and + understandable. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 27 +++++++++----- + clutter/clutter-private.h | 2 + + clutter/clutter-stage.c | 84 ++++++++++++++++++++++-------------------- + 3 files changed, 64 insertions(+), 49 deletions(-) + +commit 77cd4e2bc8ec4ad99ab2349fcb10dc5f0b57dca8 +Author: Owen W. Taylor +Date: Sat Jun 6 18:12:26 2009 -0400 + + Call g_main_context_wakeup() when we start running timelines + + If a timeline is added from a different thread, we need to + call g_main_context_wakeup() to wake the main thread up to + start updating the timeline. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 4b63f9524e64f2c0a2f7baa4034f2a9657de7ddb +Author: Owen W. Taylor +Date: Sat Jun 6 18:11:19 2009 -0400 + + Remove unused msecs_delta member + + msecs_delta member of ClutterMasterClock was set but not used. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 2 -- + 1 file changed, 2 deletions(-) + +commit ebaec9798ed6790a559c96010e1074b74c1e260b +Author: Owen W. Taylor +Date: Sat Jun 6 17:44:40 2009 -0400 + + Simplify timeout list handling for the master clock + + Instead of keeping a list of all timelines, and connecting to + signals and weak notifies, simply keep a list of running timelines; + this greatly simplifies both the book-keeping, and also determining + if there are any running timelines. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 117 +++++++---------------------------------- + clutter/clutter-timeline.c | 39 ++++++++++---- + 2 files changed, 48 insertions(+), 108 deletions(-) + +commit 3ab303b66234f633d03db660e4a780320dbfe423 +Author: Owen W. Taylor +Date: Sat Jun 6 17:54:05 2009 -0400 + + Only advance the master clock before drawing a frame + + Remove code to advance the master clock after drawing a frame; if + there are any running timelines the master clock will do another + frame by itself, and the clock will be advanced before running + that frame. + + With this change, there is no point in queueing an extra frame + redraw after completing a timeline, since we are always advancing + the timeline *before* redrawing, so remove that code as well. + (This does mean that calling clutter_timeline_stop() won't implicitly + cause the stage to be redrawn; this doesn't seem like something + an app should rely on in any case.) + + http://bugzilla.openedhand.com/show_bug.cgi?id=1637 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-main.c | 5 ---- + clutter/clutter-master-clock.c | 63 ------------------------------------------ + 2 files changed, 68 deletions(-) + +commit 19c2e66398280950d210a321beae5774a735fed4 +Author: Emmanuele Bassi +Date: Tue Jun 9 14:47:36 2009 +0100 + + [docs] Various gtk-docs fixes + + clutter/clutter-event.c | 2 +- + clutter/clutter-stage.c | 2 +- + clutter/clutter-timeline.c | 50 +----------------------------- + clutter/clutter-units.c | 6 ++-- + clutter/clutter-units.h | 2 +- + clutter/eglnative/clutter-egl.h | 7 +++++ + clutter/eglx/clutter-backend-egl.c | 2 +- + clutter/eglx/clutter-eglx.h | 8 +++++ + doc/reference/clutter/clutter-sections.txt | 1 + + 9 files changed, 24 insertions(+), 56 deletions(-) + +commit 33f5fe73b3acfabd20dd867244005a6cf2609ab1 +Author: Emmanuele Bassi +Date: Tue Jun 9 14:05:03 2009 +0100 + + [stage] Rename fullscreen methods + + The clutter_stage_fullscreen() and clutter_stage_unfullscreen() are + a GDK-ism. The underlying implementation is already using an accessor + with a boolean parameter. + + This should take the amount of collisions between properties, methods + and signals to zero. + + clutter/clutter-deprecated.h | 3 ++ + clutter/clutter-stage.c | 75 +++++++++++++------------- + clutter/clutter-stage.h | 5 +- + doc/reference/clutter/clutter-sections.txt | 4 +- + tests/interactive/test-clutter-cairo-flowers.c | 2 +- + tests/interactive/test-events.c | 12 ++--- + tests/interactive/test-fullscreen.c | 4 +- + tests/interactive/test-perspective.c | 2 +- + 8 files changed, 54 insertions(+), 53 deletions(-) + +commit 7c89a0ccfab2d597b306f8189c623cec3ee76580 +Author: Emmanuele Bassi +Date: Tue Jun 9 13:48:03 2009 +0100 + + [stage] Rename :fullscreen to :fullscreen-set + + The :fullscreen property is very much confusing as it is implemented. + It can be written to a value, but the whole process might fail. If we + set: + + g_object_set (stage, "fullscreen", TRUE, NULL); + + and the fullscreen process fails or it is not implemented, the value + will be reset to FALSE (if we're lucky) or left TRUE (most of the + times). + + The writability is just a shorthand for invoking clutter_stage_fullscreen() + or clutter_stage_unfullscreen() depending on a boolean value without + using an if. + + The :fullscreen property also greatly confuses high level languages, + since the same symbol is used: + + - for a method name (Clutter.Stage.fullscreen()) + - for a property name (Clutter.Stage.fullscreen) + - for a signal (Clutter.Stage::fullscreen) + + For these reasons, the :fullscreen should be renamed to :fullscreen-set + and be read-only. Implementations of the Stage should only emit the + StageState event to change from normal to fullscreen, and the Stage + will automatically update the value of the property and emit a notify + signal for it. + + clutter/clutter-stage.c | 127 ++++++++++++++++++----------------- + clutter/sdl/clutter-stage-sdl.c | 2 +- + clutter/x11/clutter-stage-x11.c | 4 +- + tests/interactive/test-events.c | 12 ++-- + tests/interactive/test-fullscreen.c | 2 +- + tests/interactive/test-perspective.c | 3 +- + 6 files changed, 79 insertions(+), 71 deletions(-) + +commit ea82346e0df061e230d9ce27c2ff578558e54c5f +Author: Emmanuele Bassi +Date: Tue Jun 9 12:43:57 2009 +0100 + + [build] Update the experimental features checks + + Instead of blacklisting experimental features at the end we can + explicitly mark backends and image backends near their checks and + provide a summary at the end. + + configure.ac | 23 +++++++++++++++++------ + 1 file changed, 17 insertions(+), 6 deletions(-) + +commit d743aeaa21b2c06ce9e673808e6f3ab2b05dd929 +Author: Emmanuele Bassi +Date: Tue Jun 9 12:42:19 2009 +0100 + + [json] Update the internal JSON-GLib copy + + There have been changes in JSON-GLib upstream to clean up the + data structures, and facilitate introspection. + + We still not use the updated JsonParser with the (private) JsonScanner + code, since it's a fork of GLib's GScanner. + + clutter/clutter-script.c | 2 +- + clutter/json/json-array.c | 479 +++++++++++++++++++++++++++- + clutter/json/json-generator.c | 4 +- + clutter/json/json-node.c | 163 ++++++++-- + clutter/json/json-object.c | 647 ++++++++++++++++++++++++++++++++++++-- + clutter/json/json-parser.c | 8 +- + clutter/json/json-types-private.h | 61 ++++ + clutter/json/json-types.h | 228 ++++++++++---- + 8 files changed, 1459 insertions(+), 133 deletions(-) + +commit 91856b1bed071b98a4d3eb22a4efae089faf6490 +Author: Emmanuele Bassi +Date: Tue Jun 9 12:40:06 2009 +0100 + + [introspection] Add --c-include to g-ir-scanner + + Since Clutter has a single-include header policy we need to put + the header to be included inside the GIR file. + + clutter/Makefile.am | 38 ++++++++++++++++++++------------------ + clutter/cogl/Makefile.am | 1 + + 2 files changed, 21 insertions(+), 18 deletions(-) + +commit 8728afa2ee8311a92021ee70ca5c4d09fe6c4966 +Author: Emmanuele Bassi +Date: Tue Jun 9 12:39:28 2009 +0100 + + [build] Add as-compiler-flag.m4 to the dist + + build/autotools/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 4b125d7fde86559baaf945943bbe5d9f81b45c9e +Author: Neil Roberts +Date: Tue Jun 9 11:13:11 2009 +0100 + + [CoglTexture] Initialise tex->first_pixels to NULL in all constructors + + Otherwise if there is an error before the slices are created it will + try to free the first_pixels array and crash. + + It now also checks whether first_pixels has been created before using + it to update the mipmaps. This should only happen for + cogl_texture_new_from_foreign and doesn't matter if the FBO extension + is available. It would be better in this case to fetch the first pixel + using glGetTexImage as Owen mentioned in the last commit. + + clutter/cogl/gl/cogl-texture.c | 6 +++++- + clutter/cogl/gles/cogl-texture.c | 6 +++++- + 2 files changed, 10 insertions(+), 2 deletions(-) + +commit 1d7a7bf1e61a800e5ddeb738899f09a0009eabba +Author: Owen W. Taylor +Date: Mon Jun 8 16:45:43 2009 -0400 + + Fix unitialized first_pixels for foreign textures + + tex->first_pixels was never set for foreign textures, leading + to a crash when the texture object is freed. + + As a quick fix, simply set to NULL. A more complete fix would + require remembering if we had ever seen the first pixel uploaded, + and if not, doing a glReadPixel to get it before triggering the + mipmap update. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1645 + + Signed-off-by: Neil Roberts + + clutter/cogl/gl/cogl-texture.c | 2 ++ + clutter/cogl/gles/cogl-texture.c | 2 ++ + 2 files changed, 4 insertions(+) + +commit 08d580f68a02b7cd9eb4b8a93d9f32aa63db3a38 +Author: Owen W. Taylor +Date: Mon Jun 8 09:26:57 2009 -0400 + + On bad blend strings, print the error if not returning it + + It's very common that there's no reasonable fallback to do if the + blend or combine string you set isn't supported. So, rather than + requiring everybody to pass in a GError purely to catch syntax erorrs, + automatically g_warning() if a parse error is encountered and @error + is NULL. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1642 + + Signed-off-by: Robert Bragg + + clutter/cogl/cogl-material.h | 5 ++++- + clutter/cogl/common/cogl-material.c | 30 ++++++++++++++++++++++++++---- + 2 files changed, 30 insertions(+), 5 deletions(-) + +commit d873a57ec90da7b5ae5b2cec62c1779316200177 +Author: Garry Bodsworth +Date: Mon Jun 8 11:56:59 2009 +0100 + + Fix for new potential memory leak in ClutterGLXTexturePixmap. + + This fixes a new instance of glXDestroyGLXPixmap which should be + glXDestroyPixmap. + + Signed-off-by: Robert Bragg + + clutter/glx/clutter-glx-texture-pixmap.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fd0a490ced2a945eb19ed9d22b88efc7ade5f97c +Author: Owen W. Taylor +Date: Mon Jun 8 07:57:41 2009 -0400 + + Properly adjust msecs_delta when clamping elapsed time + + When we complete a timeline, we clamp the elapsed_time variable + to the range of the timeline. We need to adjust msecs_delta so that + when we check for hit markers we have the correct interval. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1641 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-timeline.c | 14 +++++++++++--- + 1 file changed, 11 insertions(+), 3 deletions(-) + +commit fd19d337461bd187a38e73edc3d620b97eac8bf8 +Author: Emmanuele Bassi +Date: Mon Jun 8 14:42:22 2009 +0100 + + [animation] Keep a reference during notify::alpha + + The Animation should be referenced during the notification of the + alpha value, since the callback is invoked depending on the Alpha + and it won't vivify the Animation instance for us. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1537 + + clutter/clutter-animation.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 41e85f3073ab88cb5bfaeda479ed5ffa7db93264 +Author: Emmanuele Bassi +Date: Sat Jun 6 15:27:37 2009 +0100 + + introspection-friendly ClutterEvent accessors + + ClutterEvent is not really gobject-introspection friendly because + of the whole discriminated union thing. In particular, if you get + a ClutterEvent in a signal handler, you probably can't access the + event-type-specific fields, and you probably can't call methods + like clutter_key_event_symbol() either, because you can't cast the + ClutterEvent to a ClutterKeyEvent. + + The cleanest solution is to turn every accessor into ClutterEvent + methods, accepting a ClutterEvent* and internally checking the event + type. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1585 + + clutter/clutter-deprecated.h | 5 + + clutter/clutter-event.c | 214 +++++++++++++++++++++-------- + clutter/clutter-event.h | 64 +++++---- + clutter/clutter-text.c | 11 +- + doc/reference/clutter/clutter-sections.txt | 16 ++- + tests/interactive/test-actor-clone.c | 8 +- + tests/interactive/test-actors.c | 8 +- + tests/interactive/test-layout.c | 8 +- + tests/interactive/test-paint-wrapper.c | 6 +- + tests/interactive/test-pixmap.c | 8 +- + tests/interactive/test-threads.c | 18 ++- + 11 files changed, 245 insertions(+), 121 deletions(-) + +commit 04dc4106e5451da823d1141013d1653e4b909f19 +Author: Garry Bodsworth +Date: Mon Jun 8 08:46:33 2009 +0100 + + [glx-texture-pixmap] Unref a cogl texture handle. + + According to clutter_texture_set_cogl_texture you should unref the handle as + the texture takes its own. + + Signed-off-by: Robert Bragg + + clutter/glx/clutter-glx-texture-pixmap.c | 1 + + 1 file changed, 1 insertion(+) + +commit c968b06f15f994827f9dd77e7e9efb6e8e06db6b +Author: Garry Bodsworth +Date: Mon Jun 8 08:38:50 2009 +0100 + + Fix memory leak in ClutterGLXTexturePixmap. + + The OpenGL spec states that if you create a pixmap using glXCreatePixmap you + should use glXDestroyPixmap to destroy it. + + Signed-off-by: Robert Bragg + + clutter/glx/clutter-glx-texture-pixmap.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 1e6e41190b47c384d70216a09204f39808a3fd84 +Author: Owen W. Taylor +Date: Sat Jun 6 12:07:42 2009 -0400 + + Straighten out 'realize' handling for ClutterGLXTexturePixmap + + Setting the pixmap for an unrealized ClutterGLXTexturePixmap should + not cause it to be realized, and certainly shouldn't cause the the + REALIZED flag to be set without using clutter_actor_realize(). + + This patch uses the simple approach that; + + - pixmap changes on an unrealized ClutterGLXTexturePixmap + are ignored + - when the ClutterGLXTexturePixmap is realized, we then create + the GLXPixmap and the corresponding texture. + + The call to clutter_glx_texture_pixmap_update_area() is moved + from create_cogl_texture() to + clutter_glx_texture_pixmap_create_glx_pixmap() since + create_cogl_texture() is only called from one place, and updating + the area is really something we do *after* creating the texture, + not part of creating the texture. + + clutter_glx_texture_pixmap_create_glx_pixmap() is reorganized a + bit to avoid debug-logging confusingly if it's called before a pixmap + has been set, and for readability. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1635 + + Signed-off-by: Emmanuele Bassi + + clutter/glx/clutter-glx-texture-pixmap.c | 80 +++++++++++++------------------- + 1 file changed, 31 insertions(+), 49 deletions(-) + +commit d28c9e5db1c7dd7faab2fc9e718d70747d21dfb1 +Author: Owen W. Taylor +Date: Sat Jun 6 09:55:00 2009 -0400 + + Remove unnecessary setting of CLUTTER_ACTOR_REALIZED flag + + An implementaton of realize() never needs to set the + CLUTTER_ACTOR_REALIZED flag, though it can unset the flag if + things fail unexpectedly. (Previously, stage backend implementations + had to do this since clutter_actor_realize() wasn't used; this + is no longer the case.) + + http://bugzilla.openedhand.com/show_bug.cgi?id=1634 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-stage.c | 5 +---- + clutter/eglnative/clutter-stage-egl.c | 3 +-- + clutter/eglx/clutter-stage-egl.c | 2 -- + clutter/fruity/clutter-stage-fruity.c | 3 +-- + clutter/glx/clutter-stage-glx.c | 6 ++---- + clutter/osx/clutter-stage-osx.c | 8 +------- + clutter/sdl/clutter-stage-sdl.c | 2 -- + clutter/win32/clutter-stage-win32.c | 3 +-- + clutter/x11/clutter-x11-texture-pixmap.c | 2 -- + 9 files changed, 7 insertions(+), 27 deletions(-) + +commit 2b7e98f4b3d48269dbfb2232af80cde92bcae306 +Author: Owen W. Taylor +Date: Sat Jun 6 11:37:18 2009 -0400 + + Be more tolerant about natural_width < min_width + + Due to the accumulation of floating point errors, natural_width + and min_width can diverge significantly even if the math for + computing them is correct. So just clamp natural_width to + min_width instead of warning about it. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1632 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 28 ++++++++++------------------ + 1 file changed, 10 insertions(+), 18 deletions(-) + +commit 583a86b537cd3b0d41c23949600c06515f5056bf +Author: Owen W. Taylor +Date: Sat Jun 6 11:28:02 2009 -0400 + + Use double temporaries when computing group size + + If we use float temporaries when computing the bounds of + a group, then, depending on what variables are kept in registers + and what stored on the stack, the accumulated difference between + natural_width and min_width can be more than FLOAT_EPSILON. + + Using double temporaries will eliminate the difference in most + cases, or, very rarely, reduce it to a last-bit error. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1632 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-group.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 009eafb9ee1ea3b6e969b95f219e3f607c10f7e9 +Author: Owen W. Taylor +Date: Sat Jun 6 11:56:08 2009 -0400 + + Handle a clone of an actor with an unmapped parent + + If we are cloning an source actor with an unmapped parent, then when + we temporarily map the source actor: + + - We need to skip the check that a mapped actor has a mapped + parent. + - We need to realize the actor's parents before mapping it, + or we'll get an assertion failure in clutter_actor_update_map_state() + because an actor with an unmapped parent is !may_be_realized. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1633 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 26 ++++++++++++++++++-------- + 1 file changed, 18 insertions(+), 8 deletions(-) + +commit d8459b0a32c95e0e6d59cc314d5d032c9f9c4edb +Author: Emmanuele Bassi +Date: Mon Jun 8 10:59:22 2009 +0100 + + [tests] Clarify the numbers + + tests/conform/test-timeline.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 2ebe36cf0834ba6eca511a349aca95aa3777f87b +Author: Emmanuele Bassi +Date: Mon Jun 8 10:58:20 2009 +0100 + + [tests] The ::focus-in signal was renamed ::key-focus-in + + The test-events interactive test is still using the old name. + + tests/interactive/test-events.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 54b5d076820cce3f69a699b34ca810204651bcc0 +Author: Emmanuele Bassi +Date: Mon Jun 8 02:22:26 2009 +0100 + + [build] Add AS_COMPILER_FLAGS + + Use the AS_COMPILER_FLAGS to check whether the maintainer compiler flags + we use are supported; this should fail gracefully and only use the ones + that the compiler actually understands. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1639 + + build/autotools/as-compiler-flag.m4 | 62 +++++++++++++++++++++++++++++++++++++ + configure.ac | 5 ++- + 2 files changed, 66 insertions(+), 1 deletion(-) + +commit 12b4e0400cfa85ab2c7d1544174747226d6b031a +Author: Emmanuele Bassi +Date: Mon Jun 8 02:04:27 2009 +0100 + + [x11] Do not forcibly set the stage size on fullscreen + + Setting the stage size using clutter_actor_set_size() is almost always + wrong: the X11 stage implementation should save the size and queue a + relayout -- like it does when receiving a ConfigureNotify. The same + should happen when setting it to be full screen. + + clutter/x11/clutter-stage-x11.c | 34 +++++++++++++++++++++++----------- + 1 file changed, 23 insertions(+), 11 deletions(-) + +commit ca305d2a403a1e1f40cf9a606b590853863964f9 +Author: Owen W. Taylor +Date: Mon Jun 8 01:51:02 2009 +0100 + + [build] Search for Cogl GIR in the right place + + Since we build the Cogl GIR inside /clutter/cogl we should be looking + there when building the Clutter GIR. Otherwise g-ir-scanner will look + inside the gir directory -- and if you never built Clutter before it + will error out. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1638 + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit a87f6f32a6ce41623e893cc054591e9fe67d199f +Author: Robert Bragg +Date: Sat Jun 6 21:33:31 2009 +0100 + + [test-blend-strings] Fix a silly off by one that meant the test couldn't fail + + The test was quiting after the 2nd frame but it should be the third frame because + the test doesn't actually check results until the third frame due to the workaround + for drivers with broken glReadPixels. + + (When first written the test would have been verified with the + clutter_main_quit() commented out which gives visual feedback of what the + test does, so the off by one would have snuck in just before uncommenting + and pushing.) + + tests/conform/test-blend-strings.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9691827b5b03886d6eb88e1aed5844514d59366f +Author: Emmanuele Bassi +Date: Sat Jun 6 15:57:29 2009 +0100 + + [texture] Fix error reporting on ::load-finished + + The load-finished signal has a GError* argument which is meant to + signify whether the loading was successful. However many of the + places in ClutterTexture that emit this signal directly pass their + 'error' variable which is a GError** and will be NULL or not + completely independently of whether there was an error. If the + argument was dereferenced it would probably crash. + + The test-texture-async interactive test case should also verify + that the ::load-finished signal is correctly emitted. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1622 + + clutter/clutter-texture.c | 31 ++++++++++-------- + tests/interactive/test-texture-async.c | 60 ++++++++++++++++++++++++++++++---- + 2 files changed, 72 insertions(+), 19 deletions(-) + +commit ea9bd6761ad840c12c063a14d9334dd807473a9d +Author: Emmanuele Bassi +Date: Sat Jun 6 14:39:21 2009 +0100 + + [units] Always recompute pixels + + When asking for the pixels value we should always recompute it. + + The "pixel_set" guard can be left in place for future use. + + clutter/clutter-units.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 7e5f7eb7902e9424bb223896ca0219e3032c416c +Author: Emmanuele Bassi +Date: Sat Jun 6 14:38:10 2009 +0100 + + [build] Remove -Werror for the maintainer cflags + + Now that we have Shave in place and don't risk losing warnings + we can avoid -Werror in the anal-retentive maintainer compiler + flags. + + configure.ac | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit c3dc03997cf4a2b82f45c90ad855785f8ac86853 +Author: Emmanuele Bassi +Date: Sat Jun 6 14:37:41 2009 +0100 + + Fixes for some compiler warnings + + clutter/clutter-actor.c | 2 ++ + clutter/clutter-texture.c | 1 + + clutter/clutter-units.c | 8 ++++++-- + 3 files changed, 9 insertions(+), 2 deletions(-) + +commit 5f0afa52187750c08be279a5ff840ef8b9a4f642 +Author: Owen W. Taylor +Date: Fri Jun 5 17:53:57 2009 -0400 + + [actor] get_transformed_position(): initialize Z value + + Initialize the Z value in the point we pass to + clutter_actor_apply_transform_to_point(). + + http://bugzilla.openedhand.com/show_bug.cgi?id=1630 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 276952d6f9c20e4a2be5fbf2ab381c263598f864 +Author: Owen W. Taylor +Date: Fri Jun 5 16:52:18 2009 -0400 + + Fix stopping a timeline + + Correctly apply De Morgan's laws to the short-circuit test in + clutter_timeline_pause(); it was short-circuiting always and + never actually pausing. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1629 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-timeline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f87e10c02409b8c5fbdb4cf5b289109fbcc67e45 +Author: Johan Bilien +Date: Wed Jun 3 22:08:17 2009 +0100 + + Fix the leak of the GList of layers in CoglMaterial + + http://bugzilla.openedhand.com/show_bug.cgi?id=1624 + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/common/cogl-material.c | 1 + + 1 file changed, 1 insertion(+) + +commit 6f7afdf5536408885acb8f31a7dcf1bf0ab93114 +Author: Bastian Winkler +Date: Wed Jun 3 14:36:18 2009 +0200 + + Broken fixed:: arguments + + The commit 2c95b378 prevents clutter_animation_setup_property from being + called with fixed:: property names. This patch adds a additional + parameter "is_fixed" to clutter_animation_setup_property instead of + searching for "fixed::" in property_name. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 29 ++++++++++++++++------------- + 1 file changed, 16 insertions(+), 13 deletions(-) + +commit ca5473836bb41687640a7f2fcf538bfa3733f122 +Author: Emmanuele Bassi +Date: Sat Jun 6 12:34:00 2009 +0100 + + [build] Check for libXext + + It seems GNU Gold (the new linker) either behaves as if with + --no-undefined by default, or has some issue preventing it from not + doing that when instructed to (I'm not sure if this actually + happens). In any case, clutter uses the Xshm extensions, but does not + link to libXext, which makes gold unhappy. + + Based on a patch by: Xan Lopez + + Signed-off-by: Emmanuele Bassi + + configure.ac | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit ea15e4c7f0476e1610e79a990616a467615358db +Author: Neil Roberts +Date: Fri Jun 5 18:00:22 2009 +0100 + + [CoglPangoDisplayList] Don't store the base color in the display list + + It should be possible render a single PangoLayout with different + colors without recalculating the layout. This was not working because + the color used at the first edit was being stored in the display + list. This broke changing the opacity on a ClutterText. + + Now each node in the display list has a 'color override' flag which + marks whether it should use the base color or not. The base color is + now passed in from _cogl_pango_display_list_render_texture. The alpha + value is always taken from the base color. + + clutter/pango/cogl-pango-display-list.c | 44 +++++++++++++++++++++++++++------ + clutter/pango/cogl-pango-display-list.h | 6 +++-- + clutter/pango/cogl-pango-render.c | 26 +++++++++---------- + 3 files changed, 53 insertions(+), 23 deletions(-) + +commit 6fe22ac8505da2c9a0b7eb97c3a6ea5f3edea95c +Author: Emmanuele Bassi +Date: Fri Jun 5 17:55:24 2009 +0100 + + [repaint] Run the repaint functions in clutter_redraw() + + The clutter_redraw() function is used by libraries embedding + Clutter inside another toolkit, instead of queueing a redraw + on the embedded stage. This means that clutter_redraw() should + perform the same sequence of actions done by the redraw idle + callback. + + clutter/clutter-main.c | 34 +++++++++++++++++++++++++++------- + clutter/clutter-private.h | 3 +++ + clutter/clutter-stage.c | 4 ++-- + 3 files changed, 32 insertions(+), 9 deletions(-) + +commit f66021825c191a7185e488086b4ef06e84f16061 +Author: Emmanuele Bassi +Date: Fri Jun 5 17:54:21 2009 +0100 + + [docs] Update README + + * Remove mentions of Subversion + + * Update the configure command line switches + + README | 31 +++++++++++++++++++------------ + 1 file changed, 19 insertions(+), 12 deletions(-) + +commit 01e1aae7dd7c65ef8f60d66f95cb335d609fdff4 +Author: Robert Bragg +Date: Sat Apr 4 19:21:22 2009 +0100 + + [cogl] cogl_material_set_layer does nothing if resetting the same texture + + This avoids dirtying the layer, and should avoid some uneeded state changes + + clutter/cogl/common/cogl-material.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit dea7f9b7d3fe36d398ade3f8e45ec4e31652dc48 +Author: Robert Bragg +Date: Fri May 22 16:59:14 2009 +0100 + + [test-conformance] we were calling clutter_init with un-initialized arguments + + This ensure we initialize shared_state->arg{c,v}_addr before calling + clutter_init + + tests/conform/test-conform-main.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 6b92296e7f933a6d9798ba807fbd80ee2221144d +Author: Emmanuele Bassi +Date: Fri Jun 5 16:46:12 2009 +0100 + + [build] Fix compiler warnings + + Silence GCC + + clutter/cogl/common/cogl-blend-string.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 02fa34f65b3efefaca4146e968c0f84a20061da1 +Author: Emmanuele Bassi +Date: Fri Jun 5 15:18:43 2009 +0100 + + Fix a compiler warning + + clutter/cogl/common/cogl-vertex-buffer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b061a00f4cde1bdf1406bbf94b87fb88e996987a +Author: Neil Roberts +Date: Fri Jun 5 16:25:39 2009 +0100 + + [ClutterActor] Fix check for zero opacity when being painted from a clone + + Clutter short-circuits painting when an actor's opacity is + zero. However if the actor is being painted from a ClutterClone then + it will be painted using the clone's opacity instead so the test was + broken. + + clutter/clutter-actor.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 03471daf50dae5baf906ba95ba200d77e40bb3fb +Author: Emmanuele Bassi +Date: Fri Jun 5 12:46:37 2009 +0100 + + [build] Add all dependencies for pkg-config + + A merge conflict gone bad: the IMAGE_PC_FILES variable was not appended + to the CLUTTER_REQUIRES one, thus leading to Clutter depending on + GdkPixbuf but never actually checking for it. + + configure.ac | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 7e33fe3175d17ff659705c24ac7865510b145528 +Merge: b5a7b3a00 cbb748f7c +Author: Emmanuele Bassi +Date: Fri Jun 5 12:41:42 2009 +0100 + + Merge branch '1.0-integration' + + * 1.0-integration: (138 commits) + [x11] Disable XInput by default + [xinput] Invert the XI extension version check + [cogl-primitives] Fix an unused variable warning when building GLES + [clutter-stage-egl] Pass -1,-1 to clutter_stage_x11_fix_window_size + Update the GLES backend to have the layer filters in the material + [gles/cogl-shader] Add a missing semicolon + [cogl] Move the texture filters to be a property of the material layer + [text] Fix Pango unit to pixels conversion + [actor] Force unrealization on destroy only for non-toplevels + [x11] Rework map/unmap and resizing + [xinput] Check for the XInput entry points + [units] Validate units against the ParamSpec + [actor] Add the ::allocation-changed signal + [actor] Use flags to control allocations + [units] Rework Units into logical distance value + Remove a stray g_value_get_int() + Remove usage of Units and macros + [cogl-material] Allow setting a layer with an invalid texture handle + [timeline] Remove the concept of frames from timelines + [gles/cogl-shader] Fix parameter spec for cogl_shader_get_info_log + ... + + Conflicts: + configure.ac + +commit cbb748f7c042e250b9383c59236645966c5ad47e +Author: Emmanuele Bassi +Date: Fri Jun 5 12:26:29 2009 +0100 + + [x11] Disable XInput by default + + The XInput support in Clutter is still using XI 1.x. This will never + work correctly, and we are all waiting for XInput 2 anyway. The changes + internally should be minimal, so we can leave everything in place, but + it's better to disable XInput support by default -- at least for the + time being. + + clutter/x11/clutter-backend-x11.c | 20 ++++++++++++-------- + clutter/x11/clutter-event-x11.c | 6 ++---- + configure.ac | 2 +- + 3 files changed, 15 insertions(+), 13 deletions(-) + +commit 3ee093e356de19253f4a838553c8f31579a256ad +Merge: 745ca8a62 9c7afe0c5 +Author: Neil Roberts +Date: Fri Jun 5 12:20:41 2009 +0100 + + Merge branch 'timeline-no-fps' into 1.0-integration + +commit 745ca8a62ca52eedfad850e556f160f36eb32953 +Author: Emmanuele Bassi +Date: Fri Jun 5 12:06:09 2009 +0100 + + [xinput] Invert the XI extension version check + + Since having XQueryInputVersion means also having XGetExtensionVersion + we need to check the former first to avoid the deprecation warning. + + clutter/x11/clutter-backend-x11.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit fa3ed19db56db26cadd37ea73539f1bd59254ef4 +Author: Neil Roberts +Date: Thu Jun 4 22:20:18 2009 +0100 + + [cogl-primitives] Fix an unused variable warning when building GLES + + The 'tex' variable is only used if #ifdef'd GL code so it was throwing + an error under GLES. The variable is now moved into a block inside the + #ifdef. + + clutter/cogl/common/cogl-primitives.c | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +commit 810e936164028043682b014a8e9b531fb373f317 +Author: Neil Roberts +Date: Thu Jun 4 22:15:41 2009 +0100 + + [clutter-stage-egl] Pass -1,-1 to clutter_stage_x11_fix_window_size + + This reflects the changes made to e4ff24bc for the egl stage. + + clutter/eglx/clutter-stage-egl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6efbb92c5899dfadac4f366bee709f5154180967 +Author: Neil Roberts +Date: Thu Jun 4 22:12:33 2009 +0100 + + Update the GLES backend to have the layer filters in the material + + This reflects the changes made in 54d8aadf1d86 for the GLES backend. + + clutter/cogl/gles/cogl-texture-private.h | 31 +++++- + clutter/cogl/gles/cogl-texture.c | 182 +++++++++++++++++++------------ + 2 files changed, 142 insertions(+), 71 deletions(-) + +commit eff82a546d2ae6747ae32f639f07a6d182114016 +Author: Neil Roberts +Date: Thu Jun 4 22:10:33 2009 +0100 + + [gles/cogl-shader] Add a missing semicolon + + cogl_shader_get_info_log was missing a semicolon which broke the build + on GLES 2. + + clutter/cogl/gles/cogl-shader.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 54d8aadf1d86bf6cfacc5346c02a13f3a2577268 +Author: Neil Roberts +Date: Thu Jun 4 16:04:57 2009 +0100 + + [cogl] Move the texture filters to be a property of the material layer + + The texture filters are now a property of the material layer rather + than the texture object. Whenever a texture is painted with a material + it sets the filters on all of the GL textures in the Cogl texture. The + filter is cached so that it won't be changed unnecessarily. + + The automatic mipmap generation has changed so that the mipmaps are + only generated when the texture is painted instead of every time the + data changes. Changing the texture sets a flag to mark that the + mipmaps are dirty. This works better if the FBO extension is available + because we can use glGenerateMipmap. If the extension is not available + it will temporarily enable automatic mipmap generation and reupload + the first pixel of each slice. This requires tracking the data for the + first pixel. + + The COGL_TEXTURE_AUTO_MIPMAP flag has been replaced with + COGL_TEXTURE_NO_AUTO_MIPMAP so that it will default to + auto-mipmapping. The mipmap generation is now effectively free if you + are not using a mipmap filter mode so you would only want to disable + it if you had some special reason to generate your own mipmaps. + + ClutterTexture no longer has to store its own copy of the filter + mode. Instead it stores it in the material and the property is + directly set and read from that. This fixes problems with the filters + getting out of sync when a cogl handle is set on the texture + directly. It also avoids the mess of having to rerealize the texture + if the filter quality changes to HIGH because Cogl will take of + generating the mipmaps if needed. + + clutter/clutter-texture.c | 132 +++++++------------- + clutter/cogl/cogl-material.h | 80 +++++++++++++ + clutter/cogl/cogl-texture.h | 80 ------------- + clutter/cogl/cogl-types.h | 13 +- + clutter/cogl/common/cogl-material-private.h | 3 + + clutter/cogl/common/cogl-material.c | 59 +++++++++ + clutter/cogl/common/cogl-primitives.c | 3 +- + clutter/cogl/gl/cogl-context.h | 1 + + clutter/cogl/gl/cogl-defines.h.in | 4 + + clutter/cogl/gl/cogl-texture-private.h | 31 ++++- + clutter/cogl/gl/cogl-texture.c | 179 ++++++++++++++++++---------- + clutter/cogl/gl/cogl.c | 7 +- + clutter/glx/clutter-glx-texture-pixmap.c | 20 ++-- + clutter/pango/cogl-pango-glyph-cache.c | 22 +--- + clutter/pango/cogl-pango-glyph-cache.h | 2 +- + clutter/pango/cogl-pango-render.c | 40 ++++--- + doc/reference/cogl/cogl-sections.txt | 7 +- + tests/conform/test-backface-culling.c | 22 ++-- + tests/interactive/test-cogl-multitexture.c | 9 +- + tests/interactive/test-cogl-tex-polygon.c | 21 ++-- + tests/interactive/test-cogl-tex-tile.c | 4 - + 21 files changed, 422 insertions(+), 317 deletions(-) + +commit c27f42981961eed79ef32e4b4fd7081098619844 +Author: Emmanuele Bassi +Date: Thu Jun 4 17:28:35 2009 +0100 + + [text] Fix Pango unit to pixels conversion + + When going from Pango units to pixels we need to divide by 1024, + and not multiply by 1024. + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5ea3b47144720dfa1692cc085537300e4d24d97c +Author: Emmanuele Bassi +Date: Thu Jun 4 16:50:19 2009 +0100 + + [actor] Force unrealization on destroy only for non-toplevels + + We cannot force unrealization on toplevels ourselves, so we need + to check inside clutter_actor_destroy() if we want to avoid a + warning. + + clutter/clutter-actor.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit e4ff24bcff4881ddadaf3bb52d74ee71061504fc +Author: Emmanuele Bassi +Date: Thu Jun 4 16:27:21 2009 +0100 + + [x11] Rework map/unmap and resizing + + The mapping and unmapping of the X11 stage implementation is + a bit bong. It's asynchronous, for starters, when it really + can avoid it by tracking the state internally. + + The ordering of the map/unmap sequence is also broken with + respect to the resizing. + + By tracking the state internally into StageX11 we can safely + remove the MapNotify and UnmapNotify X event handling. + + In theory, we should use _NET_WM_STATE a lot more, and reuse + the X11 state flags for fullscreening as well. + + clutter/clutter-actor.c | 5 +- + clutter/clutter-stage-window.h | 4 + + clutter/clutter-stage.c | 13 +-- + clutter/glx/clutter-stage-glx.c | 2 +- + clutter/x11/clutter-event-x11.c | 9 +- + clutter/x11/clutter-stage-x11.c | 195 +++++++++++++++++++++++++--------------- + clutter/x11/clutter-stage-x11.h | 11 ++- + 7 files changed, 155 insertions(+), 84 deletions(-) + +commit 0a4a28a950ae5022684742d18144c1cb9b6a96d1 +Author: Emmanuele Bassi +Date: Thu Jun 4 13:41:32 2009 +0100 + + [xinput] Check for the XInput entry points + + Apparently, the XInput extension is using the same pkg-config + file ('xi') for both the 1.x and the 2.x API, so we need to + check for both the 1.x XGetExtensionVersion and the 2.x + XQueryInputVersion. + + clutter/x11/clutter-backend-x11.c | 36 ++++++++++++++++++++++++++---------- + clutter/x11/clutter-backend-x11.h | 12 ++---------- + clutter/x11/clutter-event-x11.c | 8 ++++---- + clutter/x11/clutter-stage-x11.h | 6 ++---- + configure.ac | 33 ++++++++++++++++++++++++++++++++- + 5 files changed, 66 insertions(+), 29 deletions(-) + +commit 876dc22633a62c3eb451d9f491d97cddadf6d3c0 +Author: Emmanuele Bassi +Date: Thu Jun 4 12:15:15 2009 +0100 + + [units] Validate units against the ParamSpec + + When declaring a property using ClutterParamSpecUnits we pass a + default type to limit the type of units we accept as valid values + for the property. + + This means that we need to add the unit type check as part of the + validation process. + + clutter/clutter-units.c | 38 ++++++++++++++++++++++++++++++++++++++ + 1 file changed, 38 insertions(+) + +commit 5ebb59e6b0a11c156e1f246a852986f15080f297 +Author: Emmanuele Bassi +Date: Thu Jun 4 12:00:58 2009 +0100 + + [actor] Add the ::allocation-changed signal + + Sometimes it is useful to be able to track changes in the allocation + flags, like the absolute origin, inside children of a container. + + Using the notify::allocation signal is not enough, in these cases, so + we need a specific signal that gives us both the allocation box and the + allocation flags. + + clutter/clutter-actor.c | 43 ++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-marshal.list | 1 + + 2 files changed, 43 insertions(+), 1 deletion(-) + +commit 0187bb396524435fe32696176bcb234f36be326f +Author: Emmanuele Bassi +Date: Wed Jun 3 14:02:06 2009 +0100 + + [actor] Use flags to control allocations + + Instead of passing a boolean value, the ::allocate virtual function + should use a bitmask and flags. This gives us room for expansion + without breaking API/ABI, and allows to encode more information to + the allocation process instead of just changes of absolute origin. + + clutter/clutter-actor.c | 64 ++++++++++++++++++------------------- + clutter/clutter-actor.h | 46 ++++++++++++++++++-------- + clutter/clutter-clone.c | 13 +++----- + clutter/clutter-group.c | 17 +++++----- + clutter/clutter-main.c | 2 +- + clutter/clutter-stage.c | 21 +++++++----- + clutter/clutter-text.c | 8 ++--- + clutter/clutter-texture.c | 13 ++++---- + clutter/osx/clutter-stage-osx.c | 8 ++--- + clutter/sdl/clutter-stage-sdl.c | 8 ++--- + clutter/win32/clutter-stage-win32.c | 16 +++++----- + clutter/x11/clutter-stage-x11.c | 8 ++--- + tests/interactive/test-layout.c | 13 ++++---- + 13 files changed, 128 insertions(+), 109 deletions(-) + +commit 0d5e17ecd12c680e52144e9f3493616cf96cbd05 +Author: Emmanuele Bassi +Date: Wed Jun 3 11:12:09 2009 +0100 + + [units] Rework Units into logical distance value + + Units as they have been implemented since Clutter 0.4 have always been + misdefined as "logical distance unit", while they were just pixels with + fractionary bits. + + Units should be reworked to be opaque structures to hold a value and + its unit type, that can be then converted into pixels when Clutter needs + to paint or compute size requisitions and perform allocations. + + The previous API should be completely removed to avoid collisions, and + a new type: + + ClutterUnits + + should be added; the ability to install GObject properties using + ClutterUnits should be maintained. + + .gitignore | 2 + + clutter/clutter-actor.c | 111 ++--- + clutter/clutter-units.c | 763 +++++++++++++++++++---------- + clutter/clutter-units.h | 271 +++------- + doc/reference/clutter/clutter-sections.txt | 50 +- + tests/conform/Makefile.am | 1 + + tests/conform/test-clutter-units.c | 58 +++ + tests/conform/test-conform-main.c | 3 + + tests/interactive/test-text-field.c | 22 +- + 9 files changed, 701 insertions(+), 580 deletions(-) + +commit 1580ffb884fa1864e9bd53934ae2d1258c3b7dbe +Author: Emmanuele Bassi +Date: Wed Jun 3 10:09:56 2009 +0100 + + Remove a stray g_value_get_int() + + Now that all properties are float, using g_value_get_int() to + retrieve the value of the :anchor-x property is going to print + out a warning. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 046e571bae28790cb4d3e59d83e838a553fe15f0 +Author: Emmanuele Bassi +Date: Tue Jun 2 18:44:30 2009 +0100 + + Remove usage of Units and macros + + The ClutterUnit and relative macros should not be used when dealing + with pixels -- which is to say, all the time when inside Clutter. + + clutter/clutter-backend.c | 4 +- + clutter/clutter-interval.c | 15 +----- + clutter/clutter-text.c | 90 ++++++++++++++++------------------- + clutter/x11/clutter-stage-x11.c | 31 ++++++------ + tests/conform/test-anchors.c | 54 ++++++++++----------- + tests/conform/test-binding-pool.c | 16 +++---- + tests/interactive/test-animation.c | 5 +- + tests/interactive/test-binding-pool.c | 16 +++---- + tests/interactive/test-layout.c | 68 +++++++++++++------------- + tests/interactive/test-project.c | 18 +++---- + tests/interactive/test-text-field.c | 8 +--- + 11 files changed, 142 insertions(+), 183 deletions(-) + +commit 26f07abc6566e88828a9d8ca9419b1de3bec7c46 +Author: Neil Roberts +Date: Wed Jun 3 15:22:42 2009 +0100 + + [cogl-material] Allow setting a layer with an invalid texture handle + + It was previously possible to create a material layer with no texture + by setting some property on it such as the matrix. However it was not + possible to get back to that state without removing the layer and + recreating it. It is useful to be able to remove the texture to free + resources without forgetting the state of the layer so we can put a + different texture in later. + + clutter/cogl/common/cogl-material.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 9c7afe0c5bf99e38c6fd4584b8fa3b0ed02cf996 +Author: Neil Roberts +Date: Thu Jun 4 13:05:12 2009 +0100 + + [timeline] Remove the concept of frames from timelines + + Timelines no longer work in terms of a frame rate and a number of + frames but instead just have a duration in milliseconds. This better + matches the working of the master clock where if any timelines are + running it will redraw as fast as possible rather than limiting to the + lowest rated timeline. + + Most applications will just create animations and expect them to + finish in a certain amount of time without caring about how many + frames are drawn. If a frame is going to be drawn it might as well + update all of the animations to some fraction of the total animation + rather than rounding to the nearest whole frame. + + The 'frame_num' parameter of the new-frame signal is now 'msecs' which + is a number of milliseconds progressed along the + timeline. Applications should use clutter_timeline_get_progress + instead of the frame number. + + Markers can now only be attached at a time value. The position is + stored in milliseconds rather than at a frame number. + + test-timeline-smoothness and test-timeline-dup-frames have been + removed because they no longer make sense. + + clutter/clutter-alpha.c | 116 +++-- + clutter/clutter-timeline.c | 638 ++++++++-------------------- + clutter/clutter-timeline.h | 24 +- + doc/reference/clutter/clutter-sections.txt | 8 +- + tests/conform/Makefile.am | 2 - + tests/conform/test-conform-main.c | 3 - + tests/conform/test-timeline-dup-frames.c | 134 ------ + tests/conform/test-timeline-interpolate.c | 19 +- + tests/conform/test-timeline-rewind.c | 12 +- + tests/conform/test-timeline-smoothness.c | 147 ------- + tests/conform/test-timeline.c | 48 ++- + tests/interactive/test-actor-clone.c | 7 +- + tests/interactive/test-actors.c | 9 +- + tests/interactive/test-behave.c | 2 +- + tests/interactive/test-cogl-multitexture.c | 8 +- + tests/interactive/test-cogl-primitives.c | 7 +- + tests/interactive/test-cogl-tex-polygon.c | 2 +- + tests/interactive/test-cogl-tex-tile.c | 2 +- + tests/interactive/test-cogl-vertex-buffer.c | 5 +- + tests/interactive/test-depth.c | 2 +- + tests/interactive/test-layout.c | 2 +- + tests/interactive/test-multistage.c | 2 +- + tests/interactive/test-paint-wrapper.c | 13 +- + tests/interactive/test-pixmap.c | 2 +- + tests/interactive/test-rotate.c | 2 +- + tests/interactive/test-scale.c | 2 +- + tests/interactive/test-score.c | 10 +- + tests/interactive/test-texture-async.c | 2 +- + tests/interactive/test-texture-quality.c | 2 +- + tests/interactive/test-threads.c | 2 +- + tests/interactive/test-viewport.c | 2 +- + 31 files changed, 323 insertions(+), 913 deletions(-) + +commit c20886c5e36fa92a8bfa79a5c24d73d4c558b9ae +Author: Neil Roberts +Date: Thu Jun 4 12:04:47 2009 +0100 + + [gles/cogl-shader] Fix parameter spec for cogl_shader_get_info_log + + The stub version of cogl_shader_get_info_log needed to be updated to + match the changes to the function signature in 61deeafa. + + clutter/cogl/gles/cogl-shader.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit fa0b33ec30a0e95e6dc0731abe698e16135b19db +Author: Neil Roberts +Date: Thu Jun 4 11:59:17 2009 +0100 + + [clutter-stage-win32] Call clutter_actor_map instead of setting the flags + + The clutter_actor_map and unmap functions need to be called to + properly update the mapped state. This matches the changes to the X11 + stage in 125bded8. + + clutter/win32/clutter-stage-win32.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit af68945486ff20adb8d386af5dd0b76a50eca098 +Author: Neil Roberts +Date: Thu Jun 4 11:50:52 2009 +0100 + + [clutter-event-win32] Fix the argument types to clutter_actor_get_size + + clutter_actor_get_size now takes float pointers so it was issuing a + warning. + + clutter/win32/clutter-event-win32.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f89ff7f3835edab93de1c67895b6a754abffc5eb +Author: Neil Roberts +Date: Thu Jun 4 11:50:06 2009 +0100 + + Load glBlendEquation and glBlendColor using cogl_get_proc_address + + These are defined since OpenGL 1.2 and since Windows doesn't export + any functions defined after 1.1 we need to load them dynamically. + + clutter/cogl/common/cogl-material.c | 2 ++ + clutter/cogl/gl/cogl-context.h | 2 ++ + clutter/cogl/gl/cogl-defines.h.in | 11 +++++++++++ + clutter/cogl/gl/cogl.c | 7 +++++++ + 4 files changed, 22 insertions(+) + +commit daa95b561e1dda0c13624fdbde602c36dc786842 +Author: Neil Roberts +Date: Thu Jun 4 11:48:51 2009 +0100 + + Rename 'near' and 'far' variables to 'z_near' and 'z_far' + + The Windows headers define near and far to be empty so it breaks the + build. + + clutter/cogl/cogl-matrix.h | 12 ++++++------ + clutter/cogl/common/cogl-current-matrix.c | 18 +++++++++--------- + 2 files changed, 15 insertions(+), 15 deletions(-) + +commit b5a7b3a004de7e0b237811dbf8c4feb025a09333 +Author: Neil Roberts +Date: Thu Jun 4 11:03:34 2009 +0100 + + [configure] Require pango 1.20 instead of 1.18 + + Clutter now calls pango_layout_set_height which is only available + since Pango 1.20. + + README | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 6825b9db1c1eaeab151d4ca9cc4f5ec923cbcde0 +Author: Emmanuele Bassi +Date: Wed Jun 3 12:59:16 2009 +0100 + + [actor] Unrealize on destroy + + If the application code calls for destruction of an actor we need + to make sure that the actor is unrealized before running the dispose + sequence; otherwise, we might trigger an assertion failure on composite + actors. + + clutter/clutter-actor.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 181ba67114d8bd88c0b7091ad9033ebee6bff63c +Author: Emmanuele Bassi +Date: Wed Jun 3 14:03:25 2009 +0100 + + Revert commit 762873e7 + + The commit 762873e79e501c949f3ef55cbac20276b6f6ed4e is completely + and utterly wrong and I should have never pushed it. + + Serves me well for trying to work on three different branches and + on three different things. + + clutter/clutter-master-clock.c | 21 +-------------------- + clutter/clutter-timeline.c | 10 +++------- + clutter/clutter-timeline.h | 2 +- + 3 files changed, 5 insertions(+), 28 deletions(-) + +commit 762873e79e501c949f3ef55cbac20276b6f6ed4e +Author: Emmanuele Bassi +Date: Wed Jun 3 12:02:56 2009 +0100 + + [master clock] Avoid excessive redraws + + Currently, the clock source spins a redraw every time there is at + least a timeline running. If the timelines were not advanced in + the previous frame, though, because their interval is larger than + the vblanking interval then this will lead to excessive redraws of + the scenegraph even if nothing has changed. + + To avoid this a simple guard should be set by the MasterClock::advance + method in case no timeline was effectively advanced, and checked + before dispatching the stage redraws. + + clutter/clutter-master-clock.c | 21 ++++++++++++++++++++- + clutter/clutter-timeline.c | 10 +++++++--- + clutter/clutter-timeline.h | 2 +- + 3 files changed, 28 insertions(+), 5 deletions(-) + +commit f4a431a947011aaa4101935691058a10cd80ff08 +Author: Neil Roberts +Date: Tue Jun 2 18:01:18 2009 +0100 + + [cogl-texture] Don't take ownership of the data in cogl_texture_new_from_bitmap + + When creating a Cogl texture from a Cogl bitmap it would steal the + data by setting the bitmap_owner flag and clearing the data pointer + from the bitmap. The data would be freed by the time the + new_from_bitmap is finished. There is no reason to do this because the + data will be freed when the Cogl bitmap is unref'd and it is confusing + not to be able to reuse the bitmap for creating multiple textures. + + clutter/cogl/gl/cogl-texture.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit b6f1322e07f0fd678a48f1128eae6cba8b8211d7 +Author: Emmanuele Bassi +Date: Mon Jun 1 18:43:47 2009 +0100 + + [tests] Add ClutterColor conformance tests + + Add a conformance test unit for the to_string() and from_string() + methods. + + .gitignore | 2 ++ + tests/conform/Makefile.am | 1 + + tests/conform/test-color.c | 71 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 3 ++ + 4 files changed, 77 insertions(+) + +commit bd13a4ddc486586bc1051080cbe64c2d90ee853e +Author: Robert Staudinger +Date: Mon Jun 1 18:54:46 2009 +0200 + + [color] Add support for the "#rgba" color format + + clutter_color_from_string() only supported the "#rrggbbaa" format with + alpha channel, this patch adds support for "#rgba". + + Colors in "#rrggbb" format were parsed manually, this is now left to + the pango color parsing fallback, since that's handling it just fine. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-color.c | 58 ++++++++++++++++++++++++------------------------- + 1 file changed, 28 insertions(+), 30 deletions(-) + +commit ffd5fb172b390f7fbdeadce3dda181a67a1e7916 +Author: Emmanuele Bassi +Date: Mon Jun 1 17:35:41 2009 +0100 + + [docs] Rework the API reference version generation + + Clutter copies the gtk-doc from the usual gtk+ template, and + has a version.xml.in containing only: + + @VERSION@ + + Without a newline at the end. Unfortunately, it appears that + autoconf has started adding a newline to the generated version.xml + which then is used as the payload for the "version" XML entity. + + Instead of using a secondary file we can make configure generate + the whole clutter-docs.xml and cogl-docs.xml files from a template; + this way we also get the ability to substitute more autoconf variables + into the documentation -- if needs be. + + .gitignore | 4 ++-- + configure.ac | 4 ++-- + doc/reference/clutter/Makefile.am | 2 -- + doc/reference/clutter/{clutter-docs.xml => clutter-docs.xml.in} | 2 +- + doc/reference/clutter/version.xml.in | 1 - + doc/reference/cogl/Makefile.am | 2 -- + doc/reference/cogl/{cogl-docs.xml => cogl-docs.xml.in} | 2 +- + doc/reference/cogl/version.xml.in | 1 - + 8 files changed, 6 insertions(+), 12 deletions(-) + +commit 61deeafa71a81384978bd199f0df6e88d0904a52 +Author: Emmanuele Bassi +Date: Mon Jun 1 16:31:32 2009 +0100 + + [cogl-shader] Make get_info_log() slightly nicer + + The cogl_shader_get_info_log() function is very inconvenient for + language bindings and for regular use, as it requires a static + buffer to be filled -- basically just providing a wrapper around + glGetInfoLogARB(). + + Since COGL aims to be a more convenient API than raw GL we should + just make cogl_shader_get_info_log() return an allocated string + with the GLSL compiler log. + + clutter/clutter-shader.c | 12 +++++++++--- + clutter/cogl/cogl-shader.h | 13 ++++++------- + clutter/cogl/gl/cogl-shader.c | 15 ++++++++------- + clutter/cogl/gles/cogl-shader.c | 15 ++++++++------- + 4 files changed, 31 insertions(+), 24 deletions(-) + +commit 5c26cc6ba7ab9b90bfe4aa2612a56c191c8b1204 +Author: Neil Roberts +Date: Mon Jun 1 17:10:22 2009 +0100 + + Use GL_QUADS for flushing a quad batch + + Instead of using GL_TRIANGLES and uploading the indices every time, it + now uses GL_QUADS instead on OpenGL. Under GLES it still uses indices + but it uses the new cogl_vertex_buffer_indices_get_for_quads function + to avoid uploading the vertices every time. + + This requires the _cogl_vertex_buffer_indices_pointer_from_handle + function to be exposed privately to the rest of Cogl. + + The static_indices array has been removed from the Cogl context. + + clutter/cogl/common/cogl-primitives.c | 79 ++++++++---------------- + clutter/cogl/common/cogl-vertex-buffer-private.h | 4 ++ + clutter/cogl/gl/cogl-context.c | 3 - + clutter/cogl/gl/cogl-context.h | 1 - + clutter/cogl/gles/cogl-context.c | 3 - + clutter/cogl/gles/cogl-context.h | 1 - + 6 files changed, 29 insertions(+), 62 deletions(-) + +commit 6cd1cb21cc0b629535994ad41e4fc78613fe0319 +Author: Emmanuele Bassi +Date: Mon Jun 1 15:51:59 2009 +0100 + + [introspection] Remove Cogl symbols from Clutter GIR + + The GIR file for Clutter still contains symbols from COGL, even + though we provide a Cogl GIR as well. The Clutter GIR should + depend on the Cogl GIR instead. + + clutter/Makefile.am | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +commit 86230eb9fa134c3df50634e9196477c82d20a403 +Author: Marc-André Lureau +Date: Sat May 30 23:58:03 2009 +0300 + + build: don't double install clutter-version.h + + Automake 1.11 installs several files in one command, and it fails if + the same file is installed two times. + + See NEWS for details: + http://lists.gnu.org/archive/html/automake/2009-05/msg00093.html + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +commit 097400747e112d01cbd4ecb72401abcca41158f9 +Author: Emmanuele Bassi +Date: Mon Jun 1 12:51:23 2009 +0100 + + [git ignore] Add report XML output file + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit c759aeb6a720043b8b74242d5e18da405be3825d +Author: Emmanuele Bassi +Date: Sun May 31 15:15:46 2009 +0100 + + Uniformly use floats in Actor properties + + All the underlying implementation and the public entry points have + been switched to floats; the only missing bits are the Actor properties + that deal with positioning and sizing. + + This usually means a major pain when dealing with GValues and varargs + functions. While GValue will warn you when dealing with the wrong + conversions, varags will simply die an horrible (and hard to debug) + death via segfault. Nothing much to do here, except warn people in the + release notes and hope for the best. + + clutter/clutter-actor.c | 353 +++++++++++++++---------- + clutter/clutter-interval.c | 12 +- + tests/conform/Makefile.am | 3 + + tests/conform/test-anchors.c | 145 +++++----- + tests/conform/test-binding-pool.c | 18 +- + tests/interactive/test-animation.c | 8 +- + tests/interactive/test-clutter-cairo-flowers.c | 23 +- + tests/interactive/test-cogl-multitexture.c | 2 +- + tests/interactive/test-cogl-tex-polygon.c | 2 +- + tests/interactive/test-cogl-tex-tile.c | 2 +- + tests/interactive/test-easing.c | 4 +- + tests/interactive/test-layout.c | 17 +- + tests/interactive/test-multistage.c | 2 +- + tests/interactive/test-paint-wrapper.c | 2 +- + tests/interactive/test-rotate.c | 2 +- + tests/interactive/test-shader.c | 3 +- + 16 files changed, 346 insertions(+), 252 deletions(-) + +commit bafa448666a73dd06b69b6167138c3c43e854482 +Author: Emmanuele Bassi +Date: Sun May 31 15:07:58 2009 +0100 + + [texture] Increase verbosity of error messages + + The GError messages in set_from_rgb_data() and set_from_yuv_data() + are a little bit too thin on details. + + clutter/clutter-texture.c | 15 ++++++++++++--- + 1 file changed, 12 insertions(+), 3 deletions(-) + +commit 8b71fa1acbb8580e61ce30fd6a48a4bf0024ba97 +Author: Emmanuele Bassi +Date: Sun May 31 15:06:16 2009 +0100 + + [docs] Remove misleading text + + The documentation for ClutterTexture's set_from_rgb_data() and + set_from_yuv_data() says: + + Note: This function is likely to change in future versions. + + This is not true, since they'll remain for the whole 1.x API cycle. + + clutter/clutter-texture.c | 26 +++++++++++--------------- + 1 file changed, 11 insertions(+), 15 deletions(-) + +commit 3b70e0b6b7a3c01c9e9d0c15f39b676877eee119 +Author: Neil Roberts +Date: Fri May 29 11:52:21 2009 +0100 + + [pango-display-list] Use the CoglAttributeType macros instead of GL_FLOAT + + Cogl now has an enum for the VBO attribute type so we should use that + instead of the GL enums. + + clutter/pango/cogl-pango-display-list.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 97921a7d137bde2b73cfb2dabea89c14e30510a9 +Author: Neil Roberts +Date: Fri May 29 11:38:03 2009 +0100 + + [pango-display-list] Use indexed vertices on GLES + + Now that CoglVertexBuffers support indices we can use them with GLES + to avoid duplicating vertices. Regular GL still uses GL_QUADS because + it is shown to still have a performance benefit over indices with the + Intel drivers. + + clutter/pango/cogl-pango-display-list.c | 47 +++++++++++++++------------------ + 1 file changed, 21 insertions(+), 26 deletions(-) + +commit 67544f38d4dc93bd1be477656171681c5acf9721 +Author: Neil Roberts +Date: Thu May 28 13:47:18 2009 +0100 + + [cogl-vertex-buffer] Add cogl_vertex_buffer_indices_get_for_quads + + This function can be used as an efficient way of drawing groups of + quads without using GL_QUADS. It generates a VBO containing the + indices needed to render using pairs of GL_TRIANGLES. The VBO is + globally cached so that it only needs to be uploaded whenever more + indices are requested than ever before. + + clutter/cogl/cogl-vertex-buffer.h | 40 ++++++++++++++++ + clutter/cogl/common/cogl-vertex-buffer.c | 80 ++++++++++++++++++++++++++++++++ + clutter/cogl/gl/cogl-context.c | 9 ++++ + clutter/cogl/gl/cogl-context.h | 6 +++ + clutter/cogl/gles/cogl-context.c | 9 ++++ + clutter/cogl/gles/cogl-context.h | 7 ++- + doc/reference/cogl/cogl-sections.txt | 1 + + 7 files changed, 151 insertions(+), 1 deletion(-) + +commit 4afe1e9a8b7822522e990989ad156df49bfc29e3 +Author: Emmanuele Bassi +Date: Fri May 29 17:53:19 2009 +0100 + + [actor] Add allocate_available_size() + + The allocate_available_size() method is a convenience method in + the same spirit as allocate_preferred_size(). While the latter + will allocate the preferred size of an actor regardless of the + available size provided by the actor's parent -- and thus it's + suitable for simple fixed layout managers like ClutterGroup -- the + former will take into account the available size provided by the + parent and never allocate more than that; it is, thus, suitable + for simple fluid layout managers. + + clutter/clutter-actor.c | 112 +++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 6 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 119 insertions(+) + +commit 293eeed507460ef6a9168264b04f119acf567eb7 +Author: Emmanuele Bassi +Date: Fri May 29 17:50:58 2009 +0100 + + [build] Remove cogl-enum-types.h on distclean + + The cogl-enum-types.h file is created by glib-mkenums under + /clutter/cogl/common, and then copied in /clutter/cogl in order + to make the inclusion of that file work inside cogl.h. + + Since we're copying it in a different location, the Makefile + for that location has to clean up the copy. + + clutter/cogl/Makefile.am | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 936f638a4234b0dd9f5122447bf09f8fcde1ac26 +Author: Emmanuele Bassi +Date: Fri May 29 17:10:27 2009 +0100 + + [build] Fix dist issues + + * cogl-deprecated.h is not being installed + + * cogl-enum-types.c.in is not part of the dist + + clutter/cogl/Makefile.am | 1 + + clutter/cogl/common/Makefile.am | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +commit faec5c468ba77e61a3f724be49f031be65ef2011 +Author: Jonas Bonn +Date: Thu May 28 09:47:45 2009 +0200 + + Freeze notifiers around property setters + + Notifications should be fired off from both the internal timeline and + the wrapping animation here, so notifiers should be frozen around these + property setters. + + Signed-off-by: Jonas Bonn + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 1187972e45b8c64ad25c2a243b0112bbde84e3e6 +Author: Jonas Bonn +Date: Thu May 28 09:40:09 2009 +0200 + + [animation] Final cleanups to new Animation model + + Just a couple of final cleanups after the reimplementation of the + Animation model. + + i) _set_mode does not need to set the timeline on the alpha + ii) freeze notifications around the setting of a new alpha + + Signed-off-by: Jonas Bonn + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit c5e659d5922b406059c94545c1a5c773f61b2379 +Author: Emmanuele Bassi +Date: Fri May 29 14:52:49 2009 +0100 + + [master clock] Use StageManager::peek_stages() + + Use the new StageManager::peek_stages() method to avoid a copy + of the stages list. + + clutter/clutter-master-clock.c | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +commit 5d4974ed365d9882945f211f1dadd067b4b2d8b1 +Author: Emmanuele Bassi +Date: Fri May 29 14:45:53 2009 +0100 + + [stage manager] Add peek_stages() + + We need an method for StageManager that returns a const pointer + to the internal list, to avoid the copy. + + clutter/clutter-stage-manager.c | 24 ++++++++++++++++++++++-- + clutter/clutter-stage-manager.h | 1 + + 2 files changed, 23 insertions(+), 2 deletions(-) + +commit 63c7cc0175461a08e5b1d3f3b78e37d581a03ffd +Author: Emmanuele Bassi +Date: Fri May 29 14:25:19 2009 +0100 + + [master clock] Handle Timeline::started signal correctly + + The "started" signal is sent first after the timeline has been set to the + 'running' state. For this reason, checking if the clock has any running + timelines running will always return true in the "started" signal handler: + the timeline that sent the signal is running. + + What needs to be checked in the signal handler is if there are any + timelines running other than the one that emitted the ::started signal, + which we know is running anyway. + + This prevents frames from being lost at the beginning of an animation when + a timeline is started after a quiescent period. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1617 + + Signed-off-by: Jonas Bonn + Signed-off-by: Emmanuele Bassi + + clutter/clutter-master-clock.c | 67 +++++++++++++++++++++++++++++++++++++----- + 1 file changed, 60 insertions(+), 7 deletions(-) + +commit cbbc1a9ca36972ee0bf0612605c5176ce9b63b7f +Author: Emmanuele Bassi +Date: Fri May 29 14:27:55 2009 +0100 + + [build] Copy cogl-enum-types.h under the guard + + We avoid rebuilding cogl-enum-types.h and cogl-enum-types.c by + using a "guard" -- a stamp file that will block Makefile. Since + we need cogl-enum-types.h into /clutter/cogl as well for the + cogl.h include to work, if we copy the cogl-enum-types.h + unconditionally it will cause a rebuild of the whole COGL; which + will cause a full rebuild. + + To solve this, we can copy the header file when generating it + under the stamp file. + + clutter/cogl/common/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit cfb95084651b0ea199eecef5993d7fc2da3586fa +Author: Neil Roberts +Date: Fri May 29 14:23:16 2009 +0100 + + [configure] Always execute the AM_CONDITIONAL call for X11_TESTS + + Automake gets upset if an AM_CONDITIONAL call is itself conditionally + executed. + + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit e565c1f1dbfdb29fcaa7065d078f524c8432c12c +Author: Emmanuele Bassi +Date: Fri May 29 12:50:48 2009 +0100 + + [build] Encode the target into the backend library + + The libclutter-cogl internal object should be the only dependency + for Clutter, since we are already copying it inside clutter/cogl + for the introspection scanner. For this reason, the backend-specific, + real internal object should be built with the backend encoded into + the file name, like libclutter-common. This makes the build output + a little bit more clear: instead of having two: + + LINK libclutter-cogl-common.la + ... + LINK libclutter-cogl.la + LINK libclutter-cogl.la + + We'll have: + + LINK libclutter-cogl-common.la + ... + LINK libclutter-cogl-gl.la + LINK libclutter-cogl.la + + Same applies for the GLES backend. + + clutter/cogl/Makefile.am | 4 ++-- + clutter/cogl/gl/Makefile.am | 10 +++++----- + clutter/cogl/gles/Makefile.am | 12 ++++++------ + 3 files changed, 13 insertions(+), 13 deletions(-) + +commit b4861cbd21210b99294b93ea18bbfb4724a0aca6 +Author: Emmanuele Bassi +Date: Fri May 29 12:40:23 2009 +0100 + + Use g_once when registering enumeration types + + Just like we do with GObject types and G_DEFINE_TYPE, we should + use the g_once_init_enter/g_once_init_leave mechanism to make the + GType registration of enumeration types thread safe. + + clutter/clutter-enum-types.c.in | 20 +++++++++++++++----- + clutter/cogl/common/cogl-enum-types.c.in | 18 +++++++++++++----- + 2 files changed, 28 insertions(+), 10 deletions(-) + +commit 3248bb1b755ae23cfb1a2eabd7a72b803faa5a31 +Author: Emmanuele Bassi +Date: Fri May 29 12:31:47 2009 +0100 + + [cogl] Generate enumeration GTypes + + COGL is starting to have more enumerations than I can handle + by hand. Let's use glib-mkenums and be done with it. + + .gitignore | 3 + + clutter/cogl/Makefile.am | 40 +++++--- + clutter/cogl/cogl-shader.h | 5 +- + clutter/cogl/cogl-types.h | 83 +++-------------- + clutter/cogl/cogl.h.in | 11 ++- + clutter/cogl/common/Makefile.am | 53 ++++++++++- + clutter/cogl/common/cogl-enum-types.c.in | 33 +++++++ + clutter/cogl/common/cogl-enum-types.h.in | 25 +++++ + clutter/cogl/common/cogl-util.c | 154 ------------------------------- + clutter/cogl/gl/Makefile.am | 5 - + 10 files changed, 161 insertions(+), 251 deletions(-) + +commit 7b75f93db1ad29ef4c81c20ee8434876d54aa358 +Author: Emmanuele Bassi +Date: Thu May 28 17:18:13 2009 +0100 + + [docs] Fixes for the API reference + + * Add unused symbols + + * Document and sync argument names with their gtk-doc counterpart + + * Add missing descriptions + + clutter/clutter-actor.h | 4 ++++ + clutter/clutter-animation.c | 2 +- + clutter/clutter-container.h | 5 +++++ + clutter/clutter-main.h | 2 +- + clutter/clutter-texture.c | 2 +- + clutter/cogl/cogl-material.h | 5 +++++ + clutter/cogl/cogl-shader.h | 14 +++++++++--- + clutter/cogl/cogl-vertex-buffer.h | 35 +++++++++++++++++++----------- + clutter/cogl/cogl.h.in | 4 ++++ + doc/reference/clutter/clutter-sections.txt | 7 ++++-- + doc/reference/cogl/cogl-sections.txt | 6 ----- + 11 files changed, 59 insertions(+), 27 deletions(-) + +commit e51fbebd67e04182438c7f24d5db7b0f678c3f56 +Author: Emmanuele Bassi +Date: Thu May 28 17:18:10 2009 +0100 + + [git ignore] Add blend strings test + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 9557328e4ec61ed0c78c165135c8f4b216f26b7f +Merge: 7252c1419 d960ce46e +Author: Emmanuele Bassi +Date: Thu May 28 15:53:56 2009 +0100 + + Merge branch 'master' into 1.0-integration + + * master: + [test-text-perf] Use queue_redraw instead of painting the stage directly + [actor] In paint when opacity == 0, clear the queued_redraw flag + +commit d960ce46e5fe087bccae2aa9a023fa1a80b76e79 +Author: Neil Roberts +Date: Thu May 28 15:27:09 2009 +0100 + + [test-text-perf] Use queue_redraw instead of painting the stage directly + + If it doesn't queue a redraw and allow the backend to clear and swap + the buffers then the results will be skewed because it is not + predictable when the driver will actually render the scene. + + tests/micro-bench/test-text-perf.c | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +commit 7252c141970eaa7c17214e9890b917221be70fd0 +Author: Emmanuele Bassi +Date: Thu May 28 13:03:19 2009 +0100 + + [cogl] Make cogl_setup_viewport() a private function + + The setup_viewport() function should only be used by Clutter and + not by application code. + + It can be emulated by changing the Stage size and perspective and + requeueing a redraw after calling clutter_stage_ensure_viewport(). + + clutter/clutter-main.c | 16 +++++++++------- + clutter/clutter-texture.c | 10 +++++----- + clutter/cogl/cogl.h.in | 10 ++++++---- + clutter/cogl/common/cogl.c | 16 ++++++++-------- + 4 files changed, 28 insertions(+), 24 deletions(-) + +commit 32018584c0eda5bd29d4f3a773e7d243a740cbc4 +Author: Emmanuele Bassi +Date: Thu May 28 12:52:00 2009 +0100 + + [cogl deprecated] Add backface culling deprecation + + The backface culling enabling function was split and renamed, just + like the depth testing one, so we need to add the macro to the + cogl-deprecated.h header. + + clutter/cogl/cogl-deprecated.h | 13 ++++++------- + 1 file changed, 6 insertions(+), 7 deletions(-) + +commit be826ed4e7b9e834da0055f4e5d253c22204b870 +Author: Robert Bragg +Date: Thu May 28 12:49:29 2009 +0100 + + [cogl vertex buffers] Give indices a CoglHandle so they are shareable + + Previously indices were tightly bound to a particular Cogl vertex buffer + but we would like to be able to share indices so now we have + cogl_vertex_buffer_indices_new () which returns a CoglHandle. + + In particular we could like to have a shared set of indices for drawing + lists of quads that can be shared between the pango renderer and the + Cogl journal. + + clutter/cogl/cogl-vertex-buffer.h | 34 ++++----- + clutter/cogl/common/cogl-vertex-buffer-private.h | 7 +- + clutter/cogl/common/cogl-vertex-buffer.c | 97 ++++++------------------ + tests/interactive/test-cogl-vertex-buffer.c | 16 ++-- + 4 files changed, 46 insertions(+), 108 deletions(-) + +commit f0849fc3e25185e86464cadcc98a7bcdac1b0ab8 +Author: Robert Bragg +Date: Thu May 28 02:03:16 2009 +0100 + + [cogl journal] If we are only flushing one quad use a TRIANGLE_FAN + + At the moment Cogl doesn't do much batching of quads so most of the time we + are flushing a single quad at a time. This patch simplifies how we submit + those quads to OpenGL by using glDrawArrays with GL_TRIANGLE_FAN mode + instead of sending indexed vertices using GL_TRIANGLES mode. + + Note: I hope to follow up soon with changes that improve our batching and + also move the indices into a VBO so they don't need to be re-validated every + time we call glDrawElements. + + clutter/cogl/common/cogl-primitives.c | 80 ++++++++++++++++++++--------------- + 1 file changed, 46 insertions(+), 34 deletions(-) + +commit 57cb20dc0685889b5eaa89d409a47d67d15450fb +Author: Robert Bragg +Date: Tue May 26 18:25:00 2009 +0100 + + [deprecated defines] Adds some missing cogl_texture_* deprecated defines + + To assist people porting code from 0.8, the cogl_texture_* functions that + have been replaced now have defines that give some hint as to how they + should be replaced. + + clutter/cogl/cogl-deprecated.h | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 605243d95285ad57cf55dc7674884f3ed4b09524 +Author: Robert Bragg +Date: Tue May 26 16:55:11 2009 +0100 + + [cogl] renamed cogl_enable_* to cogl_set_*_enabled + added getters + + cogl_enable_depth_test and cogl_enable_backface_culling have been renamed + and now have corresponding getters, the new functions are: + cogl_set_depth_test_enabled + cogl_get_depth_test_enabled + cogl_set_backface_culling_enabled + cogl_get_backface_culling_enabled + + README | 3 +++ + clutter/cogl/cogl-deprecated.h | 1 + + clutter/cogl/cogl.h.in | 27 +++++++++++++++++++++++---- + clutter/cogl/common/cogl.c | 25 +++++++++++++++++-------- + doc/reference/cogl/cogl-sections.txt | 6 ++++-- + tests/conform/test-backface-culling.c | 4 ++-- + 6 files changed, 50 insertions(+), 16 deletions(-) + +commit 96188bab621d4a342d67a1e0a85dd1dcb3bdee68 +Author: Robert Bragg +Date: Tue May 26 11:33:54 2009 +0100 + + [cogl matrix] Support ortho and perspective projections. + + This adds cogl_matrix api for multiplying matrices either by a perspective + or ortho projective transform. The internal matrix stack and current-matrix + APIs also have corresponding support added. + + New public API: + cogl_matrix_perspective + cogl_matrix_ortho + cogl_ortho + cogl_set_modelview_matrix + cogl_set_projection_matrix + + clutter/cogl/cogl-matrix.h | 70 ++++++++-- + clutter/cogl/cogl.h.in | 39 ++++++ + clutter/cogl/common/cogl-current-matrix.c | 215 +++++++++++++++++------------- + clutter/cogl/common/cogl-matrix-stack.c | 68 +++++++--- + clutter/cogl/common/cogl-matrix-stack.h | 20 ++- + clutter/cogl/common/cogl-matrix.c | 87 +++++++++--- + doc/reference/cogl/cogl-sections.txt | 19 +-- + 7 files changed, 370 insertions(+), 148 deletions(-) + +commit 12c8ff8606c2fb6212e59c50842e04b634f7c4b2 +Author: Robert Bragg +Date: Tue May 26 15:41:53 2009 +0100 + + [cogl] Remove cogl_{create,destroy}_context from the public API + + cogl_create_context is dealt with internally when _cogl_get_default context + is called, and cogl_destroy_context is currently never called. + + It might be nicer later to get an object back when creating a context so + Cogl can support multiple contexts, so these functions are being removed + from the API until we get a chance to address context management properly. + + For now cogl_destroy_context is still exported as _cogl_destroy_context so + Clutter could at least install a library deinit handler to call it. + + clutter/cogl/cogl.h.in | 28 ++++++++++++---------------- + clutter/cogl/gl/cogl-context.c | 4 ++-- + clutter/cogl/gles/cogl-context.c | 4 ++-- + doc/reference/cogl/cogl-sections.txt | 3 --- + 4 files changed, 16 insertions(+), 23 deletions(-) + +commit 59bd824404c34b20defb2e8e76335185e714efc7 +Author: Robert Bragg +Date: Tue May 26 16:27:36 2009 +0100 + + [vbo indices] tweak add_indices api to return an id and add delete_indices api + + Originally cogl_vertex_buffer_add_indices let the user pass in their own unique + ID for the indices; now the Id is generated internally and returned to the + caller. + + clutter/cogl/cogl-vertex-buffer.h | 30 ++++++++++++----- + clutter/cogl/common/cogl-vertex-buffer.c | 52 +++++++++++++++++++---------- + doc/reference/cogl/cogl-sections.txt | 1 + + tests/interactive/test-cogl-vertex-buffer.c | 19 ++++++----- + 4 files changed, 67 insertions(+), 35 deletions(-) + +commit d51faed66095259f17467dceba0cc0cd02dcd042 +Author: Robert Bragg +Date: Sun May 24 11:33:29 2009 +0100 + + [cogl-vertex-buffer] Seal GL types from the public API + + We now have CoglAttributeType and CoglVerticesMode typedefs to replace the + use of GLenum in the public API. + + clutter/cogl/cogl-vertex-buffer.h | 118 ++++++++++++++++------------ + clutter/cogl/common/cogl-vertex-buffer.c | 48 +++++------ + tests/interactive/test-cogl-vertex-buffer.c | 6 +- + 3 files changed, 96 insertions(+), 76 deletions(-) + +commit 6bb66866660018e90c2c1663e02fca3f0b818050 +Author: Robert Bragg +Date: Sun May 24 04:04:38 2009 +0100 + + [cogl-vertex-buffers] Support putting index arrays into VBOS + + It's now possible to add arrays of indices to a Cogl vertex buffer and + they will be put into an OpenGL vertex buffer object. Since it's quite + common for index arrays to be static it saves the OpenGL driver from + having to validate them repeatedly. + + This changes the cogl_vertex_buffer_draw_elements API: It's no longer + possible to provide a pointer to an index array at draw time. So + cogl_vertex_buffer_draw_elements now takes an indices identifier that + should correspond to an idendifier returned when calling + cogl_vertex_buffer_add_indices () + + clutter/cogl/cogl-vertex-buffer.h | 79 ++++++++--- + clutter/cogl/common/cogl-vertex-buffer-private.h | 33 +++-- + clutter/cogl/common/cogl-vertex-buffer.c | 159 +++++++++++++++++++++-- + doc/reference/cogl/cogl-sections.txt | 2 + + tests/interactive/test-cogl-vertex-buffer.c | 17 ++- + 5 files changed, 243 insertions(+), 47 deletions(-) + +commit 68214fe4b88603c73a77d5cc543f8688a0bde82c +Author: Robert Bragg +Date: Sat May 23 17:52:18 2009 +0100 + + [cogl] Remove cogl_flush_gl_state from the API + + This is being removed before we release Clutter 1.0 since the implementation + wasn't complete, and so we assume no one is using this yet. Util we have + someone with a good usecase, we can't pretend to support breaking out into + raw OpenGL. + + clutter/cogl/cogl.h.in | 8 +++++++- + clutter/cogl/common/cogl.c | 2 ++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +commit f322da3794f6556648566ebcf6b83f59f88e7a5b +Author: Robert Bragg +Date: Sat May 23 17:42:10 2009 +0100 + + [material] Reduce the material API in preperation for releasing Clutter 1.0 + + There were a number of functions intended to support creating of new + primitives using materials, but at this point they aren't used outside of + Cogl so until someone has a usecase and we can get feedback on this + API, it's being removed before we release Clutter 1.0. + + clutter/cogl/cogl-material.h | 129 ++++------------------------ + clutter/cogl/common/cogl-handle.h | 17 ++-- + clutter/cogl/common/cogl-material-private.h | 86 +++++++++++++++++++ + clutter/cogl/common/cogl-material.c | 6 +- + clutter/cogl/common/cogl-primitives.c | 50 +++++------ + clutter/cogl/common/cogl-vertex-buffer.c | 15 ++-- + clutter/cogl/common/cogl.c | 3 +- + clutter/cogl/gl/cogl-context.c | 4 +- + clutter/cogl/gl/cogl-primitives.c | 15 ++-- + clutter/cogl/gles/cogl-context.c | 4 +- + clutter/cogl/gles/cogl-primitives.c | 15 ++-- + doc/reference/cogl/cogl-sections.txt | 3 + + 12 files changed, 174 insertions(+), 173 deletions(-) + +commit f28d5e481b7e01b241618a10e7fde834de3ac2b2 +Author: Robert Bragg +Date: Sat May 23 16:23:00 2009 +0100 + + [cogl-material] Removes all the API made redundant by the blend strings API + + This removes the following API: + cogl_material_set_blend_factors + cogl_material_set_layer_combine_function + cogl_material_set_layer_combine_arg_src + cogl_material_set_layer_combine_arg_op + + These were rather awkward to use, so since it's expected very few people are + using them at this point and it should be straight forward to switch over + to blend strings, the API is being removed before we release Clutter 1.0. + + clutter/cogl/cogl-material.h | 293 ---------------------------- + clutter/cogl/common/cogl-material-private.h | 20 +- + clutter/cogl/common/cogl-material.c | 176 +++-------------- + clutter/pango/cogl-pango-render.c | 22 +-- + doc/reference/cogl/cogl-sections.txt | 11 -- + 5 files changed, 38 insertions(+), 484 deletions(-) + +commit 33994caa71fea904a80971a15216e6d7fa48712c +Author: Robert Bragg +Date: Mon May 11 00:40:41 2009 +0100 + + [cogl-material] Support string based blending and layer combine descriptions + + Setting up layer combine functions and blend modes is very awkward to do + programatically. This adds a parser for string based descriptions which are + more consise and readable. + + E.g. a material layer combine function could now be given as: + "RGBA = ADD (TEXTURE[A], PREVIOUS[RGB])" + or + "RGB = REPLACE (PREVIOUS)" + "A = MODULATE (PREVIOUS, TEXTURE)" + + The simple syntax and grammar are only designed to expose standard fixed + function hardware, more advanced combining must be done with shaders. + + This includes standalone documentation of blend strings covering the aspects + that are common to blending and texture combining, and adds documentation + with examples specific to the new cogl_material_set_blend() and + cogl_material_layer_set_combine() functions. + + Note: The hope is to remove the now redundant bits of the material API + before 1.0 + + clutter/cogl/cogl-debug.h | 20 +- + clutter/cogl/cogl-material.h | 244 ++++++- + clutter/cogl/common/Makefile.am | 2 + + clutter/cogl/common/cogl-blend-string.c | 999 ++++++++++++++++++++++++++++ + clutter/cogl/common/cogl-blend-string.h | 151 +++++ + clutter/cogl/common/cogl-debug.c | 3 +- + clutter/cogl/common/cogl-material-private.h | 13 +- + clutter/cogl/common/cogl-material.c | 406 ++++++++++- + clutter/cogl/gl/cogl-context.c | 3 + + clutter/cogl/gl/cogl-context.h | 3 + + clutter/cogl/gl/cogl-defines.h.in | 12 + + clutter/cogl/gl/cogl.c | 10 + + clutter/cogl/gles/cogl-gles2-wrapper.c | 9 +- + clutter/cogl/gles/cogl-gles2-wrapper.h | 5 +- + clutter/cogl/gles/cogl-texture.c | 49 +- + doc/reference/cogl/Makefile.am | 9 +- + doc/reference/cogl/blend-strings.xml | 130 ++++ + doc/reference/cogl/cogl-docs.xml | 1 + + doc/reference/cogl/cogl-sections.txt | 4 + + tests/conform/Makefile.am | 3 +- + tests/conform/test-blend-strings.c | 410 ++++++++++++ + tests/conform/test-conform-main.c | 2 + + 22 files changed, 2404 insertions(+), 84 deletions(-) + +commit ef1a771fde77e29b8bf327905674da59ea3d0bf0 +Author: Robert Bragg +Date: Wed May 27 23:39:18 2009 +0100 + + [build] Fixes some compiler warnings when building for GLES 2 + + There were a number of variables shadowing other symbols, and an unused + display variable. + + clutter/cogl/gles/cogl-gles2-wrapper.c | 20 +++++++++---------- + clutter/cogl/gles/cogl-primitives.c | 36 +++++++++++++++++----------------- + tests/conform/test-conform-main.c | 3 +-- + 3 files changed, 29 insertions(+), 30 deletions(-) + +commit ccd3b4c8863a2a0568d903b4b0273ad05cc17c39 +Author: Emmanuele Bassi +Date: Wed May 27 18:28:37 2009 +0100 + + [animation] Simplify the Animation code + + After long deliberation, the Animation class handling of the + :mode, :duration and :loop properties, as well as the conditions + for creating the Alpha and Timeline instances, came out as far too + complicated for their own good. + + This is a rework of the API/parameters matrix and behaviour: + + - :mode accessors will create an Alpha, if needed + - :duration and :loop accessors will create an Alpha and a Timeline + if needed + - :alpha will set or unset the Alpha + - :timeline will set or unset the Timeline + + Plus, more documentation on the Animation class itself. + + Many thanks to Jonas Bonn for the feedback + and the ideas. + + clutter/clutter-animation.c | 420 ++++++++++++++++++-------------------------- + 1 file changed, 174 insertions(+), 246 deletions(-) + +commit 6fff1bcdc6cd90bfc75eff765c7512545fedded9 +Author: Emmanuele Bassi +Date: Wed May 27 13:01:31 2009 +0100 + + [animatable] Allow validation in ::animate_property + + The Animatable interface implementation will always have the computed + value applied, whilst the non-Animatable objects go through the + interval validation first to avoid incurring in assertions and + warnings. + + The Animatable::animate_property() should also be able to validate the + property it's supposed to interpolate, and eventually discard it. This + requires adding a return value to the virtual function (and its wrapper + function). + + The Animation code will then apply the computed value only if the + animate_property() returns TRUE -- unifying the code path with the + non-Animatable objects. + + clutter/clutter-animatable.c | 43 ++++++++++++++++++++++++++----------------- + clutter/clutter-animatable.h | 28 ++++++++++++++-------------- + clutter/clutter-animation.c | 21 ++++++++++++--------- + 3 files changed, 52 insertions(+), 40 deletions(-) + +commit 7edaf8ece8af8c1f9bf7dd25263ec16dee5adf69 +Author: Emmanuele Bassi +Date: Wed May 27 12:12:11 2009 +0100 + + [animation] Proxy properties whenever possible + + The Animation class should proxy the :mode, :duration and :loop + properties whenever possible, to avoid them going out of sync when + changed using the Alpha and Timeline instances directly. + + Currently, if Timeline:duration is changed, querying Animation:duration + will yield the old value, but the animation itself (being driven by + the Timeline) will use the Timeline's :duration new value. This holds + for the :loop and :mode properties as well. + + Instead, the getters for the Animation's :duration, :loop and + :mode properties should ask the relevant object -- if any. The + loop, duration and mode values inside AnimationPrivate should only + be used if no Timeline or no Alpha instances are available, or + when creating new instances. + + clutter/clutter-animation.c | 60 ++++++++++++++++++++++++++++++++++----------- + 1 file changed, 46 insertions(+), 14 deletions(-) + +commit 1f44c3584c9040a6745f052ad7ce7ffd9dc399a9 +Author: Emmanuele Bassi +Date: Wed May 27 11:52:40 2009 +0100 + + [animation] Defer the timeline handling to the Alpha + + The Animation should not directly manipulate a Timeline instance, + but it should defer to the Alpha all handling of the timeline. + + This means that: + + - set_duration() and set_loop() will either create a Timeline or + will set the :duration and :loop properties on the Timeline; if + the Timeline must be created, and no Alpha instance is available, + then a new Alpha instance will be created as well and the newly + create Timeline will be assigned to the Alpha + + - if set_mode() on an Animation instance without an Alpha, the + Alpha will be created; a Timeline will also be created + + - set_alpha() will replace the Alpha; if the new Alpha does not + have a Timeline associated then a Timeline will be created using + the current :duration and :loop properties of Animation; otherwise, + if the replaced Alpha had a timeline, the timeline will be + transferred to the new one + + clutter/clutter-animation.c | 342 ++++++++++++++++++++++++++++++-------------- + 1 file changed, 231 insertions(+), 111 deletions(-) + +commit 331d43196da1a76fe5abe138639674b0cb9fbd47 +Author: Emmanuele Bassi +Date: Tue May 26 17:23:24 2009 +0100 + + [build] Decouple COGL debug level from Clutter's + + Using --enable-debug, which controls Clutter's debug level, also + defines COGL_ENABLE_DEBUG. This should be left to --enable-cogl-debug + instead, since it's the configure switch that controls COGL debug + level. + + configure.ac | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 387ab4c142c8c3b4708e08be540b279fcda8ffd8 +Author: Emmanuele Bassi +Date: Mon May 25 17:16:44 2009 +0100 + + [doap] Update + + Long overdue update of the DOAP file for Clutter + + * Repository update + + * Add authors + + clutter.doap | 61 +++++++++++++++++++++++++++++++++++++++++++----------------- + 1 file changed, 44 insertions(+), 17 deletions(-) + +commit 733508b80d30a0946061c55e599f1348ea895140 +Author: Emmanuele Bassi +Date: Mon May 25 16:52:53 2009 +0100 + + [build] More spring clean fixes + + * Remove the last if...fi with AS_IF + + * Put back the regexp for the mingw32 check that commit 0d1c626a + inadvertedly removed + + configure.ac | 55 +++++++++++++++++++++++++++++++------------------------ + 1 file changed, 31 insertions(+), 24 deletions(-) + +commit 0d1c626a86fdec432d5bb7ca78aec76ec1fecf7e +Author: Emmanuele Bassi +Date: Mon May 25 14:04:53 2009 +0100 + + [build] Spring cleanup of configure.ac + + Let's try to bring configure.ac into this century, shall we? + + * Use the proper shell macros AS_IF and AS_CASE instead of if...fi + and case...esac + + * Check for X11 and relative extensions only when building for GLX + and EGLX backends + + * Add documentation on the behaviour of binary_age and interface_age + + * Coalesce all the common checks to avoid redundancy + + * Escape everything that requires escaping + + configure.ac | 1057 +++++++++++++++++++++++++++++----------------------------- + 1 file changed, 534 insertions(+), 523 deletions(-) + +commit b05d4be19d07a834120bac6bbeacca31daae51b9 +Author: Emmanuele Bassi +Date: Mon May 25 12:42:17 2009 +0100 + + Use GLib variant of strcasecmp() + + The GLib version of strcasecmp() ignores any non-ASCII character, + unlike the original which is locale-dependent. + + clutter/glx/clutter-backend-glx.c | 2 +- + clutter/glx/clutter-glx-texture-pixmap.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +commit ec374c7ab9d5b98230a90a4be7b8ca6f5337f2b8 +Author: Emmanuele Bassi +Date: Mon May 25 12:41:16 2009 +0100 + + [build] Clean up cogl-pango Makefile + + clutter/pango/Makefile.am | 26 +++++++++++++------------- + 1 file changed, 13 insertions(+), 13 deletions(-) + +commit 71498a6376f3c45e6fec228251ec11b9c2dc4cd1 +Author: Emmanuele Bassi +Date: Sat May 23 19:18:18 2009 +0100 + + [cogl] Remove max_waste argument from Texture ctors + + The CoglTexture constructors expose the "max-waste" argument for + controlling the maximum amount of wasted areas for slicing or, + if set to -1, disables slicing. + + Slicing is really relevant only for large images that are never + repeated, so it's a useful feature only in controlled use cases. + Specifying the amount of wasted area is, on the other hand, just + a way to mess up this feature; 99% the times, you either pull this + number out of thin air, hoping it's right, or you try to do the + right thing and you choose the wrong number anyway. + + Instead, we can use the CoglTextureFlags to control whether the + texture should not be sliced (useful for Clutter-GST and for the + texture-from-pixmap actors) and provide a reasonable value for + enabling the slicing ourself. At some point, we might even + provide a way to change the default at compile time or at run time, + for particular platforms. + + Since max_waste is gone, the :tile-waste property of ClutterTexture + becomes read-only, and it proxies the cogl_texture_get_max_waste() + function. + + Inside Clutter, the only cases where the max_waste argument was + not set to -1 are in the Pango glyph cache (which is a POT texture + anyway) and inside the test cases where we want to force slicing; + for the latter we can create larger textures that will be bigger than + the threshold we set. + + Signed-off-by: Emmanuele Bassi + Signed-off-by: Robert Bragg + Signed-off-by: Neil Roberts + + clutter/clutter-texture.c | 116 ++++++++------------------ + clutter/clutter-texture.h | 4 +- + clutter/cogl/cogl-texture.h | 34 +++----- + clutter/cogl/cogl-types.h | 4 +- + clutter/cogl/common/cogl-util.c | 1 + + clutter/cogl/gl/cogl-context.c | 6 +- + clutter/cogl/gl/cogl-texture.c | 81 +++++++++--------- + clutter/cogl/gles/cogl-context.c | 6 +- + clutter/cogl/gles/cogl-texture.c | 60 +++++++------ + clutter/glx/clutter-glx-texture-pixmap.c | 2 +- + clutter/pango/cogl-pango-glyph-cache.c | 2 +- + tests/conform/test-backface-culling.c | 36 ++++---- + tests/conform/test-npot-texture.c | 28 ++++--- + tests/conform/test-vertex-buffer-contiguous.c | 3 +- + tests/interactive/test-clip.c | 2 +- + tests/interactive/test-cogl-multitexture.c | 18 ++-- + tests/interactive/test-cogl-offscreen.c | 4 +- + tests/interactive/test-cogl-tex-convert.c | 8 +- + tests/interactive/test-cogl-tex-getset.c | 4 +- + tests/interactive/test-cogl-tex-polygon.c | 6 +- + tests/interactive/test-cogl-tex-tile.c | 2 +- + 21 files changed, 191 insertions(+), 236 deletions(-) + +commit 87465355d3415a28fc6b3e4f62611cc3192516d8 +Author: Emmanuele Bassi +Date: Mon Mar 30 13:49:03 2009 +0100 + + Add repaint functions + + Sometimes it is necessary for third party code to have a + function called during the redraw process, so that you can + update the scenegraph before it is painted. + + clutter/clutter-main.c | 159 ++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-main.h | 62 +++++++++--------- + clutter/clutter-private.h | 4 ++ + clutter/clutter-stage.c | 9 ++- + 4 files changed, 203 insertions(+), 31 deletions(-) + +commit 5cde6a598f7b846615b817002389fcae954f612a +Author: Emmanuele Bassi +Date: Sat May 23 19:32:24 2009 +0100 + + [git ignore] Add test-text-perf + + .gitignore | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 654c26a1301c9bc5f8e3e5e3b68af5eb1b2e0673 +Author: Neil Roberts +Date: Fri May 22 14:49:37 2009 +0100 + + [actor] In paint when opacity == 0, clear the queued_redraw flag + + If we are short-circuiting the paint when the opacity is zero we still + need to clear the queued_redraw flag otherwise it won't be possible to + queue another redraw of the actor until something else has caused a + paint first. + + clutter/clutter-actor.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit c262ab0b638eba97e8a152ca5c76360d0f4bf348 +Merge: 309f680d3 b3fe1b8a8 +Author: Emmanuele Bassi +Date: Fri May 22 12:00:33 2009 +0100 + + Merge branch 'master' into 1.0-integration + + * master: + [cogl-vertex-buffer] Ensure the clip state before rendering + [test-text-perf] Small fix-ups + Add a test for text performance + [build] Ensure that cogl-debug is disabled by default + [build] The cogl GE macro wasn't passing an int according to the format string + Use the right internal format for GL_ARB_texture_rectangle + [actor_paint] Ensure painting is a NOP for actors with opacity = 0 + Make backface culling work with vertex buffers + +commit b3fe1b8a8a663fc8ac5e2388c7dbc7aa20929bce +Author: Neil Roberts +Date: Fri May 22 11:41:02 2009 +0100 + + [cogl-vertex-buffer] Ensure the clip state before rendering + + Before any rendering is done by Cogl it needs to ensure the clip stack + is set up correctly by calling cogl_clip_ensure. This was not being + done for the Cogl vertex buffer so it would still use the clip from + the previous render. + + clutter/cogl/common/cogl-vertex-buffer.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 309f680d323f25a83f0a529e499f84f301708e79 +Author: Damien Lespiau +Date: Fri May 22 01:23:29 2009 +0100 + + [texture] size-change closure is now VOID:FLOAT,FLOAT + + Now that everything is float, the marsharlling function of the + size-change signal should reflect that fact. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-marshal.list | 1 + + clutter/clutter-texture.c | 4 ++-- + 2 files changed, 3 insertions(+), 2 deletions(-) + +commit a1b0160da7b72a92178d58c514d3988b2761a688 +Author: Neil Roberts +Date: Thu May 21 17:43:41 2009 +0100 + + [test-text-perf] Small fix-ups + + - Fix a typo in a for loop in create_label which left 'i' + uninitialised and caused a crash if you're unlucky. + + - Set the CLUTTER_VBLANK=none environment variable. + + - Don't quit on a keypress. + + - Trailing whitespace tidy up. + + tests/micro-bench/test-text-perf.c | 19 +++++++++---------- + 1 file changed, 9 insertions(+), 10 deletions(-) + +commit 8724a16452eb4cb577ba6a7763a8491e2935f9a5 +Author: Owen W. Taylor +Date: Sat Nov 22 19:26:56 2008 -0500 + + Add a test for text performance + + Add tests/test-text-perf, which allows testing text performance as + a function of the length of text strings and font size. + + tests/micro-bench/Makefile.am | 4 +- + tests/micro-bench/test-text-perf.c | 123 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 126 insertions(+), 1 deletion(-) + +commit d513c1c5403e9f92178d3ed7202d78b0db6efe67 +Merge: 1985fa75b 7e18109f9 +Author: Neil Roberts +Date: Thu May 21 16:51:16 2009 +0100 + + Merge branch 'pango-vbo' into 1.0-integration + + This makes it cache the geometry of PangoLayouts into a VBO as + described in bug #1572. + +commit 7e18109f9bec0afba900534a9c96035ae1f32dd7 +Author: Neil Roberts +Date: Thu May 21 15:49:14 2009 +0100 + + [cogl-pango-display-list] Use GL_TRIANGLES under GLES + + GLES doesn't support GL_QUADS. This patch makes it use GL_TRIANGLES + instead in that case. Unfortunately this means submitting two extra + vertices per quad. It could be better to use indexed elements once + CoglVertexBuffers gains support for that. + + clutter/pango/cogl-pango-display-list.c | 28 +++++++++++++++++++++++++++- + 1 file changed, 27 insertions(+), 1 deletion(-) + +commit 78a4f1de0d934b83d5ed30d33ac992f32c1b71c6 +Author: Robert Bragg +Date: Thu May 21 15:25:31 2009 +0100 + + [build] Ensure that cogl-debug is disabled by default + + The new cogl-debug option was accidentally being enabled by default since + configure.ac checked the 'default_enable' variable not 'cogl_default_enable' + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 14c3ef1f8dab9390cbdb078ef4663b5ea88a78ce +Author: Robert Bragg +Date: Thu May 21 15:04:38 2009 +0100 + + [build] The cogl GE macro wasn't passing an int according to the format string + + This patch simply updates the arguments passed to g_warning inline with the + given format string. + + clutter/cogl/common/cogl-internal.h | 1 + + 1 file changed, 1 insertion(+) + +commit 5481681e5c74a8eb994935e5a14d08cc4372a791 +Author: Owen W. Taylor +Date: Wed May 6 23:35:01 2009 -0400 + + Use the right internal format for GL_ARB_texture_rectangle + + When ClutterGLXTexturePixmap uses GL_ARB_texture_rectangle, + it needs to pass the right internal format (GL_RGB or GL_RGBA) + when it initializes the texture with glTexImage2D() or later + handling won't recognize the alpha channel. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1586 + + Signed-off-by: Robert Bragg + + clutter/glx/clutter-glx-texture-pixmap.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 2c6719502a1e22f4e910ef3514ba5bdf8b1f0c83 +Author: Robert Bragg +Date: Wed May 20 17:55:29 2009 +0100 + + [actor_paint] Ensure painting is a NOP for actors with opacity = 0 + + Since it is convenient to use geometry with an opacity of 0 for input only + purposes it's a worthwhile optimization to avoid submitting anything + for such actors while painting. + + clutter/clutter-actor.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit f13c3ee3095ecb1c2ab6b8efbe25362967bc513e +Author: Neil Roberts +Date: Thu May 21 14:56:38 2009 +0100 + + Make backface culling work with vertex buffers + + Backface culling is enabled as part of cogl_enable so the different + rendering functions in Cogl need to explicitly opt-in to have backface + culling enabled. Cogl vertex buffers should allow backface culling so + they should check whether it is enabled and then set the appropriate + cogl_enable flag. + + clutter/cogl/cogl.h.in | 6 +++--- + clutter/cogl/common/cogl-vertex-buffer.c | 3 +++ + 2 files changed, 6 insertions(+), 3 deletions(-) + +commit 3fc64dfaa799828c3e0743df60de4255dac58d60 +Author: Neil Roberts +Date: Thu May 21 12:17:12 2009 +0100 + + [pango-render] Keep a reference to the first line to detect layout changes + + In order to cope with the situation where an application renders with + a PangoLayout, makes some changes and then renders again with the same + layout, CoglPangoRenderer needs to detect that the changes have + occured so that it can recreate the display list. This is acheived by + keeping a reference to the first line of the layout. When the layout + is changed Pango will clear the layout pointer in the first line and + create a new line. So if the layout pointer in the line becomes NULL + then we know the layout has changed. This trick was suggested by + Behdad Esfahbod in this email: + + http://mail.gnome.org/archives/gtk-i18n-list/2009-May/msg00019.html + + clutter/pango/cogl-pango-render.c | 81 ++++++++++++++++++++++++++++++++------- + 1 file changed, 67 insertions(+), 14 deletions(-) + +commit 085be4cebc6f021d8deb114e7984fdfc49665f40 +Author: Neil Roberts +Date: Thu May 21 12:09:16 2009 +0100 + + [cogl-pango-render] Fix the positioning when calling cogl_pango_render_layout + + When a position is given to cogl_pango_render_layout_subpixel it + translates the GL matrix by the coordinates. However it was not + dividing by PANGO_SCALE so the coordinates were completely wrong. + + clutter/pango/cogl-pango-render.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1985fa75b1929b005d4b5ff46d62ae840f62f38d +Author: Emmanuele Bassi +Date: Wed May 20 17:38:58 2009 +0100 + + [texture] Use a box instead of int coordinates + + Most of the operations involving the texture's allocated area require + floats -- either for computations or for setting the geometry into + COGL. So it doesn't make any sense to use get_allocation_coords() and + cast everything to floats. + + clutter/clutter-texture.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 3428e4dd1d1f852521efbc4b1590370b050173b1 +Author: Emmanuele Bassi +Date: Wed May 20 17:26:39 2009 +0100 + + [actor] Do not try to dereference NULL data + + If the shader_data bound to an Actor is NULL we should not try to access + its members. + + clutter/clutter-actor.c | 16 +++++++++------- + 1 file changed, 9 insertions(+), 7 deletions(-) + +commit f8f54989be460f8ae7abda7c2dc01eb578471742 +Merge: aa1246e89 4f5a5f38f +Author: Emmanuele Bassi +Date: Wed May 20 16:49:22 2009 +0100 + + Merge commit 'origin/master' into 1.0-integration + + Conflicts: + clutter/clutter-texture.c + clutter/cogl/gl/cogl-fbo.c + +commit 4f5a5f38f7068d4ec0dca9967f304a39901e8fec +Author: Emmanuele Bassi +Date: Wed May 20 16:06:09 2009 +0100 + + Add more padding in Model and ModelIter classes + + ClutterModel and ClutterModelIter have 4 padding slots, but if they + have to survive the 1.x API cycle they will need at least twice that + amount. + + clutter/clutter-model.h | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +commit c74586d019a4651d52938610894c0396f02294bb +Author: Emmanuele Bassi +Date: Wed May 20 15:15:25 2009 +0100 + + [cogl] Do no include gprintf.h + + We are not using any of the g_printf* family of functions, so we + can import glib.h instead. + + clutter/cogl/common/cogl-vertex-buffer.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 1f1d19f63450f52caa7231738cad84067486a2ba +Author: Emmanuele Bassi +Date: Tue May 19 16:00:18 2009 +0100 + + [cogl] Move debugging to a configure-time switch + + Currently, COGL depends on defining debug symbols by manually + modifying the source code. When it's done, it will forcefully + print stuff to the console. + + Since COGL has also a pretty, runtime selectable debugging API + we might as well switch everything to it. + + In order for this to happen, configure needs a new: + + --enable-cogl-debug + + command line switch; this will enable COGL debugging, the + CoglHandle debugging and will also turn on the error checking + for each GL operation. + + The default setting for the COGL debug defines is off, since + it slows down the GL operations; enabling it for a particular + debug build is trivial, though. + + clutter/cogl/cogl-debug.h | 3 ++- + clutter/cogl/common/Makefile.am | 2 +- + clutter/cogl/common/cogl-debug.c | 3 ++- + clutter/cogl/common/cogl-handle.h | 23 ++++++++++++----------- + clutter/cogl/common/cogl-internal.h | 7 +++---- + clutter/cogl/gl/Makefile.am | 2 +- + clutter/cogl/gles/Makefile.am | 2 +- + configure.ac | 21 ++++++++++++++++++++- + 8 files changed, 42 insertions(+), 21 deletions(-) + +commit df1a9b7a74880d60fe1f00a7e35b8b620705701a +Author: Emmanuele Bassi +Date: Tue May 19 14:44:29 2009 +0100 + + [cogl] Rework the debug messages + + COGL has a debug message system like Clutter's own. In parallel, + it also uses a coupld of #defines. Spread around there are also + calls to printf() instead to the more correct g_log* wrappers. + + This commit tries to unify and clean up the macros and the + debug message handling inside COGL to be more consistent. + + clutter/cogl/common/cogl-handle.h | 145 ++++++++++++++++------------------ + clutter/cogl/common/cogl-internal.h | 43 +++++----- + clutter/cogl/common/cogl-primitives.c | 30 +++---- + clutter/cogl/common/cogl.c | 31 ++++++-- + clutter/cogl/gl/cogl-texture.c | 22 ++---- + clutter/cogl/gles/cogl-texture.c | 11 --- + 6 files changed, 131 insertions(+), 151 deletions(-) + +commit 529e48fbbe95f9fe2d8db631b129391d9c2f36c9 +Author: Emmanuele Bassi +Date: Tue May 19 14:42:37 2009 +0100 + + Remove duplicate cogl-internal.h header + + The cogl-internal.h header has been moved inside cogl/common in + commit 8a1b4f8326 but has been left behind inside cogl/gl and + cogl/gles. + + clutter/cogl/gl/Makefile.am | 1 - + clutter/cogl/gl/cogl-internal.h | 66 --------------------------- + clutter/cogl/gles/Makefile.am | 1 - + clutter/cogl/gles/cogl-internal.h | 93 --------------------------------------- + 4 files changed, 161 deletions(-) + +commit 407ac5075fb5737aff3730773ec9ccba2dbe7fd0 +Author: Emmanuele Bassi +Date: Tue May 19 12:51:29 2009 +0100 + + [texture] Add missing accessors + + ClutterTexture has many properties that can only be accessed using + the GObject API. This is fairly inefficient and makes binding the + class overly complicated. + + The Texture class should have accessor methods for all its properties, + properly documented. + + clutter/clutter-texture.c | 453 ++++++++++++++++++++++++----- + clutter/clutter-texture.h | 45 ++- + doc/reference/clutter/clutter-sections.txt | 13 + + 3 files changed, 429 insertions(+), 82 deletions(-) + +commit 3115a6168836ff65ce58c31458d7672400458d74 +Author: Emmanuele Bassi +Date: Mon May 18 19:38:03 2009 +0100 + + [cogl] Rework the GL-error-to-string conversion + + The code for the conversion of the GL error enumeration code + into a string is not following the code style and conventions + we follow in Clutter and COGL. + + The GE() macro is also using fprintf(stderr) directly instead + of using g_warning() -- which is redirectable to an alternative + logging system using the g_log* API. + + clutter/cogl/common/cogl-internal.h | 22 ++++++++-------- + clutter/cogl/common/cogl.c | 52 +++++++++++++++++++------------------ + 2 files changed, 38 insertions(+), 36 deletions(-) + +commit e725bd21bf6b0760ed099b6e7136765774cf2093 +Author: Emmanuele Bassi +Date: Tue May 19 12:53:37 2009 +0100 + + [gitignore] Add more gtk-doc droppings + + .gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit cd3acca2b793c45c81ea4fdc053f82aa2b0ffe21 +Author: Emmanuele Bassi +Date: Thu May 14 23:23:00 2009 +0100 + + [build] Link Cogl against -lm + + We use math routines inside Cogl, so it's correct to have it in + the LIBADD line. In normal usage something else was pulling in + -lm, but the introspection is relying on linking against the + convenience library. + + Based on a patch by: Colin Walters + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/common/Makefile.am | 10 +++------- + clutter/cogl/gl/Makefile.am | 9 +++------ + clutter/cogl/gles/Makefile.am | 13 ++++--------- + 3 files changed, 10 insertions(+), 22 deletions(-) + +commit 08ac50faaeca28703e3f5495c76a72edca3c17f0 +Author: Emmanuele Bassi +Date: Thu May 14 19:51:03 2009 +0100 + + [build] List cogl-internal.h + + During the Makefile clean up, cogl-internal.h got lost and this + broke the dist. Let's put it back in. + + clutter/cogl/common/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 2f5012e38cd6566d01b98fb44679c9b431dbd473 +Author: Emmanuele Bassi +Date: Thu May 7 18:39:07 2009 +0100 + + [animation] Do not leak timelines + + The timeline created when calling set_timeline(NULL) is referenced + even though we implicitly own it. When the Animation is destroyed, + the timeline is then leaked. + + Thanks to: Richard Heatley + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1548 + + clutter/clutter-animation.c | 20 ++++++++++++-------- + 1 file changed, 12 insertions(+), 8 deletions(-) + +commit 21e3901d6248ceb9fd4e3c0c82565817774f463f +Author: Emmanuele Bassi +Date: Wed May 6 17:18:12 2009 +0100 + + [text] Expose position_to_coords() + + The clutter_text_position_to_coords() is useful for ClutterText + subclasses. + + See bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1521 + + Based on a patch by: Raymond Liu + + clutter/clutter-text.c | 33 +++++++++++++++++------------- + clutter/clutter-text.h | 5 +++++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 25 insertions(+), 14 deletions(-) + +commit ca238387521d2df289e8df81ddf9e01597bed046 +Author: Emmanuele Bassi +Date: Wed May 6 17:08:25 2009 +0100 + + [text] Add ClutterText::delete_selection() + + Add a method for deleting the current selection inside a Text actor. + + This is useful for subclasses. + + See bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1521 + + Based on a patch by: Raymond Liu + + clutter/clutter-text.c | 47 ++++++++++++++++++++---------- + clutter/clutter-text.h | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 34 insertions(+), 15 deletions(-) + +commit 79cb0a3515325dcf183684eb9809fd66abff478a +Author: Emmanuele Bassi +Date: Wed May 6 17:01:44 2009 +0100 + + [animation] Remove InitiallyUnowned from Animation + + ClutterAnimation currently inherits the initial floating reference + semantics from GInitiallyUnowned. An Animation is, though, meant to + be used as a top-level object, like a Timeline or a Behaviour, and + not "owned" by another object. For this reason, the initial floating + reference does not make any sense. + + clutter/clutter-animation.c | 18 ++++++++---------- + clutter/clutter-animation.h | 4 ++-- + 2 files changed, 10 insertions(+), 12 deletions(-) + +commit 0f7a3b973952505e85e93d0bde59be48973fbeb2 +Author: Emmanuele Bassi +Date: Wed May 6 16:43:52 2009 +0100 + + [docs] Add Animation get_type() function + + We need to reference clutter_animation_get_type() if we want the + properties, signals and object hierarchy to show up in the API + reference + + doc/reference/clutter/clutter.types | 1 + + 1 file changed, 1 insertion(+) + +commit 092b41d53b793a985d5234acfa9df007b16be4c3 +Author: Emmanuele Bassi +Date: Wed May 6 16:42:57 2009 +0100 + + [docs] Document the destructor for Timeline + + The rest of the API reference lists the destructor for the class + inside the constructor's return value -- except Timeline. + + clutter/clutter-timeline.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 1c6580afd67526d1f8e7ee114fdcd69b83e9f4c6 +Author: Dan Winship +Date: Thu May 14 09:28:12 2009 -0400 + + [cairo-texture] Document redrawing behavior + + Document that repeated calls to clutter_cairo_texture_create() + continue drawing on the same cairo_surface_t. Add + clutter_cairo_texture_clear() for when you don't want that behavior. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1599 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-cairo-texture.c | 31 +++++++++++++++++++++++++++++++ + clutter/clutter-cairo-texture.h | 6 ++++-- + 2 files changed, 35 insertions(+), 2 deletions(-) + +commit 81a536238d539fb87b24b7815408c4916fa63da6 +Author: Thomas Wood +Date: Thu May 14 15:08:31 2009 +0100 + + [text] fix problems with scrolling interaction + + The cursor x position is already translated, so we do not need to take the + actors allocation into account when calculating scrolling. + + Additionally, we need to update the text_x value before running + clutter_text_ensure_cursor_position. + + clutter/clutter-text.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit a3a5fe5594301778ec78f161dfeffac113d89901 +Author: Thomas Wood +Date: Thu May 14 13:31:51 2009 +0100 + + [text] scroll to the cursor position if it is outside the allocation + + Adjust the text offset to keep the cursor within the allocation. This means + the text will scroll per character + + clutter/clutter-text.c | 22 +++++++++++++--------- + 1 file changed, 13 insertions(+), 9 deletions(-) + +commit cf6c2d9721b96123f20c9ed26f8066dba502a035 +Author: Thomas Wood +Date: Thu May 14 10:55:25 2009 +0100 + + [text] account for scrolling in text selections + + Account for any scrolling offset in single line mode when calculating the + area that should be selected. + + clutter/clutter-text.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit e79fd1055d5d220a2460fc5ada0e74d7456aedf2 +Author: Thomas Wood +Date: Thu May 14 10:53:44 2009 +0100 + + [text] account for scrolling in clutter_text_position_to_coords + + Add any scrolling offset to the x value when in single line mode. + + Now that the offset is taken into account in the position_to_coords + function, we do not need to adjust the cursor x manually in + clutter_text_paint. + + clutter/clutter-text.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 16185c78fc59f8538f0a439908bd43ae8ee981fe +Author: Thomas Wood +Date: Thu May 14 10:51:58 2009 +0100 + + [text] take scrolling into account when calculating cursor position + + Account for the scrolling in single line more when calculating the cursor + position from coordinates. + + clutter/clutter-text.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit e162d0b0607e9221b360cfe7b0d61a2b4b44edd9 +Author: Thomas Wood +Date: Thu May 14 10:17:24 2009 +0100 + + [text] position the cursor correctly in single line mode + + The position of the text should be increased by the value of TEXT_PADDING + and the cursor offset by the same value as the text offset. + + clutter/clutter-text.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit cd86e70f4150505a035ea074aed06e4bd3fbb9df +Author: Thomas Wood +Date: Thu May 14 09:53:41 2009 +0100 + + [text] take text padding into account when in single line mode + + In single line mode, extra padding is added to the text which must be + taken into account when reporting the natural size of the actor. + + clutter/clutter-text.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 92e439105697fe65d8c6dda08d1658774245e9cb +Author: Emmanuele Bassi +Date: Thu May 14 12:05:57 2009 +0100 + + [tests] Verify cursor position + + Print out the cursor and selection positions in order to verify + the behaviour of the Text actor. + + This is a likely candidate for a conformance test unit as well. + + tests/interactive/test-text-field.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 0d43d81ee04ea456edb3159aa0e0c71e2f869f62 +Author: Emmanuele Bassi +Date: Thu May 14 12:00:51 2009 +0100 + + [text] Maintain the cursor at the end when deleting + + If the cursor is already at the end of the Text contents then we + need to maintain its position when deleting the previous character + using the relative key binding. + + clutter/clutter-text.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 8174f66cc60a70e60eb98b0097416f898e8df485 +Author: Emmanuele Bassi +Date: Thu May 14 11:50:42 2009 +0100 + + [text] Reset the cursor when setting empty text + + When setting the contents of Text to an empty string we should + reset the cursor position and selection bound to -1. + + clutter/clutter-text.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 608c3e3ab45ab262e9b89f8a78cdf2f057dca570 +Author: Emmanuele Bassi +Date: Thu May 14 10:02:06 2009 +0100 + + [build] Fix with --disable-introspection + + The required "fake" libclutter-cogl.la upon with the main clutter + shared object depends is only built with introspection enabled + instead of being built unconditionally. + + clutter/cogl/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 724e58a85a35e249490e54d27e7f9411033db3a9 +Author: Emmanuele Bassi +Date: Thu May 14 08:32:46 2009 +0100 + + [build] Do not rebuild the conformance tests scripts + + Make the build output a little bit cleaner by not re-creating the + small shell scripts that allow launching the test units separately. + + .gitignore | 1 + + tests/conform/Makefile.am | 10 +++++++--- + 2 files changed, 8 insertions(+), 3 deletions(-) + +commit d8aa6827ee310115b3f0a466c0798e4e5c1e5780 +Author: Owen W. Taylor +Date: Wed May 13 23:14:24 2009 +0100 + + Don't build Cogl.gir against installed Clutter library + + Passing: + + --library=clutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@ + + to g-ir-scanner, when building Cogl was causing g-ir-scanner to + link the introspection program against the installed clutter library, + if it existed or fail otherwise. Instead copy the handling from + the json/ directory where we link against the convenience library + to scan, and do the generation of the typelib later in the + main clutter/directory. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1594 + + Signed-off-by: Emmanuele Bassi + + .gitignore | 5 +++-- + clutter/Makefile.am | 30 ++++++++++++++++++++---------- + clutter/cogl/Makefile.am | 29 +++++++++++------------------ + 3 files changed, 34 insertions(+), 30 deletions(-) + +commit 447e04bdce9b95bb1fc544d4c931071fa3665825 +Author: Emmanuele Bassi +Date: Wed May 13 23:04:25 2009 +0100 + + [text] Return the correct minimum height + + If text is set, ClutterText should never return less than the layout + height for minimum and preferred heights. + + This holds unless ellipsize and wrap are enabled, in which case the + minimum height should be the height of the first line -- which is + the height needed to at the very least show the ellipsization. + + Based on a patch by: Thomas Wood + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1598 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 24 +++++++++++++++++++----- + 1 file changed, 19 insertions(+), 5 deletions(-) + +commit aa1246e8917f0977bd03b97c206d4c2a01ff8599 +Author: Emmanuele Bassi +Date: Wed May 13 22:21:48 2009 +0100 + + [backend] Abstract the GL context creation + + This is the another step into abstracting the backend operations + that are currently spread all across the board back into the + backend implementations where they belong. + + The GL context creation, for instance, is demanded to the stage + realization which makes it a critical path for every operation + that is GL-context bound. This usually does not make any difference + since we realize the default stage, but at some point we might + start looking into avoiding the default stage realization in order + to make the Clutter startup faster. + + It also makes the code maintainable because every part is self + contained and can be reworked with the minimum amount of pain. + + clutter/clutter-backend.c | 16 +++++++++ + clutter/clutter-backend.h | 3 ++ + clutter/clutter-private.h | 3 ++ + clutter/glx/clutter-backend-glx.c | 54 +++++++++++++++++++++++++++- + clutter/glx/clutter-stage-glx.c | 76 ++++++++++++++++++--------------------- + 5 files changed, 110 insertions(+), 42 deletions(-) + +commit 1d7a79f343760d192619629de8e1ca9547007c13 +Author: Emmanuele Bassi +Date: Wed May 13 22:20:19 2009 +0100 + + Update the redraw priority + + The master clock is using the redraw priority to create the source + that will be used to spin the paint sequence if something is being + animated using a timeline. + + Unfortunately, the priority is too high and this causes starvation + when embedding into other toolkits -- like gtk+. + + Thanks to Havoc Pennington for catching this. + + clutter/clutter-main.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e59a19bd03964aacfa64479fdb51555350992989 +Author: Emmanuele Bassi +Date: Wed May 13 21:49:45 2009 +0100 + + [x11] Abstract XVisualInfo creation + + The XVisualInfo for GL is created when a stage is being realized. + When embedding Clutter inside another toolkit we might not want to + realize a stage to extract the XVisualInfo, then set the stage + window using a foreign X Window -- which will cause a re-realization. + + Instead, we should abstract as much as possible into the X11 backend. + + Unfortunately, the XVisualInfo for GL is requested using GLX API; for + this reason we have to create a ClutterBackendX11 method that we + override inside the ClutterBackendGLX implementation. + + This also allows us to move a little bit of complexity from out of + the stage realization, which is currently a very delicate and hard + to debug section. + + clutter/glx/clutter-backend-glx.c | 67 +++++++++++++++++++++++++++++++++++---- + clutter/glx/clutter-stage-glx.c | 46 +++++++-------------------- + clutter/x11/clutter-backend-x11.c | 14 ++++++++ + clutter/x11/clutter-backend-x11.h | 7 ++++ + clutter/x11/clutter-stage-x11.c | 16 +++++++++- + 5 files changed, 108 insertions(+), 42 deletions(-) + +commit 2b1759385e8f3373497b5d99c733266c2ecae1ee +Author: Robert Bragg +Date: Wed May 13 12:11:54 2009 +0100 + + [text] Ensure clutter_text_get_selection copes with start/end positions of -1 + + I was seeing clutter_text_get_selection trying to malloc up to 4Gb due to + unexpected negative arithmetic for the start/end offsets which resulted + in a crash. + + This just tests for positions of -1 before deciding if the start/end + positions need to be swapped. The conversion from position to byte offset + already works with -1. + + clutter/clutter-text.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 979f089ef9e5ef3486fd81f8ec4d38579bb7e7b7 +Author: Emmanuele Bassi +Date: Tue May 12 19:22:25 2009 +0100 + + [tests] Add command line option to the picking test + + The picking test has two configurables: the number of actors and + the number of events per frame. It makes sense to have them as + command line options to test with multiple configurations without + having to change defines and recompile. + + tests/micro-bench/test-picking.c | 56 ++++++++++++++++++++++++++++------------ + 1 file changed, 39 insertions(+), 17 deletions(-) + +commit df85b70ab44c564f65605d38abc923822f70f405 +Author: Owen W. Taylor +Date: Sat May 9 20:09:42 2009 -0400 + + Fix chain-up in clutter_list_model_dispose() + + Chain up to parent class's dispose() method not parent class's + finalize() method. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1595 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-list-model.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 62e2f276041365853838122b3a7326a27c7c733e +Author: Chris Lord +Date: Tue May 12 16:17:51 2009 +0100 + + [tests/micro-bench] Add a picking performance test + + Approved by Robert Bragg. + + tests/micro-bench/Makefile.am | 4 +- + tests/micro-bench/test-picking.c | 128 +++++++++++++++++++++++++++++++++++++++ + 2 files changed, 131 insertions(+), 1 deletion(-) + +commit d1fa83039d12f8501075d3e9f7fd17a42cbdd7c8 +Author: Robert Bragg +Date: Tue May 12 01:02:25 2009 +0100 + + [picking] Use cogl_clip_push_window_rect to greatly reduce the cost of picking. + + cogl_clip_push_window_rect is implemented using GPU scissoring which allows + the GPU to cull anything that falls outside a given rectangle. Since in the + case of picking we only ever care about a single pixel we can get the GPU to + ignore all geometry that doesn't intersect that pixel and only rasterize for + one pixel. + + clutter/clutter-main.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit e80fcbc298812b7fc333cec34049a4ee806f469a +Author: Robert Bragg +Date: Fri May 8 16:32:01 2009 +0100 + + [cogl-clip-stack] Support pushing rectangles onto the stack using window coords + + Previously clipping could only be specified in object coordinates, now + rectangles can also be pushed in window coordinates. + + Internally rectangles pushed this way are intersected and then clipped using + scissoring. We also transparently try to convert rectangles pushed in + object coordinates into window coordinates as we anticipate the scissoring + path will be faster then the clip planes and undoubtably it will be faster + than using the stencil buffer. + + clutter/cogl/cogl.h.in | 21 +++++ + clutter/cogl/common/cogl-clip-stack.c | 165 ++++++++++++++++++++++++++++++++-- + clutter/cogl/common/cogl.c | 2 + + 3 files changed, 180 insertions(+), 8 deletions(-) + +commit e9b863eba28564dd0b19f982610e5afe93ac17eb +Author: Neil Roberts +Date: Tue May 12 15:36:16 2009 +0100 + + Don't clear the stencil buffer before painting and picking + + The stencil buffer is always cleared the first time a clip is used + that needs it and the stencil test is disabled otherwise so there is + no need to clear before a paint. + + clutter/clutter-main.c | 3 +-- + clutter/clutter-stage.c | 3 +-- + clutter/clutter-texture.c | 3 +-- + 3 files changed, 3 insertions(+), 6 deletions(-) + +commit 36cfb6030784791a4420a1e52a8c18d56b1d0c69 +Author: Robert Bragg +Date: Tue May 12 14:15:18 2009 +0100 + + [cogl] Remove the COGL{enum,int,uint} typedefs + + COGLenum, COGLint and COGLuint which were simply typedefs for GL{enum,int,uint} + have been removed from the API and replaced with specialised enum typedefs, int + and unsigned int. These were causing problems for generating bindings and also + considered poor style. + + The cogl texture filter defines CGL_NEAREST and CGL_LINEAR etc are now replaced + by a namespaced typedef 'CoglTextureFilter' so they should be replaced with + COGL_TEXTURE_FILTER_NEAREST and COGL_TEXTURE_FILTER_LINEAR etc. + + The shader type defines CGL_VERTEX_SHADER and CGL_FRAGMENT_SHADER are handled by + a CoglShaderType typedef and should be replaced with COGL_SHADER_TYPE_VERTEX and + COGL_SHADER_TYPE_FRAGMENT. + + cogl_shader_get_parameteriv has been replaced by cogl_shader_get_type and + cogl_shader_is_compiled. More getters can be added later if desired. + + README | 16 ++++++ + clutter/clutter-shader-types.c | 10 ++-- + clutter/clutter-shader-types.h | 2 +- + clutter/clutter-shader.c | 21 +++----- + clutter/clutter-texture.c | 14 ++--- + clutter/cogl/cogl-shader.h | 81 ++++++++++++++++------------ + clutter/cogl/cogl-texture.h | 54 +++++++++++++++++-- + clutter/cogl/gl/cogl-defines.h.in | 13 ----- + clutter/cogl/gl/cogl-program.c | 14 ++--- + clutter/cogl/gl/cogl-shader.c | 73 ++++++++++++++++++++----- + clutter/cogl/gl/cogl-texture-private.h | 4 +- + clutter/cogl/gl/cogl-texture.c | 20 +++---- + clutter/cogl/gles/cogl-defines.h.in | 16 ------ + clutter/cogl/gles/cogl-program.c | 26 ++++----- + clutter/cogl/gles/cogl-shader.c | 90 ++++++++++++++++++++++--------- + clutter/cogl/gles/cogl-texture-private.h | 4 +- + clutter/cogl/gles/cogl-texture.c | 8 +-- + clutter/glx/clutter-glx-texture-pixmap.c | 50 +++++++++-------- + clutter/pango/cogl-pango-glyph-cache.c | 8 +-- + doc/reference/cogl/cogl-sections.txt | 3 +- + tests/interactive/test-cogl-tex-polygon.c | 44 +++++++-------- + tests/interactive/test-cogl-tex-tile.c | 49 ++++++++--------- + 22 files changed, 376 insertions(+), 244 deletions(-) + +commit cea711cc7e5c2d8f8328d8ce072f43b8b034d13e +Author: Robert Bragg +Date: Tue May 12 14:20:22 2009 +0100 + + [ClutterTexture] Remove a spurious line I accidentally committed in 741c4bb5 + + I accidentally changed clutter_texture_set_cogl_texture to always set the + filter quality for the new Cogl texture to medium. + + clutter/clutter-texture.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 08a73a215f2cf18abcfd7d93e8047583511497bd +Author: Robert Bragg +Date: Wed May 6 19:01:09 2009 +0100 + + Don't call glFinish in _clutter_do_pick + + Calling glReadPixels is bad enough in forcing us to synchronize the CPU with + the GPU, but glFinish has even stronger synchonization semantics than + glReadPixels which may negate some driver optimizations possible in + glReadPixels. + + clutter/clutter-main.c | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +commit 10783e053be104c14bfab24dff7c54046790af60 +Author: Neil Roberts +Date: Tue May 12 14:15:37 2009 +0100 + + [build] Fix out-of-tree builds for Cogl + + Commit 43fa38fcf5 broke out-of-tree builds by removing some of the + builddir directories from the include path. builddir/clutter/cogl and + builddir/clutter are needed because cogl.h and cogl-defines-gl.h are + automatically generated by the configure script. The main clutter + headers are in the srcdir so this needs to be in the path too. + + clutter/cogl/gl/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit dd95939d260e19bac8119d430ff3d9b9279c0234 +Author: Raymond Liu +Date: Thu May 7 18:20:19 2009 +0800 + + Emit key focus signal when stage state changes + + When the stage state changes between active/deactive, send out + key-focus-in/key-focus-out signal for the current key focused + actor on the stage. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1503 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-stage.c | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + +commit 4b285e02bc85e92612485b5ebea568b90951be40 +Author: Emmanuele Bassi +Date: Mon May 11 18:17:30 2009 +0100 + + [x11] Unset the GL context when re-realizing + + Setting the stage window using the set_stage_foreign() method will + lead to a re-realization. We need to make sure that the Drawable + currently associated to the GL context is set to None, to avoid a + BadDrawable error or, if we're unlucky, a segfault in the X server. + + clutter/x11/clutter-stage-x11.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit 0b7e459d481d84683adf65b8ea6c0c5502aa97c0 +Author: Emmanuele Bassi +Date: Mon May 11 12:36:14 2009 +0100 + + Add more debugging notes + + clutter/clutter-actor.c | 5 +++++ + clutter/glx/clutter-stage-glx.c | 4 +++- + clutter/x11/clutter-stage-x11.c | 14 ++++++++------ + 3 files changed, 16 insertions(+), 7 deletions(-) + +commit 8b7c6955de2c09c1f3d9c0e1b349966b6a63062e +Author: Emmanuele Bassi +Date: Mon May 11 12:36:55 2009 +0100 + + [backend] Unset the current stage if it is unrealized + + This commit reverts part of commit 5bcde25c - specifically the + part that forced a realization of the stage if we are ensuring + the GL context with it. This makes Clutter behave like it did + prior to commit 5bcde25c: if we are asked to ensure the GL context + with an unrealized stage we simply pass NULL to the backend + implementation. + + clutter/clutter-backend.c | 27 +++++++++++++++------------ + 1 file changed, 15 insertions(+), 12 deletions(-) + +commit d19f6feb45cfedfedda997967954ea892c4cfb92 +Author: Emmanuele Bassi +Date: Mon May 11 12:43:37 2009 +0100 + + [stage] Chain up ::show before showing the implementation + + When showing a Stage for the first time we end up realizing the stage + implementation before realizing the wrapper. This leads to segmentation + faults or errors coming from the backend because we're fumbling the + state and realization sequence. + + clutter/clutter-stage.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 9582fddb24fba071ea77aa2396aa5288639c3217 +Author: Emmanuele Bassi +Date: Mon May 11 12:39:46 2009 +0100 + + [x11] Do not needlessly check XVisualInfo + + Since we are destroying any previously set VisualInfo we keep we know + for sure that stage->xvisinfo is going to be None; hence, no reason to + check this condition. + + clutter/glx/clutter-stage-glx.c | 16 +++++++--------- + 1 file changed, 7 insertions(+), 9 deletions(-) + +commit 0acb98e987f456d67db11f85ccca909d67922362 +Author: Emmanuele Bassi +Date: Mon May 11 12:43:56 2009 +0100 + + [actor] Conditionally verify the map state + + The verify_map_state() internal method is conditionally compiled + if we have CLUTTER_ENABLE_DEBUG set; for this reason, all calls to + that method should be made conditional. + + clutter/clutter-actor.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit d00cac635325e5e279fb9dce87bfc36954d314b7 +Author: Emmanuele Bassi +Date: Sun May 10 00:41:17 2009 +0100 + + [build] Unbreak compilation + + When building Clutter with introspection enabled everything stops + at Cogl GIR generation because it depends on the installed library + to work. Since we still require some changes in the API to be able + to build the GIR and the typelib for Cogl we should disable the + generation of the GIR as well. + + clutter/cogl/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5bcde25cbbfcfefc850605fb0ddf8e818d2413fa +Author: Emmanuele Bassi +Date: Fri May 8 17:17:48 2009 +0100 + + Tentative fix for multi-stage support on GLX + + The fix for bug 1138 broke multi-stage support on GLX, causing + X11 to segfault with the following stack trace: + + Backtrace: + 0: /usr/X11R6/bin/X(xf86SigHandler+0x7e) [0x80c91fe] + 1: [0xb7eea400] + 2: /usr/lib/xorg/modules/extensions//libglx.so [0xb7ae880c] + 3: /usr/lib/xorg/modules/extensions//libglx.so [0xb7aec0d6] + 4: /usr/X11R6/bin/X [0x8154c24] + 5: /usr/X11R6/bin/X(Dispatch+0x314) [0x808de54] + 6: /usr/X11R6/bin/X(main+0x4b5) [0x8074795] + 7: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7c75775] + 8: /usr/X11R6/bin/X(FontFileCompleteXLFD+0x21d) [0x8073a81] + + which I can only track down to clutter_backend_glx_ensure_current() + being passed a NULL stage -- something that happens when a stage + is not correct realized. That should lead to a glXMakeCurrent(None) + and not to a segmentation fault, though. + + clutter/clutter-backend.c | 14 +++++++++++--- + clutter/clutter-stage.c | 18 +++++++++++++----- + clutter/glx/clutter-backend-glx.c | 7 +++++-- + 3 files changed, 29 insertions(+), 10 deletions(-) + +commit 91126558d35c58a94f674ad93d9561e4c5ab3bff +Author: Emmanuele Bassi +Date: Fri May 8 17:14:49 2009 +0100 + + [actor] Relax some of the invariants checks + + When destroying a top-level actor we can actually relax the verification + of the map state, since it might be fully asynchronous and we might not + re-enter inside the mainloop in time to receive the unmap notification. + + clutter/clutter-actor.c | 23 ++++++++++++++++------- + 1 file changed, 16 insertions(+), 7 deletions(-) + +commit 692c50ba672b55d809e12b97184e7ee21d9f3fda +Author: Rob Bradford +Date: Fri May 8 10:57:56 2009 +0100 + + [list-model] Return NULL for first row in a fully filtered model + + If the filter means that the there should be no rows left in the model, + clutter_model_get_iter_at_row (model, 0) should return NULL. + + Howevever the currene implementation misbehaves and returns a bad iterator. + This change resolves the issue by tracking if we actually found any + non-filtered rows in our pass through the sequence. + + OH Bugzilla: 1591 + + clutter/clutter-list-model.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit 9f3927c460cbc4d50eae2b78826cc5347cb37c16 +Author: Emmanuele Bassi +Date: Thu May 7 19:14:48 2009 +0100 + + [stage] Chain up to the correct vfunc when picking + + The stage is chaining up to the ClutterGroup::paint instead of + the ClutterGroup::pick method. This works anyway because we + detect the stage by default, but it's not a reliable solution + in case we decide to change the picking further on. + + clutter/clutter-stage.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 533c9c536530bd43931793010f76714580f6b166 +Author: Emmanuele Bassi +Date: Thu May 7 19:14:29 2009 +0100 + + [debug] Show the actor name/type on queue_redraw() + + clutter/clutter-actor.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 86bc31bd55fec32ed70abc19f0f2c4514d1c8e29 +Author: Emmanuele Bassi +Date: Thu May 7 19:07:21 2009 +0100 + + [clock] Rework the master clock + + The master clock is currently advanced using a frame source driven + by the default frame rate. This breaks the sync to vblank because + the vblanking rate could be different than 60 Hz -- or it might be + completely disabled (e.g. with CLUTTER_VBLANK=none). + + We should be using the main loop to check if we have timelines + playing, and if so queue a redraw on the stages we own. + + We should also prepare the subsequent frame at the end of the redraw + process, so if there are new redraw we will have the scene already + in place. + + This makes Clutter redraw at the maximum frame rate, which is + limited by the vblanking frequency. + + clutter/clutter-main.c | 14 ++- + clutter/clutter-master-clock.c | 247 ++++++++++++++++++++++++++--------------- + clutter/clutter-private.h | 2 + + clutter/clutter-stage.c | 10 +- + 4 files changed, 173 insertions(+), 100 deletions(-) + +commit ab9c7671f57a03ab34dac97bbd3a787b5f0ab65d +Author: Emmanuele Bassi +Date: Thu May 7 18:47:50 2009 +0100 + + [group] Implement pick + + Currently, picking in ClutterGroup pollutes the CLUTTER_DEBUG=paint + logs since it just calls the paint function. Reimplementing the pick + doesn't make us lose anything -- it might even be slightly faster + since we don't have to do a (typed) cast and a class dereference. + + clutter/clutter-group.c | 21 ++++++++++++++------- + 1 file changed, 14 insertions(+), 7 deletions(-) + +commit 081813fd61400dec7183cb5d151dff3bbbbc8b34 +Author: Emmanuele Bassi +Date: Thu May 7 18:39:07 2009 +0100 + + [animation] Do not leak timelines + + The timeline created when calling set_timeline(NULL) is referenced + even though we implicitly own it. When the Animation is destroyed, + the timeline is then leaked. + + Thanks to: Richard Heatley + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1548 + + clutter/clutter-animation.c | 20 ++++++++++++-------- + 1 file changed, 12 insertions(+), 8 deletions(-) + +commit e41452fc0c465c92a5d26c28b4c744ae73829d58 +Author: Emmanuele Bassi +Date: Thu May 7 19:16:20 2009 +0100 + + [tests] Check em to unit conversion + + We should be able to position elements of the stage using em as + a unit, and converting values into pixels. + + tests/interactive/test-text-field.c | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +commit 33ef1675f5d5d750833a5d2eb9373afe44adb0c5 +Author: Emmanuele Bassi +Date: Thu May 7 18:46:36 2009 +0100 + + [script] Allow parsing units in em + + When creating an actor, using "em" as a unit should result + in an implicit conversion, like for "mm" and "pt". + + clutter/clutter-actor.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit f2c25fd4f7d8a22dcb91461ebb86d1c74565c89b +Author: Emmanuele Bassi +Date: Thu May 7 14:16:01 2009 +0100 + + Allow specifying the font for the em conversion + + Currently, the conversion from em to units is done by using the + default font name inside the backend. For actors using their own + font/text layout we need a way to specify the font name along + with the quantity we wish to transform. + + clutter/clutter-backend.c | 89 ++++++++++++++++++++++++++++++++--------------- + clutter/clutter-private.h | 3 +- + clutter/clutter-units.c | 47 +++++++++++++++++++++++-- + clutter/clutter-units.h | 13 ++++--- + 4 files changed, 114 insertions(+), 38 deletions(-) + +commit 8ec1c3e2fbb25c32f6d14f697995c438ea4fb755 +Author: Emmanuele Bassi +Date: Thu May 7 11:18:51 2009 +0100 + + Fix remaining ::focus-in signal emission + + Commit 515350a7 renamed ::focus-in and ::focus-out to ::key-focus-in + and ::key-focus-out respectively. One signal emission for ::focus-out + escaped the renaming in ClutterStage. + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2ae9d84a2a917993ea2efb4f6980ed325a711371 +Author: Emmanuele Bassi +Date: Wed May 6 18:32:17 2009 +0100 + + [x11] Use -1 as the default screen guard + + Currently, the default screen guard value is 0, which is a valid + screen number on X11, and it might not be the default. + + Patch suggested by: Owen W. Taylor + + clutter/x11/clutter-backend-x11.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 8ca46d728ddd1c86869b0e04494b3a73d99e2133 +Author: Emmanuele Bassi +Date: Wed May 6 11:18:31 2009 +0100 + + [build] Build Cogl introspection data + + Currently, the introspection data for Cogl is built right into + Clutter's own typelib. This makes functions like: + + cogl_path_round_rectangle() + + Appear as: + + Clutter.cogl_path_round_rectangle() + + It should be possible, instead, to have a Cogl namespace and: + + Cogl.path_round_rectangle() + + This means building introspection data for Cogl alone. Unfortunately, + there are three types defined in Cogl that confuse the introspection + scanner, and make it impossible to build a typelib: + + COGLint + COGLuint + COGLenum + + These three types should go away before 1.0, substituted by int, + unsigned int and proper enumeration types. For this reason, we can + just set up the GIR build and wait until the last moment to create + the typelib. Once that has been done, we will be able to safely + remove the Cogl API from the Clutter GIR and typelib and let + people import Cogl if they want to use the Cogl API via introspection. + + clutter/cogl/Makefile.am | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 57 insertions(+) + +commit 43fa38fcf5178bf91b8b49fc1ddf0b36b07f4b59 +Author: Emmanuele Bassi +Date: Wed May 6 10:55:17 2009 +0100 + + [build] Clean up the makefile + + Split out the files into their own variables to clean up the + Makefile template; also use top_srcdir with the header files + instead of top_builddir. + + clutter/cogl/gl/Makefile.am | 102 ++++++++++++++++++++++---------------------- + 1 file changed, 51 insertions(+), 51 deletions(-) + +commit c065524b9f15aa73f9d73044b41a62644fc76a91 +Author: Emmanuele Bassi +Date: Wed May 6 10:35:28 2009 +0100 + + Fix inclusion guards and headers + + The C++ inclusion guards G_BEGIN_DECLS and G_END_DECLS are + defined by GLib; so we need to include glib.h before using + them. + + clutter/cogl/cogl-bitmap.h | 4 ++-- + clutter/cogl/cogl-shader.h | 2 +- + clutter/cogl/cogl-texture.h | 4 ++-- + clutter/cogl/gl/cogl-defines.h.in | 1 + + clutter/cogl/gles/cogl-defines.h.in | 1 + + 5 files changed, 7 insertions(+), 5 deletions(-) + +commit 4cb3fa872825d2903e8c50733eb171b729a1272a +Author: Emmanuele Bassi +Date: Wed May 6 17:57:34 2009 +0100 + + [docs] Update documentation + + Remove the units-based API and add the missing symbols. + + Also, do not let gtk-doc check the master clock header, since + it's private. + + doc/reference/clutter/Makefile.am | 1 + + doc/reference/clutter/clutter-sections.txt | 37 ++++++++---------------------- + 2 files changed, 10 insertions(+), 28 deletions(-) + +commit 515350a77fb42317f5a0643702733e0dbaffc2aa +Author: Emmanuele Bassi +Date: Wed May 6 17:56:40 2009 +0100 + + [actor] Rename focus-in and focus-out signals + + For consistency, and since those signals are key-related, the + ::focus-in signal is not ::key-focus-in and the ::focus-out + signal is now ::key-focus-out. + + clutter/clutter-actor.c | 22 +++++++++++----------- + clutter/clutter-actor.h | 8 ++++---- + clutter/clutter-stage.c | 6 +++--- + 3 files changed, 18 insertions(+), 18 deletions(-) + +commit d0ad5a8abb732ae9b80d036116b6c2c1e5bef985 +Author: Emmanuele Bassi +Date: Wed May 6 17:18:12 2009 +0100 + + [text] Expose position_to_coords() + + The clutter_text_position_to_coords() is useful for ClutterText + subclasses. + + See bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1521 + + Based on a patch by: Raymond Liu + + clutter/clutter-text.c | 16 ++++++++++++---- + clutter/clutter-text.h | 5 +++++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 18 insertions(+), 4 deletions(-) + +commit a28b9f31eb9f4c4a1d4520350f268549e4d37c5a +Author: Emmanuele Bassi +Date: Wed May 6 17:08:25 2009 +0100 + + [text] Add ClutterText::delete_selection() + + Add a method for deleting the current selection inside a Text actor. + + This is useful for subclasses. + + See bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1521 + + Based on a patch by: Raymond Liu + + clutter/clutter-text.c | 47 ++++++++++++++++++++---------- + clutter/clutter-text.h | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 34 insertions(+), 15 deletions(-) + +commit ab1dcb803333a9a063d91312a1710c28ece951cd +Author: Emmanuele Bassi +Date: Wed May 6 17:01:44 2009 +0100 + + [animation] Remove InitiallyUnowned from Animation + + ClutterAnimation currently inherits the initial floating reference + semantics from GInitiallyUnowned. An Animation is, though, meant to + be used as a top-level object, like a Timeline or a Behaviour, and + not "owned" by another object. For this reason, the initial floating + reference does not make any sense. + + clutter/clutter-animation.c | 18 ++++++++---------- + clutter/clutter-animation.h | 4 ++-- + 2 files changed, 10 insertions(+), 12 deletions(-) + +commit d6d208da7de44b1a266957ad69acff6ee0f2fd4d +Author: Emmanuele Bassi +Date: Wed May 6 16:44:47 2009 +0100 + + Remove Units from the public API + + With the recent change to internal floating point values, ClutterUnit + has become a redundant type, defined to be a float. All integer entry + points are being internally converted to floating point values to be + passed to the GL pipeline with the least amount of conversion. + + ClutterUnit is thus exposed as just a "pixel with fractionary bits", + and not -- as users might think -- as generic, resolution and device + independent units. not that it was the case, but a definitive amount + of people was convinced it did provide this "feature", and was flummoxed + about the mere existence of this type. + + So, having ClutterUnit exposed in the public API doubles the entry + points and has the following disadvantages: + + - we have to maintain twice the amount of entry points in ClutterActor + - we still do an integer-to-float implicit conversion + - we introduce a weird impedance between pixels and "pixels with + fractionary bits" + - language bindings will have to choose what to bind, and resort + to manually overriding the API + + *except* for language bindings based on GObject-Introspection, as + they cannot do manual overrides, thus will replicate the entire + set of entry points + + For these reason, we should coalesces every Actor entry point for + pixels and for ClutterUnit into a single entry point taking a float, + like: + + void clutter_actor_set_x (ClutterActor *self, + gfloat x); + void clutter_actor_get_size (ClutterActor *self, + gfloat *width, + gfloat *height); + gfloat clutter_actor_get_height (ClutterActor *self); + + etc. + + The issues I have identified are: + + - we'll have a two cases of compiler warnings: + - printf() format of the return values from %d to %f + - clutter_actor_get_size() taking floats instead of unsigned ints + - we'll have a problem with varargs when passing an integer instead + of a floating point value, except on 64bit platforms where the + size of a float is the same as the size of an int + + To be clear: the *intent* of the API should not change -- we still use + pixels everywhere -- but: + + - we remove ambiguity in the API with regard to pixels and units + - we remove entry points we get to maintain for the whole 1.0 + version of the API + - we make things simpler to bind for both manual language bindings + and automatic (gobject-introspection based) ones + - we have the simplest API possible while still exposing the + capabilities of the underlying GL implementation + + clutter/clutter-actor.c | 2539 +++++++++--------------- + clutter/clutter-actor.h | 223 +-- + clutter/clutter-animation.c | 3 + + clutter/clutter-backend.c | 11 +- + clutter/clutter-behaviour.c | 5 +- + clutter/clutter-cairo-texture.c | 16 +- + clutter/clutter-clone.c | 16 +- + clutter/clutter-deprecated.h | 20 + + clutter/clutter-event.c | 9 +- + clutter/clutter-event.h | 24 +- + clutter/clutter-group.c | 40 +- + clutter/clutter-main.c | 22 +- + clutter/clutter-private.h | 10 +- + clutter/clutter-stage.c | 34 +- + clutter/clutter-text.c | 50 +- + clutter/clutter-texture.c | 63 +- + clutter/clutter-types.h | 8 +- + clutter/eglnative/clutter-stage-egl.c | 12 +- + clutter/fruity/clutter-stage-fruity.c | 12 +- + clutter/osx/clutter-stage-osx.c | 12 +- + clutter/sdl/clutter-stage-sdl.c | 12 +- + clutter/win32/clutter-stage-win32.c | 12 +- + clutter/x11/clutter-stage-x11.c | 14 +- + tests/conform/test-anchors.c | 15 +- + tests/conform/test-timeline-dup-frames.c | 1 - + tests/conform/test-timeline-interpolate.c | 1 - + tests/conform/test-timeline-rewind.c | 1 - + tests/conform/test-timeline-smoothness.c | 1 - + tests/interactive/test-actor-clone.c | 4 +- + tests/interactive/test-actors.c | 4 +- + tests/interactive/test-animation.c | 12 +- + tests/interactive/test-clutter-cairo-flowers.c | 10 +- + tests/interactive/test-depth.c | 24 +- + tests/interactive/test-easing.c | 12 +- + tests/interactive/test-fullscreen.c | 6 +- + tests/interactive/test-layout.c | 16 +- + tests/interactive/test-paint-wrapper.c | 6 +- + tests/interactive/test-project.c | 46 +- + tests/interactive/test-stage-read-pixels.c | 12 +- + tests/interactive/test-unproject.c | 21 +- + 40 files changed, 1320 insertions(+), 2039 deletions(-) + +commit c2abdd5e820134c6281e38339ef141b1e1ed8bf0 +Author: Emmanuele Bassi +Date: Wed May 6 16:43:52 2009 +0100 + + [docs] Add Animation get_type() function + + We need to reference clutter_animation_get_type() if we want the + properties, signals and object hierarchy to show up in the API + reference + + doc/reference/clutter/clutter.types | 1 + + 1 file changed, 1 insertion(+) + +commit 7afdfb080b2f6ecb94ea5d10a9709be71e2ddb9f +Author: Emmanuele Bassi +Date: Wed May 6 16:42:57 2009 +0100 + + [docs] Document the destructor for Timeline + + The rest of the API reference lists the destructor for the class + inside the constructor's return value -- except Timeline. + + clutter/clutter-timeline.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 41bb88548605948787d53475fce68194ad441db3 +Author: Rob Bradford +Date: Tue May 5 20:15:01 2009 +0100 + + [model] Add a private row mutator to ClutterModelIter + + When calling clutter_model_iter_next () / clutter_model_iter_prev () we need + to update the row for the iterator. In order to improve the peformance of + iterating this change adds a private row mutator and switches ClutterListModel + to use it. + + clutter/clutter-list-model.c | 4 ++-- + clutter/clutter-model-private.h | 3 +++ + clutter/clutter-model.c | 10 ++++++++++ + 3 files changed, 15 insertions(+), 2 deletions(-) + +commit b2fbc2c95c8b3f0bebb6f1f4a8579dd303163078 +Author: Rob Bradford +Date: Tue May 5 19:39:26 2009 +0100 + + [list-model] Use an internal iterator for comparisons + + In order to carry out various comparisons for e.g. identifying the first + iterator in the model we need a ClutterModelIter. This change switches from + creating a new iterator each time to reusing an existing iterator. + + clutter/clutter-list-model.c | 45 ++++++++++++++++++++++++-------------------- + 1 file changed, 25 insertions(+), 20 deletions(-) + +commit 72562cda5847946d9f1d4124290b6c06c7921f2b +Author: Emmanuele Bassi +Date: Tue May 5 15:37:41 2009 +0100 + + [actor] Add ActorFlags accessor methods + + The flags field of ClutterActor should have accessor methods for, + language bindings. + + Also, the set_flags() and unset_flags() methods should actively + emit notifications for the changed properties. + + clutter/clutter-actor.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-actor.h | 17 ++++-- + 2 files changed, 156 insertions(+), 9 deletions(-) + +commit fc991e9b67d659fff143f953fe2996c27f406c8a +Author: Emmanuele Bassi +Date: Tue May 5 15:36:29 2009 +0100 + + [actor] Add the :realized property + + The :realized property is the only missing property for an actor flag. + + clutter/clutter-actor.c | 46 ++++++++++++++++++++++++++++++++++------------ + 1 file changed, 34 insertions(+), 12 deletions(-) + +commit 353187ce49f681b590ffc02a19fb378e96d42dc3 +Author: Robert Bragg +Date: Fri May 1 09:53:20 2009 +0100 + + [cogl-material] Adds a cogl_material_set_color4f convenience function + + This is simply a wrapper around cogl_color_set_from_4f and + cogl_material_set_color. We already had a prototype for this, it was + an oversight that it wasn't already implemented. + + clutter/cogl/cogl-material.h | 4 ++-- + clutter/cogl/common/cogl-material.c | 12 ++++++++++++ + 2 files changed, 14 insertions(+), 2 deletions(-) + +commit a5cdfdfd87b2fa559460ac117f4ed27474a6f47f +Author: Robert Bragg +Date: Thu Apr 30 22:19:43 2009 +0100 + + [cogl-offscreen] Cleans up the cogl offscreen API and adds documentation + + There were several functions I believe no one is currently using that were + only implemented in the GL backend (cogl_offscreen_blit_region and + cogl_offscreen_blit) that have simply been removed so we have a chance to + think about design later with a real use case. + + There was one nonsense function (cogl_offscreen_new_multisample) that + sounded exciting but in all cases it just returned COGL_INVALID_HANDLE + (though at least for GL it checked for multisampling support first!?) + it has also been removed. + + The MASK draw buffer type has been removed. If we want to expose color + masking later then I think it at least would be nicer to have the mask be a + property that can be set on any draw buffer. + + The cogl_draw_buffer and cogl_{push,pop}_draw_buffer function prototypes + have been moved up into cogl.h since they are for managing global Cogl state + and not for modifying or creating the actual offscreen buffers. + + This also documents the API so for example desiphering the semantics of + cogl_offscreen_new_to_texture() should be a bit easier now. + + README | 54 +++++++++------- + clutter/clutter-texture.c | 4 +- + clutter/cogl/cogl-offscreen.h | 97 +++++++--------------------- + clutter/cogl/cogl-types.h | 4 +- + clutter/cogl/cogl.h.in | 29 +++++++++ + clutter/cogl/common/cogl-util.c | 1 - + clutter/cogl/gl/cogl-fbo.c | 109 ++------------------------------ + clutter/cogl/gles/cogl-fbo.c | 91 ++------------------------ + clutter/cogl/gles/cogl-texture.c | 5 -- + doc/reference/cogl/cogl-sections.txt | 4 +- + tests/interactive/test-cogl-offscreen.c | 4 +- + 11 files changed, 104 insertions(+), 298 deletions(-) + +commit e47b19822510344e4cae854e99a5ef0a76304980 +Author: Havoc Pennington +Date: Thu Feb 19 22:37:08 2009 -0500 + + add cogl_push_draw_buffer() and cogl_pop_draw_buffer() + + These are necessary if nesting redirections to an fbo, + otherwise there's no way to know how to restore + previous state. + + glPushAttrib(GL_COLOR_BUFFER_BIT) would save draw buffer + state, but also saves a lot of other stuff, and + cogl_draw_buffer() relies on knowing about all draw + buffer state changes. So we have to implement a + draw buffer stack ourselves. + + Signed-off-by: Robert Bragg + + clutter/cogl/cogl-offscreen.h | 14 ++++++++ + clutter/cogl/gl/cogl-context.c | 7 +++- + clutter/cogl/gl/cogl-context.h | 8 ++++- + clutter/cogl/gl/cogl-fbo.c | 75 ++++++++++++++++++++++++++++++++++++++-- + clutter/cogl/gles/cogl-context.c | 7 +++- + clutter/cogl/gles/cogl-context.h | 8 ++++- + clutter/cogl/gles/cogl-fbo.c | 75 ++++++++++++++++++++++++++++++++++++++-- + 7 files changed, 184 insertions(+), 10 deletions(-) + +commit d5fc61102fccf49a9156b2a2bdd2954207d87c38 +Author: Robert Bragg +Date: Thu Apr 30 18:00:22 2009 +0100 + + [cogl] Only expose CoglBitmap as a CoglHandle + + It was inconsistent that we exposed the CoglBitmap struct instead of an + opaque CoglHandle. + + clutter/clutter-texture.c | 8 +-- + clutter/cogl/cogl-bitmap.h | 78 ++++++++++++++++++++++ + clutter/cogl/cogl-texture.h | 45 +------------ + clutter/cogl/cogl-types.h | 7 -- + clutter/cogl/cogl.h.in | 1 + + clutter/cogl/common/Makefile.am | 2 +- + clutter/cogl/common/cogl-bitmap-fallback.c | 2 +- + clutter/cogl/common/cogl-bitmap-pixbuf.c | 2 +- + .../{cogl-bitmap.h => cogl-bitmap-private.h} | 7 +- + clutter/cogl/common/cogl-bitmap.c | 25 ++++--- + clutter/cogl/gl/Makefile.am | 2 + + clutter/cogl/gl/cogl-texture-private.h | 2 +- + clutter/cogl/gl/cogl-texture.c | 13 ++-- + clutter/cogl/gles/Makefile.am | 2 + + clutter/cogl/gles/cogl-texture-private.h | 2 +- + clutter/cogl/gles/cogl-texture.c | 12 ++-- + doc/reference/cogl/cogl-sections.txt | 13 ++-- + 17 files changed, 139 insertions(+), 84 deletions(-) + +commit ee57192f47e38a62828e0f2c1a1f966b7aa4fba3 +Author: Robert Bragg +Date: Wed Apr 29 19:49:09 2009 +0100 + + [cogl-material] make _cogl_material_layer_free check for an invalid texture handle + + It is valid in some situations to have a material layer with an invalid texture + handle (e.g. if you setup a texture combine mode before setting the texture) + and so _cogl_material_layer_free needs to check for a valid handle before + attempting to unref it. + + clutter/cogl/common/cogl-material.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit f85377372cc1317f8301a78423e76c668e281f3b +Author: Robert Bragg +Date: Mon Apr 27 15:48:12 2009 +0100 + + [cogl] Updates all file headers and removes lots of trailing white space + + Adds missing notices, and ensures all the notices are consistent. The Cogl + blurb also now reads: + + * Cogl + * + * An object oriented GL/GLES Abstraction/Utility Layer + + clutter/cogl/cogl-color.h | 12 ++- + clutter/cogl/cogl-debug.h | 23 +++++ + clutter/cogl/cogl-deprecated.h | 23 +++++ + clutter/cogl/cogl-fixed.h | 14 ++- + clutter/cogl/cogl-material.h | 23 +++++ + clutter/cogl/cogl-matrix.h | 26 +++++ + clutter/cogl/cogl-offscreen.h | 14 ++- + clutter/cogl/cogl-path.h | 12 ++- + clutter/cogl/cogl-shader.h | 12 ++- + clutter/cogl/cogl-texture.h | 12 ++- + clutter/cogl/cogl-types.h | 21 ++-- + clutter/cogl/cogl-vertex-buffer.h | 17 ++-- + clutter/cogl/cogl.h.in | 9 +- + clutter/cogl/common/cogl-bitmap-fallback.c | 52 +++++----- + clutter/cogl/common/cogl-bitmap-pixbuf.c | 38 ++++--- + clutter/cogl/common/cogl-bitmap.c | 40 ++++---- + clutter/cogl/common/cogl-clip-stack.c | 8 +- + clutter/cogl/common/cogl-clip-stack.h | 8 +- + clutter/cogl/common/cogl-color.c | 23 +++++ + clutter/cogl/common/cogl-current-matrix.c | 11 +- + clutter/cogl/common/cogl-current-matrix.h | 11 +- + clutter/cogl/common/cogl-debug.c | 23 +++++ + clutter/cogl/common/cogl-fixed.c | 23 +++++ + clutter/cogl/common/cogl-handle.h | 8 +- + clutter/cogl/common/cogl-internal.h | 5 +- + clutter/cogl/common/cogl-material-private.h | 26 +++++ + clutter/cogl/common/cogl-material.c | 25 +++++ + clutter/cogl/common/cogl-matrix-stack.c | 11 +- + clutter/cogl/common/cogl-matrix-stack.h | 11 +- + clutter/cogl/common/cogl-matrix.c | 26 +++++ + clutter/cogl/common/cogl-primitives.c | 122 +++++++++++------------ + clutter/cogl/common/cogl-primitives.h | 8 +- + clutter/cogl/common/cogl-util.c | 16 ++- + clutter/cogl/common/cogl-util.h | 10 +- + clutter/cogl/common/cogl-vertex-buffer-private.h | 15 +-- + clutter/cogl/common/cogl-vertex-buffer.c | 17 ++-- + clutter/cogl/common/cogl.c | 5 +- + clutter/cogl/gl/cogl-context.c | 8 +- + clutter/cogl/gl/cogl-context.h | 8 +- + clutter/cogl/gl/cogl-defines.h.in | 22 ++-- + clutter/cogl/gl/cogl-fbo.c | 84 ++++++++-------- + clutter/cogl/gl/cogl-fbo.h | 8 +- + clutter/cogl/gl/cogl-internal.h | 8 +- + clutter/cogl/gl/cogl-primitives.c | 8 +- + clutter/cogl/gl/cogl-program.c | 16 ++- + clutter/cogl/gl/cogl-program.h | 8 +- + clutter/cogl/gl/cogl-shader-private.h | 8 +- + clutter/cogl/gl/cogl-shader.c | 10 +- + clutter/cogl/gl/cogl-texture-private.h | 8 +- + clutter/cogl/gl/cogl-texture.c | 13 ++- + clutter/cogl/gl/cogl.c | 4 +- + clutter/cogl/gles/cogl-context.c | 8 +- + clutter/cogl/gles/cogl-context.h | 8 +- + clutter/cogl/gles/cogl-fbo.c | 8 +- + clutter/cogl/gles/cogl-fbo.h | 8 +- + clutter/cogl/gles/cogl-gles2-wrapper.c | 10 +- + clutter/cogl/gles/cogl-gles2-wrapper.h | 8 +- + clutter/cogl/gles/cogl-internal.h | 8 +- + clutter/cogl/gles/cogl-primitives.c | 8 +- + clutter/cogl/gles/cogl-program.c | 12 +-- + clutter/cogl/gles/cogl-program.h | 8 +- + clutter/cogl/gles/cogl-shader-private.h | 8 +- + clutter/cogl/gles/cogl-shader.c | 10 +- + clutter/cogl/gles/cogl-texture-private.h | 8 +- + clutter/cogl/gles/cogl-texture.c | 8 +- + clutter/cogl/gles/cogl-util.c | 10 +- + clutter/cogl/gles/cogl-util.h | 10 +- + clutter/cogl/gles/cogl.c | 4 +- + clutter/cogl/gles/stringify.sh | 30 +++++- + 69 files changed, 684 insertions(+), 463 deletions(-) + +commit 741c4bb5e92c5f7f86188a89b9697b842783d714 +Author: Robert Bragg +Date: Fri Apr 24 18:09:52 2009 +0100 + + [cogl] Adds a bitfield argument to cogl_clear for specifying which buffers to clear + + Redundant clearing of depth and stencil buffers every render can be very + expensive, so cogl now gives control over which auxiliary buffers are + cleared. + + Note: For now clutter continues to clear the color, depth and stencil buffer + each paint. + + README | 5 +++-- + clutter/clutter-main.c | 5 ++++- + clutter/clutter-stage.c | 5 ++++- + clutter/clutter-texture.c | 8 +++++++- + clutter/cogl/cogl.h.in | 21 ++++++++++++++++++--- + clutter/cogl/common/cogl.c | 42 +++++++++++++++++++++++------------------- + 6 files changed, 59 insertions(+), 27 deletions(-) + +commit fa9efe4828834a62b694232d61124f4b0703d922 +Author: Neil Roberts +Date: Thu Apr 30 18:47:59 2009 +0100 + + Accumulate small deltas + + The clutter frame source tries to average out the frame deltas so that + if one frame takes 1 interval plus a little bit of extra time then the + next frame will be 1 interval minus that little bit of extra + time. Therefore the deltas can sometimes be less than the frame + interval. ClutterTimeline should accumulate these small differences + otherwise it will end up missing out frames so the total duration of + the timeline will be a lot longer. + + For example this was causing test-actors to appear to run very slow. + + clutter/clutter-timeline.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit cf28c023a051eef96c9aa9c8ebffff75f470470a +Author: Emmanuele Bassi +Date: Fri May 1 15:08:42 2009 +0100 + + [tests] Manually advance the timelines + + The units in the Timeline test suite just rely on the timeline + being a timeout automatically advanced by the main loop. This + is not the case anymore, since the merge of the master-clock. + + To make the test units work again we need to "emulate" the master + clock without effectively having a stage to redraw; we do this + by creating a frame source and manually advancing the timelines + we create for test purposes, using the advance_msecs() "protected" + method. + + tests/conform/test-timeline-dup-frames.c | 40 +++++++++++++++++++-- + tests/conform/test-timeline-interpolate.c | 52 ++++++++++++++++++++++----- + tests/conform/test-timeline-rewind.c | 46 ++++++++++++++++++++---- + tests/conform/test-timeline-smoothness.c | 41 ++++++++++++++++++--- + tests/conform/test-timeline.c | 59 ++++++++++++++++++++++++++++++- + 5 files changed, 214 insertions(+), 24 deletions(-) + +commit 5be29cf9bc6ee5789f4f8473aee8ec72a77034c9 +Author: Emmanuele Bassi +Date: Fri May 1 15:05:51 2009 +0100 + + [timeline] Expose the msec advancement + + The method of ClutterTimeline that advances the timeline by a + delta (in millisecond) is going to be useful for testing the + timeline's behaviour -- and unbreak the timeline test suite that + was broken by the MasterClock merge. + + clutter/clutter-master-clock.c | 2 +- + clutter/clutter-private.h | 3 --- + clutter/clutter-timeline.c | 16 +++++++--------- + clutter/clutter-timeline.h | 4 ++++ + 4 files changed, 12 insertions(+), 13 deletions(-) + +commit d7a1a168ba1039cd4711bda60015667dbf1fcb27 +Author: Emmanuele Bassi +Date: Fri May 1 12:42:37 2009 +0100 + + [tests] Verify that Clone can paint hidden sources + + With the change in commit 87e4e2 painting of hidden source actors + in ClutterClone was fixed. This commit changes the test-actor-clone + to visually verify this. + + tests/interactive/test-actor-clone.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 71473466fa2cc4783934b2cdbcb709d50a0e37b8 +Author: Emmanuele Bassi +Date: Fri May 1 12:42:30 2009 +0100 + + [gitignore] Ignore the new invariants units + + .gitignore | 3 +++ + 1 file changed, 3 insertions(+) + +commit 1a87e4e2520a57d26a4e83e7f69f26d2cfab3d4c +Author: Emmanuele Bassi +Date: Fri May 1 12:33:42 2009 +0100 + + [clone] Allow painting hidden source actors + + With the introduction of the map/unmap flags and the split of the + visible state from the mapped state we require that every part of + a scene graph branch is mapped in order to be painted. This breaks + the ability of a ClutterClone to paint an hidden source actor. + + In order to fix this we need to introduce an override flag, similar + in spirit to the current modelview and paint opacity overrides that + Clone is already using. + + The override flag, when set, will force a temporary map on a + Clone source (and its children). + + clutter/clutter-actor.c | 129 +++++++++++++++++++++++++++++++++++----------- + clutter/clutter-clone.c | 10 ++++ + clutter/clutter-private.h | 3 ++ + 3 files changed, 112 insertions(+), 30 deletions(-) + +commit 5d2d8297e26780d95f46c77d5865c1cb77959d07 +Author: Emmanuele Bassi +Date: Fri May 1 12:31:06 2009 +0100 + + [actor] Use foreach_with_internals() + + ClutterContainer provides a foreach_with_internals() vfunc for + iterating over all of a container's children, be them added using + the Container API or be them internal to the container itself. + + We should be using the foreach_with_internals() function instead + of the plain foreach(). + + clutter/clutter-actor.c | 55 ++++++++++++++++++++++++------------------------- + 1 file changed, 27 insertions(+), 28 deletions(-) + +commit 20cd885c3d6b8fce611c156a491ca93ea7ba13c6 +Author: Neil Roberts +Date: Thu Apr 30 15:00:01 2009 +0100 + + [ClutterTexture] Check before unrefing the fbo_handle + + When replacing the fbo_handle with a new handle it first unrefs the + old handle. This was previously a call to cogl_offscreen_unref which + silently ignored attempts to unref COGL_INVALID_HANDLE. However the + new cogl_handle_unref does check for this so we should make sure the + handle is valid to avoid the warning. + + clutter/clutter-texture.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 4f692cc3ee9089c568952e758406954bc5cf72dd +Author: Neil Roberts +Date: Thu Apr 30 14:32:19 2009 +0100 + + [ClutterTexture] Attach the FBO texture to a layer in the material + + Bug 1565 - test-fbo case failed in many platform + + clutter_texture_new_from_actor was broken because it created the FBO + texture but then never attached it to the material so it was never + used for rendering. The old behaviour in Clutter 0.8 was to assign the + texture directly to priv->tex. In 0.9 priv->tex is replaced with + priv->material which has a reference to the tex in layer 0. So putting + the FBO texture directly in layer 0 more closely matches the original + behaviour. + + clutter/clutter-texture.c | 47 +++++++++++++++++++++++++++-------------------- + 1 file changed, 27 insertions(+), 20 deletions(-) + +commit 8e6e09c8ef646f20bbcde7fdff02069d0d20167e +Author: Øyvind Kolås +Date: Thu Apr 30 11:54:09 2009 +0100 + + [events] Added handling of missing type to clutter_event_get_state + + clutter_event_get_state wasn't returning the state for + CLUTTER_BUTTON_RELEASE, the information was there it just needed to + be returned correctly. + + clutter/clutter-event.c | 1 + + 1 file changed, 1 insertion(+) + +commit bb156970defbd7479d512ab5b5aeb78fd1fefd75 +Author: Neil Roberts +Date: Wed Mar 25 14:18:00 2009 +0000 + + Render pango layouts with vertex buffers + + When rendering a pango layout CoglPangoRenderer now records the + operations into a list called a CoglPangoDisplayList. The entries in + the list are either glyph renderings from a texture, rectangles or + trapezoids. Multiple consecutive glyph renderings from the same glyph + cache texture are combined into a single entry. Note the + CoglPangoDisplayList has nothing to do with a GL display list. + + After the display list is built it is attached to the PangoLayout with + g_object_set_qdata so that next time the layout is rendered it can + bypass rebuilding it. + + The glyph rendering entries are drawn via a VBO. The VBO is attached + to the display list so it can be used multiple times. This makes the + common case of rendering a PangoLayout contained in a single texture + subsequent times usually boil down to a single call to glDrawArrays + with an already uploaded VBO. + + The VBOs are accessed via the cogl_vertex_buffer API so if VBOs are + not available in GL it will resort to a fallback. + + Note this will fall apart if the pango layout is altered after the + first render. I can't find a way to detect when the layout is + altered. However this won't affect ClutterText because it creates a + new PangoLayout whenever any properties are changed. + + clutter/pango/Makefile.am | 2 + + clutter/pango/cogl-pango-display-list.c | 330 ++++++++++++++++++++++++++++++++ + clutter/pango/cogl-pango-display-list.h | 68 +++++++ + clutter/pango/cogl-pango-render.c | 145 ++++++++------ + 4 files changed, 482 insertions(+), 63 deletions(-) + +commit 48ac45f060a6b2df7a2adfecd6019ce18ae3db3b +Author: Emmanuele Bassi +Date: Wed Apr 29 15:41:12 2009 +0100 + + [gitignore] Update with the new Model test + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit d2cd636fb69e313e3105a21f6194b98b4a5cba30 +Author: Emmanuele Bassi +Date: Wed Apr 29 15:40:13 2009 +0100 + + [docs] Add ClutterModel::get_filter_set() + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit f3e33bd25a0f9710166d5e72524163966f3c2982 +Author: Emmanuele Bassi +Date: Wed Apr 29 15:39:23 2009 +0100 + + [tests] Exercise the Model filtering + + Add a test unit that exercises the ClutterModel iteration API + when there is a filter in place. + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-model.c | 138 ++++++++++++++++++++++++++++++++++++-- + 2 files changed, 133 insertions(+), 6 deletions(-) + +commit 01d172293ce3c6dd8576319657ab316c479e6acc +Author: Emmanuele Bassi +Date: Wed Apr 29 15:26:05 2009 +0100 + + [model] Rework Model behaviour with a filter + + Currently ClutterModel::get_iter_at_row() ignores whether we have + a filter in place. This also extends to the get_n_rows() method. + + The more consistent, more intuitive and surely more correct way to + handle a Model with a filter in place is to take into account the + presence of the filter itself -- that is: + + - get_n_rows() should take into account the filter and return the + number of *filtered* rows + + - get_iter_at_row() should also take the filter into account and + get the first non-filtered row + + These two changes make the ClutterModel with a filter function + behave like a subset of the original Model without a filter in + place. + + For instance, given a model with three rows: + + - [row 0] + - [row 1] + - [row 2] + - [row 3] + + The get_n_rows() method will return "2", since only two rows will + match the filter; the get_first_iter() method will ask for the + zero-eth row, which will return an iterator pointing to the contents + of row 1 (but the :row property of the iterator will be set to 0); + the get_last_iter() method will ask for the last row, which will + return an iterator pointing to the contents of row 2 (but the :row + property of the iterator will be set to 1). + + This changes will hopefully make the Model API more consistent + in its usage whether there is a filter in place or not. + + clutter/clutter-list-model.c | 100 +++++++++++++++++++++------------- + clutter/clutter-model.c | 125 ++++++++++++++++++++++++++----------------- + clutter/clutter-model.h | 2 +- + 3 files changed, 138 insertions(+), 89 deletions(-) + +commit 44fefa2afec991d9b60ae5694e511617b1369d1f +Author: Emmanuele Bassi +Date: Wed Apr 29 15:14:40 2009 +0100 + + [model] Add :filter-set + + Currently, there is no way for implementations of the ClutterModel + abstract class to know whether there is a filter in place. Since + subclasses might implement some optimization in case there is no + filter present, we need a simple (and public) API to ask the model + itself. + + clutter/clutter-model.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-model.h | 1 + + 2 files changed, 67 insertions(+), 1 deletion(-) + +commit 9fdc9ca583e1b3e0dd81d7322732156d3eb121b7 +Author: Neil Roberts +Date: Tue Apr 21 14:15:19 2009 +0100 + + [ClutterText] Fix actors with a width but no wrapping and the wrap modes + + Setting the wrap mode on the PangoLayout seems to have disappeared + during the text-actor-layout-height branch merge so this brings it + back. The test for this in test-text-cache no longer needs to be + disabled. + + We also shouldn't set the width on the layout if there is no wrapping + or ellipsizing because otherwise it implicitly enables wrapping. This + only matters if the actor gets allocated smaller than its natural + size. + + clutter/clutter-text.c | 10 +++++++--- + tests/conform/test-text-cache.c | 2 -- + 2 files changed, 7 insertions(+), 5 deletions(-) + +commit e260296cb5a8acef0ba2c9a10b6dec1dca787081 +Author: Owen W. Taylor +Date: Fri Feb 27 14:43:47 2009 -0500 + + [clone] Redraw when the source changes + + Bug 1484 - Redraw ClutterClone when the source changes, even for + !visible sources + + Connect to ::queue-redraw on the clone source and queue a redraw. + This allows redrawing the Clone when the source changes, even in + case of a non visible source actor. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1484 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-clone.c | 62 +++++++++++++++++++++++++++++++++---------------- + 1 file changed, 42 insertions(+), 20 deletions(-) + +commit 678f99677fb9f6c1d443da1c27753c5cbe768118 +Author: Emmanuele Bassi +Date: Sat Mar 21 20:39:32 2009 +0000 + + Use a single master "clock" to drive timelines + + Currently, all timelines install a timeout inside the TimeoutPool + they share. Every time the main loop spins, all the timeouts are + updated. This, in turn, will usually lead to redraws being queued + on the stages. + + This behaviour leads to the potential starvation of timelines and + to excessive redraws. + + One lesson learned from the games developers is that the scenegraph + should be prepared in its entirety before the GL paint sequence is + initiated. This means making sure that every ::new-frame signal + handler is called before clutter_redraw() is invoked. + + In order to do so a TimeoutPool is not enough: we need a master + clock. The clock will be responsible for advancing all the active + timelines created inside a scene, but only when the stage is + being redrawn. + + The sequence is: + + + queue_redraw() is invoked on an actor and bubbles up + to the stage + + + if no redraw() has already been scheduled, install an + idle handler with a known priority + + + inside the idle handler: + + - advance the master clock, which will in turn advance + every playing timeline by the amount of milliseconds + elapsed since the last redraw; this will make every + playing timeline emit the ::new-frame signal + + - queue a relayout + + - call the redraw() method of the backend + + This way we trade multiple timeouts with a single frame source + that only runs if a timeline is playing and queues redraws on + the various stages. + + clutter/Makefile.am | 2 + + clutter/clutter-main.c | 7 +- + clutter/clutter-master-clock.c | 364 +++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-master-clock.h | 48 ++++++ + clutter/clutter-private.h | 5 + + clutter/clutter-stage.c | 51 ++++-- + clutter/clutter-timeline.c | 247 +++++++++------------------- + 7 files changed, 537 insertions(+), 187 deletions(-) + +commit 51f4e9680b599d040d9200cb0bd19a024999c22d +Author: Johan Bilien +Date: Wed Apr 8 10:33:39 2009 +0100 + + Relinquish the focus when unmapped while owning it + + Bug 1547 - when an actor is unmapped while owning the focus, it should + release it + + When an actor is unmapped while owning the focus, the should release it. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit 125bded81455df73b37ed459f360ced0135db65a +Author: Havoc Pennington +Date: Thu Apr 2 09:16:43 2009 -0400 + + Enforce invariants on mapped, realized, visibility states + + Bug 1138 - No trackable "mapped" state + + * Add a VISIBLE flag tracking application programmer's + expected showing-state for the actor, allowing us to + always ensure we keep what the app wants while tracking + internal implementation state separately. + + * Make MAPPED reflect whether the actor will be painted; + add notification on a ClutterActor::mapped property. + Keep MAPPED state updated as the actor is shown, + ancestors are shown, actor is reparented, etc. + + * Require a stage and realized parents to realize; this means + at realization time the correct window system and GL resources + are known. But unparented actors can no longer be realized. + + * Allow children to be unrealized even if parent is realized. + Otherwise in effect either all actors or no actors are realized, + i.e. it becomes a stage-global flag. + + * Allow clutter_actor_realize() to "fail" if not inside a toplevel + + * Rework clutter_actor_unrealize() so internally we have + a flavor that does not mess with visibility flag + + * Add _clutter_actor_rerealize() to encapsulate a somewhat + tricky operation we were doing in a couple of places + + * Do not realize/unrealize children in ClutterGroup, + ClutterActor already does it + + * Do not realize impl by hand in clutter_stage_show(), + since showing impl already does that + + * Do not unrealize in various dispose() methods, since + ClutterActor dispose implementation already does it + and chaining up is mandatory + + * ClutterTexture uses COGL while unrealizable (before it's + added to a stage). Previously this breakage was affecting + ClutterActor because we had to allow realize outside + a stage. Move the breakage to ClutterTexture, by making + ClutterTexture just use COGL while not realized. + + * Unrealize before we set parent to NULL in clutter_actor_unparent(). + This means unrealize() implementations can get to the stage. + Because actors need the stage in order to detach from stage. + + * Update clutter-actor-invariants.txt to reflect latest changes + + * Remove explicit hide/unrealize from ClutterActor::dispose since + unparent already forces those + Instead just assert that unparent() occurred and did the right thing. + + * Check whether parent implements unrealize before chaining up + Needed because ClutterGroup no longer has to implement unrealize. + + * Perform unrealize in the default handler for the signal. + This allows non-containers that have children to work properly, + and allows containers to override how it's done. + + * Add map/unmap virtual methods and set MAPPED flag on self and + children in there. This allows subclasses to hook map/unmap. + These are not signals, because notify::mapped is better for + anything it's legitimate for a non-subclass to do. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 813 ++++++++++++++++++++++++++++++---- + clutter/clutter-actor.h | 12 +- + clutter/clutter-group.c | 18 - + clutter/clutter-private.h | 4 + + clutter/clutter-stage.c | 60 +-- + clutter/clutter-texture.c | 81 ++-- + clutter/eglnative/clutter-stage-egl.c | 5 +- + clutter/eglx/clutter-stage-egl.c | 6 +- + clutter/fruity/clutter-fruity.c | 4 + + clutter/fruity/clutter-stage-fruity.c | 5 +- + clutter/glx/clutter-stage-glx.c | 12 +- + clutter/sdl/clutter-stage-sdl.c | 2 - + clutter/win32/clutter-stage-win32.c | 15 +- + clutter/x11/clutter-stage-x11.c | 69 +-- + doc/clutter-actor-invariants.txt | 180 ++++++-- + tests/conform/test-actor-invariants.c | 129 +++++- + tests/conform/test-conform-main.c | 3 + + 17 files changed, 1142 insertions(+), 276 deletions(-) + +commit b73ee6992c68559f04f8d3e42d337b1c39a57933 +Author: Johan Bilien +Date: Fri Apr 24 15:07:49 2009 +0100 + + Unnecessary glColorMask on alpha drops performance + + Bug 1228 - Unnecessary glColorMask on alpha drops performance + + With DRI2, alpha is allowed in the window's framebuffer + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/gl/cogl-fbo.c | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +commit 08ba42a5ab4d42a76b4c1ff30bf37d6e3177de11 +Author: Emmanuele Bassi +Date: Fri Apr 24 15:05:02 2009 +0100 + + Allow passing the pick mode to get_actor_at_pos() + + Bug 1513 - Allow passing in ClutterPickMode to + clutter_stage_get_actor_at_pos() + + At the moment, clutter_stage_get_actor_at_pos() uses CLUTTER_PICK_ALL + internally to find an actor. It would be useful to allow passing in + ClutterPickMode to clutter_stage_get_actor_at_pos(), so that the caller + can specify CLUTTER_PICK_REACTIVE as a criteria. + + clutter/clutter-private.h | 6 ------ + clutter/clutter-stage.c | 16 +++++++++++----- + clutter/clutter-stage.h | 17 +++++++++++++++++ + doc/reference/clutter/clutter-sections.txt | 1 + + tests/conform/test-pick.c | 1 + + tests/interactive/test-actor-clone.c | 4 +++- + tests/interactive/test-actors.c | 4 +++- + tests/interactive/test-paint-wrapper.c | 2 +- + tests/interactive/test-project.c | 4 +++- + tests/interactive/test-unproject.c | 4 +++- + 10 files changed, 43 insertions(+), 16 deletions(-) + +commit 60645727036d9b0945b9ce71606d6067a54dd1e7 +Author: Emmanuele Bassi +Date: Fri Apr 24 14:59:18 2009 +0100 + + [x11] Use XWithdrawWindow() + + Bug 1516 - Does not withdraw toplevels correctly + + clutter_stage_x11_hide() needs to use XWithdrawWindow(), not + XUnmapWindow(). + + As it stands now, if the window is already unmapped (say the WM has + minimized it), then the WM will not know that Clutter has closed the + window and will keep the window managed, showing it in the task list + and so forth. + + clutter/x11/clutter-stage-x11.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4f663384c77788e5d8b64c02175d7c8c5a0415de +Author: Havoc Pennington +Date: Mon Mar 23 10:15:00 2009 -0400 + + Add ClutterContainer::foreach_with_internals() + + Bug 1517 - clutter_container_foreach_with_internals() + + This allows us to iterate over all children (for things like maintaining + map/realize invariants) or only children that apps added and care about. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-container.c | 40 +++++++++++++++++++++++++++++++++++++++- + clutter/clutter-container.h | 34 ++++++++++++++++++++-------------- + 2 files changed, 59 insertions(+), 15 deletions(-) + +commit 27bea43a4d7b792159622ad67f1ddbb0919f3d94 +Author: Emmanuele Bassi +Date: Thu Apr 23 11:38:58 2009 +0100 + + [docs] Increase verbosity for commit messages + + Apparently, not everyone read the HACKING file, especially the + section about commit messages. This lead to some confusion with + regards to the acceptable (i.e. mandatory) format for commit + messages in Clutter. Let's clarify it a little bit before I start + enforcing it and reverting commits. + + HACKING | 48 ++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 36 insertions(+), 12 deletions(-) + +commit d6ccecd79e40f5d5887b81f22bc969216d09c8d5 +Author: Emmanuele Bassi +Date: Thu Apr 23 11:35:10 2009 +0100 + + [alpha] Sanitize easing equations + + Bug 1561 - Bad code in clutter-alpha.c + + The implementation of the easing modes equations followed closely + the JavaScript and ActionScript counterparts. Obviously, JS and AS + are not C-compatible, so later versions of gcc (4.4.0 for instance) + would complain about uninitialized variables and such. The code is + also obfuscated and hard to debug/understand. + + For these reasons, the implementation should be unobfuscated and + sanitized. + + clutter/clutter-alpha.c | 157 +++++++++++++++++++++++++++++++++--------------- + 1 file changed, 108 insertions(+), 49 deletions(-) + +commit 1d2ac51ea34cae9e94e6d5f831db13f0ac3613d8 +Author: Robert Bragg +Date: Fri Apr 17 19:05:21 2009 +0100 + + [x11-texture-pixmap] Fixes a reported lockup due to an undesireable X server grab + + A lockup was reported by fargoilas on #clutter and removing the server grab in + clutter_x11_texture_pixmap_sync_window fixed the problem. + + We were doing an x server grab to guarantee that if the XGetWindowAttributes + request reported that our redirected window was viewable then we would also + be able to get a valid pixmap name. (the composite protocol says it's an + error to request a name for a window if it's not viewable) Without the grab + there would be a race condition. + + Instead we now handle error conditions gracefully. + + clutter/x11/clutter-x11-texture-pixmap.c | 50 ++++++++++++++++++-------------- + 1 file changed, 29 insertions(+), 21 deletions(-) + +commit ffefbe466100f72eed7ce760512253f0b90786fe +Author: Emmanuele Bassi +Date: Thu Apr 2 10:28:37 2009 +0100 + + [text] Avoid a Pango warning with empty markup + + When the markup string is empty Pango complains about invalid + characters. + + clutter/clutter-text.c | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +commit bced9c65e73e94d206c1c98e824dee9c83783010 +Author: Neil Roberts +Date: Fri Mar 27 21:55:40 2009 +0000 + + [test-pick] Improve to include a covering actor + + Three tests are now performed on the picked squares. First there is no + covering actor which is the same as the original test. Then there is a + hidden covering actor which should not affect the results. Finally + there is a covering actor with a clip set on it so that only actors + at the borders of the stage should be pickable. + + tests/conform/test-pick.c | 115 +++++++++++++++++++++++++++++++++------------- + 1 file changed, 84 insertions(+), 31 deletions(-) + +commit 77dc4fd66bdd649ba3705a59b26c75dc5e891bd3 +Author: Emmanuele Bassi +Date: Tue Apr 21 12:09:59 2009 +0100 + + [tests] Disable a subtest of the Text cache unit + + The wrap mode sub-test inside the ClutterText layout cache test + unit has been broken by the recent changes inside the Text actor. + + The sub-test itself might require tweaking. + + tests/conform/test-text-cache.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 1c42e6334e535dbd9015c20810a6560195803f1c +Author: Emmanuele Bassi +Date: Tue Apr 21 12:06:14 2009 +0100 + + [text] Emit ::cursor-event only on changes + + The documentation for the ::cursor-event says that the signal + is emitted only when the cursor position changes. Right now it + is being emitted every time we ensure the cursor position during + the Text paint sequence. + + The clutter_text_ensure_cursor_position() function should check + whether the stored cursor position has changed since the last + paint, and emit the ::cursor-event signal only when there has + been a change. + + clutter/clutter-text.c | 23 ++++++++++++++++++----- + 1 file changed, 18 insertions(+), 5 deletions(-) + +commit 4518cf140cbe77e5f4ac111a76f78dd34dffd18c +Author: Emmanuele Bassi +Date: Tue Apr 21 12:03:41 2009 +0100 + + [tests] Visually verify ellipsization + + Verify that the non-editable, single line entries are still + correctly ellipsized when a maximum width is set. + + tests/interactive/test-text-field.c | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +commit 368f61fa650bbf148fcfe029778d79a7046cc882 +Author: Emmanuele Bassi +Date: Tue Apr 21 12:01:52 2009 +0100 + + [text] Return the correct minimum height + + The correct minimum height in case of ellipsis is still 1px. + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5c8263ecb7e3e942c355a62d36934b6935ebb813 +Author: Emmanuele Bassi +Date: Tue Apr 21 11:59:38 2009 +0100 + + [text] Limit the Layout width + + We only want to eschew the pango_layout_set_width() on editable, + single-line Text actors because they can "scroll" the PangoLayout. + + This fixes the ellipsization on entries. + + clutter/clutter-text.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit e4d3b0536f955a4e5317d0f195c814a2e6d4e1f9 +Author: Robert Bragg +Date: Mon Apr 20 12:36:43 2009 +0100 + + [gl/cogl.c] #include for OS X builds + + In unifying the {gl,gles}/cogl.c code recently, moving most of the code into + common/cogl.c the gmodule.h include was also mistakenly moved. + + Thanks to Felix Rabe for reporting this issue. + + Note: I haven't tested this fix myself, as I'm not set up to be able to + build for OS X + + clutter/cogl/common/cogl.c | 1 - + clutter/cogl/gl/cogl.c | 1 + + 2 files changed, 1 insertion(+), 1 deletion(-) + +commit 46c20f1523d6317a49b3df5843f217cced8d3f6d +Author: Robert Bragg +Date: Wed Apr 15 19:25:55 2009 +0100 + + [cogl vertex buffers] Adds fallbacks for drivers without VBO support + + Buffer objects aren't currently available for glx indirect contexts, so we + now have a fallback that simply allocates fake client side vbos to store the + attributes. + + clutter/cogl/common/cogl-vertex-buffer-private.h | 5 +- + clutter/cogl/common/cogl-vertex-buffer.c | 149 +++++++++++++++++------ + clutter/cogl/gles/cogl.c | 2 + + 3 files changed, 121 insertions(+), 35 deletions(-) + +commit ac21e7b182d08cdbdcb5f4e0f2fd44a23e7e8d93 +Author: Robert Bragg +Date: Fri Apr 17 15:10:55 2009 +0100 + + [cogl debug] --cogl-debug=rectangles now outlines all cogl rectangles + + This makes the #if 0'd debug code that was in _cogl_journal_flush_quad_batch + - which we have repeatedly found usefull for debugging various geometry + issues in Clutter apps - a runtime debug option. + + The outline colors rotate in order from red to green to blue which can also + help confirm the order that your geometry really drawn. + + The outlines are not affected by the current material state, so if you e.g. + have a blending bug where geometry mysteriously disappears this can confirm + if the underlying rectangles are actually being emitted but blending is + causing them to be invisible. + + clutter/cogl/cogl-debug.h | 15 ++++++++------- + clutter/cogl/common/cogl-debug.c | 3 ++- + clutter/cogl/common/cogl-primitives.c | 7 +++---- + 3 files changed, 13 insertions(+), 12 deletions(-) + +commit 169d472d17113416ea7e6c4eea4abda92c54e934 +Author: Robert Bragg +Date: Fri Apr 17 14:53:24 2009 +0100 + + Use $(MAINTAINER_CFLAGS) in clutter/{x11,glx}/Makefile.am + + These makefile weren't resulting in the addition of the maintainer flags while + building clutter. + + clutter/glx/Makefile.am | 1 + + clutter/x11/Makefile.am | 1 + + 2 files changed, 2 insertions(+) + +commit 5c50be1bdc3bf5d4f060324c23f5a0ca906dee42 +Author: Bastian Winkler +Date: Thu Apr 16 13:06:58 2009 +0200 + + Prevent a possible zero division + + A zero division might occur in clutter_path_get_position if the length + of a curved node is zero. + + Signed-off-by: Neil Roberts + + clutter/clutter-path.c | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +commit 56ac4baf17e5917c738257d8beab7a583c793fcb +Author: Chris Lord +Date: Thu Apr 16 16:34:15 2009 +0100 + + [ClutterText] Return 1 for min width when editable + + Editable ClutterText will scroll when allocated less width than is + necessary to lay out the entire layout on a single line, so return 1 for + the minimum width in this case. + + Approved by Emmanuele Bassi, fixes bug #1555. + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 425fa78a27b9182f60d64ed08f1b470e96539908 +Merge: d4b47af15 fbd9c59c7 +Author: Emmanuele Bassi +Date: Wed Apr 15 18:08:14 2009 +0100 + + Merge branch 'text-actor-layout-height' + + * text-actor-layout-height: + [clutter-text] Fix ellipsizing + Support pango_layout_set_height() in ClutterText + + Conflicts: + clutter/clutter-text.c + +commit d4b47af153a31eeac12dc5d2ba7f62fdcde833b1 +Author: Emmanuele Bassi +Date: Wed Apr 15 17:27:04 2009 +0100 + + [stage] Warn if perspective's z_far - z_near is 0 + + Since we have to do (z_far - z_near) and use it in a division we + should check that the user is not passing a value that would + cause a division by zero. + + clutter/clutter-stage.c | 1 + + 1 file changed, 1 insertion(+) + +commit 709bb69970ff2b8c2caa27aa0f4b43a9ce763901 +Author: Emmanuele Bassi +Date: Wed Apr 15 17:25:50 2009 +0100 + + Add debug annotations for the layout process + + If we need to check that the layout sequence is correct in + terms of order of execution and with respect to caching, then + having a CLUTTER_DEBUG_LAYOUT debug flag would make things + easier. + + clutter/clutter-actor.c | 38 ++++++++++++++++++++++++++++++-------- + clutter/clutter-debug.h | 3 ++- + clutter/clutter-main.c | 3 ++- + 3 files changed, 34 insertions(+), 10 deletions(-) + +commit f8256e4b23af2ab8f3849ab3fae2747f01a6324b +Author: Emmanuele Bassi +Date: Wed Apr 15 17:23:45 2009 +0100 + + [text] Do not ellipsize non-editable layouts + + If a ClutterText is set as non-editable then its PangoLayout + will occupy as much width as its contents and ignore the + ellipsization setting. + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit fbd9c59c7cb7901ec208d05416454a68c7329cfd +Author: Neil Roberts +Date: Wed Apr 15 14:46:45 2009 +0100 + + [clutter-text] Fix ellipsizing + + Ellipsizing was effectively broken for two reasons. There was a typo + in the code to set the width so it always ended up being some massive + value. If no height should be set on the layout it was being set to + G_MAXINT. Setting a height greater than 0 enables wrapping which so + ellipsizing is not performed. It should be left at the default of -1 + instead. + + clutter/clutter-text.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 5af99660cb7fdb76ab2a55288bce7342f5e04761 +Author: Emmanuele Bassi +Date: Wed Apr 15 12:18:55 2009 +0100 + + [json] Avoid leaks on error code paths + + Bug 1476 - JSON Parser memory leak + + Static analysis of the code showed that the in-tree copy of + the JsonParser object leaks objects and arrays on parse errors. + + Thanks to Gordon Williams + + clutter/json/json-parser.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit 269598a2cfa147b4d8361789356aba8318bde434 +Author: Øyvind Kolås +Date: Wed Apr 8 18:18:31 2009 +0100 + + [group] avoid double evaluation of arguments in clutter_group_add + + clutter_group_add would evaluate the actor argument twice, which is + bad if this is a function call creating a new actor and not a variable. + + clutter/clutter-group.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a9f24351e9a4b354a23f86b7aff7096a33195543 +Author: Neil Roberts +Date: Tue Apr 7 15:24:48 2009 +0100 + + Fix fullscreening when the stage is unrealized and on dual-head + + If the stage is unrealized (such as will be the case if the stage was + created with clutter_stage_new) then it would set the size of the + stage display but it was not setting the fullscreen_on_map flag so it + never got the _NET_WM_STATE_FULLSCREEN property. Now it always sets + the flag regardless of whether the window is created yet. + + There was also problems with dual-headed displays because in that case + DisplayWidth/Height will return the size of the combined display but + Metacity (and presumably other WMs) will sensibly try fit the window + to only one of the monitors. However we were setting the size hints so + that the minimum size is that of the combined display. Metacity tries + to honour this by setting the minimum size but then it no longer + positions the window at the top left of the screen. + + The patch makes it avoid setting the minimum size when the stage is + fullscreen by checking the fullscreen_on_map flag. This also means we + can remove the static was_resizable flag which would presumably have + caused problems for multi-stage. + + clutter/x11/clutter-stage-x11.c | 57 ++++++++++++++++++++++------------------- + 1 file changed, 31 insertions(+), 26 deletions(-) + +commit 1edc19d1d33453bee85fb2b4bdb21a18c0089535 +Author: Neil Roberts +Date: Mon Apr 6 15:22:31 2009 +0100 + + [clutter-text] Add a separate property for the selection color + + Adds a new property so that the selection color can be different from + the cursor color. If no selection color is specified it will use the + cursor color as before. If no cursor color is specified either it will + use the text color. + + clutter/clutter-text.c | 193 +++++++++++++++++++++++------ + clutter/clutter-text.h | 4 + + doc/reference/clutter/clutter-sections.txt | 2 + + 3 files changed, 160 insertions(+), 39 deletions(-) + +commit 3fdacf97624a0bdbe6360c5561a7d7adcfcb8645 +Author: Neil Roberts +Date: Mon Apr 6 12:43:16 2009 +0100 + + [cogl-handle] Fix the broken debug macros + + The debug macros for tracking reference counting of CoglHandles had + some typos introduced in c3d9f0 which meant it failed to compile when + COGL_DEBUG is 1. + + clutter/cogl/common/cogl-handle.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit e464acff7ab83b29291992cca1e3043b8c65823e +Author: Robert Bragg +Date: Sat Apr 4 19:02:01 2009 +0100 + + [cogl] cogl_is_*(): Don't dereference an invalid handle; just return FALSE + + An invalid handle is implicitly not of any type. + + clutter/cogl/common/cogl-handle.h | 3 +++ + 1 file changed, 3 insertions(+) + +commit fff5585b5f4d4f885090a3bfae5c4757d6d7447f +Author: Neil Roberts +Date: Mon Apr 6 11:14:43 2009 +0100 + + [cogl-pango-render] Fix returning to default color after a color attribute + + Since the Cogl material branch merge when changing the color of a part + using pango attributes (such as using markup) + then it wouldn't return to the default color for the rest of the + layout. pango_renderer_get_color returns NULL if there is no color + override in which case it needs to revert to the color specified as + the argument to cogl_pango_render_layout. The 'color' member of + CoglPangoRenderer has been reinstated to store that default color and + now cogl_pango_render_set_color_for_part is the only place that sets + the material color. + + clutter/pango/cogl-pango-render.c | 31 ++++++++++++++----------------- + 1 file changed, 14 insertions(+), 17 deletions(-) + +commit a1cc1f57aca703e85a4c475a2c097a9dacff066a +Author: Emmanuele Bassi +Date: Sun Apr 5 20:32:15 2009 +0100 + + [animation] Do not connect to ::completed multiple times + + The clutter_actor_animate*() family of functions should only connect + to the Animation::completed signal once, during the construction of + the Animation object attached to the Actor. Otherwise, the completed + signal handler will be run multiple times, and will try to unref() + the Animation for each call -- leading to a segmentation fault. + + clutter/clutter-animation.c | 36 ++++++++++++++++++++++++++++-------- + 1 file changed, 28 insertions(+), 8 deletions(-) + +commit 6bf883da6cbc53b1bbff82f8a4b29227758158cf +Author: Emmanuele Bassi +Date: Fri Apr 3 14:19:20 2009 +0100 + + [animation] Add the ::started signal + + The Animation class is missing a ::started signal matching the + ::completed one. A ::started signal is useful for debugging, + initial state set up, and checks. + + clutter/clutter-animation.c | 61 ++++++++++++++++++++++++++++++++++++++++++--- + clutter/clutter-animation.h | 2 ++ + 2 files changed, 60 insertions(+), 3 deletions(-) + +commit 17627959902edb7a61daccb991a329f8a89ee109 +Author: Emmanuele Bassi +Date: Fri Apr 3 13:36:30 2009 +0100 + + [group] Fix compilation + + A case of rebase FAIL. The sorting of the children was still + done using the now removed group function call instead of the + Container one. + + clutter/clutter-group.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit df738d0a8c601a9d8afde7273717ebd926d90eda +Author: Emmanuele Bassi +Date: Fri Apr 3 12:39:35 2009 +0100 + + [animation] Do not unref on ::complete by default + + Bug 1535 - Complete animation always unrefs ClutterAnimation (even + after g_object_ref_sink) + + Animations created through clutter_animation_new() should not + automagically unref themselves by default on ::complete. We + only want that behaviour for Animations created by the + clutter_actor_animate* family of functions, since those provide + the automagic memory management. + + clutter/clutter-animation.c | 51 ++++++++++++++++++++++++++------------------- + 1 file changed, 29 insertions(+), 22 deletions(-) + +commit bd8d3f6bd87558438420b488df252f5b04a3316e +Author: Emmanuele Bassi +Date: Wed Apr 1 11:22:42 2009 +0100 + + [group] Remove long deprecated API + + ClutterGroup still ships with API deprecated since 0.4. We did + promise to keep it around for a minor release cycle -- not for 3. + + Since we plan on shipping 1.0 without the extra baggage of the + deprecated entry points, here's the chance to remove the accumulated + cruft. + + All the removed methods and signals have a ClutterContainer + counterpart. + + clutter/clutter-group.c | 212 +---------------------------- + clutter/clutter-group.h | 23 ---- + doc/reference/clutter/clutter-sections.txt | 6 - + 3 files changed, 6 insertions(+), 235 deletions(-) + +commit 9d0ce68c2fafbe484129c09f82dc20f955b99310 +Author: Emmanuele Bassi +Date: Wed Apr 1 11:08:28 2009 +0100 + + [shader] Remove deprecated set_uniform_1f() + + Since we're planning to release 1.0 without any of the deprecated + API baggage, we can simply remove the set_uniform_1f() method from + ClutterShader public API and add it to the deprecated header. + + clutter/clutter-deprecated.h | 2 ++ + clutter/clutter-shader.c | 25 ------------------------- + clutter/clutter-shader.h | 6 ------ + doc/reference/clutter/clutter-sections.txt | 1 - + 4 files changed, 2 insertions(+), 32 deletions(-) + +commit c3d9f0bed4680dd0aa10b3a52ade23d9f0597212 +Author: Robert Bragg +Date: Wed Apr 1 17:16:44 2009 +0100 + + [cogl-handle] Optimize how we define cogl handles + + The cogl_is_* functions were showing up quite high on profiles due to + iterating through arrays of cogl handles. + + This does away with all the handle arrays and implements a simple struct + inheritance scheme. All cogl objects now add a CoglHandleObject _parent; + member to their main structures. The base object includes 2 members a.t.m; a + ref_count, and a klass pointer. The klass in turn gives you a type and + virtual function for freeing objects of that type. + + Each handle type has a _cogl_##handle_type##_get_type () function + automatically defined which returns a GQuark of the handle type, so now + implementing the cogl_is_* funcs is just a case of comparing with + obj->klass->type. + + Another outcome of the re-work is that cogl_handle_{ref,unref} are also much + more efficient, and no longer need extending for each handle type added to + cogl. The cogl_##handle_type##_{ref,unref} functions are now deprecated and + are no longer used internally to Clutter or Cogl. Potentially we can remove + them completely before 1.0. + + clutter/clutter-shader.c | 6 +- + clutter/clutter-texture.c | 30 ++-- + clutter/cogl/common/cogl-handle.h | 171 ++++++++++++----------- + clutter/cogl/common/cogl-material-private.h | 5 +- + clutter/cogl/common/cogl-material.c | 31 ++-- + clutter/cogl/common/cogl-util.c | 45 ++---- + clutter/cogl/common/cogl-vertex-buffer-private.h | 7 +- + clutter/cogl/common/cogl-vertex-buffer.c | 7 +- + clutter/cogl/gl/cogl-context.c | 25 +--- + clutter/cogl/gl/cogl-context.h | 13 -- + clutter/cogl/gl/cogl-fbo.c | 5 +- + clutter/cogl/gl/cogl-fbo.h | 6 +- + clutter/cogl/gl/cogl-program.c | 5 +- + clutter/cogl/gl/cogl-program.h | 4 +- + clutter/cogl/gl/cogl-shader-private.h | 4 +- + clutter/cogl/gl/cogl-shader.c | 5 +- + clutter/cogl/gl/cogl-texture-private.h | 3 +- + clutter/cogl/gl/cogl-texture.c | 16 +-- + clutter/cogl/gles/cogl-context.c | 25 +--- + clutter/cogl/gles/cogl-context.h | 13 -- + clutter/cogl/gles/cogl-fbo.c | 5 +- + clutter/cogl/gles/cogl-fbo.h | 6 +- + clutter/cogl/gles/cogl-program.c | 9 +- + clutter/cogl/gles/cogl-program.h | 3 +- + clutter/cogl/gles/cogl-shader-private.h | 4 +- + clutter/cogl/gles/cogl-shader.c | 5 +- + clutter/cogl/gles/cogl-texture-private.h | 3 +- + clutter/cogl/gles/cogl-texture.c | 16 +-- + clutter/pango/cogl-pango-glyph-cache.c | 10 +- + tests/conform/test-backface-culling.c | 2 +- + tests/conform/test-npot-texture.c | 2 +- + tests/conform/test-vertex-buffer-contiguous.c | 6 +- + tests/conform/test-vertex-buffer-interleved.c | 2 +- + tests/conform/test-vertex-buffer-mutability.c | 2 +- + tests/interactive/test-clip.c | 2 +- + tests/interactive/test-cogl-multitexture.c | 8 +- + tests/interactive/test-cogl-offscreen.c | 4 +- + tests/interactive/test-cogl-tex-convert.c | 2 +- + tests/interactive/test-cogl-tex-foreign.c | 2 +- + tests/interactive/test-cogl-tex-getset.c | 2 +- + tests/interactive/test-cogl-tex-polygon.c | 4 +- + tests/interactive/test-cogl-tex-tile.c | 2 +- + tests/interactive/test-cogl-vertex-buffer.c | 2 +- + 43 files changed, 209 insertions(+), 320 deletions(-) + +commit 04ebd6be44d7641abc73a80f61606178f1861e66 +Author: Robert Bragg +Date: Thu Apr 2 11:50:44 2009 +0100 + + [cogl] handle_automatic_blend_enable(): consider layers with invalid textures + + A layer object may be instantiated when setting a combine mode, but before a + texture is associated. (e.g. this is done by the pango renderer) if this is the + case we shouldn't call cogl_texture_get_format() with an invalid cogl handle. + + This patch skips over layers without a texture handle when determining if any + textures have an alpha channel. + + clutter/cogl/common/cogl-material.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 8a1b4f8326ff60164029c85d40482e369eeaafa8 +Author: Robert Bragg +Date: Mon Mar 30 17:07:31 2009 +0100 + + Unifies 90% of the code in {gl,gles}/cogl.c in common/cogl.c + + This code keeps on diverging and we get bugs and fixes in one version but + not the other. This should make things a bit more maintainable. + + clutter/cogl/common/Makefile.am | 1 + + clutter/cogl/common/cogl-internal.h | 95 ++++++ + clutter/cogl/common/cogl.c | 640 ++++++++++++++++++++++++++++++++++++ + clutter/cogl/gl/cogl.c | 608 +--------------------------------- + clutter/cogl/gles/cogl-internal.h | 3 + + clutter/cogl/gles/cogl.c | 584 +------------------------------- + 6 files changed, 749 insertions(+), 1182 deletions(-) + +commit 50c1fc6291650c80d2182162621dc5e2d5976d57 +Author: Robert Bragg +Date: Mon Mar 30 16:41:02 2009 +0100 + + Removes cogl_blend_func prototype from cogl-internal.h + + cogl_blend_func was removed a while ago so this was just a left over from then + + clutter/cogl/gl/cogl-internal.h | 4 ---- + clutter/cogl/gles/cogl-internal.h | 4 ---- + 2 files changed, 8 deletions(-) + +commit 34467e5c6a764450e0bb0d76dc4131665523fb4c +Author: Bastian Winkler +Date: Mon Mar 30 17:38:42 2009 +0200 + + [docs] Fix some inconsistency in Animation + + For some examples of clutter_actor_animate the parameters of @mode and + @duration are swapped. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 077e3192fd77223ea8123f84a75787f1138566f5 +Author: Havoc Pennington +Date: Mon Mar 30 17:32:54 2009 +0100 + + [texture] Queue a relayout when changing :keep-aspect-ratio + + Bug 1528 - queue relayout when setting ClutterTexture:keep-aspect-ratio + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-texture.c | 1 + + 1 file changed, 1 insertion(+) + +commit a362a4a8894e0630af54acc43be05a928306278e +Author: Raymond Liu +Date: Mon Mar 30 16:57:11 2009 +0100 + + [text] Use the base class binding pool + + Bug 1518 - [Patch] Widget derivied from ClutterText will crash on + key_press_event + + In clutter_text_key_press() we are using G_OBJECT_TYPE_NAME to find + out the actor's type name. However, if some widget is derived from + ClutterText, when the key press handler is called, G_OBJECT_TYPE_NAME + will return the name of the derived widget. + + The default implementation should get the binding pool for the base + class. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 02ea81ce02f6fedee77623f1387e0381e0a78d9c +Author: Emmanuele Bassi +Date: Mon Mar 30 16:46:57 2009 +0100 + + [text] Different selection modes with multiple clicks + + ClutterText should offer multiple selection modes depending on the + number of pointer clicks. + + Following the GTK+ conventions: + + - double click selects the current word + - triple click selects the current line + + clutter/clutter-text.c | 230 ++++++++++++++++++++++++++++++++++++++----------- + 1 file changed, 178 insertions(+), 52 deletions(-) + +commit f6d938a0dbf8e67ba20eef180fc2fae9e84b27f9 +Author: Øyvind Kolås +Date: Mon Mar 30 12:10:41 2009 +0100 + + [animation] add varargs support for signal::completed + + Added support for registering a handler for the completed signal + directly amongst the varargs making it easier to attach code + to be executed when animations complete. + + clutter/clutter-animation.c | 72 ++++++++++++++++++++++++++++++++------------- + 1 file changed, 51 insertions(+), 21 deletions(-) + +commit a1a8193179dec84b29fac146e5cf34d43a66f093 +Author: Emmanuele Bassi +Date: Mon Mar 30 07:54:42 2009 +0100 + + [text] Check text length in ::button-press-event + + Bug 1529 - Selection bound out of sync with an empty Text actor + + When the user clicks on a Text actor the cursor position and the + selection bound are set using bytes_to_offset(); if the Text is + empty, this means placing them both to 0. Setting the selection + bound to 0 means that when the user inserts a character by typing + it into the Text, the selection will be [0,1]; this will select + the first character, which will then be overwritten when typing + a new character. + + The Text actor should, instead, check if there are no contents + and set the cursor position and the selection bound to -1. + + The clutter_text_set_selection_bound() method should also validate + the value passed, in case it's bigger than the text lenght, or + smaller than -1. + + clutter/clutter-text.c | 46 ++++++++++++++++++++++++++++++++++------------ + 1 file changed, 34 insertions(+), 12 deletions(-) + +commit 0de0e869a990e2d5516c058d45143bba20e45de5 +Author: Emmanuele Bassi +Date: Fri Mar 27 14:28:08 2009 +0000 + + [docs] Fix typo in the AnimationMode name + + clutter/clutter-alpha.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit cc21a4aa5f66e3fb1253587def2d7368cfd1db07 +Author: Chris Lord +Date: Thu Mar 26 20:28:04 2009 +0000 + + [ClutterTimeline] Fix clutter_timeline_set_delay + + When setting a delay, timeout_add was being used with msecs. timeout_add + takes fps since the fix to bug #1495. Delay now uses g_timeout_add + instead. + + clutter/clutter-timeline.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 231343f1513d31248ada221ddc0020d73930b889 +Author: Damien Lespiau +Date: Wed Mar 25 20:58:22 2009 +0000 + + [gitignore] Ignore two newly introduced tests + + tests/.gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit 68ab2c602426ee0eeaca602e6154a98dc5d7e0bf +Author: Neil Roberts +Date: Wed Mar 25 14:53:58 2009 +0000 + + [doc] Fix two small typos in cogl-vertex-buffer + + The symbol name for cogl_vertex_buffer_draw_elements was wrong so it + ended up with no documentation. The name for the vertex attribute was + incorrect in cogl_vertex_buffer_add. + + clutter/cogl/cogl-vertex-buffer.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 3d81f0c08e0efa9c79af93db58944a53e09c7d70 +Author: Robert Bragg +Date: Mon Mar 23 12:46:20 2009 +0000 + + [build] Fixes a cogl-vertex-buffer.c warning when building for GLES + + GLES 1 doesn't support GLSL so it never needs to use the generic_index + variable for generic attributes which was flagging a warning. + + clutter/cogl/common/cogl-vertex-buffer.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 891ed5356416a2d39e465a86932998379b6009d7 +Author: Robert Bragg +Date: Mon Mar 23 12:29:15 2009 +0000 + + [cogl] Move rect and poly drawing code from cogl-texture.c to cogl-primitives.c + + None of this code directly related to implementing CoglTextures, and the + code was needlessly duplicated between the GL and GLES backends. This moves + the cogl_rectangle* and cogl_polygon* code into common/cogl-primitives.c + makes which makes lot of sense since the two copies keep needlessly + diverging introducing or fixing bugs in one but not the other. For instance + I came accross one such bug regarding the enabling of texture units when + unifying the code. + + clutter/cogl/common/cogl-primitives.c | 1256 ++++++++++++++++++++++++++++- + clutter/cogl/gl/cogl-texture-private.h | 34 + + clutter/cogl/gl/cogl-texture.c | 1261 +----------------------------- + clutter/cogl/gles/cogl-texture-private.h | 34 + + clutter/cogl/gles/cogl-texture.c | 1244 +---------------------------- + 5 files changed, 1331 insertions(+), 2498 deletions(-) + +commit b30bb575a1c63312d114927634d9066f7c1445a9 +Author: Robert Bragg +Date: Mon Mar 23 11:39:40 2009 +0000 + + [cogl_rectangles] A minor doc fix, and missing newline between functions + + The gtk-doc had a copy and paste error, saying the float array should be 8 + elements per rectangle instead of 4. There was also no newline in the gles + code before the new function. + + clutter/cogl/cogl-texture.h | 2 +- + clutter/cogl/gles/cogl-texture.c | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +commit 13e5bd9e8be7e7b88924a97ea02eee4187a29238 +Author: Johan Bilien +Date: Fri Mar 20 19:22:23 2009 +0000 + + Allow using array of vertices even without textures + + It's often nice to be able to draw a batch of vertices, even if these + have no texture coordinates. This add a cogl_rectangles, similar to + cogl_rectangles_with_texture_coords, only without. + + clutter/cogl/cogl-texture.h | 21 +++++++++++++++++++++ + clutter/cogl/gl/cogl-texture.c | 20 ++++++++++++++++++++ + clutter/cogl/gles/cogl-texture.c | 19 +++++++++++++++++++ + 3 files changed, 60 insertions(+) + +commit 5a06f1d1d009e446109b0778e7f9f9a1f8a11194 +Author: Robert Bragg +Date: Thu Mar 19 16:46:07 2009 +0000 + + Removes a hack in gles/cogl.c that was already fixed in gl/cogl.c + + It removes the need to cast a CoglMatrix to a float * for transforming + a vertex manually instead of using cogl_matrix_transform_point. + + clutter/cogl/gles/cogl.c | 43 ++++++++++++------------------------------- + 1 file changed, 12 insertions(+), 31 deletions(-) + +commit d6937b797e59cd02f663155dfea2d31355997c38 +Author: Emmanuele Bassi +Date: Thu Mar 19 11:40:13 2009 +0000 + + [doc] Update the should_pick_paint() documentation + + The should_pick_paint() method of ClutterActor is not clearly + documented. + + clutter/clutter-actor.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 0a48a52ba16fa367046badf8f7bf6beb865ea63b +Author: Neil Roberts +Date: Thu Mar 19 17:54:17 2009 +0000 + + [glx-texture-pixmap] Don't enable the texture target when binding the texture + + There's no need to enable the texture target unless it is going to be + used for rendering. Enabling it directly with glEnable calls confuses + Cogl's state caching. + + This is a replacement for the patch in bug 1483 which was reverted. + + clutter/glx/clutter-glx-texture-pixmap.c | 2 -- + 1 file changed, 2 deletions(-) + +commit c4dcbb6bdba91fbc20b7654fe98fd92a5adbb44c +Author: Neil Roberts +Date: Thu Mar 19 17:48:15 2009 +0000 + + Revert "Use COGL to establish GL state for ClutterGLXTexturePixmap" + + This reverts commit f9d996a4603bef1f52e32e99f9f69a32b7c823ba. + + The change from calling glBindTexture to using the material API with + cogl_material_flush_gl_state does not always work because it doesn't + necessarily leave the active texture unit as GL_TEXTURE0. For example, + if the previously rendered texture was multi-layered then the last + thing cogl_material_flush_gl_state will do is select GL_TEXTURE1 just + to disable it. + + clutter/glx/clutter-glx-texture-pixmap.c | 26 +++++++++++++++++--------- + 1 file changed, 17 insertions(+), 9 deletions(-) + +commit e94e5ad65b34dfad507de6eb63225798434f31ff +Author: Øyvind Kolås +Date: Thu Mar 19 14:42:50 2009 +0000 + + [actor] use an epsilon whens sanity checking sizes + + Clutter was complaining about netural width smaller than minimum widths + (differences around 0.0005) by using an epsilon value of 1e-4 for these + floating point comparisons, these warnings have now been silenced. + + clutter/clutter-actor.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 7d8da0e8303a5bf57002181ae1b76e6c8546f237 +Author: Emmanuele Bassi +Date: Wed Mar 18 17:07:50 2009 +0000 + + [docs] Remove unused arguments + + The documentation for some X11TexturePixmap method does not reflect + the actual API. + + clutter/x11/clutter-x11-texture-pixmap.c | 6 ------ + 1 file changed, 6 deletions(-) + +commit 6114c6c1db2643edf1679de814ce3d6cd4c5e0b9 +Author: Emmanuele Bassi +Date: Wed Mar 18 17:06:56 2009 +0000 + + [docs] Pick up backend-specific API + + The various backend API outside from clutter-x11.h and clutter-win32.h + is documented but not picked up by gtk-doc. + + doc/reference/clutter/Makefile.am | 15 +++++++- + doc/reference/clutter/clutter-docs.xml | 3 ++ + doc/reference/clutter/clutter-sections.txt | 59 ++++++++++++++++++++++++++++++ + 3 files changed, 76 insertions(+), 1 deletion(-) + +commit ccca24ab7653477f5607ccacb46e1941d1fcfb5b +Author: Emmanuele Bassi +Date: Tue Mar 17 14:12:01 2009 +0000 + + Remove usage of the grave accent as quotation mark + + See: + + http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html + + This should make Thomas happy. + + clutter/clutter-actor.c | 18 ++++++------ + clutter/clutter-animation.c | 44 ++++++++++++++-------------- + clutter/clutter-behaviour.c | 2 +- + clutter/clutter-color.c | 2 +- + clutter/clutter-container.c | 54 +++++++++++++++++------------------ + clutter/clutter-model.c | 14 ++++----- + clutter/clutter-score.c | 2 +- + clutter/clutter-script.c | 30 +++++++++---------- + clutter/clutter-shader-types.c | 12 ++++---- + clutter/clutter-text.c | 8 +++--- + clutter/clutter-texture.c | 2 +- + clutter/clutter-timeline.c | 12 ++++---- + clutter/clutter-units.c | 2 +- + clutter/cogl/common/cogl-util.c | 2 +- + clutter/eglnative/clutter-stage-egl.c | 2 +- + clutter/eglx/clutter-backend-egl.c | 2 +- + clutter/fruity/clutter-stage-fruity.c | 2 +- + clutter/glx/clutter-backend-glx.c | 2 +- + clutter/json/json-object.c | 2 +- + clutter/json/json-parser.c | 13 ++------- + clutter/win32/clutter-backend-win32.c | 2 +- + clutter/x11/clutter-backend-x11.c | 6 ++-- + tests/conform/test-timeline.c | 2 +- + tests/interactive/test-score.c | 4 +-- + tests/interactive/test-script.c | 4 +-- + 25 files changed, 118 insertions(+), 127 deletions(-) + +commit 39e2b43b22975d75352fc7af4e4e6f573e99eb9e +Author: Robert Bragg +Date: Tue Mar 17 00:12:27 2009 +0000 + + [cogl] Apply the fix from 2c1c836417 (Flush matrix before clip planes) to GLES + + glClipPlane() is affected by modelview matrix so we need to flush before + calling it. + + clutter/cogl/gles/cogl.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit b5a35a0f0b058784da2e5da083ee16232f06a6e0 +Author: Robert Bragg +Date: Tue Mar 17 00:26:38 2009 +0000 + + [test-cogl-vertex-buffer] Use clutter_color_from_hls instead of hsl_to_rgb + + There is no need for a custom hsl to rgb converter since Clutter implements + this logic; originally it wasn't quite as optimal, but that has now been + fixed. + + tests/interactive/test-cogl-vertex-buffer.c | 64 +---------------------------- + 1 file changed, 2 insertions(+), 62 deletions(-) + +commit bb93a987622532f2900261bbc0f570ba1fd24ecf +Author: Robert Bragg +Date: Tue Mar 17 00:01:56 2009 +0000 + + [clutter-color] Use a different hls->rgb algorithm + use floating point + + Using test-cogl-vertex-buffer as a test case which is CPU bound due to + hls -> rgb conversions this alternative algorithm looked to be ~10% + faster when tested on an X61s Lenovo. + + clutter/clutter-color.c | 312 ++++++++-------------------- + tests/interactive/test-cogl-vertex-buffer.c | 8 + + 2 files changed, 96 insertions(+), 224 deletions(-) + +commit 567a96c96a47b2ca932781ef22b694475d4caae8 +Author: Emmanuele Bassi +Date: Mon Mar 16 18:20:58 2009 +0000 + + [docs] More information on animation queueing + + Queuing an animation on an actor cannot be done from within the + ::completed signal handler, because we guarantee that the Animation + instance is valid and attached to the actor it animates for the + whole duration of the signal emission chain. + + In order to queue animations you have to install an idle handler + on the main loop, and call clutter_actor_animate() inside it. + + The documentation should be more clear about this caveat in the + memory management of ClutterAnimations created by the animate() + family of functions. + + clutter/clutter-animation.c | 43 +++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 43 insertions(+) + +commit 9694107f9002fcd2f6ec6900bccf1d28b16b21a5 +Author: Emmanuele Bassi +Date: Mon Mar 16 17:09:57 2009 +0000 + + Post-release bump to 0.9.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 35191f09ef0fa8fad6f386513dcd691ab6b6746f +Author: Emmanuele Bassi +Date: Mon Mar 16 16:28:45 2009 +0000 + + [release] Release 0.9.2 + + NEWS | 259 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 260 insertions(+), 1 deletion(-) + +commit f061e274166f50af5de1abe07dd114214ac822ba +Author: Emmanuele Bassi +Date: Mon Mar 16 16:14:12 2009 +0000 + + Update release notes + + README | 23 +++++++++++++++++++---- + 1 file changed, 19 insertions(+), 4 deletions(-) + +commit e7c5b15e6026ce125e8cfd0b146a852a6a86707f +Author: Emmanuele Bassi +Date: Mon Mar 16 16:55:48 2009 +0000 + + [docs] Ignore the TimeoutInterval internal API + + The TimeoutInterval API is internal, and thus should not be part + of the API reference. + + doc/reference/clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit e8785fef0728e13ea3638825db246111fc39477d +Author: Emmanuele Bassi +Date: Mon Mar 16 16:54:58 2009 +0000 + + [docs] Fix naming of the interval parameter + + The interval parameter is now expressed in frames per second and not + in milliseconds. + + clutter/clutter-timeout-pool.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit d5ee6fc26439054beada960803b73a6dfdbfd044 +Author: Emmanuele Bassi +Date: Mon Mar 16 16:09:05 2009 +0000 + + Fix release date of 0.9.0 + + NEWS | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ca3bfe2ceaacc7c37d90492fd9429635b51caddd +Author: Robert Bragg +Date: Mon Mar 16 14:58:00 2009 +0000 + + [cogl] Don't endlessly print the same warning regarding layer fallbacks + + There are various constraints for when we can support multi-texturing and + when they can't be met we try and print a clear warning explaining why the + operation isn't supported, but we shouldn't endlessly repeat the warning for + every primitive of every frame. This patch fixes that. + + clutter/cogl/gl/cogl-texture.c | 94 ++++++++++++++++++++++++---------------- + clutter/cogl/gles/cogl-texture.c | 90 ++++++++++++++++++++++---------------- + 2 files changed, 109 insertions(+), 75 deletions(-) + +commit c5bd63648d3dccbb554a1b899ab974fe91ef9249 +Author: Robert Bragg +Date: Mon Mar 16 12:47:45 2009 +0000 + + [tests] Adds an interactive cogl vertex buffer unit test + + The test is a sanity check that dynamic updating of vertex data via the cogl + vertex buffer api works and has reasonable performance. (though it can't be + considered a well designed benchmark since it wastes casual amounts of CPU + time simply choosing pretty colors.) + + The code also aims to demonstrate one way of creating, updating and efficiently + drawing a quad mesh structure via the vertex buffer api which could be applied + to lots of different use cases. + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-cogl-vertex-buffer.c | 428 ++++++++++++++++++++++++++++ + 2 files changed, 430 insertions(+), 1 deletion(-) + +commit 71d65b629bb8f0a36b24753d6205663daa5acb09 +Author: Robert Bragg +Date: Mon Mar 9 10:26:31 2009 +0000 + + [cogl-vertex-buffer] fix cogl_vertex_buffer_draw_elements prototype + + This function was renamed a while ago in the .c file from + cogl_vertex_buffer_draw_range_elements but the corresponding .h and + doc/reference/cogl changes weren't made. + + clutter/cogl/cogl-vertex-buffer.h | 14 +++++++------- + doc/reference/cogl/cogl-sections.txt | 2 +- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 14e6323554d46b5fc25b391fed703efab4266b3b +Author: Robert Bragg +Date: Sat Feb 28 17:39:38 2009 +0000 + + [cogl-vertex-buffer] Allow querying back the number of vertices a buffer represents + + This may be convenient e.g. at draw time if you are simply drawing all vertices + + clutter/cogl/cogl-vertex-buffer.h | 9 +++++++++ + clutter/cogl/common/cogl-vertex-buffer.c | 13 +++++++++++++ + doc/reference/cogl/cogl-sections.txt | 1 + + 3 files changed, 23 insertions(+) + +commit 075ae9c4a74b5e7af248c27ef57d2d0b4948a74a +Author: Robert Bragg +Date: Sat Feb 28 17:36:25 2009 +0000 + + [cogl-vertex-buffer] Add a flush of attribute changes in the *_draw() functions + + For convenience it is now valid to avoid a seperate call to + cogl_vertex_buffer_submit() and assume that the _draw() calls will do this + for you (though of course if you do this you still need to ensure the + attribute pointers remain valid until your draw call.) + + clutter/cogl/cogl-vertex-buffer.h | 38 ++++++++++++++++++++------------ + clutter/cogl/common/cogl-vertex-buffer.c | 25 ++++++++++++++++----- + 2 files changed, 43 insertions(+), 20 deletions(-) + +commit a93a93d007b7c3ccc407482aaf521bd6b5d6607e +Author: Neil Roberts +Date: Mon Mar 9 17:12:27 2009 +0000 + + Count timeline frames using the FPS instead of an integer interval + + Bug 1495 - Timelines run 4% short + + Previously the timelines were timed by calculating the interval + between each frame stored as an integer number of milliseconds so some + precision is lost. For example, requesting 60 frames per second gets + converted to 16 ms per frame which is actually 62.5 frames per + second. This makes the timeline shorter by 4%. + + This patch merges the common code for timing from the timeout pools + and frame sources into an internal clutter-timeout-interval file. This + stores the interval directly as the FPS and counts the number of + frames that have been reached instead of the elapsed time. + + clutter/Makefile.am | 2 + + clutter/clutter-frame-source.c | 81 +++++++----------------- + clutter/clutter-frame-source.h | 4 +- + clutter/clutter-main.c | 12 ++-- + clutter/clutter-main.h | 4 +- + clutter/clutter-timeline.c | 18 +++--- + clutter/clutter-timeout-interval.c | 126 +++++++++++++++++++++++++++++++++++++ + clutter/clutter-timeout-interval.h | 56 +++++++++++++++++ + clutter/clutter-timeout-pool.c | 99 ++++++----------------------- + clutter/clutter-timeout-pool.h | 2 +- + 10 files changed, 244 insertions(+), 160 deletions(-) + +commit 2c1c8364170558a79d9d9af8a149b64dfd83c2b0 +Author: Havoc Pennington +Date: Mon Mar 16 15:09:33 2009 +0000 + + [cogl] Flush matrix before clip planes + + glClipPlane() is affected by modelview matrix so we need to flush + before calling it. + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/gl/cogl.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 9229fb6114e57a2690fa7ea18cbcdc78b7210d85 +Author: Emmanuele Bassi +Date: Mon Mar 16 15:00:55 2009 +0000 + + [docs] Bring down the undocumented symbols to 2% + + The usual pre-release documentation blitzing. Most of the remaining + symbols are either COGL or X11 specific, or dummy interface typedefs. + + clutter/clutter-backend.c | 2 +- + clutter/clutter-behaviour-depth.h | 16 +++++++++ + clutter/clutter-behaviour-opacity.h | 18 +++++++++- + clutter/clutter-behaviour-path.h | 12 ++++++- + clutter/clutter-child-meta.h | 7 ++++ + clutter/clutter-clone.c | 2 +- + clutter/clutter-clone.h | 15 +++++++++ + clutter/clutter-group.h | 19 +++++++++-- + clutter/clutter-media.h | 9 +++++ + clutter/clutter-rectangle.h | 15 +++++++++ + clutter/clutter-score.h | 21 ++++++++++++ + clutter/clutter-script.h | 26 +++++++++++++++ + clutter/clutter-shader.h | 22 +++++++++++++ + clutter/clutter-stage.h | 20 ++++++++++- + clutter/clutter-texture.h | 27 +++++++++++++++ + clutter/clutter-timeline.h | 20 +++++++++++ + clutter/clutter-units.h | 53 +++++++++++++++++++++++++++++- + doc/reference/clutter/clutter-sections.txt | 6 ++-- + 18 files changed, 299 insertions(+), 11 deletions(-) + +commit 216373047bb2b1e6e807e73694f246159a3271fe +Author: Emmanuele Bassi +Date: Mon Mar 16 14:16:18 2009 +0000 + + [animation] Enhance consistency of the Animation API + + The Animation API should follow this pattern: + + - functions with an Interval as part of the arguments should have + "interval" inside their name, e.g.: + + clutter_animation_bind_interval + clutter_animation_update_interval + + - functions dealing with property names should have "property" + inside their name, e.g.: + + clutter_animation_has_property + clutter_animation_unbind_property + + - unless - + + - functions dealing with a property and its value should not + have any modifier, e.g.: + + clutter_animation_bind + + The change from update_property() to update_interval() frees up + clutter_animation_update(), to be added at a later date. + + clutter/clutter-animation.c | 27 +++++++++++++++++++++++++-- + clutter/clutter-animation.h | 4 ++-- + doc/reference/clutter/clutter-sections.txt | 4 ++-- + 3 files changed, 29 insertions(+), 6 deletions(-) + +commit bb795dec56790dd3c6f018bc4071fde915af6466 +Author: Emmanuele Bassi +Date: Mon Mar 16 14:02:09 2009 +0000 + + [docs] Update after Animation API changes + + Rename the bind/unbind_property functions, and add the bind_interval, + completed method. + + Also, add clutter_actor_get_animation(). + + doc/reference/clutter/clutter-sections.txt | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 0942fac573aa3a311c94324935004082c2b04a92 +Author: Emmanuele Bassi +Date: Mon Mar 16 14:01:43 2009 +0000 + + [docs] Add description of queue_redraw + + clutter/clutter-actor.h | 1 + + 1 file changed, 1 insertion(+) + +commit ff620402523a0dd33ae01d13f7490dc8e63caf3c +Author: Emmanuele Bassi +Date: Mon Mar 16 12:17:03 2009 +0000 + + [tests] Remove unused variables + + The size of the pixmap is passed by the ::size-changed signal, so + we can remove the unused w, h variables and avoid a compiler warning. + + tests/interactive/test-texture-async.c | 1 - + 1 file changed, 1 deletion(-) + +commit 961aac3fb36f73d4a48720d93b8928a3e24b5b84 +Author: Havoc Pennington +Date: Tue Feb 17 12:22:02 2009 -0500 + + [actor] Add ::queue-redraw signal + + Bug 1454 - move queue_redraw virtualization to ClutterActor + + The ClutterActor::queue-redraw signal allows parent containers to + track whether their children need a redraw. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 124 ++++++++++++++++++++++++++++++++++++++++++------ + clutter/clutter-actor.h | 3 ++ + clutter/clutter-stage.c | 63 ++++-------------------- + clutter/clutter-stage.h | 2 - + 4 files changed, 121 insertions(+), 71 deletions(-) + +commit 570610512364223937543c010a6133c0d2b3dab1 +Author: Havoc Pennington +Date: Mon Mar 16 11:58:58 2009 +0000 + + [actor] Add :clip-to-allocation property + + A common use of setting clip is to keep an actor inside its allocation; + right now to do this you have to set up a callback on notify::allocation. + + There's no overhead added by sticking another bit in ClutterActor + clip-to-allocation that will clip painting to the allocation if set. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 44 insertions(+) + +commit 0cb0a841cc56c7912b59973dddc9e157fba7e0f5 +Author: Colin Walters +Date: Thu Mar 5 23:10:00 2009 -0500 + + [animation] Enhance the bind API + + Bug 1419 - Add clutter_animation_bind, rename clutter_animation_bind_interval + + This is a different approach from the clutter_actor_animatev + vector variant. The single call should be even easier on + automatic bindings, since calls can be chained like: + + new Clutter.Animation({object: myactor}).bind("x", 42).bind("y", 43); + + Note clutter_animation_bind_property which took a ClutterInterval + is renamed to clutter_animation_bind_interval for clarity, and to + discourage use since there are friendlier APIs about. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 129 +++++++++++++++++++++++++++++++++----------- + clutter/clutter-animation.h | 7 ++- + 2 files changed, 104 insertions(+), 32 deletions(-) + +commit 156589fe3f4eeb215d0bf567aff71da94e5ee721 +Author: Emmanuele Bassi +Date: Mon Mar 16 11:31:27 2009 +0000 + + [animation] Add Animation getter + + If we are animating an actor using the clutter_actor_animate*() family + of functions we might want to expose a getter for the Animation instance + we are using, to avoid excessing bookkeeping. + + clutter/clutter-animation.c | 19 +++++++++++++++++++ + clutter/clutter-animation.h | 2 ++ + 2 files changed, 21 insertions(+) + +commit 44d0733665eca0b6517332a176743783ec2ccb79 +Author: Emmanuele Bassi +Date: Mon Mar 16 11:30:10 2009 +0000 + + [animation] Add an emitter for ::completed + + The ::completed signal requires an emitter in case we want to stop + the animation and safely dispose it inside application code without + breaking invariants. + + clutter/clutter-animation.c | 18 ++++++++++++++++++ + clutter/clutter-animation.h | 1 + + 2 files changed, 19 insertions(+) + +commit a5c88e62f2207f18897732c76654f4699d2a897c +Author: Emmanuele Bassi +Date: Mon Mar 16 11:28:29 2009 +0000 + + [docs] Clarify Animation memory management + + The memory management of the ClutterAnimation instances should be + heavily documented, given its "automagical" nature, so that other + people might understand it and avoid breaking it in the future. + + clutter/clutter-animation.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit 0674fded7f25fdbf019debe7d91d28b441d3acaf +Merge: 7f2ef2f1e 56568db3b +Author: Øyvind Kolås +Date: Mon Mar 16 00:40:27 2009 +0000 + + Merge branch 'async-texture-thread-pool' + +commit 56568db3b0b9eebf7f000407e1334a5b4d85e889 +Author: Øyvind Kolås +Date: Thu Mar 12 11:48:44 2009 +0000 + + [clutter-texture] fixed gtk-doc formatting, and init threads in test. + + Fixed markup to actually work with gtk-doc, also do a g_thread_init + in the test. + + clutter/clutter-texture.c | 14 ++++++++------ + tests/interactive/test-texture-async.c | 4 +++- + 2 files changed, 11 insertions(+), 7 deletions(-) + +commit 7f2ef2f1e014201bb5d3614bc857e6122fbfe08f +Author: Neil Roberts +Date: Fri Mar 13 15:43:19 2009 +0000 + + [cogl-path] Minor fix to gtk-doc + + Fix the parameters in cogl_path_curve_to and cogl_path_rel_curve_to to + match the actual names otherwise they won't appear correctly in the + docs. + + clutter/cogl/cogl-path.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 89060a9bb37503ada773c9026a152690da48531e +Author: Emmanuele Bassi +Date: Fri Mar 13 15:28:20 2009 +0000 + + [cogl] Avoid shadowing math.h symbols + + As usual, y1 and y2 end up shadowing symbols exported by math.h. + + clutter/cogl/cogl-path.h | 108 +++++++++++++++++----------------- + clutter/cogl/common/cogl-primitives.c | 30 +++++----- + 2 files changed, 69 insertions(+), 69 deletions(-) + +commit e1742af36806b838111b5f6f85422940c64a87b8 +Author: Owen W. Taylor +Date: Thu Mar 12 15:33:36 2009 -0400 + + Avoid drawing twice if relayout queues a draw + + It's reasonably normal for a relayout of the stage to cause the stage + to be queued for drawing; for this reason we should do the relayout before + we clear stage->update_idle. (But want to clear update_idle() before actually + doing the redraw to handle the corner case where the draw queues another + redraw.) + + clutter/clutter-stage.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 72f96468047e76fe8cb40b77cbfd0225c1d05b80 +Author: Emmanuele Bassi +Date: Fri Mar 13 14:14:00 2009 +0000 + + Do not cause more size requisitions than necessary + + Bug 1499 - clutter_actor_notify_if_geometry_changed causes sync + layout cycles + + Whenever clutter_actor_set_{width,height,x,y,size...} is used, extra + synchronous size requests are triggered in + clutter_actor_notify_if_geometry_changed. + + If the get_preferred_width() and get_preferred_height() implementations + are particularly costly (e.g. ClutterText) this will result in a performance + impact. + + To avoid excessive allocation or requisition cycles we use the + cached values and flags. If we don't have an allocation, we assume + that we need to notify all the properties; if we don't have a size + requisition we notify only width and height; finally, if we do have + a valid allocation we notify only on the changed values. + + clutter/clutter-actor.c | 56 +++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 43 insertions(+), 13 deletions(-) + +commit 786161c75f0bf5e3612f2f3df42eb3704ac7c27a +Author: Emmanuele Bassi +Date: Thu Mar 12 21:11:50 2009 +0000 + + [deprecated] Add Effect deprecation + + The ClutterEffect API has been deprecated during 0.9, so it should be + added to the deprecation macros. + + clutter/clutter-deprecated.h | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit ed2fe41b32ea6c9d645f89f385e088ca9857aa6e +Author: Emmanuele Bassi +Date: Thu Mar 12 16:20:42 2009 +0000 + + Add more deprecation notices + + Most of the deprecated API does not have an entry inside + clutter-deprecated.h, thus making porting a tad more difficult. + + clutter/clutter-deprecated.h | 80 +++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter.h | 3 +- + 2 files changed, 81 insertions(+), 2 deletions(-) + +commit cde05288b7e59061eea622c9028a3968334f4483 +Author: Neil Roberts +Date: Fri Mar 13 12:20:26 2009 +0000 + + Change cogl_path_rectangle and cogl_path_round_rectangle to take x1,y1,x2,y2 + + This matches the changes to cogl_rectangle to improve consistency. + + README | 5 +++-- + clutter/cogl/cogl-path.h | 34 ++++++++++++++++---------------- + clutter/cogl/common/cogl-primitives.c | 30 ++++++++++++++-------------- + clutter/pango/cogl-pango-render.c | 8 ++++---- + tests/interactive/test-clip.c | 10 +++++----- + tests/interactive/test-cogl-primitives.c | 4 ++-- + 6 files changed, 46 insertions(+), 45 deletions(-) + +commit 5d4c09369e2efd729d44399557c2dce45bb51b62 +Author: Neil Roberts +Date: Fri Mar 13 12:02:33 2009 +0000 + + [README] Small typo fix + + README | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2edccc760dae07a66badfe081f2e64865dfe5c3c +Merge: c418b23ba ca2844013 +Author: Robert Bragg +Date: Thu Mar 12 18:59:20 2009 +0000 + + Merge branch 'cogl-client-matrix-stacks' + + * cogl-client-matrix-stacks: + Maintain the Cogl assumption that the modelview matrix is normally current + Finish GLES{1,2} support for client side matrix stacks + Explicitly make the modelview-matrix current in cogl_{rotate,transform,etc} + Avoid casting CoglMatrix to a GLfloat * when calling glGetFloatv + Removes need for casting const float * in _cogl_set_clip_planes + Virtualize GL matrix operations and use a client-side matrix when GL is indirect + +commit ca2844013e7c2d0bea48b4f2f2539306aace235f +Author: Robert Bragg +Date: Thu Mar 12 14:16:48 2009 +0000 + + Maintain the Cogl assumption that the modelview matrix is normally current + + _cogl_add_path_to_stencil_buffer and _cogl_add_stencil_clip were leaving + the projection matrix current when calling cogl_rectangle which was + upsetting _cogl_current_matrix_state_flush. + + clutter/cogl/gl/cogl-primitives.c | 14 ++++++++++++-- + clutter/cogl/gl/cogl.c | 16 ++++++++++++++-- + clutter/cogl/gles/cogl-primitives.c | 14 ++++++++++++-- + clutter/cogl/gles/cogl.c | 16 ++++++++++++++-- + 4 files changed, 52 insertions(+), 8 deletions(-) + +commit 0580dbe015768d63a856b91718652717b4c6b2f9 +Author: Robert Bragg +Date: Thu Mar 12 13:34:36 2009 +0000 + + Finish GLES{1,2} support for client side matrix stacks + + Adds glFrustum wrappers (GLES only accepts floats not doubles, and GLES2 + needs to use our internal cogl_wrap_glFrustumf) + + Adds GL_TEXTURE_MATRIX getter code in cogl_wrap_glGetFloatv + + Adds a GL_TEXTURE_MATRIX define for GLES2 + + clutter/cogl/common/cogl-current-matrix.c | 13 +++++++++++++ + clutter/cogl/gles/cogl-gles2-wrapper.c | 10 ++++++++++ + clutter/cogl/gles/cogl-gles2-wrapper.h | 1 + + 3 files changed, 24 insertions(+) + +commit 3a9b18ef51005d9bea7d35347569c35c6573bf64 +Author: Robert Bragg +Date: Thu Mar 12 13:32:10 2009 +0000 + + Use Cogl enum when making modelview-matrix current in cogl_{rotate,transform,etc} + + My previous patch incorrectly used the GL enum with the _cogl_set_current_matrix + API. + + clutter/cogl/common/cogl-current-matrix.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 2f34d14cb46d8ccaff94b1bbf03c9bcf72c5f970 +Author: Robert Bragg +Date: Fri Mar 6 03:43:24 2009 +0000 + + Explicitly make the modelview-matrix current in cogl_{rotate,transform,etc} + + Its not intended that users should use these with any other matrix mode, and + internally we now have the _cogl_current_matrix API if we need to play with + other modes. + + clutter/cogl/common/cogl-current-matrix.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 0d88ecb45928d9decb3ab7fc52493a24cd81334c +Author: Robert Bragg +Date: Fri Mar 6 03:29:51 2009 +0000 + + Avoid casting CoglMatrix to a GLfloat * when calling glGetFloatv + + If we later add internal flags to CoglMatrix then this code wouldn't + initialize those flags. The ways it's now done adds a redundant copy, but + if that turns out to be something worth optimizing we can look again at + using a cast but adding another way for initializing internal flags. + + clutter/cogl/common/cogl-current-matrix.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit 61b867442b0ed067dcb17cf52816e2f406509b78 +Author: Robert Bragg +Date: Fri Mar 6 03:29:35 2009 +0000 + + 80 char fix + + clutter/cogl/common/cogl-current-matrix.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 20a2f76e1fb27b18c5157d50f12cf9833163c4dc +Author: Robert Bragg +Date: Fri Mar 6 02:39:24 2009 +0000 + + Removes need for casting (const float *) to (GLfloat *) in _cogl_set_clip_planes + + This removes cogl.c:apply_matrix(), and makes cogl.c:project_vertex() use + cogl_matrix_transform_point instead. + + clutter/cogl/gl/cogl.c | 43 ++++++++++++------------------------------- + 1 file changed, 12 insertions(+), 31 deletions(-) + +commit 08932584b557aa041f8a0ab7417eecaf2e83865c +Author: Havoc Pennington +Date: Tue Feb 24 13:51:25 2009 -0500 + + Virtualize GL matrix operations and use a client-side matrix when GL is indirect + + This is useful because sometimes we need to get the current matrix, which + is too expensive when indirect rendering. + + In addition, this virtualization makes it easier to clean up the API in + the future. + + clutter/cogl/cogl-matrix.h | 21 ++ + clutter/cogl/cogl.h.in | 18 ++ + clutter/cogl/common/Makefile.am | 4 + + clutter/cogl/common/cogl-current-matrix.c | 452 ++++++++++++++++++++++++++++++ + clutter/cogl/common/cogl-current-matrix.h | 91 ++++++ + clutter/cogl/common/cogl-material.c | 6 +- + clutter/cogl/common/cogl-matrix-stack.c | 327 +++++++++++++++++++++ + clutter/cogl/common/cogl-matrix-stack.h | 67 +++++ + clutter/cogl/common/cogl-matrix.c | 42 +++ + clutter/cogl/common/cogl-util.c | 23 ++ + clutter/cogl/common/cogl-vertex-buffer.c | 4 + + clutter/cogl/gl/cogl-context.c | 37 +++ + clutter/cogl/gl/cogl-context.h | 8 + + clutter/cogl/gl/cogl-fbo.c | 42 +-- + clutter/cogl/gl/cogl-primitives.c | 20 +- + clutter/cogl/gl/cogl-texture.c | 5 +- + clutter/cogl/gl/cogl.c | 233 +++------------ + clutter/cogl/gles/cogl-context.c | 37 +++ + clutter/cogl/gles/cogl-context.h | 8 + + clutter/cogl/gles/cogl-fbo.c | 36 ++- + clutter/cogl/gles/cogl-primitives.c | 20 +- + clutter/cogl/gles/cogl-texture.c | 33 ++- + clutter/cogl/gles/cogl.c | 235 +++------------- + clutter/glx/clutter-stage-glx.c | 3 + + 24 files changed, 1318 insertions(+), 454 deletions(-) + +commit 5895048f65c7ec8028575f60b7b4a7d58a87077e +Author: Øyvind Kolås +Date: Thu Mar 12 11:48:44 2009 +0000 + + [clutter-texture] updated documentation. + + Rewrote documentation, with the smallest amount of documentation for + load-data-async which is considered a special case of load-async. + + clutter/clutter-texture.c | 50 ++++++++++++++++++++++++----------------------- + 1 file changed, 26 insertions(+), 24 deletions(-) + +commit 25d54a650de130c463d562f07de8b5083e2e8495 +Merge: c418b23ba 93d8f62f6 +Author: Øyvind Kolås +Date: Thu Mar 12 11:18:11 2009 +0000 + + Merge commit 'origin/async-texture-thread-pool' into async-size + +commit 93d8f62f6bf9ade7e3049d8c30b5a1e38bf17561 +Author: Øyvind Kolås +Date: Thu Mar 12 10:38:39 2009 +0000 + + [clutter-texture] remove load-size-async property + + Only have load-data-async and load-async properties, both are construct + only and the latter adds the former load-size-async behavior on top of + load-data-async. + + clutter/clutter-texture.c | 51 ++++++++-------------------------- + tests/interactive/test-texture-async.c | 23 ++++----------- + 2 files changed, 16 insertions(+), 58 deletions(-) + +commit d3b68298ace856938efd7fe8293194582fc7f50c +Author: Øyvind Kolås +Date: Thu Mar 12 10:14:40 2009 +0000 + + [clutter-texture] add option to not block on size for loaded images + + Added a construct time property to indicate that we do not want + to block on loading images. + + clutter/clutter-texture.c | 86 +++++++++++++++++------------ + tests/interactive/test-texture-async.c | 99 ++++++++++++++++++++++++---------- + 2 files changed, 122 insertions(+), 63 deletions(-) + +commit 5d3d9713899919d4cc7e42c5b08a9835b15e5c9c +Author: Øyvind Kolås +Date: Wed Mar 11 18:26:30 2009 +0000 + + [tests] Added test-texture-async + + clutter/clutter-texture.c | 74 +++++++++++++++++++++++++++++---- + tests/interactive/Makefile.am | 1 + + tests/interactive/test-texture-async.c | 76 ++++++++++++++++++++++++++++++++++ + 3 files changed, 144 insertions(+), 7 deletions(-) + +commit c418b23baf635b9d94cdc50f62dc4380e0f5e41c +Author: Emmanuele Bassi +Date: Thu Mar 12 09:29:39 2009 +0000 + + [docs] Add a bindings coding practices + + When writing language bindings for Clutter some rules should be + observed to guarantee the same levels of quality across different + bindings. + + HACKING | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +commit d036d088aad5aa9ac159d4346a7d923b9c823080 +Author: Emmanuele Bassi +Date: Thu Mar 12 09:27:39 2009 +0000 + + [docs] Reword some of the coding practices + + Update with the new fixed point and units rules. Also, fix the + grammar and clarify what to do with non-static private functions. + + HACKING | 35 +++++++++++++++++++++++------------ + 1 file changed, 23 insertions(+), 12 deletions(-) + +commit 77579bbc5fc693c4c8d4d076ace4362c57b2762d +Author: Emmanuele Bassi +Date: Wed Mar 11 22:12:36 2009 +0000 + + [tests] Animate the color during easing + + The easing modes test should also tweak the color to show the + progress of the animation. + + tests/interactive/test-easing.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 2c95b378a598c81ea29ffe129fedb9fc54281f9c +Author: Geoff Gustafson +Date: Tue Mar 10 14:25:37 2009 -0700 + + [animation] Broken fixed:: properties + + This commit yesterday: + + 89e3e3a4cc06c10c2573f3d115c5b03ee4890524 + [animation] Add vector variants for ::animate() + + broke the "fixed::" attribute on properties in clutter_actor_animate(), + because the fixed:: part is still on the string when it checks to see if + it's a valid property the class knows about. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 168499742ab329f4bff1d6e13d97cf6b972a3f34 +Author: Damien Lespiau +Date: Wed Mar 11 18:39:10 2009 +0000 + + Update shave + + This update fixes a few issues: + - the use of shave with mingw32 bash on windows, + - fix the unmangling of libtool names + - fix build on solaris + - add an --enable/disable-shave configure option (while still + defaulting to enabled) + + build/autotools/shave-libtool.in | 5 +-- + build/autotools/shave.in | 28 +++++++------ + build/autotools/shave.m4 | 85 ++++++++++++++++++++++++++++------------ + configure.ac | 2 +- + 4 files changed, 81 insertions(+), 39 deletions(-) + +commit d88bc30b87b640fb4c11ebbb68d146810c379fde +Author: Owen W. Taylor +Date: Fri Feb 27 11:56:39 2009 -0500 + + Allow NULL for clutter_text_set_text() + + As a convenience, if NULL is passed for the text argument of + clutter_text_set_text() (and for consistency, + clutter_text_set_markup()), treat that the same as "". + + clutter/clutter-text.c | 14 +++++--------- + 1 file changed, 5 insertions(+), 9 deletions(-) + +commit 0d874312d32f7c887286ddc28dcb8bbad6c4d33d +Author: Gordon Williams +Date: Wed Mar 11 18:16:21 2009 +0000 + + [group] Output the group name when debugging paint + + Bug 1480 - Clutter groups don't output their name when + CLUTTER_DEBUG=paint + + This is a really useful thing to do debugging-wise - as you can see + istantly when (and if) clutter objects are being drawn - as often + there's quite a hierarchy of objects in groups. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-group.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 02b2b664d8e00679dda08c1a83f6b8ebd5147086 +Author: Owen W. Taylor +Date: Thu Feb 26 14:42:19 2009 -0500 + + Add (out) annotations for ClutterActor + + Add missing (out) annotations to the doc comments for ClutterActor methods + with multiple return values. + + Fix the definition of clutter_actor_get_allocation_vertices() to be + consistent with the declaration and have verts[4] rather than verts[].x + + http://bugzilla.openedhand.com/show_bug.cgi?id=1481 + + clutter/clutter-actor.c | 92 ++++++++++++++++++++++++------------------------- + 1 file changed, 46 insertions(+), 46 deletions(-) + +commit 75e5b805ab6ed4ab82e75b4306045065e0620b9f +Author: Raymond Liu +Date: Mon Mar 9 14:10:45 2009 +0800 + + [text] Insertion of multi-byte characters broken + + Bug 1501 - clutter_text_insert_text not working right with non-onebyte + character + + In clutter_text_insert_text(), the position is expressed in characters, not + in bytes. + + Actually, it turns out to be working on bytes, so when there are already + multi-byte character in the text buffer, insert text at the position after + the multi-byte character will not work right. + + Also, the position is not updated after the insert work is done. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit 039e282a40c4f1a0f0d58fd0d46d713ffb8ea36b +Author: Raymond Liu +Date: Wed Mar 11 14:35:26 2009 +0800 + + [text] Crash when multi-byte utf8 text exceeds max_length + + Bug 1500 - [Patch] clutter_text crash with non one-byte utf8 text exceed + max_length + + In clutter_text_set_text_internal(), when text length in character is greater + than max_length, and there are multi-byte character in it, then the new text + string buffer is not malloc()'ed with right length. This will cause the app to + crash with segmention fault. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit a83a5d55935a7dfd54de52368b4a1cd6768a257a +Author: Emmanuele Bassi +Date: Wed Mar 11 14:01:55 2009 +0000 + + [docs] Document the commit message format + + Clutter uses the standard git format for commit messages: + + short description + + long description... + + And everyone asking for their patches or trees to be merged upstream + should conform to the same commit messages format, just like they + should conform to the coding style. + + HACKING | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit 7a5cea44dd547ea15a51dd2ee49bc15d41e84546 +Author: Emmanuele Bassi +Date: Wed Mar 11 13:55:01 2009 +0000 + + [docs] Calling g_object_ref() will not dispose an object + + The right way to dispose a PangoContext is to call g_object_unref(), + not g_object_ref(). + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e430903acd4b7f7da8cbb5e0f6f95e1eff0b9bba +Author: Emmanuele Bassi +Date: Wed Mar 11 13:53:27 2009 +0000 + + [color] Fixed HLS to RGB conversion + + The fixed-point values are converted to integers, which obviously + messes up the conversion. Instead, they should be converted to + floating point values before normalizing to bytes for the assignment + to ClutterColor components. + + clutter/clutter-color.c | 30 +++++++++++++++--------------- + 1 file changed, 15 insertions(+), 15 deletions(-) + +commit 5e9894fbace4379b8c2c1b30c826858009187689 +Author: Neil Roberts +Date: Tue Mar 10 18:28:56 2009 +0000 + + Remove use of $(builddir) + + $(builddir) isn't always defined in earlier versions of Automake + (although I can't track down exactly which version it appeared + in). According to the autoconf docs it is "rigorously equal to `.'" so + we might as well not use it. + + clutter/Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit a41361269fb32bd386285d553154c48a84295eb5 +Author: Emmanuele Bassi +Date: Tue Mar 10 18:05:08 2009 +0000 + + [cogl] Initialize all members of CoglContext + + Some members of CoglContext still escape initialization. + + clutter/cogl/gl/cogl-context.c | 1 + + clutter/cogl/gles/cogl-context.c | 1 + + 2 files changed, 2 insertions(+) + +commit d3245c66244970d04922572c47d68efc9ad19122 +Author: Emmanuele Bassi +Date: Tue Mar 10 17:53:51 2009 +0000 + + [cogl] Initialize boolean flag in CoglContext + + The private CoglContext is created using g_malloc() and not + zeroed; this means we have to initialize the values we are + going to check, to avoid hitting garbage. + + Thanks to Tommi Komulainen. + + clutter/cogl/gl/cogl-context.c | 2 ++ + clutter/cogl/gles/cogl-context.c | 2 ++ + 2 files changed, 4 insertions(+) + +commit 57c3e84289fd3a705a01c74c6924ed0b100da4de +Author: Neil Roberts +Date: Tue Mar 10 14:40:33 2009 +0000 + + Fix out of tree builds + + Commit a383929 added the $(srcdir) prefix to all of the source files + but some files are generated by the configure script and other make + rules so they actually live in $(builddir). Out-of-tree builds + therefore broke. + + clutter/Makefile.am | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit e744066e7d82813d9d70d032068c7e6d51fc9f14 +Author: Øyvind Kolås +Date: Tue Mar 10 13:00:57 2009 +0000 + + Change the default size of thread pool from 3 to 1 + + Concurrently decoding three image files can stall animations even on a + dual core system, reducing to 1 concurrent image decoding thread. + + clutter/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 89e3e3a4cc06c10c2573f3d115c5b03ee4890524 +Author: Emmanuele Bassi +Date: Mon Mar 9 21:11:40 2009 +0000 + + [animation] Add vector variants for ::animate() + + Bug 1438 - Implicit Animation API could use animatev variants + + The clutter_actor_animate* family of functions use va_lists to + handle the property/value pairs for the final state of the + animation. + + Language bindings have problems with variadic arguments functions, + and usually prefer vector-based API which allow a greater level + of control and conversion from native data types. + + For each variadic arguments function in the clutter_actor_animate* + family there should be a vector-based version that takes: + + - the number of property/value pairs + - a constant array of constant strings + - an array of GValues + + Most of the internal implementation can be refactored from the + current one, thus both the var_args and the vector entry points + share a common implementation of the code; then, both versions + of the API are just loops over a list of arguments. + + Based on a patch by: Robert Carr + + clutter/clutter-animation.c | 418 ++++++++++++++++++++++++----- + clutter/clutter-animation.h | 18 ++ + doc/reference/clutter/clutter-sections.txt | 3 + + 3 files changed, 374 insertions(+), 65 deletions(-) + +commit c46106f6dd550b684cd53676e6173c8a8d03255e +Author: Emmanuele Bassi +Date: Mon Mar 9 18:28:15 2009 +0000 + + [docs] Update API reference + + The API reference was still listing some symbols that have been + removed. + + clutter/clutter-types.h | 2 -- + doc/reference/clutter/clutter-sections.txt | 6 ++---- + 2 files changed, 2 insertions(+), 6 deletions(-) + +commit f1b237b2ec7c9aafcd55c481602870c589ee3c8e +Author: Emmanuele Bassi +Date: Mon Mar 9 17:56:48 2009 +0000 + + [docs] Remove ClutterFixed from the documentation + + Now that ClutterFixed has finally gone the way of the Dodo, we + can safely remove it from the API reference as well. + + clutter/clutter-behaviour-ellipse.c | 29 ++++++------ + clutter/clutter-fixed.c | 37 +-------------- + doc/reference/clutter/clutter-docs.xml | 1 - + doc/reference/clutter/clutter-sections.txt | 74 +++++------------------------- + 4 files changed, 29 insertions(+), 112 deletions(-) + +commit bb83bf282d7b4f6b05ae71b3b1cf8febb228914b +Author: Emmanuele Bassi +Date: Mon Mar 9 17:47:21 2009 +0000 + + [cogl] Fix hardcoded paths in the pc file + + The commit 24ce193836 fixed the Clutter pkg-config file. Since + COGL now ships its own, we need to fix that as well. + + clutter/cogl/cogl.pc.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 9b83a6f291663577426a26d5adae8712566dba2d +Author: Emmanuele Bassi +Date: Mon Mar 9 17:36:22 2009 +0000 + + [fixed] Remove ClutterFixed API + + Since the switch from fixed point to floating point, and the introduction + of CoglFixed, ClutterFixed has been typedef'd into a float. This makes + ClutterFixed the worst fixed point API ever. + + Now that Clutter has been migrated to CoglFixed and gfloat whenever needed, + ClutterFixed can be safely removed. + + The only thing that Clutter should still provide is ClutterParamSpecFixed, + for installing fixed point properties into GObject classes. + + The ClutterFixed symbols have been entirely removed from the API. + + clutter/clutter-fixed.c | 174 +++---------------------------- + clutter/clutter-fixed.h | 269 ++---------------------------------------------- + 2 files changed, 28 insertions(+), 415 deletions(-) + +commit d1f3190f5b9b93b6da32c0afa8c2544b5c1c8415 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:35:08 2009 +0000 + + [units] Add more conversion functions + + A GValue containing a ClutterUnit should be transformable into a + GValue holding an integer, a floating point value or a fixed point + value. + + This means adding more transformation functions when registering + the ClutterUnit GType. + + clutter/clutter-units.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-units.h | 23 +++++++++------- + 2 files changed, 85 insertions(+), 11 deletions(-) + +commit 6bee140e7458e92e3cf3b884cc06f2dc4c4a99a5 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:34:23 2009 +0000 + + [tests] Use floats, not ClutterFixed + + The COGL API expects floats, not ClutterFixed, so we need + to use the right type when calling it. + + tests/interactive/test-clip.c | 58 ++++++++++++++-------------- + tests/interactive/test-cogl-multitexture.c | 27 ++++++------- + tests/interactive/test-cogl-offscreen.c | 19 +++------- + tests/interactive/test-cogl-primitives.c | 61 +++++++++--------------------- + tests/interactive/test-cogl-tex-convert.c | 23 +++-------- + tests/interactive/test-cogl-tex-foreign.c | 11 +----- + tests/interactive/test-cogl-tex-getset.c | 11 +----- + tests/interactive/test-cogl-tex-polygon.c | 57 +++++++++++++--------------- + tests/interactive/test-cogl-tex-tile.c | 27 +++++-------- + tests/interactive/test-text-field.c | 6 +-- + 10 files changed, 112 insertions(+), 188 deletions(-) + +commit f82c9e7dba8d060506c36af185de6be387eddeaa +Author: Emmanuele Bassi +Date: Mon Mar 9 17:32:15 2009 +0000 + + [text] Convert units to the right type + + The COGL API expects a floating point value, so Units should be + converted to floats, not to ClutterFixed. + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 97d0a4845ab971c032d55d4268c92bf311e51c47 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:31:44 2009 +0000 + + [texture] Fix ClutterFixed usage + + Do not use ClutterFixed and its macros inside the Texture. + + clutter/clutter-texture.c | 18 ++++++++---------- + 1 file changed, 8 insertions(+), 10 deletions(-) + +commit 52811b240feba30ad1640294655a9f3086fe07d6 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:24:44 2009 +0000 + + [stage] Coalesce fog and perspective API + + The fog and perspective API is currently split in two parts: + + - the floating point version, using values + + - the fixed point version, using structures + + The relative properties are using the structure types, since they + are meant to set multiple values at the same time. Instead of + using bare values, the whole API should be coalesced into two + simple calls using structures to match the GObject properties. + + Thus: + + clutter_stage_set_fog (ClutterStage*, const ClutterFog*) + clutter_stage_get_fog (ClutterStage*, ClutterFog*) + + clutter_stage_set_perspective (ClutterStage*, const ClutterPerspective*) + clutter_stage_get_perspective (ClutterStage*, ClutterPerspective*) + + Which supercedes the fixed point and floating point variants. + + More importantly, both ClutterFog and ClutterPerspective should + using floating point values, since that's what get passed to + COGL anyway. + + ClutterFog should also drop the "density" member, since ClutterStage + only allows linear fog; non-linear fog distribution can be achieved + using a signal handler and calling cogl_set_fog() directly; this keeps + the API compact yet extensible. + + Finally, there is no ClutterStage:fog so it should be added. + + clutter/clutter-main.c | 2 +- + clutter/clutter-stage.c | 355 ++++++++++++------------------- + clutter/clutter-stage.h | 43 +--- + clutter/clutter-texture.c | 45 ++-- + tests/interactive/test-depth.c | 3 +- + tests/interactive/test-texture-quality.c | 3 +- + 6 files changed, 172 insertions(+), 279 deletions(-) + +commit 628e54fa9ff1af99ca505d135bcc6f87bcd8ff11 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:08:41 2009 +0000 + + [interval] Update fixed-point handling + + Do not use ClutterFixed when dealing with fixed point values. Use + CoglFixed instead. + + clutter/clutter-interval.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit fc40d75956e130a39c50cdaccc7af739a4591ac9 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:07:47 2009 +0000 + + [tests] Test CoglFixed, not ClutterFixed + + We really want to test the CoglFixed implementation, not the + to-be-deprecated ClutterFixed one. + + tests/conform/test-clutter-fixed.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 99110335056b5dce43822a6c64c3a457cca915bc +Author: Emmanuele Bassi +Date: Mon Mar 9 17:06:22 2009 +0000 + + [cogl-fixed] Implement the CoglFixed fundamental GType + + The type machinery for CoglFixed should be implemented by COGL + itself, now that COGL exports the GType of its types. + + This allows moving most of what ClutterFixed did directly to + CoglFixed where it belongs. + + clutter/cogl/cogl-types.h | 44 +++++++++- + clutter/cogl/cogl.h.in | 33 ------- + clutter/cogl/common/cogl-util.c | 186 ++++++++++++++++++++++++++++++++++++++-- + 3 files changed, 223 insertions(+), 40 deletions(-) + +commit 720341b3018dfa2698642c4266a399c035a9ff24 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:05:13 2009 +0000 + + Move ClutterTimeline to CoglFixed + + The ClutterTimeline::get_progressx() method should return a + CoglFixed, now that ClutterFixed is being deprecated. + + clutter/clutter-timeline.c | 25 ++++++++++--------------- + clutter/clutter-timeline.h | 29 +++++++---------------------- + 2 files changed, 17 insertions(+), 37 deletions(-) + +commit 849e916d6fc568286223cab015ee1d3c0a1cb592 +Author: Emmanuele Bassi +Date: Mon Mar 9 17:03:37 2009 +0000 + + Move ClutterBehaviourRotate to CoglFixed + + Remove the wrong usage of ClutterFixed and use CoglFixed instead + in the API and the implementation. + + clutter/clutter-behaviour-rotate.c | 234 ++++++++++++++++++++----------------- + clutter/clutter-behaviour-rotate.h | 54 +++++---- + 2 files changed, 160 insertions(+), 128 deletions(-) + +commit 764dc3bac4683d972f04ed7f4e815d40513d189b +Author: Emmanuele Bassi +Date: Mon Mar 9 17:03:00 2009 +0000 + + Move ClutterBehaviourEllipse to CoglFixed + + Remove the wrong usage of ClutterFixed, and use CoglFixed instead + in the API and the implementation. + + clutter/clutter-behaviour-ellipse.c | 482 ++++++++++++++++++------------------ + clutter/clutter-behaviour-ellipse.h | 55 ++-- + 2 files changed, 265 insertions(+), 272 deletions(-) + +commit 045ad21921edf047ec43825a3c1b5b0dba79b6c7 +Author: Emmanuele Bassi +Date: Thu Mar 5 20:17:11 2009 +0000 + + Move BehaviourScale to CoglFixed + + ClutterFixed as a type is going away, superceded by CoglFixed. The + fixed point entry points in the API should be ported to the + CoglFixed type so that they are useful again. + + clutter/clutter-behaviour-scale.c | 278 +++++++++++++++++++------------------- + clutter/clutter-behaviour-scale.h | 81 ++++++----- + 2 files changed, 177 insertions(+), 182 deletions(-) + +commit 7bf385a06700f152018626021cd2f2367572b3a2 +Author: Emmanuele Bassi +Date: Thu Mar 5 20:15:00 2009 +0000 + + [cogl-fixed] Add a double-to-fixed conversion macro + + Since the conversion of a floating point value to a fixed point + value is already done in double precision we can safely expose + a macro that converts a double precision floating point value to + a CoglFixed one. + + clutter/cogl/cogl-fixed.h | 15 +++++++++++++-- + 1 file changed, 13 insertions(+), 2 deletions(-) + +commit 4e98fc5e7931688da11be60a36c583c529ad8335 +Author: Emmanuele Bassi +Date: Tue Mar 3 22:51:17 2009 +0000 + + [docs] Note that grabs are evil + + Grabs are an entirely evil way to override the whole event delivery + machinery that Clutter has in place. + + A pointer grab can be effectively replaced by a much more reliable + ::captured-event signal handler, for instance. + + Sometimes, grabs are a necessary evil -- and that is why Clutter + exposes them in the API; that should not fool anyone into thinking + that they should be used unless strictly necessary. + + clutter/clutter-main.c | 25 +++++++++++++++++++------ + 1 file changed, 19 insertions(+), 6 deletions(-) + +commit c0adf4582ca41f046bfb67458ac1ca5d6d416f33 +Author: Emmanuele Bassi +Date: Thu Feb 26 15:35:20 2009 +0000 + + [docs] Clarify clutter_actor_animate() behaviour + + When calling clutter_actor_animate() on an actor that is being + currently animated the default behaviour is to update the duration + of the animation; the easing mode; update all the common properties; + and finally add the new properties. + + This: + + clutter_actor_animate (actor, 500, CLUTTER_LINEAR, + "width", 100, + "height", 100, + NULL); + + clutter_actor_animate (actor, 250, CLUTTER_EASE_IN_CUBIC, + "x", 100, + "y", 100, + "height", 200, + NULL); + + Is logically equivalent to: + + clutter_actor_animate (actor, 250, CLUTTER_EASE_IN_CUBIC, + "x", 100, + "y", 100, + "width", 100, + "height", 200, + NULL); + + The documentation of the function should be slightly more verbose + in describing the default behaviour. + + clutter/clutter-animation.c | 26 +++++++++++++++++++++++++- + 1 file changed, 25 insertions(+), 1 deletion(-) + +commit a3839296c4311bb15091c52e59c214a6f4d33bd2 +Author: Emmanuele Bassi +Date: Sat Feb 28 19:13:18 2009 +0000 + + [build] Various fixes for distcheck + + The generation of the GObject introspection data has broken + the distcheck phase. + + The location of the header and source files should always be + depending on the $(top_srcdir) and $(srcdir) variables, + respectively; the special handling of the COGL API inside the + GIR generation should also take those two variables into + account. + + clutter/Makefile.am | 137 ++++++++++++++++++++++++----------------------- + clutter/json/Makefile.am | 22 ++++---- + 2 files changed, 82 insertions(+), 77 deletions(-) + +commit 4a3a3e1cf344b992b2f978e5f2676cb0957b504a +Author: Emmanuele Bassi +Date: Sat Feb 28 17:54:27 2009 +0000 + + Add pkg-config file for COGL + + COGL should ship its own pkg-config file, obviously still pointing + to Clutter's compiler flags and linking options, for COGL-specific + variables that might be queried at configure time. + + For instance, it's easier (and less verbose) to do: + + PKG_CHECK_EXISTS([cogl-gl-1.0], + [has_gl_backend=yes], + [has_gl_backend=no]) + + Than doing: + + AC_MSG_CHECKING([for GL support in COGL]) + cogl_backend=`$PKG_CONFIG --variable=cogl clutter-0.9` + if test x$cogl_backend = xgl; then + has_gl_backend=yes + AC_MSG_RESULT([found]) + else + has_gl_backend=no + AC_MSG_RESULT([not found]) + fi + + .gitignore | 1 + + clutter/cogl/Makefile.am | 17 ++++++++++++++++- + clutter/cogl/cogl.pc.in | 15 +++++++++++++++ + configure.ac | 1 + + 4 files changed, 33 insertions(+), 1 deletion(-) + +commit b030756dca23594e612fcfc3aac1ba3115f5893c +Author: Emmanuele Bassi +Date: Sat Feb 28 17:19:05 2009 +0000 + + [shader] Unify code paths + + ClutterShader contains a lot of duplication, as the vertex and fragment + shader code paths are mostly the same. + + The code should be simplified by adding new internal functions that can + be called with a value from the already present ClutterShaderType + enumeration. + + In the future it'll also be possible to deprecate the current split API + and expose the generic accessors instead. + + clutter/clutter-shader.c | 343 +++++++++++++++++++++++++++-------------------- + po/POTFILES.in | 2 + + 2 files changed, 200 insertions(+), 145 deletions(-) + +commit 7d674db9d2c960a55e332b7ec631a01db317f013 +Author: Emmanuele Bassi +Date: Sat Feb 28 16:16:09 2009 +0000 + + Clean up of the ClutterColor API + + The ClutterColor API has some inconsistencies: + + - the string deserialization function does not match the rest of + the conversion function naming policy; the naming should be: + + clutter_color_parse() -> clutter_color_from_string() + + and the first parameter should be the ClutterColor that will + be set from the string, not the string itself (a GDK-ism). + + - the fixed point API should not be exposed, especially in the + form of ClutterFixed values + + - the non-fixed point HLS conversion functions do not make any + sense. The values returned should be: + + hue := range [ 0, 360 ] + luminance := range [ 0, 1 ] + saturation := range [ 0, 1 ] + + like the current fixed point API does. Returning a value in + the [ 0, 255 ] range is completely useless + + - the clutter_color_equal() should be converted for its use inside + a GHashTable; a clutter_color_hash() should be added as well + + - the second parameter of the clutter_color_shade() function should + be the shading factor, not the result (another GDK-ism). this way + the function call can be translated from this: + + color.shade(out result, factor) + + to the more natural: + + color.shade(factor, out result) + + This somewhat large commit fixes all these issues and updates the + internal users of the API. + + clutter/clutter-color.c | 592 +++++++++++++++-------------- + clutter/clutter-color.h | 99 +++-- + clutter/clutter-deprecated.h | 2 + + clutter/clutter-script.c | 2 +- + doc/reference/clutter/clutter-sections.txt | 16 +- + tests/interactive/test-behave.c | 2 +- + tests/interactive/test-layout.c | 2 +- + 7 files changed, 374 insertions(+), 341 deletions(-) + +commit 8a1eca72877471af08da8c1874e4b718e5640628 +Author: Emmanuele Bassi +Date: Sat Feb 28 16:03:11 2009 +0000 + + [cogl] Add a PANGO debug flag for CoglPango use + + The CoglPango code falls under the COGL "jurisdiction"; this means + that it cannot include Clutter headers unless strictly necessary. + + The CoglPangoRenderer code was using the CLUTTER_NOTE() macro. Now + that COGL has it's own COGL_NOTE() similar macro, CoglPango should + use that and avoid including clutter-debug.h (which pulls in + clutter-private.h which in turn pulls in clutter-actor.h). + + A new flag, COGL_DEBUG_PANGO, has been added to the COGL debug + flags. + + clutter/cogl/cogl-debug.h | 3 ++- + clutter/cogl/common/cogl-debug.c | 3 ++- + clutter/pango/cogl-pango-render.c | 5 ++--- + 3 files changed, 6 insertions(+), 5 deletions(-) + +commit 3a4538e4f25a406d65b5956d379a696067d4cdd2 +Author: Colin Walters +Date: Mon Mar 9 14:17:18 2009 -0400 + + Typo in clutter-win32.pc.in introduced by commit 24ce19383 + + clutter/win32/clutter-win32.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ee6145c795abf1814297a3e3a5b01620e06b58c1 +Author: Neil Roberts +Date: Mon Mar 9 18:40:58 2009 +0000 + + Set the mapped flag on the stage in the SDL and eglnative backends + + Bug 1493 - GL ES does not work since Jan 9 in PowerVR SGX 535, Intel + + The mapped flag needs to be set on the stage otherwise + clutter_actor_queue_redraw will never queue a redraw and never draw + anything. + + In these two backends there is not really a way to hide the stage so + they both set the mapped flag immediatly when clutter_actor_show is + called. + + clutter/eglnative/clutter-stage-egl.c | 4 ++++ + clutter/sdl/clutter-stage-sdl.c | 4 ++++ + 2 files changed, 8 insertions(+) + +commit f9d996a4603bef1f52e32e99f9f69a32b7c823ba +Author: Owen W. Taylor +Date: Fri Feb 27 13:39:53 2009 -0500 + + Use COGL to establish GL state for ClutterGLXTexturePixmap + + Using glEnable() directly confuses COGL and can result in problems + like subsequent pick operations not working correctly. Get the + material for the ClutterTexture and call cogl_material_flush_gl_state() + instead. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1483 + + clutter/glx/clutter-glx-texture-pixmap.c | 26 +++++++++----------------- + 1 file changed, 9 insertions(+), 17 deletions(-) + +commit 65c5188c7e6edf4b77887234035ae6a30fca9cb1 +Author: Neil Roberts +Date: Mon Mar 9 12:28:22 2009 +0000 + + [eglnative] Add -I flags for the clutter dir in the src and build dirs + + These are required to include the Cogl header files. + + clutter/eglnative/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 67523ddc6e6714629cd3582b6bb4d9dc42740ba5 +Author: Neil Roberts +Date: Mon Mar 9 10:59:52 2009 +0000 + + Fix warning in clutter-backend-sdl + + Removed direct use of SDL_GetError as a format string for g_set_error + to fix a compiler warning. + + clutter/sdl/clutter-backend-sdl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 24ce19383600df952dc5b3eb6055b8851b9cbd21 +Author: Colin Walters +Date: Fri Mar 6 00:19:12 2009 -0500 + + Bug 1491 - Fix hardcoded lib path in .pc files + + We should instead use @libdir@ from configure to be correct + on multilib systems. + + clutter.pc.in | 6 +++--- + clutter/win32/clutter-win32.pc.in | 6 +++--- + clutter/x11/clutter-x11.pc.in | 6 +++--- + 3 files changed, 9 insertions(+), 9 deletions(-) + +commit 9df3fb993c222d35171fe6067257fc17e3c3979e +Author: Øyvind Kolås +Date: Fri Feb 27 17:59:16 2009 +0000 + + Add a warning for recursive emit_event + + When event delivery is invoked by synthetic events through + clutter_do_event from inside an event handler clutter was silently + ignoring it, this warning will hopefully help resolving some issues. + + clutter/clutter-main.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit af0726480c29ac8c327ce302a55ef4eaed757594 +Author: Robert Bragg +Date: Wed Feb 25 16:23:09 2009 +0000 + + [cogl-matrix] Documents that CoglMatrix members should be considered read only + + In the future if we want to annotate matrices with internal flags, and add + caching of the inverse matrix then we need to ensure that all matrix + modifications are done by cogl_matrix API so we'd know when to dirty the + cache or update the flags. + + This just adds documentation to that effect, and assuming the most likley + case where someone would try and directly write to matrix members would + probably be to load a constant matrix other than the identity matrix; I + renamed cogl_matrix_init_from_gl_matrix to cogl_matrix_init_from_array to + make it seem more general purpose. + + clutter/cogl/cogl-matrix.h | 23 +++++++++++++++-------- + clutter/cogl/common/cogl-matrix.c | 6 +++--- + clutter/cogl/gl/cogl.c | 6 +++--- + clutter/cogl/gles/cogl.c | 6 +++--- + doc/reference/cogl/cogl-sections.txt | 2 ++ + 5 files changed, 26 insertions(+), 17 deletions(-) + +commit 0a218a64e2730e55953deedefbaa6f62ebbf5c4a +Author: Robert Bragg +Date: Tue Feb 24 11:33:58 2009 +0000 + + [cogl-matrix] Adds padding to CoglMatrix + + This adds enough padding to allow us to potentially add a cache of the inverse + matrix in the future and private flags to annotate matrices. + + clutter/cogl/cogl-matrix.h | 4 ++++ + 1 file changed, 4 insertions(+) + +commit b39223d8cbdb104df4a1f5791c3d4f8acd5b31d1 +Author: Emmanuele Bassi +Date: Thu Feb 26 15:32:48 2009 +0000 + + [backend] Constify font options + + The font options accessors in ClutterBackend only deal with const + cairo_font_options_t values, since: + + - set_font_options() will copy the font options + - get_font_options() will return a pointer to the internal + font options + + Not using const in these cases makes the API confusing and might lead + to erroneous calls to cairo_font_options_destroy(). + + clutter/clutter-backend.c | 17 +++++++++++------ + clutter/clutter-backend.h | 30 +++++++++++++++--------------- + clutter/clutter-main.c | 23 +++++++++++++---------- + 3 files changed, 39 insertions(+), 31 deletions(-) + +commit 83542959869374376361ae0a05b93a9aaafe472a +Author: Emmanuele Bassi +Date: Fri Jan 9 15:02:50 2009 +0000 + + Intern the ClutterScriptable type name + + Like we do for other types, use the I_() macro to intern the + type name during the GType registration for ClutterScriptable. + + clutter/clutter-scriptable.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +commit 28a3cbf38e299f56f52bd9f0cff9f91e96275d23 +Author: Bastian Winkler +Date: Tue Feb 24 20:07:31 2009 +0100 + + Remove redundant declaration in clutter-text.h + + clutter-text.h declares clutter_text_get_layout twice. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.h | 1 - + 1 file changed, 1 deletion(-) + +commit 0fc9452b034808c51980cabd99573d67d9963936 +Author: Emmanuele Bassi +Date: Thu Feb 26 12:46:36 2009 +0000 + + [build] Do not shave typelib generation + + Bug 1478 - typelib creation shaved out of existence + + Add a 'GEN' output rule for the typelib files created when + introspection is enabled. + + clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 259443b1453e5094cf7016141df39ceba65cd5cb +Author: Emmanuele Bassi +Date: Thu Feb 26 11:55:53 2009 +0000 + + [build] Put the X11 pc dependencies in another variable + + If X11 comes with pkg-config files (like it should) we should not add + those dependencies to the generic BACKEND_PC_FILES variable: that + variable is meant only for backend-specific dependencies handled by + pkg-config -- and Clutter supports non-X11 backends as well. + + The X11_PC_FILES variable will only contain X11-related dependencies, + and will be set as part of BACKEND_PC_FILES only inside the GLX and + EGLX backends sections. + + configure.ac | 15 ++++++++++----- + 1 file changed, 10 insertions(+), 5 deletions(-) + +commit 402e2e0d82024f79c0b9b5f76056b331abec0caa +Author: Owen W. Taylor +Date: Wed Feb 25 15:46:09 2009 -0500 + + Fix x/y confusion for GL_TEXTURE_RECTANGLE_ARB + + When "denormalizing" for texture rectangles, multiple X coordinates + by the X size and Y coordinates by the Y size. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1479 + + clutter/cogl/gl/cogl-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ce83007c1d140e91250d933ba9e533a00ffb9e84 +Author: Neil Roberts +Date: Thu Feb 26 10:56:42 2009 +0000 + + [cogl-pango-glyph-cache] Fix compiler warning on 64-bit + + gcc warns about casting a pointer to a guint because it is a different + size on 64-bit machines. However the pointer is only used as a hash so + it doesn't matter if we lose the most significant bits. The patch + makes it use GPOINTER_TO_UINT instead which first casts it to a gulong + and avoids the warning. + + clutter/pango/cogl-pango-glyph-cache.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1626d6132e9bab267463b5f532567e22006771db +Author: Neil Roberts +Date: Wed Feb 25 17:10:54 2009 +0000 + + [clutter-texture] Use a GThreadPool for loading async textures + + Instead of creating a separate thread for each texture load, the loads + are now queued in a thread pool which will use at most 3 textures at a + time. This avoids the potentially large overhead of creating and + destroying a thread for every image while still avoiding throttling + the CPU if a large number of textures are loaded at the same time. + + If the load is cancelled the old code needed to join the thread which + effectively meant it had to wait for the load to finish. With this + model the threads are owned by the thread pool so there is no need to + wait for them to finish. Instead, each thread is given its own thread + data which we can use to mark the thread as aborted. Once the load is + finished the thread will check whether it is aborted before setting + the texture data. That way the ClutterTexture can just disown threads + that it needs to cancel. + + clutter/clutter-texture.c | 295 +++++++++++++++++++++++++++++----------------- + 1 file changed, 184 insertions(+), 111 deletions(-) + +commit 3425331cc167f029bc4b86a66d95d3e498f52514 +Author: Neil Roberts +Date: Tue Feb 24 16:44:30 2009 +0000 + + [tests/tools] Don't install libdisable-npots.so + + The libdisable-npots library is just used as a helper as part of + make test so it should not be installed. + + If noinst_* is used then automake will generate a static library but + this won't work with LD_PRELOAD so we then need an extra custom rule + to link that into a shared library. The custom rule uses the $(LINK) + Makefile var which gets put in the Makefile because of the static + library. We pass libtool a stub -rpath option which causes it to + generate a shared library. + + tests/tools/Makefile.am | 22 ++++++++++++++++------ + 1 file changed, 16 insertions(+), 6 deletions(-) + +commit bff6ce414af6cc3e5d12d9eaed36ff64e5e16fc0 +Author: Emmanuele Bassi +Date: Tue Feb 24 16:16:25 2009 +0000 + + [media] Add sub-second resolution for the duration + + The duration in ClutterMedia is currently expressed in integer multiples + of a second. This does not offer enough granularity for media playback + that has fractionary durations -- 2.3 seconds; 1 minute, 23.4 seconds; + 1 hour, 23 minutes, 4.5 seconds; etc. + + The duration value should be expressed in seconds with a sub-second + granularity; for this reason, a double should be used insted of an + unsigned integer. + + The semantics haven't changed: the :duration property still exposes + seconds. + + clutter/clutter-media.c | 14 +++++++------- + clutter/clutter-media.h | 2 +- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit dd3c760cc5ef26378ac71d9b33ed961ebc542ab8 +Author: Bastian Winkler +Date: Tue Feb 24 15:58:40 2009 +0000 + + [media] Fix the interface cast macro + + Bug 1474 - ClutterMedia interface + + The GET_INTERFACE() macro is still using the old type name of + the ClutterMedia interface structure in the cast. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-media.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit eaf202c886293035e875c7e940fa97ee970dd046 +Author: Jonathan Matthew +Date: Tue Feb 24 09:25:53 2009 +0000 + + Declare the EnumValues for PixelFormat static + + Bug 1473 - CoglPixelFormat enum data must be declared static + + When registering an enumeration GType, the GEnumValue or GFlagsValue + arrays must be declared static; otherwise, you get a segmentation + fault when calling the function again. + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/common/cogl-util.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3409a941a4161562e6020e47c482a6b01b7eff11 +Author: Emmanuele Bassi +Date: Mon Feb 23 15:22:08 2009 +0000 + + Use a dynamic array for the actors when delivering events + + Instead of using a fixed size array for storing the scenegraph sub-node + during event delivery we should use a GPtrArray. The benefits are: + + - a smaller allocation + - no undocumented yet binding constraint on the scenegraph size + + clutter/clutter-main.c | 35 +++++++++++++++-------------------- + 1 file changed, 15 insertions(+), 20 deletions(-) + +commit 64db7896dbd4286d94367fbf173bb18f1c793a70 +Author: Emmanuele Bassi +Date: Mon Feb 23 15:19:11 2009 +0000 + + Remove stray fixed point macro usage + + The CoglPango renderer is using a CLUTTER_FIXED macro, but the + whole code has been Clutter-free for a while, now. + + clutter/pango/cogl-pango-render.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 62ac234ca9b109c98773d2029357c110cf000aab +Author: Robert Bragg +Date: Mon Feb 23 16:33:42 2009 +0000 + + [test-vertex-buffer-contiguous] Improves the texturing test + + The test now explicitly reads back from the framebuffer to sanity check that + texturing is happening as expected, and it now uses a fixed 2x2 texture instead + of redhand.png since redhand.png doesn't have a power of two size which can + cause the vertex buffer code to complain on hardware not supporting npot + textures. + + tests/conform/Makefile.am | 7 ------- + tests/conform/test-vertex-buffer-contiguous.c | 29 +++++++++++++++++++++++++-- + 2 files changed, 27 insertions(+), 9 deletions(-) + +commit 0bc1f36ead2909ac89e163f3592654c6ac78a112 +Author: Emmanuele Bassi +Date: Mon Feb 23 13:44:03 2009 +0000 + + [docs] Document envvars and command line switches + + Clutter uses checks on various environment variables and installs + various command line switches. The API reference should list them + and document them both. + + doc/reference/clutter/Makefile.am | 6 +- + doc/reference/clutter/clutter-docs.xml | 2 +- + doc/reference/clutter/running-clutter.xml | 172 ++++++++++++++++++++++++++++++ + 3 files changed, 177 insertions(+), 3 deletions(-) + +commit 7d181636ed29d60eacd3e5a27a7a2dc06cb867c8 +Author: Emmanuele Bassi +Date: Mon Feb 23 13:17:06 2009 +0000 + + Make fuzzy picking a command line switch + + The CLUTTER_FUZZY_PICK environment variable is the last one used + by Clutter without a corresponding command line switch. + + clutter/clutter-main.c | 21 ++++++++++++++++----- + 1 file changed, 16 insertions(+), 5 deletions(-) + +commit 42fa1e035b25f195a5da8e6ac7148079db4c8080 +Author: Emmanuele Bassi +Date: Mon Feb 23 13:08:59 2009 +0000 + + Make disable text mipmapping a command line switch + + The environment variable to disable mipmapping should also be + a command line switch, and be handled like the rest of Clutter's + environment variables/command line switches. + + clutter/clutter-main.c | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +commit a1f0b25d142cc4f52b9d50f86441a429e5f5b263 +Author: Emmanuele Bassi +Date: Mon Feb 23 12:55:01 2009 +0000 + + [actor] Remove usage of ClutterFixed + + The ClutterFixed type and symbols are now equivalent to the native + float type. In order to remove ambiguity and clean up the code, any + usage of ClutterFixed and relative macros has been removed. + + clutter/clutter-actor.c | 364 ++++++++++++++++++++++-------------------------- + 1 file changed, 164 insertions(+), 200 deletions(-) + +commit 605dfb8fd0451dd087a13cb21032a288ce5a3ea3 +Author: Emmanuele Bassi +Date: Mon Feb 23 12:47:02 2009 +0000 + + Add runtime debug messages for COGL + + Clutter is able to show debug messages written using the CLUTTER_NOTE() + macro at runtime, either by using an environment variable: + + CLUTTER_DEBUG=... + + or by using a command line switch: + + --clutter-debug=... + --clutter-no-debug=... + + Both are parsed during the initialization process by using the + GOption API. + + COGL would benefit from having the same support. + + In order to do this, we need a cogl_get_option_group() function in + COGL that sets up a GOptionGroup for COGL and adds a pre-parse hook + that will check the COGL_DEBUG environment variable. The OptionGroup + will also install two command line switches: + + --cogl-debug + --cogl-no-debug + + With the same semantics of the Clutter ones. + + During Clutter initialization, the COGL option group will be attached + to the GOptionContext used to parse the command line options passed + to a Clutter application. + + Every debug message written using: + + COGL_NOTE (SECTION, "message format", arguments); + + Will then be printed only if SECTION was enabled at runtime. + + This whole machinery, like the equivalent one in Clutter, depends on + a compile time switch, COGL_ENABLE_DEBUG, which is enabled at the same + time as CLUTTER_ENABLE_DEBUG. Having two different symbols allows + greater granularity. + + clutter/clutter-main.c | 10 +++- + clutter/cogl/cogl-debug.h | 45 ++++++++++++++++++ + clutter/cogl/cogl.h.in | 18 +++++++- + clutter/cogl/common/Makefile.am | 3 +- + clutter/cogl/common/cogl-debug.c | 98 ++++++++++++++++++++++++++++++++++++++++ + clutter/cogl/gl/Makefile.am | 4 +- + clutter/cogl/gles/Makefile.am | 4 +- + configure.ac | 4 +- + 8 files changed, 177 insertions(+), 9 deletions(-) + +commit a4c8e7847710a3818e3839224251cafe24c4ceb6 +Author: Neil Roberts +Date: Mon Feb 23 11:36:03 2009 +0000 + + Add an environment variable to disable mipmapped text + + Mipmapped text is enabled by default in Clutter but it can cause + problems on some drivers so it is convenient to have an environment + variable to disable it for all apps. + + clutter/clutter-main.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 8d04fbb05eedaf54380c12fee46ffd3fa9ae61a3 +Author: Robert Bragg +Date: Sun Feb 22 15:25:00 2009 +0000 + + [Cogl] Remove a debugging assert that was triggering on false positives + + An assert to verify there was no error when generating a buffer object + for the vertex buffer API was being hit when running the GLES1 conformance + tests. + + clutter/cogl/common/cogl-vertex-buffer.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 5e956a88b822ce9d9eecbd432a0141375bed5ab6 +Author: Robert Bragg +Date: Thu Feb 19 09:20:20 2009 +0000 + + [cogl-material] Always glBindTexture when flushing material state + + Bug #1457 - Creating a new texture messes up the cogl material state + cache; reported by Neil Roberts + + We still don't have caching of bound texture state so we always have to + re-bind the texture when flushing the GL state of any material layers. + + clutter/cogl/common/cogl-material.c | 42 ++++++++++++++++++++----------------- + 1 file changed, 23 insertions(+), 19 deletions(-) + +commit d13b9de2e27d3db21f4515bf579927df5b42c330 +Author: Robert Bragg +Date: Thu Feb 19 09:01:18 2009 +0000 + + [Cogl] Fixes automatic handling of the GL blend enable state. + + Bug #1460 - Handling of flags in cogl_material_set_color + + Cogl automatically enables/disables blending based on whether the source color + has an alhpa < 1.0, or if any textures with an alpha component are in use, but + it wasn't doing it quite right. + + At the same time I removed some of the dirty flags which on second thought + are nothing more than micro-optimsations that only helped clutter the code. + + thanks to Owen Taylor for reporting the bug + + clutter/cogl/common/cogl-material-private.h | 10 ++-- + clutter/cogl/common/cogl-material.c | 78 ++++++++++------------------- + clutter/cogl/gl/cogl-context.c | 1 - + clutter/cogl/gles/cogl-context.c | 1 - + 4 files changed, 31 insertions(+), 59 deletions(-) + +commit 34e53736edb3579822ef36f39cce42ca7dc87d70 +Author: Robert Bragg +Date: Wed Feb 18 18:54:54 2009 +0000 + + [Cogl] the cogl_get_*_matrix functions now work with CoglMatrix types + + Since the CoglMatrix type was added for supporting texture matrices recently + it made sense to be consistent accross the Cogl API and use the Cogl type + over the GL style GLfloat m[16] arrays. + + README | 3 + + clutter/clutter-actor.c | 117 ++++++++++++---------------------- + clutter/cogl/cogl-matrix.h | 36 +++++++++++ + clutter/cogl/cogl.h.in | 14 ++-- + clutter/cogl/common/cogl-clip-stack.c | 14 ++-- + clutter/cogl/common/cogl-matrix.c | 46 ++++++++----- + clutter/cogl/gl/cogl.c | 27 +++++--- + clutter/cogl/gles/cogl.c | 27 +++++--- + 8 files changed, 160 insertions(+), 124 deletions(-) + +commit 4af0717b0022b58797bfbd1df12917840c3fb9c3 +Author: Emmanuele Bassi +Date: Sat Feb 21 13:47:02 2009 +0000 + + [ignore] Update with the introspection files + + .gitignore | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 82f83ffbfb7c8ea63d04e0b0d655bc251abf4a66 +Author: Emmanuele Bassi +Date: Sat Feb 21 13:44:14 2009 +0000 + + [build] Move all the compiler flags to AM_CFLAGS + + The INCLUDES directive should only contain pre-processor flags, since + we're passing it also to the introspection scanner. + + Using AM_CFLAGS for compiler flags, like debug flags and maintainer + flags, is more indicated. + + clutter/Makefile.am | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit f4df307ddd6e0c977c57aaba1b1e4adfa143c1b0 +Author: Emmanuele Bassi +Date: Fri Feb 20 15:39:32 2009 +0000 + + [backend] Update the viewport when updating the GL context + + Bug 1442 - multistage, same-window resize events invalidate stage + + When ensuring that the GL context is attached to the correct + ClutterStage we need to set the SYNC_MATRICES flag on the stage + itself. This is needed in case the size of the new stage does + not match the size of the old -- thus requiring a call to + glViewport() when the paint cycle starts. + + clutter/clutter-backend.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit fa996734cff073a8acb7adb1d758059be25cb025 +Author: Neil Roberts +Date: Fri Feb 20 16:37:20 2009 +0000 + + [cogl-gles2-wrapper] Actually call glActiveTexture + + cogl_wrap_glActiveTexture needs to call the GL version of + glActiveTexture otherwise the subsequent calls to glBindTexture will + all be using texture unit 0. This fixes test-cogl-multitexture. + + clutter/cogl/gles/cogl-gles2-wrapper.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit b0df99fbad39b56bbe65b61063d30c3013debd0f +Author: Neil Roberts +Date: Fri Feb 20 15:56:57 2009 +0000 + + [cogl-gles2-wrapper] Convert texture unit settings to be a static sized array + + Previously the texture unit settings were stored in growable GArrays + and every time a new texture unit was encountered it would expand the + arrays. However the array wasn't copied when stored in a + CoglGles2WrapperSettings struct so all settings had the same + array. This meant that it wouldn't detect that a different program is + needed if a texture unit is disabled or enabled. + + The texture unit settings arrays are all now a fixed size and the + enabledness of each unit is stored in a bit mask. Therefore the + settings can just be copied around by assignment as before. + + This puts a limit on the number of texture units accessible by Cogl + but I think it is worth it to make the code simpler and more + efficient. The material API already poses a limit on the number of + texture units it can use. + + clutter/cogl/gles/cogl-gles2-wrapper.c | 444 +++++++++++++++------------------ + clutter/cogl/gles/cogl-gles2-wrapper.h | 36 +-- + 2 files changed, 229 insertions(+), 251 deletions(-) + +commit 21aa09748c95912de5f32fdaa84183c3e8b0f412 +Author: Emmanuele Bassi +Date: Fri Feb 20 14:39:51 2009 +0000 + + Add build machinery for gobject-introspection data + + configure.ac: Check for gobject-introspection + + build/introspection.m4: Include the file that defines the + GOBJECT_CHECK_INTROSPECTION m4 macro in case we want to disable + the introspection data generation. + + clutter/json/Makefile.am: Build the .gir for "ClutterJson" + (json-glib as part of the Clutter library) + + clutter/Makefile.am: Build the .gir for clutter, compile the + Clutter and ClutterJson girs into typelibs, and install them. + Also move GCC_FLAGS from $(INCLUDES) to $(AM_CFLAGS) since it includes + non-preprocessor flag like -Wall. + + See also: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1450 + + Based on a patch by: Owen W. Taylor + + Signed-off-by: Emmanuele Bassi + + build/autotools/Makefile.am | 1 + + build/autotools/introspection.m4 | 88 ++++++++++++++++++++++++++++++++++++++++ + clutter/Makefile.am | 61 +++++++++++++++++++++++++++- + clutter/json/Makefile.am | 24 +++++++++++ + configure.ac | 4 ++ + 5 files changed, 177 insertions(+), 1 deletion(-) + +commit c5afd98416f9c9299eaedf21a4e16f06f1b52418 +Author: Owen W. Taylor +Date: Mon Feb 16 19:25:20 2009 -0500 + + Add gobject-introspection annotations + + Add annotations such as (transfer-none) (out) (element-type ClutterActor), + and so forth to the doc comments as appropriate. + + The annotations added here are a combination of the annotations previously + in gir-repository for Clutter and annotations found in a review of all + return values with that were being parsed with a transfer of "full". + + http://bugzilla.openedhand.com/show_bug.cgi?id=1452 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 32 ++++++++++++++++---------------- + clutter/clutter-alpha.c | 2 +- + clutter/clutter-animation.c | 24 +++++++++++++----------- + clutter/clutter-backend.c | 10 +++++----- + clutter/clutter-behaviour-path.c | 2 +- + clutter/clutter-behaviour.c | 8 ++++---- + clutter/clutter-binding-pool.c | 8 ++++---- + clutter/clutter-child-meta.c | 4 ++-- + clutter/clutter-clone.c | 2 +- + clutter/clutter-color.c | 20 ++++++++++---------- + clutter/clutter-container.c | 23 ++++++++++++----------- + clutter/clutter-event.c | 6 +++--- + clutter/clutter-group.c | 2 +- + clutter/clutter-interval.c | 8 ++++---- + clutter/clutter-main.c | 32 ++++++++++++++++++-------------- + clutter/clutter-model.c | 32 ++++++++++++++++---------------- + clutter/clutter-path.c | 2 +- + clutter/clutter-score.c | 13 +++++++------ + clutter/clutter-script.c | 8 ++++---- + clutter/clutter-shader-types.c | 8 ++++---- + clutter/clutter-stage-manager.c | 12 ++++++------ + clutter/clutter-stage.c | 6 +++--- + clutter/clutter-text.c | 7 +++---- + clutter/clutter-timeline.c | 6 +++--- + clutter/json/json-array.c | 8 ++++---- + clutter/json/json-node.c | 6 +++--- + clutter/json/json-object.c | 11 ++++++----- + clutter/json/json-parser.c | 4 ++-- + 28 files changed, 157 insertions(+), 149 deletions(-) + +commit 1d68dcab1f341e17e88c62d555d7f072aa66d875 +Author: Emmanuele Bassi +Date: Fri Feb 20 12:01:32 2009 +0000 + + [docs] Rename cogl-docs from sgml to xml + + The cogl-docs.sgml file has always been XML, so it's only fitting that + we actually call it cogl-docs.xml. + + doc/reference/cogl/Makefile.am | 2 +- + doc/reference/cogl/{cogl-docs.sgml => cogl-docs.xml} | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) + +commit 255faf602f7aa2a0c9add3e4200dc21c2d77494b +Author: Emmanuele Bassi +Date: Fri Feb 20 12:00:41 2009 +0000 + + [docs] Add the 1.0 symbols index + + Add the index of symbols available since 1.0 to the Clutter + API reference. + + doc/reference/clutter/clutter-docs.xml | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 6b2c8f68e0298ae9382de1b31720bbb5c7cd58ac +Author: Emmanuele Bassi +Date: Fri Feb 20 11:58:04 2009 +0000 + + [docs] Use the --name-space option + + Now that we depend on gtk-doc 1.11 we can use the --name-space + command line option for the mkdb utility. + + doc/reference/clutter/Makefile.am | 2 +- + doc/reference/cogl/Makefile.am | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 38faebf7e9993bc392bb8ebe0ede09ffce5b23ee +Author: Emmanuele Bassi +Date: Fri Feb 20 11:55:54 2009 +0000 + + [docs] Require gtk-doc 1.11 + + The new stable release of gtk-doc provides the --name-space + option for the mkdb utility. This option allows to specify a + namespace for the symbols that will get stripped, so that we + don't get a symbols index containing only "C". + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3bfbcedec8c0426406d52d073131feeeed560f32 +Author: Emmanuele Bassi +Date: Fri Feb 20 11:39:47 2009 +0000 + + Do not use GL types in Clutter headers + + Bug 1451 - clutter_value_get_shader_matrix() return value + + The return value of the get_shader_matrix() function should be + gfloat, not GLfloat. + + clutter/clutter-shader-types.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 181610604738918d5e0aff91a353047c3a60607d +Author: Emmanuele Bassi +Date: Fri Feb 20 11:36:54 2009 +0000 + + [timeline] Set the n_markers out paramater + + Bug 1464 - clutter_timeline_list_markers should set n_markers=0 when + there are no markers + + If no markers are registered and we bail out we should also set the + n_markers out parameter to 0 so that code checking the number of + markers will still work. + + clutter/clutter-timeline.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit effbbe2e1e4205927f7f4f588eeea52f3940a5ce +Author: Emmanuele Bassi +Date: Fri Feb 20 11:17:52 2009 +0000 + + [path] Do not accept NULL descriptions + + Bug 1465 - clutter_path_parse_description should check p==NULL + + When accepting a stringified path description, ClutterPath methods + and the parser should not accept NULL or empty strings. + + clutter/clutter-path.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit 96317854c8ed385b2091ede209915e90e8a0044c +Author: Emmanuele Bassi +Date: Tue Feb 10 18:05:21 2009 +0000 + + [behaviour] Do not notify empty behaviours + + If a behaviour does not have actors associated to it then it should + not invoke the ::alpha_notify() implementation. + + clutter/clutter-behaviour.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 97431b46700fbbe966f33fae13f9728d77cb2687 +Author: Neil Roberts +Date: Fri Feb 20 11:07:23 2009 +0000 + + Replaced ClutterFixed constants in color_{darken,lighten} with float + + Bug 1463 - clutter_color_lighten(darken) unexpected because of + ClutterFixed=>float + + These two functions contained ClutterFixed constants represented as + integers which are no longer valid since the cogl-float branch + merge. They are now converted to ClutterFixed from float constants + using CLUTTER_FLOAT_TO_FIXED (which is now a no-op). + + Thanks to Zhang Wei for reporting. + + clutter/clutter-color.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit f4222c3cfce7ff1214aeac27a77b33c22549f8e6 +Author: Emmanuele Bassi +Date: Thu Feb 19 17:24:06 2009 +0000 + + [build] Do not overwrite BUILT_SOURCES + + The conformance test suite Makefile template already defines the + BUILT_SOURCES variable, so we need to append redhand.png to it. + + tests/conform/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5643a47cb6ee85a3f4ec93e58582ddf6a6e34d24 +Author: Emmanuele Bassi +Date: Thu Feb 19 17:15:04 2009 +0000 + + [build] Fix the ChangeLog generation rule + + The ChangeLog should only be generated by dist-hook and as a temporary + file to avoid overwriting the stub we use to direct people to the + commit log when cloning the repository. + + When generated, the ChangeLog should be copied inside the distdir so + that the autotools will not freak out. + + Makefile.am | 61 ++++++++++++++++++++++++------------------------------------- + 1 file changed, 24 insertions(+), 37 deletions(-) + +commit 01cf52c44c630d92b7b896b8365dafbc5ee49743 +Author: Emmanuele Bassi +Date: Thu Feb 19 17:07:09 2009 +0000 + + [build] Update the EXTRA_DIST list + + Remove the files we don't ship or have, to avoid distcheck failing. + + build/autotools/Makefile.am | 19 ++++++++----------- + 1 file changed, 8 insertions(+), 11 deletions(-) + +commit d0ae6b421cb3f2b6f69901c80da5c4b71f09efe5 +Author: Emmanuele Bassi +Date: Thu Feb 19 17:06:25 2009 +0000 + + [docs] Update build for COGL API reference + + We need to initialize the type system for gtk-doc-scan, now that + COGL exposes GTypes. + + doc/reference/cogl/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5123608e2296b90f68d4634b2b518101c574e43d +Author: Emmanuele Bassi +Date: Thu Feb 19 17:02:12 2009 +0000 + + [build] Reference the headers with their full path + + Do not assume locality of the files, but use their whole path. + + clutter/x11/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit b72b6e88f70a1839bb5eeb50a3b98f3335830696 +Author: Emmanuele Bassi +Date: Thu Feb 19 17:00:22 2009 +0000 + + [build] Show pkg-config file being generated + + The current Makefile hides the console messages for the pkg-config + files generated from the clutter.pc file. We should show them, + instead. + + Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c229de8dde3e448a5c9619bde720f23665a17f4d +Author: Emmanuele Bassi +Date: Thu Feb 19 16:51:37 2009 +0000 + + [tests] Add TEST_CONFORM_TODO macro + + The TEST_CONFORM_TODO macro is a simple placeholder macro that + adds the test function to the "/todo" namespace and skips the + test. + + It can be used for tests that are known to fail because of bugs + that haven't been fixed yet, or because of features not yet + implemented. + + tests/conform/test-conform-main.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 1ead85f6f63ac52bbef1a37cbe1aa934e8e6ddcb +Author: Neil Roberts +Date: Thu Feb 19 17:14:00 2009 +0000 + + [tests/conform] Copy in redhand.png + + test-vertex-buffer-configuous now needs redhand.png so it should be + copied in to the build directory. This is copied from similar code in + the tests/interactive Makefile. + + tests/conform/Makefile.am | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 84ecb5081f2e30d43880832a7d632a694400f9f6 +Author: Øyvind Kolås +Date: Thu Feb 19 15:44:16 2009 +0000 + + Bail early in clutter_texture_paint if opacity == 0 + + This causes clutter to skip all the GL work of state changes and + texturing if the opacity was 0. This is done in ClutterTexture and not + ClutterActor to ensure that pre and post paint signals work correctly. + Other expensive actors should be doing the same thing. + + clutter/clutter-texture.c | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +commit ef7df4b736b56c2f503b5e2d7c069efa0cacd79a +Author: Emmanuele Bassi +Date: Thu Feb 19 15:01:33 2009 +0000 + + [docs] Update the sections file + + The newly added symbols should also be added to the section file. + + The CairoTexture section was referenced twice. + + doc/reference/clutter/clutter-sections.txt | 42 +++++++----------------------- + 1 file changed, 9 insertions(+), 33 deletions(-) + +commit 3009d029ba6ee1514e2ba521ebf9b28f5477de65 +Author: Emmanuele Bassi +Date: Thu Feb 19 15:00:23 2009 +0000 + + Remove type functions for removed types + + The CoglHandle wrapper GTypes have been removed in commit a0800b44 + so we can safely remove the declarations. + + clutter/clutter-texture.h | 2 -- + 1 file changed, 2 deletions(-) + +commit cf48935cf5a954e627f8f84eb5c47d8edc3c8e54 +Author: Emmanuele Bassi +Date: Thu Feb 19 14:57:43 2009 +0000 + + [build] Pass the -s switch to cmp + + The call to "cmp" to compare a built file with its current version + should use the -s (silent) command line switch. This avoids a ugly + message on the console when building Clutter the first time. + + clutter/Makefile.am | 2 +- + clutter/x11/Makefile.am | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 4aecece48d94b32ec482487a55d5d30042c83c99 +Author: Emmanuele Bassi +Date: Thu Feb 19 14:56:07 2009 +0000 + + [docs] Add a missing "return" annotation + + The documentation for the get_anchor_point_gravity() method is + missing the "Return value:" section. + + clutter/clutter-actor.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 9bdbe8a06a66a44b06bf6b04ea24604cda0f342e +Merge: c18e75626 3794324e8 +Author: Emmanuele Bassi +Date: Thu Feb 19 14:42:40 2009 +0000 + + Merge branch 'build-enhancements' + + * build-enhancements: + [build] Fix dist for the newly introduced m4 macro directory + [build] Fix interaction between shave, gtk-doc and libtool 1.x + [build] Add dolt + [build] Beautify autotools' output + [gitignore] update gitignore files for tests/ + +commit c18e7562672061e2c7a7e7035108fa9f515ec830 +Author: Emmanuele Bassi +Date: Thu Feb 19 13:44:29 2009 +0000 + + [docs] Clarify the set_cogl_texture() documentation + + When setting the COGL texture handle for a ClutterTexture the + texture will be set as the first layer of the material used + by the ClutterTexture. The documentation should clarify this + point. + + clutter/clutter-texture.c | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +commit a0800b44ad81861539264ddd0ff3297b29980d46 +Author: Emmanuele Bassi +Date: Thu Feb 19 12:05:20 2009 +0000 + + [texture] Use COGL_TYPE_HANDLE for the handle properties + + The :texture and :material properties of ClutterTexture use a + Clutter-provided GType shielding from CoglHandle. Since CoglHandle + now has a GType we can use COGL_TYPE_HANDLE instead. + + This commit also removes the conditional compilation of the + :material property, as it makes little sense now that the + Materials API has landed. + + clutter/clutter-texture.c | 51 ++++++----------------------------------------- + clutter/clutter-texture.h | 3 --- + 2 files changed, 6 insertions(+), 48 deletions(-) + +commit 3c073d82c79c6d2c109d14c1b44d8c4c707c2bb6 +Author: Emmanuele Bassi +Date: Thu Feb 19 12:02:42 2009 +0000 + + [cogl] Provide GTypes for COGL types + + COGL types should be registered inside the GType system, for + bindings and type checking inside properties and signals. + + CoglHandle is a boxed type with a ref+unref semantics; slightly evil + from a bindings perspective (we cannot associate custom data to it), + but better than nothing. + + The rest of the exposed types are enumerations or bitmasks. + + clutter/cogl/cogl-types.h | 21 ++++- + clutter/cogl/common/cogl-util.c | 175 ++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 194 insertions(+), 2 deletions(-) + +commit 63ae25972e5393dd0252db3702fa9d675fe41e25 +Author: Emmanuele Bassi +Date: Thu Feb 19 11:55:54 2009 +0000 + + [cogl] Add cogl_is_material to cogl-material.h + + The COGL_DEFINE_HANDLE macro generates a cogl_is_ function + as well, to check whether a CoglHandle opaque pointer is of type + . + + The handle for CoglMaterial does not export cogl_is_material() in + its installed header. + + clutter/cogl/cogl-material.h | 11 ++++++++++- + doc/reference/cogl/cogl-sections.txt | 1 + + 2 files changed, 11 insertions(+), 1 deletion(-) + +commit 3794324e8b6deef5821e4534beda57acfa901a4a +Author: Damien Lespiau +Date: Thu Feb 19 10:59:50 2009 +0000 + + [build] Fix dist for the newly introduced m4 macro directory + + Makefile.am | 4 ++-- + build/autotools/Makefile.am | 1 + + 2 files changed, 3 insertions(+), 2 deletions(-) + +commit 9787660351c60bb684180b44a998ea847a1bdca1 +Author: Damien Lespiau +Date: Thu Feb 19 10:47:38 2009 +0000 + + [build] Fix interaction between shave, gtk-doc and libtool 1.x + + gtk-doc.make does not specify --tag=CC when invoking libtool, letting + it decide which tag to use. Something that fails with libtool 1.x and + when having CC set to funny things. + + autogen.sh | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 5bdcfd288cbd20a88e4ee2a37602d51abc67baf3 +Author: Emmanuele Bassi +Date: Wed Feb 18 18:45:58 2009 +0000 + + Initialize a variable to avoid warnings + + The gl_mode variable was not initialized, and the compiler complained + when using the anal-retentive compiler flags. + + clutter/cogl/gl/cogl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a86b9834d3c3dd7e83378a120ff53cb179b4e1fc +Author: Neil Roberts +Date: Wed Feb 18 17:57:17 2009 +0000 + + [ClutterBehaviourRotate] Fix up some breakage from the cogl-float branch merge + + The rotation angle calculated in clutter_behaviour_rotate_alpha_notify + gets applied to each actor using clutter_behaviour_actors_foreach. The + angle is a ClutterFixed value. Before the cogl float branch merge it + was stuffed into a gpointer using GPOINTER_TO_UINT. The pointer was + then converted back to a uint and cast to a ClutterFixed which worked + out fine even for negative numbers. + + After the cogl-float merge the angle is effectively a gfloat. This + gets cast to a uint and stored in a pointer and converted back to a + float via a uint at the other end. However this fails for negative + numbers because a uint -> float conversion can't take advantage of + overflow to preserve the sign so you end up with a large number. + + It also had the side effect that it only rotated in whole degrees. + + This commit fixes the problem by just passing the ClutterFixed value + inside a closure struct instead of trying to stuff it into a pointer. + + clutter/clutter-behaviour-rotate.c | 24 ++++++++++++++---------- + 1 file changed, 14 insertions(+), 10 deletions(-) + +commit 21768fb95751961cfa60abbc8a71d8e235798f10 +Author: Damien Lespiau +Date: Tue Feb 17 15:05:03 2009 +0000 + + [build] Add dolt + + From the homepage (http://dolt.freedesktop.org): Dolt provides a drop-in + replacement for libtool that significantly decreases compile times on + the platforms it supports. + + .gitignore | 2 + + build/autotools/dolt.m4 | 178 ++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 1 + + 3 files changed, 181 insertions(+) + +commit 8eec75efded2269a2b067175b2bdade03a022905 +Author: Damien Lespiau +Date: Tue Feb 17 14:56:35 2009 +0000 + + [build] Beautify autotools' output + + Use shave (http://git.lespiau.name/cgit/shave) to make compilation more + human friendly. + + Makefile.am | 2 ++ + build/Makefile.am | 1 + + build/autotools/.gitignore | 8 +++++ + build/autotools/Makefile.am | 11 +++++++ + build/autotools/shave-libtool.in | 70 ++++++++++++++++++++++++++++++++++++++++ + build/autotools/shave.in | 70 ++++++++++++++++++++++++++++++++++++++++ + build/autotools/shave.m4 | 36 +++++++++++++++++++++ + clutter/Makefile.am | 13 +++++--- + configure.ac | 7 ++++ + tests/conform/Makefile.am | 2 +- + 10 files changed, 214 insertions(+), 6 deletions(-) + +commit 468b6210b4c9b1a952553e7c6447c1db8a4b7037 +Author: Damien Lespiau +Date: Tue Feb 17 14:02:55 2009 +0000 + + [gitignore] update gitignore files for tests/ + + .gitignore | 1 + + tests/.gitignore | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 50 insertions(+) + +commit deed85035fc153287f73de46fdbac0c537a93a27 +Author: Neil Roberts +Date: Wed Feb 18 17:26:10 2009 +0000 + + Allow rotation angle properties to be negative + + Bug 1167 - clutter_effect_rotate improperly clamps negative angles + + The rotation angle properties had a minimum value of 0.0 but the + rotation works fine with a negative value so the limitation is + unnecessary. This makes rotation using the ClutterAnimation API more + flexible because it was previously not possible to rotate + counter-clockwise from the 0.0 position. + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 99248fa90f0b1418129e02bba8bd9bd5bdf18aea +Author: Neil Roberts +Date: Wed Feb 18 16:41:01 2009 +0000 + + Override the opacity when painting a clone instead of combining + + When rendering a clone before this commit the clone's opacity was + combined with the opacity of the source but this is not usually the + desired effect. Instead the clone's opacity (combined with its + parents) should completely override the opacity of the source. + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit c0672b66834a8457976c451b42e99982a9357563 +Author: Tomas Frydrych +Date: Wed Feb 18 16:54:18 2009 +0000 + + [x11] Only update cached last event time if we have a real timestamp. + + Ignore the timestamp if it is set to CurrentTime (e.g., when the last event + did not carry a timestamp). + + clutter/x11/clutter-event-x11.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit d2fe1fda3154a5dcfb72d154ec9b1211a2199444 +Author: Robert Bragg +Date: Wed Feb 18 16:06:11 2009 +0000 + + [cogl-color.c] #include fix for the cogl_set_source_color prototype + + cogl.h wasn't being included so we got a compiler warning + + clutter/cogl/common/cogl-color.c | 1 + + 1 file changed, 1 insertion(+) + +commit 03018f0c2a88f56ac02058a46fe226df0d33bdbf +Author: Robert Bragg +Date: Thu Feb 12 13:23:20 2009 +0000 + + [Cogl] Renames cogl_paint_init to cogl_clear and adds a cogl_disable_fog function + + cogl_paint_init was a bit too miscellaneous; it mainly cleared the color, depth + and stencil buffers but arbitrarily it also disabled fogging and lighting. + + It no longer disables lighting, since we know Cogl never enables lighting and + disabling of fog is now handled with a seperate function. + + Since I noticed cogl_set_fog was taking a density argument documented as + "Ignored" I've also added a mode argument to cogl_set_fog which exposes the + exponential fog modes which can make use of the density. + + README | 7 + + clutter/clutter-main.c | 3 +- + clutter/clutter-stage.c | 5 +- + clutter/clutter-texture.c | 5 +- + clutter/cogl/cogl.h.in | 245 +++++++++++++++++++++-------------- + clutter/cogl/gl/cogl.c | 27 +++- + clutter/cogl/gles/cogl.c | 32 ++++- + doc/reference/cogl/cogl-sections.txt | 29 +++-- + 8 files changed, 234 insertions(+), 119 deletions(-) + +commit 2b5a72dde5d6e33bed7935755a10905bcc2b0c23 +Author: Robert Bragg +Date: Thu Feb 12 11:08:00 2009 +0000 + + [Cogl] cogl_clip_{set*,unset} renamed to cogl_clip_{push*,pop} + + This is so they self document the stacking semantics of the cogl clip API + + README | 3 +++ + clutter/clutter-actor.c | 10 +++++----- + clutter/clutter-text.c | 8 ++++---- + clutter/cogl/cogl.h.in | 28 ++++++++++++++-------------- + clutter/cogl/common/cogl-clip-stack.c | 22 +++++++++++----------- + doc/reference/cogl/cogl-sections.txt | 8 ++++---- + tests/interactive/test-clip.c | 12 ++++++------ + 7 files changed, 47 insertions(+), 44 deletions(-) + +commit 57ffcdf014d3a1be3fc2ee6b85aa03b9a813dbdc +Author: Øyvind Kolås +Date: Tue Feb 17 12:00:08 2009 +0000 + + Added a mutex for clutter asynchronous textures threads. + + Bug #1453 - Asynchronous texture loading can starve cpu. + + Add a mutex that is held in the loader threads during the image + decoding. We were spawning and starting a thread for each asynchronously + loaded texture. This can cause cpu / memory starvation when many pixbuf + loaders allocate their temporary memory at the same time. + + Also added -fno-strict-aliasing to MAINTAINER_CFLAGS in configure.ac + to avoid incorrect warnings caused by the static mutex code. + + clutter/clutter-texture.c | 18 +++++++++++++++++- + configure.ac | 2 +- + 2 files changed, 18 insertions(+), 2 deletions(-) + +commit 2fe0228f92e5511df64dd010eb5ae5685a551631 +Author: Emmanuele Bassi +Date: Wed Feb 18 09:45:26 2009 +0000 + + [x11] Add backend-specific get_current_event_time() + + The clutter_get_current_event_time() function will return the event + timestamp coming from a Clutter event. Clutter might synthesize or + throttle events, so the function cannot be used when dealing with + backend-specific use cases. + + The X11 backend is the only backend supported by Clutter that makes + use of timestamps, so it's altogether fitting that it should come + with a specific function to deal with the timestamps of the X events. + + clutter/x11/clutter-backend-x11.c | 2 ++ + clutter/x11/clutter-backend-x11.h | 1 + + clutter/x11/clutter-event-x11.c | 67 ++++++++++++++++++++++++++++++++++++++- + clutter/x11/clutter-x11.h | 2 ++ + 4 files changed, 71 insertions(+), 1 deletion(-) + +commit 747233a8ace1a35233038fc55b0a8594fb1f4fea +Author: Neil Roberts +Date: Mon Feb 16 16:34:31 2009 +0000 + + [clutter-main] Fix the input device passed to set_motion_last_actor + + In generate_enter_leave_events it passes the device pointer from the + event to set_motion_last_actor but it was reading it directly from + event->motion.device. However the function is also used to process + button events so it would read from the wrong location in this case. + + The device location in the union happened to be in the same place as + the click_count field of ClutterButtonEvent so it only mattered if the + click_count is non-zero. The X11 backend doesn't set this but + Clutter-GTK does so it was causing a crash. + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1fcddb3b100d2d9d4e907f982988b4a15385d652 +Author: Neil Roberts +Date: Mon Feb 16 12:46:00 2009 +0000 + + [win32] Track mouse leave messages + + Bug 1178 - No enter / leave events on actors when pointer leaves the + stage window + + This patch causes the Win32 backend to emit CLUTTER_LEAVE events when + a WM_MOUSELEAVE event is received in the same way that f505536 does + for the X11 backend. + + Windows will only send WM_MOUSELEAVE events if they are previously + requested using TrackMouseEvent so this needs to be called whenever + the mouse enters the window. There is no WM_MOUSELEAVE event but we + can detect when the mouse enters because we get a WM_MOUSEMOVE event. + + clutter/win32/clutter-event-win32.c | 25 +++++++++++++++++++++++++ + clutter/win32/clutter-stage-win32.h | 1 + + 2 files changed, 26 insertions(+) + +commit 9e10dc402f4402f65d9ecfc0714b4a00c8bccf8e +Author: Neil Roberts +Date: Mon Feb 16 12:42:08 2009 +0000 + + Call glActiveTexture and glClientActiveTexture through cogl_get_proc_address + + All GL functions that are defined in a version later than 1.1 need to + be called through cogl_get_proc_address because the Windows GL DLL + does not export them to directly link against. + + clutter/cogl/common/cogl-material.c | 5 +++++ + clutter/cogl/common/cogl-vertex-buffer.c | 2 ++ + clutter/cogl/gl/cogl-context.c | 2 ++ + clutter/cogl/gl/cogl-context.h | 3 +++ + clutter/cogl/gl/cogl-defines.h.in | 8 ++++++++ + clutter/cogl/gl/cogl-texture.c | 2 ++ + clutter/cogl/gl/cogl.c | 12 +++++++++--- + clutter/cogl/gles/cogl-texture.c | 2 ++ + 8 files changed, 33 insertions(+), 3 deletions(-) + +commit 5d6a11e1bfad43d20b3a2cc4d8dbda09200c6cb8 +Author: Neil Roberts +Date: Thu Feb 12 17:21:18 2009 +0000 + + Emit CLUTTER_LEAVE events when the pointer leaves the stage + + Bug 1178 - No enter / leave events on actors when pointer leaves the + stage window + + The patch is mostly thanks to Johan Bilien with small modifications + based on suggestions by Owen Taylor. + + The X11 backend now listens for enter and leave notifications. Leave + notifications get translated directly to a CLUTTER_LEAVE + event. Clutter can detect these special events because the source + actor is NULL in which case it sets the source actor to the last known + actor and then sets the last known actor to NULL. + + Enter notifications just get translated to CLUTTER_MOTION events which + will cause Clutter to generate an enter event through the usual code + path. + + clutter/clutter-main.c | 68 ++++++++++++++++++++++++++++------------ + clutter/eglx/clutter-stage-egl.c | 2 ++ + clutter/glx/clutter-stage-glx.c | 2 ++ + clutter/x11/clutter-event-x11.c | 18 +++++++++++ + 4 files changed, 70 insertions(+), 20 deletions(-) + +commit 0c7e4172ab17ed2bfff625efce135c57e8fc3505 +Author: Emmanuele Bassi +Date: Mon Feb 16 11:02:20 2009 +0000 + + [animation] Do not bind construct-only properties + + ClutterAnimation should not try to bind construct-only properties, + since it only manipulates existing instances. + + clutter/clutter-animation.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 8f59f25beb3cfe8c7775e044050ff865f21991f3 +Author: Emmanuele Bassi +Date: Sat Feb 14 13:11:13 2009 +0000 + + [actor] Revert part of commit 402e022c + + An unintended chunk of commit 402e022c got committed before I looked + at the diff. + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 839d1e00b18528dd3da3694a5ca3b987cc0bee33 +Author: Christian Persch +Date: Sat Feb 14 12:55:20 2009 +0000 + + Bug 1429 - Redundant declaration in clutter-x11.h + + clutter-x11.h declares clutter_x11_set_display twice, which means code using + clutter doesn't compile cleanly with -Wredundant-decls. + + Signed-off-by: Emmanuele Bassi + + clutter/x11/clutter-x11.h | 2 -- + 1 file changed, 2 deletions(-) + +commit cd0fdbb7d50d2fae6b6d8b9099aa4a43105538e3 +Author: Owen W. Taylor +Date: Fri Feb 13 14:14:43 2009 -0500 + + Honor ACLOCAL_FLAGS in autogen.sh + + autoreconf doesn't pay attention to the ACLOCAL_FLAGS variable that + jhbuild (for example) sets. Pass those flags into autoreconf by + setting ACLOCAL appropriately. + + autogen.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 46ce2ee737541554b75801c8797c41d3aed85661 +Author: Shane Bryan +Date: Tue Feb 3 17:04:58 2009 -0800 + + Bug 1434 - _NET_WM_NAME not set before realize + + Moved clutter_stage_set_title() before call to clutter_actor_realize() + to ensure _NET_WM_NAME is set early enough for use by interested WM's, + + Signed-off-by: Shane Bryan + Signed-off-by: Emmanuele Bassi + + clutter/clutter-main.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 888d900cb3086e046dd102c115c9ab4443289c48 +Author: Emmanuele Bassi +Date: Sat Feb 14 11:47:53 2009 +0000 + + [ignore] Add the newly created conformance units + + .gitignore | 3 +++ + 1 file changed, 3 insertions(+) + +commit e16e9b8bfcb2c47e4a440e2c4c1e9f0223dcf59e +Author: Emmanuele Bassi +Date: Sat Feb 14 11:45:27 2009 +0000 + + [tests] Add conformance tests for ClutterModel + + ClutterModel has an interactive test but lacks a conformance + unit for automatic testing. + + This is the beginning of that unit, which covers the population + and iteration over a ListModel. + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 3 + + tests/conform/test-model.c | 211 ++++++++++++++++++++++++++++++++++++++ + 3 files changed, 215 insertions(+) + +commit 28dd557d8fea0041ca15c9297be60632806c9102 +Author: Emmanuele Bassi +Date: Sat Feb 14 11:41:55 2009 +0000 + + [tests] Add TEST_CONFORM_SKIP() macro + + Sometimes a test unit should not be executed depending on a + condition. It would be good to have a macro doing this, along + with TEST_CONFORM_SIMPLE(). + + Additionally, the skipped unit should be added to a specific + namespace, so that any coverage report will be able to catch it. + + For this reason, here's TEST_CONFORM_SKIP() which follows the + syntax: + + TEST_CONFORM_SKIP (condition, namespace, function); + + If condition evaluates to FALSE the test is skipped and the + unit added to the "/skipped" namespace. + + tests/conform/test-conform-main.c | 36 +++++++++++++++++++++++++++--------- + 1 file changed, 27 insertions(+), 9 deletions(-) + +commit 9da564b391fc860492c08ff4a779c4d6163e28d2 +Author: Emmanuele Bassi +Date: Sat Feb 14 11:38:16 2009 +0000 + + Bug 1440 - Add clutter_get_current_event_time() + + The clutter_get_current_event_time() is a global function for + retrieving the timestamp of the current event being propagated + by Clutter. Such function avoids the need to propagate the + timestamp from within user code. + + clutter/clutter-event.c | 22 ++++++++++++++++++++++ + clutter/clutter-event.h | 2 ++ + clutter/clutter-main.c | 2 ++ + clutter/clutter-private.h | 2 ++ + 4 files changed, 28 insertions(+) + +commit 0ac6d6637e4c0c4c41cc320a8ac59a4e9ca5836c +Author: Emmanuele Bassi +Date: Sat Feb 14 11:31:00 2009 +0000 + + [list-model] Make ClutterListModel subclassable + + ClutterListModel has been added as a terminal class in case we + decided to change API or implementation. + + Apparently, it's a lot more resilient than we expected -- or far + too few are using it and reporting bugs. Once common issue, though, + is that it cannot be subclassed, hence it's fairly limited in its + usage. + + In the hope that more developers will start using it, here's a + patch that makes ListModel a fully subclassable object. + + May whatever god you believe in have mercy on your eventual soul. + + clutter/clutter-list-model.c | 63 +++++++++++++++++++++----------------------- + clutter/clutter-list-model.h | 41 +++++++++++++++++++++++++--- + 2 files changed, 67 insertions(+), 37 deletions(-) + +commit f17437124ecc4d8cd41c098d10fa8b630e9bea9d +Author: Robert Staudinger +Date: Thu Feb 12 12:42:58 2009 +0000 + + [build] Add cogl.h to the built sources list + + The main COGL header file is generated at configure time. If something + changes in the template, though, the file will not be regenerated. + + Adding cogl.h to the BUILT_SOURCES list will allow the regeneration to + happen. + + clutter/cogl/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 402e022c36a4b38864cddf6bd8299f75268c5519 +Author: Emmanuele Bassi +Date: Wed Feb 11 17:56:22 2009 +0000 + + [actor] Check out parameters before setting them + + The clutter_actor_get_rotation() out parameters may be NULL, so + we need to check before dereferencing them. + + clutter/clutter-actor.c | 17 +++++++++++------ + 1 file changed, 11 insertions(+), 6 deletions(-) + +commit 82db27874b3feda0c3b35400699d83e7668987cc +Author: Emmanuele Bassi +Date: Wed Feb 11 17:54:52 2009 +0000 + + [event] Extend KeyEvent for multi-input support + + Key events can come from different input devices, so they need a + ClutterInputDevice member like the pointer-related events. This + field is reserved for future use. + + clutter/clutter-event.h | 2 ++ + 1 file changed, 2 insertions(+) + +commit 55909581020cb66c9f97f8f3485c4b46fb6ccb2b +Author: Emmanuele Bassi +Date: Wed Feb 11 17:52:50 2009 +0000 + + [texture] Check if the material is valid + + The CoglMaterial handle might be invalid when we are disposing + the ClutterTexture, so we need to check before calling any + cogl_material_* API on it. + + clutter/clutter-texture.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 29bff6890add38daaf83ab3d3695286d54c98e2f +Author: Emmanuele Bassi +Date: Fri Feb 6 13:50:16 2009 +0000 + + [texture] Consolidate the quality to filter conversions + + To convert from a TextureQuality to a COGL filter enumeration + we need to perform two function calls. Since we need both filters + when calling cogl_texture_set_filters() we can safely consolidate + the two conversion functions into one. This also allows using a + shorter function name, thus reducing the lenght of the lines + involved and, more importantly preventing Emmanuele from crying. + + clutter/clutter-texture.c | 100 +++++++++++++++++++++++++++------------------- + 1 file changed, 59 insertions(+), 41 deletions(-) + +commit 41ef2ef58788eb3ef6c7cb25c706dfbfa8d14b71 +Author: Robert Bragg +Date: Wed Feb 11 12:58:18 2009 +0000 + + [tests] Some improvements for test-pixmap + + The test no longer requires an XID argument to run; instead it creates its + own X Window. The test now also aims to demonstrate whether mipmapping is + working, and clearly informs you if fallbacks are being used for GLX tfp. + + tests/interactive/test-pixmap.c | 163 ++++++++++++++++++++++++++++------------ + 1 file changed, 115 insertions(+), 48 deletions(-) + +commit b4f9c8204de6fbcf20c2dcb5074e035fb8859668 +Author: Robert Bragg +Date: Fri Feb 6 11:16:42 2009 +0000 + + [docs] Various gtk-doc updates for Cogl + + This hides a number of internal structs and enums from the docs, and moves + some functions to more appropriate sections as well as misc description + updates (mostly for the vertex buffer api) + + clutter/cogl/cogl-color.h | 55 ------------- + clutter/cogl/cogl-material.h | 109 ++++++++++++------------- + clutter/cogl/cogl-matrix.h | 8 +- + clutter/cogl/cogl-vertex-buffer.h | 154 +++++++++++++++++------------------ + clutter/cogl/cogl.h.in | 94 +++++++++++++++++++++ + doc/reference/cogl/cogl-docs.sgml | 10 +-- + doc/reference/cogl/cogl-sections.txt | 104 +++++++++++------------ + 7 files changed, 283 insertions(+), 251 deletions(-) + +commit d01e3cd802619fb2bcccc5503c49f3d22165dd29 +Author: Robert Bragg +Date: Fri Feb 6 16:10:28 2009 +0000 + + [cogl-vertex-buffer] Some fixes for texturing and color arrays + + Fixes some blending issues when using color arrays since we were + conflicting with the cogl_enable state + fixes a texture layer + validation bug. + + Adds a basic textured triangle to test-vertex-buffer-contiguous. + + clutter/cogl/common/cogl-vertex-buffer.c | 19 +++++------- + tests/conform/test-vertex-buffer-contiguous.c | 42 +++++++++++++++++++++++++-- + 2 files changed, 47 insertions(+), 14 deletions(-) + +commit 4a110afe08f9e141ae1ac596f030592aaac65769 +Author: Robert Bragg +Date: Fri Feb 6 16:05:08 2009 +0000 + + [cogl-material] Fixes some dirty flag checks + + Flushing material layers wasn't clearing the right dirty flag and + some of the tests used to avoid re-submitting GL state weren't + complete. + + clutter/cogl/common/cogl-material.c | 98 ++++++++++++++++++++++++------------- + 1 file changed, 63 insertions(+), 35 deletions(-) + +commit fa55c096d87796ce904ece831547f0cdb2799ff1 +Author: Robert Bragg +Date: Wed Feb 4 09:21:37 2009 +0000 + + [Cogl] Renames cogl_fog_set to cogl_set_fog for consistency + + More things follow the _set_ convention. + + clutter/clutter-stage.c | 2 +- + clutter/cogl/cogl.h.in | 10 +++++----- + clutter/cogl/gl/cogl.c | 8 ++++---- + clutter/cogl/gles/cogl.c | 8 ++++---- + 4 files changed, 14 insertions(+), 14 deletions(-) + +commit 51edcc525115e431bb22d996af1e01a1cf8de4ac +Author: Neil Roberts +Date: Mon Feb 9 12:47:41 2009 +0000 + + Added a test for non-power-of-two sized textures + + The test simply creates an odd sized texture with different colors at + each of the four corners. It then renders the texture and verifies + that the colors are the expected values. This should help ensure that + the sliced texture rendering code is working properly. + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-npot-texture.c | 210 ++++++++++++++++++++++++++++++++++++++ + 3 files changed, 212 insertions(+) + +commit 0be6f42070c3aa0ba6bcb02aa65e63c6572d83d0 +Author: Neil Roberts +Date: Thu Feb 5 23:01:59 2009 +0000 + + [cogl-texture] Fix uninitialised priv var in texture_finalize + + Fix my failure to initialise the priv var which was some causing + crashes. + + clutter/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a2168686b918b8f66210650296d299603db3eab8 +Author: Neil Roberts +Date: Thu Feb 5 20:24:18 2009 +0000 + + [cogl-texture] Move the destruction of the material to _finalize + + Otherwise if the dipose method is called twice the material will + already be destroyed when texture_free_gl_resources is called so it + will issue a warning about an invalid handle. + + clutter/clutter-texture.c | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +commit 05c7e5a97c0c059ed2f1fd20f55beae22eaf83c1 +Author: Neil Roberts +Date: Thu Feb 5 19:48:00 2009 +0000 + + [cogl-texture] Fix offset to next quad when flushing the log + + When the quad log contains multiple textures (such as when a sliced + texture is drawn) it dispatches the log with multiple calls to + flush_quad_batch and walks a pointer along the list of vertices. + However this pointer was being incremented by only one vertex so the + next quad would be drawn with three of the vertices from the last + quad. + + clutter/cogl/gl/cogl-texture.c | 4 ++-- + clutter/cogl/gles/cogl-texture.c | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit a4de12dbe8165c3acd453804af36d46e4405b1ba +Author: Neil Roberts +Date: Thu Feb 5 20:00:05 2009 +0000 + + [clutter-texture] Fix the no_slice property + + The 'no_slice' property means the texture should never be sliced. We + want cogl to create a texture with any amount of waste so we pass + max_waste as -1. However this got broken in commit 168d55 so that the + meaning got negated (no_slice enabled slicing). + + clutter/clutter-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 6bc7f4c723de90c41afa622dc3451ad7697786e0 +Author: Chris Lord +Date: Thu Feb 5 11:04:34 2009 +0000 + + [actor] Force a relayout on set_parent() + + The current code that handles the invariant that the new parent + of an actor needing a layout should also be queued for relayout + is hitting the short-circuiting we do in the queue_relayout() + method. + + In order to fix this we can forcibly set the actor to need a + width/height request and an allocation; then we queue a relayout + on the parent. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 9cf02bfdb9a65500688fde1c4485f6cc968c385f +Author: Emmanuele Bassi +Date: Mon Feb 2 23:55:30 2009 +0000 + + [text] Rename :alignment to :line-alignment + + The :alignment property is prone to generate confusion: developers + will set it thinking that the contents of a ClutterText will + automagically align themselves. + + Instead of using the generic term :alignment, and following the + GTK+ convention, we should use a more specific term, conveying the + actual effect of the property: alignment of the lines with respect + to each other, and not to the overall allocated area. + + See bug 1428: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1428 + + clutter/clutter-text.c | 40 ++++++++++++++++-------------- + clutter/clutter-text.h | 4 +-- + doc/reference/clutter/clutter-sections.txt | 4 +-- + tests/conform/test-text-cache.c | 3 ++- + tests/interactive/test-rotate.c | 7 ++++-- + 5 files changed, 32 insertions(+), 26 deletions(-) + +commit e3496429372b565724b20a3df50720ff434e543e +Author: Neil Roberts +Date: Thu Feb 5 18:27:04 2009 +0000 + + [clutter-texture] Unref the Cogl material on dispose + + The material is created in the _init function and is owned by the + ClutterTexture so it will be leaked if not freed. + + clutter/clutter-texture.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit ee0bf5e26d73b47627f0655dd3c8a4c2377b3256 +Author: Neil Roberts +Date: Thu Feb 5 18:26:08 2009 +0000 + + [clutter-texture] Release the temporary ref taken when setting a texture + + When setting the cogl texture, the ClutterTexture takes a reference to + the Cogl handle but the material takes an additional reference when it + is set as the layer. Nothing was unrefing the temporary reference so + the textures were being leaked. + + clutter/clutter-texture.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 8feb99722c9c0308f5be4ec9f78106c30c909a79 +Author: Neil Roberts +Date: Wed Feb 4 00:14:16 2009 +0000 + + [clutter-clone] Override the parent opacity to self not self->parent + + The opacity of the source actor when painted from the clone should be + combined with the opacity of the clone as well as the clone's parents, + instead of just the parents. + + clutter/clutter-clone.c | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +commit 8e44874a934d1bae5d90c31b230e3741b863d662 +Author: Neil Roberts +Date: Mon Feb 2 22:02:47 2009 +0000 + + [cogl-gles2-wrapper] Remove the FIXME to adjust the fragment color + + Removed some debugging code which sets the r and g values to 1 in the + fragment shader. + + clutter/cogl/gles/cogl-gles2-wrapper.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 49359407b0b1e4c56d2af56cbb62e8d855c58812 +Author: Neil Roberts +Date: Mon Feb 2 22:01:47 2009 +0000 + + [cogl-texture] Fix the count for the number of enabled arrays + + The quad drawing code keeps track of the number of texture units that + have the tex coord array enabled so that in the next call it can + disabled any that are no longer enabled. However it was using 'i+1' as + the count but 'i' is already set to 'n_layers' from the previous for + loop. + + Therefore it was disabling an extra texture unit. This doesn't + normally matter but it was causing GLES 2 to pointlessly realize an + extra unit. + + clutter/cogl/gles/cogl-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e88de5f5fd97823c8bb6fe1452421a455212da86 +Author: Neil Roberts +Date: Thu Jan 29 13:40:37 2009 +0000 + + Fix building GLES 2 after the material branch merge + + - In cogl-material.h it directly sets the values of the + CoglMaterialLayerCombineFunc to some GL_* constants. However these + aren't defined in GLES 2 beacuse it has no fixed function texture + combining. Instead the CGL_* versions are now used. cogl-defines.h + now sets these to either the GL_* version if it is available, + otherwise it directly uses the number. + + - Under GLES 2 cogl-material.c needs to access the CoglTexture struct + so it needs to include cogl-texture-private.h + + - There are now #define's in cogl-gles2-wrapper.h to remap the GL + function names to the wrapper names. These are disabled in + cogl-gles2-wrapper.c by defining COGL_GLES2_WRAPPER_NO_REMAP. + + - Added missing wrappers for glLoadMatrixf and glMaterialfv. + + - Renamed the TexEnvf wrapper to TexEnvi because the latter is used + instead from the material API. + + clutter/cogl/cogl-material.h | 22 ++-- + clutter/cogl/common/cogl-material.c | 3 +- + clutter/cogl/common/cogl-vertex-buffer.c | 9 +- + clutter/cogl/gl/cogl-defines.h.in | 3 + + clutter/cogl/gles/cogl-defines.h.in | 199 ++++++++++++++++++++++++++++--- + clutter/cogl/gles/cogl-gles2-wrapper.c | 32 ++++- + clutter/cogl/gles/cogl-gles2-wrapper.h | 106 ++++++++++------ + 7 files changed, 297 insertions(+), 77 deletions(-) + +commit edbe9a0377981d279d129f825e61f51f16d198de +Author: Neil Roberts +Date: Mon Feb 2 14:51:52 2009 +0000 + + [cogl-material] Always bind the new texture handle + + Cogl previously tried to cache the currently bound texture when + drawing through the material API to avoid excessive GL calls. However, + a few other places in Cogl and Clutter rebind the texture as well so + this can cause problems. + + This was causing shaped windows to fail in Mutter because + ClutterGLXTexturePixmap was binding a different texture to update it + while the second texture unit was still active which meant the mask + texture would not be selected when the shaped window was drawn + subsequent times. + + Ideally we would fix this by providing a wrapper around glBindTexture + which would affect the cached value. The cache would also have to be + cleared if a selected texture was deleted. + + clutter/cogl/common/cogl-material.c | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +commit 2747aa7be235de77b33433821f1756b9c923a2ae +Author: Emmanuele Bassi +Date: Mon Feb 2 12:04:34 2009 +0000 + + [text] Use create_pango_layout() + + Since we added clutter_actor_get_pango_layout() it would be a + good idea to use it in the ClutterText actor to cut down the + PangoContext-related calls. + + clutter/clutter-text.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit 6e12722a9b7135abdd43f3777476780c74080163 +Author: Emmanuele Bassi +Date: Mon Feb 2 11:59:39 2009 +0000 + + [clone] Allow cloning unparented actors + + If the source of a ClutterClone does not have a parent actor the + clone will be unable to paint it because it's missing an allocation. + + A simple way to fix it is to make the ClutterClone act like a + "foster parent": when it is allocated it will check if the source + actor has a parent and if not it will allocate the source with + its preferred size. + + clutter/clutter-clone.c | 52 +++++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 42 insertions(+), 10 deletions(-) + +commit b053d513214e764a44b82b312c948199f6a1f03f +Author: Emmanuele Bassi +Date: Mon Feb 2 11:08:37 2009 +0000 + + [docs] Add clutter_text_set_markup() + + The clutter_text_set_markup() has been added to the public API, and + should be listed in the ClutterText section of the API reference. + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 801e535e947e32fea5fe2859e94c58f7b7c8af4f +Author: Emmanuele Bassi +Date: Mon Feb 2 09:01:41 2009 +0000 + + Add Actor::create_pango_layout() + + Final bit of integration between ClutterActor and Pango: a simple + method for creating a PangoLayout, pre-filled with text and ready + to be rendered using cogl_pango_render_layout(). + + This should make writing new Actors rendering custom text in their + paint() implementation easy and reliable. + + clutter/clutter-actor.c | 38 ++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 41 insertions(+) + +commit 52d04b575094e2ad742af132e32e79497afa89de +Author: Emmanuele Bassi +Date: Thu Jan 29 13:29:43 2009 +0000 + + [tests] Update the text-field interactive test + + We should also display the results of calling set_markup() or + set_use_markup() on ClutterText actors. + + tests/interactive/test-text-field.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 488de99fc6be704d2817ffbfc380f876cb028e05 +Author: Emmanuele Bassi +Date: Thu Jan 29 13:18:57 2009 +0000 + + [text] Merge the attributes with markup enabled + + ClutterText should merge the PangoAttributes set by using + clutter_text_set_attributes() with the attributes generated by + parsing Pango markup. + + For this to work we must parse the markup and merge the attributes + we get out of pango_parse_markup() with the attributes set by + the user. + + Setting the markup or the attributes on an editable text should + not work for the time being. + + clutter/clutter-text.c | 267 +++++++++++++++++++++++++++++++++++-------------- + clutter/clutter-text.h | 2 + + 2 files changed, 195 insertions(+), 74 deletions(-) + +commit e8ef5153b162a05d18d8763003c7ad3cced5132a +Author: Tomas Frydrych +Date: Thu Jan 29 12:25:18 2009 +0000 + + Fix clutter_x11_texture_pixmap_get/set_property() following change of PROP_WINDOW type. + PROP_WINDOW is now gulong, so we need to use appropriate GValue accessors. + + clutter/x11/clutter-x11-texture-pixmap.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c1de33fafeab620a146346c38b5b1637276d90c4 +Author: Tomas Frydrych +Date: Tue Jan 27 16:37:55 2009 +0000 + + Fixed handling of enter and leave events in clutter_x11_handle_event() + When processing a motion event, we need to spin the event loop two extra + times to ensure that any enter/leave events that might have been synthesized + are pumped through (otherwise they end up being pushed down the queue and + never processed). + + clutter/x11/clutter-event-x11.c | 13 +++++++++++-- + 1 file changed, 11 insertions(+), 2 deletions(-) + +commit 7233ca48a8686a972d6eaed41aa70452d0447273 +Author: Emmanuele Bassi +Date: Fri Jan 30 14:18:46 2009 +0000 + + Post-release bump to 0.9.1 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 81cfccd29094bb7dff69b60dcdd0bbfeb92f6b40 +Author: Emmanuele Bassi +Date: Fri Jan 30 12:39:29 2009 +0000 + + Update README + + README | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f77428991c36b05e7e289c6f69df4bb2da3d5e0a +Author: Robert Bragg +Date: Thu Jan 29 16:24:24 2009 +0000 + + Some updates for the 1.0 release notes regarding Cogl + + Documents that the cogl_rectangle arguments changed from x1, y1, width, height + to x1, y1, x2, y2; notes that cogl_scale now accepts a z-scale; adds a note + about the new vertex buffer API and fixes a s/CoglMesh/CoglMatrix/ typo. + + README | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit bec9b32e73eb521ba7dc06af825b1643bfc5b6c4 +Author: Emmanuele Bassi +Date: Thu Jan 29 16:15:05 2009 +0000 + + [build] Fix distcheck of ChangeLog + + Relax the copy failure condition. + + Makefile.am | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit bb6202a1a177c2537954f9db577c2712f7cd47ee +Author: Emmanuele Bassi +Date: Thu Jan 29 16:00:15 2009 +0000 + + Add cogl-material-private.h to the source files + + The material-private.h file was not added to the dist files and + caused a build failure. + + clutter/cogl/common/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 2b02dfce840810f8651fc77fbf1260d8d0fa3984 +Author: Emmanuele Bassi +Date: Thu Jan 29 15:44:11 2009 +0000 + + [gitignore] Update ignore file + + .gitignore | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit cf80105ab0e913c1642481f36d328ec31684eed0 +Author: Emmanuele Bassi +Date: Thu Jan 29 15:38:28 2009 +0000 + + [build] Add automatic ChangeLog generation on dist + + Since we moved to Git from Subversion we've abandoned the ChangeLog + file in favour of a more detailed commit log. + + In order to maintain a ChangeLog for users of the tarballs, we need + to generate a ChangeLog file out of the commit log when distchecking + a Clutter release. + + For this reason, we use a simple Perl script that is invoked by the + dist-hook and generates a ChangeLog file starting from the previous + stable release. + + Makefile.am | 31 +++++++++++ + build/gen-changelog.pl | 148 +++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 179 insertions(+) + +commit 86aba661bd2b7eb4506aeeb9cd0d884db6118267 +Author: Emmanuele Bassi +Date: Thu Jan 29 13:31:11 2009 +0000 + + Fix a variable masking warning + + The usual issue with math.h defined symbols. + + clutter/cogl/common/cogl-primitives.c | 15 +++++++-------- + 1 file changed, 7 insertions(+), 8 deletions(-) + +commit 945d2616e3e417ff0550911b5a7d04d4817aa7a3 +Author: Emmanuele Bassi +Date: Wed Jan 28 17:01:26 2009 +0000 + + Move the old ChangeLog into its own file + + The old ChangeLog is there to track the project history when it + was in SVN -- also because the commit messages we imported from + Subversion were not that great. + + Unfortunately, we need a ChangeLog for autotools to work in + GNU mode; for this reason, we can use a dummy ChangeLog redirecting + to git log. + + The ChangeLog will be generated on release from the commit + messages, for users of the tarballs. + + ChangeLog | 15747 +------------------------------------------------------- + ChangeLog.SVN | 15737 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Makefile.am | 7 +- + 3 files changed, 15746 insertions(+), 15745 deletions(-) + +commit f1bae778cea59a652af34948ed4addba212f8e89 +Author: Neil Roberts +Date: Thu Jan 29 12:21:56 2009 +0000 + + [cogl] Add an NULL terminator to the call to material_flush_gl_state + + This fixes a compiler warning and a potential crash. + + clutter/cogl/gl/cogl.c | 2 +- + clutter/cogl/gles/cogl.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 6516dd3033f3b8e85a7b53e5576b11323b8a4579 +Author: Robert Bragg +Date: Wed Jan 28 14:09:51 2009 +0000 + + Another Cogl gl vs gles normalizaion pass + + This tries to make a number of files more comparable with the intention of + moving some code into cogl/common/ + + Files normalized: + cogl.c + cogl-context.c + cogl-context.h + cogl-texture.c + + clutter/cogl/gl/cogl-context.h | 13 ++- + clutter/cogl/gl/cogl-texture.c | 33 ++++-- + clutter/cogl/gl/cogl.c | 43 +++++-- + clutter/cogl/gles/cogl-context.c | 8 +- + clutter/cogl/gles/cogl-texture.c | 244 ++++++++++++++++++++++----------------- + clutter/cogl/gles/cogl.c | 26 ++++- + 6 files changed, 233 insertions(+), 134 deletions(-) + +commit 081f2056bc1c1b98337b6a18a37cfe4e76fd3cd4 +Author: Robert Bragg +Date: Tue Jan 27 11:07:22 2009 +0000 + + Removes cogl_color_set_from_4d as it may mislead people. + + Someone not sure which cogl_color_set_from_* version is "best" may use + set_from_4d because taking doubles implies higher precision. Currently + it doesn't have any advantage. + + clutter/cogl/cogl-color.h | 17 ----------------- + clutter/cogl/common/cogl-color.c | 15 --------------- + 2 files changed, 32 deletions(-) + +commit ef4052c18d54e6ee6cf96c2c1b3d7db81b98dc1e +Author: Robert Bragg +Date: Wed Jan 28 14:47:03 2009 +0000 + + Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height + + This makes it consistent with cogl_rectangle_with_{multi,}texture_coords. + Notably the reason cogl_rectangle_with_{multi,}texture_coords wasn't changed + instead is that the former approach lets you describe back facing rectangles. + (though technically you could pass negative width/height values to achieve + this; it doesn't seem as neat.) + + clutter/clutter-rectangle.c | 12 ++++----- + clutter/clutter-text.c | 9 ++++--- + clutter/cogl/cogl-path.h | 16 +++++------ + clutter/cogl/common/cogl-primitives.c | 13 +++++---- + clutter/cogl/gl/cogl-primitives.c | 10 ++++--- + clutter/cogl/gles/cogl-primitives.c | 10 ++++--- + clutter/cogl/gles/cogl.c | 8 +++--- + clutter/pango/cogl-pango-render.c | 2 +- + tests/conform/test-backface-culling.c | 6 ++--- + tests/conform/test-binding-pool.c | 4 +-- + tests/interactive/test-binding-pool.c | 4 +-- + tests/interactive/test-cogl-offscreen.c | 48 ++++++++++++++++----------------- + tests/interactive/test-paint-wrapper.c | 2 +- + 13 files changed, 75 insertions(+), 69 deletions(-) + +commit 6048a0544a3eaf8e83c6be9889b624525476cec6 +Author: Robert Bragg +Date: Wed Jan 28 13:46:39 2009 +0000 + + Adds some debug code to _cogl_journal_flush_quad_batch + + The code is #if 0 guarded, but when uncommented it outlines all drawn + rectangles with an un-blended red, green or blue border. This may e.g. help + with debugging texture slicing issues or blending issues, plus it looks quite + cool. + + clutter/cogl/gl/cogl-texture.c | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +commit 0530405899d0399f97ff744eb88cb8674a423821 +Author: Emmanuele Bassi +Date: Wed Jan 28 16:44:22 2009 +0000 + + [clutter-docs] Update the animation tutorial + + The Alpha API and usage has been changed by the recent overhaul + of the ClutterAlpha class; hence, we need to update the relative + documentation in the animation tutorial. + + .../clutter/clutter-animation-tutorial.xml | 84 ++++------------------ + 1 file changed, 13 insertions(+), 71 deletions(-) + +commit b09ee495a5f0914b347b053533c6ebd3d6922012 +Author: Emmanuele Bassi +Date: Wed Jan 28 16:43:05 2009 +0000 + + [cogl-docs] Add the Materials section + + The COGL Materials API was not linked from the COGL reference + index. + + doc/reference/cogl/cogl-docs.sgml | 1 + + 1 file changed, 1 insertion(+) + +commit 7f6870fb4b6ddcdad2977582a6f533c928bdf0ff +Author: Emmanuele Bassi +Date: Wed Jan 28 15:19:24 2009 +0000 + + Update the pkg-config requires list + + Clutter depends on various libraries, some of them backend-specific + like the X11 libraries. + + Whenever possible, we should add those requirements to the pkg-config + file. For this reason, we have a variable inside the configure.ac + template file which should be filled with the backend-specific modules + we check for during configure time, and then added to the standard + list of dependencies that we write inside the clutter.pc file. + + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +commit e30c5b33b90ee27a95d46d156a41e5d14c6c69ed +Author: Neil Roberts +Date: Wed Jan 28 16:24:02 2009 +0000 + + Undeprecate clutter_actor_set_scale_with_gravity + + The scale center has returned so this function is available again but + it was still deprecated so you couldn't use it. + + clutter/clutter-deprecated.h | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 3e68b23ea8f290a70ba67dff4ed304fe1eb72bb6 +Merge: 811dd7eed 1cd313477 +Author: Neil Roberts +Date: Wed Jan 28 09:08:19 2009 +0000 + + Merge branch 'scale-center' + + Bug 1349 - Using the anchor point to set the scale center is messy + + The branch adds an extra center point for scaling which can be used + for example to set a scale about the center without affecting the + position of the actor. + + The scale center can be specified as a unit offset from the origin or + as a gravity. If specified as a gravity it will be stored as a + fraction of the actor's size so that the position will track when the + actor changes size. + + The anchor point and rotation centers have been modified so they can + be set with a gravity in the same way. However, only the Z rotation + exposes a property to set using a gravity because the other two + require a Z coordinate which doesn't make sense to interpret as a + fraction of the actor's width or height. + + Conflicts: + + clutter/clutter-actor.c + +commit 1cd313477b2818b9117a1f0bbeeb113553ac447e +Author: Neil Roberts +Date: Wed Jan 28 15:25:38 2009 +0000 + + [clutter-actor] Use G_STMT_START/END instead of do { } while (0) + + In the TRANSFORM_ABOUT_ANCHOR_COORD macro it now uses G_STMT_START and + G_STMT_END instead of directly using do/while because it's more + readable. + + clutter/clutter-actor.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 811dd7eedc9338110510f02967270ffb5b4d09b7 +Author: Emmanuele Bassi +Date: Wed Jan 28 14:36:45 2009 +0000 + + Update NEWS file + + NEWS | 138 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 137 insertions(+), 1 deletion(-) + +commit 8b0de3491e2a857891f8fbc155886a8922ca5dff +Author: Emmanuele Bassi +Date: Wed Jan 28 14:07:23 2009 +0000 + + Update the release notes for 1.0 + + Add items about the ClutterBehaviourBspline and ClutterEffect + API removals. + + README | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit d7c275f5e55ac90e0ca89b637eabc9d8edce4d77 +Author: Neil Roberts +Date: Wed Jan 28 12:57:06 2009 +0000 + + [cogl-texture] Fix order of tex coords when compensating for waste + + When drawing a texture with waste in _cogl_multitexture_unsliced_quad + it scales the texture coordinates so that the waste is not + included. However the formula was the wrong way around so it was + calculating as if the texture coordinates are ordered x1,x2,y1,y2 but + it is actually x1,y1,x2,y2. + + clutter/cogl/gl/cogl-texture.c | 4 ++-- + clutter/cogl/gles/cogl-texture.c | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 561c441241a2d6510075f07d154a8bbaa89a0596 +Author: Neil Roberts +Date: Wed Jan 28 12:06:39 2009 +0000 + + [text-backface-culling] Fix width/height parameters to cogl_rectangle + + During the upgrade to cogl material, test-backface-culling was + switched to use cogl_rectangle instead of cogl_texture_rectangle to + draw the textures. However, cogl_rectangle takes a width and height + instead of the the top-left and bottom-right vertices so the + rectangles were being drawn in the wrong place. + + tests/conform/test-backface-culling.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit e72042648c2d481e7be3f395f080e798cea82c46 +Author: Neil Roberts +Date: Wed Jan 28 12:00:01 2009 +0000 + + [cogl-texture] Reset size of vertex log after drawing a polygon + + Otherwise trying to render a rectangle after a polygon doesn't work + because it expects the array to be empty when it starts logging + vertices. + + clutter/cogl/gl/cogl-texture.c | 4 ++++ + clutter/cogl/gles/cogl-texture.c | 4 ++++ + 2 files changed, 8 insertions(+) + +commit eda1d08f76f0636b9a273f3c673214f9c5def11d +Author: Neil Roberts +Date: Wed Jan 28 11:29:49 2009 +0000 + + Fix rectangles_with_multitexture_coords for sliced without tex coords + + When the texture is sliced it drops back to a fallback function and + passes it the texture coordinates from the rectangle. However if no + tex coords are given it would crash. Now it passes the default + 0.0->1.0 tex coords instead. + + clutter/cogl/gl/cogl-texture.c | 23 +++++++++++++++-------- + clutter/cogl/gles/cogl-texture.c | 23 +++++++++++++++-------- + 2 files changed, 30 insertions(+), 16 deletions(-) + +commit 7df19876522dcbfc2c158ec6dacf0f7d98ca3365 +Author: Neil Roberts +Date: Wed Jan 28 11:09:47 2009 +0000 + + Fix _cogl_texture_unsliced_quad when no texture coordinates are given + + If no texture coordinates are given then texture_unsliced_quad tries + to generate its own coordinates. However it also tries to read the + texture coordinates to check if they are in [0.0,1.0] range so it will + crash before it reaches that. + + clutter/cogl/gl/cogl-texture.c | 11 +++++++---- + clutter/cogl/gles/cogl-texture.c | 11 +++++++---- + 2 files changed, 14 insertions(+), 8 deletions(-) + +commit 9b7fa2cb048f7318a701db8664982423202d0e11 +Author: Emmanuele Bassi +Date: Wed Jan 28 11:56:12 2009 +0000 + + Reuse the layers list + + Instead of getting the layers list twice from the Material, we + can reuse the list when we need to retrieve the first layer. + + clutter/cogl/gl/cogl-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit b3e02869cd00c0f5a163cdaffe6b9837bb1e9982 +Author: Emmanuele Bassi +Date: Wed Jan 28 11:55:19 2009 +0000 + + Remove gtk-doc annotation + + The _cogl_material_flush_layers_gl_state() function is static, + so it should not have a gtk-doc annotation. + + clutter/cogl/common/cogl-material.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b08a0115128cb68cfb92813d2325a490802e606a +Author: Emmanuele Bassi +Date: Tue Jan 27 20:06:58 2009 +0000 + + Fix typo in the :clone getter method + + The :clone property getter method, clutter_clone_get_source(), was + defined using the wrong name of clutter_clone_get_clone_source(). + + clutter/clutter-clone.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit bba85d47f93a004c355f4f53166b809940a0ebab +Author: Emmanuele Bassi +Date: Tue Jan 27 17:44:49 2009 +0000 + + Update the release notes for 1.0 + + Add entries for the removal of: + + - ClutterLabel + - ClutterEntry + - ClutterCloneTexture + + README | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 2722909b7668f5f566b1907f3c8fc1447adc192c +Author: Neil Roberts +Date: Wed Jan 28 10:52:55 2009 +0000 + + Fix building GLES after _cogl_texture_handle_from_pointer got removed + + Commit a688b1db removed the function and replaced it with a direct + cast. This was also being used in the GL ES so the build broke. + + clutter/cogl/gles/cogl-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6b9da72ab053eb96bed20655d8894c614a3077f1 +Author: Neil Roberts +Date: Tue Jan 27 16:55:25 2009 +0000 + + Directly set backend font options in clutter_set_font_flags + + Instead of having a separate set of font options that override the + backend options when clutter_set_font_flags is called, it now just + directly sets the backend font options. So now the font flags are just + a convenience wrapper around the backend font options. + + This also makes the ClutterText labels automatically update when the + font flags are changed because they will respond to the 'font-changed' + signal from the backend. + + clutter/clutter-main.c | 28 +++++++++------------------- + clutter/clutter-private.h | 3 --- + 2 files changed, 9 insertions(+), 22 deletions(-) + +commit 89b0b00dd14cde4f2a7d6bfab5bbdc78bc21f315 +Author: Neil Roberts +Date: Tue Jan 27 16:47:20 2009 +0000 + + Listen for the font-changed signal on the backend in ClutterText + + Whenever a ClutterText is created it now connects to the font-changed + signal. When it is emitted the layout cache is dirtied and a relayout + is queued. That way changes to the font options or resolution will + cause an immediate update to the labels in the scene. + + clutter/clutter-text.c | 26 ++++++++++++++++++++++++++ + 1 file changed, 26 insertions(+) + +commit 1b578fb9c7c19defdbec670fec86956c4987972f +Author: Emmanuele Bassi +Date: Tue Jan 27 16:53:01 2009 +0000 + + [docs] Documentation fixes + + Update the COGL API reference to avoid a lot of warnings coming + from gtk-doc. + + clutter/cogl/common/cogl-matrix.c | 12 +++++++----- + doc/reference/cogl/cogl-sections.txt | 35 +++++++++++++++++++++++++++-------- + 2 files changed, 34 insertions(+), 13 deletions(-) + +commit f9588b24876b40fd48687cfdb3497af50987b4da +Author: Emmanuele Bassi +Date: Tue Jan 27 16:41:51 2009 +0000 + + [docs] Update Clutter API reference symbols + + Add the new symbols from the ClutterClone and COGL material API + to the API reference. + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + doc/reference/clutter/clutter.types | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +commit 865f04decd4baa5b2876a9a917fea12ede1e31c2 +Author: Emmanuele Bassi +Date: Tue Jan 27 16:40:51 2009 +0000 + + Removed unused conditional + + USE_COGL_MATERIAL is a left-over from the development branch. + + clutter/clutter-texture.h | 8 -------- + 1 file changed, 8 deletions(-) + +commit 3cfc7fb1ca428c73ff2434f178cb8cc4e01728d4 +Merge: a688b1db0 86e95a779 +Author: Emmanuele Bassi +Date: Tue Jan 27 16:12:30 2009 +0000 + + Merge branch 'generic-actor-clone' + + * generic-actor-clone: + Remove CloneTexture from the API + [tests] Clean up the Clone interactive test + Rename ActorClone to Clone/2 + Rename ActorClone to Clone/1 + Improves the unit test to verify more awkward scaling and some corresponding fixes + Implements a generic ClutterActorClone that doesn't need fbos. + +commit a688b1db01adf935867ea9f7907d785a771cbce8 +Author: Emmanuele Bassi +Date: Tue Jan 27 16:02:04 2009 +0000 + + Fallout from cogl-material merge + + When enabling the maintainer CFLAGS the compiler got very angry + at the code that has been merged. + + clutter/clutter-clone-texture.c | 3 +-- + clutter/cogl/common/cogl-handle.h | 6 ------ + clutter/cogl/common/cogl-material.c | 13 ++++++------- + clutter/cogl/gl/cogl-context.c | 8 ++++---- + clutter/cogl/gl/cogl-texture.c | 8 +++----- + tests/interactive/test-cogl-multitexture.c | 1 - + 6 files changed, 14 insertions(+), 25 deletions(-) + +commit 840941fdfe62dc9d086e64ae98c304f87224b9c3 +Author: Robert Bragg +Date: Tue Jan 27 11:01:23 2009 +0000 + + Adds padding to CoglColor to future proof it a bit + + This adds enough padding to allow us to change to an internal float storage + for the color components if needs be in the future. + + clutter/cogl/cogl-types.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 70d7d16f13d35392e1f46d87dc245713fd4e68f3 +Author: Robert Bragg +Date: Mon Jan 26 22:52:38 2009 +0000 + + Support scaling on the z axis with cogl_scale + + This simply adds a z argument to cogl_scale and updates clutter-actor.c + to pass 1.0 for the z scale. + + README | 2 ++ + clutter/clutter-actor.c | 2 +- + clutter/cogl/cogl.h.in | 8 +++++--- + clutter/cogl/gl/cogl.c | 4 ++-- + clutter/cogl/gles/cogl.c | 4 ++-- + 5 files changed, 12 insertions(+), 8 deletions(-) + +commit e9a45c77449fab4ab911a136004155429f6d5bbf +Merge: 418fb995c 9266e110d +Author: Robert Bragg +Date: Tue Jan 27 15:19:34 2009 +0000 + + Merge branch 'cogl-material' + + Conflicts: + + clutter/cogl/gl/cogl-texture.c + clutter/cogl/gles/cogl-primitives.c + + * cogl-material: + clutter-{clone-,}texture weren't updating their material opacity. + Updates GLES1 support for CoglMaterial + Normalizes gl vs gles code in preperation for synching material changes + Removes cogl_blend_func and cogl_alpha_func + Fully integrates CoglMaterial throughout the rest of Cogl + [cogl-material] Restore the GL_TEXTURE_ENV_MODE after material_rectangle + [cogl-material] Make the user_tex_coords parameter of _rectangle const + [test-cogl-material] Remove return value from material_rectangle_paint + Add cogl-material.h and cogl-matrix.h to libclutterinclude_HEADERS + [cogl-material] improvements for cogl_material_rectangle + [cogl-material] Adds a cogl_material_set_color function + [cogl-material] Some improvements for how we sync CoglMaterial state with OpenGL + [cogl-material] Converts clutter-texture/clutter-clone-texture to the material API + [doc] Hooks up cogl-material reference documentation + Updates previous GLES multi-texturing code to use CoglMaterial + Adds a CoglMaterial abstraction, which includes support for multi-texturing + [doc] Hooks up cogl-matrix reference documentation + Adds CoglMatrix utility code + [tests] Adds an interactive unit test for multi-texturing + [multi-texturing] This adds a new cogl_multi_texture API for GL,GLES1 + GLES2 + +commit 86e95a779a87b0d02337c55548152883b6f944aa +Author: Emmanuele Bassi +Date: Tue Jan 27 15:18:45 2009 +0000 + + Remove CloneTexture from the API + + ClutterClone supercedes ClutterCloneTexture, since it can clone + every kind of actor -- including composite ones. + + This is another "brain surgery with a shotgun" kind of commit: it + removes CloneTexture and updates every test case using CloneTexture + to ClutterClone. The API fallout is minimal, luckily for us. + + clutter/Makefile.am | 2 - + clutter/clutter-clone-texture.c | 455 ----------------------------- + clutter/clutter-clone-texture.h | 76 ----- + clutter/clutter-clone.c | 14 +- + clutter/clutter.h | 1 - + doc/reference/clutter/clutter-docs.xml | 9 +- + doc/reference/clutter/clutter-sections.txt | 30 +- + tests/interactive/test-actors.c | 151 +++++----- + tests/interactive/test-depth.c | 19 +- + tests/interactive/test-fbo.c | 2 +- + tests/interactive/test-layout.c | 3 +- + tests/interactive/test-paint-wrapper.c | 4 +- + 12 files changed, 122 insertions(+), 644 deletions(-) + +commit 9266e110ded6b7308596eea2dd194736adf72641 +Author: Robert Bragg +Date: Tue Jan 27 15:17:16 2009 +0000 + + Removes test-simple from tests/interactive/Makefile.am + + The addition was accidental + + tests/interactive/Makefile.am | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 418fb995c86e4d3c6e76398bac95e980e42d8125 +Author: Neil Roberts +Date: Tue Jan 27 14:25:50 2009 +0000 + + Replace clutter_set_use_mipmapped_text with clutter_set_font_flags + + The hope is that this function makes it easier to extend the font + settings with more flags without having to add a function for every + setting. + + A new flag for enabling hinting has been added. If set, this changes + the font options on the global PangoContext and any newly created + PangoContexts. The options are only set if the flag is changed from + the default so it won't override any detailed setting chosen by the + backend. + + clutter/clutter-deprecated.h | 3 + + clutter/clutter-main.c | 91 +++++++++++++++++++++++------- + clutter/clutter-main.h | 4 +- + clutter/clutter-private.h | 3 + + clutter/clutter-types.h | 16 ++++++ + doc/reference/clutter/clutter-sections.txt | 5 +- + 6 files changed, 99 insertions(+), 23 deletions(-) + +commit cd5c1bd98b41572ddadda2cde0d59bf189eb54c9 +Author: Emmanuele Bassi +Date: Tue Jan 27 14:36:12 2009 +0000 + + [tests] Clean up the Clone interactive test + + Do not assume the default stage, and store more data inside the + "application" structure that gets passed around instead of relying + on macros. + + tests/interactive/test-actor-clone.c | 121 ++++++++++++++++++----------------- + 1 file changed, 64 insertions(+), 57 deletions(-) + +commit 28f9749e8eb26e2e9215fedd7d4bd28490e1a80d +Author: Robert Bragg +Date: Mon Jan 26 15:25:55 2009 +0000 + + clutter-{clone-,}texture weren't updating their material opacity. + + cogl_set_source_color4ub was previously used to set a transparent + white source color according to the actors opacity, but since + cogl_set_source_color now always implies you want a solid fill we + we use cogl_material_set_color4ub to achieve the same result. + + clutter/clutter-clone-texture.c | 24 ++++--------- + clutter/clutter-texture.c | 75 +++++------------------------------------ + 2 files changed, 15 insertions(+), 84 deletions(-) + +commit 4a7fa6d0fa30b6510e997ed3e2fd0ec7ec1a6354 +Author: Robert Bragg +Date: Mon Jan 26 11:07:35 2009 +0000 + + Updates GLES1 support for CoglMaterial + + This updates cogl/gles in line with the integration of CoglMaterial throughout + Cogl that has been done for cogl/gl. + + Note: This is still buggy, but at least it builds again and test-actors works. + Some GLES2 specific changes were made, but these haven't been tested yet. + + clutter/cogl/common/cogl-material.c | 35 +- + clutter/cogl/gl/cogl-texture.c | 25 +- + clutter/cogl/gles/cogl-context.c | 128 ++- + clutter/cogl/gles/cogl-context.h | 92 +- + clutter/cogl/gles/cogl-gles2-wrapper.h | 5 + + clutter/cogl/gles/cogl-internal.h | 11 +- + clutter/cogl/gles/cogl-primitives.c | 75 +- + clutter/cogl/gles/cogl-texture-private.h | 39 +- + clutter/cogl/gles/cogl-texture.c | 1642 +++++++++++++++++++----------- + clutter/cogl/gles/cogl.c | 49 +- + 10 files changed, 1312 insertions(+), 789 deletions(-) + +commit 60e81f0fda48d192d7ee701e80f0709fa509ca03 +Author: Robert Bragg +Date: Sat Jan 24 16:55:04 2009 +0000 + + Normalizes gl vs gles code in preperation for synching material changes + + This changes all GLES code to use the OpenGL function names instead of + the cogl_wrap_* names. For GLES2 we now define the OpenGL name to point + to the wrapper, as opposed to defining the wrapper to point to the + OpenGL name for GLES1. + + I've also done a quick pass through gl/cogl.c and gles/cogl.c to make + them more easily comparable. (most of the code is now identical) + + clutter/cogl/gl/cogl-primitives.c | 43 ++- + clutter/cogl/gl/cogl.c | 144 ++++----- + clutter/cogl/gles/cogl-context.c | 2 +- + clutter/cogl/gles/cogl-fbo.c | 32 +- + clutter/cogl/gles/cogl-primitives.c | 34 +-- + clutter/cogl/gles/cogl-texture.c | 585 ++++++++++++++++++------------------ + clutter/cogl/gles/cogl.c | 286 ++++++++++-------- + 7 files changed, 561 insertions(+), 565 deletions(-) + +commit 427fff032eaedaf4489633d6a775413343b878a6 +Author: Robert Bragg +Date: Sat Jan 24 15:09:43 2009 +0000 + + Removes cogl_blend_func and cogl_alpha_func + + The GL blend function and alpha function are now controlled by the material + code, and even internally Cogl should now be using the material API when + it needs control of these. + + README | 3 +++ + clutter/cogl/cogl.h.in | 13 ------------- + clutter/cogl/common/cogl-material.c | 8 ++++++++ + clutter/cogl/gl/cogl-context.c | 3 --- + clutter/cogl/gl/cogl-context.h | 2 -- + clutter/cogl/gl/cogl.c | 24 ------------------------ + clutter/cogl/gles/cogl.c | 24 ------------------------ + 7 files changed, 11 insertions(+), 66 deletions(-) + +commit 5985eef44cce8177bf8a93c6ffaf2b78cc634ece +Author: Robert Bragg +Date: Fri Jan 23 16:15:40 2009 +0000 + + Fully integrates CoglMaterial throughout the rest of Cogl + + This glues CoglMaterial in as the fundamental way that Cogl describes how to + fill in geometry. + + It adds cogl_set_source (), which is used to set the material which will be + used by all subsequent drawing functions + + It adds cogl_set_source_texture as a convenience for setting up a default + material with a single texture layer, and cogl_set_source_color is now also + a convenience for setting up a material with a solid fill. + + "drawing functions" include, cogl_rectangle, cogl_texture_rectangle, + cogl_texture_multiple_rectangles, cogl_texture_polygon (though the + cogl_texture_* funcs have been renamed; see below for details), + cogl_path_fill/stroke and cogl_vertex_buffer_draw*. + + cogl_texture_rectangle, cogl_texture_multiple_rectangles and + cogl_texture_polygon no longer take a texture handle; instead the current + source material is referenced. The functions have also been renamed to: + cogl_rectangle_with_texture_coords, cogl_rectangles_with_texture_coords + and cogl_polygon respectivly. + + Most code that previously did: + cogl_texture_rectangle (tex_handle, x, y,...); + needs to be changed to now do: + cogl_set_source_texture (tex_handle); + cogl_rectangle_with_texture_coords (x, y,....); + + In the less likely case where you were blending your source texture with a color + like: + cogl_set_source_color4ub (r,g,b,a); /* where r,g,b,a isn't just white */ + cogl_texture_rectangle (tex_handle, x, y,...); + you will need your own material to do that: + mat = cogl_material_new (); + cogl_material_set_color4ub (r,g,b,a); + cogl_material_set_layer (mat, 0, tex_handle)); + cogl_set_source_material (mat); + + Code that uses the texture coordinates, 0, 0, 1, 1 don't need to use + cog_rectangle_with_texure_coords since these are the coordinates that + cogl_rectangle will use. + + For cogl_texture_polygon; as well as dropping the texture handle, the + n_vertices and vertices arguments were transposed for consistency. So + code previously written as: + cogl_texture_polygon (tex_handle, 3, verts, TRUE); + need to be written as: + cogl_set_source_texture (tex_handle); + cogl_polygon (verts, 3, TRUE); + + All of the unit tests have been updated to now use the material API and + test-cogl-material has been renamed to test-cogl-multitexture since any + textured quad is now technically a test of CoglMaterial but this test + specifically creates a material with multiple texture layers. + + Note: The GLES backend has not been updated yet; that will be done in a + following commit. + + README | 49 + + clutter/clutter-clone-texture.c | 23 +- + clutter/clutter-main.c | 27 +- + clutter/clutter-texture.c | 22 +- + clutter/cogl/cogl-material.h | 169 ++- + clutter/cogl/cogl-path.h | 3 +- + clutter/cogl/cogl-texture.h | 185 ++- + clutter/cogl/cogl.h.in | 2 +- + clutter/cogl/common/cogl-material-private.h | 31 +- + clutter/cogl/common/cogl-material.c | 619 +++++++-- + clutter/cogl/common/cogl-primitives.c | 13 +- + clutter/cogl/common/cogl-vertex-buffer.c | 80 +- + clutter/cogl/gl/cogl-context.c | 89 +- + clutter/cogl/gl/cogl-context.h | 44 +- + clutter/cogl/gl/cogl-internal.h | 11 +- + clutter/cogl/gl/cogl-primitives.c | 50 +- + clutter/cogl/gl/cogl-texture-private.h | 39 +- + clutter/cogl/gl/cogl-texture.c | 1374 ++++++++++++-------- + clutter/cogl/gl/cogl.c | 128 +- + clutter/pango/cogl-pango-render.c | 114 +- + tests/conform/test-backface-culling.c | 42 +- + tests/interactive/Makefile.am | 5 +- + tests/interactive/test-clip.c | 12 +- + ...st-cogl-material.c => test-cogl-multitexture.c} | 30 +- + tests/interactive/test-cogl-offscreen.c | 38 +- + tests/interactive/test-cogl-tex-convert.c | 50 +- + tests/interactive/test-cogl-tex-foreign.c | 14 +- + tests/interactive/test-cogl-tex-getset.c | 14 +- + tests/interactive/test-cogl-tex-polygon.c | 18 +- + tests/interactive/test-cogl-tex-tile.c | 13 +- + 30 files changed, 2195 insertions(+), 1113 deletions(-) + +commit 86e4e89bf1125f3090c63daaf423bc67c64d727f +Author: Emmanuele Bassi +Date: Mon Jan 26 11:03:12 2009 +0000 + + Rename ActorClone to Clone/2 + + Step two: rename the object and its methods. + + While we're at it, adhere more strictly to the coding style + practises; rename :clone-source to :source; add a setter method + for the :source property; take a reference on the source actor + to avoid it disappearing while we're still accessing it. + + clutter/clutter-clone.c | 258 ++++++++++++++++++++--------------- + clutter/clutter-clone.h | 43 +++--- + tests/interactive/test-actor-clone.c | 4 +- + 3 files changed, 174 insertions(+), 131 deletions(-) + +commit 00a4549eb1533478dd9a49eb44c3f910f666fe44 +Author: Emmanuele Bassi +Date: Tue Jan 27 13:22:47 2009 +0000 + + [tests] Remove an unused variable + + This fixes a compiler warning. + + tests/conform/test-timeline.c | 1 - + 1 file changed, 1 deletion(-) + +commit 2138b1cbb2a5ab5d224cebc452bbc0726242d1f4 +Author: Emmanuele Bassi +Date: Tue Jan 27 11:25:06 2009 +0000 + + Bug 1388 - Clarify signal emission for advance_to_marker() + + Like clutter_timeline_advance(), calling advance_to_marker() will + not emit ::new-frame for the frame where the marker is set on; it + will also not emit ::marker-reached for the marker we are advancing + the timeline to. + + clutter/clutter-timeline.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 8608d103f82f14ead4cd2c92d2ce2eef9363ed54 +Author: Emmanuele Bassi +Date: Tue Jan 27 11:18:09 2009 +0000 + + Bug 1387 - Clarify new-frame signal emission with advance() + + When calling clutter_timeline_advance(), a timeline will not emit + the ::new-frame signal for the frame we are advancing to, as this + would break the invariants of the timeline behaviour. + + The documentation should make this clear. + + clutter/clutter-timeline.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 43bd4e5d3fcbe1a22bcae45d461f83f2ee0a9758 +Author: Emmanuele Bassi +Date: Tue Jan 27 10:35:50 2009 +0000 + + [timeline] Check the fps property range in the ctor + + The clutter_timeline_new() constructor is not checking the full + range of the passed :fps property. The ParamSpec of the property + and the setter method perform this check, so the ctor should as + well. + + clutter/clutter-timeline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f753847851fafd76d9c91f05489aa9e5372f33d7 +Author: Emmanuele Bassi +Date: Tue Jan 27 10:33:44 2009 +0000 + + [timeline] Move a complex condition into its own function + + The "is-timeline-complete" condition is pretty long, spanning + four lines and four logical sub-conditions. It is possible to + neatly move it into an is_complete() function and make the + code more readable. + + clutter/clutter-timeline.c | 21 ++++++++++++--------- + 1 file changed, 12 insertions(+), 9 deletions(-) + +commit 092db1098ce872b16765d25f4ad3a4215baa8996 +Author: Emmanuele Bassi +Date: Tue Jan 27 10:32:15 2009 +0000 + + [timeline] Intern signal names + + The signal names are static string and thus should be interned + so that Glib can do a simple pointer comparison whenever needed, + instead of a strcmp(). + + clutter/clutter-timeline.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 7863ca4a5549cf2fccc5ded8854b0b8156b5d323 +Author: Emmanuele Bassi +Date: Tue Jan 27 10:31:53 2009 +0000 + + [timeline] Whitespace fixes + + clutter/clutter-timeline.c | 29 +++++++++++++++++++++-------- + 1 file changed, 21 insertions(+), 8 deletions(-) + +commit 2be9cdc267f7e7d7190f8e1056e7c717f9358626 +Author: Emmanuele Bassi +Date: Tue Jan 27 10:27:33 2009 +0000 + + [timeline] Documentation and comment fixes + + The long description of the ClutterTimeline class is very C + developer-oriented. Since many language bindings will refer to + the C API reference we should probably be more verbose and + language agnostic -- at least in the class description. + + The methods documentation also requires a little pass to increase + the consistency of the terminology, the grammar and the syntax. + + Finally, comments never killed anyone. + + clutter/clutter-timeline.c | 75 ++++++++++++++++++++++++---------------------- + 1 file changed, 39 insertions(+), 36 deletions(-) + +commit 06162370643aa80505e7e3964545a1c8e1a023e0 +Author: Emmanuele Bassi +Date: Fri Jan 23 17:56:25 2009 +0000 + + [tests] Assert as soon as possible + + In order to give a usable location of the errors in the test + suite, we need to assert() as soon as possible. + + tests/conform/test-timeline.c | 23 ++++++----------------- + 1 file changed, 6 insertions(+), 17 deletions(-) + +commit 763de185e9abb9c4aee967a858b567e6c7435b26 +Author: Emmanuele Bassi +Date: Fri Jan 23 17:17:36 2009 +0000 + + [timeline] Create markers hash tables on demand + + Since not every timeline will have markers it's unfair to make + all of them crete two empty hash tables (with a preallocated + fixed size). + + This commit moves the responsibility of creating the hash tables + to the marker API itself, and adds the relative checks. + + clutter/clutter-timeline.c | 60 ++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 48 insertions(+), 12 deletions(-) + +commit 1e071ed859a1a2aeaf7c3e01f9d9f8d34fb00628 +Author: Emmanuele Bassi +Date: Fri Jan 23 17:14:39 2009 +0000 + + [timeline] Limit timelines to 1000 frames per second + + Since we are using milliseconds granularity to integrate timelines + with the GLib main loop, we cannot allow values of the :fps + property bigger than 1000. This means validating the fps value both + in the GParamSpec and the clutter_timeline_set_speed() accessor + function. + + This should also fix floating point exceptions when trying to + perform "n_frames = milliseconds / (1000 / fps)". + + See bug 1354: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1354 + + clutter/clutter-timeline.c | 119 ++++++++++++++++++++++++--------------------- + 1 file changed, 64 insertions(+), 55 deletions(-) + +commit 81f642d4b775b2a1020197c94332077848c5c60b +Author: Havoc Pennington +Date: Mon Jan 26 16:24:17 2009 +0000 + + Bug 1414 - avoid relayout of ClutterTexture if not syncing size + + If a ClutterTexture does not sync size, it should be possible to + change the texture size without causing a relayout. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-texture.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 9ccae46bc1e5af4fe51bc1d5b2f29e475585303d +Author: Havoc Pennington +Date: Mon Jan 26 16:22:39 2009 +0000 + + Bug 1415 - short-circuit setting same clip again + + There is some GL work and a repaint anytime the clip is set + or unset, so avoid that if it isn't really changed. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 54f4ed775c72387acd6959f5c68453846a90dd68 +Author: Neil Roberts +Date: Wed Jan 21 12:47:29 2009 +0000 + + Set the SYNC_MATRICES flag when a stage is first realized + + The stage will usually be painted before the first ConfigureNotify + arrives so we need to set the SYNC_MATRICES flag to ensure that the + viewport will be correct for that paint. Unfortunately this means that + the viewport will be set again once the ConfigureNotify is received + but compared to rendering an initial invalid scene I think it is the + lesser of two evils. + + clutter/clutter-stage.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 9197646d25d55e0cc826dee49254bf99ebf6c063 +Author: Emmanuele Bassi +Date: Mon Jan 26 10:32:53 2009 +0000 + + Rename ActorClone to Clone/1 + + Step one of the ActorClone -> Clone renaming: rename the files. + + clutter/Makefile.am | 4 ++-- + clutter/{clutter-actor-clone.c => clutter-clone.c} | 2 +- + clutter/{clutter-actor-clone.h => clutter-clone.h} | 0 + clutter/clutter.h | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +commit cdb360107b08302597d538f0c35c4a55114f2f54 +Author: Emmanuele Bassi +Date: Fri Jan 23 16:50:17 2009 +0000 + + Whitespace fixes for BehaviourEllipse + + Simple fallout from the automated conversion scripts that + switched from ClutterFixed to float. + + clutter/clutter-behaviour-ellipse.c | 63 +++++++++++++++++++------------------ + 1 file changed, 32 insertions(+), 31 deletions(-) + +commit 171a7647b916ee0c12d1494ba47921f3cd783c53 +Author: Emmanuele Bassi +Date: Fri Jan 23 16:22:02 2009 +0000 + + Bug 1395 - apply and get_nth_actor are inconsistent + + When calling clutter_behaviour_apply() the new actor is prepended + to the list of actors to which a behaviour is applied; this breaks + the rest of methods working on the actors list, e.g.: + + # adding actors + apply(actor_0); + apply(actor_1); + apply(actor_2); + + # expected: [ actor_0, actor_1, actor_2 ] + [ actor_2, actor_1, actor_0 ] = get_actors(); + + # expected: actor_2 + actor_0 = get_nth_actor(2); + + This commit fixes the inconsistency in the returned values. + + clutter/clutter-behaviour.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ba068f6bc9f15aafc6d1af3526fc101634b978ac +Author: Neil Roberts +Date: Sat Jan 24 00:25:24 2009 +0000 + + Fix the Cogl primitives for the GLES backend + + The Cogl primitives broke for GLES 1.1 and 2 after the cogl-float + branch merge. + + CoglPathNode was still being declared as GLfixed for the GLES backend + but it was being filled with float values so they were all ending up + as numbers < 1. + + glDrawArrays was being called with GL_FIXED so this has been changed + to GL_FLOAT. + + The scanline rasterizer had a leftover hardcoded ClutterFixed constant + to add a small amount to the height of each line. + + struct _CoglFloatVec2 has been removed because it is no longer used + anywhere. + + clutter/cogl/common/cogl-primitives.h | 21 --------------------- + clutter/cogl/gles/cogl-primitives.c | 14 +++++++------- + 2 files changed, 7 insertions(+), 28 deletions(-) + +commit 8e437e838fe3e62354ae133d3e90af6d9984c4f7 +Author: Neil Roberts +Date: Fri Jan 23 23:55:44 2009 +0000 + + Simplify test-cogl-primitives + + This removes a lot of code from test-cogl-primitives to make it easier + to follow. The TestCoglBox custom actor has gone and instead a blank + ClutterGroup is created with a paint signal handler. + + Instead of rendering constantly and updating when a GTimer elapses a + second, a ClutterTimeline is used with 1 fps and a new redraw is + queued every frame. + + The custom main loop is replaced with a regular call to clutter_main. + This fixes the close button of the stage window so you can quit + without having to press Ctrl+C. + + tests/interactive/test-cogl-primitives.c | 167 ++++--------------------------- + 1 file changed, 18 insertions(+), 149 deletions(-) + +commit 343b0ed67ef4a70e42b3eb2a93b15f42bf08e981 +Author: Neil Roberts +Date: Fri Jan 23 23:41:26 2009 +0000 + + [test-cogl-primitives] Remove trailing whitespace + + tests/interactive/test-cogl-primitives.c | 50 ++++++++++++++++---------------- + 1 file changed, 25 insertions(+), 25 deletions(-) + +commit 4d7caa4bd5267e0cc6b674d6cb76597ebc812694 +Author: Neil Roberts +Date: Fri Jan 23 22:57:36 2009 +0000 + + [clutter-timeline] Remove the code for backwards timelines in get_progress + + The special check to invert the progress when the timeline direction + is backwards is not necessary because the actual frame number will be + decreasing in that case. Inverting just makes it progress forwards + again. + + This is more apparent since the float-alpha-value branch merge because + the clutter_linear function directly returns the value from + get_progress. For example in test-depth, the animations loop instead + of oscillating back and forth. + + clutter/clutter-timeline.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 9ea6ab76fb09891dd1c1380c4e163aaf656c507c +Author: Neil Roberts +Date: Fri Jan 23 17:25:43 2009 +0000 + + Fix gtk-doc reference since the anchor point changes + + The documentation has been updated to reflect the fact that the anchor + point will move when the actor changes size if it was specified using + a gravity value. The new functions for setting the scale center and z + rotation gravity are also documented. + + clutter/clutter-actor.c | 154 ++++++++++++++++++++++++++--- + doc/reference/clutter/clutter-sections.txt | 15 +-- + 2 files changed, 148 insertions(+), 21 deletions(-) + +commit 5acff562b40291402ef9a9c7977690824027804e +Author: Neil Roberts +Date: Fri Jan 23 15:57:20 2009 +0000 + + [test-anchors] Add tests for the rotation centers + + The rotation centers are now tested in a similar way to the anchor + point and scale centers. + + The notification handling code has been simplified a bit to handle the + increased amount of properties. + + tests/conform/test-anchors.c | 378 +++++++++++++++++++++++++++++++++++++------ + 1 file changed, 326 insertions(+), 52 deletions(-) + +commit d5e5d35316046a192064d5a9cef20542a100cb7d +Author: Neil Roberts +Date: Fri Jan 23 15:55:41 2009 +0000 + + Convert the rotation centers to be AnchorCoords + + Currently only the Z axis rotation center can be set using a gravity + but the other rotations also store their center as an AnchorCoord for + consistency. Specifying the center as a gravity makes less sense for + the other axes because the actors have no size along the Z axis. + + The rotation angles are now stored as gdoubles and the fixed point *x + entry points have been removed. + + The Z rotation can now be set with a gravity center using the + following new function: + + void clutter_actor_set_z_rotation_from_gravity (ClutterActor *self, + gdouble angle, + ClutterGravity gravity); + + clutter/clutter-actor.c | 443 ++++++++++++++++--------------------- + clutter/clutter-actor.h | 15 +- + clutter/clutter-behaviour-rotate.c | 10 +- + 3 files changed, 196 insertions(+), 272 deletions(-) + +commit a8a986a1a2d4a32d8ce502f5cf8af6a98d8bd28e +Author: Neil Roberts +Date: Fri Jan 23 11:12:54 2009 +0000 + + [test-anchors] Add tests for the scale center + + A separate set of tests for the scale center have been added that work + in a similar way to the anchor point tests. + + tests/conform/test-anchors.c | 205 +++++++++++++++++++++++++++++++++++++++---- + 1 file changed, 188 insertions(+), 17 deletions(-) + +commit e10d255b83071014219a54e2f3d5c31444df340f +Author: Neil Roberts +Date: Fri Jan 23 11:11:24 2009 +0000 + + Add a scale center property to ClutterActor + + This sets the center point from which the scaling will occur. This can + be used insetad of the anchor point to avoid moving the actor. Like + the anchor point, it can be specified as either a coordinate in units + or a gravity enum. + + To set the center you can use two new variants of set_scale: + + clutter_actor_set_scale_full (ClutterActor *self, + gdouble scale_x, + gdouble scale_y, + int center_x, + int center_y); + + or + + clutter_actor_set_scale_with_gravity (ClutterActor *self, + gdouble scale_x, + gdouble scale_y, + ClutterGravity gravity); + + The ClutterFixed variants of the set_scale functions have been removed + and the scale value is now always stored as a double. + + clutter/clutter-actor.c | 279 ++++++++++++++++++++++++++++++-------- + clutter/clutter-actor.h | 27 +++- + clutter/clutter-behaviour-scale.c | 4 +- + 3 files changed, 245 insertions(+), 65 deletions(-) + +commit 7818eb704d6fdf7714be010d2b7be7e34420bb63 +Author: Neil Roberts +Date: Thu Jan 22 13:14:02 2009 +0000 + + Add a conformance test for the anchor point + + This verifies that the anchor point can be set from a gravity and then + it moves when the anchor point changes size. + + tests/conform/Makefile.am | 1 + + tests/conform/test-anchors.c | 253 ++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 + + 3 files changed, 256 insertions(+) + +commit a24b9a32e56b76ab04727bb1f9e29ec3cca8dd11 +Author: Neil Roberts +Date: Thu Jan 22 13:07:33 2009 +0000 + + Store when the anchor point is set from a gravity + + This makes it so when the anchor point is set using a gravity enum + then the anchor point moves when the actor changes size. A new + property is added for the anchor point gravity. If the anchor point is + set from gravity then the position in units can also be retreived with + the regular API. + + A new union type is used to store the anchor point with helper + accessor functions. The hope is these can be reused for the scale and + rotation center points. + + clutter/clutter-actor.c | 429 +++++++++++++++++++++++++++++++++++++----------- + clutter/clutter-actor.h | 1 + + 2 files changed, 333 insertions(+), 97 deletions(-) + +commit d64ff5c9f0a564b9ac6d0f8688c355aaa97a05f2 +Author: Neil Roberts +Date: Fri Jan 23 18:20:46 2009 +0000 + + [test-text] Use g_setenv instead of setenv + + setenv doesn't appear to be available on Windows so it fails to + compile. + + tests/micro-bench/test-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3d07e34cc54568a2e41cbd8565b6b21aa6dc5f53 +Merge: 616c082a7 634cdeab1 +Author: Robert Bragg +Date: Fri Jan 23 15:23:49 2009 +0000 + + Merge commit 'origin/master' into cogl-material + + Conflicts: + + clutter/clutter-texture.c + clutter/cogl/cogl-texture.h + clutter/cogl/cogl.h.in + clutter/cogl/common/Makefile.am + clutter/cogl/gl/Makefile.am + clutter/cogl/gles/Makefile.am + clutter/cogl/gles/cogl-gles2-wrapper.c + clutter/cogl/gles/cogl-gles2-wrapper.h + +commit 134edac82c5adc564b88884983cc1caedcc1191a +Author: Emmanuele Bassi +Date: Fri Jan 23 15:16:21 2009 +0000 + + Bug 1361 - Unused ClutterStage::get_resolution() methods + + The clutter_stage_get_resolution() and fixed-point API are just + shorthands for: + + clutter_backend_get_resolution (default_backend); + + And as such do not fit at all in the ClutterStage class. The only + reason for their existence was the ClutterUnit conversion macros, + which have now been fixed to use the default backend through a + function call instead. + + Thus, we can safely remove the stage entry points. + + clutter/clutter-deprecated.h | 14 ++------- + clutter/clutter-stage.c | 46 ------------------------------ + clutter/clutter-stage.h | 2 -- + doc/reference/clutter/clutter-sections.txt | 2 -- + 4 files changed, 2 insertions(+), 62 deletions(-) + +commit ae40bd37c79db41d751e3d5300a098c53f95e5c3 +Author: Emmanuele Bassi +Date: Fri Jan 23 13:29:55 2009 +0000 + + Clean up the test reports + + Since we override the clean-generic target in order to remove + the shell scripts we create for each conformance test unit, we + cannot use CLEANFILES to remove the test reports. + + tests/conform/Makefile.am | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 915d9ec7ca782572944a96fd52c2ff2ffdb1dac7 +Author: Emmanuele Bassi +Date: Fri Jan 23 13:09:51 2009 +0000 + + Split maintainer-flags from the compiler flags + + The maintainer compiler flags we use trigger warnings and errors + in the autogenerated code that gtk-doc creates to scan the header + and source files. Since we cannot control that, and we must run + a distcheck with both --enable-gtk-doc and --enable-maintainer-flags + turned on, we need to use less-strict compiler flags when inside + the doc/reference subdirectories. + + The way to do this is to split the maintainer compiler flags into + their own Makefile variable, called MAINTAINER_CFLAGS. The we + can use $(MAINTAINER_CFLAGS) in the INCLUDES or _CFLAGS sections + of each part of the source directories we wish to check with the + anal retentiveness suited for maintainers. + + clutter/Makefile.am | 1 + + clutter/cogl/common/Makefile.am | 1 + + clutter/cogl/gl/Makefile.am | 1 + + clutter/cogl/gles/Makefile.am | 1 + + clutter/pango/Makefile.am | 1 + + configure.ac | 5 +++-- + tests/conform/Makefile.am | 17 +++++++++++------ + tests/interactive/Makefile.am | 2 +- + tests/micro-bench/Makefile.am | 5 ++++- + 9 files changed, 24 insertions(+), 10 deletions(-) + +commit 20973bd29f3471942098c0354be3d583d5417672 +Author: Emmanuele Bassi +Date: Fri Jan 23 13:08:46 2009 +0000 + + Fix compiler warnings + + The maintainer-flags option discovered the usual amount of + collisions and compiler warnings we have to fix in order to + get distcheck to pass. + + clutter/clutter-behaviour-depth.c | 1 - + clutter/cogl/common/cogl-primitives.c | 100 ++++++------- + clutter/cogl/gl/cogl-texture.c | 247 ++++++++++++++++--------------- + tests/interactive/test-cogl-primitives.c | 2 +- + tests/interactive/test-cogl-tex-tile.c | 1 + + 5 files changed, 182 insertions(+), 169 deletions(-) + +commit 792ffa1538837624fdbf06819210d923734ac217 +Merge: f19dd4b2b ac1a0d568 +Author: Emmanuele Bassi +Date: Fri Jan 23 12:10:50 2009 +0000 + + Merge branch 'float-alpha-value' + + * float-alpha-value: + [script] Parse easing modes by name + [docs] Update the easing modes documentation + [animation] Implement new easing functions + [animation] Move the alpha value to floating point + +commit f19dd4b2b0837bfffc9c232d4006f35bc00829fe +Author: Emmanuele Bassi +Date: Fri Jan 23 11:34:13 2009 +0000 + + [actor] Add the ::pick signal to the Actor class + + Since we allow overriding the paint() implementation through the + ::paint signal to change the way an actor is being painted, we + should also allow overriding the pick() implementation using a + ::pick signal. + + clutter/clutter-actor.c | 39 ++++++++++++++++++++++++++++++++++++--- + 1 file changed, 36 insertions(+), 3 deletions(-) + +commit 634cdeab1fe574d5cbf41ed48951d8bb7bc2d9b0 +Author: Neil Roberts +Date: Thu Jan 22 17:42:26 2009 +0000 + + Fix some failures from the fixed-to-float script in cogl-texture + + The script converted calls to COGL_FIXED_MUL(x,y) to (x*y). However + this fails for cases like this: + + COGL_FIXED_MUL(a + b, c) + + which become + + (a + b * c) + + The meaning of this is of course different because multiplication has + a higher precedence than addition. + + This was causing breakages in cogl_texture_quad_sw when the vertex + coordinates are not in increasing order. This was the case in + test-backface-culling when NPOTs are not available. + + clutter/cogl/gl/cogl-texture.c | 20 ++++++++------------ + clutter/cogl/gles/cogl-texture.c | 20 ++++++++------------ + 2 files changed, 16 insertions(+), 24 deletions(-) + +commit 047161ea960037275f211d851fe84744c6cf947b +Author: Emmanuele Bassi +Date: Thu Jan 22 16:55:51 2009 +0000 + + [gitignore] Update ignore file with the new tests + + .gitignore | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 1b242e35501e99816cece18eb8bcd29f988ca2b1 +Author: Emmanuele Bassi +Date: Thu Jan 22 16:54:49 2009 +0000 + + [tests] Use the right value in cogl_texture_new* + + The correct symbol for disabling the flags when creating a new + COGL texture is COGL_TEXTURE_NONE. + + tests/conform/test-backface-culling.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e7d533f1760390014e1d66d8e20373cd3bc2b7ff +Author: Emmanuele Bassi +Date: Thu Jan 22 15:59:23 2009 +0000 + + Improve accuracy of clutter_sinx() + + Improve clutter_sinx() by replacing the low precision CFX_SIN_STEP + with a multiply/divide pair. This reduces the maximum error from + 1.8e-04 to 2.4e-05. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1314 + + Based on a patch by Owen W. Taylor + + clutter/cogl/common/cogl-fixed.c | 36 +++++++++++++++++++++++------------- + 1 file changed, 23 insertions(+), 13 deletions(-) + +commit a1e493fadb2a16ec7755c16c2a32276519a06d00 +Author: Emmanuele Bassi +Date: Thu Jan 22 15:55:43 2009 +0000 + + Use the allocation to get the pick area + + Since a pick is really a paint operation, we can safely get + the allocation box, instead of using get_width() and get_height(). + + This should help cutting down the function calls. If we were + feeling adventurous, we could even use the allocation directly + from the private data structure. + + Based on a patch by Gwenole Beauchesne + + clutter/clutter-actor.c | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +commit e1ab6f972ea7a99ec18ac685003f7e022edcc844 +Author: Emmanuele Bassi +Date: Thu Jan 22 14:52:34 2009 +0000 + + [gles] Fix computation of camera distance + + Port the fix in commit f409b58e to the GLES implementation of + COGL. + + clutter/cogl/gles/cogl.c | 21 +++++++-------------- + 1 file changed, 7 insertions(+), 14 deletions(-) + +commit f409b58e89b17267fedc4121f94e906b54ea7b4c +Author: Owen W. Taylor +Date: Thu Jan 22 14:17:16 2009 +0000 + + Fix computation of camera distance + + Compute the value of the camera distance as exactly half the xx + component of the projection matrix. The heuristically derived + value for 60 degrees was off by about 0.016%, causing noticeable + blurring, and other field of view angles which didn't have the + heuristic adjustment off by much more. + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/gl/cogl.c | 58 +++++++++++++++++++++++++++++++++----------------- + 1 file changed, 38 insertions(+), 20 deletions(-) + +commit a74369e309f414ef812e2d741e18cd0243a6abff +Author: Emmanuele Bassi +Date: Thu Jan 22 13:58:50 2009 +0000 + + Avoid needlessly queue redraws for invisible actors + + If an actor is not set as visible, or if it is in a section of + the scenegraph that it's set as not visible (e.g. one of the + parents is not visible) then we should not queue a redraw for + it. + + Patch based on code from Michael Boccara + + clutter/clutter-actor.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit c998462c9fc2ca9875637d78eb605929a96639e7 +Author: Jason Tackaberry +Date: Thu Jan 22 13:38:32 2009 +0000 + + Bug 1409 - Use G_SIGNAL_RUN_LAST with ::queue-redraw signal + + The intention behind ::queue-redraw is to be able to block the + default handler by attaching a callback and calling one of the + g_signal_stop_emission variants. + + However this doesn't work, because ::queue-redraw has the + G_SIGNAL_RUN_FIRST flag instead of G_SIGNAL_RUN_LAST. + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 01a5cb84302e34e784a3a41d2e78bb4934dfb7b8 +Author: Emmanuele Bassi +Date: Thu Jan 22 13:24:20 2009 +0000 + + Fix typo in the flags update + + Epic en_GB keyboard FAIL. + + clutter/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6ca40faaec99a13f2379990f1b1b92b768a74ac7 +Author: Emmanuele Bassi +Date: Thu Jan 22 12:11:25 2009 +0000 + + [units] Fix Units in GValue and ClutterParamSpecUnit + + The GValue and GParamSpec integration of ClutterUnit was still + using the old, fixed-point based logic. + + Storing ClutterUnits in a GValue should use floating point values, + and ClutterParamSpecUnit should follow suit. + + clutter/clutter-units.c | 55 +++++++++++++++++++++---------------------------- + 1 file changed, 24 insertions(+), 31 deletions(-) + +commit 1876785d12d64c4c6efdbd96d2c54255f433c41b +Author: Emmanuele Bassi +Date: Thu Jan 22 11:46:23 2009 +0000 + + Fix the format for a floating point value + + The debug annotation was still expecting an integer after + we switched the angle to float. + + clutter/clutter-behaviour-ellipse.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 355555c1bf782f08e74ceb298aac7cf3d4d4973b +Author: Emmanuele Bassi +Date: Thu Jan 22 11:37:52 2009 +0000 + + Store the units-per-em inside the Backend + + Instead of recomputing the number of units needed to fit in + an em each time clutter_units_em() is called, we can store this + value into the default Backend along with the resolution and + font name. The value should also be updated each time the + resolution and font are changed, to keep it up to date. + + clutter/clutter-backend.c | 101 +++++++++++++++++++++++++++++++++++++++------- + clutter/clutter-private.h | 2 + + clutter/clutter-units.c | 31 +------------- + 3 files changed, 89 insertions(+), 45 deletions(-) + +commit c5aca39c69632d842c54d50eca3cac9f30e5dd3b +Author: Emmanuele Bassi +Date: Wed Jan 21 22:03:31 2009 +0000 + + [docs] Specify the coordinate space of ButtonEvent + + The coordinates of each ButtonEvent are relative to the stage that + received the event, so we should document this in the structure + annotation. + + It should also be mentioned that the coordinates can be transformed + into actor-relative coordinates by using transform_stage_point(). + + clutter/clutter-event.h | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +commit ee883f30d47992e5ad87d0d70d2f97f79442e8ad +Author: Emmanuele Bassi +Date: Wed Jan 21 17:35:47 2009 +0000 + + Add units-from-em conversion + + An em is a unit of measurement in typography, equal to the point + size of the current font. + + It should be possible to convert a value expressed in em to + ClutterUnits by using the current font and the current DPI as + stored by the default backend. + + clutter/clutter-units.c | 50 ++++++++++++++++++++++++++++++ + clutter/clutter-units.h | 11 +++++++ + doc/reference/clutter/clutter-sections.txt | 4 +++ + 3 files changed, 65 insertions(+) + +commit 93a0454c09fafc1d45198bed5b7575ea3711a42c +Author: Emmanuele Bassi +Date: Wed Jan 21 17:10:36 2009 +0000 + + Remove the single-stage units converters + + The stage-with/height-percentage converters had been broken by + the multiple-stages support of Clutter 0.8. They are also made + useless by the fact that Units are now floating point values. + + The millimeters and typographic points converters also depended + on the default stage, but they can be reworked to use the default + DPI coming from the default Backend instead. + + clutter/clutter-actor.c | 31 +++++++++++++---- + clutter/clutter-units.c | 52 +++++++++++++++++++++++++++ + clutter/clutter-units.h | 56 +++++++++++++----------------- + doc/reference/clutter/clutter-sections.txt | 17 ++++----- + 4 files changed, 108 insertions(+), 48 deletions(-) + +commit 0be613109e5af03a37dd47348576130f028a9a8e +Author: Emmanuele Bassi +Date: Wed Jan 21 16:41:18 2009 +0000 + + [docs] Remove sources of warnings in API references + + clutter/cogl/cogl-texture.h | 2 +- + clutter/cogl/cogl-vertex-buffer.h | 4 +-- + doc/reference/clutter/clutter-sections.txt | 18 ++--------- + doc/reference/cogl/cogl-docs.sgml | 2 +- + doc/reference/cogl/cogl-sections.txt | 50 ++++++++++++++++++++---------- + 5 files changed, 40 insertions(+), 36 deletions(-) + +commit 74d00185fd73d4be20d525612c9ffdb32ca944e1 +Author: Emmanuele Bassi +Date: Wed Jan 21 10:59:19 2009 +0000 + + [docs] Add CoglTextureFlags to the API reference + + doc/reference/cogl/cogl-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 2cb3a41dff2f3758bff7ea8d139c09dee2ea18e6 +Author: Emmanuele Bassi +Date: Wed Jan 21 10:58:32 2009 +0000 + + [docs] Build COGL API reference first + + Since the Clutter API reference needs some types from COGL's, + we should be building COGL's API reference first. + + doc/reference/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 07689865fe3dbea4bbf013e2c7258e1a174f9596 +Author: Emmanuele Bassi +Date: Sun Jan 18 15:00:18 2009 +0000 + + [tests] Update the tests calling cogl_texture_new_* + + The tests calling any of the cogl_texture_new_* family of functions + must be updated to the new constructor syntax. + + tests/interactive/test-clip.c | 6 +++-- + tests/interactive/test-cogl-offscreen.c | 6 +++-- + tests/interactive/test-cogl-tex-convert.c | 12 ++++++---- + tests/interactive/test-cogl-tex-getset.c | 6 +++-- + tests/interactive/test-cogl-tex-polygon.c | 38 ++++++++++++++++++++++--------- + tests/interactive/test-cogl-tex-tile.c | 3 ++- + 6 files changed, 49 insertions(+), 22 deletions(-) + +commit c9739e6aefd469cfe56b566bdba876f904109ed3 +Author: Emmanuele Bassi +Date: Sun Jan 18 14:51:19 2009 +0000 + + Change the COGL texture constructor to use flags + + Boolean arguments for functions are pretty evil and usually + lead to combinatorial explosion of parameters in case multiple + settings are added. + + In the case of the COGL texture constructors we have a boolean + argument for enabling the auto-mipmapping; it is conceivable that + we might want to add more settings for a COGL texture without + breaking API or ABI compatibility, so the boolean argument should + become a bitmask. + + The internals have not been changed: instead of checking for + a non-zero value, we check for a bitmask being set. + + clutter/clutter-texture.c | 72 ++++++++++------- + clutter/cogl/cogl-texture.h | 139 +++++++++++++++++---------------- + clutter/cogl/cogl-types.h | 15 ++++ + clutter/cogl/gl/cogl-texture.c | 52 ++++++------ + clutter/cogl/gles/cogl-texture.c | 52 ++++++------ + clutter/pango/cogl-pango-glyph-cache.c | 31 +++++--- + 6 files changed, 205 insertions(+), 156 deletions(-) + +commit 8736db6aed2879487de5891920505268d57aa090 +Author: Emmanuele Bassi +Date: Fri Jan 16 10:58:51 2009 +0000 + + [docs] Update ClutterMedia section + + The ClutterMedia API has been changed, so we need to update + the API reference to reflect that. + + doc/reference/clutter/clutter-sections.txt | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 5a4f9c5050521fcbb97d7f7c8897398b63f1e48e +Author: Emmanuele Bassi +Date: Fri Jan 16 10:38:36 2009 +0000 + + Bug 1404 - ClutterMedia issues + + ClutterMedia was a rough cut at a simple media API; it needs some + re-evaluation before 1.0 in order to keep it simple to use, and + simple to implement. + + - ClutterMedia:position + + The position property accessors collide with the corresponding + ClutterActor methods, which make it impossible to bind them in + high-level languages: + + video_texture.set_position() + video_texture.get_position() + + In order to resolve the collision, we have to go through the + GObject properties API: + + video_texture.set('position', value) + value = video_texture.get('position') + + A :position in seconds is also a GStreamer-ism, and should rather + be converted to a :progress property, with a normalized value + between 0 and 1. the current position in seconds would then simply + be progress*duration. For non-seekable streams, 0.0 would always + be returned. This makes it easier to use the progress inside + animations, Timelines or ClutterPath instances. + + - ClutterMedia:volume should be renamed to :audio-volume and normalized + as well, instead of being a floating point value between 0 and 100. + + - ClutterMedia:buffer-percent should just be :buffer-fill and normalized + between 0.0 and 1.0 + + clutter/clutter-media.c | 409 +++++++++++++++++++++++++++--------------------- + clutter/clutter-media.h | 97 ++++-------- + 2 files changed, 261 insertions(+), 245 deletions(-) + +commit e338245827dd81b68672955a0cc406dc43db00e5 +Author: Robert Bragg +Date: Tue Jan 20 21:12:44 2009 +0000 + + Renames the mesh api to the "vertex buffer api". + + This better reflects the fact that the api manages sets of vertex attributes, + and the attributes really have no implied form. It is only when you use the + attributes to draw that they become mesh like; when you specify how they should + be interpreted, e.g. as triangle lists or fans etc. This rename frees up the + term "mesh", which can later be applied to a concept slightly more fitting. + E.g. at some point it would be nice to have a higher level abstraction that + sits on top of cogl vertex buffers that adds the concept of faces. (Somthing + like Blender's mesh objects.) There have also been some discussions over + particle engines, and these can be defined in terms of emitter faces; so some + other kind of mesh abstraction might be usefull here. + + clutter/cogl/{cogl-mesh.h => cogl-vertex-buffer.h} | 241 +++--- + clutter/cogl/cogl.h.in | 2 +- + clutter/cogl/common/Makefile.am | 3 +- + clutter/cogl/common/cogl-mesh-private.h | 143 ---- + clutter/cogl/common/cogl-vertex-buffer-private.h | 142 ++++ + .../common/{cogl-mesh.c => cogl-vertex-buffer.c} | 813 +++++++++++---------- + clutter/cogl/gl/Makefile.am | 2 +- + clutter/cogl/gl/cogl-context.c | 2 +- + clutter/cogl/gl/cogl-context.h | 4 +- + clutter/cogl/gles/Makefile.am | 2 +- + clutter/cogl/gles/cogl-context.c | 2 +- + clutter/cogl/gles/cogl-context.h | 4 +- + doc/reference/cogl/cogl-docs.sgml | 2 +- + doc/reference/cogl/cogl-sections.txt | 25 +- + tests/conform/Makefile.am | 6 +- + tests/conform/test-conform-main.c | 16 +- + ...ontiguous.c => test-vertex-buffer-contiguous.c} | 90 +-- + ...nterleved.c => test-vertex-buffer-interleved.c} | 62 +- + ...utability.c => test-vertex-buffer-mutability.c} | 104 +-- + 19 files changed, 844 insertions(+), 821 deletions(-) + +commit 4bc1e567fcb9afe146e0530eaa14e13d6af44655 +Author: Robert Bragg +Date: Tue Jan 20 18:52:15 2009 +0000 + + Removes the fixed-to-float scripts and patches + + Now that the conversion has been applied the scripts aren't needed any more + + fixed-to-float-patches/clutter-actor.c.0.patch | 27 - + fixed-to-float-patches/clutter-alpha.c.0.patch | 306 --------- + fixed-to-float-patches/clutter-alpha.h.0.patch | 13 - + .../clutter-behaviour-ellipse.c.0.patch | 380 ----------- + fixed-to-float-patches/clutter-bezier.c.0.patch | 13 - + fixed-to-float-patches/clutter-fixed.c.0.patch | 15 - + fixed-to-float-patches/clutter-fixed.h.0.patch | 333 ---------- + fixed-to-float-patches/clutter-path.c.0.patch | 18 - + fixed-to-float-patches/clutter-texture.c.0.patch | 13 - + fixed-to-float-patches/clutter-units.h.0.patch | 91 --- + fixed-to-float-patches/cogl-fixed.c.0.patch | 17 - + fixed-to-float-patches/cogl-fixed.h.0.patch | 23 - + fixed-to-float-patches/cogl-pango-render.c.0.patch | 24 - + fixed-to-float-patches/cogl-primitives.c.0.patch | 12 - + fixed-to-float-patches/cogl.h.in.0.patch | 26 - + .../gl-cogl-primitives.c.0.patch | 12 - + fixed-to-float-patches/gl-cogl-texture.c.0.patch | 30 - + fixed-to-float-patches/gl-cogl.c.0.patch | 172 ----- + .../gles-cogl-gles2-wrapper.c.0.patch | 90 --- + .../gles-cogl-gles2-wrapper.h.0.patch | 76 --- + .../gles-cogl-primitives.c.0.patch | 12 - + fixed-to-float-patches/gles-cogl-texture.c.0.patch | 30 - + fixed-to-float-patches/gles-cogl.c.0.patch | 102 --- + .../remove_cogl_apis_taking_fixed_params.0.patch | 735 --------------------- + .../test-cogl-tex-tile.c.0.patch | 24 - + fixed-to-float.sh | 239 ------- + 26 files changed, 2833 deletions(-) + +commit 3014d4ff8af55fd4067eac21536512cc0cf8b89d +Merge: 6d4cd416e c29a3b4de +Author: Robert Bragg +Date: Tue Jan 20 17:22:21 2009 +0000 + + Merge branch 'cogl-float' + + Okey; to summarise the changes... + + We have converted Clutter and Cogl over to using floating point internally + instead of 16.16 fixed, but we have maintained the cogl-fixed API as a + utility to applications in case they want to implement their own optimizations. + + The Clutter API has not changed (though ClutterFixed and ClutterUnit are now + internally floats) but all Cogl entry points have been changed to accept floats + now instead of CoglFixed. + + To summarise the rationale... + + There have been a number of issues with using fixed point though out Clutter + and Cogl including: lack of precision, lack of range, excessive format + conversion (GPUs tend to work nativly with IEEE floats) and maintainability. + One of the main arguments for fixed point - performance - hasn't shown + itself to be serious in practice so far since we seem to be more limited + by GPU performance and making improvements regarding how we submit data to + OpenGL[ES]/the GPU has had a more significant impact. + + Ref: The recent multiple rectangle queuing changes + the + cogl-texture-agressive-batching branch which show significant performance + gains, and that recent tests on the ipodtouch (ARM + MBX) also showed no + loss of performance running with floats. + + So finally; please forgive the inevitable fallout, this is a far reaching + change. There are still a few known issues with the fixed to float + conversion but enough works for all our conformance tests to pass, and the + remaining issues hopefully wont be too tricky to solve. For reference two + tags will be available either side of this change: "cogl-fixed-end" and + "cogl-float-start" + +commit ac1a0d568ed650f37fbce906eb82a969f0d41a77 +Author: Emmanuele Bassi +Date: Tue Jan 20 18:24:58 2009 +0000 + + [script] Parse easing modes by name + + The easing modes for a ClutterAlpha can either be parsed by using + the enumeration "nickname" (the shorthand form of the enumeration + value) or by using the common naming policy used in other + animation frameworks, like: + + easeInCubic + easeOutElastic + easeInOutBounce + + clutter/clutter-script.c | 108 +++++++++++++++++++++++++++++----------- + tests/interactive/test-script.c | 6 +-- + 2 files changed, 83 insertions(+), 31 deletions(-) + +commit 268abcd7865bb6ae10d40a92dd2eb1de79df3de8 +Author: Emmanuele Bassi +Date: Tue Jan 20 18:13:36 2009 +0000 + + [docs] Update the easing modes documentation + + The ClutterAlpha API reference page should also list the + easing modes Clutter provides by default, by showing the + curves used by each entry in the AnimationMode enumeration. + + We can also remove the incomplete graph showing the old + alpha functions. + + clutter/clutter-alpha.c | 5 + + doc/reference/clutter/Makefile.am | 5 +- + doc/reference/clutter/alpha-func.png | Bin 30651 -> 0 bytes + doc/reference/clutter/clutter-sections.txt | 34 +- + doc/reference/clutter/easing-modes.png | Bin 0 -> 51834 bytes + doc/reference/clutter/easing-modes.svg | 920 +++++++++++++++++++++++++++++ + 6 files changed, 934 insertions(+), 30 deletions(-) + +commit ec3b1a7b90314a13a9a4bed944e10f82183edcd5 +Author: Emmanuele Bassi +Date: Tue Jan 20 17:57:30 2009 +0000 + + [animation] Implement new easing functions + + Instead of using our own homegrown alpha functions, we should + use the easing functions also shared by other animation frameworks, + like jQuery and Tween, in the interests of code portability. + + The easing functions have been defined by Robert Penner and + are divided into three categories: + + In Out InOut + + Each category has a particular curve: + + Quadratic + Cubic + Quartic + Quintic + Sinusoidal + Exponential + Circular + + In addition, there are "physical" curves: + + Elastic + Back (overshooting cubic) + Bounce (exponentially decaying parabolic) + + Finally, the Linear curve is also provided as a reference. + + The functions are private, and are meant to be used only + through their logical id as provided by the AnimationMode + enumeration. + + The tests should be updated as well to match the new + easing functions. + + clutter/clutter-alpha.c | 561 ++++++++++++++++++++++++++++++++++--- + clutter/clutter-types.h | 134 +++++++-- + tests/interactive/test-animation.c | 2 +- + tests/interactive/test-easing.c | 115 +++++--- + 4 files changed, 710 insertions(+), 102 deletions(-) + +commit 7d7372af43ec23d5c89c55ba57600a47bcd07471 +Author: Emmanuele Bassi +Date: Tue Jan 20 16:42:49 2009 +0000 + + [animation] Move the alpha value to floating point + + The current Alpha value is an unsigned integer that can be used + implicitly as a fixed point value. This makes writing an alpha + function overshooting below and above the current range basically + impossible without complicating an already complex code, and + creating weird corner cases. + + For this reason, the Alpha value should be defined as a floating + point normalized value, spanning a range between 0.0 and 1.0; in + order to allow overshooting, the valid range is extended one unit + below and one unit above, thus making it -1.0 .. 2.0. + + This commit updates the various users of the ClutterAlpha API + and the tests cases. + + This commit also removes all the current alpha functions exposed + in the public API. + + clutter/clutter-alpha.c | 967 ++------------------------------- + clutter/clutter-alpha.h | 74 +-- + clutter/clutter-animation.c | 9 +- + clutter/clutter-behaviour-depth.c | 6 +- + clutter/clutter-behaviour-ellipse.c | 4 +- + clutter/clutter-behaviour-opacity.c | 5 +- + clutter/clutter-behaviour-path.c | 7 +- + clutter/clutter-behaviour-rotate.c | 4 +- + clutter/clutter-behaviour-scale.c | 6 +- + clutter/clutter-behaviour.c | 8 +- + clutter/clutter-behaviour.h | 2 +- + clutter/clutter-interval.c | 2 - + clutter/clutter-marshal.list | 1 + + clutter/clutter-script.c | 24 +- + tests/interactive/test-actors.c | 13 +- + tests/interactive/test-layout.c | 2 +- + tests/interactive/test-paint-wrapper.c | 12 +- + tests/interactive/test-scale.c | 11 +- + 18 files changed, 107 insertions(+), 1050 deletions(-) + +commit c29a3b4deefaf9e4a71cf4cd9b582489de9d67c4 +Author: Robert Bragg +Date: Tue Jan 20 16:20:55 2009 +0000 + + [Automatic fixed-to-float.sh change] Hand coded changes for clutter-{fixed,units} + + To avoid clashing with all the scripted changes, clutter-fixed.h and + clutter-units.h were manually converted to internally use floats instead of + 16.16 fixed numbers. + + Note: again no API changes were made in Clutter. + + clutter/clutter-fixed.h | 104 ++++++++++++++---------------------------------- + clutter/clutter-units.h | 26 +++++------- + 2 files changed, 40 insertions(+), 90 deletions(-) + +commit a2cf7e4a19fec5edf017aef0bba972b59c62b1cf +Author: Robert Bragg +Date: Tue Jan 20 16:20:54 2009 +0000 + + [Automatic fixed-to-float.sh change] Applies a number fixed to float patches + + To deal with all the corner cases that couldn't be scripted a number of patches + were written for the remaining 10% of the effort. + + Note: again no API changes were made in Clutter, only in Cogl. + + clutter/clutter-actor.c | 53 ++++++------ + clutter/clutter-alpha.c | 139 ++++++++++++++++--------------- + clutter/clutter-alpha.h | 2 +- + clutter/clutter-behaviour-ellipse.c | 144 +++++++++++++++------------------ + clutter/clutter-bezier.c | 2 +- + clutter/clutter-fixed.c | 4 +- + clutter/clutter-path.c | 4 +- + clutter/clutter-texture.c | 2 +- + clutter/cogl/cogl-color.h | 10 +-- + clutter/cogl/cogl-fixed.h | 12 +++ + clutter/cogl/cogl-path.h | 22 +---- + clutter/cogl/cogl.h.in | 50 +++--------- + clutter/cogl/common/cogl-color.c | 6 +- + clutter/cogl/common/cogl-fixed.c | 6 ++ + clutter/cogl/common/cogl-primitives.c | 33 +++----- + clutter/cogl/gl/cogl-primitives.c | 63 +++++---------- + clutter/cogl/gl/cogl-texture.c | 5 +- + clutter/cogl/gl/cogl.c | 113 +++++--------------------- + clutter/cogl/gles/cogl-gles2-wrapper.c | 45 ++--------- + clutter/cogl/gles/cogl-gles2-wrapper.h | 31 ++++--- + clutter/cogl/gles/cogl-primitives.c | 92 +++++++-------------- + clutter/cogl/gles/cogl-texture.c | 5 +- + clutter/cogl/gles/cogl.c | 70 ++++++---------- + clutter/pango/cogl-pango-render.c | 8 +- + doc/reference/cogl/cogl-sections.txt | 4 +- + tests/conform/test-backface-culling.c | 4 +- + tests/interactive/test-cogl-tex-tile.c | 10 +-- + 27 files changed, 355 insertions(+), 584 deletions(-) + +commit e82f6565909e1b0da9d4effff6261b8f7312869a +Author: Robert Bragg +Date: Tue Jan 20 16:20:54 2009 +0000 + + [Automatic fixed-to-float.sh change] Applies all scripted changes + + This is the result of running a number of sed and perl scripts over the code to + do 90% of the work in converting from 16.16 fixed to single precision floating + point. + + Note: A pristine cogl-fixed.c has been maintained as a standalone utility API + so that applications may still take advantage of fixed point if they + desire for certain optimisations where lower precision may be acceptable. + + Note: no API changes were made in Clutter, only in Cogl. + + Overview of changes: + - Within clutter/* all usage of the COGL_FIXED_ macros have been changed to use + the CLUTTER_FIXED_ macros. + + - Within cogl/* all usage of the COGL_FIXED_ macros have been completly stripped + and expanded into code that works with single precision floats instead. + + - Uses of cogl_fixed_* have been replaced with single precision math.h + alternatives. + + - Uses of COGL_ANGLE_* and cogl_angle_* have been replaced so we use a float for + angles and math.h replacements. + + clutter/clutter-actor.c | 180 ++++++++++---------- + clutter/clutter-alpha.c | 50 +++--- + clutter/clutter-backend.c | 4 +- + clutter/clutter-behaviour-depth.c | 4 +- + clutter/clutter-behaviour-ellipse.c | 74 ++++----- + clutter/clutter-behaviour-rotate.c | 32 ++-- + clutter/clutter-behaviour-scale.c | 50 +++--- + clutter/clutter-clone-texture.c | 16 +- + clutter/clutter-color.c | 152 ++++++++--------- + clutter/clutter-fixed.c | 16 +- + clutter/clutter-fixed.h | 70 ++++---- + clutter/clutter-interval.c | 2 +- + clutter/clutter-stage.c | 44 ++--- + clutter/clutter-texture.c | 56 +++---- + clutter/clutter-timeline.c | 8 +- + clutter/clutter-units.h | 8 +- + clutter/cogl/cogl-color.h | 50 +++--- + clutter/cogl/cogl-path.h | 100 +++++------ + clutter/cogl/cogl-texture.h | 20 +-- + clutter/cogl/cogl-types.h | 4 +- + clutter/cogl/cogl.h.in | 68 ++++---- + clutter/cogl/common/cogl-clip-stack.c | 46 +++--- + clutter/cogl/common/cogl-color.c | 40 ++--- + clutter/cogl/common/cogl-primitives.c | 292 ++++++++++++++++----------------- + clutter/cogl/common/cogl-primitives.h | 22 +-- + clutter/cogl/gl/cogl-context.h | 8 +- + clutter/cogl/gl/cogl-primitives.c | 44 ++--- + clutter/cogl/gl/cogl-texture.c | 226 ++++++++++++------------- + clutter/cogl/gl/cogl.c | 290 ++++++++++++++++---------------- + clutter/cogl/gles/cogl-context.c | 2 +- + clutter/cogl/gles/cogl-context.h | 10 +- + clutter/cogl/gles/cogl-fbo.c | 12 +- + clutter/cogl/gles/cogl-gles2-wrapper.c | 126 +++++++------- + clutter/cogl/gles/cogl-gles2-wrapper.h | 54 +++--- + clutter/cogl/gles/cogl-primitives.c | 70 ++++---- + clutter/cogl/gles/cogl-texture.c | 240 +++++++++++++-------------- + clutter/cogl/gles/cogl.c | 256 ++++++++++++++--------------- + clutter/pango/cogl-pango-glyph-cache.c | 8 +- + clutter/pango/cogl-pango-glyph-cache.h | 8 +- + clutter/pango/cogl-pango-render.c | 70 ++++---- + tests/conform/test-backface-culling.c | 38 ++--- + tests/interactive/test-cogl-tex-tile.c | 8 +- + tests/interactive/test-text-field.c | 2 +- + 43 files changed, 1437 insertions(+), 1443 deletions(-) + +commit abc2a359ea5981989ec7c3c793e4bb5b7c5b5d55 +Author: Robert Bragg +Date: Tue Jan 20 14:52:47 2009 +0000 + + Improves the git commit messages used by fixed-to-float.sh + + In preperation for commiting a final conversion into master + + fixed-to-float.sh | 50 +++++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 47 insertions(+), 3 deletions(-) + +commit 8b39bfec7fb3f188a8482e44f9a9c26da19e24a6 +Author: Robert Bragg +Date: Mon Jan 19 19:11:00 2009 +0000 + + Improves the unit test to verify more awkward scaling and some corresponding fixes + + This simplifies the mucking about with the model-view matrix that was previously + done which improves its efficiency when scaling is necessary. + + Notably: There should now be no performance advantage to using + ClutterCloneTexture as a special case clone actor since this method is just as + efficient. + + The unit test was renamed to test-actor-clone. + + clutter/clutter-actor-clone.c | 41 +++------------------- + tests/interactive/Makefile.am | 2 +- + .../{test-actors2.c => test-actor-clone.c} | 5 ++- + 3 files changed, 9 insertions(+), 39 deletions(-) + +commit df7480090da28e91df240dbba365e7b4f9e675a6 +Author: Robert Bragg +Date: Sat Jan 17 16:51:03 2009 +0000 + + Implements a generic ClutterActorClone that doesn't need fbos. + + Many use cases for clonning an actor don't require running a shader on the + resulting clone image and so requiring FBOs in these cases is overkill and + in-efficient as it requires kicking and synchronizing a render for each clone. + + This approach basically just uses the paint function of another actor to + implement the painting for the clone actor with some fiddling of the model- + view matrix to scale according to the different allocation box sizes of + each of the actors. + + A simple unit test called test-actors2 was added for testing. + + clutter/Makefile.am | 2 + + clutter/clutter-actor-clone.c | 307 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor-clone.h | 76 ++++++++++ + clutter/clutter-actor.c | 37 ++++- + clutter/clutter-private.h | 6 + + clutter/clutter.h | 1 + + tests/interactive/Makefile.am | 1 + + tests/interactive/test-actors2.c | 269 ++++++++++++++++++++++++++++++++++ + 8 files changed, 697 insertions(+), 2 deletions(-) + +commit 6d4cd416ec3155db0778246099a431331149edd2 +Author: Owen W. Taylor +Date: Sat Jan 10 19:25:27 2009 -0500 + + Change default tile-waste from 64 to 63 + + It's more sensible to use 2^n-1 for a max tile-waste value rather + than 2^n, so change the value default from 64 to 63. Example: + 191 and 192 will both be sliced to 128+64 rather than having + 191=>128+64, 192=>256. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1402 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit b716d32000cfc309dd7c52a1ee6aad3cea398ec6 +Author: Owen W. Taylor +Date: Fri Jan 16 18:01:04 2009 -0500 + + Fix properties that have X11 types to be 'long' + + While X11 Pixmap and Window types only have 32-bits of data, they + are actually 'unsigned long'. Change the "window" and "pixmap" + property of ClutterX11TexturePixmaps to be ulong. + + This fixes 64-bit bugs where ClutterGLXTexturePixmap passed a + reference to Pixmap to g_object_get("pixmap", &pixmap, ...); + + http://bugzilla.openedhand.com/show_bug.cgi?id=1405 + + Signed-off-by: Emmanuele Bassi + + clutter/x11/clutter-x11-texture-pixmap.c | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +commit 10f1f6587ef944633216c1e73fe7c032d4958c96 +Author: Emmanuele Bassi +Date: Fri Jan 16 22:13:44 2009 +0000 + + [eglnative] Set the SYNC_MATRICES on stage realization + + Since the stage in the EGL native backend only has one size, and it + is determined at realization, we can simply set the SYNC_MATRICES + private flag and let _clutter_stage_maybe_setup_viewport() set up + the GL viewport at the first redraw. + + clutter/eglnative/clutter-stage-egl.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit ae3615cfe3efa8c36fdfcfe1b00c1cedac785829 +Author: Neil Roberts +Date: Fri Jan 16 18:29:29 2009 +0000 + + [fixed-to-float.sh] Apply the automatic changes to the tests as well + + Some of the tests are using the Cogl API so they should be updated to + float as well. + + The patches have been updated to apply cleanly. + + .../remove_cogl_apis_taking_fixed_params.0.patch | 25 +++++++++++----------- + .../test-cogl-tex-tile.c.0.patch | 25 ++++++---------------- + fixed-to-float.sh | 23 +++++++++++--------- + 3 files changed, 32 insertions(+), 41 deletions(-) + +commit 7a96ea925515916f946147fd0fee5fcac7fe6c36 +Author: Neil Roberts +Date: Fri Jan 16 17:52:26 2009 +0000 + + [fixed-to-float.sh] Group some of the sed expressions into one command + + This has no effect other than to make the script run faster. + + fixed-to-float.sh | 121 +++++++++++++++++++++++++++++------------------------- + 1 file changed, 66 insertions(+), 55 deletions(-) + +commit e02024151b2529a624a92880c51f1002fcc861cc +Author: Neil Roberts +Date: Fri Jan 16 14:55:48 2009 +0000 + + [fixed-to-float-patches] Replace the cogl_color_*x functions with *f + + cogl_set_source_color4x and cogl_color_set_from_4x actually take float + values now so they are renamed to *4f. + + .../remove_cogl_apis_taking_fixed_params.0.patch | 123 +++++++++++++++++++++ + 1 file changed, 123 insertions(+) + +commit 7c93565902be0af99526c8c1a1ab068e0892444e +Author: Emmanuele Bassi +Date: Fri Jan 16 14:53:42 2009 +0000 + + [docs] Clarify what API registers a global alpha function + + Both clutter_alpha_new_with_func() and clutter_alpha_set_func() + will not register a global alpha function, so we need to update + the documentation to explicitly say so. + + clutter/clutter-alpha.c | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +commit 7b93cc068db5bfeba999e633a2b23b3b4c494bd5 +Author: Neil Roberts +Date: Fri Jan 16 13:56:42 2009 +0000 + + [fixed-to-float-patches] Merge the two patches to remove cogl fixed params + + The two patches for removing cogl apis taking fixed params have been + merged into one patch. + + .../remove_cogl_apis_taking_fixed_params.0.patch | 50 +++++++++++++++++++-- + .../remove_cogl_apis_taking_fixed_params.1.patch | 52 ---------------------- + fixed-to-float.sh | 1 - + 3 files changed, 47 insertions(+), 56 deletions(-) + +commit c096f41e70a78f7eeccafeb5bd01b9b7a5732b15 +Author: Emmanuele Bassi +Date: Fri Jan 16 14:16:02 2009 +0000 + + [doc] Clarify the animation mode meaning + + The animation mode parameters and properties are now slightly + anonymous unsigned longs, so we need to clarify in the documentation + that the user should either pass a ClutterAnimationMode value or + the result of registering an alpha function. + + clutter/clutter-animation.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit d02819949d5f16173179a3cd3ff59616726fa2b9 +Author: Emmanuele Bassi +Date: Fri Jan 16 14:01:46 2009 +0000 + + Remove AnimationMode from the Animation API + + The animation mode symbolic id might come from the AnimationMode + enumeration or from the clutter_alpha_register_*() family of + functions. For this reason, we should use a gulong instead of + ClutterAnimationMode whenever we have an "animation mode" parameter + or property. + + clutter/clutter-animation.c | 52 +++++++++++++++++++++++---------------------- + clutter/clutter-animation.h | 8 +++---- + 2 files changed, 31 insertions(+), 29 deletions(-) + +commit 74213e0ee35e8428783deaccab68dc9f9c8d72bb +Author: Emmanuele Bassi +Date: Fri Jan 16 13:42:06 2009 +0000 + + [alpha] Allow registering alpha functions + + In order to unify alpha functions and animation modes in ClutterAlpha + we should be able to register alpha functions and get a logical id + for them; the logical id will then be available to be used by + clutter_alpha_set_mode(). + + The registration requires API changes in ClutterAlpha constructors + and methods. It also provides the chance to shift ClutterAlpha + towards the use of animations modes only, and to alpha functions + as a convenience API for language bindings alone. + + clutter/clutter-alpha.c | 254 ++++++++++++++++++++++------- + clutter/clutter-alpha.h | 47 +++--- + clutter/clutter-types.h | 5 +- + doc/reference/clutter/clutter-sections.txt | 6 +- + tests/interactive/test-actors.c | 3 +- + tests/interactive/test-behave.c | 3 +- + tests/interactive/test-depth.c | 32 ++-- + tests/interactive/test-layout.c | 7 +- + tests/interactive/test-multistage.c | 3 +- + tests/interactive/test-paint-wrapper.c | 2 +- + tests/interactive/test-rotate.c | 3 +- + tests/interactive/test-scale.c | 6 +- + tests/interactive/test-texture-quality.c | 3 +- + tests/interactive/test-threads.c | 9 +- + tests/interactive/test-viewport.c | 3 +- + 15 files changed, 264 insertions(+), 122 deletions(-) + +commit 18378fe180d2bf64631efa9a6ce99e4d770b793d +Author: Neil Roberts +Date: Fri Jan 16 12:16:28 2009 +0000 + + [fixed-to-float.sh] Use float names for the GLES2 wrappers + + For example cogl_wrap_glFrustumx -> cogl_wrap_glFrustumf. + + The wrappers get #defined to the float versions anyway but it helps + avoid some confusion. + + The conversion is done using a regular expression in the upgrade + script. Some of the patches had to be updated to apply cleanly. + + .../gles-cogl-gles2-wrapper.c.0.patch | 2 +- + .../gles-cogl-gles2-wrapper.h.0.patch | 52 +++++++++++----------- + fixed-to-float-patches/gles-cogl.c.0.patch | 15 ++----- + .../remove_cogl_apis_taking_fixed_params.0.patch | 10 ++--- + fixed-to-float.sh | 7 +++ + 5 files changed, 42 insertions(+), 44 deletions(-) + +commit 52d7b7be7366faa74a1ba5f8756a77a90019eaa3 +Author: Neil Roberts +Date: Fri Jan 16 10:50:53 2009 +0000 + + [fixed-to-float-patches] Move the changes to gles2-wrapper.h into the patch + + It looks like the changes to cogl-gles2-wrapper.h were accidentally + committed to the actual file instead of the patch in commit + de27da0e. This commit moves the changes back into the patch so + cogl-gles2-wrapper.h is reverted back to master. + + clutter/cogl/gles/cogl-gles2-wrapper.h | 24 ++++++------ + .../gles-cogl-gles2-wrapper.h.0.patch | 43 ++++++++++++++++++---- + 2 files changed, 47 insertions(+), 20 deletions(-) + +commit bef099ce40b926367f4f2ab099e3022c2809b881 +Author: Neil Roberts +Date: Thu Jan 15 18:53:52 2009 +0000 + + [fixed-to-float-patches] Fix use of glClearColor and glColor under GLES 2 + + The wrapper for glClearColor was taking fixed arguments but was given + floating point values so it ended up always setting the clear color to + black. Now that GLES 1.1 is using the floating point version, there is + no need for the wrapper so both versions now just use glClearColor + directly. + + A similar problem was happening for glColor but this does still need a + wrapper because it needs to set the vertex attribute. + + .../gles-cogl-gles2-wrapper.c.0.patch | 38 ++++++++++++++++++++-- + .../gles-cogl-gles2-wrapper.h.0.patch | 35 +++++++++++++++++--- + fixed-to-float-patches/gles-cogl.c.0.patch | 26 ++++++++++++++- + 3 files changed, 91 insertions(+), 8 deletions(-) + +commit 4e94500a2abffd867c7118bf4a11ae877d852499 +Merge: d89ed3ed2 9339334a4 +Author: Neil Roberts +Date: Thu Jan 15 16:38:49 2009 +0000 + + Merge branch 'master' into cogl-float + + The patches have been updated to apply cleanly. + + The patches for the g_warnings in clutter-actor.c have been removed + because master now uses CLUTTER_UNITS_FORMAT so they aren't + necessary. The clutter-units.h patch now sets CLUTTER_UNITS_FORMAT to + 'f'. + +commit 9339334a4370bb8d57ce0aff0bf46ef205f93f21 +Author: Neil Roberts +Date: Thu Jan 15 18:09:54 2009 +0000 + + Fix GLES backends after merging the async-textures branch + + The changes from the GL version of cogl-texture.c have been mirrored + in the GLES version. This adds the cogl_texture_new_from_bitmap + function and fixes the build errors. + + clutter/cogl/gles/cogl-texture.c | 52 +++++++++++++++++++++++----------------- + 1 file changed, 30 insertions(+), 22 deletions(-) + +commit d89ed3ed25f0cd04731ca57110519f58d130b750 +Author: Neil Roberts +Date: Thu Jan 15 16:35:46 2009 +0000 + + [fixed-to-float.sh] Remove the mtx_transform patch from the script + + The patch got deleted and merged into the clutter-actor.c patch in + commit 012b16 so it was just causing unnecessary errors. + + fixed-to-float.sh | 1 - + 1 file changed, 1 deletion(-) + +commit ea1d9f55227fc2e291fc600accef5ba3abbdd58f +Author: Neil Roberts +Date: Thu Jan 15 15:24:05 2009 +0000 + + [fixed-to-float-patches] Fix some of the matrix getters and setters + + The GL versions of get_modelview_matrix, get_projection_matrix and + get_viewport were using glGetDoublev and then converting them to + floats, but it might as well just call glGetFloatv directly. + + The GL ES versions were using glGetFixedv but this was being replaced + with glGetFloatv by the #define in the GLES 2 wrappers. + + The patch also replaces the glGetFixedv wrapper with + glGetFloatv. Previously this was calling + cogl_gles2_float_array_to_fixed which actually converted to + float. That function has been removed and memcpy is used instead. + + fixed-to-float-patches/gl-cogl.c.0.patch | 79 +++++++++++++++++++++- + .../gles-cogl-gles2-wrapper.c.0.patch | 58 ++++++++++++++++ + .../gles-cogl-gles2-wrapper.h.0.patch | 13 +++- + fixed-to-float-patches/gles-cogl.c.0.patch | 29 +++++++- + fixed-to-float.sh | 1 + + 5 files changed, 176 insertions(+), 4 deletions(-) + +commit 642617b7a0d74c346206b673729288d7c5454a8e +Author: Robert Bragg +Date: Thu Jan 15 13:58:31 2009 +0000 + + [test-text] queue redraws instead of calling clutter_actor_paint directly + + Directly calling clutter_actor_paint skips out quite a bit code such as the + backend swap buffer call. + + Since we are interested in the highest fps possible, and it now goes through + to the backend swap buffer call we now do a setenv (CLUTTER_VBLANK, none, 0) + before calling clutter_init. + + tests/micro-bench/test-text.c | 27 ++++++++++++++++++++------- + 1 file changed, 20 insertions(+), 7 deletions(-) + +commit 22183c7a8f092f0792c6f805d4b313651c999730 +Author: Emmanuele Bassi +Date: Wed Jan 14 18:14:46 2009 +0000 + + Bug 1380 - Return booleans from CLUTTER_ACTOR_IS_* macros + + If you try to use the CLUTTER_ACTOR_IS_* macros defined in ClutterActor + like this: + + typedef struct { unsigned int reactive : 1; } foo_t; + + foo_t f; f.reactive = CLUTTER_ACTOR_IS_REACTIVE (actor); + + It will blow up because while the macros evaluate to 0 they can also + evaluate to non-zero values. Since most of the boolean flags in + Clutter and Clutter-based code are going to be stored like in the + example above, we should change the macros and let them evaluate + stricly either to 0 or to 1. + + clutter/clutter-actor.h | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 41386a5f72b389956c363fa06669f6d554d73b53 +Author: Emmanuele Bassi +Date: Wed Jan 7 18:30:46 2009 +0000 + + Remove the Effects API + + The Effects API and all related symbols have been superceded by + the newly added Animation API and clutter_actor_animate(). + + This commit removes the Effects implementation, the documentation + and the interactive test/example code. + + clutter/Makefile.am | 2 - + clutter/clutter-effect.c | 848 ----------------------------- + clutter/clutter-effect.h | 162 ------ + clutter/clutter.h | 1 - + doc/reference/clutter/clutter-sections.txt | 33 -- + tests/interactive/Makefile.am | 1 - + tests/interactive/test-effects.c | 95 ---- + 7 files changed, 1142 deletions(-) + +commit 5d346cca5705c5c3fc21444b8c9c758f55b0bc67 +Author: Emmanuele Bassi +Date: Wed Jan 14 15:30:10 2009 +0000 + + Emit ::load-finished for every texture load + + The ::load-finished signal is emitted only when loading a texture + using clutter_texture_set_from_file(). Since this breaks user + expectations and consistency, we should also emit ::load-finished + when loading a texture from image data. + + clutter/clutter-texture.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 3e9e5a11da12e9b8e8cfbace8146e3b86231c5c9 +Author: Robert Bragg +Date: Wed Jan 14 15:18:05 2009 +0000 + + [test-depth] cast width to gint when calculating -width/2 + + It was a fluke that this worked out due to how clutter_actor_set_depth + internally converts the incorrect integer result to fixed point. + + tests/interactive/test-depth.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit f1b15efcdc6ac2efd15d2946c93a1cb2a3a5b063 +Author: Robert Bragg +Date: Thu Jan 8 18:54:48 2009 +0000 + + [tests] Adds a flowery clutter_cairo_texture unit test + + This is simply a copy of flowers.c from the old clutter-cairo repo + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-clutter-cairo-flowers.c | 212 +++++++++++++++++++++++++ + 2 files changed, 214 insertions(+), 1 deletion(-) + +commit 110489ee5838eccb216dcd9d81f23e3f3d6e0d83 +Merge: d454bfcc8 e730cd70b +Author: Emmanuele Bassi +Date: Wed Jan 14 15:16:41 2009 +0000 + + Merge branch 'async-textures' + + * async-textures: + Whitespace fixes in ClutterTexture + [async-loading] Do not force the texture size on async load + [async-loading] Update asynchronous image loading + Add API for extracting image size from a file + Update/clean and apply the async-texture patch from bug #1144 + +commit d454bfcc87e594eeee601755f53b1315fc2da093 +Author: Neil Roberts +Date: Wed Jan 14 13:37:31 2009 +0000 + + [ClutterStageX11] Remove the handling_configure flag + + Since Clutter changed to using a layout scheme the handling_configure + flag no longer works because the allocate method is not invoked + immediately during the call to set_size from the ConfigureNotify + handler. However it is also no longer neccessary because the resizes + are effectively batched up until a relayout is run so it won't cause + an infinite loop of resize and notify events anyway. + + clutter/x11/clutter-event-x11.c | 8 -------- + clutter/x11/clutter-stage-x11.c | 16 +--------------- + clutter/x11/clutter-stage-x11.h | 1 - + 3 files changed, 1 insertion(+), 24 deletions(-) + +commit 1cac3d91f9fc84bd11636f19ac220158490c531f +Author: Emmanuele Bassi +Date: Wed Jan 14 15:05:03 2009 +0000 + + Add unused symbols + + Append the newly added ClutterBindingPool symbols and + clutter_stage_ensure_viewport() to the API reference. + + doc/reference/clutter/clutter-sections.txt | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit df62a037b00ca24deceb74d3ea0d26bdc94c4194 +Author: Emmanuele Bassi +Date: Wed Jan 14 15:04:28 2009 +0000 + + Fix compile warning for a possible uninitialized variable + + clutter/glx/clutter-glx-texture-pixmap.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0e1bbcdc02a751f6024d4da9db3b4afba51dfa4d +Author: Emmanuele Bassi +Date: Wed Jan 14 15:03:30 2009 +0000 + + Add declaration of clutter_binding_pool_get_type() + + The function is automagically created by G_DEFINE_TYPE(), but + it should also be declared in the header. + + clutter/clutter-binding-pool.h | 2 ++ + 1 file changed, 2 insertions(+) + +commit a074106ded87717b7983976fbd91365105411f5b +Merge: c83d955af db3d2e956 +Author: Emmanuele Bassi +Date: Wed Jan 14 15:00:44 2009 +0000 + + Merge branch 'animation-improvements' + + * animation-improvements: + [docs] Add ClutterAnimatable to the API reference + Add license notice to ClutterAnimation files + [docs] Update the ClutterAnimation section + [animation] Extend ClutterAnimation support to all objects + [animation] Use ClutterAnimatable inside Animation + [animation] Add ClutterAnimatable + [animation] Allow registering custom progress function + [animation] Interval::compute_value should return a boolean + Animate ClutterColor properties + +commit c83d955af3848d75555a917ece0b7da6cd71d945 +Author: Emmanuele Bassi +Date: Wed Jan 14 14:34:35 2009 +0000 + + Fix compilation warning + + Declare the width and height variables as unsigned ints, in order + to match the required arguments for clutter_actor_get_size(). + + tests/interactive/test-depth.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ffc15e0962a0b24afce1ff08eab13537fe23eadc +Author: Neil Roberts +Date: Wed Jan 14 11:12:02 2009 +0000 + + [clutter-text] Fix x-position of cursor when moving up or down + + ClutterText already has code to try to preserve the x position when + moving up or down. A target x-position is stored and the cursor is + positioned at the nearest point to that in the appropriate line when + up or down is pressed. However the target position was never cleared + so it would always target the x-position of the cursor from the first + time you pressed up or down. + + To fix this the patch clears the target position in set_position and + then sets it after the call in real_move_up/down. That way pressing + up or down sets the target position and any other movement will clear + it. + + To get an index for the pixel position in the line + pango_layout_line_x_to_index is used. However when x is greater than + the length of the line then the index before the last grapheme is + returned which was causing it to jump to the penultimate + character. The patch makes it add on the trailing value so that it + will jump to the last character. + + clutter/clutter-text.c | 28 ++++++++++++++++++---------- + 1 file changed, 18 insertions(+), 10 deletions(-) + +commit b57c7e12d43e7891ef3125dc03e396c5a24281aa +Author: Neil Roberts +Date: Tue Jan 13 18:42:50 2009 +0000 + + [clutter-text] Fix offset_to_bytes to work when pos == 0 + + The old function ended up returning the length of the string when pos + was zero. This caused it to insert characters at the end when the + cursor was at the beginning of the string. + + clutter/clutter-text.c | 25 +++++-------------------- + 1 file changed, 5 insertions(+), 20 deletions(-) + +commit e93c266647e0d828459911a0999f342a975158b6 +Author: Neil Roberts +Date: Tue Jan 13 17:52:38 2009 +0000 + + [clutter-text] Don't allow control characters to be inserted + + If an unbound control key is pressed (such as Ctrl+R) it would insert + a rectangle into the text. + + Also zero is considered a valid unicode character by + g_unichar_validate so pressing a key such as shift would cause the + current selection to be deleted. The character isn't actually inserted + because insert_unichar disallows zeroes. + + clutter/clutter-text.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit de114dead76af8e8cccf872dd87aeee838e9e7e8 +Author: Neil Roberts +Date: Thu Nov 27 16:44:39 2008 +0000 + + Fix GLES 2 after the multiple-texture-rectangle branch merge + + The GLES 2 wrapper needs to set up some state before each + draw. Previously this was acheived by wrapping glDrawArrays. Since the + multiple-texture-rectangle branch merge, glDrawElements is used + instead so we also need a wrapper for that. + + It was also directly calling glBindTexture. GLES 2 uses a wrapper for + this function so that it can cope with GL_ALPHA format textures. The + format of the current texture needs to be stored as well as the target + and object number for this to work. + + clutter/cogl/gles/cogl-context.h | 1 + + clutter/cogl/gles/cogl-gles2-wrapper.c | 20 ++++++++++++++++++-- + clutter/cogl/gles/cogl-gles2-wrapper.h | 4 +++- + clutter/cogl/gles/cogl-texture.c | 7 ++++++- + 4 files changed, 28 insertions(+), 4 deletions(-) + +commit 453697fcad0cb8e91c23b3ccebf07ed8ca10591d +Author: Neil Roberts +Date: Mon Jan 12 18:32:49 2009 +0000 + + Update gtk-doc 'Since' field for cogl_texture_multiple_rectangles + + The function has been backported to the 0.8 branch so it will also be + available in Clutter 0.8.6 + + clutter/cogl/cogl-texture.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ccd9ba2a02cf8f06f002669ffd2ffe2d0af161ea +Author: Emmanuele Bassi +Date: Tue Jan 13 14:05:35 2009 +0000 + + [gitignore] Update the ignore file + + .gitignore | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit 616c082a7cc6cf9a46de09f2f04ed87a57162e9c +Merge: 12ea2933b be462b2ea +Author: Robert Bragg +Date: Tue Jan 13 13:37:38 2009 +0000 + + Merge commit 'origin/master' into cogl-material + + Conflicts: + + clutter/clutter-texture.c + clutter/cogl/cogl-texture.h + clutter/cogl/gles/cogl-context.c + clutter/cogl/gles/cogl-context.h + +commit a9ae1c65c3fbe78d197dc202cedf3f77affb72ff +Author: Emmanuele Bassi +Date: Tue Jan 13 12:51:03 2009 +0000 + + Add ClutterBindingPool:name + + The BindingPool constructor should only check for duplicate pools + and then set the :name constructor-only property. If a BindingPool + is created without a name we also make a fuss about it. + + It is also possible to simply dispose of a binding pool using + g_object_unref(), as long as it has been created by using + clutter_binding_pool_new() or directly with g_object_new(). Only + BindingPools attached to a class are not owned by the user. + + clutter/clutter-binding-pool.c | 96 +++++++++++++++++++++++++++++++++++++----- + 1 file changed, 86 insertions(+), 10 deletions(-) + +commit 66afd41868a702555c917122a38dfd87db91cf7a +Author: Robert Bragg +Date: Tue Jan 13 11:38:55 2009 +0000 + + Remove cogl_blahx Cogl interfaces that used to take CoglFixed parameters. + + Since they are no longer actually taking fixed point parameters the 'x' suffix is + no longer appropriate. To maintain support for sub-pixel precision the + corresponding interfaces that were taking integer parameters now get patched + to take float parameters instead. + + .../remove_cogl_apis_taking_fixed_params.0.patch | 569 +++++++++++++++++++++ + .../remove_cogl_apis_taking_fixed_params.1.patch | 52 ++ + fixed-to-float.sh | 8 +- + 3 files changed, 628 insertions(+), 1 deletion(-) + +commit a4c8a70c834b5b4fdfd1618ce496425dd5dbcd68 +Author: Emmanuele Bassi +Date: Tue Jan 13 12:34:59 2009 +0000 + + Turn ClutterBindingPool a GObject + + ClutterBindingPool is already "problematic" in terms of memory + management for language bindings and gobject-introspection. It + also lacks a GType. + + Turning ClutterBindingPool into a GBoxed would not make much + sense, since it does not adhere to the copy/free semantics. It + could be referenced/unreferenced, but in that case we can just + as well use GObject as a base class instead of reimplemeting + a ref-counted object and then boxing it. + + ClutterBindingPool is obviously a terminal class, so we just + hide the instance and class structures. + + clutter/clutter-binding-pool.c | 62 +++++++++++++++++++++++++++++------------- + clutter/clutter-binding-pool.h | 12 ++++++++ + 2 files changed, 55 insertions(+), 19 deletions(-) + +commit b60c2a2df6b3cb386f6e2954e515db7c9a22a4d1 +Author: Robert Bragg +Date: Mon Jan 12 18:15:40 2009 +0000 + + [gl/cogl.c] Updates the cogl_rotatex prototype to take float x,y,z params + + I missed this in my last commit; it just updates the prototype in gl/cogl.c + in line with the change made in cogl.h.in + + fixed-to-float-patches/{gl-cogl.c => gl-cogl.c.0.patch} | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 010fd71059c073a95d41b023be67000d1dfc1a4c +Author: Robert Bragg +Date: Mon Jan 12 17:07:55 2009 +0000 + + [cogl.h.in.0.patch] Fixes the cogl_rotatex prototype to take float x,y,z params + + The cogl_rotatex was incorrectly defined to take gint x,y,z params as opposed + to CoglFixed. This patch changes them directly to floats. + + fixed-to-float-patches/cogl.h.in.0.patch | 26 ++++++++++++++++++++++++++ + fixed-to-float.sh | 1 + + 2 files changed, 27 insertions(+) + +commit de27da0e5be8a27a0743fd9b62e2da04ed91dc82 +Author: Robert Bragg +Date: Thu Jan 8 22:56:17 2009 +0000 + + [cogl/gles] Fixes for building for GLES 1 using floats + + * This adds GLfixed -> GLfloat conversion + * redefines cogl_wrap_glBlahx macros as glBlahf + * Other misc fixes (mostly corresponding to cogl/gl equivalents) + + clutter/cogl/gles/cogl-gles2-wrapper.h | 24 ++++----- + .../gles-cogl-gles2-wrapper.h.0.patch | 13 +++++ + .../gles-cogl-primitives.c.0.patch | 12 +++++ + fixed-to-float-patches/gles-cogl-texture.c.0.patch | 30 +++++++++++ + fixed-to-float-patches/gles-cogl.c.0.patch | 60 ++++++++++++++++++++++ + fixed-to-float.sh | 6 +++ + 6 files changed, 133 insertions(+), 12 deletions(-) + +commit f658d8b5cffeb36e7d28fca3bb3e370cd712fdd5 +Author: Robert Bragg +Date: Thu Jan 8 22:38:33 2009 +0000 + + [fixed-to-float.sh] Replace uses of COGL_FIXED_FROM_INT not followed by a space + + Previously the script assumed a space before the open bracket, so it missed + a few cases in clutter/cogl/gles/cogl.c + + fixed-to-float.sh | 1 + + 1 file changed, 1 insertion(+) + +commit ec403b280544497f4153b756ebb1beee52e0ecc8 +Author: Robert Bragg +Date: Thu Jan 8 22:00:56 2009 +0000 + + converts clutter_{sin,cos,tan,atan}x angles to radians before calling math.h func + + These functions are defined to take an angle in degrees, so the angle needs + converting before calling the corresponding {sin,cos,tan,atan}f() + + This fixes test-cogl-tex-tile. + + fixed-to-float-patches/clutter-fixed.h.0.patch | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 012b169a731fb278ac8f55122ebf572c6cca4a70 +Author: Robert Bragg +Date: Thu Jan 8 13:10:32 2009 +0000 + + [fixed-to-float-patches] Updates the patches in line with the last merge + + Most of the patches updated weren't failing but there were a number of + hunk offsets when applying so it tidies that up. The change in + mtx_transform.0.patch has been moved to clutter-actor.c.0.patch. + + fixed-to-float-patches/clutter-actor.c.0.patch | 19 +++-- + fixed-to-float-patches/clutter-alpha.c.0.patch | 82 ++++++++++++++++------ + fixed-to-float-patches/clutter-path.c.0.patch | 4 +- + fixed-to-float-patches/clutter-texture.c.0.patch | 10 +-- + fixed-to-float-patches/cogl-pango-render.c.0.patch | 10 +-- + fixed-to-float-patches/mtx_transform.0.patch | 19 ----- + 6 files changed, 85 insertions(+), 59 deletions(-) + +commit e730cd70b1c3cc23b01936878ac913a9fd7d7308 +Author: Emmanuele Bassi +Date: Mon Jan 12 17:12:24 2009 +0000 + + Whitespace fixes in ClutterTexture + + Small whitespace fixes patch; ClutterTexture requires much more + love than I can provide at the moment. + + clutter/clutter-texture.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 5ed62aaf76b49f9539d722f8b78ca99b8304a791 +Author: Emmanuele Bassi +Date: Mon Jan 12 17:09:47 2009 +0000 + + [async-loading] Do not force the texture size on async load + + The size of the texture as retrieved by the filename should + be set as the image size, not as the actor size, in order to + respect the :sync-size property. + + When the asynchronous loading process terminates, we queue + a relayout so that the scene is updated. + + clutter/clutter-texture.c | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +commit 168d558bcf7dcbd707364004fe968093b5bb5546 +Author: Emmanuele Bassi +Date: Mon Jan 12 16:54:30 2009 +0000 + + [async-loading] Update asynchronous image loading + + Provide a main loop-based fallback to the asynchronous loading in + case the GLib threading support hasn't been enabled. This also + allows us to clean up the asynchronous loading machinery and have + it behave consistently across different scenarios. + + Emit the ::load-finished even if the asynchronous loading from + disk was not enabled. + + Finally, block clutter_texture_set_from_file() until we have an + image width and height, so that querying the texture actor size + after set_from_file() will still yield the correct result even + when asynchronous loading is set. + + clutter/clutter-texture.c | 305 ++++++++++++++++++++++++++++++++++------------ + 1 file changed, 229 insertions(+), 76 deletions(-) + +commit 1c114be31a50410c1b2d0621848250102b6dd166 +Author: Emmanuele Bassi +Date: Mon Jan 12 16:52:20 2009 +0000 + + Add API for extracting image size from a file + + For the asynchronous loading we need a function call that parses + a file, given its path, and retrieves the image width and height. + + This commit adds cogl_bitmap_get_size_from_file() to the CoglBitmap + API. + + clutter/cogl/cogl-texture.h | 17 +++++++++ + clutter/cogl/common/cogl-bitmap-pixbuf.c | 65 +++++++++++++++++++++++++++----- + clutter/cogl/common/cogl-bitmap.c | 8 ++++ + clutter/cogl/common/cogl-bitmap.h | 5 +++ + 4 files changed, 86 insertions(+), 9 deletions(-) + +commit 946c075a2aca2fdc7e63ddb90c72e65f3a9fee30 +Merge: 2cea22e6a be462b2ea +Author: Emmanuele Bassi +Date: Mon Jan 12 14:43:53 2009 +0000 + + Merge branch 'master' into async-textures + +commit be462b2ea8d2ed908520a498908a83c5ba37a3b7 +Author: Havoc Pennington +Date: Mon Jan 12 14:19:48 2009 +0000 + + Bug 1087 - virtualize stage_queue_redraw + + Add a ClutterStage::queue-redraw signal. + + The purpose of this signal is to allow combining the Clutter redraw + idle with another redraw idle such as gtk's (or any other one really; + this is desirable anytime Clutter is not the only thing drawing to + a toplevel window). + + To override the default, you would connect to ::queue-redraw and then + stop the signal emission. + + clutter/clutter-stage.c | 118 ++++++++++++++++++++++++++++++++++++------------ + clutter/clutter-stage.h | 2 + + 2 files changed, 91 insertions(+), 29 deletions(-) + +commit f09b221ade120c16a4696f3160509ea98adfada3 +Author: Robert Bragg +Date: Mon Jan 12 13:02:19 2009 +0000 + + [ClutterGLXTexturePixmap] Use an RGB texture (not ARGB) for 24bpp pixmaps + + By creating an ARGB texture for 24bpp pixmaps we were exposing an undefined + alpha channel to the blending and texture combine stages which resulted in + nasty artefacts. (This issue was seen on i945 + DRI2) + + clutter/glx/clutter-glx-texture-pixmap.c | 30 +++++++++++++++++++++++------- + 1 file changed, 23 insertions(+), 7 deletions(-) + +commit ed991fe3c5558bb2bb9058ec0bdeef2071236056 +Author: Emmanuele Bassi +Date: Mon Jan 12 11:21:06 2009 +0000 + + Declare G_LOG_DOMAIN for COGL + + In order to get properly namespaced debug and warning messages + inside COGL code we need to define the G_LOG_DOMAIN macro. + + clutter/cogl/common/Makefile.am | 1 + + clutter/cogl/gl/Makefile.am | 1 + + clutter/cogl/gles/Makefile.am | 1 + + 3 files changed, 3 insertions(+) + +commit f911a3a7a13a778b44fedb4760ea55105d6bcd46 +Author: Emmanuele Bassi +Date: Mon Jan 12 11:18:11 2009 +0000 + + Allow ensuring that a stage viewport is updated + + Since we only update the GL viewport when we receive a ConfigureNotify + event on X11, we also need a function to allow other toolkits to tell + a stage that the viewport should be updated. + + This commit adds clutter_stage_ensure_viewport(), a function that simply + sets the private SYNC_MATRICES flag on the stage and then queues a + redraw. + + This function should be called by libraries integrating Clutter with + other toolkits, like clutter-gtk or clutter-qt. + + clutter/clutter-stage.c | 25 +++++++++++++++++++++++++ + clutter/clutter-stage.h | 1 + + 2 files changed, 26 insertions(+) + +commit 4f6cc0b25f958ea720604db09b43896a985e1f50 +Author: Emmanuele Bassi +Date: Mon Jan 12 11:15:41 2009 +0000 + + [x11] Proper fix for the ClutterStage resize race + + Continuation of the fix in commit 00a3c698686f25e193d0311ad25c903f0ad71e8b. + + Instead of using a separate flag for the resize process, just + delay the setting of the CLUTTER_ACTOR_SYNC_MATRICES flag on the + stage to the point when we receive a ConfigureNotify event from + X11. + + This commit will break the stage embedding into other toolkits. + + clutter/clutter-backend.c | 3 --- + clutter/clutter-main.c | 3 +-- + clutter/clutter-private.h | 3 +-- + clutter/x11/clutter-event-x11.c | 14 ++++++++++---- + clutter/x11/clutter-stage-x11.c | 27 ++++++++++----------------- + 5 files changed, 22 insertions(+), 28 deletions(-) + +commit 2693ea3ddc4f7a70109a56c425280b6836ca9924 +Author: Emmanuele Bassi +Date: Fri Jan 9 14:26:35 2009 +0000 + + [docs] Documentation warnings + + Fix the various warnings issued by gtk-doc when enabling the API + reference generation for both COGL and Clutter. + + clutter/clutter-cairo-texture.h | 14 ++++++ + clutter/cogl/cogl-types.h | 72 ++++++++++++++++-------------- + clutter/cogl/common/cogl-mesh.c | 2 + + doc/reference/clutter/clutter-docs.xml | 2 +- + doc/reference/clutter/clutter-sections.txt | 55 +++++++++++------------ + 5 files changed, 83 insertions(+), 62 deletions(-) + +commit 00a3c698686f25e193d0311ad25c903f0ad71e8b +Author: Emmanuele Bassi +Date: Fri Jan 9 12:06:46 2009 +0000 + + [x11] Fix a race condition when resizing a stage + + There is a race condition when we resize a stage before showing + it on X11. + + The race goes like this: + + - clutter_init() creates the default stage and realize it, which + will cause a 640x480 Window to be created + - call set_size(800, 600) on the stage will cause the Window to be + resized to 800x600 + - call show() on the stage for the first time will cause COGL + to set up an 800 by 600 GL viewport + - the Window will be mapped, which will cause X to notify the + window manager that the Window should be resized to 800x600 + - the window manager will approve the resize + - X resizes the drawable to 800x600 + + To fix the race, we need to defer COGL from setting up the viewport + until we receive a ConfigureNotify event and the X server has resized + the Drawable. + + In order to defer the call to cogl_setup_viewport() we add a new + private flag, CLUTTER_STAGE_IN_RESIZE; the flag is checked whenever + we need to change the viewport size along with the SYNC_MATRICES + private flag. Thus, cogl_setup_viewport() will be called only if + SYNC_MATRICES is set and IN_RESIZE is not set. + + clutter/clutter-main.c | 3 ++- + clutter/clutter-private.h | 3 ++- + clutter/x11/clutter-event-x11.c | 6 ++++++ + clutter/x11/clutter-stage-x11.c | 35 ++++++++++++++++++++++++----------- + 4 files changed, 34 insertions(+), 13 deletions(-) + +commit efd7ad7e55357e3f656a9158c911521646898a2e +Author: Emmanuele Bassi +Date: Thu Jan 8 17:06:04 2009 +0000 + + [text] Fix GObject properties in ClutterText + + Some of the read-write properties of ClutterText were missing + an implementation in clutter_text_get_property(), as well as + the :position and :selection-bound properties being wrongly + converted from fixed point to integer, passing through floating + point values. + + clutter/clutter-text.c | 28 ++++++++++++++++++++++++++-- + 1 file changed, 26 insertions(+), 2 deletions(-) + +commit e9ee7f049d51c5d3a273385dae0d073c373ca51c +Author: Emmanuele Bassi +Date: Thu Jan 8 15:45:22 2009 +0000 + + Fix last improper usage of ClutterUnits + + ClutterUnits should not be used interchangeably as, or with + ClutterFixed values. ClutterUnits should also not be assumed + to be integers. + + This commit fixes the last few improper usages of ClutterUnit + values, and adds a CLUTTER_UNITS_FORMAT macro for safely printing + ClutterUnit values with printf(). + + clutter/clutter-actor.c | 44 ++++++++++++++++----------- + clutter/clutter-units.h | 2 ++ + tests/interactive/test-project.c | 65 +++++++++++++++++++--------------------- + 3 files changed, 59 insertions(+), 52 deletions(-) + +commit db3d2e9568f565de9c7656c765a5068b39f9241e +Merge: 986c18d26 628ccaf4a +Author: Emmanuele Bassi +Date: Thu Jan 8 13:38:51 2009 +0000 + + Merge branch 'animatable-iface' into animation-improvements + + * animatable-iface: + [docs] Add ClutterAnimatable to the API reference + Add license notice to ClutterAnimation files + [animation] Use ClutterAnimatable inside Animation + [animation] Add ClutterAnimatable + +commit 628ccaf4a855dc2477a5bb579bf49c414a80249e +Author: Emmanuele Bassi +Date: Thu Jan 8 13:31:27 2009 +0000 + + [docs] Add ClutterAnimatable to the API reference + + doc/reference/clutter/clutter-docs.xml | 1 + + doc/reference/clutter/clutter-sections.txt | 79 +++++++++++++++++++----------- + doc/reference/clutter/clutter.types | 1 + + 3 files changed, 52 insertions(+), 29 deletions(-) + +commit d340de8e00b5de125ed94b2b26b9bcaa08a19675 +Author: Emmanuele Bassi +Date: Thu Jan 8 13:18:00 2009 +0000 + + Add license notice to ClutterAnimation files + + clutter/clutter-animatable.c | 24 ++++++++++++++++++++++++ + clutter/clutter-animatable.h | 24 ++++++++++++++++++++++++ + 2 files changed, 48 insertions(+) + +commit 986c18d260bb24261e155b096aa5e53e14c65411 +Author: Emmanuele Bassi +Date: Thu Jan 8 13:16:20 2009 +0000 + + [docs] Update the ClutterAnimation section + + doc/reference/clutter/clutter-sections.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 068ba1caf04a952f2d0eec9eb1a9f72e72a8d000 +Author: Emmanuele Bassi +Date: Thu Jan 8 13:13:39 2009 +0000 + + [animation] Extend ClutterAnimation support to all objects + + Instead of limiting the use of ClutterAnimation to ClutterActor + instances, relax the constraint to include all GObject classes. + + ClutterAnimation is not using actor-specific API, since it is + only using properties. + + The only actor-based API is the clutter_actor_animate() family + of functions. + + clutter/clutter-animation.c | 148 +++++++++++++++++++++----------------------- + clutter/clutter-animation.h | 6 +- + 2 files changed, 74 insertions(+), 80 deletions(-) + +commit 60cfa5edb241a4115e36d4d67374f3e87a4bb688 +Author: Emmanuele Bassi +Date: Thu Jan 8 12:59:16 2009 +0000 + + [animation] Use ClutterAnimatable inside Animation + + ClutterAnimation should check if the object is implementing the + Animatable interface, and if so delegate to it the computation + of the value along the interval initial and final value, depending + on the progress. + + clutter/clutter-animation.c | 34 ++++++++++++++++++++++++++++++++-- + 1 file changed, 32 insertions(+), 2 deletions(-) + +commit 24808e20b3c190ef79a88f958e4ff2617b7c155f +Author: Emmanuele Bassi +Date: Thu Jan 8 12:56:46 2009 +0000 + + [animation] Add ClutterAnimatable + + The ClutterAnimatable interface is meant to be used by GObject + classes to override the value computation for an animatable + property within the boundaries of an interval. + + It is composed of a single virtual function, animate_property(); + its implementation will receive the ClutterAnimation used to + animate the object; the property name; the initial and final + interval values; and the progress factor as retrieved by the + Alpha object bound to the Animation instance. + + clutter/Makefile.am | 2 + + clutter/clutter-animatable.c | 93 ++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-animatable.h | 56 ++++++++++++++++++++++++++ + clutter/clutter.h | 1 + + 4 files changed, 152 insertions(+) + +commit 378ca42d5b22355d39faf09fb16721f7a6ffbf94 +Merge: c1866858d e4b185907 +Author: Robert Bragg +Date: Thu Jan 8 11:48:00 2009 +0000 + + Merge branch 'master' into cogl-float + +commit c1866858dd43c550f95da0840b9fb4225c12f3cc +Author: Robert Bragg +Date: Wed Jan 7 19:39:31 2009 +0000 + + fixes for clutter-behaviour-ellipse.c.0.patch + + .../clutter-behaviour-ellipse.c.0.patch | 107 ++++----------------- + 1 file changed, 21 insertions(+), 86 deletions(-) + +commit 0ffb6f7aa5de917e474df305c64e84581cf31fc1 +Author: Robert Bragg +Date: Wed Jan 7 16:22:45 2009 +0000 + + [clutter-alpha.c.0.patch] replace ClutterAngle with float + + This is just an update of the patch to reflect that fixed-to-float.sh now + replaces ClutterAngle usage with float. + + fixed-to-float-patches/clutter-alpha.c.0.patch | 26 +++++++++++++------------- + 1 file changed, 13 insertions(+), 13 deletions(-) + +commit 65e7bc636394f12e6f11cc6c5ba0c113c3a11bc1 +Author: Robert Bragg +Date: Wed Jan 7 15:33:24 2009 +0000 + + Replaces uses of CoglAngle with floats (Though the CoglAngle type remains) + + The CoglAngle type can still be used for focused optimisations since the type + and macros remain. Uses of CoglAngle within Cogl have been replaced with floats; + COGL_ANGLE_FROM_DEG is no longer used anywhere and the replacements for + cogl_angle_cos -> cosf (same for sin) have been fixed to convert float values + in degrees to radians. This fixes the cogl-primitives API. + + fixed-to-float.sh | 17 ++++++++++++++--- + 1 file changed, 14 insertions(+), 3 deletions(-) + +commit e4b1859077797049918d97d9ba1ec7b0c3cac0b8 +Author: Robert Bragg +Date: Wed Jan 7 12:33:40 2009 +0000 + + [test-clip] Use gint for hand_{width,height} when calulating -hand_* /2 + + It was a fluke that this worked out due to how the incorrect integer + result gets converted by CLUTTER_INT_TO_FIXED. + + tests/interactive/test-clip.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 28b0f432b78f9db0c36d3b286cc8928d12b3b1f3 +Author: Emmanuele Bassi +Date: Thu Jan 8 11:15:09 2009 +0000 + + [animation] Allow registering custom progress function + + A ClutterInterval can change the way the progress is computed + by subclassing and overriding the ::compute_value() virtual function. + + It should also be possible to register a custom progress function + in the same way it is possible to register a custom transformation + function between two GValues. + + This commit adds an internal, global hash table that maintains a + GType <-> progress function association; each ClutterInterval + will check if there is a progress function registered for the + GType of the initial and final values of the interval and, if + it has been found, it will call it to compute the value of the + interval depending on the progress factor. + + clutter/clutter-interval.c | 105 +++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-interval.h | 31 +++++++++++++ + 2 files changed, 136 insertions(+) + +commit cc8cd8392f109edeec073fcecab12443bbbaedd2 +Author: Robert Bragg +Date: Wed Jan 7 12:08:43 2009 +0000 + + [test-depth] Use a gint for width, not guint, when calculating -width/2 + + It was a fluke that this worked out due to how clutter_actor_set_depth + internally converts the incorrect integer result to fixed point. + + tests/interactive/test-depth.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ff48c3ef7c05de41e087645deb845b4d9bb66ae6 +Author: Emmanuele Bassi +Date: Wed Jan 7 18:18:59 2009 +0000 + + [animation] Interval::compute_value should return a boolean + + If the computation of the interval value depending on the progress + was not successful, ClutterInterval::compute_value() should return + this information to the caller. + + clutter/clutter-animation.c | 4 ++-- + clutter/clutter-interval.c | 31 ++++++++++++++++++++++++------- + clutter/clutter-interval.h | 4 ++-- + 3 files changed, 28 insertions(+), 11 deletions(-) + +commit 2cea22e6a05e13c32c2f13ee1d369a5806605866 +Author: Chris Lord +Date: Wed Jan 7 17:02:43 2009 +0000 + + Update/clean and apply the async-texture patch from bug #1144 + + clutter/clutter-texture.c | 152 +++++++++++++++++++++++++++++++++++++- + clutter/clutter-texture.h | 3 +- + clutter/cogl/cogl-texture.h | 42 +++++++++++ + clutter/cogl/cogl-types.h | 7 ++ + clutter/cogl/common/cogl-bitmap.c | 31 ++++++++ + clutter/cogl/common/cogl-bitmap.h | 2 - + clutter/cogl/gl/cogl-texture.c | 52 +++++++------ + 7 files changed, 262 insertions(+), 27 deletions(-) + +commit 5d5b93bd2a11ba8e6fb5e331f1849640f1153a3b +Author: Emmanuele Bassi +Date: Wed Jan 7 16:26:03 2009 +0000 + + Rename a variable masking index() + + The maintainer CFLAGS found another masking of the index() function + by an helpless variable. + + clutter/clutter-text.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 805b88d4c02deda68f6adbd5f65dc6e81451b5f6 +Merge: 5913bcf7e e21fee39b +Author: Neil Roberts +Date: Wed Jan 7 16:10:25 2009 +0000 + + Merge branch multiple-texture-rectangle into master + + Bug 1289 - Draw multiple glyphs at once + + The multiple-texture-rectangle branch adds a new Cogl texture function + called cogl_texture_multiple_rectangles which is used to draw multiple + rectangles out of a texture using a single GL call. This is + significantly faster than drawing the rectangles with individual calls + on some platforms. The Pango renderer now uses this to speed up + rendering. + + The conflicts are just due to the whitespace fixes in cb569a5. + + Conflicts: + + clutter/cogl/gl/cogl-context.c + clutter/cogl/gl/cogl-context.h + clutter/cogl/gl/cogl-texture.c + +commit 5913bcf7e3b1ac4317c33a01362c1fc6e6679704 +Author: Emmanuele Bassi +Date: Wed Jan 7 15:54:08 2009 +0000 + + [tests] Update the ClutterText interactive test + + Remove the unused functions and if the test fails to load the + text from a file, show the error inside the text actor itself. + + tests/interactive/test-text.c | 134 +++++++----------------------------------- + 1 file changed, 22 insertions(+), 112 deletions(-) + +commit 0d9c07f82464962a189cdf1c05c1afe0e10cd9bf +Author: Emmanuele Bassi +Date: Wed Jan 7 14:53:54 2009 +0000 + + [docs] Documentation fixes + + Remove the causes of warnings from the Clutter gtk-doc API reference + generation process. + + clutter/clutter-binding-pool.c | 2 +- + doc/reference/clutter/clutter-sections.txt | 19 ++----------------- + 2 files changed, 3 insertions(+), 18 deletions(-) + +commit c1c713119990f222b6d48ab52ca78c1e383ac332 +Author: Emmanuele Bassi +Date: Wed Jan 7 13:48:45 2009 +0000 + + [text] Do not use markup on an editable Text + + An editable ClutterText should not use pango_layout_set_markup(), + as the contents of the text actor will not match the text. + + Only read-only text actors should parse the contents for Pango + markup. + + clutter/clutter-text.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 368df450b21e6a731a61d5f30d6b997e258ef0e3 +Author: Emmanuele Bassi +Date: Wed Jan 7 13:14:13 2009 +0000 + + [text] Do not ensure the cursor if not needed + + If the Text actor is neither editable nor has its cursor set + to visible, then we should not be ensuring the cursor position. + + This fixes a failure in the conformance test unit for the + layout cache. + + clutter/clutter-text.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit c297d1ccf14c8c798773f7e179bb7d1eaa9d6521 +Author: Emmanuele Bassi +Date: Wed Jan 7 12:17:09 2009 +0000 + + [tests] Make test-scale use ClutterText + + The ClutterLabel actor has been superceded by ClutterText. + + This is merge fall-out from the text-actor branch. + + tests/interactive/test-scale.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 796294fd4e8fb78798f6000bc44cbcc646599481 +Author: Emmanuele Bassi +Date: Wed Jan 7 12:16:08 2009 +0000 + + [tests] Remove test-opacity interactive test + + Merge fall-out from the text-actor branch. The test-opacity test + was moved to the conformance test suite. + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-opacity.c | 116 --------------------------------------- + 2 files changed, 117 deletions(-) + +commit c54bd990975fddc4b395a8f05b0ae9080760f473 +Merge: e4272fba6 ad7d1b54b +Author: Emmanuele Bassi +Date: Wed Jan 7 12:06:33 2009 +0000 + + Merge the ClutterText actor + + Merge branch 'text-actor' + + * text-actor: (108 commits) + Re-align ClutterText header file + [text] Fix cursor sizing + Comments and whitespace fixes to ClutterText + [docs] Add newly added :single-line-mode accessors + Update the ignore file + [tests] Add text field interactive test + [text] Add single-line-mode to ClutterText + [text] Fix the deletion actions + [text] Use cached length when possible + [tests] Add unit for the ClutterText:password-char property + [docs] Update the Text section + [text] Coalesce text visibility and password character + Allow localizations to change the text direction + Clean up the update_pango_context() function + Pass the PangoContext, not the MainContext + Revert the logic of the PangoContext check + Remove the binding pool entry from the list + Remove BindingPool::list_actions() + Add ClutterActor::create_pango_context() + Rename the PangoContext creation functions + ... + +commit ad7d1b54bc86fe523167366583fbf463d15db631 +Author: Emmanuele Bassi +Date: Wed Jan 7 11:46:22 2009 +0000 + + Re-align ClutterText header file + + The addition of the single line mode accessor methods caused the + re-alignment of the entire file. + + clutter/clutter-text.h | 192 ++++++++++++++++++++++++------------------------- + 1 file changed, 96 insertions(+), 96 deletions(-) + +commit 328534fc95746ddd38d591efa471db142d1793c4 +Author: Emmanuele Bassi +Date: Wed Jan 7 11:44:54 2009 +0000 + + [text] Fix cursor sizing + + The cursor should be slightly smaller than the height of the actor, to + allow for painting a border. Let's pad it by 1 pixel on the top and 1 + on the bottom. + + Also, we should use the cursor size everywhere and not use hardcoded + magic numbers. + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f3142a70dc8e62127a22edf2ff6a8d01aac86329 +Author: Emmanuele Bassi +Date: Wed Jan 7 00:43:24 2009 +0000 + + Comments and whitespace fixes to ClutterText + + clutter/clutter-text.c | 20 +++++++++++--------- + po/clutter-0.8.pot | 0 + 2 files changed, 11 insertions(+), 9 deletions(-) + +commit 7f9c384099c1ca839b34f32c0980f76fe87c19e4 +Author: Emmanuele Bassi +Date: Wed Jan 7 00:30:59 2009 +0000 + + [docs] Add newly added :single-line-mode accessors + + Add the ClutterText:single-line-mode property accessor methods + to the API reference. + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit 1223fcbb4fd3a0e4ba05a31ca6f71633a56045ee +Author: Emmanuele Bassi +Date: Wed Jan 7 00:29:41 2009 +0000 + + Update the ignore file + + .gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit 71c03df967e0725aa49f2a51de9909b2fd42d971 +Author: Emmanuele Bassi +Date: Wed Jan 7 00:27:50 2009 +0000 + + [tests] Add text field interactive test + + The test-text-field is a test/example that shows how to use the + ClutterText as a text input field in single line mode. + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-text-field.c | 117 ++++++++++++++++++++++++++++++++++++ + 2 files changed, 119 insertions(+), 1 deletion(-) + +commit 43f82332dd918c7e13e7896523a2508430cfa6f0 +Author: Emmanuele Bassi +Date: Wed Jan 7 00:25:24 2009 +0000 + + [text] Add single-line-mode to ClutterText + + Allow using ClutterText as a single line text field. This is useful for + text fields that accept just a single line of contents by default, and + respond to the Enter key press to execute some action. + + The :single-line-mode property enables this behaviour inside ClutterText + by clipping and scrolling the contents of the PangoLayout if they do + not fit the allocated width of the Text actor. + + clutter/clutter-text.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-text.h | 4 ++ + 2 files changed, 172 insertions(+), 7 deletions(-) + +commit 8182b354b167681a89ef9c3354c1278378e4ea2c +Author: Emmanuele Bassi +Date: Tue Jan 6 20:54:20 2009 +0000 + + [text] Fix the deletion actions + + When using the delete-prev action from the end of the text we end + up either missing the first glyph we have to delete or falling + through the last one in the text. + + This commit fixes both issues. + + clutter/clutter-text.c | 39 ++++++++++++++++----------------------- + 1 file changed, 16 insertions(+), 23 deletions(-) + +commit 3d32d464e9a83ca2a89700778ece28307f4d359e +Author: Emmanuele Bassi +Date: Tue Jan 6 20:52:03 2009 +0000 + + [text] Use cached length when possible + + Since clutter_text_set_text() measures the length of the text + each time, we should use the cached length instead of recomputing + the text length each time. This should save us some time when + dealing with long, multi-byte texts. + + clutter/clutter-text.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 1eeb21c155882497f7b0f76b0fbdc84a13e1f4ab +Author: Robert Bragg +Date: Tue Jan 6 16:32:42 2009 +0000 + + [fixed-to-float.sh] COGL_FIXED_FROM_INT wasn't casting to a float + + It's necissary to replace COGL_FIXED_FROM_INT with a (float) cast otherwise + the replacement maths may end up with integer rounding errors. This was + causing text to not be displayed due to the texture coordinate calculation + always rounding to (0,0) + + fixed-to-float.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e42d756a69309d1651c13bd1eb79c2c3dff86a0f +Author: Robert Bragg +Date: Tue Jan 6 18:45:34 2009 +0000 + + [clutter-alpha.c.0.patch] Normalizes sine values [0,1] before calculating alpha + + The previous patch broke some of the normalization done before the sine value + gets multiplied with CLUTTER_ALPHA_MAX. This e.g. broke test-actors when sine + values went through to -1, as the o-hands were scaled so large all you saw was + the red 'O'. + + fixed-to-float-patches/clutter-alpha.c.0.patch | 55 +++++++++++++++----------- + 1 file changed, 31 insertions(+), 24 deletions(-) + +commit 12ea2933bd35d22b34973674abf6dcb43fca31f8 +Author: Neil Roberts +Date: Tue Jan 6 18:24:57 2009 +0000 + + [cogl-material] Restore the GL_TEXTURE_ENV_MODE after material_rectangle + + The rest of Cogl expects the texture mode to be GL_MODULATE so it + needs to be restored after calling cogl_material_rectangle. Otherwise + cogl_texture_rectangle will fail to blend with the Cogl color properly + and all of the labels will be black. + + clutter/cogl/gl/cogl-texture.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 606d34f2aa5f4f1480f415ef241b28855dc835af +Author: Neil Roberts +Date: Tue Jan 6 16:09:55 2009 +0000 + + [cogl-material] Make the user_tex_coords parameter of _rectangle const + + The array is only used for input so it should be const. + + clutter/cogl/cogl-texture.h | 12 ++++++------ + clutter/cogl/gl/cogl-texture.c | 14 +++++++------- + clutter/cogl/gles/cogl-texture.c | 12 ++++++------ + 3 files changed, 19 insertions(+), 19 deletions(-) + +commit b3b7312f33fa47c7e8d814c1f34a4d259f074b72 +Author: Neil Roberts +Date: Tue Jan 6 16:01:23 2009 +0000 + + [test-cogl-material] Remove return value from material_rectangle_paint + + The paint signal has no return value so it isn't needed. This fixes + a compiler warning. + + tests/interactive/test-cogl-material.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f5288b1918e7d70c8630f11cb32922ddbec2f078 +Author: Neil Roberts +Date: Tue Jan 6 15:53:35 2009 +0000 + + Add cogl-material.h and cogl-matrix.h to libclutterinclude_HEADERS + + Otherwise they won't get installed + + clutter/cogl/gl/Makefile.am | 4 +++- + clutter/cogl/gles/Makefile.am | 4 +++- + 2 files changed, 6 insertions(+), 2 deletions(-) + +commit 87ab64d291781d468c55c8dd54dd9182b80921fd +Author: Emmanuele Bassi +Date: Tue Jan 6 15:30:31 2009 +0000 + + [tests] Add unit for the ClutterText:password-char property + + Check that the contents of the Text actor are unaffected by the + :password-char property; that the accessors are correct; and finally + that the initial value for a newly constructed Text actor is valid. + + tests/conform/test-clutter-text.c | 19 +++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 2 files changed, 20 insertions(+) + +commit c4475c6bfc133eea9e44abea73c3fa2f121fded8 +Author: Emmanuele Bassi +Date: Tue Jan 6 15:29:44 2009 +0000 + + [docs] Update the Text section + + After the 979b6794 commit, the section for ClutterText needs + updating on the renamed and removed accessors. + + doc/reference/clutter/clutter-sections.txt | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit 979b6794bb207575fdac6fa520cca5c9adf6f86e +Author: Emmanuele Bassi +Date: Tue Jan 6 15:22:31 2009 +0000 + + [text] Coalesce text visibility and password character + + Using two properties to set a password entry can be construed as + both cumbersome and a gtk-ism. And rightly so on both counts. + + The :text-visible property has also conflicting semantics with the + :cursor-visible one: while the latter hides the cursor, the former + changes the display of the contents of the Text actor. It is, thus, + not a matter of "visibility" but of "rendering". + + Instead of setting the :text-visible and :invisible-char properties + to have a password text field, the Text actor should just have a + single :password-char property holding a Unicode character. If the + value of the :password-char is non-zero, the Text actor will use the + Unicode character to render the contents of the text entry. + + This commit removes the following methods: + + clutter_text_set_text_visible() + clutter_text_get_text_visible() + clutter_text_set_invisible_char() + clutter_text_get_invisible_char() + + And the following properties: + + ClutterText:text-visible + ClutterText:invisible-char + + In favour of: + + clutter_text_set_password_char() + clutter_text_get_password_char() + + And: + + ClutterText:password-char + + Thus making obvious what use the property and accessor methods are + for and simplifying the process of creating a simple password text + field to: + + text = clutter_text_new (); + clutter_text_set_password_char (CLUTTER_TEXT (text), '*'); + + clutter/clutter-text.c | 177 ++++++++++++------------------------------------- + clutter/clutter-text.h | 7 +- + 2 files changed, 46 insertions(+), 138 deletions(-) + +commit 854cf5d49916c8b4eb7218c340db2f95dca81d24 +Author: Emmanuele Bassi +Date: Tue Jan 6 12:53:30 2009 +0000 + + Animate ClutterColor properties + + We can animate a ClutterColor-based property between an interval + of two colors by simply applying the factor to each color component. + + clutter/clutter-interval.c | 21 ++++++++++++++++++++- + tests/interactive/test-animation.c | 17 ++++++++++++----- + 2 files changed, 32 insertions(+), 6 deletions(-) + +commit 1892f8cb1da5727e56323a42f7c2ff9b5d596c31 +Author: Emmanuele Bassi +Date: Tue Jan 6 12:35:19 2009 +0000 + + Allow localizations to change the text direction + + The locale translators of Clutter are also the ones that should set + the default direction of the text in a Clutter user interface. + + This commit adds a translatable string that defines the direction + of the text; the translation authors will change it to the correct + value and that will determine the default direction. + + The default text direction can be overridden by using the + CLUTTER_TEXT_DIRECTION environment variable, or by using the + --clutter-text-direction command line switch. In any other case, + the locale will determine the text direction, as it should. + + clutter/clutter-main.c | 21 ++++++++++++++++++--- + 1 file changed, 18 insertions(+), 3 deletions(-) + +commit e4272fba69f9c174388eb8a1ffabd3211393461e +Author: Neil Roberts +Date: Tue Jan 6 11:39:14 2009 +0000 + + Fix off-by-one error in clutter_stage_read_pixels + + It was always reading one pixel lower than requested. If y was 0 then + it would try to read below the lowest line. + + Thanks to Geoff Gustafson for spotting. + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8e6423a1b6e08e140a888df5398206640deea59e +Author: Takao Fujiwara +Date: Tue Jan 6 12:11:07 2009 +0000 + + Bug 1397 - Allow localizing the command line help + + Clutter has a set of command line options that are added to every + application by means of clutter_init() or by obtaining the Clutter + GOptionGroup and using g_option_context_parse(). Thus, every Clutter + application will automatically have an --help command line switch + showing the list of options and their description. + + At the moment, Clutter does not enable localization of the help, + thus making it less than useful on non-English locales. + + This patch enables the machinery to create a localization file and + load it when initializing Clutter, by means of the GLib macros and + locale.h API we already use. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-main.c | 18 +++++++++++------- + clutter/glx/clutter-backend-glx.c | 4 +++- + clutter/x11/clutter-backend-x11.c | 8 +++++--- + configure.ac | 1 + + po/POTFILES.in | 14 ++++++++++++++ + 5 files changed, 34 insertions(+), 11 deletions(-) + +commit e5543a658f74bcc6efb477d34953e5f2bf08d930 +Author: Neil Roberts +Date: Mon Jan 5 17:05:30 2009 +0000 + + Make libdisable-npots a bit more portable + + Instead of including GL/gl.h directly it now includes cogl/cogl.h + instead which should include the right GL header. + + Instead of using dlopen to specifically open libGL it now tries to use + dlsym with RTLD_NEXT. This requires defining _GNU_SOURCE on GNU + systems. If RTLD_NEXT is not available it will try passing NULL which + is unlikely to work but it will at least catch the case where it + returns the wrapper version of glGetString to prevent infinite + recursion. + + This should hopefully make it work on OS X where the name of the + header and library are different (although this is currently + untested). + + tests/tools/Makefile.am | 6 ++++++ + tests/tools/disable-npots.c | 21 ++++++++++++++------- + 2 files changed, 20 insertions(+), 7 deletions(-) + +commit 11870040998e0c7e0a30da11a1b91e0c54631c5b +Author: Emmanuele Bassi +Date: Mon Jan 5 16:48:46 2009 +0000 + + Clean up the update_pango_context() function + + Logically split the various operations with whitespace so that + it's clear what does what. + + clutter/clutter-main.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit a5f9c7269465da32a8f0209dfce27f875e4fe05b +Author: Emmanuele Bassi +Date: Mon Jan 5 16:45:59 2009 +0000 + + Pass the PangoContext, not the MainContext + + When updating the PangoContext with the current options (font name, + options, resolution) pass the PangoContext instead of the Clutter + MainContext structure pointer. + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c79112bd3c4febc39eeba5cabe50319f1eb7976c +Author: Emmanuele Bassi +Date: Mon Jan 5 16:44:52 2009 +0000 + + Revert the logic of the PangoContext check + + The branch that creates the global PangoContext should only run + if there is no global PangoContext already. + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 700b34148bd9e052bf521caeaff05c1373200972 +Author: Emmanuele Bassi +Date: Mon Jan 5 16:29:49 2009 +0000 + + Remove the binding pool entry from the list + + When removing a binding entry from the binding pool we should not + only remove it from the hash table, but also from the linked list + we use to iterate over inside the block/unblock_action() pair. + + clutter/clutter-binding-pool.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit c988b7b736e6d7ab7929b409f6c54c81d5862623 +Author: Emmanuele Bassi +Date: Mon Jan 5 16:25:50 2009 +0000 + + Remove BindingPool::list_actions() + + The clutter_binding_pool_list_actions() was not implemented. The + utility of a call listing all the action names is also debatable: + all the functions related to the key bindings take the key symbol + and modifiers -- except the block_action() and unblock_action() + pair. + + clutter/clutter-binding-pool.c | 6 ------ + clutter/clutter-binding-pool.h | 1 - + doc/reference/clutter/clutter-sections.txt | 1 - + 3 files changed, 8 deletions(-) + +commit 982a678053a518e94928e5d7a344c4c5525dec15 +Author: Emmanuele Bassi +Date: Mon Jan 5 15:29:10 2009 +0000 + + Add ClutterActor::create_pango_context() + + Sometimes an actor needs to set specific font rendering options on + the PangoContext without changing settings for every other text-rendering + actor. + + In order to do this, we need a new public method to create a Pango + context object -- preset with all the default settings -- owned by the + developer and not shared with the rest of Clutter. + + This new method is called clutter_actor_create_pango_context(); while + it does not strictly depend on a ClutterActor, it is a good idea to + have it inside the ClutterActor API to map the current get_pango_context() + method and in case we start storing screen-specific data to the Actor + itself during the 1.x API cycle. + + clutter/clutter-actor.c | 36 +++++++++++++++++++++++++++++++++--- + clutter/clutter-actor.h | 31 ++++++++++++++++--------------- + 2 files changed, 49 insertions(+), 18 deletions(-) + +commit d622a4dd8933b33f9328beaf1bf825451cadd025 +Author: Emmanuele Bassi +Date: Mon Jan 5 15:27:33 2009 +0000 + + Rename the PangoContext creation functions + + The _clutter_context_create_pango_context() should create a new + context; the function returning the PangoContext stored inside the + MainContext structure should be named _get_pango_context() instead. + + clutter/clutter-main.c | 44 ++++++++++++++++++++++++++------------------ + clutter/clutter-private.h | 1 + + 2 files changed, 27 insertions(+), 18 deletions(-) + +commit 33459f63d61c9cf984378ff395a6dffa4ae87d46 +Author: Emmanuele Bassi +Date: Mon Jan 5 15:26:57 2009 +0000 + + Whitespace fixes + + clutter/clutter-text.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit ff73fe3e1f142517617cddf6c73c72783bb7fe92 +Author: Neil Roberts +Date: Mon Jan 5 13:14:12 2009 +0000 + + Fix some animation_set_* functions so they cope if the value is the same + + The following functions are fixed: + + clutter_animation_set_actor + clutter_animation_set_timeline + clutter_animation_set_alpha + + This is related to bug 1392 which discusses the problem for + behaviour_set_alpha. + + clutter/clutter-animation.c | 31 +++++++++++++++++++------------ + 1 file changed, 19 insertions(+), 12 deletions(-) + +commit 39f4848b93511d1c6b8c3a4f0eb2774a501caea0 +Author: Neil Roberts +Date: Mon Jan 5 12:05:51 2009 +0000 + + Fix some *_set functions so they work if the object is the same value + + Bug 1392 - behaviour_set_alpha set same alpha twice lead to warning + and destroy the input alpha + + The following functions are fixed: + + clutter_actor_set_shader + clutter_alpha_set_timeline + clutter_behaviour_set_alpha + clutter_clone_texture_set_parent_texture + + They either now reference the new value before destroying the old + value, or just return immediately if the values are the same. + + clutter/clutter-actor.c | 20 +++++++------------- + clutter/clutter-alpha.c | 3 +++ + clutter/clutter-behaviour.c | 4 +++- + clutter/clutter-clone-texture.c | 3 +++ + 4 files changed, 16 insertions(+), 14 deletions(-) + +commit 62cfc6487fc2f3ccd4e1cfdd71bd2746ed833b61 +Author: Neil Roberts +Date: Mon Jan 5 12:52:46 2009 +0000 + + Fix setting the mode on a ClutterAlpha created with animation_set_alpha(NULL) + + It previously attempted to set the mode on the alpha using + clutter_animation_set_mode_internal, but this was setting the mode on + priv->alpha. At that point in the code priv->alpha is always NULL. + + clutter_animation_set_mode_internal now takes a parameter to specify + which alpha to modify. + + clutter/clutter-animation.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +commit fa431f64923d233cea61aac9f1df75a43e323158 +Author: Emmanuele Bassi +Date: Mon Jan 5 12:52:29 2009 +0000 + + [docs] Add the new API to the BindingPool section + + Add the clutter_binding_pool_override_* family of functions to + the BindingPool section of the Clutter API reference. + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit e56fe478ef9ae30584480827805e0dd6a8834e0b +Author: Emmanuele Bassi +Date: Mon Jan 5 12:49:01 2009 +0000 + + Allow overriding actions inside a BindingPool + + As of now, a key binding installed into a BindingPool is always there + and cannot be changed. + + This is problematic for sub-classes trying to override the callback + or the action for a given key binding. + + This commit adds the ability to override the closure for an existing + key binding inside a binding pool -- assumed the caller knows the + key symbol and modifiers used to install the key binding in the first + place. + + clutter/clutter-binding-pool.c | 125 +++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-binding-pool.h | 70 +++++++++++++---------- + 2 files changed, 165 insertions(+), 30 deletions(-) + +commit 2ed60a5270c7bb03e8046db52b2abdf71e195cce +Author: Neil Roberts +Date: Mon Jan 5 12:47:10 2009 +0000 + + In clutter_alpha_set_mode, set priv->mode after setting the func + + Otherwise the call to clutter_alpha_set_func sets the mode back to + CLUTTER_CUSTOM_MODE so clutter_alpha_get_mode won't get back the same + value that was set. + + clutter/clutter-alpha.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 55a22d57507dbafbc99fdb01820d5a7f41404e36 +Author: Emmanuele Bassi +Date: Mon Jan 5 12:27:45 2009 +0000 + + [text] Add select-all binding + + Bind Ctrl+A to the "select all" action. + + clutter/clutter-text.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 92e8b886d2b21618277079306169a8aa31a03806 +Author: Emmanuele Bassi +Date: Tue Dec 16 17:44:13 2008 +0000 + + [docs] Add clutter_text_activate() + + Add the last unused symbol to the ClutterText section. + + doc/reference/clutter/clutter-sections.txt | 3 +++ + 1 file changed, 3 insertions(+) + +commit 605ec10c3242f7024b77469ff38abf6a06ef08cc +Author: Emmanuele Bassi +Date: Tue Dec 16 17:40:41 2008 +0000 + + [docs] Remove ClutterLabel and ClutterEntry sections + + Remove the sections for the Label and the Entry actors, which + have been replaced by ClutterText. + + doc/reference/clutter/clutter-sections.txt | 86 ------------------------------ + 1 file changed, 86 deletions(-) + +commit fd2d78918b49dc2b67f18b444587f32a0030bfa9 +Merge: cb569a544 cf5d69139 +Author: Emmanuele Bassi +Date: Mon Jan 5 11:11:10 2009 +0000 + + Merge branch 'units-rework' + + * units-rework: + [texture] Do not mix fixed point and units values + [tests] Fix the actor detection + [units] Do not use fixed point and units interchangeably + +commit 377f1140465228333f41acb814c77e4e70800506 +Author: Robert Bragg +Date: Tue Dec 23 23:50:02 2008 +0000 + + [cogl-material] improvements for cogl_material_rectangle + + The API has been changed to take an explicit length for the number of + texture coordinates passed, and it's now documented that if there are + more layers to the current material than the number of texture coords + passed, then default coordinates will be generated for the other + layers. + + cogl_material_rectangle should now handle the case where a single + sliced texture is supplied as a material layer by falling back to + cogl_texture_rectangle. We are nearly at the point that + cogl_texture_rectangle could be deprecated. A few issues remain + though, such as not considering waste in cogl_material_rectangle. + + clutter/clutter-clone-texture.c | 1 + + clutter/clutter-texture.c | 1 + + clutter/cogl/cogl-texture.h | 75 +++++++---------------- + clutter/cogl/common/cogl-material-private.h | 14 +++-- + clutter/cogl/gl/cogl-texture.c | 95 +++++++++++++++++++++++------ + tests/interactive/test-cogl-material.c | 1 + + 6 files changed, 109 insertions(+), 78 deletions(-) + +commit e77a7847146dc8a4ca215def681c431cde2ff5e0 +Author: Robert Bragg +Date: Tue Dec 23 23:35:49 2008 +0000 + + [cogl-material] Adds a cogl_material_set_color function + + The other colors of a material; such as the ambient and diffuse color are + only relevent when we can enable lighting. This adds a basic unlit + color property. + + Later cogl_set_source_color can be integrated to either modify the color + of the current source material, or maintain a special singlton CoglMaterial + that is modified by calls to cogl_set_source_color and implicitly made + current. + + clutter/cogl/cogl-material.h | 13 +++++++++++++ + clutter/cogl/common/cogl-material.c | 30 ++++++++++++++++++++++++++++++ + 2 files changed, 43 insertions(+) + +commit 462c45da3c9cd4febb6849ce66868de74f614184 +Author: Robert Bragg +Date: Tue Dec 23 23:22:40 2008 +0000 + + [cogl-material] Some improvements for how we sync CoglMaterial state with OpenGL + + This flattens the three functions: cogl_material_flush_gl_material_state, + .._flush_gl_alpha_func and .._flush_gl_blend_func into one: + cogl_flush_material_gl_state which doesn't takes a material handle. (the handle + is instead taken from the context.) + + This has allows us to avoid re-submitting some state to OpenGL when the + material has not been replaced. + + Note: Avoiding redundant state changes for material layers isn't dealt with + in this patch. + + clutter/cogl/cogl-material.h | 72 ++++++++++------------ + clutter/cogl/common/cogl-material.c | 116 +++++++++++++++++++----------------- + clutter/cogl/gl/cogl-context.c | 1 + + clutter/cogl/gl/cogl-context.h | 1 + + clutter/cogl/gl/cogl-texture.c | 5 +- + 5 files changed, 97 insertions(+), 98 deletions(-) + +commit 4e57972bd6854027e509b8b80b9a8fc1204ad828 +Author: Robert Bragg +Date: Tue Dec 23 16:39:11 2008 +0000 + + [cogl-material] Converts clutter-texture/clutter-clone-texture to the material API + + This converts clutter-texture to use the new CoglMaterial API instead of + cogl_texture_rectangle. + + This change does not add multi-texturing support to Clutter, it's more about + aiming to deprecate cogl_texture_rectangle, and moving everything over to the + cogl_set_source(material); cogl_draw_somthing(); coding pattern. + + With this patch, the code can be built with/without CoglMaterial support so we + can do comparisons of the old/new code for a transient period. (look for the + USE_COGL_MATERIAL define) + + Note: The FBO paths haven't currently been tested, so they may need some + tweaks. + + clutter/clutter-clone-texture.c | 26 +++++ + clutter/clutter-texture.c | 226 ++++++++++++++++++++++++++++++++++++---- + clutter/clutter-texture.h | 13 +++ + 3 files changed, 242 insertions(+), 23 deletions(-) + +commit bb938ac4ff651d402a6ecaaf86d11623e19a346d +Merge: aee2589cc cb569a544 +Author: Robert Bragg +Date: Wed Dec 24 00:59:13 2008 +0000 + + Merge branch 'master' into cogl-material + + Conflicts: + + clutter/cogl/gl/cogl-context.c + clutter/cogl/gl/cogl-context.h + +commit cb569a54431082fe1e5e59078e0c7e045ebbd707 +Author: Robert Bragg +Date: Tue Dec 23 16:29:29 2008 +0000 + + White space clean up across a number of files (only removing trailing spaces) + + Removed trailing white space from the following files: + - clutter-clone-texture.c + - clutter-texture.c + - clutter-texture.h + - cogl/cogl-texture.h + - cogl/gl/cogl-context.c + - cogl/gl/cogl-texture.c + - cogl/gl/cogl-context.h + + clutter/clutter-clone-texture.c | 28 +-- + clutter/clutter-texture.c | 24 +- + clutter/clutter-texture.h | 4 +- + clutter/cogl/cogl-texture.h | 24 +- + clutter/cogl/gl/cogl-context.c | 26 +- + clutter/cogl/gl/cogl-context.h | 16 +- + clutter/cogl/gl/cogl-texture.c | 512 ++++++++++++++++++++-------------------- + 7 files changed, 317 insertions(+), 317 deletions(-) + +commit 7649e9de077744968f7937749f157be9e87707da +Author: Emmanuele Bassi +Date: Tue Dec 23 21:06:05 2008 +0000 + + Remove a masking with index() + + The binding-pool test unit had a variable masking the index() function + declared inside string.h. + + tests/conform/test-binding-pool.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c9cdf1ef0a02f9c4140686141e057ca32304a61d +Author: Emmanuele Bassi +Date: Tue Dec 23 20:55:35 2008 +0000 + + Fix an empty block + + Remove a stray ';' that prevented the get_bounds() method of the + ClutterBehaviourRotate to correctly return the start angle value. + + clutter/clutter-behaviour-rotate.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit affd915b847663a871b8c17addd2b1b66afe1276 +Author: Emmanuele Bassi +Date: Tue Dec 23 20:53:44 2008 +0000 + + Add more maintainer CFLAGS + + Be even more anal-retentive when the maintainer flags are enabled. + + Kudos to Benjamin Otte. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f777bc629ac90e2e0b70705823ecd3fb74f2cded +Author: Emmanuele Bassi +Date: Tue Dec 23 16:59:14 2008 +0000 + + [docs] Document the newly added functions + + Document the ClutterBackend font name accessors, and the + clutter_actor_get_pango_context() getter method. + + clutter/clutter-actor.c | 21 +++++++++++++++++++++ + clutter/clutter-backend.c | 24 ++++++++++++++++++++++++ + doc/reference/clutter/clutter-sections.txt | 9 ++++++--- + 3 files changed, 51 insertions(+), 3 deletions(-) + +commit 9389d9755d9121c1f99a5dc208ef90a10ca1b004 +Author: Emmanuele Bassi +Date: Tue Dec 23 16:40:26 2008 +0000 + + Add the ability to set the text direction + + The direction of the text depends on the locale, and it is the + basic setting needed to enable internationalization of user + interfaces. + + This commit allows setting the direction of the PangoContext instance + used by Clutter by using the CLUTTER_TEXT_DIRECTION environment + variable, or by passing the --clutter-text-direction command line + argument. Valid values are: + + ltr - for left-to-right locales + rtl - for right-to-left locales + + The default is LTR. + + Ideally, this should be a value set by the localization teams on the + PO file, but this step requires some build system surgery to allow + the translation of the Clutter strings. + + clutter/clutter-main.c | 68 ++++++++++++++++++++++++++++++++++++++++++-------- + 1 file changed, 58 insertions(+), 10 deletions(-) + +commit b4a3944b2b6bde5b57f86519135b959f4607cad3 +Author: Emmanuele Bassi +Date: Tue Dec 23 16:27:54 2008 +0000 + + Return the default font name if no font name is set + + When calling clutter_backend_get_font_name(), if no default font + name has previously been set, we just set the default and return + a pointer to it - like we do for the font options. + + clutter/clutter-backend.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit e3785f4f45d1ef8e0e65517c246cace4dade41ea +Author: Emmanuele Bassi +Date: Tue Dec 23 15:05:16 2008 +0000 + + Use the default font from the Backend + + Instead of storing the default font name and size as a pre-processor + macro, use the newly added ClutterBackend API to retrieve the current + default font from the backend. + + clutter/clutter-text.c | 20 ++++++++++++-------- + 1 file changed, 12 insertions(+), 8 deletions(-) + +commit 72625421556c63a7f33afa262d4b60e29f48580b +Author: Emmanuele Bassi +Date: Tue Dec 23 15:03:11 2008 +0000 + + Store the default font name inside ClutterBackend + + The default backend stores some of the global defaults, like the + font options, text resolution, double click settings. It should also + store the default font name, to allow various text-based actors to + share the same settings. + + When the font name changes, the ::font-changed signal is emitted, + to allow actors to pick up the change. + + clutter/clutter-backend.c | 34 ++++++++++++++++++++++++++++++++++ + clutter/clutter-backend.h | 5 +++++ + 2 files changed, 39 insertions(+) + +commit 977bdcf89b449845f3b9aeb02d02fe1fb4577fcb +Author: Emmanuele Bassi +Date: Tue Dec 23 14:34:16 2008 +0000 + + Update the PangoContext on backend changes + + When the ClutterBackend notifies of changes in the resolution or + font options, update the PangoContext stored by Clutter's main + context. This allows changing the backend font-related settings at + runtime. + + clutter/clutter-main.c | 32 ++++++++++++++++++++++++-------- + 1 file changed, 24 insertions(+), 8 deletions(-) + +commit 213d8f0e4e165554ad2c172c2b18cb29dfce9b76 +Author: Emmanuele Bassi +Date: Tue Dec 23 14:27:41 2008 +0000 + + Store the PangoContext inside the main context + + The PangoContext should be stored once, and inside the main + Clutter context. Each actor for which clutter_actor_get_pango_context() + has been called will hold a reference on the Pango context as well. + + This makes it possible to update the text rendering for Clutter + by using only public API. + + clutter/clutter-actor.c | 1 + + clutter/clutter-main.c | 15 ++++++++++----- + clutter/clutter-private.h | 7 ++++--- + 3 files changed, 15 insertions(+), 8 deletions(-) + +commit 61d47ee3016c487312ef1e731af03960c9d42b42 +Author: Emmanuele Bassi +Date: Tue Dec 23 14:15:10 2008 +0000 + + Do not leak the PangoContext + + We hold a reference on the PangoContext we use for an actor, so + we should remove the reference inside the dispose implementation. + + clutter/clutter-actor.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit a865a5d4ead867072d67f1ff57ac5a70d8589159 +Author: Emmanuele Bassi +Date: Tue Dec 23 14:11:27 2008 +0000 + + Create the PangoContext of the Text actor + + Instead of creating a single, private PangoContext for every + Text actor, use the newly added clutter_actor_get_pango_context() + function. + + clutter/clutter-text.c | 10 +++------- + 1 file changed, 3 insertions(+), 7 deletions(-) + +commit 78628edf2f6f02db3d283169d93ae2d21e63a1ec +Author: Emmanuele Bassi +Date: Tue Dec 23 14:06:55 2008 +0000 + + Add a per-actor PangoContext + + Rendering text inside an actor is pretty much impossible without + using internal API to create the various pieces like the PangoContext + and the font map. + + Each actor should have the ability to create a PangoContext, which + is the only object needed to generate layouts and change the various + Pango settings. + + This commit adds a clutter_actor_get_pango_context() function that + creates a PangoContext inside the ClutterActor private data and allows + the creation of PangoLayouts when needed. If the actor already + has a PangoContext, the same instance is returned. + + The PangoContext is created only on demand. + + clutter/clutter-actor.c | 25 +++++++++++++++++++++++-- + clutter/clutter-actor.h | 4 ++++ + 2 files changed, 27 insertions(+), 2 deletions(-) + +commit b8b8b155c45e54e8c2bd4d7e161a28b55a5088e1 +Author: Emmanuele Bassi +Date: Tue Dec 23 13:55:51 2008 +0000 + + Add signals for Backend options + + The ClutterBackend instance at the moment lacks the ability to + notify runtime changes of the font options and the resolution. + + For this reason, this commit adds a ::resolution-changed and a + ::font-changed signals to the Backend class. + + The ::resolution-changed signal is emitted when set_resolution() + is called with a different DPI; ::font-changed is emitted when the + cairo_font_options_t* changes from the default. + + clutter/clutter-backend.c | 36 ++++++++++++++++++++++++++++++++++-- + clutter/clutter-backend.h | 4 ++++ + 2 files changed, 38 insertions(+), 2 deletions(-) + +commit e8915fcb12cd402cadcdb5e2cfa28a5fc9765a71 +Author: Robert Bragg +Date: Fri Dec 19 21:55:35 2008 +0000 + + First cut at a fixed point to floating point conversion script + patches + + This commit doesn't actually include any direct changes to source; you + have to run ./fixed-to-float.sh. Note: the script will make a number of + commits itself to your git repository a various stages of the script. + You will need to reset these if you want to re-run the script. + + * NB: Be carefull about how you reset your tree, if you are making changes + to the script and patches, so you don't loose your changes * + + This aims to remove all use of fixed point within Clutter and Cogl. It aims to + not break the Clutter API, including maintaining the CLUTTER_FIXED macros, + (though they now handle floats not 16.16 fixed) + + It maintains cogl-fixed.[ch] as a utility API that can be used by applications + (and potentially for focused internal optimisations), but all Cogl interfaces + now accept floats in place of CoglFixed. + + Note: the choice to to use single precision floats, not doubles is very + intentional. GPUs are basically all single precision; only this year have high + end cards started adding double precision - aimed mostly at the GPGPU market. + This means if you pass doubles into any GL[ES] driver, you can expect those + numbers to be cast to a float. (Certainly this is true of Mesa wich casts + most things to floats internally) It can be a noteable performance issue to + cast from double->float frequently, and if we were to have an api defined in + terms of doubles, that would imply a *lot* of unneeded casting. One of the + noteable issues with fixed point was the amount of casting required, so I + don't want to overshoot the mark and require just as much casting still. Double + precision arithmatic is also slower, so it usually makes sense to minimize its + use if the extra precision isn't needed. In the same way that the fast/low + precision fixed API can be used sparingly for optimisations; if needs be in + certain situations we can promote to doubles internally for higher precision. + + E.g. + quoting Brian Paul (talking about performance optimisations for GL programmers): + "Avoid double precision valued functions + Mesa does all internal floating point computations in single precision + floating point. API functions which take double precision floating point + values must convert them to single precision. This can be expensive in the + case of glVertex, glNormal, etc. " + + fixed-to-float-patches/clutter-actor.c.0.patch | 40 ++ + fixed-to-float-patches/clutter-alpha.c.0.patch | 263 ++++++++++++ + fixed-to-float-patches/clutter-alpha.h.0.patch | 13 + + .../clutter-behaviour-ellipse.c.0.patch | 445 +++++++++++++++++++++ + fixed-to-float-patches/clutter-bezier.c.0.patch | 13 + + fixed-to-float-patches/clutter-fixed.c.0.patch | 15 + + fixed-to-float-patches/clutter-fixed.h.0.patch | 333 +++++++++++++++ + fixed-to-float-patches/clutter-path.c.0.patch | 18 + + fixed-to-float-patches/clutter-texture.c.0.patch | 13 + + fixed-to-float-patches/clutter-units.h.0.patch | 85 ++++ + fixed-to-float-patches/cogl-fixed.c.0.patch | 17 + + fixed-to-float-patches/cogl-fixed.h.0.patch | 23 ++ + fixed-to-float-patches/cogl-pango-render.c.0.patch | 24 ++ + fixed-to-float-patches/cogl-primitives.c.0.patch | 12 + + .../gl-cogl-primitives.c.0.patch | 12 + + fixed-to-float-patches/gl-cogl-texture.c.0.patch | 30 ++ + fixed-to-float-patches/gl-cogl.c | 92 +++++ + fixed-to-float-patches/mtx_transform.0.patch | 19 + + .../test-cogl-tex-tile.c.0.patch | 35 ++ + fixed-to-float.sh | 150 +++++++ + 20 files changed, 1652 insertions(+) + +commit aee2589cc6a5afcddbfe4d7221c8a24ec2f25cfe +Author: Robert Bragg +Date: Mon Dec 22 16:19:49 2008 +0000 + + [doc] Hooks up cogl-material reference documentation + + Adds some more gtk-doc comments to cogl-material.h, and adds a new section to + cogl-sections.txt + + clutter/cogl/cogl-material.h | 548 ++++++++++++++++++++++++----------- + clutter/cogl/common/cogl-material.c | 72 ++--- + doc/reference/cogl/cogl-docs.sgml | 1 + + doc/reference/cogl/cogl-sections.txt | 38 +++ + 4 files changed, 456 insertions(+), 203 deletions(-) + +commit eb3b48e9ff9eab0a427fd3d73c2cefaaf2213141 +Author: Robert Bragg +Date: Thu Dec 18 19:12:09 2008 +0000 + + Updates previous GLES multi-texturing code to use CoglMaterial + + test-cogl-material now runs on GLES 1 using the PVR GLES1 SDK (though since + only 2 texture units are supported the third rotating light map doesn't show) + + Note: It currently doesn't build for GLES 2.0 + + clutter/cogl/cogl-material.h | 2 + + clutter/cogl/gles/cogl-context.c | 5 +- + clutter/cogl/gles/cogl-context.h | 9 +- + clutter/cogl/gles/cogl-texture.c | 320 ++++++++++++++------------------------- + 4 files changed, 122 insertions(+), 214 deletions(-) + +commit 40b0bb4e95b7f332b2b48e1d072eb2b4c936b4bf +Author: Robert Bragg +Date: Thu Dec 11 20:11:30 2008 +0000 + + Adds a CoglMaterial abstraction, which includes support for multi-texturing + + My previous work to provide muti-texturing support has been extended into + a CoglMaterial abstraction that adds control over the texture combine + functions (controlling how multiple texture layers are blended together), + the gl blend function (used for blending the final primitive with the + framebuffer), the alpha function (used to discard fragments based on + their alpha channel), describing attributes such as a diffuse, ambient and + specular color (for use with the standard OpenGL lighting model), and + per layer rotations. (utilizing the new CoglMatrix utility API) + + For now the only way this abstraction is exposed is via a new + cogl_material_rectangle function, that is similar to cogl_texture_rectangle + but doesn't take a texture handle (the source material is pulled from + the context), and the array of texture coordinates is extended to be able + to supply coordinates for each layer. + + Note: this function doesn't support sliced textures; supporting sliced + textures is a non trivial problem, considering the ability to rotate layers. + Note: cogl_material_rectangle, has quite a few workarounds, for a number of + other limitations within Cogl a.t.m. + Note: The GLES1/2 multi-texturing support has yet to be updated to use + the material abstraction. + + clutter/cogl/cogl-material.h | 481 ++++++++++++++++++++ + clutter/cogl/cogl.h.in | 2 + + clutter/cogl/common/Makefile.am | 3 +- + clutter/cogl/common/cogl-material-private.h | 72 +++ + clutter/cogl/common/cogl-material.c | 680 ++++++++++++++++++++++++++++ + clutter/cogl/common/cogl-matrix.h | 57 --- + clutter/cogl/gl/cogl-context.c | 5 +- + clutter/cogl/gl/cogl-context.h | 9 +- + clutter/cogl/gl/cogl-texture-private.h | 8 +- + clutter/cogl/gl/cogl-texture.c | 307 +++++-------- + tests/data/Makefile.am | 1 - + tests/data/light0.png | Bin 24410 -> 5674 bytes + tests/data/light1.png | Bin 28430 -> 0 bytes + tests/interactive/Makefile.am | 2 +- + tests/interactive/test-cogl-material.c | 161 +++++++ + tests/interactive/test-cogl-multi-texture.c | 250 ---------- + 16 files changed, 1516 insertions(+), 522 deletions(-) + +commit 63047e1907dbe1f44b173e99930305c2ddfe44d2 +Author: Robert Bragg +Date: Mon Dec 22 16:16:07 2008 +0000 + + [doc] Hooks up cogl-matrix reference documentation + + Adds a few more gtk-doc notes to cogl-matrix.h, and adds a new section to + cogl-sections.txt + + clutter/cogl/cogl-matrix.h | 54 ++++++++++++++++++++++++++++++++---- + doc/reference/cogl/cogl-docs.sgml | 1 + + doc/reference/cogl/cogl-sections.txt | 11 ++++++++ + 3 files changed, 61 insertions(+), 5 deletions(-) + +commit fa8d6dc69b61e31873a6aa5550a5e3a0c203d6ae +Author: Robert Bragg +Date: Thu Dec 11 20:08:15 2008 +0000 + + Adds CoglMatrix utility code + + clutter/cogl/cogl-matrix.h | 102 ++++++++++++++++++++++++++++ + clutter/cogl/common/Makefile.am | 3 +- + clutter/cogl/common/cogl-matrix.c | 138 ++++++++++++++++++++++++++++++++++++++ + clutter/cogl/common/cogl-matrix.h | 57 ++++++++++++++++ + 4 files changed, 299 insertions(+), 1 deletion(-) + +commit fc7a86fd0d071645e27a996b78267b5aaca83fcf +Author: Robert Bragg +Date: Thu Dec 11 15:35:17 2008 +0000 + + [tests] Adds an interactive unit test for multi-texturing + + This simply gives an example of blending a red o-hand logo with an alpha mask + and a changing light map. + + tests/data/Makefile.am | 3 + + tests/data/light0.png | Bin 0 -> 24410 bytes + tests/data/light1.png | Bin 0 -> 28430 bytes + tests/data/redhand_alpha.png | Bin 0 -> 4539 bytes + tests/interactive/Makefile.am | 9 +- + tests/interactive/test-cogl-multi-texture.c | 250 ++++++++++++++++++++++++++++ + 6 files changed, 261 insertions(+), 1 deletion(-) + +commit ea643ca0f8e1a5020c1dc65146aaa75b85fd0109 +Author: Robert Bragg +Date: Thu Dec 11 15:33:38 2008 +0000 + + [multi-texturing] This adds a new cogl_multi_texture API for GL,GLES1 + GLES2 + + Multitexturing allows blending multiple layers of texture data when texturing + some geometry. A common use is for pre-baked light maps which can give nice + lighting effects relativly cheaply. Another is for dot-3 bump mapping, and + another is applying alpha channel masks. + + The dot-3 bump mapping would be really nice one day, but currently cogl doesn't + support lighting so that's not dealt with in this patch. + + notable limitations: + - It can only texture rectangles a.t.m - and like cogl_texture_rectangle there + is no support for rotated texturing. + - Sliced textures are not supported. I think I've figured out how to handle + layers with different slice sizes at least for rectangular geometry, but I'm + not sure how complex it becomes once rotations are possible and texturing + arbitrary cogl_polygons. + - Except for this new API, cogl still doesn't know about more than one texture + unit, and so has no way of caching any enables related to other units. So that + things don't break it's currently necessary to disable anything to do with + additional units as soon as we are done with them which isn't ideal. + - No clutter API yet. + + clutter/cogl/cogl-texture.h | 62 +++ + clutter/cogl/common/cogl-handle.h | 6 + + clutter/cogl/gl/cogl-context.c | 3 + + clutter/cogl/gl/cogl-context.h | 6 + + clutter/cogl/gl/cogl-defines.h.in | 1 + + clutter/cogl/gl/cogl-texture-private.h | 27 +- + clutter/cogl/gl/cogl-texture.c | 275 ++++++++++- + clutter/cogl/gles/cogl-context.c | 4 +- + clutter/cogl/gles/cogl-context.h | 6 + + clutter/cogl/gles/cogl-defines.h.in | 12 +- + clutter/cogl/gles/cogl-fixed-fragment-shader.glsl | 33 +- + clutter/cogl/gles/cogl-fixed-vertex-shader.glsl | 19 +- + clutter/cogl/gles/cogl-gles2-wrapper.c | 552 ++++++++++++++++++---- + clutter/cogl/gles/cogl-gles2-wrapper.h | 131 +++-- + clutter/cogl/gles/cogl-texture-private.h | 21 + + clutter/cogl/gles/cogl-texture.c | 281 ++++++++++- + 16 files changed, 1260 insertions(+), 179 deletions(-) + +commit b021f518c18eb142791238cb4ecde8b1ea3707c0 +Author: Emmanuele Bassi +Date: Mon Dec 22 13:29:10 2008 +0000 + + Use "" as the default value for the :text property + + This follows the convention of GtkLabel/GtkEntry in GTK+ and the old + ClutterEntry. + + It makes it easier to use strlen/strcmp etc on the output, since we can + assume that it is always a string. + + This commit also updates the test unit for ClutterText to verify that + the clutter_text_get_text() function also returns an empty string when + a ClutterText actor has been created. + + clutter/clutter-text.c | 12 +++++++++--- + tests/conform/test-clutter-text.c | 3 ++- + 2 files changed, 11 insertions(+), 4 deletions(-) + +commit 4a934c363c559896c2dede5374cc33b63a7c01a7 +Author: Emmanuele Bassi +Date: Mon Dec 22 13:24:52 2008 +0000 + + Do not include cogl-pango.h multiple times + + The clutter-private.h header already includes cogl-pango.h with + the correct inclusion path, because the main context stores a + pointer to the font map. + + There is no need for clutter-text.c to include cogl-pango.h + again since it already includes clutter-private.h. + + clutter/clutter-private.h | 3 ++- + clutter/clutter-text.c | 4 +--- + 2 files changed, 3 insertions(+), 4 deletions(-) + +commit 6a980793c6b7f66c698a8426d92763827d73958e +Author: Owen Taylor +Date: Mon Dec 22 13:11:59 2008 +0000 + + Return something reasonable from clutter_x11_handle_event() + + Instead of returning CLUTTER_X11_FILTER_CONTINUE always from + clutter_x11_handle_event() return CLUTTER_X11_FILTER_REMOVE if + the event was on a stage and translated to a ClutterEvent. + + Signed-off-by: Emmanuele Bassi + + clutter/x11/clutter-event-x11.c | 26 +++++++++++++++++++++++--- + 1 file changed, 23 insertions(+), 3 deletions(-) + +commit 8e88a487d997b305b63deb668b16f72f50c4850a +Author: Robert Bragg +Date: Sun Dec 21 21:12:43 2008 +0000 + + [gitignore] Adds *.swn + *.swo (Vim files) & *.orig + *.reg (patch conflicts) + + .gitignore | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 3a6ffe3b7dacf82708392b4bd4f244a5ec28f66d +Author: Robert Bragg +Date: Sun Dec 21 21:08:10 2008 +0000 + + [build] Replaces use of #include with #include + + The cairo pkg-config is crafted such that #include should be used. + If building with a private build of cairo installed to a custom prefix + can cause an un-intended cairo header to be picked up during + compilation due to /usr/include being in the header search path. + + clutter/clutter-cairo-texture.h | 2 +- + clutter/clutter-path.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit c700d4c9a1019fb235e0a7919c2c6e21bdd458e6 +Author: Robert Bragg +Date: Fri Dec 19 21:31:18 2008 +0000 + + [tests] Ensures that test-viewport.c is built + + test-viewport.c wasn't listed correctly in the UNIT_TESTS variable + (it was missing the .c extension, and so it wasn't being built.) + + tests/interactive/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit a40666469d462d5bb24ce6ee7a8c5ccfc579c213 +Author: Robert Bragg +Date: Fri Dec 19 21:22:45 2008 +0000 + + [tests] Ensure that test-launcher.sh is found for out of tree builds + + When building out of tree the generated scripts for the unit tests + need to explicitly reference the original src dir to be able to find + test-launcher.sh, like this: + $(top_srcdir)/tests/conform/test-launcher.sh + + Also test-launcher.sh now passes -m slow --verbose to gtester. Without + -m slow then the wrappers dont work for some of the timeline tests. + + tests/conform/Makefile.am | 2 +- + tests/conform/test-launcher.sh | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 4e493d1937e6e68e394dcb8a0ae7671dcc6d39e1 +Author: Emmanuele Bassi +Date: Fri Dec 19 18:21:36 2008 +0000 + + Avoid masking math.h exported variables + + Our beloved math.h exports, from bits/mathcalls.h, a bare "y1" symbol. + Apparently, it's unthinkable for code including to also declare + arguments or variable named "y0", "y1" and "yn". + + Anyway, the quick fix already used elsewhere in Clutter's codebase is + to rename the colliding variables "y_0", "y_1" and "y_n" - and + obviously everything similar to them as well, using the same pattern. + + clutter/clutter-path.c | 60 +++++++++++++++++++++++++++----------------------- + clutter/clutter-path.h | 24 ++++++++++---------- + 2 files changed, 44 insertions(+), 40 deletions(-) + +commit 42bba13135d97babd5c0a0ce3b65836d077fbd5a +Author: Emmanuele Bassi +Date: Fri Dec 19 17:49:57 2008 +0000 + + [docs] Remove a duplicate definition + + ClutterScriptable was defined twice inside the sections file. + + doc/reference/clutter/clutter-sections.txt | 1 - + 1 file changed, 1 deletion(-) + +commit c93cd4a096b9e37df5cdc01f0e49b8193034f73a +Author: Emmanuele Bassi +Date: Fri Dec 19 17:48:30 2008 +0000 + + [docs] Documentation fixes for CairoTexture + + Sync up the arguments name inside the gtk-doc annotations with their + name inside the function declaration in the header file. + + clutter/clutter-cairo-texture.c | 18 +++++++++++++----- + 1 file changed, 13 insertions(+), 5 deletions(-) + +commit 2f230034255b6440fd442934f2997db1811e12f5 +Author: Emmanuele Bassi +Date: Fri Dec 19 17:44:24 2008 +0000 + + Whitespace fixes + + Let's try to honour the coding style document, now that we have one. + + clutter/clutter-path.c | 91 ++++++++++++++++++++++++++++++-------------------- + 1 file changed, 54 insertions(+), 37 deletions(-) + +commit 81541e6940d70beaf68d856d870b96c74ddbfaac +Author: Emmanuele Bassi +Date: Fri Dec 19 17:41:44 2008 +0000 + + [docs] Parameter naming fixes + + The name of the parameter in the header and the one in the gtk-doc + annotation on top of a function must match. + + Unfortunately, there is an index() function declared inside strings.h + which makes gcc complain for the "index" argument as soon as we + enable the extra compiler flags we use when distchecking. + + Hence, we need to rename "index" to "index_" in the header and in + the source files. + + clutter/clutter-path.c | 34 +++++++++++++++++----------------- + clutter/clutter-path.h | 2 +- + 2 files changed, 18 insertions(+), 18 deletions(-) + +commit 2e98fa46df84ba2b6dc4909c4638e493d889da3a +Author: Emmanuele Bassi +Date: Fri Dec 19 17:30:50 2008 +0000 + + [docs] Add last few missing symbols to the sections file + + doc/reference/clutter/clutter-sections.txt | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit cc52bbce0bca153bd2594a85eb4c0acb3707b762 +Author: Emmanuele Bassi +Date: Fri Dec 19 17:28:42 2008 +0000 + + [docs] Add shader symbols to their sections + + doc/reference/clutter/clutter-sections.txt | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + +commit 6a4a5e0a3b57f14368cd17833d34a8560e46886a +Author: Emmanuele Bassi +Date: Fri Dec 19 17:25:18 2008 +0000 + + [docs] Add ClutterPath unused symbols + + Add the symbols that gtk-doc can track to the sections file. + + doc/reference/clutter/clutter-sections.txt | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 4094590a528fc662091c030e3477e4eb6ba07aae +Author: Emmanuele Bassi +Date: Fri Dec 19 17:21:30 2008 +0000 + + [docs] Fix a typo in the binding pool section + + doc/reference/clutter/clutter-sections.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8d98c28dfa7d5be746f1aa8b351e4e8fea9ee3a7 +Merge: 556015742 64de0411e +Author: Emmanuele Bassi +Date: Fri Dec 19 16:44:40 2008 +0000 + + Merge branch 'cairo-texture' + + * cairo-texture: + [cairo-texture] Remove the construct only restriction on surface size + [cairo-texture] Silently discard 0x0 surfaces + Re-indent ClutterPath header + Add a test case for the new cairo path functions + Add clutter_path_to_cairo_path and clutter_path_add_cairo_path + Warn instead of returning in the IN_PAINT check + Small documentation fixes + Print a warning when creating a cairo_t while painting + Do not set the IN_PAINT flag inside the Stage paint + Set the IN_PAINT private flag + [docs] Add ClutterCairoTexture to the API reference + Add ClutterCairoTexture + Require Cairo as a Clutter dependency + + Conflicts: + + Fix merge conflict in clutter/clutter-path.h + +commit 64de0411eaaffd5237c45475645005d282db05cf +Author: Neil Roberts +Date: Fri Dec 19 13:15:26 2008 +0000 + + [cairo-texture] Remove the construct only restriction on surface size + + It is possible to change the surface size after construction with + clutter_cairo_texture_set_surface_size so it doesn't seem right to + restrict changing the properties. + + clutter_cairo_texture_resize_surface_internal is called in a handler + for the notify signal. It is called there rather than directly in the + set_property handler so that changing both properties in a single + g_object_set will only cause one resize. The constructed override is + no longer needed. + + resize_surface_internal will now bail out if the size of the surface + is already the right size. + + clutter/clutter-cairo-texture.c | 30 ++++++++++++++++++++++-------- + 1 file changed, 22 insertions(+), 8 deletions(-) + +commit cf5d69139d0ef7f380616e4eaf18fc82721f62f5 +Author: Emmanuele Bassi +Date: Fri Dec 19 13:42:17 2008 +0000 + + [texture] Do not mix fixed point and units values + + Like we did for ClutterActor in commit cdb78ec4, fix ClutterTexture + usage of CoglFixed and ClutterUnit values without conversion between + the two types. + + clutter/clutter-texture.c | 40 ++++++++++++++++++++++++---------------- + 1 file changed, 24 insertions(+), 16 deletions(-) + +commit f6e9a701e42ca4a01a41eaa7ab220bf48c23a49f +Author: Emmanuele Bassi +Date: Fri Dec 19 13:03:53 2008 +0000 + + [tests] Fix the actor detection + + The test-unproject interactive test assumed that only the rectangle was + on the stage. As it turns out, labels can be picked as well. + + tests/interactive/test-unproject.c | 19 ++++++++++++------- + 1 file changed, 12 insertions(+), 7 deletions(-) + +commit cdb78ec4d2bdea875fb1b4514cf4ec0618e31a8e +Author: Emmanuele Bassi +Date: Fri Dec 19 12:53:57 2008 +0000 + + [units] Do not use fixed point and units interchangeably + + Clutter units are, at the moment, implemented as a value in fixed point + notation using the same format as CoglFixed. This is, though, an + implementation detail. For this reason, units should not be treated as + CoglFixed values and should be converted to and from fixed point using + the provided macros. + + This commit updates the usage of units and fixed point values in + ClutterActor and rationalises some of the transformation code that + heavily relied on the equivalency between them. + + clutter/clutter-actor.c | 569 +++++++++++++++++++++++++----------------------- + 1 file changed, 298 insertions(+), 271 deletions(-) + +commit 5560157428e8fcfde5a903878eace9134475d318 +Author: Emmanuele Bassi +Date: Thu Dec 18 18:14:22 2008 +0000 + + [docs] Fix a copy-and-paste typo in the coding style + + CODING_STYLE | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b63b1584bd24a625b226e46149a9353102ad8774 +Author: Emmanuele Bassi +Date: Thu Dec 18 17:56:11 2008 +0000 + + [docs] Add coding style document + + We should formalise the current coding style of Clutter for + third parties that wish to start hacking and contribute back + patches. + + CODING_STYLE | 379 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + HACKING | 8 +- + Makefile.am | 2 +- + 3 files changed, 385 insertions(+), 4 deletions(-) + +commit 5e0daa8ecd651a629b8a52eda6ba2fe5b915190d +Author: Robert Bragg +Date: Thu Dec 18 17:54:35 2008 +0000 + + Improves tfp performance on Nvidia + + Some drivers (e.g. Nvidia) get upset if you try to create multiple glx pixmaps + for the same server side pixmap object, even though you might have unique + client side names, we now avoid hitting this problem by destroying the current + glx pixmap early within clutter_glx_texture_pixmap_create_glx_pixmap. + + clutter/glx/clutter-glx-texture-pixmap.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 9cd92fc540210b505b8db2819689ba582814b023 +Author: Neil Roberts +Date: Thu Dec 18 17:40:36 2008 +0000 + + [test-scale] Add a label showing the gravity + + A label is now displayed under the rectangle showing the current + gravity. The text for the gravity is taken from the GEnumClass. This + makes it easier to verify that the test is working correctly. + + tests/interactive/test-scale.c | 33 +++++++++++++++++++++++++-------- + 1 file changed, 25 insertions(+), 8 deletions(-) + +commit 4168ed09de75d4bea08e206103e4eac3e1047d1c +Author: Neil Roberts +Date: Thu Dec 18 12:20:46 2008 +0000 + + Fix calculation in clutter_cubic_bezier + + The calculation for cubic bezier curves had an extra multiplication by + 3 which was causing the curve to go over 1.0 very quickly. This had + the affect of making test-animation appear to complete much before the + completed signal is emitted. + + clutter/clutter-alpha.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 2bf815131af32b8c5239425b8dacbacf29d503cf +Author: Neil Roberts +Date: Wed Dec 17 19:26:24 2008 +0000 + + [clutter-interval] Fix calculation of interval for unsigned types + + The patch makes it cast to double before subtracting the original + value from the target value. Otherwise if the target value is less + than the original value then the subtraction will overflow and the + factor will be multiplied by a very large number instead of the + desired interval. + + The problem is demonstrable using the border-width property of + ClutterRectangle. + + clutter/clutter-interval.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit e130e0c9b30ee688b6dcd9d1fece05ea88b558e7 +Author: Emmanuele Bassi +Date: Wed Dec 17 15:40:33 2008 +0000 + + [cairo-texture] Silently discard 0x0 surfaces + + The current CairoTexture can be created with a surface size of 0 + by 0 pixels, but a warning will be printed. + + Worse, the surface can be resized to be 0 by 0 pixels without a + warning. The :surface-width and :surface-height properties accept + a minimum value of 0, and not check is performed on either the + constructor or set_surface_size() parameters to enforce the "greater + than zero" rule. + + The correct and consistent behaviour is to allow a 0 by 0 pixels + surface size everywhere; inside surface_resize_internal(), the + current surface will be destroyed and if either :surface-width or + :surface-height are set to 0, the resizing terminates. + + Attempting to create a Cairo context from a CairoTexture with + either :surface-width or :surface-height set to 0 will result in + a warning. + + This allows: + + - creating a CairoTexture with :surface-width or :surface-height + set to zero and delaying the surface resize at a later point; + - resizing the surface to 0 by 0 pixels to destroy the image + surface used internally; + - increase the consistency in the usage of CairoTexture. + + clutter/clutter-cairo-texture.c | 46 +++++++++++++++++++---------------------- + 1 file changed, 21 insertions(+), 25 deletions(-) + +commit 140e4e1be29cfef0627177f91d5d9a2fd483f7e3 +Author: Neil Roberts +Date: Wed Dec 17 14:47:23 2008 +0000 + + Minor fix to documentation for clutter_actor_get_anchor_point + + In both versions of clutter_actor_get_anchor_point the description of + the @anchor_y parameter was slightly wrong in different ways. + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 335b650d0b74d02266dcabf3ba55422ecd613a39 +Author: Emmanuele Bassi +Date: Wed Dec 17 13:59:56 2008 +0000 + + [tests] Create a real file for each test unit + + Currently, the conformance test suite creates symbolic links pointing + to a wrapper script that just parses the name used to invoke it and + calls the gtester with the correct path. + + Unfortunately, this presents two issues: + + - it does not really work on file systems that do not + support symbolic links + - it leaves behind the symbolic links, which cannot + be automatically cleaning by 'make clean' + + Both can be solved by creating a small script that invokes the wrapper + one with the test unit path. + + The Makefile will use test-conform to extract the unit test paths + and generate a list that will be iterated over to create the + executable name (using the "test-name" convention also used by the + interactive tests, instead of "test_name"); the executable is then + just a simple shell script that invokes the wrapper script passing + the unit test path on the command line. The wrapper script will + use the first argument to work correctly, so it could be simply + executed like: + + ./test-wrapper.sh /path/to/unit_test + + Which is another improvement over the current implementation, where + the wrapper script does not work when invoked directly. + + .gitignore | 68 +++++++++++++++--------------- + tests/conform/Makefile.am | 96 +++++++++++++++++++++++++----------------- + tests/conform/test-launcher.sh | 24 +++++++++++ + tests/conform/wrapper.sh | 18 -------- + 4 files changed, 115 insertions(+), 91 deletions(-) + +commit 6b782ce4e720f07bd678ce613b81987fde13ff38 +Author: Emmanuele Bassi +Date: Tue Dec 16 15:53:57 2008 +0000 + + Fix the selection behaviour around the 0th glyph + + After fixing the cursor position issues around the initial + glyph of the layout, the selection position needs fixing as + well. + + The fix is similar: check if the position of the selection + is 0 and provide a fast path by setting the offset to 0. + + clutter/clutter-text.c | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +commit ff92cc9766cfceb0cf390253b6c369099678691d +Author: Neil Roberts +Date: Tue Dec 16 15:39:53 2008 +0000 + + Convert clutter_path_get_position to take a gdouble instead of an alpha value + + The gdouble value represents an interval along the path from 0.0 to + 1.0. This makes more sense than using an alpha value because paths are + not directly related to ClutterAlphas and the rest of the Clutter API + tends to expose gdouble arguments. + + clutter/clutter-behaviour-path.c | 5 ++++- + clutter/clutter-path.c | 37 ++++++++++++++++++------------------- + clutter/clutter-path.h | 2 +- + tests/conform/test-path.c | 3 ++- + 4 files changed, 25 insertions(+), 22 deletions(-) + +commit d7ce56bb465735599de825d1545999999aa11125 +Author: Emmanuele Bassi +Date: Tue Dec 16 14:02:05 2008 +0000 + + Support pango_layout_set_height() in ClutterText + + This is the port of the patch attached to bug 1266: + + ClutterLabel support for pango_layout_set_height() + + to the ClutterText actor. This patch adds support for the + pango_layout_set_height() function inside the layout creation + and caching, so that setting the height of a ClutterText will + make PangoLayout try to fill out the given height before + ellipsizing the contents of the ClutterText actor. + + The original patch is from Havoc Pennington. + + This commit ports the patch to ClutterText and applies a small + change to the height computation pointed out by Behdad Esfahbod + on GNOME's Bugzilla: + + http://bugzilla.gnome.org/show_bug.cgi?id=560931 + + That the layout heights when doing a size request should be + set to be G_MAXINT instead of -1. + + Unfortunately, the patch seems to break the conformance suite + when setting the ellipsization on the layout. + + clutter/clutter-text.c | 149 +++++++++++++++++++++++++++++++------------------ + 1 file changed, 96 insertions(+), 53 deletions(-) + +commit ba586b46b304bbe3fe17b12b057574b8b1e08e32 +Author: Emmanuele Bassi +Date: Tue Dec 16 13:58:54 2008 +0000 + + [tests] Make the layout cache fail at the right place + + The GTest report output allows the developer to know where exactly + a test unit failure happened. The test-text-cache unit makes it + very hard to pinpoint the exact failure location because it relies + on the output to be printed out - which is not the case when the + tests are run as part of a make check. + + This commit makes each sub-test inside the unit fail exactly where + the check function fails, which makes it easier to know which sub-test + did actually fail. + + tests/conform/test-text-cache.c | 38 ++++++++++++++++++++++++-------------- + 1 file changed, 24 insertions(+), 14 deletions(-) + +commit d85a1cb5a1dfce2364ca604c9ad33855d48d73aa +Author: Emmanuele Bassi +Date: Tue Dec 16 12:42:44 2008 +0000 + + [docs] Add clutter_text_set_selection to gtk-doc + + Insert the newly added symbol to the ClutterText section in + the API reference. + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit a3fbdb594905cec0f822150b48c56837bc23dd73 +Author: Emmanuele Bassi +Date: Tue Dec 16 12:41:20 2008 +0000 + + Add ClutterText::set_selection() + + The clutter_text_set_selection() function is a convenience + method for setting the cursor position and the selection + boundary to a given position in a single call, with sanity + checks for the positions. + + clutter/clutter-text.c | 38 ++++++++++++++++++++++++++++++++++++++ + clutter/clutter-text.h | 3 +++ + 2 files changed, 41 insertions(+) + +commit 2209e174328790b140bb4a43c53fcdf7436d4a75 +Author: Emmanuele Bassi +Date: Tue Dec 16 12:25:45 2008 +0000 + + Fix ClutterText::get_selection() + + The clutter_text_get_selection() function was not checking the + passed argument, and was still accessing the contents of the + Text actor using clutter_text_get_text(). + + This commit also adds the last few gtk-doc annotations missing + from ClutterText. + + clutter/clutter-text.c | 59 ++++++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 47 insertions(+), 12 deletions(-) + +commit e28fb9ae103038e769553b488d1c084426edb966 +Author: Emmanuele Bassi +Date: Tue Dec 16 12:25:15 2008 +0000 + + [docs] Add more gtk-doc annotations + + Almost reaching full documentation. + + clutter/clutter-text.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 49 insertions(+), 1 deletion(-) + +commit 4a43b582ac0de60464fbf0dfbebb26e549d452f6 +Author: Emmanuele Bassi +Date: Tue Dec 16 12:05:10 2008 +0000 + + Use clutter_text_activate() + + Instead of repeating the same code for the ::activate signal + emission, use the clutter_text_activate() function inside the + 'activate' key binding handler. + + clutter/clutter-text.c | 11 +---------- + 1 file changed, 1 insertion(+), 10 deletions(-) + +commit 93d96dca52b21c63775a230f872de28fe0e0e3ea +Author: Emmanuele Bassi +Date: Tue Dec 16 12:02:58 2008 +0000 + + Add ClutterText::activate() + + The clutter_text_activate() function will emit the ::activate + signal if the :activatable property is set. + + This function is useful for subclasses or application code, for + example if we are going to use ::captured-event or ::key-press-event + signal handlers to intercept the Return key and emit the ::activate + signal ourselves. + + clutter/clutter-text.c | 35 +++++++++++++++++++++++++++++++++++ + clutter/clutter-text.h | 1 + + 2 files changed, 36 insertions(+) + +commit 87f38475aed1827de5e48e0db0d5bff4ea1bcef5 +Author: Emmanuele Bassi +Date: Tue Dec 16 11:52:57 2008 +0000 + + [docs] Add more gtk-doc annotations for ClutterText + + Document the ClutterText constructors and the :editable, :selectable + and :activatable properties accessors. + + clutter/clutter-text.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 114 insertions(+), 2 deletions(-) + +commit e3ba2ddf0a0cdace9530ad8227fdd3a6a94bf36f +Author: Emmanuele Bassi +Date: Tue Dec 16 11:30:47 2008 +0000 + + [docs] Annotate properties and fix signals docs + + Annotate the properties without gtk-doc description, to get the + "Since" attribute. + + Also, fix the ::cursor-event and ::activate signals documentation. + + clutter/clutter-text.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 89 insertions(+), 5 deletions(-) + +commit 32896d9aee66700f03417f3f88e0bba6d18d2e5c +Author: Emmanuele Bassi +Date: Tue Dec 16 10:43:05 2008 +0000 + + [docs] Add :cursor-size property accessors + + Add the ClutterText:cursor-size property accessors to the + known gtk-doc symbols for the ClutterText section. + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit 7ebb9ff6b7bc04d2a47a0d7202f7190ce41faa80 +Author: Emmanuele Bassi +Date: Tue Dec 16 10:39:52 2008 +0000 + + Allow selecting with line-start and line-end bindings + + Instead of installing the line-start and line-end key bindings + using the bare ClutterBindingPool API, we can use the internal + clutter_text_add_move_binding(), which automatically installs + the same key binding with the Shift modifier mask. + + This allows selecting when pressing Shift+Home or Shift+End. + + The selection behaviour is still incorrect around the zeroeth + position, with all the text after the first line being selected. + + clutter/clutter-text.c | 37 ++++++++++++++++--------------------- + 1 file changed, 16 insertions(+), 21 deletions(-) + +commit ea5a6abd9d599104ae4de7c0aecb529276d0d004 +Author: Emmanuele Bassi +Date: Tue Dec 16 10:37:45 2008 +0000 + + Add :cursor-size property to ClutterText + + We can control the width of the cursor when painting by using + a simple property. + + The magic -1 number passed to the setter method will reset the + cursor size to the default one of 2px. + + The getter method will return an unsigned integer with the + current size. + + clutter/clutter-text.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-text.h | 3 ++ + 2 files changed, 82 insertions(+), 1 deletion(-) + +commit ffb500d3a617ef3f0cfab4912c4ed4ca8c71599a +Author: Emmanuele Bassi +Date: Tue Dec 16 10:19:56 2008 +0000 + + Remove unused page up/down key bindings + + Moving the text by a "page" depends on being able to define a + "page size" in terms of lines of text. Since we don't define + something similar to an Adjustment that allows us to handle this + behaviour, we should defer the paging implementation to a higher + level class based on ClutterText. + + clutter/clutter-text.c | 35 ----------------------------------- + 1 file changed, 35 deletions(-) + +commit dc49dab35074ca27fcccf015e8990270eeaa4185 +Author: Emmanuele Bassi +Date: Tue Dec 16 10:15:57 2008 +0000 + + Fix line start and line end key binding behaviour + + Another fix for the key navigation behaviour around the zeroeth + glyph in the layout. + + This commit adds a fast path for for the zero index when the + cursor position is set as zero, in case we are using the line-start + or line-end key bindings, similarly to what we did in commit + be64cbcdc22952ce2fa9f902e153e3bd9f4a08c9 for the move-up and + move-down bindings. + + clutter/clutter-text.c | 20 ++++++++++++-------- + 1 file changed, 12 insertions(+), 8 deletions(-) + +commit be64cbcdc22952ce2fa9f902e153e3bd9f4a08c9 +Author: Emmanuele Bassi +Date: Mon Dec 15 18:46:08 2008 +0000 + + Fix up/down key navigation + + The behaviour of ClutterText around the initial position is still + a little bit erratic. + + This commit fixes the key navigation with Up and Down arrows around + the first line of text. + + clutter/clutter-text.c | 24 ++++++++++++++++-------- + 1 file changed, 16 insertions(+), 8 deletions(-) + +commit e615b8cc6bd6e77cc649e71db6ea62248e37a6cd +Author: Emmanuele Bassi +Date: Mon Dec 15 18:24:42 2008 +0000 + + Use units in position_to_coords() + + We loose precision with a direct conversion for PangoUnits to + pixels, so we should do the conversion as needed, inside the + callers of clutter_text_position_to_coords(). + + clutter/clutter-text.c | 113 +++++++++++++++++++++++++++++++++++-------------- + 1 file changed, 81 insertions(+), 32 deletions(-) + +commit 2714397fd517636461088f20521c80801b696b60 +Author: Emmanuele Bassi +Date: Mon Dec 15 18:23:25 2008 +0000 + + Constify the cursor geometry in ::cursor-event + + We don't allow changing the cursor geometry inside the ::cursor-event + signal handlers; for starters, it would make binding the signal a + huge mess, and it would also potentially break the whole actor. + + clutter/clutter-text.h | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +commit c68cf3564e4899f8a4f34326dee439b0ab7944f3 +Author: Neil Roberts +Date: Mon Dec 15 16:32:21 2008 +0000 + + [test-paint-wrapper] Use a separate paint guard for each actor + + Since commit c7c5cf9b ClutterCloneTexture causes an extra paint of the + source actor during the paint run of the cloned texture if the source + is not yet visible. When the stage is first shown it is redrawn + immediatly before it is mapped which means get_paint_visibility will + fail on the source actor so the inner paint will be run. The paint + guards were a global variable so they didn't cope with a second actor + being painted. + + The breakage didn't occur until commit d510a4b0 because + get_paint_visibility was also broken. + + tests/interactive/test-paint-wrapper.c | 27 +++++++++++++++++++-------- + 1 file changed, 19 insertions(+), 8 deletions(-) + +commit 2d166b250c0e0da33171f0d2f87735c965af50e9 +Author: Emmanuele Bassi +Date: Mon Dec 15 15:10:55 2008 +0000 + + [docs] Add annotations for ClutterText structures + + ClutterText and ClutterTextClass were missing annotations for + gtk-doc to pick up. + + clutter/clutter-text.h | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 39b575e6b43301354912d18a50b80085e8d92388 +Author: Emmanuele Bassi +Date: Mon Dec 15 15:08:12 2008 +0000 + + Remove ClutterLabel and ClutterEntry + + Both ClutterLabel and ClutterEntry have been deprecated by + ClutterText. + + clutter/clutter-entry.c | 1795 ----------------------------------------------- + clutter/clutter-entry.h | 165 ----- + clutter/clutter-label.c | 1347 ----------------------------------- + clutter/clutter-label.h | 128 ---- + 4 files changed, 3435 deletions(-) + +commit ca310d49cab2b021471d4d094c1802fee7d705af +Author: Emmanuele Bassi +Date: Mon Dec 15 15:00:37 2008 +0000 + + Re-indent ClutterPath header + + Match the indentation and style of the other Clutter headers. + + clutter/clutter-path.h | 240 +++++++++++++++++++++---------------------------- + 1 file changed, 103 insertions(+), 137 deletions(-) + +commit f6feed43863f6c42d6204e5006f92937a0709756 +Author: Emmanuele Bassi +Date: Mon Dec 15 14:29:59 2008 +0000 + + Fix a typo in the ClutterParamSpecFixed declaration + + The ClutterParamSpecFixed constructor is declared in the header + as taking ClutterFixed values, but the implementation takes + ClutterUnit values instead. This obviously works because fixed + and units are exactly the same type. + + This commit fixes the wrong parameters. + + clutter/clutter-fixed.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit b2f4363d95a9c70ca66c533bd068eb6e1994d0c0 +Author: Emmanuele Bassi +Date: Sat Dec 13 11:53:03 2008 +0000 + + Remove a double semi-colon typo + + Fixes bug 1351 - Extra ; in clutter-behaviour-ellipse.c + + Thanks to Haakon Sporsheim. + + clutter/clutter-behaviour-ellipse.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4e0073cd508ad55c8d6b6d031f060ae9644620c2 +Author: Neil Roberts +Date: Fri Dec 12 22:47:46 2008 +0000 + + Fix the gtk-doc for some properties in ClutterActor + + Some of the properties were specified as ClutterActor::property (with + two colons) but gtk-doc expects one colon so the documentation is not + parsed. + + clutter/clutter-actor.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit cd1992181c13fcb94ef8d952845017b7901e6e3c +Author: Neil Roberts +Date: Fri Dec 12 17:38:53 2008 +0000 + + Fix the definition of clutter_actor_set_scale to match the declaration + + Trivial change to declare the parameter as gdouble instead of double + so that it matches the header. + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 965ec2762000543998e83e07f2f4690830231e2a +Author: Neil Roberts +Date: Fri Dec 5 18:37:46 2008 +0000 + + Add a test case for the new cairo path functions + + The nodes of the test path have been reordered because Cairo coalesces + multiple move operations into a single move so the comparison would + fail if the two move nodes are consecutive. + + tests/conform/test-path.c | 104 +++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 99 insertions(+), 5 deletions(-) + +commit a462d19e1438dcb738362e63ddcb30a77ba5cdc2 +Author: Neil Roberts +Date: Fri Dec 5 18:37:31 2008 +0000 + + Add clutter_path_to_cairo_path and clutter_path_add_cairo_path + + See bug #1325. + + Added doc for new cairo path functions to clutter-sections.txt + + clutter/clutter-path.c | 115 +++++++++++++++++++++++++++++ + clutter/clutter-path.h | 7 ++ + doc/reference/clutter/clutter-sections.txt | 2 + + 3 files changed, 124 insertions(+) + +commit 0e1a3c21248cf3ab14211bee8c93e0677769a723 +Author: Emmanuele Bassi +Date: Fri Dec 12 11:42:16 2008 +0000 + + Warn instead of returning in the IN_PAINT check + + It's conceivable that a warning should be deemed enough, instead + of just returning a NULL cairo_t when creating a context for the + CairoTexture actor. + + clutter/clutter-cairo-texture.c | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit 4d34872deab56c9b341742386c1740bf15b2a83c +Author: Emmanuele Bassi +Date: Thu Dec 11 15:51:24 2008 +0000 + + Small documentation fixes + + Fix the CairoTexture description, and some of the comments inside + the code, especially with regards to the alpha channel unpremultiplication + that we have to perform each time we upload the image surface to + GL. + + clutter/clutter-cairo-texture.c | 15 +++++++++++---- + 1 file changed, 11 insertions(+), 4 deletions(-) + +commit cf9dea7cf6e079a8897c7b0d92da030c88cb964f +Author: Emmanuele Bassi +Date: Thu Dec 11 15:48:43 2008 +0000 + + Print a warning when creating a cairo_t while painting + + If you create a Cairo context in the middle of a paint run and then + you destroy it, the CairoTexture will have to upload the contents of + the image surface to the GL pipeline. This usually leads to slow + downs and general performance degradation. + + ClutterCairoTexture will warn to the console if Clutter has been + compiled with the debug messages and if create() or create_region() + are called while an actor is in the middle of a paint. + + clutter/clutter-cairo-texture.c | 19 +++++++++++++++++-- + 1 file changed, 17 insertions(+), 2 deletions(-) + +commit 1b88122873afac513449b03c0658ab3802c84f3d +Author: Emmanuele Bassi +Date: Thu Dec 11 15:41:25 2008 +0000 + + Do not set the IN_PAINT flag inside the Stage paint + + Since the CLUTTER_ACTOR_IN_PAINT private flag is set as part + of the paint process by clutter_actor_paint(), there is no + need to set it inside the ClutterStage paint function. + + clutter/clutter-stage.c | 4 ---- + 1 file changed, 4 deletions(-) + +commit 3f2c9fe6b31af32ad643cce9154e17096eed432c +Author: Emmanuele Bassi +Date: Thu Dec 11 15:39:28 2008 +0000 + + Set the IN_PAINT private flag + + When calling clutter_actor_paint() we should be setting the + CLUTTER_ACTOR_IN_PAINT private flag. This allows signalling + to each Actor subclass that we are effectively in the middle + of a paint sequence. Actor subclasses can check for this + private flag and act based on its presence - for instance to + avoid recursion, or to detect performance degradation cases. + + clutter/clutter-actor.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 99bcf731cb168846de1bf922285f52bcb3c40a81 +Author: Emmanuele Bassi +Date: Thu Dec 11 15:37:21 2008 +0000 + + [docs] Add ClutterCairoTexture to the API reference + + doc/reference/clutter/clutter-docs.xml | 1 + + doc/reference/clutter/clutter-sections.txt | 29 +++++++++++++++++++++++++++++ + doc/reference/clutter/clutter.types | 1 + + 3 files changed, 31 insertions(+) + +commit e934ad03ca7880561dd282d8cc6abc29ba0c00f5 +Author: Emmanuele Bassi +Date: Thu Dec 11 15:24:07 2008 +0000 + + Add ClutterCairoTexture + + Move the ClutterCairo actor from a separate library to an in-tree + actor. + + ClutterCairoTexture is a simple texture subclass that allows you + to retrieve a Cairo context for a private image surface. When the + Cairo context is destroyed it will cause the image surface + contents to be uploaded to a GL texture. + + The image surface used is not hardware accelerated. + + clutter/Makefile.am | 2 + + clutter/clutter-cairo-texture.c | 721 ++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-cairo-texture.h | 92 +++++ + clutter/clutter.h | 1 + + 4 files changed, 816 insertions(+) + +commit 49e762a291cb38873ecb5992c1d6d3e91f9ae9c8 +Author: Emmanuele Bassi +Date: Thu Dec 11 15:22:42 2008 +0000 + + Require Cairo as a Clutter dependency + + Cairo has been an indirect dependency for Clutter since 0.8, through + the PangoCairo API. + + Now we explicitly depend on Cairo in order to merge the clutter-cairo + API into Clutter core. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c8dbbfaacff5b3d6ed2f9b28b65a10e15241dc0f +Author: Emmanuele Bassi +Date: Thu Dec 11 15:01:28 2008 +0000 + + [docs] Update the API reference + + Add all the unused API to the sections file; there are still + some undocumented bits, but clutter-unused.txt is empty for + the time being. + + Also, add ClutterText to the main XML document and remove + ClutterLabel and ClutterEntry. + + doc/reference/clutter/Makefile.am | 1 + + doc/reference/clutter/clutter-docs.xml | 3 +- + doc/reference/clutter/clutter-sections.txt | 131 ++++++++++++++++++++++++++++- + doc/reference/clutter/clutter.types | 3 +- + 4 files changed, 132 insertions(+), 6 deletions(-) + +commit a50dfefbc33a8c0b0c7189058f4f7f521707a8fc +Author: Emmanuele Bassi +Date: Thu Dec 11 15:00:22 2008 +0000 + + Fix documentation issues + + Provide a description for the ClutterText section, and fix some + misnamed arguments inside the header file. + + clutter/clutter-text.c | 16 ++++++++++++++++ + clutter/clutter-text.h | 4 ++-- + 2 files changed, 18 insertions(+), 2 deletions(-) + +commit 0ac15903781b8deb9339027bdd4db2982f2629f3 +Author: Emmanuele Bassi +Date: Thu Dec 11 14:57:46 2008 +0000 + + Lazily create the PangoContext on Text::init + + If we create the PangoContext for ClutterText inside the class + initialization we might not have a Clutter main context yet. + + Ideally, we should store the Pango context inside the main context + and create it on clutter_init(), but for now we can lazily create + the PangoContext when we initialize a ClutterText instance for the + first time. + + clutter/clutter-text.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 5a1837bc9ef117d47cc9e6dbea66245c95027a4f +Author: Emmanuele Bassi +Date: Thu Dec 11 13:49:39 2008 +0000 + + Remove ClutterEntry and ClutterLabel from the build + + For the time being, just don't include them or compile them; the + files will be removed from the repository as soon as all the + documentation annotations have been ported over to ClutterText. + + clutter/Makefile.am | 4 ---- + clutter/clutter.h | 2 -- + 2 files changed, 6 deletions(-) + +commit ffa37dec2067ae69d2850a611758ea4d4ea48d0b +Author: Emmanuele Bassi +Date: Thu Dec 11 13:48:45 2008 +0000 + + Update the micro-bench tests to ClutterText + + Test the ClutterText rendering speed instead of ClutterLabel's. + + tests/micro-bench/test-text.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 5c14044e5216274cd806122e9ac2550ebb39d9bf +Author: Emmanuele Bassi +Date: Thu Dec 11 13:48:01 2008 +0000 + + Update the interactive tests to ClutterText + + Instead of using ClutterLabel, use ClutterText to display some + text where needed. + + tests/interactive/test-clip.c | 4 ++-- + tests/interactive/test-cogl-tex-polygon.c | 14 ++++++------- + tests/interactive/test-depth.c | 10 ++++----- + tests/interactive/test-easing.c | 8 ++++---- + tests/interactive/test-fbo.c | 4 ++-- + tests/interactive/test-layout.c | 4 ++-- + tests/interactive/test-multistage.c | 8 ++++---- + tests/interactive/test-project.c | 4 ++-- + tests/interactive/test-random-text.c | 2 +- + tests/interactive/test-rotate.c | 4 ++-- + tests/interactive/test-shader.c | 2 +- + tests/interactive/test-stage-read-pixels.c | 6 +++--- + tests/interactive/test-unproject.c | 33 +++++++++++++++--------------- + 13 files changed, 51 insertions(+), 52 deletions(-) + +commit 24a616368845de3b2e1ee4c335f3051411dfecd6 +Author: Emmanuele Bassi +Date: Thu Dec 11 13:45:22 2008 +0000 + + Do not compile the opacity and entry interactive tests + + The test-opacity interactive test is superceded by the equivalent + units inside the conformance test suite. + + The test-entry interactive test is superceded by the test-text one. + + tests/interactive/Makefile.am | 2 -- + 1 file changed, 2 deletions(-) + +commit 45de6df615c5573c38d635fd95c1bb06066e2c82 +Author: Emmanuele Bassi +Date: Thu Dec 11 13:39:35 2008 +0000 + + Update ignore file + + Add the conformance test units for ClutterText. + + .gitignore | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit edd6b65743132648172b2bfa99eb69be82fd1971 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:26:47 2008 +0000 + + Update the paint opacity unit test + + ClutterText behaviour with regards to the paint opacity has been + changed by commit 07e19fff5ffa9617413fa6c3715914513fec3793. + + We need to update the test suite for the paint opacity to reflect + that change as well. + + tests/conform/test-paint-opacity.c | 36 ++++++++++++++++++------------------ + 1 file changed, 18 insertions(+), 18 deletions(-) + +commit 786bc4d4d5741b799d7da2a86cd584600a3a2993 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:24:45 2008 +0000 + + Allow only synthetic events with keyval 0 + + We allow KeyEvents with a key symbol of '0' to fall through only + if they are marked as synthetic. Otherwise we discard them without + mercy. + + Synthetic events are useful to test ClutterText behaviour; in fact, + we do use them inside the test suite exactly for that reason. + + clutter/clutter-text.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +commit 77b3b9d5f494bb193611004456dd8f025e379c18 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:21:57 2008 +0000 + + Do not use contractions when not needed + + I understand we are not Pascal developers, and we don't have to + use cute and cuddly names like "i_am_an_integer_counter", but + a ClutterButtonEvent should be stored inside an "event" variable. + Using "bev" instead? Mmmh, not so much. + + clutter/clutter-text.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 2ca7cb46f95ec49e1016ddb880f2fd9ff6cc8c25 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:18:26 2008 +0000 + + Use the paint opacity when painting a ClutterText + + ClutterText should use the paint opacity for both text and + cursor. + + ClutterLabel had the wrong behaviour, as it set the actor's + opacity using the text color's alpha channel, and ClutterEntry + completely disregarded the actor's opacity when painting the + cursor. + + This commit harmonizes the ClutterText behaviour to always + use a composition of the actor's paint opacity and the text + and cursor alpha channel values, thus behaving more + consistently with the rest of Clutter. + + clutter/clutter-text.c | 21 ++++++++++++++++++--- + 1 file changed, 18 insertions(+), 3 deletions(-) + +commit e9c369f86d0eea327458cc4bd7b9bc750960a09f +Author: Emmanuele Bassi +Date: Thu Dec 11 12:17:11 2008 +0000 + + Add documentation annotations + + ClutterText is heavily under-documented. This commit ports most of + the API documentation from ClutterLabel and ClutterEntry to + ClutterText. + + clutter/clutter-text.c | 192 +++++++++++++++++++++++++++++++++++++++++++++++-- + 1 file changed, 188 insertions(+), 4 deletions(-) + +commit cfb60228313d16c3a373e8d39b6c05e310ab4ef4 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:15:49 2008 +0000 + + Code style fixes + + Fix the arguments alignment whenever not consistent with the + coding style rules. + + clutter/clutter-text.c | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit 7a93bcb64eef54c1fae50129111a2d810ad4f622 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:14:53 2008 +0000 + + Remove unused types + + Since ClutterText now uses ClutterBindingPool there is no more + need for the internal key mapping types. + + clutter/clutter-text.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 06b00f9dfcaa35acf01723fce0e5e224acdadba7 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:13:26 2008 +0000 + + Remove units for Entry and Label + + ClutterText should supercede all unit tests for ClutterLabel and + ClutterEntry. + + tests/conform/Makefile.am | 5 +- + tests/conform/test-clutter-entry.c | 370 --------------------- + tests/conform/test-conform-main.c | 16 +- + .../{test-label-cache.c => test-text-cache.c} | 42 +-- + 4 files changed, 24 insertions(+), 409 deletions(-) + +commit f13e00b41189fafb2eebd3df214e19db9fb107b7 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:10:46 2008 +0000 + + Truncate selections on text insertion + + When inserting text on a key press event we should also truncate + the selection. + + We should not truncate the selection when inserting any Unicode + character, since changing the selection also changes the cursor + position - and one of the invariants we inherited from ClutterEntry + is that inserting characters programmatically does not change the + cursor position. + + clutter/clutter-text.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 35172a7615afa88eea20eee83634e8a07d701d5c +Author: Emmanuele Bassi +Date: Thu Dec 11 12:08:20 2008 +0000 + + Change the binding propagation when truncating a selection + + If a selection has been truncated inside a key binding handler, + we should just return and let the usual key event handler continue. + + This fixes the case where we deleted a selection using the Delete + or the Backspace keys. + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ec4c15f8e71faee23b9b92cd49cb2a011750775b +Author: Emmanuele Bassi +Date: Thu Dec 11 12:07:20 2008 +0000 + + Comment out the mapping API + + The test-text interactive test for ClutterText should not use + the mapping API, since ClutterText does not have it anymore. + + tests/interactive/test-text.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit eae98800d2fd45cacbab9f82fb9345e7f23ea517 +Author: Emmanuele Bassi +Date: Thu Dec 11 12:03:17 2008 +0000 + + Use ClutterBindPool inside ClutterText + + ClutterText should use the newly added ClutterBindingPool API to + handle key events, instead of its homegrown code. + + This commit removes the action/mapping code and defers the entire + key binding matching to a ClutterBindingPool created inside the + Text class initialization function. + + clutter/clutter-text.c | 973 ++++++++++++++++++++++--------------------------- + clutter/clutter-text.h | 20 - + 2 files changed, 444 insertions(+), 549 deletions(-) + +commit b1c366a143eb1db68b46cb235e43761dfbb93745 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:59:50 2008 +0000 + + Add Text::get_chars() implementation and tests + + The clutter_text_get_chars() function returns a section of the + contents of the Text actor, delimited by a start and an end position. + + This commit adds the implementation for that function and a test + unit that guarantees the offset-to-bytes computations are correct. + + clutter/clutter-text.c | 35 ++++++++++++++++++++++++++++++++++- + tests/conform/test-clutter-text.c | 31 +++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 7 +------ + 3 files changed, 66 insertions(+), 7 deletions(-) + +commit 2fedd3263c4291aa2860e26ebface29913f909e7 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:57:46 2008 +0000 + + Do not namespace internal data structures + + Since the internal data structures are not exported (duh!), we + can eschew the namespacing and save us some characters. + + clutter/clutter-text.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit e93a7e243c3c43be59fbbfacaae9a55c5dd923a0 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:56:44 2008 +0000 + + Add comments in the test suite + + Comment why we need to enable the editability of the Text actor + inside the test suite. + + This should clarify commit ea508ea528d61ae478d8bc4c88f54a89304f18e8 + + tests/conform/test-clutter-text.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 4a1f4d6f9aa3c89750e9eac5f4d95f799d2d2291 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:55:39 2008 +0000 + + Move internal data structures on top + + Try to keep the declarations section of the source files clean and + possibly consistent. + + clutter/clutter-text.c | 30 +++++++++++++++++------------- + 1 file changed, 17 insertions(+), 13 deletions(-) + +commit d84a88ac3b2a7dbc528c7f00a2dd0fc877d37783 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:54:32 2008 +0000 + + Coding style consistency + + Channel mitch's spirit. + + This is also how I get to have the highest commit count on Clutter's + repository. + + clutter/clutter-text.c | 126 ++++++++++++++++++++++++------------------------- + 1 file changed, 63 insertions(+), 63 deletions(-) + +commit d10f7127a2c07cf80c10c35eeacaa4b20269f740 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:54:07 2008 +0000 + + Implement Text:max-length + + The :max-length property establishes the maximum available + length for the Text actor's contents, in characters. + + clutter/clutter-text.c | 42 +++++++++++++++++++++++++++--------------- + 1 file changed, 27 insertions(+), 15 deletions(-) + +commit 191d1aebff0dce424f67a4ac9065570d35f519b7 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:51:28 2008 +0000 + + Update the ClutterText test unit + + Whenever we are sending specially crafted KeyEvents to a ClutterText + we also need to set it editable, since the event handling code depends + on the editability setting. + + tests/conform/test-clutter-text.c | 44 ++++++++++++++++++++++----------------- + 1 file changed, 25 insertions(+), 19 deletions(-) + +commit 1ff02f570e0dd214ffc4a29d82b8876b362d74f9 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:50:02 2008 +0000 + + Use the stored contents length in ::delete_chars() + + Instead of recomputing it, we can reuse the contents length we + compute and store inside clutter_text_set_text(). + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4cc57bdc4178571c7c296b09d09b8da93c828ead +Author: Emmanuele Bassi +Date: Thu Dec 11 11:49:45 2008 +0000 + + Improve the safety checks inside the text setters + + We should check that the contents of the Text actor are + not NULL when computing the offsets in bytes. + + clutter/clutter-text.c | 27 +++++++++++++-------------- + 1 file changed, 13 insertions(+), 14 deletions(-) + +commit c72722df8ce3d3c91a26b8fc41cb7af9c6b6d864 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:49:14 2008 +0000 + + Add :cursor-color-set property declaration + + The :cursor-color-set property is a read-only property that + reflects whether the ClutterText actor is going to use the + color set inside the :cursor-color property when painting + the cursor. + + clutter/clutter-text.c | 15 +++++++++++++-- + 1 file changed, 13 insertions(+), 2 deletions(-) + +commit bdb0cc462d547c0e553c02f1692f35e60034d338 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:48:17 2008 +0000 + + General whitespace fixes in ClutterText + + Let's keep whitespace fixes to their own commit to avoid + polluting git-blame. + + clutter/clutter-text.c | 105 +++++++++++++++++++++++++++++-------------------- + 1 file changed, 62 insertions(+), 43 deletions(-) + +commit 7fa93ebe9ed7be18a6dba6174020434759db691b +Author: Emmanuele Bassi +Date: Thu Dec 11 11:47:06 2008 +0000 + + Replace offset_to_bytes() implementation + + We should re-use the offset_to_bytes() implementation from ClutterEntry + as it guaranteed some behaviour and sanity checks that we want to keep + inside ClutterText. + + clutter/clutter-text.c | 46 +++++++++++++++++++++++++++++++++++++++------- + 1 file changed, 39 insertions(+), 7 deletions(-) + +commit 94789e3cc3c84acbb63cc3e83a8fb949dd5186f5 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:45:37 2008 +0000 + + Add a separate test unit for ClutterText + + Instead of changing the unit for ClutterEntry, we add a new + test unit specifically for ClutterText so that we can later tweak + it specifically for the behaviour changes needed to make ClutterText + work better. + + tests/conform/Makefile.am | 3 +- + tests/conform/test-clutter-entry.c | 2 +- + tests/conform/test-clutter-text.c | 370 +++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 17 ++ + 4 files changed, 390 insertions(+), 2 deletions(-) + +commit 9169dff794889a9533f1cf778d452fdfdcc4edae +Author: Emmanuele Bassi +Date: Thu Dec 11 11:43:56 2008 +0000 + + Add text editing methods + + Port the text editing methods from ClutterEntry, so that + ClutterText exposes the same API. + + clutter/clutter-text.c | 100 ++++++++++++++++++++++++++++++++++++++++++------- + 1 file changed, 86 insertions(+), 14 deletions(-) + +commit 74257dfa273a6f283e01bdc91d5a74dea0bf38e0 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:43:37 2008 +0000 + + Add missing basic constructor + + ClutterText should have an empty constructor, mostly for + bindings to use, that just proxies call to g_object_new() + without setting any property. + + clutter/clutter-text.c | 6 ++++++ + clutter/clutter-text.h | 1 + + 2 files changed, 7 insertions(+) + +commit 7af992974e08707d583cdb94d7353e4e64ee5633 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:42:33 2008 +0000 + + Initialize the cursor position + + By default, the cursor position is initialized to -1, meaning + "place the cursor always at the end of the text". + + clutter/clutter-text.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit d5df1bebcf28cb035ea9529fbc1352c8300f7e25 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:40:55 2008 +0000 + + Add text-visibility accessors for ClutterText + + A ClutterText can be put in "password mode" by setting the + text as "invisible": every character inside the Text actor's + contents will be replaced when building the Pango layout with + a specific Unicode character. + + The Unicode character is set to '*' by default, but the user + can be changed using the provided API. + + clutter/clutter-text.c | 654 ++++++++++++++++++++++++++++++++++++------------- + clutter/clutter-text.h | 21 +- + 2 files changed, 495 insertions(+), 180 deletions(-) + +commit 64af7bafe387571d7087dd4c99b4f459c1ca41c0 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:37:46 2008 +0000 + + Move test-threads to ClutterText + + The test-threads interactive test is a good candidate for the + switch from ClutterLabel to ClutterText to verify that the + behaviour of the two classes is the same. + + tests/interactive/test-threads.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 97cf7e68199f9ac901777f7c68b5475373d5a4eb +Author: Emmanuele Bassi +Date: Thu Dec 11 11:35:52 2008 +0000 + + Correctly initialize the initial state of ClutterText + + Some of the values in ClutterText have an initial state that + does not match a zero-ed out ClutterTextPrivate structure. + + clutter/clutter-text.c | 27 +++++++++++++++++++++++---- + 1 file changed, 23 insertions(+), 4 deletions(-) + +commit fc168a34823567caead8e7cbfcf91b3f47b229e8 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:33:10 2008 +0000 + + Merge the ClutterLabel properties into ClutterText + + ClutterText should have the same properties as ClutterLabel. + + While at it, we can finally fix the disconnect between the wrap + and wrap-mode properties and its accessors, that we perpetuated + from GtkLabel. + + The ClutterText:line-wrap property and ClutterText:line-wrap-mode + are mapped to the set_line_wrap(), get_line_wrap() and + set_line_wrap_mode(), get_line_wrap_mode() accessor functions + respectively. This should simplify bindings the Vala ones that + map a property into a method. + + clutter/clutter-text.c | 1312 ++++++++++++++++++++++++++++++++---------------- + 1 file changed, 886 insertions(+), 426 deletions(-) + +commit c5f51f7027dbbac373587621a52fc6f95f529e69 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:31:48 2008 +0000 + + Add Text::get_chars() method declaration + + Add the declaration for a clutter_text_get_chars() function that + returns a portion of the contents of a Text actor. + + clutter/clutter-text.h | 3 +++ + 1 file changed, 3 insertions(+) + +commit 430d1cf347beeaa619651f2a227d00e053b6b2da +Author: Emmanuele Bassi +Date: Thu Dec 11 11:22:46 2008 +0000 + + Add Actor::grab_key_focus() method + + Bug 1003 - Add clutter_actor_take_key_focus() + + The grab_key_focus() method is just a simple wrapper around + clutter_stage_take_key_focus() that removes the need to get + the ClutterStage of an actor in order to set the key focus. + + Based on a patch by Xan López. + + Signed-off-by: Emmanuele Bassi + Signed-off-by: Øyvind Kolås + + clutter/clutter-actor.c | 25 +++++++++++++++++++++++++ + clutter/clutter-actor.h | 2 ++ + 2 files changed, 27 insertions(+) + +commit 40fb75052ba11b80b41590f17ab3b194df11ae3f +Author: Emmanuele Bassi +Date: Thu Dec 11 11:21:39 2008 +0000 + + Merge Label and Entry API into ClutterText + + ClutterText should expose both ClutterLabel and ClutterEntry + functionality using an API that matches the one provided by + those two classes. + + clutter/clutter-text.h | 150 ++++++++++++++++++++++++++++++++----------------- + 1 file changed, 99 insertions(+), 51 deletions(-) + +commit 437f96982e5754f25630570818d4a5173bd9a8ce +Author: Emmanuele Bassi +Date: Thu Dec 11 11:20:14 2008 +0000 + + Expose the Text accessors as public API + + Fix up the header to expose ClutterText accessors for the main + properties, matching ClutterLabel. + + clutter/clutter-text.c | 8 -------- + clutter/clutter-text.h | 47 +++++++++++++++++++++++------------------------ + 2 files changed, 23 insertions(+), 32 deletions(-) + +commit 5ac16652df4fc165c6237464e6df250687bf023f +Author: Emmanuele Bassi +Date: Thu Dec 11 11:18:05 2008 +0000 + + Update the ClutterText interactive test + + Use ClutterText's own API instead of relying on the Label's API. + + ClutterText is not meant to be a subclass of ClutterLabel. + + tests/interactive/test-text.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 4d62da80adf7347d1be25cdc42255438e5d8fb64 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:17:26 2008 +0000 + + Coalesce ClutterLabel API usage + + ClutterText replaces ClutterLabel, so it should expose the same + kind of API - ideally with the minimal amount of changes, so that + the porting is trivial. + + clutter/clutter-text.c | 693 +++++++++++++++++++++++++++++++++++++++++++------ + 1 file changed, 608 insertions(+), 85 deletions(-) + +commit a91bb5450f029200635d9fdaf470c27046ebdeae +Author: Emmanuele Bassi +Date: Thu Dec 11 11:15:56 2008 +0000 + + Group all the integer private fields + + Integer fields using the ": " notation should be packed + together so that the compiler can optimize the structure size + correctly. + + clutter/clutter-text.c | 19 ++++++++++--------- + 1 file changed, 10 insertions(+), 9 deletions(-) + +commit f9bf187e5d0268886a96a40911debd21b666e5e0 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:15:11 2008 +0000 + + Use internal headers + + Since ClutterText is part of Clutter, it can use the internal + and private headers instead of the catch-all clutter.h. + + clutter/clutter-text.c | 17 ++++++++++++++++- + 1 file changed, 16 insertions(+), 1 deletion(-) + +commit a98720ae19f4892676c043bb6e4f2258eb201827 +Author: Emmanuele Bassi +Date: Thu Dec 11 11:12:48 2008 +0000 + + Initial import of the Text actor from Tidy + + The TidyText actor is meant as a replacement for both ClutterLabel + and ClutterText. + + Any text-displaying and editing actor should derive from ClutterText + and implement the various visual cues to differentiate the editable + from the non-editable state. Those visual cues usually belong to + a high-level toolkit, especially if themeing is involved. + + clutter/Makefile.am | 2 + + clutter/clutter-text.c | 1561 +++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-text.h | 136 ++++ + clutter/clutter.h | 1 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-text.c | 176 +++++ + 6 files changed, 1878 insertions(+), 1 deletion(-) + +commit 4973b684a619ad62ed4bad0103cdd38a3f34ccba +Author: Emmanuele Bassi +Date: Thu Dec 11 11:11:11 2008 +0000 + + Resort the main Clutter include file + + Just for overall sanity we keep the include file sorted. + + clutter/clutter.h | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +commit ee72352de0da52ae977d42fe2b06e96a90cf4bee +Author: Emmanuele Bassi +Date: Wed Dec 10 23:12:22 2008 +0000 + + Update ignore file + + .gitignore | 3 +++ + 1 file changed, 3 insertions(+) + +commit e21fee39b450beee1a140a3b075321687e9c6f05 +Merge: 9537f8e4a dc6545ccd +Author: Neil Roberts +Date: Wed Dec 10 12:25:25 2008 +0000 + + Merge commit 'git-svn' into multiple-texture-rectangle + +commit 9537f8e4ae69af43848f679d6568e94eb800b266 +Author: Neil Roberts +Date: Tue Dec 9 18:03:29 2008 +0000 + + Use a single index array + + There's no point in clearing the index array because it is always the + same sequence of indices regardless of the vertices. Instead it is + just added to when there are more vertices than ever before. + + clutter/cogl/gl/cogl-texture.c | 51 ++++++++++++++++++++++++++-------------- + clutter/cogl/gles/cogl-texture.c | 51 ++++++++++++++++++++++++++-------------- + 2 files changed, 66 insertions(+), 36 deletions(-) + +commit 2c9a79651a0d8b0400589b9e1232c941b09ebb2a +Merge: 0bedd891f e3dd18dc0 +Author: Neil Roberts +Date: Tue Dec 9 15:10:56 2008 +0000 + + Merge commit 'git-svn' into multiple-texture-rectangle + +commit 0bedd891fb716e03b867e1f450205a2d503721cf +Author: Neil Roberts +Date: Tue Dec 9 15:10:33 2008 +0000 + + Support cogl_texture_multiple_rectangles in GL ES backend + + clutter/cogl/gles/cogl-context.c | 14 +- + clutter/cogl/gles/cogl-context.h | 11 +- + clutter/cogl/gles/cogl-texture.c | 343 ++++++++++++++++++++++----------------- + 3 files changed, 212 insertions(+), 156 deletions(-) + +commit 8fc949bfafe0ca5de2cf19081f122896e29a3794 +Author: Neil Roberts +Date: Tue Dec 9 15:01:10 2008 +0000 + + Minor fix to indentation in gl/cogl-texture.c + + clutter/cogl/gl/cogl-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 73974de482cff70c124aa49869b77099382591c3 +Author: Neil Roberts +Date: Tue Dec 9 13:16:42 2008 +0000 + + Add gtk-doc for cogl_texture_multiple_rectangles + + clutter/cogl/cogl-texture.h | 18 ++++++++++++++++++ + doc/reference/cogl/cogl-sections.txt | 1 + + 2 files changed, 19 insertions(+) + +commit bf72b8cdc3c43221e0813475957712f3ad9c8265 +Author: Neil Roberts +Date: Tue Dec 9 13:02:28 2008 +0000 + + Use glDrawRangeElements to share vertices + + When drawing a quad from cogl_texture_multiple_rectangles share two of + the vertices in each triangle by using indices. + + clutter/cogl/gl/cogl-context.c | 4 ++ + clutter/cogl/gl/cogl-context.h | 1 + + clutter/cogl/gl/cogl-texture.c | 157 ++++++++++++++++++++++------------------- + 3 files changed, 88 insertions(+), 74 deletions(-) + +commit bafcfca797d29d3731b1af4675c341ed212fbd5d +Merge: e3f077d55 98035e4d8 +Author: Neil Roberts +Date: Thu Dec 4 18:08:40 2008 +0000 + + Merge commit 'git-svn' into multiple-texture-rectangle + + Conflicts: + + clutter/cogl/gl/cogl-texture.c + +commit e3f077d55f323d71efed19def7f6a740ff78c2ec +Author: Neil Roberts +Date: Thu Dec 4 17:50:03 2008 +0000 + + Use the correct length in _cogl_texture_flush_vertices + + The check for whether there are any rectangles to flush was using the + wrong value so it would always flush. + + Thanks to Johan Bilien for spotting. + + clutter/cogl/gl/cogl-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 29505dd0ba651df08dcfb184f0b08efa5b4eddfe +Author: Neil Roberts +Date: Fri Nov 28 14:20:07 2008 +0000 + + Use GL_TRIANGLES for the texture vertex array + + Most cards don't actually support GL_QUADS and they are deprecated in + GL 3.0 so there is a chance it will perform faster with GL_TRIANGLES + even though it has to submit two extra vertices. + + clutter/cogl/gl/cogl-texture.c | 32 +++++++++++++++++++++++--------- + 1 file changed, 23 insertions(+), 9 deletions(-) + +commit ab347481aeccd28b0986fbc991c96d72bbc3f072 +Author: Neil Roberts +Date: Fri Nov 28 13:14:10 2008 +0000 + + Use cogl_texture_multiple_rectangles in CoglPangoRenderer + + The glyphs are queued into an array of rectangles instead of being + drawn directly. Whenever a different texture is used or the sequence + is complete the array is flushed. + + This is based on a patch from Owen Taylor. + + clutter/pango/cogl-pango-render.c | 78 ++++++++++++++++++++++++++++++++------- + 1 file changed, 64 insertions(+), 14 deletions(-) + +commit b312cd2d5560de953cfc0438353f9f6d8e3cae9a +Author: Neil Roberts +Date: Fri Nov 28 12:44:21 2008 +0000 + + Add cogl_texture_multiple_rectangles + + This takes an array of sets of 8 floats to describe the rectangles. It + tries to send the geometry with a single glDrawArrays as far as + possible. cogl_texture_rectangle is now just a wrapper around + cogl_texture_multiple_rectangles. + + clutter/cogl/cogl-texture.h | 5 +++ + clutter/cogl/gl/cogl-texture.c | 74 ++++++++++++++++++++++++++++-------------- + 2 files changed, 55 insertions(+), 24 deletions(-) + +commit 10942e8e049a4bfdd3df5abd5036c63f5676df92 +Author: Neil Roberts +Date: Fri Nov 28 12:33:19 2008 +0000 + + Make cogl_texture_rectangle use the vertex array + + cogl_texture_quad_hw and _sw now just add vertices to the vertex + array. The last texture used is stored and if a different texture is + encountered then flushes the vertices. cogl_texture_rectangle always + flushes the vertices after calling either of the functions. + + clutter/cogl/gl/cogl-context.h | 7 +- + clutter/cogl/gl/cogl-texture.c | 199 +++++++++++++++++++++++------------------ + 2 files changed, 118 insertions(+), 88 deletions(-) + +commit 93ea1681bb21704a51370c0a2e7bc8f791a38d5a +Author: Neil Roberts +Date: Thu Nov 27 16:44:39 2008 +0000 + + Use a GArray for the texture vertices in cogl_texture_polygon + + Previously it was a dynamic array that was manually reallocated. + + clutter/cogl/gl/cogl-context.c | 11 +++++++---- + clutter/cogl/gl/cogl-context.h | 3 +-- + clutter/cogl/gl/cogl-texture.c | 32 +++++++++----------------------- + 3 files changed, 17 insertions(+), 29 deletions(-) diff --git a/ChangeLog.pre-1.10 b/ChangeLog.pre-1.10 new file mode 100644 index 0000000..8861d03 --- /dev/null +++ b/ChangeLog.pre-1.10 @@ -0,0 +1,14246 @@ +commit 640314e5322f93dd20c77db9e66e3e68c3c6577c +Author: Emmanuele Bassi +Date: Thu Mar 22 13:14:18 2012 +0000 + + Release Clutter 1.10.0 (stable) + + NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 47 insertions(+), 2 deletions(-) + +commit 15e548ad4a41bdbcf107215c5335f45efe5b4392 +Author: Emmanuele Bassi +Date: Thu Mar 22 13:20:55 2012 +0000 + + build: Remove disabling Clutter's deprecation warnings while building it + + Now that we have deprecation warnings and not full on symbol removal + from the headers, we can just skip Clutter's own, and use only GLib's. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ffa484e732bcee5c53df14fcad3ec238fa9f72bc +Author: Emmanuele Bassi +Date: Wed Mar 21 14:01:31 2012 +0000 + + osx: Fix compilation warnings + + https://bugzilla.gnome.org/show_bug.cgi?id=672536 + + clutter/osx/clutter-stage-osx.c | 44 ++++++++++++++++++++++++++++++++++++----- + 1 file changed, 39 insertions(+), 5 deletions(-) + +commit c0a02349800b2809832d593b897dbee00f33a3a0 +Author: Jasper St. Pierre +Date: Wed Mar 21 10:42:32 2012 -0400 + + table-layout: Remove dead code + + If a column/row is expanding, n_expand has to be greater than 1. + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 16 ++++------------ + 1 file changed, 4 insertions(+), 12 deletions(-) + +commit 0e2399e79dfd2d7900fa90f1616646a08b07022c +Author: Jasper St. Pierre +Date: Wed Mar 21 10:36:42 2012 -0400 + + table-layout: Fix x/y-expand for spanning actors + + Ported to ClutterTableLayout from MxTable: + + https://github.com/clutter-project/mx/commit/239e53146a678ae753b1fb9a862f4030c66a1d9b + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 890bf1438691273dee1f13c5cfe70bd9e43f5573 +Author: Jasper St. Pierre +Date: Wed Mar 21 09:36:07 2012 -0400 + + table-layout: Fix column visibility for spanning actors + + Ported to ClutterTableLayout from MxTable: + + https://github.com/clutter-project/mx/commit/6633f185fcfb7ce8a6ef85276d09e4ee92f584b8 + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit 6bb486798639c65daae5000a0b725729a56db30c +Author: Jasper St. Pierre +Date: Wed Mar 21 09:35:37 2012 -0400 + + table-layout: Remove unused 'shrink' field. + + Ported to ClutterTableLayout from MxTable: + + https://github.com/clutter-project/mx/commit/053a1b04290e6ac307f90033babf761179d1db89 + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 1 - + 1 file changed, 1 deletion(-) + +commit 6751056439e38fe4701a3fbd4940ed329e2b7f05 +Author: Jasper St. Pierre +Date: Thu Feb 16 14:06:25 2012 -0500 + + actor: Freeze property change notifications on destroy + + clutter/clutter-actor.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit a8b8bd89e56447e2609372a6b1112530a19d8ba2 +Author: Emmanuele Bassi +Date: Wed Mar 21 14:01:11 2012 +0000 + + Fix fallback profile counter macro + + clutter/clutter-profile.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7a7151519f369d3e1686d7fd3de0d231ecc93ae0 +Author: Emmanuele Bassi +Date: Wed Mar 21 13:30:28 2012 +0000 + + docs: Clean up the animations sections of the Actor reference + + clutter/clutter-actor.c | 147 ++++++++++++++++++++++++++++-------------------- + 1 file changed, 86 insertions(+), 61 deletions(-) + +commit 7afc3b2fca6ffbfb160e1f32bbfcfe01a83c7867 +Author: Emmanuele Bassi +Date: Wed Mar 21 12:57:26 2012 +0000 + + interactive/scrolling: Use the implicit animation API + + tests/interactive/test-scrolling.c | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +commit ae3a4c3cfbad506c4a3df52a392a3c20a96a2da5 +Author: Rico Tzschichholz +Date: Wed Mar 21 13:59:54 2012 +0100 + + build: Remove superfluous ',' + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8678cb74e8868d0d7ad8614a401227f113982801 +Author: Emmanuele Bassi +Date: Tue Mar 20 16:18:20 2012 +0000 + + conform: Set harsher environment for running tests + + Set the MALLOC_CHECK_ and MALLOC_PERTURB_ environment variables to catch + allocation issues. + + tests/conform/run-tests.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 133e663878f958e5cafe8d09bb1ffef9956dcd31 +Author: Emmanuele Bassi +Date: Tue Mar 20 16:11:52 2012 +0000 + + paint-node: Initialize ClutterPaintOperation + + Don't leave it to the compiler. + + clutter/clutter-paint-node-private.h | 2 ++ + clutter/clutter-paint-node.c | 8 ++++---- + 2 files changed, 6 insertions(+), 4 deletions(-) + +commit e9b05f48607b4a7095d7aeb96dc8f6b1c2b34c54 +Author: Robert Bragg +Date: Tue Mar 20 14:06:10 2012 +0000 + + clutter-wayland-compositor.h: Adds missing header guards + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-compositor.h | 5 +++++ + 1 file changed, 5 insertions(+) + +commit e00384826dc5358b17de784922f09f1129b385d9 +Author: Neil Roberts +Date: Fri Mar 9 18:24:14 2012 +0000 + + wayland: Fix some missing includes + + The commit 90e5088 added some extra compiler warning options that were + triggering warnings when enabling the wayland build due to missing + header includes. This adds those header includes in. + + Reviewed-by: Robert Bragg + Reviewed-by: Emmanuele Bassi + + clutter/clutter-backend.c | 4 ++++ + clutter/evdev/clutter-device-manager-evdev.c | 1 + + clutter/wayland/clutter-event-wayland.c | 1 + + clutter/wayland/clutter-input-device-wayland.c | 1 + + clutter/wayland/clutter-stage-wayland.c | 1 + + 5 files changed, 8 insertions(+) + +commit dea90d2fe394d724e569f1558322bc7a9b35061f +Author: Robert Bragg +Date: Tue Mar 20 13:50:42 2012 +0000 + + include standalone cogl-wayland-server/client headers + + Because the wayland-server-protocol.h header includes symbols that + collide with wayland-client-protocol.h Cogl now provides top level + and headers so + that applications can ensure they only include one of the wayland + protocol headers in a particular compilation unit. This updates clutter + accordingly to include those headers. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/clutter-backend.c | 2 ++ + clutter/wayland/clutter-backend-wayland.c | 1 + + clutter/wayland/clutter-stage-wayland.c | 2 ++ + clutter/wayland/clutter-wayland-surface.c | 3 +-- + 4 files changed, 6 insertions(+), 2 deletions(-) + +commit fabf2ddf0f390d5ac21090e37ed4c96a1ac9d468 +Author: Rob Bradford +Date: Tue Mar 20 13:31:28 2012 +0000 + + wayland: Only try and resize the framebuffer if there is a valid framebuffer + + clutter/wayland/clutter-stage-wayland.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 2fc9934d2dd0bb1afc65dc951c3363f689d55cd1 +Author: Emmanuele Bassi +Date: Tue Mar 20 13:06:48 2012 +0000 + + docs: Reorganize the API reference index + + doc/reference/clutter/clutter-docs.xml.in | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 31ec4faa8f61462cc0b9ab4be4df0d3f569bcca4 +Author: Emmanuele Bassi +Date: Tue Mar 20 12:06:21 2012 +0000 + + docs: Fix typo + + clutter/clutter-transition.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cf5ac39552e59a84d3891531c3abd8af027bef70 +Author: Emmanuele Bassi +Date: Tue Mar 20 11:55:41 2012 +0000 + + docs: Add a section on actor animations + + Detail the implicit and explicit animation models used by ClutterActor. + + clutter/clutter-actor.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 71 insertions(+), 1 deletion(-) + +commit 4f62137302483537a30725aba1ae9d3fb0e9d0f4 +Author: Emmanuele Bassi +Date: Tue Mar 20 11:47:41 2012 +0000 + + property-transition: Remove animatable from the ctor + + Should not have been there in the first place: the animatable will be + set either using ClutterTransition API, or when adding the transition + to a ClutterActor. + + clutter/clutter-actor.c | 5 +++-- + clutter/clutter-property-transition.c | 8 +++----- + clutter/clutter-property-transition.h | 3 +-- + 3 files changed, 7 insertions(+), 9 deletions(-) + +commit 5694b8031e0cb257ba618d266255637468365352 +Author: Emmanuele Bassi +Date: Tue Mar 20 11:22:07 2012 +0000 + + Use g_clear_object() instead of unref() + NULL + + clutter/clutter-actor.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit 48ca103de183fadb53017657cb1afd8f3295265a +Author: Emmanuele Bassi +Date: Tue Mar 20 11:17:53 2012 +0000 + + actor: Clarify and improve memory management of transitions + + When adding a transition to a ClutterActor, the actor should hold a + reference on it, and release it only when we remove it. This makes + transitions just like other objects held by ClutterActor. + + clutter/clutter-actor.c | 44 +++++++++++++++++++++++++++++++------------- + 1 file changed, 31 insertions(+), 13 deletions(-) + +commit 9b1b554c1ab0dab0654bb3e661b632d4b740f568 +Author: Chun-wei Fan +Date: Tue Mar 20 16:36:51 2012 +0800 + + Update Visual C++ property sheets + + -"Install" the newly-introduced headers + -Fix the situation when the Clutter sources are not unpacked in the root + folder of a drive (ex: Clutter is unpacked in c:\blah or d:\blah, instead + of c:\ or d:\) + + build/win32/vs10/clutter.props | 28 +++++++++++++++++++++++++--- + build/win32/vs9/clutter.vsprops | 23 +++++++++++++++++++---- + 2 files changed, 44 insertions(+), 7 deletions(-) + +commit a1b8cc4b3b1f816d1f9d0c0b9af2b3f4a20e877a +Author: Chun-wei Fan +Date: Tue Mar 20 16:16:57 2012 +0800 + + Update test-interactive Visual C++ projects + + Link to GDK-Pixbuf as well. + + build/win32/vs10/test-interactive-clutter.vcxprojin | 8 ++++---- + build/win32/vs9/test-interactive-clutter.vcprojin | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 073ec80c05c27a36d2412f9d6784c12c01417bc5 +Author: Emmanuele Bassi +Date: Mon Mar 19 18:10:26 2012 +0000 + + cookbook/examples: Use real implicit animations + + Instead of clutter_actor_animate(). + + doc/cookbook/examples/animations-moving-implicit.c | 42 +++++++++++----------- + 1 file changed, 21 insertions(+), 21 deletions(-) + +commit 65cf2039d89f00811beacea4ce98b5003df49f94 +Author: Emmanuele Bassi +Date: Mon Mar 19 18:05:29 2012 +0000 + + timeline: Increment current-repeat after ::completed + + The ::completed signal emission is part of the current cycle; repeating, + like the automatic reverse of the timeline's direction, happens after + the ::completed chain of handlers has been called. + + clutter/clutter-timeline.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 1dbb1db1837f18ad59a1c4f4830fcdfe0f434299 +Author: Chao-Hsiung Liao +Date: Mon Mar 19 23:45:28 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 607 ++++++++++++++++++++++++++++++++++++------------------------ + po/zh_TW.po | 607 ++++++++++++++++++++++++++++++++++++------------------------ + 2 files changed, 732 insertions(+), 482 deletions(-) + +commit 03c504efc9f45917f84d11dbe7eb982380738487 +Author: Emmanuele Bassi +Date: Mon Mar 19 15:23:08 2012 +0000 + + Post-release version bump to 1.9.17 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit aa6ba2c706a5d53d8a994694d021edb0c07f03f2 +Author: Emmanuele Bassi +Date: Mon Mar 19 15:10:04 2012 +0000 + + Release Clutter 1.9.16 (1.10 release candidate 1) + + NEWS | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 65 insertions(+), 1 deletion(-) + +commit 28266a59ed9082fbf5ce453a498b61e833644786 +Author: Emmanuele Bassi +Date: Mon Mar 19 14:57:46 2012 +0000 + + docs: Fixes for the API reference + + clutter/clutter-event.h | 9 ++++----- + doc/reference/clutter/clutter-sections.txt | 5 +++++ + 2 files changed, 9 insertions(+), 5 deletions(-) + +commit 767b14fb2d1cc639cd65604049cfe3fc0abb108f +Author: Emmanuele Bassi +Date: Mon Mar 19 14:47:55 2012 +0000 + + conform/anchors: Fix a dubious test + + Changing the scale gravity should not affect the scale factors as well; + it was just a side-effect of the wrong implementation of the setter. + + tests/conform/actor-anchors.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 5a77f814abfee368e4322d5dacbfce1869bc3149 +Author: Emmanuele Bassi +Date: Mon Mar 19 14:40:46 2012 +0000 + + x11/keymap: Silence deprecation warnings around a fallback + + We still use XKeycodeToKeysym() in a fallback path in case we're not + running on a decent enough system; XKeycodeToKeysym() is deprecated as + of version 1.12 of the X server, but since I don't want to copy a bunch + of code from GDK or, god forbid, from Xlib, for a fallback path, it's + probably more reasonable to just silence the compiler warnings - at + least until we can drop all the X compatibility crap, and just use + modern, or semi-modern, API. + + clutter/x11/clutter-keymap-x11.c | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +commit 09a317d23dc7d4785c31f8393b54392b5f473f60 +Author: Emmanuele Bassi +Date: Mon Mar 19 14:28:34 2012 +0000 + + x11: Add support for touch events + + For the time being, we just relay everything we get from the X server to + the Clutter application. + + clutter/clutter-event-private.h | 3 + + clutter/clutter-event.c | 12 +++ + clutter/x11/clutter-backend-x11.c | 5 + + clutter/x11/clutter-backend-x11.h | 1 + + clutter/x11/clutter-device-manager-xi2.c | 177 ++++++++++++++++++++++++++++++- + clutter/x11/clutter-input-device-xi2.c | 10 ++ + 6 files changed, 207 insertions(+), 1 deletion(-) + +commit d15b828cc5749772a46bee07277aa1694c67a1fd +Author: Emmanuele Bassi +Date: Mon Mar 19 13:47:19 2012 +0000 + + event: Add ClutterTouchEvent + + The ClutterTouchEvent structure contains the data relative to a touch + event. + + clutter/clutter-enums.h | 18 ++++++++- + clutter/clutter-event.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-event.h | 55 ++++++++++++++++++++++++++++ + clutter/clutter-main.c | 9 +++++ + clutter/clutter.symbols | 1 + + 5 files changed, 179 insertions(+), 1 deletion(-) + +commit ab3582be1cca307350389ca6bcb326b4fce35d73 +Author: Emmanuele Bassi +Date: Mon Mar 19 12:19:26 2012 +0000 + + gdk: Relay scroll delta from GDK + + clutter/gdk/clutter-event-gdk.c | 3 +++ + clutter/gdk/clutter-stage-gdk.h | 3 ++- + 2 files changed, 5 insertions(+), 1 deletion(-) + +commit 1c500f7de9d02c826e333e7dfd90aa8bb677d484 +Author: Emmanuele Bassi +Date: Mon Mar 19 14:27:54 2012 +0000 + + x11: Reset scroll valuators + + We need to clear up the state on enter and leave, as well as when the X + server tells us that the device has changed. + + clutter/x11/clutter-device-manager-xi2.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 676a31743993915437da419551d7c5193f0b9f43 +Author: Emmanuele Bassi +Date: Mon Mar 19 12:16:53 2012 +0000 + + x11: Add support for scroll valuators on XInput2.2 + + clutter/clutter-device-manager-private.h | 23 +++++++ + clutter/clutter-input-device.c | 96 ++++++++++++++++++++++++++ + clutter/x11/clutter-backend-x11.c | 5 ++ + clutter/x11/clutter-device-manager-xi2.c | 111 ++++++++++++++++++++++++++++++- + 4 files changed, 233 insertions(+), 2 deletions(-) + +commit 6b07f8a3df5647e752165af44bdea31619f7e8d1 +Author: Emmanuele Bassi +Date: Mon Mar 19 12:15:41 2012 +0000 + + event: Expose precise scrolling information + + Some events may contain precise scrolling information coming from + devices like trackpads and touchscreens. ClutterEvent should allow + setting and getting this information. + + clutter/clutter-enums.h | 7 ++++- + clutter/clutter-event.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-event.h | 8 ++++++ + clutter/clutter.symbols | 2 ++ + 4 files changed, 87 insertions(+), 1 deletion(-) + +commit 4fcd32025580c35b2133369159f411ea508e3d3b +Author: Emmanuele Bassi +Date: Mon Mar 19 12:13:01 2012 +0000 + + Check for XInput 2.2 extension + + configure.ac | 20 +++++++++++++++++++- + 1 file changed, 19 insertions(+), 1 deletion(-) + +commit 28bfebc7ec27f01000c3ec1591d3117e8d7f0052 +Author: Carles Ferrando +Date: Mon Mar 19 01:15:12 2012 +0100 + + [l10n]Updated Catalan (Valencian) translation + + po/ca@valencia.po | 1693 +++++++++++++++++++++++++++++++---------------------- + 1 file changed, 984 insertions(+), 709 deletions(-) + +commit 36f8314e320fcb2c489d76c53855a3d582b2ac79 +Author: Gil Forcada +Date: Mon Mar 19 01:15:07 2012 +0100 + + [l10n] Updated Catalan translation + + po/ca.po | 334 +++++++++++++++++++++++++++++++++++++++------------------------ + 1 file changed, 209 insertions(+), 125 deletions(-) + +commit ff10941ac752b5c662fb7983c532fac2599c051e +Author: Bruno Brouard +Date: Sun Mar 18 21:41:05 2012 +0100 + + Updated French translation + + po/fr.po | 1861 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1069 insertions(+), 792 deletions(-) + +commit b0a0e5e177c8e5b76d3eb9a305ac3fb58305bf27 +Author: Alexander Shopov +Date: Sun Mar 18 20:29:17 2012 +0200 + + Updated Bulgarian translation + + po/bg.po | 442 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 263 insertions(+), 179 deletions(-) + +commit bf7f0a492eb1443e48fe6eb133ee92851e69de62 +Author: Daniel Nylander +Date: Sun Mar 18 11:04:34 2012 +0100 + + Updated Swedish translation + + po/sv.po | 1926 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1125 insertions(+), 801 deletions(-) + +commit 103438cfe2b51f479c6f6ccce4afc1ba1b0406f0 +Author: Emmanuele Bassi +Date: Sun Mar 18 08:07:56 2012 +0000 + + actor: Add ::transitions-completed signal + + While you can get a per-transition notification of completion, it can be + convenient to also have a way to notify that all the transitions + involving an actor are complete. A simple signal triggered by the + removal of the last transition fits the bill pretty neatly. + + clutter/clutter-actor.c | 34 +++++++++++++++++++++++++++++++++- + 1 file changed, 33 insertions(+), 1 deletion(-) + +commit a37ec4bd34f549ac7c3614616940f2aef2de1ff1 +Author: Jasper St. Pierre +Date: Sun Mar 18 03:07:31 2012 -0400 + + script-parser: Fix build + + clutter/clutter-script-parser.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4da8001cac3ba14286f99bc9e35e2ec24dee0421 +Author: Marek Černocký +Date: Sun Mar 18 07:57:52 2012 +0100 + + Updated Czech translation + + po/cs.po | 1181 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 643 insertions(+), 538 deletions(-) + +commit 5b6d9e0f2b10ac1abad22415493333a5e223ea31 +Author: Adam Matoušek +Date: Sun Mar 18 07:38:15 2012 +0100 + + Updated Czech translation + + po/cs.po | 1866 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 1033 insertions(+), 833 deletions(-) + +commit 4d42904fcc748df33adaa3b76f6d6fc664bf1842 +Author: Lionel Landwerlin +Date: Sat Mar 17 23:52:48 2012 +0000 + + x11/stage: fix multi-stage support + + When handling Configure events from the X server we update the + internal copy of the window size. Unfortunately we may be updating the + wrong stage implementation because we use the one related to the event + translator (which is the first created stage). + + This patch fix flickering/redrawning issues with multi-stage by + looking for the right stage implementation associated with an XEvent. + + Signed-off-by: Lionel Landwerlin + + clutter/x11/clutter-stage-x11.c | 37 +++++++++++++++++++++++++------------ + 1 file changed, 25 insertions(+), 12 deletions(-) + +commit efac119cabe99425aeeb05e970cf4c2b76a45cab +Author: Duarte Loreto +Date: Sun Mar 18 00:19:04 2012 +0000 + + Updated Portuguese translation + + po/pt.po | 1686 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 986 insertions(+), 700 deletions(-) + +commit d5738b6bd4e40f36ca09cfd730968c8035d3ad62 +Author: Emmanuele Bassi +Date: Sat Mar 17 22:55:33 2012 +0000 + + script: Add 'context' to the translatable definitions + + This should cover all the possible options. + + clutter/clutter-script-parser.c | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +commit 837b6cf756f8683a8c69184d32d3ea10e41191b1 +Author: Мирослав Николић +Date: Sat Mar 17 20:45:56 2012 +0100 + + Updated Serbian translation + + po/sr.po | 463 ++++++++++++++++++++++++++++++++++----------------------- + po/sr@latin.po | 463 ++++++++++++++++++++++++++++++++++----------------------- + 2 files changed, 558 insertions(+), 368 deletions(-) + +commit 05f78306d18a5107d194445882cae5afae3eab7f +Author: Emmanuele Bassi +Date: Sat Mar 17 16:49:35 2012 +0000 + + actor: Avoid popping the easing state stack once too many + + If restore_easing_state() is called on the last easing state on the + stack, clean up the stack, so that we don't leave stale pointers + around to later segfault on. + + clutter/clutter-actor.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 229241b8757a0192f2c2ade3f0ce50f311aeea99 +Author: Emmanuele Bassi +Date: Sat Mar 17 16:46:38 2012 +0000 + + actor: Remove the implicit easing state save + + When setting the easing mode, duration, or delay without having ever + called clutter_actor_save_easing_state(). It's confusing, and not + really nice. + + In the future, we'll have a default easing state implicitly created by + the actor itself, but for the time being explicitly opting in is + preferrable. + + clutter/clutter-actor.c | 36 ++++++++++++++++++------------------ + 1 file changed, 18 insertions(+), 18 deletions(-) + +commit b3b1994c132743c7f68f5aec811170ecc51b6c6c +Author: Emmanuele Bassi +Date: Sat Mar 17 16:38:06 2012 +0000 + + Use G_VALUE_INIT instead of { 0, } + + The macro avoids warnings from anal-retentive compilers. + + clutter/clutter-actor.c | 2 +- + clutter/clutter-alpha.c | 4 ++-- + clutter/clutter-animation.c | 12 ++++++------ + clutter/clutter-animator.c | 6 +++--- + clutter/clutter-binding-pool.c | 9 +++++++-- + clutter/clutter-container.c | 4 ++-- + clutter/clutter-interval.c | 6 +++--- + clutter/clutter-layout-manager.c | 4 ++-- + clutter/clutter-list-model.c | 4 ++-- + clutter/clutter-model.c | 4 ++-- + clutter/clutter-script-parser.c | 6 +++--- + clutter/clutter-shader-effect.c | 2 +- + clutter/clutter-state.c | 10 +++++----- + 13 files changed, 39 insertions(+), 34 deletions(-) + +commit be5921e6fb8dc25db8c8da327c07c63d8ca3b2c3 +Author: Aurimas Černius +Date: Sat Mar 17 18:30:43 2012 +0200 + + Updated Lithuanian translation + + po/lt.po | 1096 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 607 insertions(+), 489 deletions(-) + +commit 82bc7285847ef50aae3d4e48907309ec509105ad +Author: Emmanuele Bassi +Date: Sat Mar 17 16:29:09 2012 +0000 + + Add initializer utilities for ClutterVertex + + Similar to what we did for ClutterActorBox. + + clutter/clutter-actor.c | 26 ++++++++++++++++++++++++-- + clutter/clutter-types.h | 20 ++++++++++++++++++++ + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 4 files changed, 47 insertions(+), 2 deletions(-) + +commit 63f3eaab62ddd42af5b0d3511d3930232c496485 +Author: Emmanuele Bassi +Date: Sat Mar 17 16:17:39 2012 +0000 + + actor: Fix set_scale_with_gravity() + + Add a scale-gravity internal setter, and make set_scale_with_gravity() + call it, along with the scale factor. + + clutter/clutter-actor.c | 67 ++++++++++++++++++++++--------------------------- + 1 file changed, 30 insertions(+), 37 deletions(-) + +commit 5e9d6f72577c788c24049d8057f856a0f669fa59 +Author: Emmanuele Bassi +Date: Sat Mar 17 15:27:26 2012 +0000 + + Add some utility initializers to ClutterActorBox + + clutter/clutter-actor-box.c | 58 +++++++++++++++++++++++++++--- + clutter/clutter-types.h | 28 +++++++++++++++ + clutter/clutter.symbols | 2 ++ + doc/reference/clutter/clutter-sections.txt | 3 ++ + 4 files changed, 86 insertions(+), 5 deletions(-) + +commit e1a31bb587b7e5b18d169c2db1c910cf323a9186 +Author: Fran Diéguez +Date: Sat Mar 17 15:04:38 2012 +0100 + + Updated Galician translations + + po/gl.po | 296 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 174 insertions(+), 122 deletions(-) + +commit b6f5609b2f3cc582e499e6d24ed05fe08807592d +Author: Emmanuele Bassi +Date: Fri Mar 16 23:10:28 2012 +0000 + + osx/stage: Synthesize an enter event on show + + If the pointer is inside the window frame when it's shown then we need + to synthesize and emit a NSMouseEnterEvent ourselves, as Quartz won't + do it for us. + + This is a bit of a blind commit - but it's taken from an equivalent + patch that has been verified to work in GDK. + + clutter/osx/clutter-stage-osx.c | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + +commit f7735ff1ad66444ede0fbc8e45447e7e0b4ce895 +Author: Emmanuele Bassi +Date: Fri Mar 16 18:10:34 2012 +0000 + + docs: Change the short description of ClutterActor + + The Actor class is not abstract any more. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e5e10b6a04486f6936265727b099390fd99f2f5a +Author: Emmanuele Bassi +Date: Fri Mar 16 17:30:26 2012 +0000 + + Annotate functionality added in 1.10 + + clutter/clutter-canvas.h | 3 +++ + clutter/clutter-content.h | 3 +++ + clutter/clutter-image.h | 6 ++++++ + clutter/clutter-paint-node.h | 13 +++++++++++++ + clutter/clutter-paint-nodes.h | 10 ++++++++++ + clutter/clutter-property-transition.h | 4 ++++ + clutter/clutter-transition.h | 7 +++++++ + 7 files changed, 46 insertions(+) + +commit 1df14c1bac2c903466d975946a4c29a892ed28c1 +Author: Emmanuele Bassi +Date: Fri Mar 16 16:16:40 2012 +0000 + + Debugging cleanups + + Add some more debugging notes to the layout and paint node output. + + clutter/clutter-actor.c | 51 ++++++++++++++++++++---------------- + clutter/clutter-paint-node-private.h | 2 +- + clutter/clutter-paint-nodes.c | 38 +++++++++++++++++++++++++-- + 3 files changed, 66 insertions(+), 25 deletions(-) + +commit a7714e294ee26f52cabb96694ce871d2dffebe7e +Author: Emmanuele Bassi +Date: Fri Mar 16 16:13:11 2012 +0000 + + actor: Remove an has_allocation() check + + The get_content_box() method should always succeed; if the actor does + not have an allocation, we are just going to return a 0-box. + + clutter/clutter-actor.c | 3 --- + 1 file changed, 3 deletions(-) + +commit de32ba1ddfa73901fea0146ec462754a420659b0 +Author: Emmanuele Bassi +Date: Fri Mar 16 15:05:42 2012 +0000 + + interactive/image-box: Clarify the label contents + + tests/interactive/test-image-box.c | 16 ++++++++++++++-- + 1 file changed, 14 insertions(+), 2 deletions(-) + +commit 800b5b6ef7f45c280347a521c16682b16f051657 +Author: Emmanuele Bassi +Date: Fri Mar 16 14:26:28 2012 +0000 + + actor: Restore a lost queue_relayout() + + It got lost during a rebase conflict resolution. + + clutter/clutter-actor.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 72b202c7ed268ae3f5fe9d8b1a0d3b7a9b646ad5 +Author: Piotr Drąg +Date: Fri Mar 16 15:25:30 2012 +0100 + + Updated Polish translation + + po/pl.po | 296 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 174 insertions(+), 122 deletions(-) + +commit 9ac9fa903a3ff41790ed5442cf5e475b25d68dd5 +Author: Bruce Cowan +Date: Fri Mar 16 14:18:12 2012 +0000 + + Updated British English translation + + po/en_GB.po | 443 ++++++++++++++++++++++++++++++++++++------------------------ + 1 file changed, 264 insertions(+), 179 deletions(-) + +commit 045beaff5a8d31e2a4e42ace9ad811ec1558720f +Author: Piotr Drąg +Date: Fri Mar 16 15:12:38 2012 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit b05717575cf17fec578ce0a4c26de788324ad08a +Author: Nilamdyuti Goswami +Date: Fri Mar 16 19:30:46 2012 +0530 + + Assamese translation updated + + po/as.po | 322 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 189 insertions(+), 133 deletions(-) + +commit cb69be6b97eaa62418d60540b4de532f544e631b +Author: Matej Urbančič +Date: Fri Mar 16 14:58:09 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 307 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 181 insertions(+), 126 deletions(-) + +commit a7b076b7aaba761705ff861aaf70d26e0577efb5 +Author: Daniel Mustieles +Date: Fri Mar 16 14:13:57 2012 +0100 + + Updated Spanish translation + + po/es.po | 310 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 183 insertions(+), 127 deletions(-) + +commit a3007b9847e0ff527c1a11f111c6dfa491378858 +Author: Emmanuele Bassi +Date: Fri Mar 16 12:21:19 2012 +0000 + + build: Remove maintainer flags from cookbook/examples + + The code should be a tad more relaxed. + + doc/cookbook/examples/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cbed0484c01471e06a2302097e6f632d1e427c5b +Author: Emmanuele Bassi +Date: Fri Mar 16 12:19:33 2012 +0000 + + po: Update POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit ae554a5061b64ee7b4d157f91467c19ce74495fa +Author: Emmanuele Bassi +Date: Fri Mar 16 12:05:11 2012 +0000 + + Rename 'bilinear' scaling filter to 'trilinear' + + Yes, it's not really the proper GL name for a linear-on-every-axis of a + texture plus linear-between-mipmap-levels minification filter, but it + has three redeeming qualities as a name: + + - LINEAR_MIPMAP_LINEAR sucks, as it introduces GL concepts like + mipmaps in the API naming, while we're trying to avoid that; + - people using GL already know what 'trilinear' means in this context + without going all Khronos on their asses; + - we're using 2D textures anyway, so 'linear on two axes and linear + between mipmap levels' can be effectively approximated to + 'trilinear'. + + I mean, if even the OpenGL official wiki says: + + Unfortunately, what most people think of as "trilinear" is not linear + filtering of a 3D texture, but what in OpenGL terms is GL_LINEAR mag + filter and GL_LINEAR_MIPMAP_LINEAR in the min filter in a 2D texture. + That is, it is bilinear filtering of each appropriate mipmap level, + and doing a third linear filter between the adjacent mipmap levels. + Hence the term "trilinear". + -- http://www.opengl.org/wiki/Texture + + then the horse has already been flogged to death, and I don't intend to + be accused of necrophilia and sadism by flogging it some more. + + Prior art: every single GL tutorial in the history of ever; + CoreAnimation's scaling filter enumerations. + + If people want to start using 1D or 3D textures they they are probably + going to be using Cogl API directly, and that has the GL naming scheme + for minification and magnification filters anyway. + + clutter/clutter-actor.c | 2 +- + clutter/clutter-enums.h | 7 ++++--- + clutter/clutter-paint-nodes.c | 2 +- + tests/interactive/test-canvas.c | 2 +- + tests/interactive/test-image-box.c | 2 +- + 5 files changed, 8 insertions(+), 7 deletions(-) + +commit b44290c4369e86f8fff19bf4ccbb0cb7a5268cdc +Author: Emmanuele Bassi +Date: Fri Mar 16 12:01:28 2012 +0000 + + docs: Add ClutterActorClass.paint_node() description + + clutter/clutter-actor.h | 2 ++ + 1 file changed, 2 insertions(+) + +commit 8904f7cbe4525d0d458dbb9ad8c011113f13074a +Author: Emmanuele Bassi +Date: Fri Mar 16 11:57:34 2012 +0000 + + paint-nodes: Make part of the API internal + + At least for the time being, we only expose the parts of the API that we + want to use internally and for new, out-of-tree Content implementations. + + The full PaintNode tree API will be made public in 1.12 once we branch + master. + + clutter/clutter-paint-node-private.h | 50 +++++++++++++++++++++++++++++- + clutter/clutter-paint-node.c | 11 ++++++- + clutter/clutter-paint-node.h | 15 --------- + clutter/clutter-paint-nodes.c | 36 +++++++++++---------- + clutter/clutter-paint-nodes.h | 23 -------------- + clutter/clutter.symbols | 11 ------- + doc/reference/clutter/clutter-sections.txt | 18 ----------- + 7 files changed, 78 insertions(+), 86 deletions(-) + +commit 74f5bbe5aa7a6a577666a672fd2b67b046c284a0 +Author: Emmanuele Bassi +Date: Thu Mar 15 19:08:20 2012 +0000 + + docs: Fixes for ClutterImage's API reference + + clutter/clutter-image.c | 2 ++ + doc/reference/clutter/clutter-docs.xml.in | 1 + + 2 files changed, 3 insertions(+) + +commit d123e4b701a458b8674bd5f3dca20de8dc70f017 +Author: Emmanuele Bassi +Date: Thu Mar 15 19:02:39 2012 +0000 + + Update release notes + + README.in | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 0a2ee1709b644cbead9a4540950e7a0d34ae1861 +Author: Emmanuele Bassi +Date: Thu Mar 15 18:26:42 2012 +0000 + + docs: Fixes for the API reference + + clutter/clutter-image.h | 16 ++++++++++++++++ + doc/reference/clutter/clutter-sections.txt | 16 +++++++--------- + 2 files changed, 23 insertions(+), 9 deletions(-) + +commit 90784a025af679a9c40c14ee90549dea4929497d +Author: Emmanuele Bassi +Date: Tue Mar 13 17:19:15 2012 +0000 + + interactive/image-box: Remove unneeded stuff + + tests/interactive/test-image-box.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 10e2f551f5d7a3f67b1481fefd673fef5da9a11e +Author: Emmanuele Bassi +Date: Mon Mar 12 16:19:08 2012 +0000 + + actor: Unconditionally emit ::paint + + It's a bit late in the game for changing the emission of the paint + signal with actors that use paint nodes - mostly because we have both + implicit paint nodes (background color, content) and explicit paint + nodes (the paint_node virtual). + + When we branch for 1.12 we can revert this change. + + clutter/clutter-actor.c | 14 +++++++++++--- + tests/conform/test-conform-main.c | 2 +- + 2 files changed, 12 insertions(+), 4 deletions(-) + +commit d1fd53b29d7761e79b77c64c4b15dd339b1a3a84 +Author: Emmanuele Bassi +Date: Mon Mar 12 16:07:55 2012 +0000 + + po: Update POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit 5432775eff1b8cacc895d8511b90c51cb441cddd +Author: Emmanuele Bassi +Date: Mon Mar 12 15:52:55 2012 +0000 + + paint-node: Make texture template pipeline clamp to edge + + It's safer, and consistent with the rest of Clutter, to make sure that + the template pipeline we use for ClutterTextureNode has its wrap mode + set to clamp-to-edge. + + clutter/clutter-paint-nodes.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 75e6560160034ac831965aa7870d710fc558641a +Author: Emmanuele Bassi +Date: Mon Mar 12 15:46:34 2012 +0000 + + image: Add set_area() method + + This method allows replacing an area inside the texture data used by a + ClutterImage. + + clutter/clutter-image.c | 92 ++++++++++++++++++++++++++++++ + clutter/clutter-image.h | 22 ++++--- + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 108 insertions(+), 8 deletions(-) + +commit 2be850f441f0c2da4df3b843b432472a8565d3ec +Author: Emmanuele Bassi +Date: Mon Mar 12 15:25:38 2012 +0000 + + image: Add get_texture() + + Allow retrieving the Cogl texture used by the ClutterImage. + + clutter/clutter-image.c | 25 +++++++++++++++++++++++++ + clutter/clutter-image.h | 4 ++++ + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 31 insertions(+) + +commit 9845ce9d89655882a19b3079d76397fbcd35e677 +Author: Emmanuele Bassi +Date: Fri Mar 9 16:26:44 2012 +0000 + + actor: Fix RESIZE_ASPECT mode for the content box + + clutter/clutter-actor.c | 58 ++++++++++++++++++++++++++++---------- + tests/interactive/test-image-box.c | 20 +++++++++---- + 2 files changed, 58 insertions(+), 20 deletions(-) + +commit b6403b01a14677d0ec88928f292aa1aa08b39283 +Author: Emmanuele Bassi +Date: Fri Mar 9 17:11:19 2012 +0000 + + Documentation fixes + + clutter/clutter-actor.c | 19 +++++++++----- + clutter/clutter-enums.h | 12 +++++++++ + clutter/clutter-image.c | 40 ++++++++++++++++++++++++++++-- + doc/reference/clutter/clutter-sections.txt | 20 +++++++++++++++ + 4 files changed, 83 insertions(+), 8 deletions(-) + +commit 1b4bfb04e5dc5f0a173b18d7c54b4d111f298604 +Author: Emmanuele Bassi +Date: Fri Mar 9 16:26:34 2012 +0000 + + interactive/image-box: Add a pure Image test, suitable for docs + + tests/interactive/Makefile.am | 4 +- + tests/interactive/test-image-box.c | 100 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 103 insertions(+), 1 deletion(-) + +commit 6c181b96e9f0699aea33fc27aa0e31819be7d326 +Author: Emmanuele Bassi +Date: Fri Mar 9 14:58:17 2012 +0000 + + interactive/image: Test ClutterImage + + Load up the image content using a GdkPixbuf; this means that the test is + not compiled when --disable-gdk-pixbuf is passed. + + tests/interactive/Makefile.am | 8 +- + tests/interactive/test-image.c | 252 +++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 258 insertions(+), 2 deletions(-) + +commit 6cb94b2de2b6fb575770123b276dfed556296a45 +Author: Emmanuele Bassi +Date: Fri Mar 9 14:56:58 2012 +0000 + + build: Check for gdk-pixbuf + + Some tests may need to load image data without going through + ClutterTexture or Cogl, so let's add a configure switch and a + conditional for gdk-pibxuf. + + configure.ac | 29 ++++++++++++++++++++++++++++- + 1 file changed, 28 insertions(+), 1 deletion(-) + +commit f90330867e2677394283bc6c6a3a30b9252b5f13 +Author: Emmanuele Bassi +Date: Thu Mar 8 17:37:00 2012 +0000 + + Update clutter.symbols + + clutter/clutter.symbols | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 51 insertions(+) + +commit 23fad8589ca67696ef5328ff1c7c5a3cb28bc296 +Author: Emmanuele Bassi +Date: Thu Mar 8 17:19:58 2012 +0000 + + interactive/canvas: Set the scaling filters + + tests/interactive/test-canvas.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit fb106ece058ee43673f425b997e34886540ac751 +Author: Emmanuele Bassi +Date: Thu Mar 8 17:19:12 2012 +0000 + + Use the content scaling filters + + Both ClutterCanvas and ClutterImage should use the minification and + magnification filters set on the actor, just like the use the content + box and the paint opacity. + + clutter/clutter-canvas.c | 4 ++- + clutter/clutter-image.c | 4 ++- + clutter/clutter-paint-nodes.c | 58 +++++++++++++++++++++++++++++-------------- + clutter/clutter-paint-nodes.h | 4 ++- + 4 files changed, 49 insertions(+), 21 deletions(-) + +commit 77729c73624537021da731250a82937a8216a995 +Author: Emmanuele Bassi +Date: Thu Mar 8 17:18:17 2012 +0000 + + actor: Add minification/magnification filters + + These settings are informative, and will only be used by the eventual + content of an actor. + + clutter/clutter-actor.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 8 ++++ + clutter/clutter-enums.h | 6 +++ + 3 files changed, 133 insertions(+), 1 deletion(-) + +commit cadae5b3257b5f3c1455554036bd85e04e5dc399 +Author: Emmanuele Bassi +Date: Thu Mar 8 16:38:45 2012 +0000 + + Add ClutterImage, and image data content + + clutter/Makefile.am | 2 + + clutter/clutter-image.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-image.h | 101 +++++++++++++++++++++++++ + clutter/clutter.h | 1 + + 4 files changed, 294 insertions(+) + +commit f2b9c17a78d539dafbab2ad4922b22bb1978fd30 +Author: Emmanuele Bassi +Date: Thu Mar 8 16:38:30 2012 +0000 + + canvas: Fix single header inclusion guard + + clutter/clutter-canvas.h | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 0eeb61f3a890dbed51fa8d82c016572f5d3442b7 +Author: Emmanuele Bassi +Date: Thu Mar 8 15:47:16 2012 +0000 + + canvas: Add canvas size to the ::draw signal + + Instead of requiring a call to clutter_content_get_preferred_size(), we + can simply pass the canvas size to the Canvas::draw signal. + + clutter/clutter-canvas.c | 24 +++++++++++++++--------- + clutter/clutter-canvas.h | 4 +++- + clutter/clutter-content.c | 4 ++-- + clutter/clutter-marshal.list | 1 + + tests/interactive/test-canvas.c | 11 ++++++----- + 5 files changed, 27 insertions(+), 17 deletions(-) + +commit 07bb35bbe38392e46f92ad17049893ef752f5c55 +Author: Emmanuele Bassi +Date: Thu Mar 8 10:31:21 2012 +0000 + + Add ClutterCanvas, a drawing content + + clutter/Makefile.am | 2 + + clutter/clutter-cairo-texture.h | 20 -- + clutter/clutter-canvas.c | 507 +++++++++++++++++++++++++++++ + clutter/clutter-canvas.h | 91 ++++++ + clutter/clutter-macros.h | 20 ++ + clutter/clutter.h | 1 + + clutter/clutter.symbols | 3 + + doc/reference/clutter/clutter-docs.xml.in | 6 + + doc/reference/clutter/clutter-sections.txt | 17 + + doc/reference/clutter/clutter.types | 1 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-canvas.c | 135 ++++++++ + 12 files changed, 785 insertions(+), 21 deletions(-) + +commit e2f1153c462d955dbbab8bc981dc2fc77cae1cde +Author: Emmanuele Bassi +Date: Thu Mar 8 14:06:20 2012 +0000 + + paint-node: Remove redundant declarations + + clutter/clutter-paint-node.c | 2 ++ + clutter/clutter-paint-nodes.c | 6 ------ + 2 files changed, 2 insertions(+), 6 deletions(-) + +commit 546a14ec3b7e17d51537ac19d83c1d7a86366fa5 +Author: Emmanuele Bassi +Date: Thu Mar 8 14:05:48 2012 +0000 + + content: Make get_preferred_size() public + + clutter/clutter-actor.c | 9 ++++++--- + clutter/clutter-content-private.h | 4 ---- + clutter/clutter-content.c | 14 +++++++++----- + clutter/clutter-content.h | 3 +++ + 4 files changed, 18 insertions(+), 12 deletions(-) + +commit 74765404dd93feeb3d0fde70a102f9fc843f293e +Author: Emmanuele Bassi +Date: Mon Mar 5 19:02:16 2012 +0000 + + conform: Skip actor-offscreen-redirect + + Until we figure out a way to make it succeed even without the paint + signal emission. + + tests/conform/test-conform-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 485b720a543002c2d1344452fb6d2de6ec418303 +Author: Emmanuele Bassi +Date: Mon Mar 5 19:01:30 2012 +0000 + + conform/text-cache: Use the stage paint signal + + The stage's paint signal is guaranteed to be emitted; ClutterText's + paint signal is not. + + tests/conform/text-cache.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit e54ee64380fa186b59538327c49dbcf6f7efd7a8 +Author: Emmanuele Bassi +Date: Mon Mar 5 18:32:16 2012 +0000 + + actor: Make paint_node() and ::paint mutually exclusive + + The ::paint signal is the old way to paint an actor; the paint_node() + virtual function is the new way. It's still not possible to traverse the + whole scene graph and build a render tree of PaintNode instances, but + with this change we simultaneously cut out the ::paint signal emission + from the critical path for actors that are using the new PaintNode-based + API, and we retain backward compatibility in the interim period between + 1.10 and 2.0. + + clutter/clutter-actor.c | 96 ++++++++++++++++++++++++++++--------------------- + 1 file changed, 56 insertions(+), 40 deletions(-) + +commit a58be8aad15b0248578de11405832b23332a7d99 +Author: Emmanuele Bassi +Date: Mon Mar 5 18:32:02 2012 +0000 + + paint-nodes: Fix compiler warning + + clutter/clutter-paint-nodes.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ff7eb6c0a9b1920678bac45de039331c71f553c1 +Author: Emmanuele Bassi +Date: Mon Feb 20 10:09:58 2012 +0000 + + interactive/content: Define the size of the text geometry + + So that Clutter can decide whether or not to clip the text properly. + + tests/interactive/test-content.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 51cca132e0d91a5cc9db8407d8eee42992acd1e6 +Author: Emmanuele Bassi +Date: Mon Feb 20 10:09:05 2012 +0000 + + paint-nodes: Use logical extents for the TextNode::draw + + When we decide if we ought to clip, we should use the logical extents of + the PangoLayout, just like we do for ClutterText. + + clutter/clutter-paint-nodes.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit fa77274e808e84f83f856e0d0a5ab997eb091d25 +Author: Emmanuele Bassi +Date: Sat Feb 4 12:58:40 2012 +0000 + + content: Turn attached and detached into signals + + The attached and detached virtual functions are now informative, and not + normative - which means it's a good idea to provide them as signals. + + clutter/clutter-content.c | 54 +++++++++++++++++++++++++++++++++++++++++++++-- + 1 file changed, 52 insertions(+), 2 deletions(-) + +commit 2f0d29ad75f7d616e4d368d6da758d4b6b72c376 +Author: Emmanuele Bassi +Date: Sat Feb 4 12:49:49 2012 +0000 + + content: Make vfuncs optional + + The virtual functions on the ClutterContent interface should provide + hooks for application code, not be the actual implementation. + + clutter/clutter-content.c | 83 ++++++++++++++++++++++++----------------------- + clutter/clutter-content.h | 11 +++---- + 2 files changed, 47 insertions(+), 47 deletions(-) + +commit f4d8fb054a911aaa69aef9fa40ff4fec4e385b4c +Author: Emmanuele Bassi +Date: Fri Feb 3 13:51:29 2012 +0000 + + paint-node: Use JSON-GLib for debug serialization + + Instead of our homegrown string building; this at least ensures that + we're generating proper data, instead of random strings. Plus, using + JsonNode and JsonBuilder, we can ask the PaintNode subclasses to + serialize themselves in a sensible way. + + clutter/clutter-paint-node-private.h | 3 + + clutter/clutter-paint-node.c | 201 ++++++++++++++++------------------- + clutter/clutter-paint-nodes.c | 83 +++++++++++++++ + 3 files changed, 175 insertions(+), 112 deletions(-) + +commit 2ee58519709eff8fd24b4a378f143f8377b8143b +Author: Emmanuele Bassi +Date: Thu Feb 2 14:51:17 2012 +0000 + + docs: Update the API reference + + Add all the new symbols. + + clutter/clutter-content.c | 2 +- + doc/reference/clutter/Makefile.am | 1 + + doc/reference/clutter/clutter-docs.xml.in | 10 ++ + doc/reference/clutter/clutter-sections.txt | 266 +++++++++++++++++++++-------- + doc/reference/clutter/clutter.types | 2 + + 5 files changed, 205 insertions(+), 76 deletions(-) + +commit 6cddd697475cfd0610622b21a970f7c755968b0f +Author: Emmanuele Bassi +Date: Wed Feb 1 19:26:15 2012 +0000 + + docs: Update documentation on the paint sequence + + clutter/clutter-actor.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 77 insertions(+) + +commit be4746b15f339c7959ff5a3df94b8f289c274ab3 +Author: Emmanuele Bassi +Date: Wed Feb 1 18:33:55 2012 +0000 + + Add ClutterContent + + ClutterContent is an interface for creating delegate objects that handle + what an actor is going to paint. + + Since they are a newly added type, they only hook into the new PaintNode + based API. + + The position and size of the content is controlled in part by the + content's own preferred size, and by the ClutterContentGravity + enumeration. + + clutter/Makefile.am | 3 + + clutter/clutter-actor.c | 417 +++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 15 ++ + clutter/clutter-content-private.h | 47 +++++ + clutter/clutter-content.c | 248 +++++++++++++++++++++++ + clutter/clutter-content.h | 100 +++++++++ + clutter/clutter-enums.h | 36 ++++ + clutter/clutter-types.h | 1 + + clutter/clutter.h | 1 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-content.c | 223 ++++++++++++++++++++ + 11 files changed, 1091 insertions(+), 3 deletions(-) + +commit 6f0782e0a41deb34e8eeedd492d33f1efa8b3a90 +Author: Emmanuele Bassi +Date: Wed Feb 1 17:47:15 2012 +0000 + + actor: Add paint_node virtual function + + The ::paint-node virtual inside ClutterActor is what we want people to + use when painting their actors. + + Right now, it's a new code path, that gets called while painting; the + paint_node() implementation should only paint the actor itself, and not + its children — they will get their own paint_node() called when needed. + + Internally, ClutterActor will automatically create a dummy PaintNode and + paint the background color; then control will be handed out to the + implementation on the class. This is required to maintain compatibility + with the old ::paint signal emission. + + Once we are able to get rid of the paint (and pick) sequences, we'll + switch to a fully retained render tree. + + clutter/clutter-actor.c | 69 ++++++++++++++++++++++++++++++++++++++----------- + clutter/clutter-actor.h | 7 +++-- + 2 files changed, 59 insertions(+), 17 deletions(-) + +commit b83dc6abfaed4ac16af2cad412d6382f5b0aa427 +Author: Emmanuele Bassi +Date: Wed Feb 1 15:51:27 2012 +0000 + + Add PaintNode, an element on the render object tree + + Now that we have a proper scene graph API, we should split out the + rendering part from the logical and event handling part. + + ClutterPaintNode is a lightweight fundamental type that encodes only the + paint operations: pipeline state and geometry. At its most simple, is a + way to structure setting up the programmable pipeline using a + CoglPipeline, and submitting Cogl primitives. The important take away + from this API is that you are not allowed to call Cogl API like + cogl_set_source() or cogl_primitive_draw() directly. + + The interesting approach to this is that, in the future, we should be + able to move to a purely retained mode: we will decide which actors need + to be painted, they will update their own branch of the render graph, + and we'll take the render graph and build all the rendering commands + from that. + + For the 1.x API, we will have to maintain invariants and the existing + behaviour, but as soon as we can break API, the old paint signal will + just go away, and Actors will only be allowed to manipulate the render + tree. + + clutter/Makefile.am | 5 + + clutter/clutter-paint-node-private.h | 115 ++++ + clutter/clutter-paint-node.c | 1137 ++++++++++++++++++++++++++++++++++ + clutter/clutter-paint-node.h | 95 +++ + clutter/clutter-paint-nodes.c | 1124 +++++++++++++++++++++++++++++++++ + clutter/clutter-paint-nodes.h | 161 +++++ + clutter/clutter-types.h | 1 + + clutter/clutter.h | 2 + + 8 files changed, 2640 insertions(+) + +commit 696017edf25bb2ae4c92cacb699e0c784cfc115d +Author: Daniel Mustieles +Date: Fri Mar 16 13:04:34 2012 +0100 + + Updated Spanish translation + + po/es.po | 394 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 214 insertions(+), 180 deletions(-) + +commit 0316dfc21303037843d9c1b9d0408dc06edb36b8 +Author: Nilamdyuti Goswami +Date: Fri Mar 16 12:54:23 2012 +0530 + + Assamese translation updated + + po/as.po | 396 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 215 insertions(+), 181 deletions(-) + +commit 024ebfc0cfd3eabe7c1d2793600e79f355877f15 +Author: Fran Diéguez +Date: Fri Mar 16 01:56:03 2012 +0100 + + Updated Galician translations + + po/gl.po | 388 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 210 insertions(+), 178 deletions(-) + +commit 291ec65a535fb4b4f883347e0fe4b5f325611185 +Author: Matej Urbančič +Date: Thu Mar 15 21:57:19 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 390 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 210 insertions(+), 180 deletions(-) + +commit d56feaa523b1d5c03842bf437c0a39c11dba6a7c +Author: Piotr Drąg +Date: Thu Mar 15 20:53:33 2012 +0100 + + Updated Polish translation + + po/pl.po | 280 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 156 insertions(+), 124 deletions(-) + +commit bbb6f09bcf5e4dd4377b3f9e5f24fc4fa5ec9551 +Author: Piotr Drąg +Date: Thu Mar 15 20:47:06 2012 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 2 ++ + 1 file changed, 2 insertions(+) + +commit cbcc84022e3174e8cb3f0d08f93900666be8116d +Author: Emmanuele Bassi +Date: Thu Mar 15 17:51:22 2012 +0000 + + animator: Fix NULL check + + clutter/clutter-animator.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fa9be0ba738d16a0b2330ad329c2484c357be70b +Author: Emmanuele Bassi +Date: Thu Mar 15 17:42:42 2012 +0000 + + interactive/texture-async: Use implicit animations + + tests/interactive/test-texture-async.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit 7f1f9a50c1a631894f4292773ef135421fc7a65b +Author: Emmanuele Bassi +Date: Thu Mar 15 17:41:28 2012 +0000 + + actor: Remove G_SIGNAL_NO_RECURSE + + As it turns out, we do end up recursing inside the ::paint signal + emission - especially inside the conformance test suite. + + This thoroughly sucks - and we'll only be able to fix it properly + when we bump API for 2.0. + + clutter/clutter-actor.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 6a8d67a8ad292d68f9cf59467cf92bf4e7b49abe +Author: Emmanuele Bassi +Date: Thu Mar 15 17:32:53 2012 +0000 + + I should compile the changes I make + + clutter/clutter-actor.c | 1 + + 1 file changed, 1 insertion(+) + +commit 5e652b91d65f2daa3c9bb88ec4d2fdfe9e71ac4f +Author: Emmanuele Bassi +Date: Thu Mar 15 17:31:36 2012 +0000 + + actor: Fix get_transition() method + + We now store a closure, not directly a ClutterTransition instance. + + clutter/clutter-actor.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 9e1ec8283894e4f4b354381cd989ab4c0df56af6 +Author: Emmanuele Bassi +Date: Thu Mar 15 16:57:18 2012 +0000 + + doc: Reference fixes + + clutter/clutter-actor.c | 2 +- + doc/reference/clutter/clutter-sections.txt | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +commit 0cf9ad82c4c8b9d4c1b6b1d6f9206303a43b3534 +Author: Emmanuele Bassi +Date: Thu Mar 15 16:53:19 2012 +0000 + + symbols: Update + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit 4bd3583dbf59d1882d2b7704d6a1416176df80d6 +Author: Emmanuele Bassi +Date: Thu Mar 15 16:40:41 2012 +0000 + + actor: Add generic transition support + + ClutterActor should be able to hold all transitions, even the ones that + have been explicitly created. + + This will allow to add new transitions types in the future, like the + keyframe-based one, or the transition group. + + clutter/clutter-actor.c | 187 ++++++++++++++++++++++++----- + clutter/clutter-actor.h | 18 +++ + clutter/clutter.symbols | 3 + + doc/reference/clutter/clutter-sections.txt | 3 + + 4 files changed, 179 insertions(+), 32 deletions(-) + +commit 3638c1efed449a07fb7e6d052ce4110db4b4feeb +Author: Emmanuele Bassi +Date: Thu Mar 15 13:53:56 2012 +0000 + + transition: Clear the animatable member when removing on complete + + clutter/clutter-transition.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 514466601e93421fad985975c7a1938452a60188 +Author: Emmanuele Bassi +Date: Thu Mar 15 13:52:09 2012 +0000 + + transition: Check the repeat count to remove on complete + + We can now ask the timeline for the current repeat, and if it's the last + one, then we can safely detach the transition from the animatable + instance. + + clutter/clutter-transition.c | 17 ++++++++++++----- + 1 file changed, 12 insertions(+), 5 deletions(-) + +commit 388f818f419b9aa745ca1d6ad6bd300c4b859df7 +Author: Emmanuele Bassi +Date: Thu Mar 15 13:50:28 2012 +0000 + + timeline: Add more state accessors + + It should be possible to ask a timeline what is its duration, taking + into account eventual repeats, and which repeat is the one currently + in progress. + + These two functions allow writing animations that depend on the current + state of another timeline. + + clutter/clutter-timeline.c | 54 ++++++++++++++++++++++++++++++ + clutter/clutter-timeline.h | 5 +++ + clutter/clutter.symbols | 2 ++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + 4 files changed, 63 insertions(+) + +commit 1511e588df3366034de9115741e23b5d43923ab2 +Author: Emmanuele Bassi +Date: Thu Mar 15 12:24:02 2012 +0000 + + actor: Add delay to the easing state + + It should be possible to set up the delay of a transition, but since + we start the Transition instance before returning control to the caller, + we cannot use clutter_actor_get_transition() to do it without something + extra-awkward, like: + + transition = clutter_actor_get_transition (actor, "width"); + clutter_timeline_stop (transition); + clutter_timeline_set_delay (transition, 1000); + clutter_timeline_start (transition); + + for each property involved. It's much easier to add a delay to the + easing state of an actor. + + clutter/clutter-actor-private.h | 1 + + clutter/clutter-actor.c | 60 ++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 3 ++ + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 11 ++++++ + 5 files changed, 77 insertions(+) + +commit 303ebaea88778d8b184b2a63572d4a0eb323318a +Author: Emmanuele Bassi +Date: Thu Mar 15 11:25:52 2012 +0000 + + interactive/bin-layout: Use implicit animations + + tests/interactive/test-bin-layout.c | 26 ++++++++++---------------- + 1 file changed, 10 insertions(+), 16 deletions(-) + +commit 389ee457472ed9e32bb78fed3ae9b2b5c2dc4585 +Author: Emmanuele Bassi +Date: Thu Mar 15 11:25:26 2012 +0000 + + interactive/actor: Do not use clutter_actor_animate() + + Use implicit animations instead. + + tests/interactive/test-actor.c | 59 +++++++++++++++++++++++------------------- + 1 file changed, 33 insertions(+), 26 deletions(-) + +commit cb8dea0379d3d2fc8a7df0962eaadff8b245d5ad +Author: Emmanuele Bassi +Date: Thu Mar 15 11:24:46 2012 +0000 + + interactive/transitions: An easing demo without animate() + + Use the newly added implicit animations support in ClutterActor. + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-transitions.c | 225 +++++++++++++++++++++++++++++++++++ + 2 files changed, 227 insertions(+), 1 deletion(-) + +commit 043cf6b284d970fdf1555d95056d08b7e8a2900e +Author: Emmanuele Bassi +Date: Thu Mar 15 11:24:27 2012 +0000 + + docs: Update the API reference + + doc/reference/clutter/clutter-docs.xml.in | 2 ++ + doc/reference/clutter/clutter-sections.txt | 41 ++++++++++++++++++++++++++++++ + doc/reference/clutter/clutter.types | 2 ++ + 3 files changed, 45 insertions(+) + +commit dda4db378c39dd50e41afd16c1a6697150b85395 +Author: Emmanuele Bassi +Date: Thu Mar 15 11:24:07 2012 +0000 + + symbols: Update + + clutter/clutter.symbols | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +commit 67113ed690bed69fe182f675d0951bf21047e026 +Author: Emmanuele Bassi +Date: Thu Mar 15 11:09:11 2012 +0000 + + actor: Implement implicit animatable properties + + Clutter is meant to be, and I quote from the README, a toolkit: + + for creating fast, compelling, portable, and dynamic graphical + user interfaces + + and yet the default mode of operation for setting an actor's state on + the scene graph (position, size, opacity, rotation, scaling, depth, + etc.) is *not* dynamic. We assume a static UI, and then animate it. + + This is the wrong way to design an API for a toolkit meant to be used to + create animated user interfaces. The default mode of operation should be + to implicitly animate every state transition, and only allow skipping + the animation if the user consciously decides to do so — i.e. the design + tenet of the API should be to make The Right Thing™ by default, and make + it really hard (or even impossible) to do The Wrong Thing™. + + So we should identify "animatable" properties, i.e. those properties + that should be implicitly animated by ClutterActor, and use the + animation framework we provide to tween the transitions between the + current state and the desired state; the implicit animation should + happen when setting these properties using the public accessors, and not + through some added functionality. For instance, the following: + + clutter_actor_set_position (actor, newX, newY); + + should not make the actor jump to the (newX, newY) point; it should + tween the actor's position between the current point and the desired + point. + + Since we have to maintain backward compatibility with existing + applications, we still need to mark the transitions explicitly, but we + can be smart about it, and treat transition states as a stack that can + be pushed and popped, e.g.: + + clutter_actor_save_easing_state (actor); + + clutter_actor_set_easing_duration (actor, 500); + clutter_actor_set_position (actor, newX, newY); + clutter_actor_set_opacity (actor, newOpacity); + + clutter_actor_restore_easing_state (actor); + + And we can even start stacking animations, e.g.: + + clutter_actor_save_easing_state (actor); + + clutter_actor_set_easing_duration (actor, 500); + clutter_actor_set_position (actor, newX, newY); + + clutter_actor_save_easing_state (actor); + + clutter_actor_set_easing_duration (actor, 500); + clutter_actor_set_easing_mode (actor, CLUTTER_LINEAR); + clutter_actor_set_opacity (actor, newOpacity); + clutter_actor_set_depth (actor, newDepth); + + clutter_actor_restore_easing_state (actor); + + clutter_actor_restore_easing_state (actor); + + And so on, and so forth. + + The implementation takes advantage of the newly added Transition API, + which uses only ClutterTimeline sub-classes and ClutterInterval, to cut + down the amount of signal emissions and memory management of object + instances; as well of using the ClutterAnimatable interface for custom + properties and interpolation of values. + + clutter/clutter-actor-private.h | 29 + + clutter/clutter-actor.c | 1242 +++++++++++++++++++++++++++++++++++---- + clutter/clutter-actor.h | 12 + + clutter/clutter-private.h | 2 + + 4 files changed, 1167 insertions(+), 118 deletions(-) + +commit 40bcbf9c0d5db711b2bce47459cca40e2cf27266 +Author: Emmanuele Bassi +Date: Thu Mar 15 11:06:00 2012 +0000 + + Add ClutterPropertyTransition + + ClutterPropertyTransition is a ClutterTransition that animates a + property of a ClutterAnimatable implementation. + + clutter/Makefile.am | 2 + + clutter/clutter-property-transition.c | 291 ++++++++++++++++++++++++++++++++++ + clutter/clutter-property-transition.h | 88 ++++++++++ + clutter/clutter.h | 1 + + 4 files changed, 382 insertions(+) + +commit 0c8443f71a49b72fcea68e14cb30f6d381fdbc78 +Author: Emmanuele Bassi +Date: Thu Mar 15 11:04:31 2012 +0000 + + Add ClutterTransition + + ClutterTransition is a Timeline sub-class that allows interpolation of a + value between the initial and final states held by a ClutterInterval. + + clutter/Makefile.am | 4 +- + clutter/clutter-transition.c | 451 +++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-transition.h | 110 +++++++++++ + clutter/clutter.h | 1 + + 4 files changed, 565 insertions(+), 1 deletion(-) + +commit e546d28771e4c001f9451efa04dae2226237c032 +Author: Emmanuele Bassi +Date: Thu Mar 15 11:08:38 2012 +0000 + + types: Declare new Transition classes + + clutter/clutter-types.h | 2 ++ + 1 file changed, 2 insertions(+) + +commit beb91d76763b3b3aede1be1da8bc3c1f8184ed8a +Author: Emmanuele Bassi +Date: Thu Mar 15 11:02:30 2012 +0000 + + interval: Add variadic arguments for initial/final setters + + As a convenience for the C API. + + Language bindings should already be using the GValue variants. + + This commit also moves the custom progress functions out of the + clutter-interval.c, as they are meant to be generic interpolation + functions and not ClutterInterval-specific. + + clutter/clutter-interval.c | 277 ++++++++++++++++++++++----------------------- + clutter/clutter-interval.h | 33 +----- + clutter/clutter-private.h | 7 ++ + clutter/clutter-types.h | 28 +++++ + clutter/clutter-util.c | 148 ++++++++++++++++++++++++ + 5 files changed, 322 insertions(+), 171 deletions(-) + +commit 06314e9ed8d85fc8fcebc418278b60f7a18c133c +Author: Emmanuele Bassi +Date: Thu Mar 15 17:00:38 2012 +0000 + + docs: Update reference symbols + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 8e48afd06644b9e258ea12ef76569d545686adfe +Author: Chun-wei Fan +Date: Thu Mar 15 16:55:55 2012 +0800 + + Fix "install" paths in VS 2010 property sheets + + build/win32/vs10/clutter.props | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 708d385866645a9c7d6b90d477aff7b693879bb2 +Author: Emmanuele Bassi +Date: Wed Mar 14 11:33:55 2012 +0000 + + actor: Annotate signals to enable some optimization + + The ::paint, ::queue-redraw, and ::queue-relayout signals should be + marked as no-recurse and no-hooks; these signals are emitted *a lot* + during each frame, and since GLib has a bunch of optimizations for + signals with no closures, we should try and squeeze every single CPU + cycle we can. + + clutter/clutter-actor.c | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +commit 5d26aeca34c83589cac6be0d7754316e16d045fd +Author: Stefano Facchini +Date: Tue Mar 13 18:22:19 2012 +0100 + + Install clutter-version.h + + clutter/Makefile.am | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit c4de95f27557f729a09e2ed9a86022d0b98229f2 +Author: Chun-wei Fan +Date: Mon Mar 5 10:32:44 2012 +0800 + + Dist clutter-version.h + + Dist clutter-version.h for use under non-autotools-based build + environments (e.g. MSVC) as this header is now generic under the + systems Clutter supports + + Checked with Emmanuele Bassi on IRC. + + clutter/Makefile.am | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 53e16b6019e49dd0c24d5f05187648ef2abfa6b7 +Author: Chun-wei Fan +Date: Thu Mar 8 17:11:35 2012 +0800 + + clutter-master-clock.c: Set frame_budget conditionally + + The frame_budget member of ClutterMasterClock is only enabled when + CLUTTER_ENABLE_DEBUG is enabled, so fix the build with this. + + Checked with Emmanuele Bassi on IRC. + + clutter/clutter-master-clock.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit eaecd1efef6abbf6d344a56f1e02fda95c8ffd5a +Author: Kenneth Nielsen +Date: Tue Mar 13 09:08:31 2012 +0100 + + Updated Danish translation + + po/da.po | 886 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 460 insertions(+), 426 deletions(-) + +commit 80b4e7513273b38efbda187954a1773676c59490 +Author: Antonio Fernandes C. Neto +Date: Fri Mar 9 10:29:33 2012 -0300 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 758 +++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 393 insertions(+), 365 deletions(-) + +commit 945caff989ab30598ebd74c0d19c9bbdcf6a71c1 +Author: Emmanuele Bassi +Date: Mon Mar 12 14:23:35 2012 +0000 + + Bump up the GDK dependency + + Commit ac6ce79aa389982c3e7113f6192f492a6e21b4b1 introduced a dependency + on the latest GDK symbols, so we need to bump up the required version of + GDK. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ac6ce79aa389982c3e7113f6192f492a6e21b4b1 +Author: Stefano Facchini +Date: Sat Mar 10 16:39:16 2012 +0100 + + gdk: add new device types (GDK_SOURCE_TOUCHSCREEN, GDK_SOURCE_TOUCHPAD) + + https://bugzilla.gnome.org/show_bug.cgi?id=671779 + + clutter/gdk/clutter-input-device-gdk.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 440c47e9410532df8ba70cc84ab65dffee4c02d5 +Author: ManojKumar Giri +Date: Mon Mar 12 17:44:54 2012 +0530 + + Updated Odia Translation + + po/or.po | 1774 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1011 insertions(+), 763 deletions(-) + +commit a3be0e091986b8b027dea25970f5dfff1fa4c0df +Author: Timo Jyrinki +Date: Mon Mar 12 11:29:54 2012 +0200 + + Add partial Finnish translation + + po/fi.po | 2323 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2323 insertions(+) + +commit 66d1e311d698072b6d3af8c64325951c59071262 +Author: Yuri Myasoedov +Date: Sun Mar 11 23:36:53 2012 +0400 + + Updated Russian translation + + po/ru.po | 1915 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1074 insertions(+), 841 deletions(-) + +commit 9707822eba76583abe35a71d3ffe3ddc4d92ba50 +Author: Мирослав Николић +Date: Sat Mar 10 23:07:27 2012 +0100 + + Updated Serbian translation + + po/sr.po | 783 +++++++++++++++++++++++++++++---------------------------- + po/sr@latin.po | 783 +++++++++++++++++++++++++++++---------------------------- + 2 files changed, 810 insertions(+), 756 deletions(-) + +commit 1ee842116ab44f488b9003ee5ca89631f14bd547 +Author: Khoem Sokhem +Date: Sat Mar 10 13:53:53 2012 +0100 + + Add initial Khmer translation + + po/km.po | 2276 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2276 insertions(+) + +commit 8216d961e710c3d32bd72ec8a4914116c0c15e85 +Author: Gil Forcada +Date: Sat Mar 10 13:44:09 2012 +0100 + + Updated Catalan translation + + po/ca.po | 1614 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 912 insertions(+), 702 deletions(-) + +commit 639a82ed01796f181c7a22e197d4087a5dbd73a0 +Author: Ihar Hrachyshka +Date: Fri Mar 9 21:55:55 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 30 +++++++++++++++++++++++------- + 1 file changed, 23 insertions(+), 7 deletions(-) + +commit ffc8fd2455301e0c5423a25fdcf235896d985825 +Author: Piotr Drąg +Date: Fri Mar 9 19:09:40 2012 +0100 + + Updated Polish translation + + po/pl.po | 1717 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 967 insertions(+), 750 deletions(-) + +commit 52b1d7186c4004d52ff652ddb5ed7443b343be7a +Author: Florian Müllner +Date: Fri Mar 9 16:17:52 2012 +0100 + + Add skeleton translations for RTL locales + + RTL locales need to translate the "default:LTR" string to have + clutter_actor_get_text_direction() return the expected result; + as GNOME Shell now makes use of that API, users of RTL locales + would be up for an unpleasant surprise, so add all locales that + translate "default:LTR" to "default:RTL" in GTK+. + + https://bugzilla.gnome.org/show_bug.cgi?id=671736 + + po/ar.po | 2359 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + po/az_IR.po | 2358 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + po/fa.po | 2358 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + po/ps.po | 2357 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + po/ur.po | 2357 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + po/yi.po | 2357 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 6 files changed, 14146 insertions(+) + +commit 52f142c14c89357c6333ee1fa55fc5184f6551dc +Author: Florian Müllner +Date: Fri Mar 9 16:34:54 2012 +0100 + + Update Hebrew translations + + RTL locales need to translate the "default:LTR" string to have + clutter_actor_get_text_direction() return the expected result; + as GNOME Shell now makes use of that API, users of RTL locales + would be up for an unpleasant surprise, so add the required + translation. + + https://bugzilla.gnome.org/show_bug.cgi?id=671736 + + po/he.po | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit d303fdc22ddffe6782298e5b4de6c371b0584dac +Author: Emmanuele Bassi +Date: Fri Mar 9 17:32:46 2012 +0000 + + po: Update bug tracker in Makevars + + po/Makevars | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2b22b60e6ea1ca22d7052d9bfb1fc8acfec4ca81 +Author: Tristan Van Berkom +Date: Sat Mar 10 02:06:10 2012 +0900 + + Fixed leaking GValue content in clutter_animation_setup_valist(). + + Normally this leak goes unnoticed because basic fundamental types + are typically used with clutter_actor_animate(), the leak shows up + if boxed or object types are passed (such as ClutterVertex in the + case I stumbled upon). + + clutter/clutter-animation.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 620e57ac1334424bd47579417815e67080d802c2 +Author: Emmanuele Bassi +Date: Thu Mar 8 14:07:15 2012 +0000 + + text: Use CoglFramebuffer API for the path-based clip + + clutter/clutter-text.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 4b0badba4aca44b4fcd52e2f26ec5608f4e93011 +Author: Bruce Cowan +Date: Fri Mar 9 16:24:35 2012 +0000 + + Updated British English translation + + po/en_GB.po | 1726 +++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 973 insertions(+), 753 deletions(-) + +commit 610ed1e1c510240ea54328d7dc36a9bad7ed80e8 +Author: Fran Diéguez +Date: Thu Mar 8 23:25:57 2012 +0100 + + Updated Galician translations + + po/gl.po | 530 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 273 insertions(+), 257 deletions(-) + +commit 4ff1cc08f8bf8c8962ac541c1a090f99331176ab +Author: Alexander Shopov +Date: Thu Mar 8 22:45:17 2012 +0200 + + Updated Bulgarian translation + + po/bg.po | 530 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 273 insertions(+), 257 deletions(-) + +commit 7b33f2fa1f6e1c4783c36f2316d4f0c852fb3d23 +Author: Matej Urbančič +Date: Thu Mar 8 15:42:14 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 682 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 349 insertions(+), 333 deletions(-) + +commit e1c99ed3c487d6e441cb8155feee4768542bb913 +Author: Chun-wei Fan +Date: Thu Mar 8 17:44:02 2012 +0800 + + Fixup VS 2010 property sheets + + There are some properties which were not correctly set. My bad for not + fixing these sooner. + + build/win32/vs10/clutter.props | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit e2e49253b607a37d082f20a26b062513c2d29fa3 +Author: Daniel Mustieles +Date: Thu Mar 8 10:29:08 2012 +0100 + + Updated Spanish translation + + po/es.po | 637 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 328 insertions(+), 309 deletions(-) + +commit d279a1393855fb6d8230cd92c71603b5e8cb641a +Author: Chun-wei Fan +Date: Thu Mar 8 17:07:34 2012 +0800 + + Update VS property sheets + + "Install" the new headers that were introduced lately. + + build/win32/vs10/clutter.props | 4 ++++ + build/win32/vs9/clutter.vsprops | 2 ++ + 2 files changed, 6 insertions(+) + +commit 9a551689c21cc3de35253c7b2c90a4843aba59ad +Author: Nilamdyuti Goswami +Date: Thu Mar 8 14:12:50 2012 +0530 + + Assamese translation completed + + po/as.po | 637 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 328 insertions(+), 309 deletions(-) + +commit 86e8f35d66c4c5baca753066f75173491236a7c9 +Author: Chao-Hsiung Liao +Date: Thu Mar 8 15:53:04 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 912 +++++++++++++++++++++++++++++++----------------------------- + po/zh_TW.po | 910 ++++++++++++++++++++++++++++++----------------------------- + 2 files changed, 953 insertions(+), 869 deletions(-) + +commit 734a26fe97e6ff2270745504ab52152dcff27014 +Author: Piotr Drąg +Date: Thu Mar 8 00:04:55 2012 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit 009b0297f1b3df08d73305466fbb0bbf01138d89 +Author: Ihar Hrachyshka +Date: Wed Mar 7 23:40:08 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 758 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 384 insertions(+), 374 deletions(-) + +commit 32f57595feef4859ac506cb81a2f17781d554d83 +Author: Joseph Scheuhammer +Date: Thu Feb 2 16:23:00 2012 -0500 + + Add brightness/contrast effect + + The ClutterBrightnessContrastEffect effect class allows changing the + brightness and contrast levels of an actor. + + Modified-by: Emmanuele Bassi + Modified-by: Neil Roberts + + https://bugzilla.gnome.org/show_bug.cgi?id=656156 + + clutter/Makefile.am | 2 + + clutter/clutter-brightness-contrast-effect.c | 643 +++++++++++++++++++++++++++ + clutter/clutter-brightness-contrast-effect.h | 80 ++++ + clutter/clutter.h | 1 + + clutter/clutter.symbols | 8 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 20 + + doc/reference/clutter/clutter.types | 1 + + 8 files changed, 756 insertions(+) + +commit 41f06138b451bbe51949d818fdc9963077eff59c +Author: Emmanuele Bassi +Date: Wed Mar 7 12:59:25 2012 +0000 + + cally/text: Constify string members + + clutter/cally/cally-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 90e5088a512e723c41dd59aeaace7e4f87ca14ac +Author: Emmanuele Bassi +Date: Wed Mar 7 12:35:57 2012 +0000 + + build: Increase the anal-retentiveness of the maintainer flags + + The new rules have already caught a couple of issues. + + configure.ac | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit de90be9586bdab941c4174a8a3fa74bd480d2555 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:34:48 2012 +0000 + + build: Remove maintainer flags from test build + + Part of the test infrastructure relies on relaxed build conditions, so + there's no point to enforce the anal retentive maintainer flags. + + tests/conform/Makefile.am | 2 +- + tests/interactive/Makefile.am | 2 +- + tests/performance/Makefile.am | 1 - + 3 files changed, 2 insertions(+), 3 deletions(-) + +commit 2567049ce3899ab8045afd540a333bcd22f6332c +Author: Emmanuele Bassi +Date: Wed Mar 7 12:34:06 2012 +0000 + + Fix missing/redundant declarations + + clutter/clutter-actor.c | 13 ++++++++----- + clutter/clutter-animatable.c | 2 ++ + clutter/clutter-animation.c | 2 ++ + clutter/clutter-backend.c | 2 ++ + clutter/clutter-bin-layout.c | 2 ++ + clutter/clutter-box-layout.c | 2 ++ + clutter/clutter-cairo-texture.c | 2 ++ + clutter/clutter-constraint.c | 1 + + clutter/clutter-deform-effect.c | 16 ++++++++-------- + clutter/clutter-feature.c | 6 +++--- + clutter/clutter-keysyms-table.c | 2 ++ + clutter/clutter-list-model.c | 2 ++ + clutter/clutter-main.c | 2 +- + clutter/clutter-script.c | 2 +- + clutter/clutter-settings.c | 1 + + clutter/clutter-stage-manager.c | 2 ++ + clutter/clutter-table-layout.c | 2 ++ + clutter/clutter-texture.c | 5 +++-- + clutter/clutter-timeline.c | 5 ++++- + clutter/clutter-util.c | 4 +++- + clutter/deprecated/clutter-frame-source.c | 6 ++++-- + 21 files changed, 57 insertions(+), 24 deletions(-) + +commit 266ea8a3d99c877fb70b7d86fcfd6ad0cdf0b113 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:32:32 2012 +0000 + + cally: Fix redundant declarations + + clutter/cally/cally-actor.c | 2 -- + clutter/cally/cally-clone.c | 3 --- + clutter/cally/cally-group.c | 2 -- + clutter/cally/cally-rectangle.c | 3 --- + clutter/cally/cally-root.c | 2 -- + clutter/cally/cally-stage.c | 3 --- + clutter/cally/cally-text.c | 2 -- + clutter/cally/cally-texture.c | 3 --- + clutter/cally/cally-util.c | 3 --- + 9 files changed, 23 deletions(-) + +commit 4da1c3efb8fcea58854ce6ff57856fec4ec1a427 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:31:25 2012 +0000 + + snap-constraint: Fix typo that broke the get_edges() method + + We were declaring a get_edges() method, but the definition was called + get_edge(). + + clutter/clutter-snap-constraint.c | 6 +++--- + clutter/clutter.symbols | 2 +- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 3a86d88b431e381d6b4ed50e38018ca545a975e7 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:07:41 2012 +0000 + + x11/device-manager-core: Avoid a signed/unsigned comparison + + clutter/x11/clutter-device-manager-core-x11.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f5065059b7ab21b8ad28d30a006a038e3275b3b1 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:07:15 2012 +0000 + + x11/keymap: Avoid a signed/unsigned comparison + + clutter/x11/clutter-keymap-x11.c | 6 +++--- + clutter/x11/clutter-keymap-x11.h | 2 +- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit f54a4532a4e703c4e925390ccdebeb5270da4272 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:06:24 2012 +0000 + + x11/backend: Ensure that pre/post parse hooks are not exposed + + Not even as private methods. + + clutter/x11/clutter-backend-x11.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit e3aea910b1524933e6ea3ef95a19a6c970d46677 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:04:44 2012 +0000 + + Try to avoid duplicate declarations for profile macros + + We can use the __COUNTER__ macro or, failing that, the __LINE__ macro to + ensure that we don't declare dummy variables more than once with the + same name. + + clutter/clutter-profile.h | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +commit 9bc8c05db8500f435da057710000b21244cc5735 +Author: Emmanuele Bassi +Date: Wed Mar 7 12:04:25 2012 +0000 + + gdk: Add missing declaration of clutter_gdk_get_default_display() + + clutter/gdk/clutter-gdk.h | 1 + + 1 file changed, 1 insertion(+) + +commit fc12c591c324a6070a1763e9d0c6ab9aeadbba52 +Author: Fran Diéguez +Date: Wed Mar 7 12:54:09 2012 +0100 + + Updated Galician translations + + po/gl.po | 558 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 284 insertions(+), 274 deletions(-) + +commit ee0f43b701124b929b806e2f4a963a229bf92f9b +Author: Daniel Mustieles +Date: Wed Mar 7 11:33:52 2012 +0100 + + Updated Spanish translation + + po/es.po | 638 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 323 insertions(+), 315 deletions(-) + +commit ca550bc5cd9f4b6056a43f32f48396db05b7813a +Author: Alexander Shopov +Date: Wed Mar 7 06:36:27 2012 +0200 + + Updated Bulgarian translation + + po/bg.po | 558 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 284 insertions(+), 274 deletions(-) + +commit 05813872f9179d8fbe6c4be6cea8f86a89edf3ff +Author: Emmanuele Bassi +Date: Fri Jan 27 12:30:04 2012 +0000 + + osx: Call finishLaunching on post-parse + + https://bugzilla.gnome.org/show_bug.cgi?id=668801 + + clutter/osx/clutter-backend-osx.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit cc25deade04b8f06d460292915f3ab6d2369d33c +Author: Emmanuele Bassi +Date: Tue Mar 6 15:39:29 2012 +0000 + + texture: Fix the async loop ceiling + + The comment says that we're going to load textures in a loop until we + still have work to do, or if one iteration took more than 5 + milliseconds, to avoid blowing up our frame budget, but the check is for + 5 seconds, which is hardly a sensible value. + + clutter/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4849c02e330ce9db52564c812dc4a0316498b979 +Author: Nilamdyuti Goswami +Date: Tue Mar 6 21:07:26 2012 +0530 + + Assamese translation completed + + po/as.po | 366 ++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 174 insertions(+), 192 deletions(-) + +commit 4db4471528a33cc07c2b98e0d84e34018c6ee1ec +Author: Emmanuele Bassi +Date: Tue Mar 6 15:07:55 2012 +0000 + + interactive/text-field: Use :background-color + + Instead of a custom paint signal handler. + + tests/interactive/test-text-field.c | 31 +++---------------------------- + 1 file changed, 3 insertions(+), 28 deletions(-) + +commit 477d399c31dc2c5e5af91ee3c561f0a40f21155b +Author: Emmanuele Bassi +Date: Tue Mar 6 15:06:52 2012 +0000 + + text: Use the background color when painting + + If the ClutterActor:background-color-set property is set to TRUE. + + clutter/clutter-text.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +commit 663d6179ffdb27ef25ee67e4b7d2e05a5d1216aa +Author: Emmanuele Bassi +Date: Tue Mar 6 15:05:36 2012 +0000 + + text: Center the cursor caret + + We remove 2 pixels from the height of the cursor, but we should also + remove the same amount from the position on the y axis, so that the + cursor caret appears centered in the allocated height. + + https://bugzilla.gnome.org/show_bug.cgi?id=655491 + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 812fbee7ecba813b2d8c5511b974b15b004a975d +Author: Matej Urbančič +Date: Tue Mar 6 15:43:08 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 458 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 234 insertions(+), 224 deletions(-) + +commit 764640419607b4918515f42722bb0950ea23d90c +Author: Emmanuele Bassi +Date: Tue Mar 6 14:23:33 2012 +0000 + + script: Support translatable strings for properties + + ClutterScript should be able to automatically call gettext() and friends + on strings loaded from a UI definition, prior to passing the string to + the object it is constructing. + + The basic implementation is trivial: + + - set a translation domain on the ClutterScript instance + - mark the translatable strings inside the JSON data, like: + + "property" : { + "translatable" : true, + "string" : "a translatable string" + } + + The hard part is now getting the tools we use to extract the + translatable strings to understand the JSON format we use inside + ClutterScript. + + clutter/clutter-script-parser.c | 58 +++++++++++++++++++++++++ + clutter/clutter-script-private.h | 3 ++ + clutter/clutter-script.c | 93 ++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-script.h | 6 +++ + tests/data/test-script.json | 4 +- + 5 files changed, 162 insertions(+), 2 deletions(-) + +commit 4a9414ff870ce74d3194425d30709124558eacd2 +Author: Emmanuele Bassi +Date: Tue Mar 6 14:22:43 2012 +0000 + + Annotate clutter_threads_add_repaint_func_full() + + clutter/clutter-main.h | 1 + + 1 file changed, 1 insertion(+) + +commit 1ac655b3942a51ff0b24228d9ecf264a51d52c87 +Author: Emmanuele Bassi +Date: Tue Mar 6 14:21:04 2012 +0000 + + Add missing enumeration type to clutter.symbols + + clutter/clutter.symbols | 3 +++ + 1 file changed, 3 insertions(+) + +commit c2e7704151be86bf26a47c63f2735f45394a08bd +Author: Emmanuele Bassi +Date: Tue Mar 6 13:50:10 2012 +0000 + + master-clock: Add frame budget diagnostic messages + + Let's keep a budget of 16.6 milliseconds per frame, and reduce it by the + amount of time spent in each phase of the frame processing. If any phase + goes over the allocated budget then we use the diagnostic mode + facilities to warn the app developer. + + clutter/clutter-master-clock.c | 55 +++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 54 insertions(+), 1 deletion(-) + +commit bdf9f4958825fa7a9adf0bea16d4d079becb896f +Author: Emmanuele Bassi +Date: Tue Mar 6 12:55:27 2012 +0000 + + master-clock: Clean up the frame processing + + Split out every phase into its own function, to ensure that the sequence + of operation is clear and easy to follow. + + clutter/clutter-master-clock.c | 237 +++++++++++++++++++++-------------------- + clutter/clutter-master-clock.h | 1 - + 2 files changed, 124 insertions(+), 114 deletions(-) + +commit 229607464b287d6ea1ed1633d4e982768ccb18cc +Author: Emmanuele Bassi +Date: Tue Mar 6 12:09:00 2012 +0000 + + Improve repaint functions + + It is sometimes useful to be able to have better control on when a + repaint function is called. Currently, all repaint functions are called + prior to the stages update phase of the frame processing. + + We can introduce flags to represent the point in the frame update + process in which we wish Clutter called the repaint function. + + As a bonus, we can also add a flag that causes adding a repaint function + to spin the master clock. + + clutter/clutter-enums.h | 19 +++++++ + clutter/clutter-main.c | 91 +++++++++++++++++++++++++++--- + clutter/clutter-main.h | 4 ++ + clutter/clutter-master-clock.c | 8 ++- + clutter/clutter-private.h | 2 +- + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 7 files changed, 113 insertions(+), 13 deletions(-) + +commit afda0c955e57bd511725bc8704a4e8cfec52462c +Author: Emmanuele Bassi +Date: Mon Mar 5 23:57:01 2012 +0000 + + Post-release version bump to 1.9.15 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 59affd808824d43d2fbb288c17587536243645cd +Author: Emmanuele Bassi +Date: Mon Mar 5 23:41:52 2012 +0000 + + Release Clutter 1.9.14 (snapshot) + + NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 43 insertions(+), 1 deletion(-) + +commit a8d800580017b474fabc6b6322ccbdc6c8da504e +Author: Emmanuele Bassi +Date: Mon Mar 5 23:34:27 2012 +0000 + + docs: Updates to the API reference + + clutter/wayland/clutter-wayland-surface.h | 5 +++-- + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 2 files changed, 7 insertions(+), 2 deletions(-) + +commit 9813a874992ff6215e71d580856284154c4bc65e +Author: Emmanuele Bassi +Date: Mon Mar 5 22:02:01 2012 +0000 + + Update the release notes + + README.in | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 155f7741fed2138d64ec0b06d8ec160c67ca12b3 +Author: Emmanuele Bassi +Date: Mon Mar 5 21:59:53 2012 +0000 + + actor: Ensure static scope to allocation-changed arguments + + In theory, handlers connected to the ::allocation-changed signal may be + able to modify the actor's real allocation and allocation flags, + especially now that we use STATIC_SCOPE; let's avoid this, so that we + don't regret it later. + + clutter/clutter-actor.c | 22 ++++++++++++++++------ + 1 file changed, 16 insertions(+), 6 deletions(-) + +commit 762e0de2c60dff77b36e9fefefc3ad263c33ce90 +Author: Neil Roberts +Date: Mon Mar 5 19:23:46 2012 +0000 + + tests: Remove test-cogl-pixel-buffer + + This has been converted to a Cogl-based test in the cogl source tree + so there is no need to maintain it here anymore. + + Reviewed-by: Robert Bragg + + tests/conform/Makefile.am | 1 - + tests/conform/test-cogl-pixel-buffer.c | 329 --------------------------------- + tests/conform/test-conform-main.c | 1 - + 3 files changed, 331 deletions(-) + +commit 7d64693de265e0d00e783b7ae164abd06d75a68d +Author: Emmanuele Bassi +Date: Mon Mar 5 17:45:23 2012 +0000 + + conformance/invariants: Test that visibility is not recursive + + The show and hide methods should not recurse; that is the job of + show_all and hide_all, which are deprecated. + + tests/conform/actor-invariants.c | 42 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 2 files changed, 43 insertions(+) + +commit 720fbd3bec522f200396f206242bc76285492f15 +Author: Emmanuele Bassi +Date: Mon Mar 5 17:38:27 2012 +0000 + + stage: Fix up a copy-and-paste train wreck + + The show and hide implementation inside ClutterStage ended up being + recursive, and the hide implementation would actually show the children + of the stage unconditionally. + + Whoopsie. + + clutter/clutter-stage.c | 36 +++++++++++++++++++++++++++++------- + 1 file changed, 29 insertions(+), 7 deletions(-) + +commit add274c447f1d4a2d9c269754c019882738662c1 +Author: Emmanuele Bassi +Date: Mon Mar 5 17:26:09 2012 +0000 + + conform/actor-invariants: Add tests for show-on-set-parent + + The show-on-set-parent flag is mental, but it needs to be tested better + than just checking for it always been set to TRUE. + + tests/conform/actor-invariants.c | 31 ++++++++++++++++++++++++++++--- + 1 file changed, 28 insertions(+), 3 deletions(-) + +commit a882b20b26222f537becfbedf9af2d12e74691a3 +Author: Nilamdyuti Goswami +Date: Mon Mar 5 19:56:42 2012 +0530 + + Assamese translation completed + + po/as.po | 1711 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 952 insertions(+), 759 deletions(-) + +commit 2aaa39e0080a180689f53f82bccda36bc400f885 +Author: Emmanuele Bassi +Date: Mon Mar 5 10:36:03 2012 +0000 + + actor: Annotate the allocation-changed signal + + The ActorBox passed to the ::allocation-changed signal should be + annotated as STATIC_SCOPE, given that it's a pointer to a structure + inside ClutterActorPrivate - hence there's no risk of it actually being + freed from a signal handler. This allows the GSignal machinery to avoid + a costly copy/free for each signal emission. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 796cf67503cce01f303b59d5280def4b8bdfd0b9 +Author: Krishnababu Krothapalli +Date: Fri Mar 2 13:47:57 2012 +0530 + + Updated Telugu Translations + + po/te.po | 2489 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 1350 insertions(+), 1139 deletions(-) + +commit 018ede2b24079089e2c4e84698776a1235dbde20 +Author: Giovanni Campagna +Date: Thu Mar 1 22:58:39 2012 +0100 + + ClutterActor: clear redraw entry before emitting signals + + If the redraw entry is not cleared, queueing a redraw from a signal + handler could reinsert the same object in the stage redraw list, + causing the segfault later (as the object is immediately freed) + + https://bugzilla.gnome.org/show_bug.cgi?id=671173 + + clutter/clutter-actor.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit 251d3b545e4df6c55dd596424dda3470564f16cf +Author: Emmanuele Bassi +Date: Thu Mar 1 15:11:59 2012 +0000 + + input: Add a check on the argument + + clutter/clutter-input-device.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 23e8e43d666a9237dc0096924c2e1d30d1027128 +Author: Emmanuele Bassi +Date: Thu Mar 1 15:11:36 2012 +0000 + + symbols: Add missing InputDevice symbol + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit b248fbd010d428ec103f2b5cde906403d1eac3f0 +Author: Emmanuele Bassi +Date: Thu Mar 1 11:06:04 2012 +0000 + + Make clutter-stage-window.h a private header + + It should have never been public in the first place; nothing can + implement the ClutterStageWindow interface and use it, so this is + not a break. + + clutter/Makefile.am | 2 +- + clutter/clutter-stage-window.c | 2 ++ + clutter/clutter-stage-window.h | 23 +++++------------------ + clutter/clutter.h | 1 - + clutter/clutter.symbols | 1 - + 5 files changed, 8 insertions(+), 21 deletions(-) + +commit a1ec559d14a5baafc45e663e8d62d2109d8a8e90 +Author: Emmanuele Bassi +Date: Thu Mar 1 15:07:05 2012 +0000 + + Fix compilation + + Hide a symbol if we're not compiling with Wayland compositor support. + + clutter/clutter-backend.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit cfbb7a0fa0fcd1014984e2b70a8c2a5d12e3ad79 +Author: Neil Roberts +Date: Wed Feb 29 19:20:18 2012 +0000 + + clutter-wayland-surface: Add padding to the class struct + + This just adds some padding pointers so that we can later add more + virtual functions without breaking ABI. + + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.h | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 5f654069feff8361509e5fc832f335d653e70726 +Author: Neil Roberts +Date: Wed Feb 29 17:50:22 2012 +0000 + + clutter-input-device-wayland: Include clutter-stage-private.h + + This was giving a warning about using _clutter_stage_update_state + without declaring it. + + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-input-device-wayland.c | 1 + + 1 file changed, 1 insertion(+) + +commit b5c90f6caaf0457c0f81720060f4a69cf2bd59fb +Author: Robert Bragg +Date: Mon Feb 13 13:20:02 2012 +0000 + + wayland-surface: don't queue redraw on buffer attach + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 3c6a0cdc610ba434beed733bde548175d665cc36 +Author: Robert Bragg +Date: Sun Jan 22 15:36:17 2012 +0000 + + evdev: Adds api to release/reclaim the evdev devices + + Clutter applications using evdev are typically fullscreen applications + associated with a single virtual termainal. When switching away from + the applications associated tty then Clutter should stop managing all + evdev devices and re-probe for devices when the application regains + focus by switching back to the tty. To facilitate this, this patch + adds clutter_evdev_release_devices() and clutter_evdev_reclaim_devices() + functions. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/Makefile.am | 5 + + clutter/evdev/clutter-device-manager-evdev.c | 144 +++++++++++++++++++++++++-- + clutter/evdev/clutter-evdev.h | 38 +++++++ + 3 files changed, 177 insertions(+), 10 deletions(-) + +commit 1f7968e5f99adbc28e5c6bf7495169687d00f4d1 +Author: Neil Roberts +Date: Wed Feb 29 16:35:48 2012 +0000 + + wayland/x11: Set constraints on the CoglRenderer + + When using the Wayland backend this sets a constraint that the + CoglRenderer selects the Wayland EGL winsys. + + When a Wayland compositor display is set it now also sets a constraint + that the render should use EGL because only EGL renderers will set up + the required wl_drm global object. + + The X11 backend now sets the X11 constraint. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-backend.c | 6 ++++++ + clutter/wayland/clutter-backend-wayland.c | 2 ++ + clutter/x11/clutter-backend-x11.c | 2 ++ + 3 files changed, 10 insertions(+) + +commit a0d3b01aa967e3740bc22c925864acac1829da62 +Author: Neil Roberts +Date: Tue Jan 17 17:29:18 2012 +0000 + + device-manager-core-x11: Create core input devices as x11 + + The core input devices when XInput doesn't work were being created as + generic ClutterInputDevices instead of ClutterInputDeviceX11s. This + meant the keycode_to_evdev virtual wouldn't work. + + Reviewed-by: Emmanuele Bassi + + clutter/x11/clutter-device-manager-core-x11.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 13e3f9e5f1f1f648280a154fe1900fce4a26500a +Author: Neil Roberts +Date: Tue Jan 17 15:40:08 2012 +0000 + + Add an input device function to convert keycodes to evdev codes + + This adds a virtual function to ClutterInputDevice to translate a + keycode from the hardware_keycode member of ClutterKeyEvent to an + evdev keycode. The function can fail so that input backends that don't + have a sensible way to translate to evdev keycodes can return FALSE. + There are implementations for evdev, wayland and X. The X + implementation assumes that the X server is using an evdev driver in + which case the hardware keycodes are the evdev codes plus 8. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-device-manager-private.h | 3 +++ + clutter/clutter-input-device.c | 31 ++++++++++++++++++++++++++ + clutter/clutter-input-device.h | 4 ++++ + clutter/evdev/clutter-input-device-evdev.c | 12 ++++++++++ + clutter/wayland/clutter-input-device-wayland.c | 12 ++++++++++ + clutter/x11/clutter-input-device-core-x11.c | 15 +++++++++++++ + clutter/x11/clutter-input-device-xi2.c | 15 +++++++++++++ + doc/reference/clutter/clutter-sections.txt | 1 + + 8 files changed, 93 insertions(+) + +commit a3bbcff946295f6e7232697fd167437baef6b785 +Author: Neil Roberts +Date: Tue Jan 17 13:37:26 2012 +0000 + + evdev: Associate devices with the first created stage + + Because evdev isn't associated with the display system, it doesn't + have any easy way to associate an input device with a stage. + Previously Clutter would never set a stage for an input device and + leave it up to the application to set it. To make it easier for + applications which just have a single fullscreen stage (which is + probably the most common use case for evdev) the device manager now + associates all input devices with the first stage that is created + unless something has already set a stage. + + Reviewed-by: Emmanuele Bassi + + clutter/evdev/clutter-device-manager-evdev.c | 106 ++++++++++++++++++++++++++- + 1 file changed, 105 insertions(+), 1 deletion(-) + +commit 1bfd1d85eb2dd4e2093c5c7e6833da4196110177 +Author: Robert Bragg +Date: Thu Jan 12 20:36:16 2012 +0000 + + Updates in line with latest wayland protocol + + The shm buffer format enum values were renamed and the explicitly + premultiplied format was dropped since it's now assumed if the buffer + has an alpha component then it's premultiplied. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +commit 6cc58f7d7d01418eb61622afcb7e322a8645d5d6 +Author: Neil Roberts +Date: Wed Jan 11 18:11:51 2012 +0000 + + clutter-wayland-surface: Remove the pick method + + The pick method doesn't do anything special over the default pick + method provided by ClutterActor so there's no need to implement it. + + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 13 ------------- + 1 file changed, 13 deletions(-) + +commit 560f92b69849eb671ac539df16c1d3f4797d9032 +Author: Robert Bragg +Date: Wed Jan 11 00:16:10 2012 +0000 + + wayland-surface: removes unused origin variable + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 1 - + 1 file changed, 1 deletion(-) + +commit c1aac36d35638b00691f20b538289eae9a7cf68a +Author: Robert Bragg +Date: Wed Jan 11 00:08:05 2012 +0000 + + wayland-surface: Adds queue-damage-redraw signal + + This adds a signal that's emitted whenever a wayland surface is damaged + that allows sub-classes to override the default handler to change + how clipped redraws are queued if the sub-class doesn't simply draw + a rectangle. The signal can also be used just to track damage. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 50 ++++++++++++++++++++++++++----- + clutter/wayland/clutter-wayland-surface.h | 7 +++++ + 2 files changed, 50 insertions(+), 7 deletions(-) + +commit b89af8efa3931bb0cb5a7c5c6a01823ab5d6be78 +Author: Robert Bragg +Date: Tue Jan 10 22:39:53 2012 +0000 + + wayland-surface: Add cogl-texture property + + This adds a "cogl-texture" gobject property so that a compositor may + listen for notifications of changes to the texture used to paint. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 36 +++++++++++++++++++++++++------ + clutter/wayland/clutter-wayland-surface.h | 1 + + 2 files changed, 30 insertions(+), 7 deletions(-) + +commit 8ac2200aac44d481f2b069554e85976ad1f47372 +Author: Neil Roberts +Date: Mon Jan 9 16:13:03 2012 +0000 + + clutter-wayland-surface: Rename the width/height properties + + This patch renames the width/height properties to + surface-width/surface-height so that they won't override the + width/height properties of ClutterActor which have different + semantics. + + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit 1b77565e63d6bfc2dd4edd6961e39044d536b08b +Author: Robert Bragg +Date: Tue Jan 10 17:04:50 2012 +0000 + + configure: Adds xkb-utils automake conditional + + This adds a NEEDS_XKB_UTILS automake conditional that's set to true if + either the wayland backend is enabled or the evdev input backend is + enabled since they both depend on clutter-xkb-utils.c and we need + to avoid listing the file twice since that leads to duplicate symbols + and the build fails. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/Makefile.am | 7 +++++-- + configure.ac | 2 ++ + 2 files changed, 7 insertions(+), 2 deletions(-) + +commit 612bde3c4a00800c12fb20e287cb32eefed12ffd +Author: Robert Bragg +Date: Mon Jan 9 19:03:59 2012 +0000 + + wayland-surface: Set actor size on buffer attach + + When a new buffer is attached and we update the width and height + properties for the surface we now also call clutter_actor_set_size() + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 0ba6127edc16db16884a27efcfdefc422eaac382 +Author: Robert Bragg +Date: Mon Jan 9 19:16:21 2012 +0000 + + wayland-surface: Adds _get_surface function + + This adds a clutter_wayland_surface_get_surface() function for querying + the struct wl_surface * associated with a ClutterWaylandSurface. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 9 ++++++++- + clutter/wayland/clutter-wayland-surface.h | 1 + + 2 files changed, 9 insertions(+), 1 deletion(-) + +commit 83b94ec27d3073cbfaec92e9f1b4c7568081d568 +Author: Robert Bragg +Date: Mon Jan 9 19:14:09 2012 +0000 + + wayland-surface: Make _set_surface api public + + This exposes a clutter_wayland_surface_set_surface() function. The + implementation ignores requests to re-set the same surface and since now + has code to cleanup old surface state before setting the new surface. + (previously the surface was construct only so this wasn't necessary) + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 14 +++++++++++++- + clutter/wayland/clutter-wayland-surface.h | 2 ++ + 2 files changed, 15 insertions(+), 1 deletion(-) + +commit 862eebceb6f0a3faa407e953e69eeb9ccc133036 +Author: Robert Bragg +Date: Mon Jan 9 19:11:43 2012 +0000 + + wayland-surface: Cleanup properly in _dispose + + When disposing a ClutterWaylandSurface we now make sure to unref any + pipeline we created and unref any surface buffer textures we created. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 30 +++++++++++++++++------------- + 1 file changed, 17 insertions(+), 13 deletions(-) + +commit c7e10024d86acdfbafbc3159fa479e03e71d425d +Author: Robert Bragg +Date: Mon Jan 9 19:09:43 2012 +0000 + + wayland-surface: remove unused damage array + + There was a GArray member named damage that wasn't being used which this + patch removes. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-surface.c | 8 -------- + 1 file changed, 8 deletions(-) + +commit 3839cf13a2f2184e22d41b6cddc461d4128e5be0 +Author: Robert Bragg +Date: Sat Jan 7 21:44:32 2012 +0000 + + configure: fix --enable-evdev-input documentation + + The --help documentation for ./configure was listing a spurious + --with-evdev option when it should list --enable-evdev-input. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2c9ec271e2a42d52e00da7a3c98af4da5fa532ac +Author: Robert Bragg +Date: Thu Jan 5 14:33:35 2012 +0000 + + wayland: install wayland compositor headers + pkgconfig file + + If wayland compositor support has been enabled then we make sure to + install the corresponding public headers and a + clutter-wayland-compositor.pc pkgconfig file. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/Makefile.am | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit b0fc4c1dff80b0ec761f3037b77676fa8119543f +Author: Neil Roberts +Date: Wed Feb 29 16:18:07 2012 +0000 + + Remove test-wayland-surface + + In a separate branch, this test has become quite complicated and + involves multiple files and its own configure options. Instead of + cluttering up the clutter source tree it has now been moved to its own + repo at: + + http://github.com/clutter-project/test-wayland-surface + + Reviewed-by: Emmanuele Bassi + + tests/interactive/Makefile.am | 4 - + tests/interactive/test-wayland-surface.c | 567 ------------------------------- + 2 files changed, 571 deletions(-) + +commit c42be83d698ea2795564f8c5ec451c290d809b7b +Author: Jonh Wendell +Date: Wed Feb 29 14:03:44 2012 -0300 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 1691 +++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 941 insertions(+), 750 deletions(-) + +commit c46588172629574abb900ea1851d7248780f9597 +Author: Emmanuele Bassi +Date: Wed Feb 29 15:12:55 2012 +0000 + + docs: Refresh the layout managers example image + + Drop the window decoration and pointer; drop the double image for the + FlowLayout class; add an image for the TableLayout class. + + clutter/clutter-flow-layout.c | 12 ++---------- + clutter/clutter-table-layout.c | 6 ++++++ + doc/reference/clutter/Makefile.am | 6 +++--- + doc/reference/clutter/bin-layout.png | Bin 12890 -> 13424 bytes + doc/reference/clutter/box-layout.png | Bin 5119 -> 10557 bytes + doc/reference/clutter/flow-layout-horizontal.png | Bin 5888 -> 0 bytes + doc/reference/clutter/flow-layout-vertical.png | Bin 5333 -> 0 bytes + doc/reference/clutter/flow-layout.png | Bin 0 -> 1850 bytes + doc/reference/clutter/table-layout.png | Bin 0 -> 20058 bytes + 9 files changed, 11 insertions(+), 13 deletions(-) + +commit 7713d3bbdc0f360f9f0e8d782d0a3215441bb6f5 +Author: Emmanuele Bassi +Date: Wed Feb 29 15:05:44 2012 +0000 + + docs: Update the actor example image + + clutter/clutter-actor.c | 4 ++-- + doc/reference/clutter/Makefile.am | 4 ++-- + doc/reference/clutter/actor-example.png | Bin 0 -> 4966 bytes + doc/reference/clutter/test-actor.png | Bin 5081 -> 0 bytes + 4 files changed, 4 insertions(+), 4 deletions(-) + +commit 3f5d63b5227fa401367142e0f4b774d8e039dc88 +Author: Emmanuele Bassi +Date: Wed Feb 29 15:02:59 2012 +0000 + + interactive/actor: Add margin usage example + + tests/interactive/test-actor.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit fde094dce2d1801ce1000671966f2acbad26d9c5 +Author: Emmanuele Bassi +Date: Wed Feb 29 14:46:01 2012 +0000 + + build: Remove clutter-version.h.win32.in + + The clutter-version.h header file is now completely generic, and does + not need to be masked by a Windows-specific header when building under + MSVC. + + .gitignore | 1 - + build/win32/vs10/clutter.props | 7 - + build/win32/vs9/clutter.vsprops | 4 - + clutter/Makefile.am | 2 - + clutter/clutter-version.h.win32.in | 277 ------------------------------------- + configure.ac | 1 - + 6 files changed, 292 deletions(-) + +commit 38bcd86c51c42bd4f71ed5bbdb09345c2af4652c +Author: Emmanuele Bassi +Date: Wed Feb 29 14:43:01 2012 +0000 + + Annotate the exported version variables + + When using MSVC we need to annotate the variables that are going to be + exported. + + clutter/clutter-version.h.in | 21 ++++++++++++++++++--- + 1 file changed, 18 insertions(+), 3 deletions(-) + +commit 80626e75842a24c3d0a45068e241ba309f6ec138 +Author: Emmanuele Bassi +Date: Tue Feb 28 15:45:24 2012 +0000 + + actor: Do not check for child destruction in add_child_internal() + + We currently check for the IN_DESTRUCTION flag inside the + add_child_internal() function. + + This check disallows calling methods that change the stacking order + within the destruction sequence, by triggering a critical warning first, + and leaving the actor in an undefined state, which then ends up being + caught by an assertion. + + The reproducible sequence is: + + - actor gets destroyed; + - another actor, linked to the first, will try to change the + stacking order of the first actor; + - changing the stacking order is a composite operation composed + by the following steps: + 1. ref() the child; + 2. remove_child_internal(), which removes the reference; + 3. add_child_internal(), which adds a reference; + - the state of the actor is not changed between (2) and (3), as + it could be an expensive recomputation; + - if (3) bails out, then the actor is in an undefined state, but + still alive; + - the destruction sequence terminates, but the actor is unparented + while its state indicates being parented instead. + - assertion failure. + + The obvious fix would be to decompose each set_child_*_sibling() method + into proper remove_child()/add_child(), with state validation; this may + cause excessive work, though, and trigger a cascade of other bugs in + code that assumes that a change in the stacking order is an atomic + operation. + + Another potential fix is to just remove this check here, and let code + doing stacking order changes inside the destruction sequence of an actor + continue doing the work. + + The third fix is to silently bail out early from every + set_child_*_sibling() and set_child_at_index() method, and avoid doing + work. + + I have a preference for the second solution, since it involves the least + amount of work, and the least amount of code duplication. + + See bug: https://bugzilla.gnome.org/show_bug.cgi?id=670647 + + clutter/clutter-actor.c | 58 +++++++++++++++++++++++++++++++++++++++++++++---- + 1 file changed, 54 insertions(+), 4 deletions(-) + +commit 6e78ebca957fe838508e6a02f6c9c312edd40f21 +Author: Alejandro Piñeiro +Date: Wed Feb 29 15:49:23 2012 +0100 + + a11y: Not compute extents for actors without an stage + + This solves a crash on GNOME Shell, as compute the extents + for some StWidgets could lead to call st_widget_get_theme_node, + and it is a fatal error to call this on a widget that it not + beed added to a stage. + + clutter/cally/cally-actor.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit dde5da1dd8f75c3522f3b89417f3e5eb5a414a25 +Author: Alejandro Piñeiro +Date: Wed Feb 29 15:47:36 2012 +0100 + + a11y: Stop to use ClutterActor::name as default accessible-name + + ClutterActor::name is mostly used for debugging purposes + + clutter/cally/cally-actor.c | 25 ------------------------- + 1 file changed, 25 deletions(-) + +commit 9d9afc0f05f4e476305f29cfc0447775c7fe9134 +Author: Chun-wei Fan +Date: Wed Feb 29 18:09:29 2012 +0800 + + Update VS property sheets + + Update the "installation" of headers... + + build/win32/vs10/clutter.props | 16 ++++++++++++++-- + build/win32/vs9/clutter.vsprops | 8 +++++++- + 2 files changed, 21 insertions(+), 3 deletions(-) + +commit b689737a4353e382bf7195d655307d7645781505 +Author: Chun-wei Fan +Date: Wed Feb 29 18:03:15 2012 +0800 + + Update clutter-version.h.win32(.in) + + Make it like the clutter-version.h.in template. Since we aren't having + Windows-specific items in here (such as CLUTTER_FLAVOUR), perhaps we + could get the dllexport stuff in clutter-version.h.in, where it can be + used when necessary, and this file would be gone. + + clutter/clutter-version.h.win32.in | 137 +++++++++++++++++++++++++++++-------- + 1 file changed, 108 insertions(+), 29 deletions(-) + +commit a22d7ac1b569ea2cfb4ffe30e738db9887c06002 +Author: Emmanuele Bassi +Date: Wed Feb 29 09:27:01 2012 +0000 + + interactive: Remove test-shader + + ClutterShader is deprecated, and we already have various tests for the + shader API, both for Cogl and for ClutterShaderEffect. + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-shader.c | 411 ---------------------------------------- + 2 files changed, 412 deletions(-) + +commit f292550d0602fba97aab4e081da9a0a4d1f1fe76 +Author: Emmanuele Bassi +Date: Wed Feb 29 09:25:51 2012 +0000 + + interactive: Remove test-fullscreen + + The stage state test also has a fullscreen option, and it's a better + test all around. + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-fullscreen.c | 109 ------------------------------------ + 2 files changed, 110 deletions(-) + +commit caf759f72fdf78340dadbf62cf00c3c00c8a5b0e +Author: Emmanuele Bassi +Date: Wed Feb 29 09:24:34 2012 +0000 + + interactive: Remove test-actor-clone + + Another clone of the venerable test-actors - but test-actor already uses + ClutterClone, so there's really little point in it. + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-actor-clone.c | 301 ----------------------------------- + 2 files changed, 302 deletions(-) + +commit bd2f5d0e383bdf61a757a9f405f23ed0cf48edcb +Author: Emmanuele Bassi +Date: Wed Feb 29 09:23:40 2012 +0000 + + interactive: Remove test-behave + + ClutterBehaviour and friends are deprecated, there's no point in having + an interactive test, and it may be misleading. + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-behave.c | 212 ---------------------------------------- + 2 files changed, 213 deletions(-) + +commit b9553083e03417eb4b6d4fca072bc423dbc1ac4a +Author: Emmanuele Bassi +Date: Mon Feb 27 16:47:53 2012 +0000 + + docs: Document the versioning macros + + clutter/clutter-version.h.in | 37 ++++++++++++++++++++++++++++++++++++- + 1 file changed, 36 insertions(+), 1 deletion(-) + +commit fb9df4bef27a45de5471ee2937156ec5191bc201 +Author: Emmanuele Bassi +Date: Mon Feb 27 16:31:53 2012 +0000 + + Annotate all functions available since 1.10 + + clutter/clutter-actor.h | 43 ++++++++++++++++++++++++++++++++++++++ + clutter/clutter-event.h | 1 + + clutter/clutter-input-device.h | 3 +++ + clutter/clutter-offscreen-effect.h | 1 + + clutter/clutter-script.h | 1 + + clutter/clutter-text-buffer.h | 24 ++++++++++++--------- + clutter/clutter-text.c | 6 +++--- + clutter/clutter-text.h | 4 ++++ + clutter/clutter-timeline.h | 6 +++++- + clutter/clutter-types.h | 1 + + 10 files changed, 76 insertions(+), 14 deletions(-) + +commit 7d4fa54a4b7a8c19d493da187a14081202c41271 +Author: Emmanuele Bassi +Date: Mon Feb 27 16:03:09 2012 +0000 + + docs: Add new macros to the sections file + + doc/reference/clutter/clutter-sections.txt | 33 ++++++++++++++++++++++++++++++ + 1 file changed, 33 insertions(+) + +commit 0ee7170dbb56dba21e7404acc1e2151a1558e38c +Author: Emmanuele Bassi +Date: Mon Feb 27 15:56:12 2012 +0000 + + Move clutter-util.h into the deprecated section + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter-util.c | 2 +- + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-util.h | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +commit 2daf2e8e6bca403b24d8a79a02bc7d3a5006f7b4 +Author: Emmanuele Bassi +Date: Mon Feb 27 15:47:46 2012 +0000 + + Add a deprecated header for ClutterCairoTexture + + clutter/Makefile.am | 1 + + clutter/clutter-cairo-texture.h | 10 ------ + clutter/clutter-deprecated.h | 1 + + clutter/deprecated/clutter-cairo-texture.h | 51 ++++++++++++++++++++++++++++++ + 4 files changed, 53 insertions(+), 10 deletions(-) + +commit 45d61d795bcb401eb78d03d6009f51831be39027 +Author: Emmanuele Bassi +Date: Mon Feb 27 15:44:38 2012 +0000 + + Add a deprecated header for ClutterTexture + + clutter/Makefile.am | 1 + + clutter/clutter-deprecated.h | 1 + + clutter/clutter-texture.h | 11 --------- + clutter/deprecated/clutter-texture.h | 48 ++++++++++++++++++++++++++++++++++++ + 4 files changed, 50 insertions(+), 11 deletions(-) + +commit 3c12b3575d077a87683e0f906cebfbb253f49791 +Author: Emmanuele Bassi +Date: Mon Feb 27 15:29:50 2012 +0000 + + Add deprecated header for ClutterAnimation + + clutter/Makefile.am | 1 + + clutter/clutter-actor.c | 3 +- + clutter/clutter-animatable.c | 1 + + clutter/clutter-animation.h | 78 +++++++++++++--------------------- + clutter/clutter-deprecated.h | 1 + + clutter/clutter-interval.h | 3 +- + clutter/clutter-types.h | 1 + + clutter/deprecated/clutter-animation.h | 57 +++++++++++++++++++++++++ + 8 files changed, 93 insertions(+), 52 deletions(-) + +commit 4ae36f1e5f2374d10f683720c0c876e952636755 +Author: Emmanuele Bassi +Date: Mon Feb 27 15:21:07 2012 +0000 + + Add a deprecated header for ClutterAnimatable + + clutter/Makefile.am | 1 + + clutter/clutter-animatable.h | 9 ------- + clutter/clutter-deprecated.h | 1 + + clutter/deprecated/clutter-animatable.h | 47 +++++++++++++++++++++++++++++++++ + 4 files changed, 49 insertions(+), 9 deletions(-) + +commit 9613374c73984a76e8d7780105004dde2ac3448e +Author: Emmanuele Bassi +Date: Mon Feb 27 15:16:38 2012 +0000 + + Add deprecated header for ClutterStageManager + + clutter/Makefile.am | 1 + + clutter/clutter-deprecated.h | 1 + + clutter/clutter-stage-manager.h | 7 +---- + clutter/deprecated/clutter-stage-manager.h | 42 ++++++++++++++++++++++++++++++ + 4 files changed, 45 insertions(+), 6 deletions(-) + +commit d5b565f7b939fcf3d65e310442f91cada3a9b8e2 +Author: Emmanuele Bassi +Date: Mon Feb 27 15:10:13 2012 +0000 + + Update the deprecation macros + + Use the new versioned macros instead of the generic ones. + + clutter/clutter-animation.h | 8 +++--- + clutter/clutter-backend.c | 2 +- + clutter/deprecated/clutter-actor.h | 30 ++++++++++---------- + clutter/deprecated/clutter-backend.h | 14 +++++----- + clutter/deprecated/clutter-behaviour-depth.h | 6 ++-- + clutter/deprecated/clutter-behaviour-ellipse.h | 34 +++++++++++------------ + clutter/deprecated/clutter-behaviour-opacity.h | 6 ++-- + clutter/deprecated/clutter-behaviour-path.h | 10 +++---- + clutter/deprecated/clutter-behaviour-rotate.h | 18 ++++++------ + clutter/deprecated/clutter-behaviour-scale.h | 6 ++-- + clutter/deprecated/clutter-behaviour.h | 20 +++++++------- + clutter/deprecated/clutter-box.h | 20 +++++++------- + clutter/deprecated/clutter-container.h | 24 ++++++++-------- + clutter/deprecated/clutter-fixed.h | 6 ++-- + clutter/deprecated/clutter-frame-source.h | 4 +-- + clutter/deprecated/clutter-group.h | 8 +++--- + clutter/deprecated/clutter-main.h | 32 +++++++++++----------- + clutter/deprecated/clutter-rectangle.h | 16 +++++------ + clutter/deprecated/clutter-score.h | 28 +++++++++---------- + clutter/deprecated/clutter-shader.h | 38 +++++++++++++------------- + clutter/deprecated/clutter-stage.h | 18 ++++++------ + clutter/deprecated/clutter-timeline.h | 6 ++-- + clutter/deprecated/clutter-timeout-pool.h | 6 ++-- + 23 files changed, 180 insertions(+), 180 deletions(-) + +commit 780a11b926ec8eacd58d9ba57be8d88beacdd726 +Author: Emmanuele Bassi +Date: Mon Feb 27 14:59:00 2012 +0000 + + Add flexible versioning scheme + + GLib introduced macros that allows defining the lower and upper bounds + of the API to be used by application code. + + The lower bound allows to define the minimum version that will trigger + deprecation warnings; the upper bound defines the maximum version that + will trigger compiler warnings for unavailable symbols. + + This scheme allows gradually porting application code to a new version + of the API, especially in case of resynchronization after multiple + development cycles. + + clutter/clutter-macros.h | 209 +++++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-version.h.in | 108 +++++++++++++--------- + 2 files changed, 269 insertions(+), 48 deletions(-) + +commit eb42127cf0039f9ac5a2fe111ed863cd7b0a5660 +Author: Emmanuele Bassi +Date: Mon Feb 27 14:35:53 2012 +0000 + + Require GLib ≥ 2.31.19 + + For the new deprecation and versioning macros. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a6b1972d71b17c813625b72973eefda406306e79 +Author: Emmanuele Bassi +Date: Mon Feb 27 14:03:57 2012 +0000 + + Move macros to their own headers + + clutter/Makefile.am | 1 + + clutter/clutter-macros.h | 56 ++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-types.h | 27 +-------------------- + clutter/clutter-version.h.in | 4 ++++ + clutter/clutter.h | 1 + + 5 files changed, 63 insertions(+), 26 deletions(-) + +commit 4e6ff76a77ab61562891612cd4137b63202bf552 +Author: Emmanuele Bassi +Date: Mon Feb 27 13:08:31 2012 +0000 + + conformance: Clean up + + Remove the last inconsistent bits. + + tests/conform/Makefile.am | 2 +- + tests/conform/actor-layout.c | 8 ++++---- + tests/conform/actor-offscreen-redirect.c | 4 ++-- + tests/conform/actor-pick.c | 2 +- + tests/conform/{shader-effect.c => actor-shader-effect.c} | 4 ++-- + tests/conform/path.c | 2 +- + tests/conform/test-conform-main.c | 12 ++++++------ + 7 files changed, 17 insertions(+), 17 deletions(-) + +commit 60e2f8ed5bd90c99218f90393c7c1db1119f5fa7 +Author: Emmanuele Bassi +Date: Mon Feb 27 13:02:01 2012 +0000 + + conformance: Rename the source files + + It's the conformance test suite: there's no need to namespace the files, + just like there's no need to namespace the units. + + This commit does not change the Cogl tests: they will be moved to Cogl + over time, and it's easier to do if we leave them as they are. + + tests/conform/Makefile.am | 64 +++++++++++----------- + tests/conform/{test-anchors.c => actor-anchors.c} | 0 + .../{test-actor-destroy.c => actor-destroy.c} | 0 + .../conform/{test-actor-graph.c => actor-graph.c} | 0 + ...{test-actor-invariants.c => actor-invariants.c} | 0 + tests/conform/{test-actor-iter.c => actor-iter.c} | 0 + .../{test-actor-layout.c => actor-layout.c} | 0 + ...creen-redirect.c => actor-offscreen-redirect.c} | 0 + ...{test-paint-opacity.c => actor-paint-opacity.c} | 0 + tests/conform/{test-pick.c => actor-pick.c} | 0 + tests/conform/{test-actor-size.c => actor-size.c} | 0 + tests/conform/{test-animator.c => animator.c} | 0 + tests/conform/{test-behaviours.c => behaviours.c} | 0 + .../{test-binding-pool.c => binding-pool.c} | 0 + .../{test-cairo-texture.c => cairo-texture.c} | 0 + tests/conform/{test-cally-text.c => cally-text.c} | 0 + tests/conform/{test-color.c => color.c} | 0 + tests/conform/{test-group.c => group.c} | 0 + tests/conform/{test-model.c => model.c} | 0 + tests/conform/{test-path.c => path.c} | 0 + tests/conform/{test-rectangle.c => rectangle.c} | 0 + tests/conform/{test-score.c => score.c} | 0 + .../{test-script-parser.c => script-parser.c} | 0 + .../{test-shader-effect.c => shader-effect.c} | 0 + tests/conform/{test-state.c => state.c} | 0 + tests/conform/{test-text-cache.c => text-cache.c} | 0 + tests/conform/{test-text.c => text.c} | 0 + .../conform/{test-texture-fbo.c => texture-fbo.c} | 0 + tests/conform/{test-texture.c => texture.c} | 0 + ...meline-interpolate.c => timeline-interpolate.c} | 0 + .../{test-timeline-rewind.c => timeline-rewind.c} | 0 + tests/conform/{test-timeline.c => timeline.c} | 0 + tests/conform/{test-units.c => units.c} | 0 + 33 files changed, 32 insertions(+), 32 deletions(-) + +commit d16f2ac3b545a6b853f5ab3190c6aad07b7b6b1a +Author: Emmanuele Bassi +Date: Mon Feb 27 12:54:23 2012 +0000 + + conform: Clean up test names + + Drop the 'test-' prefix: it's the conformance test suite, we know it's + full of tests. + + tests/conform/Makefile.am | 64 ++++++------ + tests/conform/test-animator.c | 10 +- + tests/conform/test-behaviours.c | 2 +- + tests/conform/test-binding-pool.c | 4 +- + ...lutter-cairo-texture.c => test-cairo-texture.c} | 4 +- + tests/conform/test-color.c | 20 ++-- + tests/conform/test-conform-main.c | 107 +++++++++++---------- + tests/conform/test-group.c | 4 +- + tests/conform/test-model.c | 24 ++--- + tests/conform/test-paint-opacity.c | 12 +-- + .../{test-clutter-rectangle.c => test-rectangle.c} | 4 +- + tests/conform/test-score.c | 2 +- + tests/conform/test-script-parser.c | 28 +++--- + tests/conform/test-state.c | 4 +- + tests/conform/{test-clutter-text.c => test-text.c} | 2 +- + tests/conform/test-texture-fbo.c | 4 +- + .../{test-clutter-texture.c => test-texture.c} | 4 +- + tests/conform/test-timeline.c | 6 +- + .../conform/{test-clutter-units.c => test-units.c} | 12 +-- + 19 files changed, 157 insertions(+), 160 deletions(-) + +commit e4c948b1502707630f15cb4ef12c6b73f3298a34 +Author: Emmanuele Bassi +Date: Mon Feb 27 11:59:57 2012 +0000 + + actor: Add a method for computing the default paint volume + + Now that ClutterActor has a default paint volume, subclasses may wish + to retrieve it without chaining up to the parent's implementation of + the get_paint_volume() function. + + The get_default_paint_volume() returns a ClutterPaintVolume pointer + to the paint volume as computed by the default implementation of the + get_paint_volume() virtual function; it can only be used immediately, + as it's not guaranteed to survive across multiple frames. + + clutter/clutter-actor.c | 125 ++++++++++++++++++++++------- + clutter/clutter-actor.h | 1 + + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 99 insertions(+), 29 deletions(-) + +commit 6a09bf5b52c97668d280357b03720956f83ad79a +Author: Emmanuele Bassi +Date: Mon Feb 13 22:40:19 2012 +0000 + + paint-volume: Add a union method for boxes + + Creating PaintVolume instances is not possible, and it's not recommended + anyway. It is, though, necessary to union paint volumes, especially with + 2D boxes, in some cases. + + Clutter should provide a simple convenience function that allows + unioning volumes to boxes in a moderately efficient way. + + https://bugzilla.gnome.org/show_bug.cgi?id=670021 + + clutter/clutter-paint-volume.c | 36 ++++++++++++++++++++++++++++++ + clutter/clutter-types.h | 2 ++ + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 40 insertions(+) + +commit 618e04e9ccb14c5a920b0d0974b539267d64a2b7 +Author: Emmanuele Bassi +Date: Fri Feb 24 15:42:11 2012 +0000 + + cookbook/examples: Modernize the code + + Use new and non-deprecated methods. + + doc/cookbook/examples/cb-button.c | 5 +++-- + doc/cookbook/examples/effects-basic.c | 7 +++---- + doc/cookbook/examples/events-pointer-motion-crossing.c | 11 ++++++----- + doc/cookbook/examples/layouts-stacking.c | 12 ++++++------ + 4 files changed, 18 insertions(+), 17 deletions(-) + +commit aadbc6df3ec63d65653c30089eb7bd79efcc3e99 +Author: Alexander Shopov +Date: Mon Feb 27 06:53:05 2012 +0200 + + Updated Bulgarian translation + + po/bg.po | 600 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 304 insertions(+), 296 deletions(-) + +commit fe45b9c4a47cdfa023f6a20b0d9ac4278c3bb758 +Author: Daniel Korostil +Date: Sun Feb 26 14:07:44 2012 +0200 + + Uploaded Ukranian + + po/uk.po | 1924 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 1043 insertions(+), 881 deletions(-) + +commit 8afe002fa96824314c921a00c692ed98e1767f06 +Author: Gheyret Kenji +Date: Sun Feb 26 11:12:37 2012 +0900 + + Uyghur translation + + po/ug.po | 2343 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2343 insertions(+) + +commit 59ba4f5eb0e3f9b43119fe59bd082671bb3c181b +Author: Ihar Hrachyshka +Date: Sat Feb 25 22:33:41 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 600 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 304 insertions(+), 296 deletions(-) + +commit 0382bbbc9bfa56ae51bb16b4a12ca87904a1488c +Author: Fran Diéguez +Date: Sat Feb 25 13:49:07 2012 +0100 + + Updated Galician translations + + po/gl.po | 600 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 304 insertions(+), 296 deletions(-) + +commit 5a84952747d606e75f093a71b0f68c111ec54c47 +Author: Matej Urbančič +Date: Thu Feb 23 21:04:59 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 612 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 310 insertions(+), 302 deletions(-) + +commit 076d803bb23a7b9b55fea70f795f097f2bb32307 +Author: Мирослав Николић +Date: Thu Feb 23 20:54:23 2012 +0100 + + Updated Serbian translation + + po/sr.po | 517 +++++++++++++++++++++++++++++---------------------------- + po/sr@latin.po | 517 +++++++++++++++++++++++++++++---------------------------- + 2 files changed, 528 insertions(+), 506 deletions(-) + +commit f27e575ad43b98f393895f419898dcced6489b37 +Author: Emmanuele Bassi +Date: Thu Feb 23 14:34:26 2012 +0000 + + build: Make abicheck.sh backend-aware + + It should be possible to adapt the abicheck.sh script so that it + actually tests the ABI of libclutter-1.0.so taking into account + the backends that were compiled into Clutter, and avoid expected + failures if Clutter was not built with a specific backend. + + https://bugzilla.gnome.org/show_bug.cgi?id=670680 + + clutter/Makefile.am | 2 +- + clutter/abicheck.sh | 25 +++++++++++++++++++------ + 2 files changed, 20 insertions(+), 7 deletions(-) + +commit 78b237b535b58332f41252679c03b91bdc5281d1 +Author: Emmanuele Bassi +Date: Thu Feb 23 17:21:57 2012 +0000 + + Clean up the included headers + + Especially inside ClutterStage. + + clutter/clutter-cairo-texture.c | 1 + + clutter/clutter-cairo-texture.h | 1 - + clutter/clutter-stage.h | 6 +++--- + clutter/clutter-text.c | 1 + + clutter/clutter-texture.c | 1 + + clutter/deprecated/clutter-box.c | 1 + + 6 files changed, 7 insertions(+), 4 deletions(-) + +commit 630282ac77070d43022c912061d15200aeb4ecea +Author: Emmanuele Bassi +Date: Thu Feb 23 17:01:40 2012 +0000 + + build: Fix the header order + + The "keep the list sorted" comment on the list of headers is there not + for fun, or because I'm anal-retentive like that. + + clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a4a35b443f2e5462dbf6fceb92f20cff2dcebc5b +Author: Daniel Mustieles +Date: Thu Feb 23 14:00:35 2012 +0100 + + Updated Spanish translation + + po/es.po | 490 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 250 insertions(+), 240 deletions(-) + +commit 8f0003f6f0a9dfa9eeb07dc84007824061a6f3a2 +Author: Emmanuele Bassi +Date: Thu Feb 23 12:15:41 2012 +0000 + + Post-release version bump to 1.9.13 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 12d74cebb95e0a2439a4b418dbf9807de7867b43 +Author: Emmanuele Bassi +Date: Thu Feb 23 12:04:29 2012 +0000 + + Release Clutter 1.9.12 (snapshot) + + NEWS | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 71 insertions(+), 1 deletion(-) + +commit 39a75436bf93ef5349449feb6e19c27b3088d9c9 +Author: Emmanuele Bassi +Date: Thu Feb 23 12:01:11 2012 +0000 + + docs: Documentation fixes + + clutter/clutter-actor-meta.h | 6 +++++- + clutter/clutter-actor.c | 2 +- + clutter/clutter-text-buffer.h | 12 +++++++++--- + clutter/gdk/clutter-backend-gdk.c | 13 +++++++++++++ + 4 files changed, 28 insertions(+), 5 deletions(-) + +commit 2b35b2a0816155903a2fed663b0a456ee3e74241 +Author: Emmanuele Bassi +Date: Thu Feb 23 11:54:41 2012 +0000 + + docs: Document ClutterTextBuffer structures + + clutter/clutter-text-buffer.h | 29 ++++++++++++++++++++++++++--- + 1 file changed, 26 insertions(+), 3 deletions(-) + +commit 0099bbf7d98f3de32a653e5618112f89657c7c5c +Author: Emmanuele Bassi +Date: Thu Feb 23 11:50:43 2012 +0000 + + docs: Fix unused symbols + + doc/reference/clutter/Makefile.am | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 2 files changed, 3 insertions(+) + +commit 115f6ee008d2305b068fdd2fe9aa16a5e3468b5d +Author: Emmanuele Bassi +Date: Thu Feb 23 11:44:21 2012 +0000 + + build: Bump up Cogl dependency + + We use the latest stable snapshot. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cf435f9512d41139ddb3f6f7eb07bce24289d561 +Author: Emmanuele Bassi +Date: Thu Feb 23 11:31:26 2012 +0000 + + Fix compiler warning + + clutter/clutter-actor.c | 9 +++------ + 1 file changed, 3 insertions(+), 6 deletions(-) + +commit 6575f25e3258970f68ff4b3391e9c55843be1671 +Author: Emmanuele Bassi +Date: Tue Feb 21 15:14:26 2012 +0000 + + docs: "Soft" deprecation of ClutterAlpha + + We cannot deprecate ClutterAlpha yet. We cannot also implement + ClutterAlpha in terms of ClutterTimeline, because multiple Alpha + instances can be attached to the same Timeline. So we can start + with a "soft" deprecation: just a warning in the documentation + stating that ClutterAlpha will be deprecated, and removed, in the + future, and that newly-written code should use ClutterTimeline + instead. + + clutter/clutter-alpha.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit e5f410d4dfd86e3b67896b8961cfdc690c04c2c2 +Author: Emmanuele Bassi +Date: Tue Feb 21 12:34:57 2012 +0000 + + Fix the progress function scope annotation + + clutter/clutter-timeline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f98bb306337f8577f820b1c1e1e28f0e5bf4755d +Author: Emmanuele Bassi +Date: Mon Oct 10 11:25:40 2011 +0100 + + animation: Deprecate Alpha usage + + We can use ClutterTimeline and its progress mode inside + ClutterAnimation; obviously, we have to maintain the invariants because + of the ClutterAnimation:alpha property, but if all you set is the :mode + property using one of the Clutter animation modes then we can skip the + ClutterAlpha entirely. + + clutter/clutter-animation.c | 322 ++++++++++++++++++++++++++------------------ + clutter/clutter-animation.h | 30 +++-- + 2 files changed, 208 insertions(+), 144 deletions(-) + +commit 7ec975ed3d60c8861dc0a89e873ed928628f5270 +Author: Emmanuele Bassi +Date: Fri Feb 17 16:06:28 2012 +0000 + + timeline: Add progress functions + + The whole progress computation should not be done using a separate + class: it should be part of the Timeline class. + + clutter/clutter-timeline.c | 249 +++++++++++++++++++++++++++-- + clutter/clutter-timeline.h | 29 +++- + clutter/clutter.symbols | 3 + + doc/reference/clutter/clutter-sections.txt | 3 + + 4 files changed, 270 insertions(+), 14 deletions(-) + +commit 59bd20a94b1644887117e4b96e446567def32a0f +Author: Emmanuele Bassi +Date: Tue Jul 12 12:32:18 2011 +0100 + + Move the easing functions to their own file + + Instead of having the easing functions be dependent of ClutterAlpha, and + static to the clutter-alpha.c source file, we should make them generic + and move them to their own internal header and source files. This will + allow to re-use them in the near future. + + clutter/Makefile.am | 2 + + clutter/clutter-alpha.c | 586 +++++++---------------------------------------- + clutter/clutter-easing.c | 380 ++++++++++++++++++++++++++++++ + clutter/clutter-easing.h | 115 ++++++++++ + 4 files changed, 575 insertions(+), 508 deletions(-) + +commit 1e3debbd9e125d4e318ba91ff1f80131ed18bdfd +Author: Emmanuele Bassi +Date: Tue Feb 21 11:08:43 2012 +0000 + + drag-action: Use the motion event when passing the drag threshold + + This avoids a critical warning, but it also makes the dragging more + fluid in case of threshold crossing. + + https://bugzilla.gnome.org/show_bug.cgi?id=670402 + + clutter/clutter-drag-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a8e631543e6e34b40b4a7ae1e345a80db23e6b4d +Author: Robert Bragg +Date: Tue Feb 21 15:55:51 2012 +0000 + + Reduce our internal dependence on the Cogl 1.x api + + Since Cogl has started restricting what cogl 1.x api is exposed when + COGL_ENABLE_EXPERIMENTAL_2_0_API is defined and since we build all + Clutter internals with COGL_ENABLE_EXPERIMENTAL_2_0_API defined this + patch makes a first pass at reducing our internal use of the Cogl 1.x + api. + + The most notable api that's no longer exposed to us internally is + the cogl_material_ api so this switches all Clutter internals to use the + cogl_pipeline_ api instead. This patch also makes quite a bit of + progress removing internal uses of CoglHandle although there is still + more to go. + + clutter/Makefile.am | 1 + + clutter/clutter-cogl-compat.h | 52 ++++++ + clutter/clutter-offscreen-effect.c | 24 +-- + clutter/clutter-offscreen-effect.h | 1 + + clutter/clutter-path.c | 13 +- + clutter/clutter-shader-effect.c | 10 +- + clutter/clutter-stage-window.h | 12 ++ + clutter/clutter-texture.c | 277 ++++++++++++++++++------------- + clutter/deprecated/clutter-fixed.c | 4 + + clutter/deprecated/clutter-shader.c | 4 + + clutter/x11/clutter-x11-texture-pixmap.c | 21 +-- + tests/conform/test-cogl-materials.c | 8 + + 12 files changed, 270 insertions(+), 157 deletions(-) + +commit eff95eba4a2e15124eb38a3d1984c6725efcbe4d +Author: Robert Bragg +Date: Tue Feb 21 14:23:44 2012 +0000 + + Pass context to cogl_texture_pixmap_x11_new() api + + The experimental cogl_texture_pixmap_x11_new() api was recently changed + to take an explicit context argument and return a GError on failures. + This updates Clutter's use of the api accordingly. + + clutter/x11/clutter-x11-texture-pixmap.c | 26 ++++++++++++++++++++------ + tests/conform/test-cogl-texture-pixmap-x11.c | 7 ++++++- + 2 files changed, 26 insertions(+), 7 deletions(-) + +commit 66cc330c0b4db8de6c819926318744c7f83e1b15 +Author: Robert Bragg +Date: Tue Feb 21 14:01:22 2012 +0000 + + Loosen the guard around clutter_backend_get_cogl_context + + We were only exposing clutter_backend_get_cogl_context() if + COGL_ENABLE_EXPERIMENTAL_2_0_API had been defined but the CoglContext + api is also available if COGL_ENABLE_EXPERIMENTAL_API has been defined. + + As it was it meant that code opting into the experimental Cogl api + but not limiting to the 2.0 only api would have to #define + COGL_ENABLE_EXPERIMENTAL_2_0_API before including clutter.h but make + sure it wasn't defined when including cogl.h which was particularly + awkward. + + clutter/clutter-backend.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 671ead6681db8e23708396dd8707ece82aaa4326 +Author: Robert Bragg +Date: Tue Feb 21 13:37:55 2012 +0000 + + Rename cogl_framebuffer_swap_* apis to cogl_onscreen_swap_* + + Recently the cogl_framebuffer_swap_* apis were moved into the + cogl_onscreen_* namespace since only CoglOnscreen framebuffers can be + double buffered. This renames all uses of the cogl_framebuffer_swap_* + apis in Clutter. + + clutter/cogl/clutter-stage-cogl.c | 27 +++++++++++++-------------- + clutter/win32/clutter-stage-win32.c | 2 +- + 2 files changed, 14 insertions(+), 15 deletions(-) + +commit fbf94310fc175491090076de887d4bcc02a772ee +Author: Robert Bragg +Date: Tue Feb 21 13:22:17 2012 +0000 + + Pass a CoglContext when calling cogl_pipeline_new + + The experimental cogl_pipeline_new() api was recently changed so it + explicitly takes a CoglContext. This updates all calls to + cogl_pipeline_new() in clutter accordingly. + + clutter/clutter-actor.c | 6 ++++- + clutter/clutter-blur-effect.c | 6 ++++- + clutter/clutter-colorize-effect.c | 6 ++++- + clutter/clutter-deform-effect.c | 41 +++++++++++++++++-------------- + clutter/clutter-desaturate-effect.c | 6 ++++- + clutter/clutter-offscreen-effect.c | 29 +++++++++++++--------- + clutter/cogl/clutter-stage-cogl.c | 10 +++++--- + clutter/wayland/clutter-wayland-surface.c | 4 ++- + 8 files changed, 69 insertions(+), 39 deletions(-) + +commit 89518071f10ac937b739810c5165225d5644d3c2 +Author: Fran Diéguez +Date: Tue Feb 21 11:38:18 2012 +0100 + + Updated Galician translations + + po/gl.po | 544 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 276 insertions(+), 268 deletions(-) + +commit fd334e652bb42a0e23ad56bb858148c219ca2200 +Author: Alexander Shopov +Date: Tue Feb 21 10:22:48 2012 +0200 + + Updated Bulgarian translation + + po/bg.po | 800 ++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 456 insertions(+), 344 deletions(-) + +commit b5369e1e401007cf61d46369956ad71b55001aca +Author: Kenneth Nielsen +Date: Mon Feb 20 22:55:26 2012 +0100 + + Updated Danish translation + + po/da.po | 1529 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 844 insertions(+), 685 deletions(-) + +commit c0e685cd871c31deabf9826246b77ff6efa8e0bc +Author: Kasia Bondarava +Date: Sat Feb 18 00:04:55 2012 +0200 + + Updated Belarusian translation + + po/be.po | 2368 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2368 insertions(+) + +commit 4e345f6edc82a1254124ad56298e9c438bd4d05d +Author: Stefano Facchini +Date: Sun Feb 19 17:56:12 2012 +0100 + + clutter-drop-action: annotation fixes for some signals + + https://bugzilla.gnome.org/show_bug.cgi?id=670433 + + clutter/clutter-drop-action.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 2cee6a8efacd4753874c88488435b3a8d1708ff7 +Author: Aurimas Černius +Date: Sat Feb 18 00:04:55 2012 +0200 + + Updated Lithuanian translation + + po/lt.po | 1568 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 872 insertions(+), 696 deletions(-) + +commit 958fbf5f66026f38bf2292765b6dbc629d2da42b +Author: Andrej Žnidaršič +Date: Wed Feb 15 20:56:43 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 545 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 277 insertions(+), 268 deletions(-) + +commit 493461e7989fc036b13cf44580c316b42b0c53a6 +Author: Alejandro Piñeiro +Date: Wed Feb 15 19:09:04 2012 +0100 + + a11y: remove Container explanation + + That explanation is outdated after the last changes on clutter + + clutter/cally/cally-actor.c | 34 ---------------------------------- + 1 file changed, 34 deletions(-) + +commit c1d43b70c51744dabccfa9040c71a2ea517513aa +Author: Alejandro Piñeiro +Date: Thu Feb 9 12:32:44 2012 +0100 + + a11y: proper ATK role for ClutterStage + + ATK_ROLE_CANVAS is not a suitable role, as the user (in general) can't + draw on the Stage. CallyStage implements AtkWindow, so the proper role + is ATK_ROLE_WINDOW + + clutter/cally/cally-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cc126f55eb948a528211bc1649cd20bc7a7c0ed7 +Author: Alejandro Piñeiro +Date: Wed Feb 8 18:46:11 2012 +0100 + + a11y: redoing focus stuff + + Removing atkcomponent, focus_tracker, etc. Emitting focus state change + from the stage. Now things are more simple, and stop to use some + of the soon-to-be-deprecated signals on ATK. + + clutter/cally/cally-actor.c | 114 +++----------------------------------------- + clutter/cally/cally-actor.h | 17 ++++--- + clutter/cally/cally-stage.c | 47 ++++++++++++++++++ + 3 files changed, 61 insertions(+), 117 deletions(-) + +commit 5b4d29bc4af6a92eb3ad700ec150c5764be1115f +Author: Emmanuele Bassi +Date: Wed Feb 15 17:43:31 2012 +0000 + + docs: Note when new ClutterBindCoordinate values were added + + The shorthands for position and size were added in 1.6. + + clutter/clutter-enums.h | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit f97ffe544fb148c5acd2bb60ac38784de76b469b +Author: Emmanuele Bassi +Date: Wed Feb 15 15:58:36 2012 +0000 + + interactive/layout: Update to modern API + + No need to override Container. Actually, no need to use the Container + API at all. This also removes a bunch of leaks. + + tests/interactive/test-layout.c | 216 +++++++--------------------------------- + 1 file changed, 35 insertions(+), 181 deletions(-) + +commit 851d2a42c4e840f01d67e6fb8400835e3bb28c37 +Author: Adel Gadllah +Date: Wed Feb 15 17:54:45 2012 +0100 + + ClutterBindConstraint: Add CLUTTER_BIND_ALL coordinate + + Add a CLUTTER_BIND_ALL that binds both size and position. + + clutter/clutter-bind-constraint.c | 7 +++++++ + clutter/clutter-enums.h | 6 ++++-- + 2 files changed, 11 insertions(+), 2 deletions(-) + +commit b8e5603a8585f6a4429263e6110a94132a7ad93d +Author: Emmanuele Bassi +Date: Wed Feb 15 14:20:59 2012 +0000 + + x11/stage: Allow setting fullscreen hint before realize + + It should be possible to do: + + clutter_stage_set_fullscreen (stage, TRUE); + clutter_actor_show (stage); + + and have the stage be full screen as soon as it is shown. + + Currently, we need to call clutter_actor_realize() prior to calling + set_fullscreen(), otherwise the backing X window will not be set, + and ClutterStageX11 will silently discard the change. + + If set_fullscreen() was called prior to realization, ClutterStageX11 + should delay setting the fullscreen hint until the realize() chain + has been successfully executed. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2515 + + clutter/x11/clutter-stage-x11.c | 205 +++++++++++++++++++++------------------- + clutter/x11/clutter-stage-x11.h | 11 ++- + 2 files changed, 114 insertions(+), 102 deletions(-) + +commit c62b69bb14b12617179e81987835099bdffd2ffc +Author: Emmanuele Bassi +Date: Wed Feb 15 13:43:15 2012 +0000 + + conform/invariants: Clean up + + Use modern API, and add a minimal check that hiding an actor will cause + it to unmap. + + tests/conform/test-actor-invariants.c | 158 ++++++++++++++++++++-------------- + tests/conform/test-conform-main.c | 18 ++-- + 2 files changed, 103 insertions(+), 73 deletions(-) + +commit ffc526044845e34c1e1210f63478342815621fbd +Author: Daniel Mustieles +Date: Wed Feb 15 12:59:01 2012 +0100 + + Updated Spanish translation + + po/es.po | 538 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 270 insertions(+), 268 deletions(-) + +commit d31bd6fe927dc5fd8a9c48695efc88d3e8ddabb5 +Author: Lionel Landwerlin +Date: Tue Jan 24 12:45:52 2012 +0000 + + x11: adjust size to minimal size when realizing + + If you execute the following sequence : + + stage = clutter_stage_new (); + clutter_actor_set_size (stage, 1280, 800); + clutter_actor_realize (stage); + + Then you end up creating an onscreen buffer of size 1280x800 but + ClutterStageX11 storing the stage size at 640x480. + + This patch resync the 2 implementation by using the ClutterStage's + size in both classes when realizing. + + Signed-off-by: Lionel Landwerlin + + https://bugzilla.gnome.org/show_bug.cgi?id=667540 + + clutter/x11/clutter-stage-x11.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit b1ff53d98017089667e29135c49bf451446a4f74 +Author: Emmanuele Bassi +Date: Wed Feb 15 09:30:18 2012 +0000 + + effects: Delay the creation of the base pipeline + + Unconditionally creating CoglPipeline and CoglSnippets inside the class + initialization functions does not seem to be enough when dealing with + headless builds. + + Our last resort is to lazily create the base pipeline the first time we + try to copy it, during the instance initialization. + + clutter/clutter-blur-effect.c | 37 ++++++++++++++++++---------------- + clutter/clutter-colorize-effect.c | 40 ++++++++++++++++++------------------- + clutter/clutter-desaturate-effect.c | 39 ++++++++++++++++++------------------ + 3 files changed, 60 insertions(+), 56 deletions(-) + +commit d81ae9dd650f0a780cbd0ccedfe38d3150e2ac22 +Author: Мирослав Николић +Date: Wed Feb 15 10:17:45 2012 +0100 + + Updated Serbian translation + + po/sr.po | 529 ++++++++++++++++++++++++++++----------------------------- + po/sr@latin.po | 529 ++++++++++++++++++++++++++++----------------------------- + 2 files changed, 512 insertions(+), 546 deletions(-) + +commit 84632d9c1d54d6902bee42bb9a1aa9f4bf773a90 +Author: Jasper St. Pierre +Date: Tue Feb 14 15:43:38 2012 -0500 + + actor: Correct get_paint_volume for an actor with no children and no clip + + We do not need to repaint the entire stage if an actor has no children + and no clip. + + clutter/clutter-actor.c | 23 +++++++++++++++++++---- + 1 file changed, 19 insertions(+), 4 deletions(-) + +commit 114250e329b71cbcdd46ff8788afb87c5ea70c6d +Author: Jasper St. Pierre +Date: Tue Feb 14 16:17:07 2012 -0500 + + clutter.symbols: Fix up symbols + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit c1a57e537b07e0036cec491044d92b5becdbc4b8 +Author: Emmanuele Bassi +Date: Tue Feb 14 17:14:25 2012 +0000 + + Do not check for features inside class initialization + + The class initialization function may be called when Clutter hasn't been + fully initialized — for instance, when scanning the source with gtk-doc + or with the introspection scanner. + + clutter/clutter-blur-effect.c | 19 +++++++------------ + clutter/clutter-colorize-effect.c | 16 ++++++---------- + clutter/clutter-desaturate-effect.c | 16 ++++++---------- + 3 files changed, 19 insertions(+), 32 deletions(-) + +commit 553f446315f6d6122fd75277e4fde1d9526532f5 +Author: Emmanuele Bassi +Date: Tue Feb 14 16:50:52 2012 +0000 + + interactive/actor: Add more animations + + Rotation along the Y axis and depth change. + + tests/interactive/test-actor.c | 74 ++++++++++++++++++++++++++++++++++++++---- + 1 file changed, 68 insertions(+), 6 deletions(-) + +commit c44ffb02f52682080f73e827ecaf06d520f8125d +Author: Emmanuele Bassi +Date: Tue Feb 14 15:48:15 2012 +0000 + + interactive/actor: Use a BoxLayout + + As it was intended. + + tests/interactive/test-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f854619bc976775af7c2a7ab7d52cec7cc0c490c +Author: Emmanuele Bassi +Date: Tue Feb 14 15:39:15 2012 +0000 + + box-layout: Fix allocation brain farts + + The allocation code for BoxLayout contains a sequence of brain farts + that make it barely working since the synchronization of the layout + algorithm to the one in GtkBox. + + The origin of the layout is inverted, and it doesn't take into + consideration a modified allocation origin (for actors the provide + padding or margin). + + The pack-start property is broken, and it only works because we walk the + children list backwards; this horribly breaks when a child changes + visibility. Plus, we count invisible children, which leads to + allocations getting insane origins (either close to -MAX_FLOAT or + MAX_FLOAT). + + Finally, the allocation is applied twice even for non-animated cases. + + https://bugzilla.gnome.org/show_bug.cgi?id=669291 + + clutter/clutter-box-layout.c | 67 ++++++++++++++++++++++++++------------------ + 1 file changed, 39 insertions(+), 28 deletions(-) + +commit dbd603c5046254b555293b376dfbb59f80521311 +Author: Alejandro Piñeiro +Date: Tue Feb 14 16:37:51 2012 +0100 + + ClutterStage: notify "key-focus" change on clutter_stage_emit_key_focus_event + + clutter/clutter-stage.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 0f5ddb6d6c05e08f1c5c74f2ac867f2f6ec30077 +Author: Jasper St. Pierre +Date: Mon Feb 13 22:40:15 2012 -0500 + + actor: Add freeze/thaw when changing the first/last child + + This should improve performance when adding/removing lots + of children. + + clutter/clutter-actor.c | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +commit cf735b54df4bce53cac6e3ae9d41f4c88037f3a7 +Author: Rob Bradford +Date: Fri Feb 10 16:46:45 2012 +0000 + + wayland: Add accessor API to permit access to underlying Wayland structures + + * clutter_wayland_input_device_get_wl_input_device for the input device + * clutter_wayland_stage_get_wl_surface for the Wayland surface + * clutter_wayland_stage_get_wl_shell_surface for the shell surface + + clutter/Makefile.am | 4 ++ + clutter/wayland/clutter-input-device-wayland.c | 29 +++++++++++++ + clutter/wayland/clutter-stage-wayland.c | 58 ++++++++++++++++++++++++++ + clutter/wayland/clutter-wayland.h | 48 +++++++++++++++++++++ + 4 files changed, 139 insertions(+) + +commit 84362a8257e0ce06fecf7b23c1adb6f15f4649c9 +Author: Rob Bradford +Date: Fri Feb 10 16:44:32 2012 +0000 + + build: Install a clutter-wayland pkg-config file + + clutter/Makefile.am | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 3218cd686580d0c0e15d4ef88199e6f90e6e23b1 +Author: Neil Roberts +Date: Mon Nov 28 13:46:30 2011 +0000 + + Convert all of the internal shader-based effects to use snippets + + This converts the blur, colorize and desaturate effects to use + snippets instead of CoglPrograms. Cogl can handle the snippets much + more efficiently than programs so this should be a performance win. It + also fixes the problem that Cogl would end up recompiling the program + for every instance of the effects because Clutter was not reusing the + same program. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-blur-effect.c | 197 ++++++++++++++++-------------------- + clutter/clutter-colorize-effect.c | 178 ++++++++++++++++---------------- + clutter/clutter-desaturate-effect.c | 175 ++++++++++++++++---------------- + 3 files changed, 260 insertions(+), 290 deletions(-) + +commit b4887c3699e70a221b4e3b68ff2996d8c541f714 +Author: Neil Roberts +Date: Mon Feb 13 15:11:44 2012 +0000 + + blur-effect: Use the texture size to work out the x/y step + + The blur effect needs to pass a uniform to the GLSL shader so that it + can know the texture coordinate offset from one texel to another. To + calculate this the blur effect was previously using the allocation + size of the actor rounded up to the next power of two. Presumably the + assumption was that Cogl would round up the size of the texture to the + next power of two when allocating the texture. However this is not be + true if the driver supports NPOT textures. Also it doesn't take into + account the paint volume of the actor which may cause the texture to + be a completely different size. This patch just changes to directly + use the size of the texture. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-blur-effect.c | 41 +++++++++++++++-------------------------- + 1 file changed, 15 insertions(+), 26 deletions(-) + +commit 041ac40056f8f2e882b37ce51c9c0baed18e1f83 +Author: Neil Roberts +Date: Mon Nov 28 11:53:54 2011 +0000 + + offscreen-effect: Add clutter_offscreen_effect_get_texture + + Sometimes a subclass of ClutterOffscreenEffect wants to paint with a + completely custom material. In that case it is awkward to modify the + material returned owned by ClutterOffscreenEffect so it makes more + sense to just get the texture and manage its own material. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-offscreen-effect.c | 88 ++++++++++++++++++++---------- + clutter/clutter-offscreen-effect.h | 2 + + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 61 insertions(+), 30 deletions(-) + +commit 0f04a1cd11500c943b41351ea603331f0bc6d746 +Author: Neil Roberts +Date: Fri Feb 10 10:46:25 2012 +0000 + + tests: Remove conformance tests that have been ported to Cogl + + A lot of the conformance tests that were just testing Cogl + functionality have been ported to be standalone Cogl tests in the Cogl + source tree. This patch removes those from Clutter so we don't have to + maintain them in two places. + + Reviewed-by: Emmanuele Bassi + + tests/conform/Makefile.am | 11 - + tests/conform/test-cogl-backface-culling.c | 340 ------------------- + tests/conform/test-cogl-blend-strings.c | 433 ------------------------- + tests/conform/test-cogl-depth-test.c | 336 ------------------- + tests/conform/test-cogl-just-vertex-shader.c | 138 -------- + tests/conform/test-cogl-offscreen.c | 163 ---------- + tests/conform/test-cogl-path.c | 235 -------------- + tests/conform/test-cogl-pipeline-user-matrix.c | 146 --------- + tests/conform/test-cogl-primitive.c | 245 -------------- + tests/conform/test-cogl-sub-texture.c | 368 --------------------- + tests/conform/test-cogl-texture-3d.c | 230 ------------- + tests/conform/test-cogl-wrap-modes.c | 319 ------------------ + tests/conform/test-conform-main.c | 13 - + 13 files changed, 2977 deletions(-) + +commit 0e542aa30615353e4279e5ee3ef6430872584c4e +Author: Neil Roberts +Date: Thu Feb 9 17:22:24 2012 +0000 + + clutter-texture: Don't create a dummy texture + + All of the pipelines used for ClutterTexture actors share a common + pipeline ancestor created with cogl_pipeline_copy. Previously this + ancestor had a dummy 1x1 texture attached to it so that it would end + up with the same state as the child pipelines that will render with a + texture. Cogl now has a mechanism to specify that a texture will be + used with a pipeline layer without having to create an actual texture. + This patch makes it use that to avoid having an unused texture. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-texture.c | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + +commit f861c788c9c9df4d5eaa62639c2cbde743b8118c +Author: Chun-wei Fan +Date: Tue Feb 14 09:52:14 2012 +0800 + + Update VS property sheets + + "Install" the "new" deprecated/clutter-timeline.h header + + build/win32/vs10/clutter.props | 2 ++ + build/win32/vs9/clutter.vsprops | 1 + + 2 files changed, 3 insertions(+) + +commit e3151228958e66fc8a0271c6cffd26234aa9ab69 +Author: Jasper St. Pierre +Date: Mon Feb 13 17:12:41 2012 -0500 + + actor: Allow insert_child_at_index to add a child at the end with an index + + If we have N children and the user passes N (or a number beyond N) to + clutter_actor_insert_child_at_index, we should respond by adding the + child at the end, not silently doing nothing. + + clutter/clutter-actor.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit bbb7da03ac56a600b72dd81708db3f2af2113887 +Author: Emmanuele Bassi +Date: Mon Feb 13 18:19:48 2012 +0000 + + Add a note on the paint volume origin + + This should avoid trying to fix the origin of a paint volume set from + the allocation's origin, and thus breaking everything. + + A PaintVolume for an actor is defined to be relative to the actor's + modelview unless specifically modified by internal functions; the origin + of an actor's allocation is, on the other hand, parent-relative. + + clutter/clutter-actor.c | 5 ++++- + clutter/clutter-paint-volume.c | 8 ++++++-- + clutter/clutter-types.h | 5 ++++- + 3 files changed, 14 insertions(+), 4 deletions(-) + +commit 8512dd2336f6583e52cbc46d0133ab47dd75b30a +Author: Jasper St. Pierre +Date: Mon Feb 13 12:43:08 2012 -0500 + + actor: Only care about a child's paint volume when clip_to_allocation isn't set + + If we're clipping to the allocation, then the child can paint wherever it + wants, and we don't care. The paint volume is the allocation here. + + clutter/clutter-actor.c | 67 ++++++++++++++++++++++++++----------------------- + 1 file changed, 35 insertions(+), 32 deletions(-) + +commit b5aa666dcd853b063c44f279e41b73e2f792e1aa +Author: Emmanuele Bassi +Date: Mon Feb 13 17:56:12 2012 +0000 + + actor: Remove stray cogl_object_unref() + + The outline primitive is static, so unref'ing it makes Clutter crash. + + clutter/clutter-actor.c | 1 - + 1 file changed, 1 deletion(-) + +commit 3996ae4348e4545c36a14f2aa6d57bb68c2023b9 +Author: Emmanuele Bassi +Date: Mon Feb 13 17:26:37 2012 +0000 + + actor: Add destroy_all_children() + + There are times when we don't want to remove all children and count of + the reference count to drop to 0 to ensure destruction; there are cases, + such as managed environments, where it's preferable to ensure that the + children of an actor get actually destroyed. + + clutter/clutter-actor.c | 51 ++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 1 + + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 4 ++- + 4 files changed, 56 insertions(+), 1 deletion(-) + +commit 83119966a4216813cb8b641fd827b07be6bc7bfd +Author: Emmanuele Bassi +Date: Mon Feb 13 16:58:30 2012 +0000 + + interactive/depth: Drop deprecated API + + tests/interactive/test-depth.c | 26 ++++++++++++++------------ + 1 file changed, 14 insertions(+), 12 deletions(-) + +commit 5b17b4e41bf861ceb35ca887293db23ae13fe9a2 +Author: Emmanuele Bassi +Date: Mon Feb 13 16:47:17 2012 +0000 + + interactive/*: Update the API usage + + Drop some deprecated methods. + + tests/interactive/test-actor-clone.c | 4 ++-- + tests/interactive/test-actors.c | 4 ++-- + tests/interactive/test-animation.c | 2 +- + tests/interactive/test-behave.c | 4 ++-- + tests/interactive/test-bin-layout.c | 2 +- + tests/interactive/test-cairo-clock.c | 2 +- + tests/interactive/test-cairo-flowers.c | 4 ++-- + tests/interactive/test-depth.c | 2 +- + tests/interactive/test-devices.c | 2 +- + tests/interactive/test-easing.c | 2 +- + tests/interactive/test-fbo.c | 4 +--- + tests/interactive/test-flow-layout.c | 2 +- + tests/interactive/test-layout.c | 2 +- + tests/interactive/test-multistage.c | 6 +++--- + tests/interactive/test-paint-wrapper.c | 4 ++-- + tests/interactive/test-pixmap.c | 2 +- + tests/interactive/test-scale.c | 9 +++------ + tests/interactive/test-shader-effects.c | 4 ++-- + tests/interactive/test-shader.c | 2 +- + tests/interactive/test-state.c | 2 +- + tests/interactive/test-text-field.c | 2 +- + tests/interactive/test-text.c | 2 +- + tests/interactive/test-texture-async.c | 2 +- + tests/interactive/test-texture-quality.c | 2 +- + tests/interactive/test-threads.c | 4 ++-- + 25 files changed, 36 insertions(+), 41 deletions(-) + +commit bc7959069b6755052b76eccfc22d6543d77116cc +Author: Emmanuele Bassi +Date: Mon Feb 13 16:05:21 2012 +0000 + + Deprecate ClutterStage:color + + ClutterActor has a background-color property, now; we should use it for + the Stage, re-implement the color property in terms of background-color. + and deprecate the Stage property. + + clutter/clutter-stage.c | 57 +++++++++++++++++++------------------- + clutter/clutter-stage.h | 4 --- + clutter/deprecated/clutter-stage.h | 27 ++++++++++++------ + 3 files changed, 47 insertions(+), 41 deletions(-) + +commit d808367fe451005cf1e7923434cf08d2afc0c29c +Author: Emmanuele Bassi +Date: Mon Feb 13 15:26:26 2012 +0000 + + docs: Use ClutterTimeline:repeat-count instead of :loop + + doc/reference/clutter/clutter-animation-tutorial.xml | 15 +++++++++++---- + doc/reference/clutter/migrating-ClutterBehaviour.xml | 2 +- + 2 files changed, 12 insertions(+), 5 deletions(-) + +commit cf9c4e651d0527be08f889a246c3366171437e4b +Author: Emmanuele Bassi +Date: Mon Feb 13 15:04:18 2012 +0000 + + timeline: Move deprecated methods into a separate header + + clutter/Makefile.am | 1 + + clutter/clutter-deprecated.h | 1 + + clutter/clutter-timeline.h | 10 --------- + clutter/deprecated/clutter-timeline.h | 41 +++++++++++++++++++++++++++++++++++ + 4 files changed, 43 insertions(+), 10 deletions(-) + +commit cf1abda709f0eadb30a25bdf74efafcf4f46f4f0 +Author: Emmanuele Bassi +Date: Mon Feb 13 15:04:00 2012 +0000 + + animation: Do not use deprecated timeline methods + + clutter/clutter-animation.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 657e0ce093198b83851f90ac47809b1732e3fa6e +Author: Emmanuele Bassi +Date: Mon Feb 13 14:58:47 2012 +0000 + + cookbook: Use clutter_timeline_set_repeat_count() + + doc/cookbook/animations.xml | 8 ++++---- + doc/cookbook/examples/animations-looping-animator.c | 2 +- + doc/cookbook/examples/animations-looping-implicit.c | 2 +- + doc/cookbook/examples/animations-path-circle.c | 2 +- + doc/cookbook/examples/animations-path.c | 2 +- + 5 files changed, 8 insertions(+), 8 deletions(-) + +commit 97feb06a6f4fbfb40af09e3436c81ec9a253ba4c +Author: Emmanuele Bassi +Date: Mon Feb 13 14:45:06 2012 +0000 + + timeline: Add repeat-count + + Being able to easily set the number of repeats has been a request for + the animation framework for some time now. The usual way to implement + this is: connect to the ::completed signal, use a static counter, and + stop the timeline when the counter hits a specific spot. + + In the same light as the :auto-reverse property, we can make it easier + to implement this common functionality by adding a :repeat-count + property that, when set, limits the amount of loops that a Timeline can + perform before stopping itself. + + In fact, we can implement the :loop property in terms of the + :repeat-count property just by using a sentinel value mapping to + "infinity", and map loop=FALSE to repeat-count=0, and loop=TRUE to + repeat-count=-1. + + clutter/clutter-timeline.c | 181 +++++++++++++++++++++++------ + clutter/clutter-timeline.h | 13 ++- + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 6 +- + 4 files changed, 163 insertions(+), 39 deletions(-) + +commit 42774689282a5d13210ab5943bbb75e6a3a0e047 +Author: Emmanuele Bassi +Date: Mon Feb 13 13:44:52 2012 +0000 + + timeline: Deprecate the clone() method + + The clutter_timeline_clone() method was a pretty dumb idea when it was + introduced, back when we still had the ClutterEffectTemplate and the + clutter_effect_* animation API. It has since become an API wart: we + cannot change or add new properties to be cloned without the risk of + breaking existing code. All in all, cloning a GObject is just a matter + of calling g_object_new() with the wanted properties. + + Let's deprecate this throwback of the Olden Days™, so that we can remove + it for good once we break for 2.0. + + clutter/clutter-timeline.c | 19 +++++++++++++------ + clutter/clutter-timeline.h | 1 + + 2 files changed, 14 insertions(+), 6 deletions(-) + +commit bc2e4ac6c2ebdf00996f472f6583b582c5250a94 +Author: Emmanuele Bassi +Date: Mon Feb 13 13:39:47 2012 +0000 + + Clean up clutter-timeline.h + + Re-align everything to allow expansion, and move the only "protected" + function to the clutter-master-clock.h private header. + + clutter/clutter-master-clock.h | 20 +++++----- + clutter/clutter-timeline.h | 90 ++++++++++++++++++++---------------------- + 2 files changed, 54 insertions(+), 56 deletions(-) + +commit aec65c91980888fca45d367ec8c33a32352de686 +Author: Jasper St. Pierre +Date: Thu Feb 9 15:45:14 2012 -0500 + + actor-meta: Correct annotations for vfuncs + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor-meta.h | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 96031a4f6f53dfb1067e1e3a176ac5103fd7d59d +Author: Jasper St. Pierre +Date: Thu Feb 9 08:48:18 2012 -0500 + + actor: Fix some broken annotations + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit 3adcbb265c7f592abd6a7a98a257cbb610235d52 +Author: Emmanuele Bassi +Date: Mon Feb 13 11:43:26 2012 +0000 + + Update the Clutter moduleset + + build/clutter.modules | 459 ++++++++++++++++++++++++++++++-------------------- + 1 file changed, 272 insertions(+), 187 deletions(-) + +commit d8a51726e13e98cdce2a57782e33a12e570086d9 +Author: Emmanuele Bassi +Date: Mon Feb 13 08:59:09 2012 +0000 + + actor: Implement remove_all_children using ActorIter + + The remove_all_children() method is an ideal candidate for using the + ActorIter API; the end result is more compact and easy to follow. + + clutter/clutter-actor.c | 16 +++++----------- + 1 file changed, 5 insertions(+), 11 deletions(-) + +commit 8f6da170bc2e8fb9ca02970ca864add9f7722c5d +Author: Emmanuele Bassi +Date: Mon Feb 13 08:52:08 2012 +0000 + + input-device: Do not use weak references with actors + + Use the ClutterActor::destroy signal. + + clutter/clutter-input-device.c | 22 ++++++++-------------- + 1 file changed, 8 insertions(+), 14 deletions(-) + +commit f024b852f9bb90d4efeba78ae255bfa6c25aa27e +Author: Emmanuele Bassi +Date: Mon Feb 13 08:45:22 2012 +0000 + + stage: Do not use weak refs with actors + + ClutterActor provides a signal for notifying destruction: using weak + references is neither indicated nor recommended. + + clutter/clutter-stage.c | 38 ++++++++++++++------------------------ + 1 file changed, 14 insertions(+), 24 deletions(-) + +commit 519da376f070f8688a41b672601779aa99bec28a +Author: Emmanuele Bassi +Date: Mon Feb 13 08:44:40 2012 +0000 + + stage: Clean up + + Remove some ifdeffed out dead code, and some duplication. + + clutter/clutter-stage.c | 95 +++++++++---------------------------------------- + 1 file changed, 16 insertions(+), 79 deletions(-) + +commit cd118f0dc0172be089519b47da721eeca67bbc30 +Author: Emmanuele Bassi +Date: Sat Feb 11 16:02:31 2012 +0000 + + text: Fix regression + + When the ClutterTextBuffer support inside ClutterText was merged, it + introduced a regression that was identified and fixed in bug 659116. + + The optimization to not paint empty ClutterText actors is only valid + is the actor is not editable, or if the cursor is not visible. + + clutter/clutter-text.c | 11 ++++------- + 1 file changed, 4 insertions(+), 7 deletions(-) + +commit f770cce7a5b0efaac3ae5732fe9673d68528b8d3 +Author: Emmanuele Bassi +Date: Fri Feb 10 12:26:43 2012 +0000 + + build: Fix platform_linux check + + Missing * at the end. + + As a side effect, this commit enables the ABI check when running make + check inside the clutter/ directory. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 66451e75d31e79e3c25f6dcbb8cf0a1b10d91d99 +Author: Chun-wei Fan +Date: Fri Feb 10 16:15:06 2012 +0800 + + Update config.h.win32(.in) + + Make it more like the config.h(.in) in terms of the entries to check. + + config.h.win32.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit ca9b27615dcd79573ac94d670f905b39bf1bd3e5 +Author: Chun-wei Fan +Date: Fri Feb 10 16:10:47 2012 +0800 + + Update Visual C++ property sheets + + -Stop installing the cookbook items for now + -Reflect on newly added and deprecated public headers + + build/win32/vs10/clutter.props | 22 ++++++++-------------- + build/win32/vs9/clutter.vsprops | 12 ++++-------- + 2 files changed, 12 insertions(+), 22 deletions(-) + +commit 5220d659e0b9f2cffb246019ee19605f255e1af7 +Author: Chun-wei Fan +Date: Fri Feb 10 15:50:55 2012 +0800 + + Update Clutter Visual C++ projects + + Link also to GIO as the GResource APIs from GIO is now being used + + build/win32/vs10/clutter.vcxprojin | 8 ++++---- + build/win32/vs9/clutter.vcprojin | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 001e83940156d083696781cdce09a6906283f868 +Author: Emmanuele Bassi +Date: Thu Feb 9 18:42:27 2012 +0000 + + Add abicheck.sh + + Courtesy of GLib and GTK+. The abicheck.sh is a simple, Linux-only, + script to check that we're not leaking private symbols, or that the + clutter.symbols file hasn't been updated. + + In theory, it should go inside the distcheck phase. + + clutter/Makefile.am | 18 ++++++++++++++++++ + clutter/abicheck.sh | 11 +++++++++++ + 2 files changed, 29 insertions(+) + +commit de9efd98a70bfc1aa652b2758eb3d02fc6ad58af +Author: Emmanuele Bassi +Date: Thu Feb 9 18:41:55 2012 +0000 + + symbols: Update + + Add a bunch of missing public symbols, and remove some cruft. + + clutter/clutter.symbols | 72 +++++++++++++++++++++---------------------------- + 1 file changed, 31 insertions(+), 41 deletions(-) + +commit 92f6b520cb27e45f6682b0b06d76fed36ad43cfa +Author: Emmanuele Bassi +Date: Thu Feb 9 18:41:19 2012 +0000 + + build: Identify the Linux hosts + + This gives us a nice conditional, like the one we have on Windows and + OSX. + + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 910b09d70a41ab58a14d316143a5354c332d2cc1 +Author: Emmanuele Bassi +Date: Thu Feb 9 18:40:03 2012 +0000 + + Mark internal symbol as private + + A bunch of private symbols have escaped into the SO; let's rectify this + situation by using the '_' private prefix, or making them static as they + should have been. + + clutter/clutter-actor.c | 6 ++-- + clutter/clutter-list-model.c | 20 +++++++------- + clutter/clutter-master-clock.c | 2 ++ + clutter/clutter-master-clock.h | 4 +-- + clutter/clutter-model-private.h | 59 ++++++++++++++++++++++++++++------------ + clutter/clutter-model.c | 52 +++++++++++++++++------------------ + clutter/clutter-script-parser.c | 2 ++ + clutter/clutter-script-private.h | 4 +-- + 8 files changed, 89 insertions(+), 60 deletions(-) + +commit 8ba0351c7ab8f1c9e0d76c78fb56c3b9e8fe4210 +Author: Emmanuele Bassi +Date: Thu Feb 9 16:44:28 2012 +0000 + + conform/actor: Add unit for the Container signals + + ClutterActor should be emitting signals defined on the ClutterContainer + interface, as well as ensuring that manipulating the scene graph is + still possible from within them. + + The new unit checks that we're emitting signals, by implementing + something similar to the Bin class available in toolkits like gtk, st, + and mx — i.e. a container that can only hold one child at any given + point. + + tests/conform/test-actor-graph.c | 74 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 2 files changed, 75 insertions(+) + +commit fee53a2993db3795bd7ffbb4e878c807ccdaa80c +Author: Neil Roberts +Date: Wed Dec 21 15:13:53 2011 +0000 + + clutter-backend: Use the Cogl main loop mechanism + + Cogl now requires that all applications integrate their main loop with + Cogl so that it can listen for events from winsys. This patch just + adds Cogl's GSource to the main loop. + + Reviewed-by: Emmanuele Bassi + Reviewed-by: Robert Bragg + + clutter/clutter-backend-private.h | 1 + + clutter/clutter-backend.c | 6 ++++++ + 2 files changed, 7 insertions(+) + +commit bace07c0a02198a97f89c516849e5161e20d26c3 +Author: Robert Bragg +Date: Thu Feb 9 16:04:19 2012 +0000 + + Updates use of Cogl in line with api changes + + Some of Cogl's experimental apis have changed so that the buffer apis + now need to be passed a context argument and some drawing apis have been + replaced with cogl_framebuffer_ drawing apis that take explicit + framebuffer and pipeline arguments. + + These changes were made as part of Cogl moving towards a more stateless + api that doesn't rely on a global context. + + This patch updates Clutter to work with the latest Cogl api and bumps + the required Cogl version to 1.9.5. + + Reviewed-by: Emmanuele Bassi + Reviewed-by: Neil Roberts + + clutter/clutter-actor.c | 18 ++++++---- + clutter/clutter-deform-effect.c | 27 ++++++++------- + configure.ac | 2 +- + tests/conform/test-cogl-pixel-buffer.c | 12 +++++-- + tests/conform/test-cogl-primitive.c | 60 +++++++++++++++++++++------------- + 5 files changed, 75 insertions(+), 44 deletions(-) + +commit d0e945fb70814ce1f75afef3baebd1b3cd352cb9 +Author: Emmanuele Bassi +Date: Thu Feb 9 15:49:30 2012 +0000 + + actor: Add ClutterActorIter.destroy() + + Similar to the clutter_actor_iter_remove(), but it'll call destroy() + instead of remove_child(). + + We can also reimplement the ::destroy default handler using it, and make + it more compact. + + clutter/clutter-actor.c | 49 ++++++++++++++++++++++++++++++++++++++++++------- + clutter/clutter-actor.h | 1 + + 2 files changed, 43 insertions(+), 7 deletions(-) + +commit 59bb19a4494d4be2b431cf62ccb34efc894cd027 +Author: Emmanuele Bassi +Date: Thu Feb 9 15:43:25 2012 +0000 + + actor: Add a default handler for ::destroy + + Now that ClutterActor can be instantiated, we need to do the right + thing, and destroy its children when it is destroyed. + + clutter/clutter-actor.c | 54 ++++++++++++++++++++++++++++++++----------------- + 1 file changed, 35 insertions(+), 19 deletions(-) + +commit 630e602eac37b831677376c33b208a5c536f8260 +Author: Emmanuele Bassi +Date: Thu Feb 9 15:38:11 2012 +0000 + + docs: Update the Container interface documentation + + The API reference should be more explicit about which parts of the + interface should be overridden, and which are deprecated. + + clutter/clutter-container.c | 58 +++++++++++++++++++++++++++++++++++++++++---- + 1 file changed, 53 insertions(+), 5 deletions(-) + +commit 0c715d00264241307b53a7d167352b127b46d314 +Author: Emmanuele Bassi +Date: Thu Feb 9 14:22:31 2012 +0000 + + conform/actor-graph: Add more cases + + The actor-insert unit is not exercising the whole API and its allowed + arguments; this let sneak in the buglet found in bug 669730. + + tests/conform/test-actor-graph.c | 33 +++++++++++++++++++++++++++++++++ + 1 file changed, 33 insertions(+) + +commit a023bb341201b0dbb438efaef8d9d03ce99269de +Author: Florian Müllner +Date: Thu Feb 9 02:13:50 2012 +0100 + + actor: Fix add_child_at_index() for negative index + + There is a typo in the check for a negative index: the index variable + should be index_, not index - unfortunately, the latter can still be + resolved to index(3), so compiler and linker are perfectly happy. + + https://bugzilla.gnome.org/show_bug.cgi?id=669730 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 74821f61c0f0880545dd12fd96be1539a9e72894 +Author: Мирослав Николић +Date: Wed Feb 8 21:40:54 2012 +0100 + + Updated Serbian translation + + po/sr.po | 1520 +++++++++++++++++++++++++++++++------------------------- + po/sr@latin.po | 1520 +++++++++++++++++++++++++++++++------------------------- + 2 files changed, 1710 insertions(+), 1330 deletions(-) + +commit e7511dd4695a0b817e439743d2263275814de72e +Author: Emmanuele Bassi +Date: Tue Feb 7 11:36:27 2012 +0000 + + text: Avoid changing the contents when possible + + An editable ClutterText will reset the selection and cursor whenever the + contents are changed — even if those contents are the same. As this may + confuse the user, we should check if we're setting the exact same string, + and bail out if necessary. + + clutter/clutter-text.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit d509455de0f95fc804eb91776ec9e051df7cbca5 +Author: Emmanuele Bassi +Date: Tue Feb 7 11:33:12 2012 +0000 + + text: Fix annotations + + Both set_text() and set_markup() have relaxed their preconditions on a + non-NULL string as their argument, so we need to update the annotations. + + clutter/clutter-text.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 15441bb28029d3d328c4a450a384fa822c5fd023 +Author: Emmanuele Bassi +Date: Tue Feb 7 11:31:28 2012 +0000 + + text: Style cleanups + + Inline wrapper functions, and remove deep nested if's. + + clutter/clutter-text.c | 70 ++++++++++++++++++++++++++------------------------ + 1 file changed, 37 insertions(+), 33 deletions(-) + +commit 1d55af9dfacb7cc3bad2e36644b8933ddd6f87ca +Author: Emmanuele Bassi +Date: Tue Feb 7 11:30:43 2012 +0000 + + interactive/text-field: Modernize + + tests/interactive/test-text-field.c | 79 ++++++++++++++++++++----------------- + 1 file changed, 42 insertions(+), 37 deletions(-) + +commit 7ba9774572e44ad0049ecc8acb5dd093c9b0bbd1 +Author: Emmanuele Bassi +Date: Mon Feb 6 18:23:21 2012 +0000 + + text: Add the coords_to_position() method + + The reverse of position_to_coords(). + + While providing documentation on how to implement it using the + PangoLayout API, I realized that the verbosity of it all, plus the usage + of the Pango API, was not worth it, and decided to expose the method we + are using internally. + + clutter/clutter-text.c | 30 +++++++++++++++++++++--------- + clutter/clutter-text.h | 3 +++ + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 26 insertions(+), 9 deletions(-) + +commit 3305105a8cf69dcc4ced98a896264559ef9d0f42 +Author: Emmanuele Bassi +Date: Mon Feb 6 17:34:26 2012 +0000 + + docs: Fix up Since annotation + + We only use stable releases for "since" tags. + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit de64ccb45150d9f7cbaf1ec8f7c6de2680083a01 +Author: Emmanuele Bassi +Date: Mon Feb 6 16:45:15 2012 +0000 + + Post-release version bump to 1.9.11 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0d7ec670f1fccddc2666b53b0947a2ff77805634 +Author: Emmanuele Bassi +Date: Mon Feb 6 16:40:00 2012 +0000 + + Release 1.9.10 (snapshot) + + NEWS | 39 +++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 40 insertions(+), 1 deletion(-) + +commit 8b904aa626a3b67a2058c86ee5bc7ef14aac024d +Author: Emmanuele Bassi +Date: Mon Feb 6 16:34:18 2012 +0000 + + docs: Update release notes + + README.in | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit ad276865d2874b53311840eee79dd4d41ef2dc77 +Author: Tristan Van Berkom +Date: Sun Jan 29 21:29:38 2012 +0900 + + Fixed clutter_state_remove_key_internal() to propagate the is_inert state + + This was causing warnings when calling g_object_weak_unref on an + already finalized object. + + https://bugzilla.gnome.org/show_bug.cgi?id=668951 + + clutter/clutter-state.c | 12 +++++++----- + 1 file changed, 7 insertions(+), 5 deletions(-) + +commit 047f60b13829bc8fee66c9107e90f1aacf40cf93 +Author: Tristan Van Berkom +Date: Sat Feb 4 22:43:51 2012 +0900 + + Fix Makefile to properly include clutter-backend-eglnative.h in the disted tarball + + https://bugzilla.gnome.org/show_bug.cgi?id=669360 + + clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit ce9564e5584381794ea6b8fae379ad2c3b499bef +Author: Emmanuele Bassi +Date: Mon Feb 6 15:34:13 2012 +0000 + + model: Drop GValueArray usage + + We can use a plain C array of GValues when deserializing a ClutterModel + implementation from a ClutterScript description. + + clutter/clutter-model.c | 49 ++++++++++++++++++++++++++++--------------------- + 1 file changed, 28 insertions(+), 21 deletions(-) + +commit d699328f7fbefc49df5bcfe6703a707e9478d7a5 +Author: Emmanuele Bassi +Date: Mon Feb 6 14:37:49 2012 +0000 + + list-model: Migrate from GValueArray + + GValueArray is on its way to deprecation in GLib; as far as the + ListModel class is concerned, a plain C array of GValue is a perfectly + suitable replacement for the GValueArray usage. It actually is an + improvement, given that it's going to take less memory. + + clutter/clutter-list-model.c | 63 ++++++++++++++++++++++++-------------------- + 1 file changed, 35 insertions(+), 28 deletions(-) + +commit bfe71293757468f56922b138ba299dfda449fa2d +Author: Emmanuele Bassi +Date: Sun Feb 5 08:47:17 2012 +0000 + + Clean up clutter-actor.h + + It's time, we delayed far too long. + + clutter/clutter-actor.h | 623 +++++++++++++++++++++++------------------------- + 1 file changed, 301 insertions(+), 322 deletions(-) + +commit ad62075378259e301e78620a7cfe5bc9ddc4164f +Author: Emmanuele Bassi +Date: Thu Feb 2 14:07:38 2012 +0000 + + interactive/actor: Show event and animation API + + tests/interactive/test-actor.c | 26 ++++++++++++++++++++++++++ + 1 file changed, 26 insertions(+) + +commit 9872d7eb1b31112f3f72855ef00334f39cdb949f +Author: Emmanuele Bassi +Date: Thu Feb 2 11:18:00 2012 +0000 + + docs: Clarify actor map and unmap methods + + ClutterActor stopped requiring to override the map and unmap virtual + functions some time ago. + + Now that ClutterActor implements the Container interface, overriding map + and unmap to control the MAPPED state of the children is pretty much + going to be a source of bugs and misunderstandings. + + Plus, the ordering of the unmap, destroy, dispose, and finalize calls + should be be documented properly. + + The documentation should clarify all that. + + clutter/clutter-actor.c | 26 ++++++++++++++------------ + 1 file changed, 14 insertions(+), 12 deletions(-) + +commit 242de47c032eb750bd825a1d26b4b911e80527b9 +Author: Emmanuele Bassi +Date: Thu Feb 2 11:07:14 2012 +0000 + + docs: Update the actor invariants + + • Clear up what's deprecated. + • Remove mentions of set_parent/unparent, and use add_child/remove_child + instead. + • Clarify that reparent may not touch the MAPPED state. + + doc/actor-invariants.txt | 55 ++++++++++++++---------------------------------- + 1 file changed, 16 insertions(+), 39 deletions(-) + +commit 4b6156a57a00214297c696f20e374ad645b97019 +Author: Evan Nemerson +Date: Thu Jan 12 18:15:55 2012 -0800 + + introspection: add some missing annotations + + https://bugzilla.gnome.org/show_bug.cgi?id=667840 + + clutter/clutter-actor.c | 20 ++++++++++---------- + clutter/clutter-list-model.c | 4 ++-- + clutter/deprecated/clutter-timeout-pool.c | 2 +- + 3 files changed, 13 insertions(+), 13 deletions(-) + +commit 2475443a873fdf57226c470caa964124c7a9547a +Author: Emmanuele Bassi +Date: Tue Jan 31 17:03:14 2012 +0000 + + Clean up the clutter API reference Makefile.am + + doc/reference/clutter/Makefile.am | 68 +++++++++++++-------------------------- + 1 file changed, 23 insertions(+), 45 deletions(-) + +commit bb2d807d2ab4ee13eea02bda7c65b562b7f503ae +Author: Emmanuele Bassi +Date: Tue Jan 31 16:44:43 2012 +0000 + + docs: Add an image for the XIncluded code + + clutter/clutter-actor.c | 4 ++++ + doc/reference/clutter/Makefile.am | 6 ++++-- + doc/reference/clutter/test-actor.png | Bin 0 -> 5081 bytes + 3 files changed, 8 insertions(+), 2 deletions(-) + +commit 59f3488fa954b98220d1ec6298214b38cd402cfb +Author: Emmanuele Bassi +Date: Tue Jan 31 16:44:07 2012 +0000 + + docs: Add private macro CLUTTER_PRIVATE_FIELD + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 76c8b17144a26bb9cca712e8349d23f3df9b493a +Author: Emmanuele Bassi +Date: Tue Jan 31 16:32:48 2012 +0000 + + docs: XInclude test-actor inside the Actor's description + + clutter/clutter-actor.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 5974cfc97be14bed6aade7f6e85622d3f72e138f +Author: Emmanuele Bassi +Date: Tue Jan 31 16:30:05 2012 +0000 + + docs: Add an example to the Actor description + + clutter/clutter-actor.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit 341faaa0898c19a0c2c569460a0c4f08a7b8e23c +Author: Emmanuele Bassi +Date: Tue Jan 31 12:45:08 2012 +0000 + + actor: Add diagnostic message for "behaviours" in ClutterScript + + Behaviours have long since been deprecated; we should notify the user + that still uses behaviours in ClutterScript definitions. + + clutter/clutter-actor.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 11239d8da650ecf5d467fd8a131b30691e28dcbd +Author: Emmanuele Bassi +Date: Tue Jan 31 12:35:17 2012 +0000 + + actor: Do not unmap/unrealize twice on destruction + + When calling clutter_actor_destroy(), ClutterActor calls + update_map_state() on itself to unset the REALIZED and MAPPED states, + prior to running the dispose() implementation. + + The default dispose() will call remove_child() (either directly or + through the Container implementation), which will check for the MAPPED + state and then run update_map_state() again. We use the previously set + MAPPED state to decide whether or not the parent should queue for a + relayout/redraw when removing a visible children. + + If the MAPPED flag was cleared prior to remove_child(), though, it'll + always be unset by the time we get to remove_child(), and this will + cause missing redraws/relayouts; we were ignoring this prior the + post-First Apocalypse changes because we were doing: + + if (was_mapped) + clutter_actor_queue_relayout (parent); + + clutter_actor_queue_redraw (parent); + + which is obviously wrong. Once I removed that glaring brain damage from + the remove_child() implementation, bugs started appearing — bugs that + were probably the reason why we introduced that brain damage in the + first place, instead of checking the source of those bugs. + + The obvious fix is to avoid clearing up the actor's state on destroy() + until we remove the actor from its parent. This also reduces the amount + of work we do, and the code paths that can potentially go wrong. + + clutter/clutter-actor.c | 18 ++++++++---------- + 1 file changed, 8 insertions(+), 10 deletions(-) + +commit 8ee6d106812788c0465845fccb9216c50fe8c27f +Author: Emmanuele Bassi +Date: Sun Dec 18 22:52:49 2011 +0000 + + actor: Move ClutterShader-related code out of clutter-actor.c + + Since the code dealing with ClutterShader is pretty self-contained, now, + we can safely move it outside of the main ClutterActor source file and + into its own. This will allow us to just drop a bunch of files when + branching for 2.0. + + clutter/Makefile.am | 1 + + clutter/clutter-actor-private.h | 4 + + clutter/clutter-actor.c | 320 +------------------------- + clutter/deprecated/clutter-actor-deprecated.c | 318 +++++++++++++++++++++++++ + 4 files changed, 326 insertions(+), 317 deletions(-) + +commit 2ed9e0d557bab241b1a824a3c9ee154b617a1fd0 +Author: Emmanuele Bassi +Date: Tue Jan 31 10:34:45 2012 +0000 + + x11: Remove CLUTTER_DISABLE_DEPRECATED usage + + Switch to CLUTTER_DEPRECATED and CLUTTER_DEPRECATED_FOR. + + clutter/x11/clutter-glx-texture-pixmap.h | 8 ++++---- + clutter/x11/clutter-x11.h | 4 ---- + 2 files changed, 4 insertions(+), 8 deletions(-) + +commit 1d84bf2b04e614a93527f6c36f5a7d686a5f7cfd +Author: Emmanuele Bassi +Date: Tue Jan 31 10:28:04 2012 +0000 + + texture: Deprecate YUV setter + + The YUV support depends on the driver support, and not only not many + drivers support YUV natively: the supported colorspaces are pretty much + useless. + + The proper way to do YUV to RGB colorspace conversion on the GPU is to + use a fragment shader; for that, ClutterTexture and Cogl provide enough + API to achieve a good result - see the Clutter-GStreamer implementation, + for instance. + + clutter/clutter-texture.c | 11 +++++++++++ + clutter/clutter-texture.h | 15 +++++++++------ + 2 files changed, 20 insertions(+), 6 deletions(-) + +commit c95b1265711bb845013f209b7e594b79c5a68eef +Author: Emmanuele Bassi +Date: Tue Jan 31 10:23:48 2012 +0000 + + texture: It's bytes per pixel, not bits + + Clarify the error message when checking the bpp argument. + + clutter/clutter-texture.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit 986307f5e4abc5c1c86207bcdb6bb998e67b5364 +Author: Emmanuele Bassi +Date: Mon Jan 30 10:55:30 2012 +0000 + + Use ClutterActorIter inside layout managers + + Whenever it is possible, or convenient. + + clutter/clutter-bin-layout.c | 42 ++++------ + clutter/clutter-box-layout.c | 179 ++++++++++++++++++++++-------------------- + clutter/clutter-flow-layout.c | 18 ++--- + 3 files changed, 119 insertions(+), 120 deletions(-) + +commit 8b47ddbce6ac10e4f06f7b5e865492f022e5f54e +Author: Chao-Hsiung Liao +Date: Sun Jan 29 22:52:55 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 1741 +++++++++++++++++++++++++++++++---------------------------- + po/zh_TW.po | 1733 ++++++++++++++++++++++++++++++---------------------------- + 2 files changed, 1842 insertions(+), 1632 deletions(-) + +commit 7165342948f01665f54ab5647083c82de6c2050c +Author: Matej Urbančič +Date: Sat Jan 28 20:59:17 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 780 ++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 444 insertions(+), 336 deletions(-) + +commit 842ff82d77b020f6033f418232c7a662fbfae078 +Author: Emmanuele Bassi +Date: Fri Jan 27 17:07:33 2012 +0000 + + docs: Mention the DELEGATE_LAYOUT flag in set_allocation() + + With code examples. + + clutter/clutter-actor.c | 46 +++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 45 insertions(+), 1 deletion(-) + +commit 534ec4ac7a60a2d86d5562ed03eb5968b0000536 +Author: Emmanuele Bassi +Date: Fri Jan 27 15:48:46 2012 +0000 + + group: Set the NO_LAYOUT flag + + Since FixedLayout won't do that for us any more, and we have Group users + and Group subclasses that may be relying on it. + + clutter/deprecated/clutter-group.c | 21 +++++++++++++++++++-- + 1 file changed, 19 insertions(+), 2 deletions(-) + +commit 31341986b114ac1df3ccce5e4e9553b97742f7d4 +Author: Emmanuele Bassi +Date: Fri Jan 27 15:45:11 2012 +0000 + + fixed-layout: Remove the NO_LAYOUT flag set + + ClutterFixedLayout is the default layout manager for ClutterActor. + + Existing subclasses of ClutterActor will get a fixed layout manager + regardless of whether they are going to use it, but since it sets the + CLUTTER_ACTOR_NO_LAYOUT flag, it will introduce regressions on actors + that perform their own layout management. + + The CLUTTER_ACTOR_NO_LAYOUT flag was a bit of a mistake in the first + place, as it was introduced as a last minute workaround in the 1.0 + process to deal with broken stuff in Moblin. It's going to be a target + for deprecation towards a removal when we start the 2.0 process. + + clutter/clutter-fixed-layout.c | 37 ------------------------------------- + 1 file changed, 37 deletions(-) + +commit 4360fcccf44fe17bb385a9780bb9b2d6f5e19bb7 +Author: Kerrick Staley +Date: Thu Dec 29 03:15:05 2011 -0600 + + Fix spelling in Clutter Cookbook: ouest -> west + + doc/cookbook/examples/textures-split-go.c | 26 +++++++++++++------------- + doc/cookbook/examples/textures-sub-texture.c | 2 +- + doc/cookbook/textures.xml | 2 +- + 3 files changed, 15 insertions(+), 15 deletions(-) + +commit 5c9c5d24b23a3ddb365bd4ce0c5e2014d89a412e +Author: Emmanuele Bassi +Date: Thu Jan 26 17:10:18 2012 +0000 + + box: Use the ActorIter API + + And remove a useless override of the pick() virtual function while we're + at it. + + https://bugzilla.gnome.org/show_bug.cgi?id=668669 + + clutter/deprecated/clutter-box.c | 23 +++-------------------- + 1 file changed, 3 insertions(+), 20 deletions(-) + +commit c6e14914740f0ac274cf92a294634b8955d85349 +Author: Emmanuele Bassi +Date: Wed Jan 25 15:31:51 2012 +0000 + + stage: Use the iterator API instead of the DOM one + + Whenever we're iterating over the children of the Stage we can now use + the ClutterActorIter API. + + https://bugzilla.gnome.org/show_bug.cgi?id=668669 + + clutter/clutter-stage.c | 54 +++++++++++++++++++------------------------------ + 1 file changed, 21 insertions(+), 33 deletions(-) + +commit 58ffcfb10ed8b7fc0e299035c8b049967f8fc0ef +Author: Emmanuele Bassi +Date: Wed Jan 25 15:27:57 2012 +0000 + + actor: Add ClutterActorIter + + Iterating over children and ancestors of an actor is a relatively common + operation. Currently, you only have one option: start a for() loop, get + the first child of the actor, and advance to the next sibling for the + list of children; or start a for() loop and advance to the parent of the + actor. + + These operations can be easily done through the ClutterActor API, but + they all require going through the public API, and performing multiple + type checks on the arguments. + + Along with the DOM API, it would be nice to have an ancillary, utility + API that uses an iterator structure to hold the state, and can be + advanced in a loop. + + https://bugzilla.gnome.org/show_bug.cgi?id=668669 + + clutter/clutter-actor.c | 186 +++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 29 +++++ + clutter/clutter-types.h | 13 ++ + clutter/clutter.symbols | 4 + + doc/reference/clutter/clutter-sections.txt | 7 ++ + tests/conform/Makefile.am | 1 + + tests/conform/test-actor-iter.c | 129 ++++++++++++++++++++ + tests/conform/test-conform-main.c | 31 ++--- + 8 files changed, 386 insertions(+), 14 deletions(-) + +commit fa856e3f5ed71a3dbf022525aafbd27ad63410fe +Author: Emmanuele Bassi +Date: Fri Jan 27 11:48:14 2012 +0000 + + box: Restore the ::destroy handler + + During the gutting of ClutterBox, the destroy and dispose implementation + were removed. The former, especially, destroyed all children - which + usually meant that the redraw queues for the childre was cleared as + well. The removal introduced crashes when a Box was destroyed while its + children were still queueing redraws. + + clutter/deprecated/clutter-box.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 9d355f12c6d1c804a3e0d205e2ff1c8e3f5e7538 +Author: Emmanuele Bassi +Date: Fri Jan 27 11:42:33 2012 +0000 + + conform: Avoid a deadlock + + Something is causing a deadlock when using clutter_threads_* API inside + the offscreen redirect conformance test. The conformance tests are + pretty insane anyway, so for the time being, let's put g_timeout_add() + back in while we figure out the issue. + + tests/conform/test-offscreen-redirect.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ccc70a911d1314941d95b68a263a60c9b3c30a3e +Author: Emmanuele Bassi +Date: Fri Jan 27 09:47:25 2012 +0000 + + tests: Update to use the symbolic button names + + https://bugzilla.gnome.org/show_bug.cgi?id=668692 + + tests/interactive/test-box-layout.c | 2 +- + tests/interactive/test-clip.c | 4 ++-- + tests/interactive/test-easing.c | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +commit 54c9257f28f6ecb8cbbef0215357a62e2dfe4731 +Author: Emmanuele Bassi +Date: Fri Jan 27 09:46:51 2012 +0000 + + docs: Update to show the symbolic button names + + https://bugzilla.gnome.org/show_bug.cgi?id=668692 + + doc/cookbook/events.xml | 12 +++++++++--- + doc/cookbook/examples/animations-scaling-zoom.c | 4 ++-- + doc/reference/clutter/clutter-sections.txt | 3 +++ + 3 files changed, 14 insertions(+), 5 deletions(-) + +commit 12a79a66d8f3466084088389f111729f0cc834b1 +Author: Emmanuele Bassi +Date: Fri Jan 27 09:46:10 2012 +0000 + + drag-action: Use the symbolic constants for the button + + https://bugzilla.gnome.org/show_bug.cgi?id=668692 + + clutter/clutter-drag-action.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 60cddbd28e403abe17d22d96b7b8f2f9418abd2b +Author: Emmanuele Bassi +Date: Fri Jan 27 09:43:06 2012 +0000 + + event: Add symbolic names for left, middle, and right buttons + + Symbolic names are better than magic numbers, even if they are + well-established and won't likely change. + + This maps to a commit in GTK+ that introduced the same names; it + was decided to go for PRIMARY, MIDDLE, and SECONDARY because of + the confusion that may arise when the button order gets flipped + in left-handed configurations - the "left" button (i.e. 1) becomes + the right-most button, and the "right" button (i.e. 3) becomes + the left-most button. + + https://bugzilla.gnome.org/show_bug.cgi?id=668692 + + clutter/clutter-event.h | 43 ++++++++++++++++++++++++++++++++++++++----- + 1 file changed, 38 insertions(+), 5 deletions(-) + +commit 90397bf06c1ed2de1740f5e659d2a819df5e4aec +Author: Emmanuele Bassi +Date: Fri Jan 27 07:30:02 2012 +0000 + + doc/cookbook: Remove dead link + + doc/cookbook/actors.xml | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit bacd4dd6a0ae770c1c850963cefefa0c88d2a230 +Author: Emmanuele Bassi +Date: Thu Jan 26 17:11:27 2012 +0000 + + Remove unused variable + + clutter/x11/clutter-stage-x11.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 78533cfd1a06a751582d3867f8a6c157dbb2501f +Author: Rob Bradford +Date: Thu Jan 26 15:39:16 2012 +0000 + + wayland: Correctly support fullscreening before the stage is realized + + Rather than just call into wl_shell_surface_set_fullscreen we must repeat all + the steps to correctly fullscreen the surface. + + clutter/wayland/clutter-stage-wayland.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 797336762e40baf9c187b99883aa893c1f5de92a +Author: Rob Bradford +Date: Thu Jan 26 14:23:57 2012 +0000 + + wayland: Force a redraw of the stage to get the new sized buffer attached + + clutter/wayland/clutter-stage-wayland.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 65e27a830b341606dd1834fa442675eeebdc97c0 +Author: Rob Bradford +Date: Thu Jan 26 14:23:16 2012 +0000 + + wayland: Use new stage state manipulation functions + + clutter/wayland/clutter-stage-wayland.c | 27 ++++++++++++--------------- + 1 file changed, 12 insertions(+), 15 deletions(-) + +commit 0094350467941139a53a173c725bed7a74d39e7b +Author: Rob Bradford +Date: Mon Jan 23 13:07:13 2012 +0000 + + wayland: Refine fullscreen/unfullscreen to emit the state change events + + Also update the code to set the size of the stage to set it to the size of the + output. In future versions of the Wayland protocol we'll get a configure + message advising of us of the size we can be to achieve fullscreen. + + clutter/wayland/clutter-stage-wayland.c | 35 +++++++++++++++++++++++++++++---- + 1 file changed, 31 insertions(+), 4 deletions(-) + +commit dd64ad1e4209793c436ad1cb90ba18ec85bbe936 +Author: Rob Bradford +Date: Fri Jan 20 15:49:16 2012 +0000 + + wayland: Support programmatically resizing the stage + + This will call into Cogl and ask it to resize the framebuffer which will then + update the underlying EGL surface. + + clutter/wayland/clutter-stage-wayland.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit 838fc6276feb746e66a50b38a560f3b5e33fb273 +Author: Rob Bradford +Date: Thu Jan 12 15:25:02 2012 +0000 + + wayland: Support setting fullscreen before the stage is realized + + clutter/wayland/clutter-stage-wayland.c | 8 ++++++++ + clutter/wayland/clutter-stage-wayland.h | 1 + + 2 files changed, 9 insertions(+) + +commit da19c3dfca17c93e2e4ffa18c73dc177f94d3003 +Author: Rob Bradford +Date: Fri Dec 9 16:54:52 2011 +0000 + + wayland: Implement set_fullscreen vfunc in ClutterStageWayland + + clutter/wayland/clutter-stage-wayland.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit cb4b9d758feae876aa660a9222f5d1d5233cf6f1 +Author: Rob Bradford +Date: Fri Dec 9 16:52:29 2011 +0000 + + wayland: Include the Wayland surface and shell surface in ClutterStageWayland + + clutter/wayland/clutter-stage-wayland.c | 3 +++ + clutter/wayland/clutter-stage-wayland.h | 3 +++ + 2 files changed, 6 insertions(+) + +commit 737c5e104512cf7319588b1921f26783e97c5e36 +Author: Rob Bradford +Date: Fri Jan 20 18:22:50 2012 +0000 + + wayland: Save the output mode so that it can be used to fullscreen windows + + clutter/wayland/clutter-backend-wayland.c | 52 +++++++++++++++++++++++++++++-- + clutter/wayland/clutter-backend-wayland.h | 3 ++ + 2 files changed, 52 insertions(+), 3 deletions(-) + +commit 3780e3e4f065e0f43ba007369e08878821f2dc5b +Author: Emmanuele Bassi +Date: Thu Jan 26 10:29:50 2012 +0000 + + x11: Unbreak the build + + The stage wrapper is on the ClutterStageCogl instance. + + clutter/x11/clutter-stage-x11.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit fdf89a9e06859f38453196f97e7b5ea692113729 +Merge: 9206bd762 9dab33401 +Author: Emmanuele Bassi +Date: Thu Jan 26 08:42:00 2012 +0000 + + Merge branch 'stage-state' + + * stage-state: + docs: Update ClutterStageState flags + wayland: Use the Stage state tracking + gdk: Use the Stage state tracking + win32: Use the Stage state tracking + x11: Use the Stage state tracking + osx: Use the Stage state tracking + stage: Add state tracking + +commit 9dab33401f69c7b03c7205ab3a521ec90a98b1e7 +Author: Emmanuele Bassi +Date: Thu Jan 26 08:33:45 2012 +0000 + + docs: Update ClutterStageState flags + + clutter/clutter-enums.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 2b547442a373794fd0b3dbb5799ad732bf091d03 +Author: Emmanuele Bassi +Date: Thu Jan 26 08:27:39 2012 +0000 + + wayland: Use the Stage state tracking + + clutter/wayland/clutter-input-device-wayland.c | 21 ++++++--------------- + 1 file changed, 6 insertions(+), 15 deletions(-) + +commit 8c184f53cb3d01ef8cbefbf856e173b7f6555a45 +Author: Emmanuele Bassi +Date: Thu Jan 26 08:27:25 2012 +0000 + + gdk: Use the Stage state tracking + + clutter/gdk/clutter-event-gdk.c | 32 +++++++++++--------------------- + 1 file changed, 11 insertions(+), 21 deletions(-) + +commit e73c2bf4ea3dcc72e32e1814e5cc6d64ed377e0f +Author: Emmanuele Bassi +Date: Thu Jan 26 08:27:08 2012 +0000 + + win32: Use the Stage state tracking + + clutter/win32/clutter-event-win32.c | 28 ++++++++-------------------- + clutter/win32/clutter-stage-win32.c | 31 ++++++++++++++++--------------- + clutter/win32/clutter-stage-win32.h | 1 - + 3 files changed, 24 insertions(+), 36 deletions(-) + +commit 12e4f300a7d360b4efda714ce038da7057fb3ed9 +Author: Emmanuele Bassi +Date: Wed Jan 25 21:36:55 2012 +0000 + + x11: Use the Stage state tracking + + clutter/x11/clutter-stage-x11.c | 72 +++++++++++++++-------------------------- + clutter/x11/clutter-stage-x11.h | 2 -- + 2 files changed, 26 insertions(+), 48 deletions(-) + +commit 2c9a693c14fb97dfb091ff00109e084de4b9caca +Author: Emmanuele Bassi +Date: Wed Jan 25 21:25:59 2012 +0000 + + osx: Use the Stage state tracking + + clutter/osx/clutter-stage-osx.c | 60 ++++++++++++++++------------------------- + clutter/osx/clutter-stage-osx.h | 2 -- + 2 files changed, 23 insertions(+), 39 deletions(-) + +commit 19ff11ac933cbfcc1f87c5914d36a85ee014f8e9 +Author: Emmanuele Bassi +Date: Wed Jan 25 21:24:47 2012 +0000 + + stage: Add state tracking + + State changes on the Stage are currently deferred to the windowing + system backends, but the code is generally the same, and it should + be abstracted neatly inside the Stage class itself. + + There's also the extra caveat for backends that state changes on a + Stage must also emit a ClutterEvent of type CLUTTER_STAGE_STATE, a + requirement that needlessly complicates the backend code. + + clutter/clutter-stage-private.h | 7 +++ + clutter/clutter-stage.c | 121 ++++++++++++++++++++++++++++++++++------ + 2 files changed, 111 insertions(+), 17 deletions(-) + +commit 9206bd7627e64a26784a4d6e3d66056f14db12e8 +Author: Emmanuele Bassi +Date: Wed Jan 25 23:09:38 2012 +0000 + + tests/*: Use symbolic constants for sources and events + + And make sure to use clutter_threads_add_* instead of the bare + g_*_add(). + + tests/conform/test-anchors.c | 4 ++-- + tests/conform/test-clutter-cairo-texture.c | 4 ++-- + tests/conform/test-cogl-backface-culling.c | 4 ++-- + tests/conform/test-cogl-blend-strings.c | 4 ++-- + tests/conform/test-cogl-depth-test.c | 4 ++-- + tests/conform/test-cogl-materials.c | 4 ++-- + tests/conform/test-cogl-multitexture.c | 4 ++-- + tests/conform/test-cogl-npot-texture.c | 4 ++-- + tests/conform/test-cogl-offscreen.c | 4 ++-- + tests/conform/test-offscreen-redirect.c | 4 ++-- + tests/conform/test-pick.c | 7 +++--- + tests/conform/test-texture-fbo.c | 4 ++-- + tests/conform/test-timeline-rewind.c | 12 +++++----- + tests/interactive/test-cogl-point-sprites.c | 7 +++--- + tests/interactive/test-cogl-shader-arbfp.c | 20 ++++++++--------- + tests/interactive/test-cogl-shader-glsl.c | 35 +++++++++++++++-------------- + tests/interactive/test-depth.c | 10 ++++----- + tests/interactive/test-pixmap.c | 12 +++++----- + tests/interactive/test-shader.c | 6 ++--- + tests/micro-bench/test-text-perf.c | 4 ++-- + tests/micro-bench/test-text.c | 4 ++-- + tests/performance/test-common.h | 4 ++-- + tests/performance/test-text-perf.c | 5 +++-- + 23 files changed, 88 insertions(+), 82 deletions(-) + +commit b2bf2dbb089a0e4784586d40c7f28e02082a7734 +Author: Emmanuele Bassi +Date: Wed Jan 25 23:09:03 2012 +0000 + + docs: Use symbolic constants for sources and events + + doc/cookbook/examples/textures-split-go.c | 8 ++--- + .../clutter/clutter-animation-tutorial.xml | 40 +++++++++++----------- + 2 files changed, 24 insertions(+), 24 deletions(-) + +commit 71323b8bfc942a20952c2152485ed0f23b5a834f +Author: Emmanuele Bassi +Date: Wed Jan 25 23:17:42 2012 +0000 + + x11/stage: Use symbolic constants for source function + + And make sure to use the clutter_threads_add_timeout(), so that the + function is called under the Clutter lock. + + clutter/x11/clutter-stage-x11.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit a4d571aaf91541bf66b46949d1445a58d37f483d +Author: Emmanuele Bassi +Date: Tue Jan 24 15:42:20 2012 +0000 + + Post-release version bump to 1.9.9 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7179bd44c869ffce17b6a135735dbaec5f5c4411 +Author: Emmanuele Bassi +Date: Tue Jan 24 15:20:35 2012 +0000 + + Release Clutter 1.9.8 (snapshot) + + NEWS | 24 ++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 25 insertions(+), 1 deletion(-) + +commit 18ec12a3b7d7a764c569c37aa280694f76403b41 +Author: Emmanuele Bassi +Date: Tue Jan 24 15:12:41 2012 +0000 + + cookbook: Start migrating to the new API + + Drop mentions of deprecated classes and API, and update the inline + example code. + + Still some way to go, and the cookbook would probably benefit from + having a recipe on how to use ClutterActor to build a scene. + + doc/cookbook/actors.xml | 9 ++---- + doc/cookbook/animations.xml | 8 ++++-- + doc/cookbook/events.xml | 4 +-- + doc/cookbook/layouts.xml | 68 +++++++++++++++++++++------------------------ + 4 files changed, 42 insertions(+), 47 deletions(-) + +commit 1c01554e6a06db0e6afc9a76deea99daa44f9fba +Author: Emmanuele Bassi +Date: Tue Jan 24 15:01:00 2012 +0000 + + cookbook: Begin porting examples to the new API + + Start dropping the usage of deprecated classes and API. + + doc/cookbook/examples/actors-composite-main.c | 2 +- + doc/cookbook/examples/animations-moving-animator.c | 43 ++++++++++++---------- + doc/cookbook/examples/cb-button.c | 6 +-- + doc/cookbook/examples/events-buttons-click.c | 18 +++++---- + doc/cookbook/examples/events-mouse-scroll.c | 6 +-- + .../examples/layouts-bind-constraint-allocation.c | 12 +++--- + doc/cookbook/examples/layouts-box.c | 41 +++++++++++---------- + 7 files changed, 68 insertions(+), 60 deletions(-) + +commit 75549456fd7697bf8ad1e5aaa1776b87554bcc37 +Author: Emmanuele Bassi +Date: Tue Jan 24 14:52:33 2012 +0000 + + actor: use paint opacity to paint the background color + + clutter/clutter-actor.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 414f8c1a0f5fe66ed578ac32410b51e5c987d6d0 +Author: Emmanuele Bassi +Date: Tue Jan 24 14:20:07 2012 +0000 + + docs: Add missing function + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 825e1e62421e72d7fbfeb6d362264ca485ccf4de +Author: Emmanuele Bassi +Date: Tue Jan 24 14:13:53 2012 +0000 + + docs: Inlined examples break enums gtk-doc + + clutter/clutter-enums.h | 35 ++--------------------------------- + 1 file changed, 2 insertions(+), 33 deletions(-) + +commit 8d8d4ae7e59d869c05251f9ad351f85e6784d136 +Author: Emmanuele Bassi +Date: Mon Jan 16 11:27:08 2012 +0000 + + script: Add loading from a resource + + GLib has gained support for compiling ancillary data files into the same + binary blob as a library or as an executable. + + We should add this feature to ClutterScript, so that it's possible to + bundle UI definitions with an application. + + clutter/clutter-script.c | 39 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-script.h | 3 +++ + clutter/clutter.symbols | 1 + + configure.ac | 2 +- + 4 files changed, 44 insertions(+), 1 deletion(-) + +commit 254ebd876556e1012947513d2855ab0c7fd83a1c +Author: Emmanuele Bassi +Date: Tue Jan 24 09:36:31 2012 +0000 + + actor: Remove unused function + + clutter/clutter-actor-private.h | 2 -- + clutter/clutter-actor.c | 59 +---------------------------------------- + 2 files changed, 1 insertion(+), 60 deletions(-) + +commit 4330f45d0579cc20ecf049226cd399f985024a3c +Author: Emmanuele Bassi +Date: Mon Jan 23 18:00:01 2012 +0000 + + Override Container inside ClutterStage + + The only actor that results in a mix of the old Container API and the + new Actor API is ClutterStage. By inheritance, a Stage is a Group, but + we don't want it to behave like a Group - as it already overrides most + of the Actor API, and the reason why it was made as a Group in the + first place was convenience for adding/removing children. + + Given that touching Group to make it aware of the new Actor API has + rapidly devolved into a struggle between a Demiurge that tries to + avoid breakage and a Chaos that finds new and interesting ways to + break ClutterGroup, let's declare API bankruptcy here and now. + + ClutterStage should override ClutterContainer methods, and use the + layout management of ClutterFixedLayout as the proper class that it + was meant to be ages ago. Let ClutterGroup rot in pieces. + + clutter/clutter-stage.c | 105 +++++++++++++++++++++++++++++++++++-- + clutter/deprecated/clutter-group.c | 21 +------- + 2 files changed, 102 insertions(+), 24 deletions(-) + +commit cfac97ffe105477c83c13504d8dbfd0b9933ca5e +Author: Emmanuele Bassi +Date: Sat Jan 21 23:06:49 2012 +0000 + + Allow mixing old and new API without falling apart + + Now that we reinstated Group to its "former glory", we need to ensure + that applications using the deprecated containers with the new DOM API + in ClutterActor can actually work - or, at least, not break horribly. + + This actually means making sure that ClutterStage and ClutterGroup can + cope with the DOM, while retaining their old implementations, as well as + their bizarre idiosyncrasies and their utter, utter brokenness. + + clutter/clutter-actor-private.h | 2 + + clutter/clutter-actor.c | 546 +++++++++++++++++++++++++------------ + clutter/clutter-enums.h | 49 +++- + clutter/clutter-stage.c | 3 +- + clutter/deprecated/clutter-group.c | 62 ++++- + 5 files changed, 464 insertions(+), 198 deletions(-) + +commit f5de10c05fdfa995108f6ce26a04f9ac08a3eb1e +Author: Emmanuele Bassi +Date: Fri Jan 20 18:05:53 2012 +0000 + + interactive/actors: Update the venerable test-actors + + tests/interactive/test-actors.c | 44 ++++++++++++++++++++++++----------------- + 1 file changed, 26 insertions(+), 18 deletions(-) + +commit c7d8c097ecc947ad5c56a8d9d3b68666c3a9880e +Author: Fran Diéguez +Date: Mon Jan 23 00:34:20 2012 +0100 + + Updated Galician translations + + po/gl.po | 438 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 241 insertions(+), 197 deletions(-) + +commit 29384c114f5c27b47ce074e7fd36fea4d40a25dc +Author: Emmanuele Bassi +Date: Fri Jan 20 17:15:20 2012 +0000 + + actor: NULL-ify sibling fields when removing + + Let's try and avoid leaving around stale pointers. + + clutter/clutter-actor.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit 27784de94166e7e507b7db7aaa16b5cec4826e4b +Author: Rob Bradford +Date: Mon Jan 16 11:55:32 2012 +0000 + + wayland: Update to changes in the SHM api + + The enum value for the SHM formats has changed to be more explicit about the + format of the data. + + clutter/wayland/clutter-backend-wayland.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7d7d753a49656d14c7ecf7461aaf4d39bbafb2af +Author: Emmanuele Bassi +Date: Fri Jan 20 16:00:19 2012 +0000 + + group: Restore previous implementation + + Making Group just a proxy to Actor broke some behaviour that application + and toolkit code was relying on. Let's keep Group around to fight + another day. + + This commit fixes gnome-shell as far as I can test it. + + clutter/clutter-actor.c | 4 +- + clutter/deprecated/clutter-group.c | 373 +++++++++++++++++++++++++++++++++---- + 2 files changed, 340 insertions(+), 37 deletions(-) + +commit 3ff502fbb2d4d43813190141181060dd79801cd4 +Author: Emmanuele Bassi +Date: Fri Jan 20 14:55:57 2012 +0000 + + stage: Restore the chain up inside allocate() + + Group does not have a custom allocate() any more, so it would end up + calling the default allocate() implementation provided by ClutterActor + anyway. + + clutter/clutter-stage.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 8ebf46d74c507055d741ac2c86fd6230b3e27515 +Author: Emmanuele Bassi +Date: Fri Jan 20 14:55:13 2012 +0000 + + actor: Remove default layout-manager + + It's creating more issues than what it's trying to solve. At least for + the time being, let's not set one. + + clutter/clutter-actor.c | 51 ++++++------------------------------------------- + 1 file changed, 6 insertions(+), 45 deletions(-) + +commit bd348625c70a2f0f784d5780d3bda38f51fb347f +Author: Emmanuele Bassi +Date: Fri Jan 20 14:53:41 2012 +0000 + + group: Gut the implementation + + A Group is a just a ClutterActor with the layout-manager property set at + instance initialization time. It doesn't need anything else from + ClutterActor's vtable, except the slightly custom show_all/hide_all + implementation, and a simplified get_paint_volume. + + clutter/deprecated/clutter-group.c | 138 +++++++++++-------------------------- + 1 file changed, 41 insertions(+), 97 deletions(-) + +commit 1afd3827c7c9e2e343ad0e8165d9d2ff4bd62b7f +Author: Emmanuele Bassi +Date: Fri Jan 20 12:04:48 2012 +0000 + + actor: Move underallocation warning to diagnostic mode + + This should keep down the warning messages — at least for the time + being. + + clutter/clutter-actor.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit c760657903b8d1599e25e54fcca01a5f546eb9aa +Author: Emmanuele Bassi +Date: Fri Jan 20 12:02:49 2012 +0000 + + actor: Use internal add/remove child in reparent() + + Do not use the public API; reparent() used to use unparent() and + set_parent(), so we need to maintain the old behaviour. + + clutter/clutter-actor.c | 29 ++++++++++++++++++----------- + 1 file changed, 18 insertions(+), 11 deletions(-) + +commit 683657cc301e928c1a9324d19285a3ecc2ea660e +Author: Emmanuele Bassi +Date: Thu Jan 19 14:01:20 2012 +0000 + + Post-release version bump to 1.9.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 75d97ffdc509058915e2eee5c1480d83e6ee7776 +Author: Emmanuele Bassi +Date: Thu Jan 19 13:42:37 2012 +0000 + + Release Clutter 1.9.6 (snapshot) + + NEWS | 35 +++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 36 insertions(+), 1 deletion(-) + +commit a222e75e332685e458d027a3ac4b1aa8bd763269 +Author: Emmanuele Bassi +Date: Thu Jan 19 13:41:45 2012 +0000 + + build: Bump up the Cogl requirement + + Clutter requires a new version of Cogl's API, but we never bumped the + requirement inside configure.ac. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 480514b721e985bad1c8aed69fbee1bbb24260c0 +Author: Emmanuele Bassi +Date: Thu Jan 19 13:40:02 2012 +0000 + + stage: Use clutter_actor_set_allocation() + + Instead of chaining up, given that we want to bypass chaining up and + just set the allocation. This also allows us to bail out of the + overridden allocate vfunc check, given that we want the default Actor + behaviour to apply - including eventual layout manager delegates. + + clutter/clutter-stage.c | 9 ++------- + 1 file changed, 2 insertions(+), 7 deletions(-) + +commit f7bae2a064f4cdf17d854414d3a9acee690649b7 +Author: Emmanuele Bassi +Date: Thu Jan 19 13:39:14 2012 +0000 + + actor: Fix the has_overridden_allocate check + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit acf8aff6d5427ee3768057eb9de49612cb60793d +Author: Emmanuele Bassi +Date: Thu Jan 19 13:14:47 2012 +0000 + + docs: Add clutter_actor_set_allocation() + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit b206a3d025d416098d8e77f7e668d5ccd7dd3998 +Author: Emmanuele Bassi +Date: Thu Jan 19 13:14:33 2012 +0000 + + symbols: Add clutter_actor_set_allocation() + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit 67eeea6b6290ef916fde04d684ecb3bc3ac8656d +Author: Emmanuele Bassi +Date: Thu Jan 19 12:40:32 2012 +0000 + + actor: Maintain behaviour of old allocate() implementations + + The usual way to implement a container actor is to override the + allocate() virtual function, chain up, and then allocate the actor's + children. + + Clutter now has the ability to delegate layout management to + ClutterLayoutManager directly; in the allocation, this is done by + checking whether the actor has children, and then call + clutter_layout_manager_allocate() from within the default implementation + of the ClutterActor::allocate() vfunc. The same vfunc that everyone, has + been chaining up to. + + Whoopsie. + + Well, we can check if there's a layout manager, and if it's NULL, we + bail out. Except that there's a default layout manager, and it's the + fixed layout manager, so that classes like Group and Stage work by + default. + + Double whoopsie. + + The fix for this scenario is a bit nasty; we have to check if the actor + class has overridden the allocate() vfunc or not, before actually + looking at the layout manager. This means that classes that override the + allocate() vfunc are expected to do everything that ClutterActor's + default implementation does - which I think it's a fair requirement to + have. + + For newly written code, though, it would probably be best if we just + provided a function that does the right thing by default, and that + you're supposed to be calling from within the allocate() vfunc + implementation, if you ever chose to override it. This new function, + clutter_actor_set_allocation(), should come with a warning the size of + Texas, to avoid people thinking it's a way to override the whole "call + allocate() on each child" mechanism. Plus, it should check if we're + inside an allocation sequence, and bail out if not. + + clutter/clutter-actor.c | 272 +++++++++++++++++++++++++++++++++++++----------- + clutter/clutter-actor.h | 3 + + 2 files changed, 216 insertions(+), 59 deletions(-) + +commit 70679dc68ca805f0669cf9f94b4e441a50ed82f9 +Author: Emmanuele Bassi +Date: Wed Jan 18 16:05:12 2012 +0000 + + actor: Be more conservative with the default paint volume + + Check the allocation, when one is being used to initialize the paint + volume. + + clutter/clutter-actor.c | 17 ++++++++++++++--- + 1 file changed, 14 insertions(+), 3 deletions(-) + +commit eafb0ee734a6a5c04a92216b4425bd675c1c4999 +Author: Daniel Mustieles +Date: Wed Jan 18 12:39:55 2012 +0100 + + Updated Spanish translation + + po/es.po | 288 ++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 164 insertions(+), 124 deletions(-) + +commit 7e4260ee8a594aa7f32b68c231a5b152055fb593 +Author: Emmanuele Bassi +Date: Tue Jan 17 22:54:44 2012 +0000 + + build: Fix up the test rules for private deps + + Thanks to diegoe for the help with testing. + + configure.ac | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +commit f6ae8cf62180a6a9465b40f01129f15ddbefc2d5 +Author: Piotr Drąg +Date: Tue Jan 17 23:24:14 2012 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit d7e6deef9c448bfcd07cb33c5dc58667fcccdcb4 +Author: Emmanuele Bassi +Date: Tue Jan 17 21:59:37 2012 +0000 + + build: Add private deps to cflags and libs + + If we go through the whole exercise of having private dependencies, we + should at least use the compiler flags and linker flags that those + dependencies give us when building Clutter. + + https://bugzilla.gnome.org/show_bug.cgi?id=668137 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f7d9eab36d187a16161dfb58230fd16cef17407b +Author: Emmanuele Bassi +Date: Tue Jan 17 18:46:41 2012 +0000 + + actor: Add :first-child and :last-child properties + + Toolkits tracking first and last children of a ClutterActor can use + these properties to get notification of hierarchy changes. + + clutter/clutter-actor.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 49 insertions(+) + +commit bb8abe832ec11cdc9c336cc949ce913ef4e131e7 +Author: Emmanuele Bassi +Date: Tue Jan 17 18:13:42 2012 +0000 + + actor: Do not use ::constructed + + If we want to set a default layout manager, we need to do so inside + init(), as it's not guaranteed that people subclassing Actor and + overriding ::constructed will actually chain up as they should. + + clutter/clutter-actor.c | 31 +++++++++++++++---------------- + 1 file changed, 15 insertions(+), 16 deletions(-) + +commit 7dd06de6d58c7d1ab9c3615ac87a45331244789d +Author: Emmanuele Bassi +Date: Tue Jan 17 16:54:30 2012 +0000 + + interactive: Drop more deprecated classes + + tests/interactive/test-constraints.c | 13 +++++++------ + tests/interactive/test-depth.c | 21 +++++++++------------ + tests/interactive/test-state.c | 10 +++++++--- + 3 files changed, 23 insertions(+), 21 deletions(-) + +commit 8f1575b970936762039083df49925afaec9c48f7 +Author: Emmanuele Bassi +Date: Tue Jan 17 16:20:41 2012 +0000 + + interactive: Use ClutterActor instead of deprecated classes + + tests/interactive/test-actors.c | 2 +- + tests/interactive/test-scrolling.c | 14 ++++++++------ + 2 files changed, 9 insertions(+), 7 deletions(-) + +commit 8492b17ae23bf154d11286a4ab530c42c31c107c +Author: Emmanuele Bassi +Date: Tue Jan 17 16:20:19 2012 +0000 + + conform/actor-size: Do not use Rectangle + + Use ClutterActor directly, instead. + + tests/conform/test-actor-size.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 629ded568e30a845337e41f04b04b5fcc20a82d4 +Author: Emmanuele Bassi +Date: Tue Jan 17 16:13:55 2012 +0000 + + actor: Provide a better default pick() behaviour + + The default pick() behaviour does not take into consideration the + children of a ClutterActor because the existing containter actors + usually override pick(), chain up, and then paint their children. + + With ClutterActor now a concrete class, though, we need a way to pick + its children without requiring a sub-class; we could simply iterate over + the children inside the default pick() implementation, but this would + lead to double painting, which is not acceptable. + + A moderately gross hack is to check if the Actor instance did override + the pick() implementation, and if it is not the case, paint the children + in pick mode. + + clutter/clutter-actor.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 0f39f20db6c906c3f32c9376a1cca94ce4c1a14f +Author: Emmanuele Bassi +Date: Tue Jan 17 16:11:29 2012 +0000 + + actor: Deprecate show_all()/hide_all() + + The hide_all() method is pretty much pointless, as hiding an actor will + automatically prevent its children from being painted. The show_all() + method would only be marginally useful, if actors weren't set to be + visible by default when added to another actor - which was the case when + we introduced show_all() and hide_all(). + + clutter/clutter-actor.c | 5 +++++ + clutter/clutter-actor.h | 8 ++++---- + clutter/deprecated/clutter-actor.h | 6 ++++++ + 3 files changed, 15 insertions(+), 4 deletions(-) + +commit d363279fd308922af22c934d73715ea3833b7235 +Author: Daniel Mustieles +Date: Tue Jan 17 17:12:52 2012 +0100 + + Updated Spanish translation + + po/es.po | 124 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 63 insertions(+), 61 deletions(-) + +commit 41bef2b23ad8a75cce14b54a581527468790c3ad +Author: Emmanuele Bassi +Date: Tue Jan 17 14:44:28 2012 +0000 + + Post-release version bump to 1.9.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1854ce2d06d6c0badab174aa6c38dd6a46963284 +Author: Emmanuele Bassi +Date: Tue Jan 17 14:32:19 2012 +0000 + + Release Clutter 1.9.4 (snapshot) + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 696f9e84c938808c645e66e3d2dd2a78ceafc154 +Author: Emmanuele Bassi +Date: Tue Jan 17 14:21:02 2012 +0000 + + text: Fix the buffer length check on paint + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9f0ba2da0fece26167b3b2a44f3eb00ef1202702 +Author: Emmanuele Bassi +Date: Tue Jan 17 14:17:20 2012 +0000 + + script: Fix a segfault + + Accessing a variable before it is being set is not a great plan. + + clutter/clutter-script-parser.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 37d94c6b870f79f0d3cce4a9dace36633cac9319 +Author: Emmanuele Bassi +Date: Tue Jan 17 12:23:28 2012 +0000 + + text-buffer: Fix the Since annotations + + clutter/clutter-text-buffer.c | 82 +++++++++++++++++++++++-------------------- + 1 file changed, 44 insertions(+), 38 deletions(-) + +commit b03aa254692a47f60464d04e67f5a45ec842ede7 +Author: Emmanuele Bassi +Date: Tue Jan 17 12:19:35 2012 +0000 + + Update the NEWS file + + NEWS | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 74 insertions(+) + +commit 5085c11bdec3ca772cff428833926a38efb5bf93 +Author: Emmanuele Bassi +Date: Tue Jan 17 12:00:54 2012 +0000 + + Add ClutterTextBuffer to the API reference + + clutter/clutter.symbols | 3 +++ + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 32 ++++++++++++++++++++++++++++++ + doc/reference/clutter/clutter.types | 1 + + 4 files changed, 37 insertions(+) + +commit 57f5813058137aa8f0f13547b8e64f539d1a6870 +Author: Emmanuele Bassi +Date: Tue Jan 17 11:56:23 2012 +0000 + + Update clutter.symbols for TextBuffer + + clutter/clutter.symbols | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit 40b023a33eb154b7ef0288181920fd1527cf6044 +Author: Emmanuele Bassi +Date: Tue Jan 17 11:52:37 2012 +0000 + + interactive/text: Remove spurious g_object_unref() + + tests/interactive/test-text.c | 2 -- + 1 file changed, 2 deletions(-) + +commit c073764369ee5969aa40ab90bcbbd1d9ffb22518 +Author: Stef Walter +Date: Wed Jun 15 10:06:31 2011 +0100 + + text: Implement ClutterTextBuffer + + * Abstracts the buffer for text in ClutterText + * Allows implementation of undo/redo. + * Allows use of non-pageable memory for text + in the case of sensitive passwords. + * Implement a test with two ClutterText using the same + buffer. + + https://bugzilla.gnome.org/show_bug.cgi?id=652653 + + clutter/Makefile.am | 6 +- + clutter/clutter-marshal.list | 2 + + clutter/clutter-text-buffer.c | 764 ++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-text-buffer.h | 139 ++++++++ + clutter/clutter-text.c | 693 ++++++++++++++++++++------------------ + clutter/clutter-text.h | 6 +- + tests/interactive/test-text.c | 24 +- + 7 files changed, 1304 insertions(+), 330 deletions(-) + +commit d95bdf3a07ac82591886eb8f5bc4fab9fc98e62f +Author: Daniel Mustieles +Date: Tue Jan 17 12:52:01 2012 +0100 + + Updated Spanish translation + + po/es.po | 766 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 415 insertions(+), 351 deletions(-) + +commit 6b5b2910290dfe4afe494b8660bb65c4dba331bb +Author: Emmanuele Bassi +Date: Tue Jan 17 11:49:05 2012 +0000 + + Update clutter.symbols + + clutter/clutter.symbols | 106 ++++++++++++++++-------------------------------- + 1 file changed, 36 insertions(+), 70 deletions(-) + +commit 89e4bc3dcda824d687006e151e57effeaa3efd1c +Author: Fran Diéguez +Date: Tue Jan 17 01:44:53 2012 +0100 + + Updated Galician translations + + po/gl.po | 537 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 300 insertions(+), 237 deletions(-) + +commit 2d6ad03e863d0d0990d1b234a9e57de31a8669e3 +Author: Piotr Drąg +Date: Tue Jan 17 01:29:26 2012 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 1dfc503df1085e197f291bc92a3af5495ec7f11d +Author: Emmanuele Bassi +Date: Mon Jan 16 23:49:49 2012 +0000 + + Fix compiler warnings + + When dereferencing GArray.data to a C structure you need a double cast + from guint8* to void*, and then from void* to the actual type. This + avoids compiler warnings, especially when using clang on OSX. + + clutter/clutter-script-parser.c | 3 ++- + clutter/clutter-state.c | 31 ++++++++++++++++--------------- + clutter/clutter-table-layout.c | 14 +++++++------- + clutter/clutter-timeline.c | 2 +- + 4 files changed, 26 insertions(+), 24 deletions(-) + +commit eb489a40debd05735f9eed6f54ac4cae19e8be6e +Author: Emmanuele Bassi +Date: Tue Jan 3 14:51:37 2012 +0000 + + docs: Move deprecated sections to the proper location + + doc/reference/clutter/clutter-docs.xml.in | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit f41061b8dfbe972bbd58d802b4191cdf86a3c4b4 +Author: Emmanuele Bassi +Date: Tue Jan 3 14:36:32 2012 +0000 + + actor: Deprecated push/pop internal methods + + The concept of "internal child" only meant anything when we had a + separate API for containers and actors. Now that we plugged that + particular hole, we can drop all the hacks we used to have in place + to work around its design limitations. + + clutter/clutter-actor.c | 12 +++++++++++- + clutter/clutter-actor.h | 3 --- + clutter/deprecated/clutter-actor.h | 6 ++++++ + 3 files changed, 17 insertions(+), 4 deletions(-) + +commit ad2cfc01506ad08e91469bf269fcd50a0f337cfe +Author: Emmanuele Bassi +Date: Tue Jan 3 14:31:06 2012 +0000 + + docs: Fixes for the API reference + + clutter/clutter-actor.c | 16 +++++++++++++++- + doc/reference/clutter/clutter-sections.txt | 22 ++++++++++------------ + 2 files changed, 25 insertions(+), 13 deletions(-) + +commit ea6ddd15349da9d5088800905e54efbd1b955a15 +Author: Emmanuele Bassi +Date: Tue Jan 3 14:29:39 2012 +0000 + + actor: Add boxed margin accessors + + It can be convenient to be able to set, or get, all the components of an + actor's margin at the same time; since we already have a boxed type for + storing a margin, an accessors pair based on it is not a complicated + addition to the API. + + clutter/clutter-actor.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 4 +++ + 2 files changed, 88 insertions(+) + +commit 8de4b85175712785b754c339c5c49060e92616d2 +Author: Emmanuele Bassi +Date: Wed Dec 28 18:37:16 2011 +0000 + + docs: Update the release notes + + README.in | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 25ca2f135cca1b88f09ecaf6f5ca0fa6a555b350 +Author: Emmanuele Bassi +Date: Wed Dec 28 18:32:00 2011 +0000 + + build: Add inclusion guards and license notices + + clutter/deprecated/clutter-actor.h | 28 ++++++++++++++++++++++++++++ + clutter/deprecated/clutter-backend.h | 28 ++++++++++++++++++++++++++++ + clutter/deprecated/clutter-container.h | 7 +++++-- + clutter/deprecated/clutter-group.h | 27 ++++++++++++++++++++++++++- + clutter/deprecated/clutter-main.h | 25 +++++++++++++++++++++++++ + clutter/deprecated/clutter-stage.h | 25 +++++++++++++++++++++++++ + 6 files changed, 137 insertions(+), 3 deletions(-) + +commit 6f4578838ca89aa42cf7ac80c908c4c3868d4dd2 +Author: Emmanuele Bassi +Date: Tue Dec 27 19:28:47 2011 +0000 + + actor: Use proper internal API + + Inside the set_child_[above|below]_sibling() and set_child_at_index() we + should be using the internal API for mutating the children list, instead + of the delegate functions. This ensures that we go through a single, + well-defined code path for all operations on the list of children of + an actor. + + clutter/clutter-actor.c | 187 +++++++++++++++++++++++++++++------------------- + 1 file changed, 113 insertions(+), 74 deletions(-) + +commit b835e1f8c4101c668589c2c760e251853c20474a +Author: Emmanuele Bassi +Date: Tue Dec 27 18:57:32 2011 +0000 + + Deprecate the old raise/lower API + + We have a replacement in ClutterActor, now. + + The old ClutterContainer API needs to be deprecated, and the raise() and + lower() virtual functions need a default implementation, so we can check + for implementations overriding them, by using the diagnostic mode like + we do for add(), remove(), and foreach(). + + The sort_depth_order() virtual function just doesn't do anything, as it + should have been made ages ago. + + The Actor wrappers for the Container methods also need to be deprecated. + + clutter/clutter-actor.c | 51 +++++---------- + clutter/clutter-actor.h | 7 --- + clutter/clutter-container.c | 111 ++++++++++++++++++++++++++------- + clutter/clutter-container.h | 20 +++--- + clutter/deprecated/clutter-actor.h | 14 +++++ + clutter/deprecated/clutter-container.h | 47 +++++++++----- + 6 files changed, 154 insertions(+), 96 deletions(-) + +commit 9a66392d49f7403ac35d31edd96b580e4921600b +Author: Emmanuele Bassi +Date: Tue Dec 27 18:22:05 2011 +0000 + + actor: Add new methods for changing the paint sequence + + ClutterActor provides four methods for changing the paint sequence order + of its children: + + raise_top() + raise() + lower() + lower_bottom() + + The first and last one being just wrappers around raise() and lower(), + respectively. These methods have various issues: they omit the parent, + preferring to retrieve it from the actor passed as the first argument; + this does not match the new style of API introduced to operate on the + list of children of an actor. + + Additionally, the raise() and lower() methods of ClutterActor call into + the Container interface, and are not really aptly named (raise() in + particular collides with the completely unrelated 'raise' keyword in + Python, and usually needs to be wrapped in order to be used at all). + + Furthermore, we need public methods that Container can call from its + default implementation, as well as methods to port current Container + implementations. + + Finally, since we have insert_child_at_index(), we should also have an + equivalent set_child_at_index() as well. + + clutter/clutter-actor.c | 102 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 10 ++++ + tests/conform/test-actor-graph.c | 10 ++-- + 3 files changed, 118 insertions(+), 4 deletions(-) + +commit fa1792c3949c551763c812188429db447566d1ef +Author: Emmanuele Bassi +Date: Tue Dec 27 11:28:36 2011 +0000 + + actor: Use flags to control add/remove child + + The internal versions of add_child() and remove_child() currently use + boolean arguments to control things like the ChildMeta instances and + the emissions of signals; using more than one boolean argument is an + indication that you need flags to avoid readability issues, as well as + providing a way to add new behaviours without a combinatorial explosion + of arguments, later on. + + clutter/clutter-actor.c | 124 +++++++++++++++++++++++++++++++----------------- + 1 file changed, 80 insertions(+), 44 deletions(-) + +commit 72fa75c034ad0a3d94f4966e6644626e85b5b0e7 +Author: Emmanuele Bassi +Date: Wed Dec 21 17:07:25 2011 +0000 + + actor: Remove automagic "expand" flag + + I don't feel comfortable with this feature, and its implementation + still has too many rough edges. We can safely punt it for now, and + introduce it at a later point, as it doesn't block existing features + or API. + + clutter/clutter-actor.c | 471 +-------------------------------------- + clutter/clutter-actor.h | 10 - + clutter/clutter-box-layout.c | 57 +---- + clutter/clutter-layout-manager.c | 16 -- + clutter/clutter-layout-manager.h | 10 +- + clutter/clutter-table-layout.c | 42 +--- + 6 files changed, 14 insertions(+), 592 deletions(-) + +commit 72b523c9e9b9d5f7688090e181bd80e4ab94b83e +Author: Emmanuele Bassi +Date: Tue Dec 20 18:42:53 2011 +0000 + + table-layout: Override compute_expand() + + The TableLayout has two expansion flags that need to be taken into + consideration when computing the Actor expansion flags. + + clutter/clutter-table-layout.c | 56 ++++++++++++++++++++++++++++++++++++------ + 1 file changed, 48 insertions(+), 8 deletions(-) + +commit 5f79f6ee3715dad19d0b471bbea91a5363e29cf9 +Author: Emmanuele Bassi +Date: Tue Dec 20 18:41:51 2011 +0000 + + box-layout: Override compute_expand() + + ClutterBoxLayout has an expansion flag, and we need to take that into + consideration when computing the Actor expansion flags. + + clutter/clutter-box-layout.c | 57 ++++++++++++++++++++++++++++++++++++++++++-- + 1 file changed, 55 insertions(+), 2 deletions(-) + +commit 508f09f0a0c326b9a04cf021d134611e75690dd5 +Author: Emmanuele Bassi +Date: Tue Dec 20 18:40:11 2011 +0000 + + actor: Ask the LayoutManager to compute the expansion flags + + If an actor has a layout manager, we want to involve the delegate object + into the lazy computation of the expansion flags state. + + clutter/clutter-actor.c | 35 +++++++++++++++++++++++++++++++++++ + 1 file changed, 35 insertions(+) + +commit 29561165611b6c76315664271cc130bf37cf5c1e +Author: Emmanuele Bassi +Date: Tue Dec 20 18:38:47 2011 +0000 + + layout-manager: Add compute_expand() vfunc + + This virtual function will let layout managers with legacy expansion + flags be able to influence the lazy computation of the expansion flags + on ClutterActor. + + clutter/clutter-layout-manager.c | 16 ++++++++++++++++ + clutter/clutter-layout-manager.h | 12 +++++++++--- + 2 files changed, 25 insertions(+), 3 deletions(-) + +commit fd5e422b9fc58bec4cd98d626226b0ae03766e98 +Author: Emmanuele Bassi +Date: Tue Dec 20 17:05:48 2011 +0000 + + actor: Paint the background color in the paint class handler + + We need to paint the background color in the default class handler for + two reasons: it's logically appropriate, and we don't want actor + subclasses overriding the ::paint class handler to change behaviour only + because somebody decided to set the background color. + + clutter/clutter-actor.c | 38 +++++++++++++++++++------------------- + 1 file changed, 19 insertions(+), 19 deletions(-) + +commit 2aaf359272aa3b7a38e472bed10aff69caa7303b +Author: Emmanuele Bassi +Date: Tue Dec 20 15:59:15 2011 +0000 + + docs: Update the release notes + + README.in | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit e6082fe42f9fbee6b3e01ca86118fab455cca4b0 +Author: Emmanuele Bassi +Date: Tue Dec 20 15:49:20 2011 +0000 + + docs: Clean up ClutterContainer's description + + The API to add/remove/iterate over children is in ClutterActor, now. + + clutter/clutter-container.c | 11 +++-------- + 1 file changed, 3 insertions(+), 8 deletions(-) + +commit 7f092af15b46daba025d41646bb18c5d7ebb4d03 +Author: Emmanuele Bassi +Date: Tue Dec 20 15:21:06 2011 +0000 + + container: Add diagnostic warnings for deprecated vfuncs + + The old add(), remove(), and foreach() virtual functions are deprecated; + ClutterContainer should warn if the public API detects that the vfuncs + have been overridden. + + Strictly speaking, it's still legal to override those vfuncs: you can + chain up to the default vtable, or you could just provide an equivalent + implementation. The goal is to avoid having to override the Container + interface, until we can safely deprecate it and remove it in Clutter + 2.0. + + clutter/clutter-container.c | 51 ++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 48 insertions(+), 3 deletions(-) + +commit 477c60c185fd666bf9ce207915cbffca4e8aaa02 +Author: Emmanuele Bassi +Date: Tue Dec 20 15:04:24 2011 +0000 + + container: Provide default implementation of vfuncs + + Instead of making ClutterActor implement the basic add/remove/foreach + virtual functions of ClutterContainer, we can simply do that from + within the ClutterContainer implementation. + + clutter/clutter-actor.c | 49 ------------------------ + clutter/clutter-container.c | 92 +++++++++++++++++++++++++++++---------------- + 2 files changed, 59 insertions(+), 82 deletions(-) + +commit 959f875cbcfd5c5b11818b589aeb6a284d046695 +Author: Emmanuele Bassi +Date: Tue Dec 20 14:58:08 2011 +0000 + + container: Deprecate more methods + + The get_children(), foreach(), and foreach_with_internals() methods and + virtual functions are superceded by the Actor API, and should not be + used in newly written code. + + clutter/clutter-container.c | 15 +++++++++++++-- + clutter/clutter-container.h | 17 +++++------------ + clutter/deprecated/clutter-container.h | 13 +++++++++++++ + 3 files changed, 31 insertions(+), 14 deletions(-) + +commit 4eaa899871924304f4eb635fdaad3ef0663de51a +Author: Emmanuele Bassi +Date: Tue Dec 20 14:57:38 2011 +0000 + + group: Use Actor.remove_all_children() + + To implement the remove_all() method. + + clutter/deprecated/clutter-group.c | 18 +++--------------- + 1 file changed, 3 insertions(+), 15 deletions(-) + +commit 1979faee0065d34b211e205d64f5484a58285480 +Author: Emmanuele Bassi +Date: Tue Dec 20 14:56:54 2011 +0000 + + cally: Use Actor.get_children() + + Instead of the Container method, given that the new get_children() gives + us more actors by default. + + clutter/cally/cally-actor.c | 65 +++++++++++++++++++-------------------------- + 1 file changed, 28 insertions(+), 37 deletions(-) + +commit b42f17b2dcab6d750124afb90b01612311b672ad +Author: Emmanuele Bassi +Date: Tue Dec 20 14:47:35 2011 +0000 + + tests/interactive: Add a simple test for Actor + + It's meant to be xincluded in the API reference. + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-actor.c | 62 ++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 64 insertions(+), 1 deletion(-) + +commit 425ead5bd7316c415cff8094d30dca89ac59e347 +Author: Emmanuele Bassi +Date: Tue Dec 20 14:47:04 2011 +0000 + + actor: Add some debug spew + + clutter/clutter-actor.c | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +commit 86152f478db1ad0f51f97f341bcd7b1f6397d965 +Author: Emmanuele Bassi +Date: Tue Dec 20 13:32:37 2011 +0000 + + docs: Update the Actor API reference + + Given the size and scope of the changes in ClutterActor, we ought to + rewrite the overall description of what an actor is, what it does, and + how are you supposed to use it and subclass it. + + clutter/clutter-actor.c | 213 ++++--- + doc/reference/clutter/Makefile.am | 16 +- + doc/reference/clutter/clutter-docs.xml.in | 5 +- + doc/reference/clutter/clutter-sections.txt | 65 +- + doc/reference/clutter/creating-behaviours.xml | 68 --- + doc/reference/clutter/subclassing-ClutterActor.xml | 672 --------------------- + 6 files changed, 175 insertions(+), 864 deletions(-) + +commit 59590994737e2d05013c9941ac64ddb8a6d734eb +Author: Emmanuele Bassi +Date: Mon Dec 19 18:48:02 2011 +0000 + + Deprecate Container add() and remove() methods + + This will make things interesting. + + We have better replacements in ClutterActor, that do The Right Thing™ + instead of deferring control and requiring reimplementation in every + single container actor. + + clutter/Makefile.am | 1 + + clutter/clutter-actor.c | 12 ++- + clutter/clutter-bin-layout.c | 3 + + clutter/clutter-box-layout.c | 3 + + clutter/clutter-container.c | 174 ++++++++++++++++++++------------- + clutter/clutter-container.h | 16 --- + clutter/clutter-deprecated.h | 1 + + clutter/clutter-flow-layout.c | 3 + + clutter/clutter-script-parser.c | 4 +- + clutter/clutter-table-layout.c | 3 + + clutter/deprecated/clutter-box.c | 3 + + clutter/deprecated/clutter-container.h | 64 ++++++++++++ + 12 files changed, 198 insertions(+), 89 deletions(-) + +commit f61916fc5e81d9265896b42cf34d53c5af987d00 +Author: Emmanuele Bassi +Date: Mon Dec 19 18:01:04 2011 +0000 + + actor: Add remove_all_children() + + A simple method for removing all children of an actor in one fell swoop. + + clutter/clutter-actor.c | 50 +++++++++++++++++++++++++++++++++++---- + clutter/clutter-actor.h | 1 + + tests/conform/test-actor-graph.c | 28 ++++++++++++++++++++++ + tests/conform/test-conform-main.c | 3 ++- + 4 files changed, 76 insertions(+), 6 deletions(-) + +commit 673961f40cb69ad28806dfe763d74bac3662a8ad +Author: Emmanuele Bassi +Date: Mon Dec 19 17:34:22 2011 +0000 + + docs: Clarify the Actor's iterator API behaviour + + It should be noted in the documentation that it is not safe to operate + on the list of children of an Actor while iterating over it. + + clutter/clutter-actor.c | 15 +++++++++++---- + 1 file changed, 11 insertions(+), 4 deletions(-) + +commit 4f470b9231275c6966bde054f1eaf5f57bdd88f8 +Author: Emmanuele Bassi +Date: Mon Dec 19 14:37:42 2011 +0000 + + actor: Provide a proper implementation of replace_child() + + The correct sequence of actions should be remove(old) → insert(new), not + insert(new) → remove(old). We can implement a simple delegate insertion + functions to insert the new child between the previous and next siblings + of the old child. + + While we're at it, let's also add a unit test for replace_child(). + + clutter/clutter-actor.c | 72 +++++++++++++++++++++++++++++++++++++-- + tests/conform/test-actor-graph.c | 60 ++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 130 insertions(+), 3 deletions(-) + +commit 5cba8012073e36677a86abd9ac22a69153aa9be9 +Author: Emmanuele Bassi +Date: Mon Dec 19 12:13:23 2011 +0000 + + actor: Fix get_paint_volume() default implementation + + Providing a default get_paint_volume() that takes into account the + children of an actor was a goal of the whole First Apocalypse; if we + make all the containers rely on it, and yet we return a FALSE value + (meaning: we don't have a valid paint volume) even when we do have it, + then we are going to break the whole machinery, though. + + clutter/clutter-actor.c | 1 + + 1 file changed, 1 insertion(+) + +commit 3ad77b417ce55a354945378e4a1aa22234540099 +Author: Emmanuele Bassi +Date: Mon Dec 19 12:04:03 2011 +0000 + + stage: Use the Actor iteration API + + clutter/clutter-stage.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit aa9e2a382c313d6b2ce13937268f9b1588ae5573 +Author: Emmanuele Bassi +Date: Mon Dec 19 11:53:48 2011 +0000 + + Remove usage of Actor/Container.get_children() + + ClutterBox and ClutterGroup are still using the get_children() method + instead of the child iteration API. + + clutter/deprecated/clutter-box.c | 23 ++++++++++++----------- + clutter/deprecated/clutter-group.c | 10 +++++++--- + 2 files changed, 19 insertions(+), 14 deletions(-) + +commit 62535bdc7350fd65310bf94aea3583577cf5b10e +Author: Emmanuele Bassi +Date: Mon Dec 19 07:20:20 2011 +0000 + + actor: Simplify first/last child updates + + clutter/clutter-actor.c | 45 +++++++++++++++++++-------------------------- + 1 file changed, 19 insertions(+), 26 deletions(-) + +commit ab429f4f4547863e5afa98ed622d478107dbb783 +Author: Emmanuele Bassi +Date: Sun Dec 18 22:35:45 2011 +0000 + + Drop some more ClutterContainer.get_children() uses + + clutter/clutter-layout-manager.c | 11 ++++------- + clutter/clutter-script-parser.c | 19 ++++++++----------- + 2 files changed, 12 insertions(+), 18 deletions(-) + +commit ec6873958b2fbf820686006677da1e44647b910c +Author: Emmanuele Bassi +Date: Sun Dec 18 22:34:51 2011 +0000 + + fixed-layout: Use the Actor iteration API + + Forgot to migrate the FixedLayout layout manager like we did for the + other layout managers provided by Clutter. + + clutter/clutter-fixed-layout.c | 34 ++++++++++++++-------------------- + 1 file changed, 14 insertions(+), 20 deletions(-) + +commit 4d75e7a0f45c336441bf4cd218d5d922c8fd9897 +Author: Emmanuele Bassi +Date: Sun Dec 18 22:33:24 2011 +0000 + + cally: Use the Actor API instead of ClutterContainer + + Cally is doing a bunch of list traversals through the list returned by + ClutterContainer.get_children(); this means a traversal already, plus + a bunch of allocations. We can do better than that, now that we have + a proper graph iteration API inside ClutterActor. + + clutter/cally/cally-actor.c | 74 +++++++++++++++------------------------------ + 1 file changed, 25 insertions(+), 49 deletions(-) + +commit bd58694678fc2f6cdd6b6727677c8370ea62493b +Author: Emmanuele Bassi +Date: Sun Dec 18 22:14:36 2011 +0000 + + actor: Add replace_child() method + + A simple method that atomically replaces a child actor with another one. + + clutter/clutter-actor.c | 30 ++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 3 +++ + 2 files changed, 33 insertions(+) + +commit 238a6eb03de549249ff02dd3b3b82b9626f142cf +Author: Emmanuele Bassi +Date: Sun Dec 18 21:18:27 2011 +0000 + + actor: Deprecate the old parent modifiers + + The old API should not be used in newly written code; we have better + methods for setting up and modifying the scene graph, now. + + clutter/clutter-actor.c | 30 +++++++++++++++++++++--------- + clutter/clutter-actor.h | 6 ------ + clutter/deprecated/clutter-actor.h | 11 +++++++++++ + 3 files changed, 32 insertions(+), 15 deletions(-) + +commit f2015baeb76b68eb5c5ac20f7f4bbf8dc43c8499 +Author: Emmanuele Bassi +Date: Sun Dec 18 21:09:44 2011 +0000 + + conform/actor-graph: Add lower/raise units + + Check that the lower_bottom(), lower(), raise(), and raise_top() + methods work as intended. + + tests/conform/test-actor-graph.c | 106 ++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 + + 2 files changed, 108 insertions(+) + +commit 419a6a38f20781439669339c7a970d653523c5e7 +Author: Emmanuele Bassi +Date: Sun Dec 18 20:59:07 2011 +0000 + + conform: Add a suite for the Actor scene graph API + + Verify that insertion and removal maintain a stable graph, with pointers + to the various children. This should help out tracking regressions in + the scene graph API. + + tests/conform/Makefile.am | 1 + + tests/conform/test-actor-graph.c | 147 ++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 7 +- + 3 files changed, 153 insertions(+), 2 deletions(-) + +commit 813eef432548dd8bd1acfd3def86543d5530e24d +Author: Emmanuele Bassi +Date: Sun Dec 18 20:57:02 2011 +0000 + + actor: Fix child insertion issues + + The insert_child_at_index, insert_below and insert_above messed up the + first and last child pointers in various cases. This commit fixes all + the instances of first and last child pointers being stale or set to + NULL. + + clutter/clutter-actor.c | 45 ++++++++++++++++++++++++++++++++++++++------- + 1 file changed, 38 insertions(+), 7 deletions(-) + +commit 7e377b5aeef1dbf970b7fba391ccc9957ecd8e90 +Author: Emmanuele Bassi +Date: Sun Dec 18 11:26:29 2011 +0000 + + Port remaining layout managers to the new child iteration API + + TableLayout and FlowLayout now use the ClutterActor API for iterating + over the children of an actor. + + clutter/clutter-flow-layout.c | 38 ++++++++------- + clutter/clutter-table-layout.c | 104 ++++++++++++++++++++++++----------------- + 2 files changed, 82 insertions(+), 60 deletions(-) + +commit 9c9ab420600576d4b1ea127024f513a91c44bed0 +Author: Emmanuele Bassi +Date: Sun Dec 18 10:29:01 2011 +0000 + + Begin porting layout managers to the new child iteration API + + Instead of getting the list of children to iterate over it, let's use + the newly added child iteration API; this should save us a bunch of + allocations, as well as indirections. + + Ported: ClutterBinLayout and ClutterBoxLayout. + + clutter/clutter-bin-layout.c | 34 +++++++++--------- + clutter/clutter-box-layout.c | 84 +++++++++++++++++++------------------------- + 2 files changed, 52 insertions(+), 66 deletions(-) + +commit 8b430507b5ba13f0caeae371251e0ae66da32b29 +Author: Emmanuele Bassi +Date: Sun Dec 18 10:26:35 2011 +0000 + + actor: Add children iteration methods + + Instead of requiring every consumer of the ClutterActor API that wishes + to iterate over the children of an actor to use the get_children() + method, we should provide an iteration API directly inside ClutterActor + itself. + + clutter/clutter-actor.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-actor.h | 15 ++++++--- + 2 files changed, 97 insertions(+), 7 deletions(-) + +commit 22259e09656a88dc0c080a0c327244cbfd78085b +Author: Emmanuele Bassi +Date: Fri Dec 16 18:41:38 2011 +0000 + + actor: Define the scene structure inside Actor + + Instead of storing the list of children, let's turn Actor inside a + proper node of a tree. + + This change adds the following members to the Actor private data + structure: + + first_child + last_child + prev_sibling + next_sibling + + and removes the "children" GList from it; iteration is performed through + the direct pointers to the siblings and children. + + This change makes removal, insertion before a sibling, and insertion + after a sibling constant time operations, but it still retains the + feature of ClutterActor.add_child() to build the list of children while + taking into account the depth set on the newly added child, to allow the + default painter's algorithm we employ inside the paint() implementation + to at least try and cope with the :depth property (albeit in a fairly + naïve way). Changes in the :depth property will not change the paint + sequence any more: this functionality will be restored later. + + clutter/clutter-actor.c | 512 ++++++++++++++++++++++++++---------------------- + 1 file changed, 278 insertions(+), 234 deletions(-) + +commit 71545ae56f3d9cee09810bc4808d023807f25276 +Author: Emmanuele Bassi +Date: Mon Dec 12 11:57:45 2011 +0000 + + actor: Use a cairo_rectangle_t instead of a ridiculous array + + Make the code maintainable and readable. + + clutter/clutter-actor.c | 69 ++++++++++++++++++++++--------------------------- + 1 file changed, 31 insertions(+), 38 deletions(-) + +commit ea7111333b666338ed5e2c753ce186e012a8d0bd +Author: Emmanuele Bassi +Date: Fri Dec 9 17:17:21 2011 +0000 + + actor: Document fields of ClutterActorPrivate + + The private data structure members could do with more comments + documenting what they do. + + clutter/clutter-actor.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +commit 9eed2f58a635bebf9066f188498e095599d0d76d +Author: Emmanuele Bassi +Date: Fri Dec 9 14:38:25 2011 +0000 + + actor: Add TransformInfo + + ClutterTransformInfo is a (private) ancillary data structure that + contains all the decomposed transformation data, i.e. rotation angles + and centers, scale factors and centers, and anchor point. This data + structure is stored in the GData of the actor instance instead of the + actor's private data. This change gives us: + + • a smaller, cleaner private data structure; + • no size penalty for untransformed actors; + • static constant storage for the defaults, shared across all + instances; + • cache locality for all the decomposed transformation data, + given that the structure size is smaller. + + At the end of the day, the only authoritative piece of information for + actor transformation is the CoglMatrix that we initialize in + apply_transform() from all the decomposed parameters, and that can stay + inside the private data structure of ClutterActor. + + clutter/clutter-actor-private.h | 58 +++ + clutter/clutter-actor.c | 857 +++++++++++++++++++++++++--------------- + 2 files changed, 589 insertions(+), 326 deletions(-) + +commit 193af778663104bca0802821d5033f230eab91c0 +Author: Emmanuele Bassi +Date: Thu Dec 8 14:33:06 2011 +0000 + + docs: Update the release notes + + README.in | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 376bf4a99084138b4728a80ac17fa0c0001892a9 +Author: Emmanuele Bassi +Date: Thu Dec 8 10:01:53 2011 +0000 + + actor: Tweak the underallocation warning + + There are only two kinds of actors that allow underallocations, + according to the API contract: + + • ClutterStage, as it is a viewport and it doesn't have an implicit + minimum size; + + • Actors using the CLUTTER_ACTOR_NO_LAYOUT escape hatch, which allows + them to bail out from our layout management policies. + + The warning about underallocations should take these two exceptions + under consideration. + + clutter/clutter-actor.c | 28 ++++++++++++++++++---------- + 1 file changed, 18 insertions(+), 10 deletions(-) + +commit 6d268fe5ca5c0d97a64dc5a47cf29f549010c556 +Author: Emmanuele Bassi +Date: Tue Dec 6 17:49:27 2011 +0000 + + Deprecate ClutterRectangle + + A ClutterActor with a background color set covers 99% of the use cases + for a Rectangle. + + clutter/Makefile.am | 8 ++++---- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-rectangle.c | 7 ++++++- + clutter/{ => deprecated}/clutter-rectangle.h | 14 ++++++++++++++ + 5 files changed, 25 insertions(+), 6 deletions(-) + +commit 6237eb7892f9b14d4e42d7ac2262c0a42e5f8433 +Author: Emmanuele Bassi +Date: Tue Dec 6 17:33:44 2011 +0000 + + Deprecate ClutterGroup + + The Group functionality is now provided by ClutterActor. + + Sadly, we need to keep the ClutterGroup structure definition in the + non-deprecated header because ClutterStage inherits from Group - an API + wart that was never fixed during the 0.x cycles, and that we'll have to + keep around until we can break API. + + clutter/Makefile.am | 2 +- + clutter/clutter-group.h | 12 ++++++------ + clutter/{ => deprecated}/clutter-group.c | 11 +++++++++++ + clutter/deprecated/clutter-group.h | 14 ++++++++++++++ + 4 files changed, 32 insertions(+), 7 deletions(-) + +commit b4d269705ea18a0374c120c5b2172e0f4060d269 +Author: Emmanuele Bassi +Date: Tue Dec 6 17:18:23 2011 +0000 + + Deprecate ClutterBox + + ClutterBox functionality has been implemented by ClutterActor, and + proxied by the Box subclass; with the removal of the abstract bit on + ClutterActor, we can safely deprecated ClutterBox. + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-box.c | 41 +++++++++++++++++++++++++++++----- + clutter/{ => deprecated}/clutter-box.h | 15 +++++++++++++ + 5 files changed, 53 insertions(+), 9 deletions(-) + +commit a6df0b6a53ac7946acd758529403cebe64716d43 +Author: Emmanuele Bassi +Date: Tue Dec 6 17:44:04 2011 +0000 + + cally: Do not use Group API + + Avoids a deprecation warning. + + clutter/cally/cally-group.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 7fd35edd3fae2bc6181de79f5d0be0d82034e9fe +Author: Emmanuele Bassi +Date: Tue Dec 6 16:09:53 2011 +0000 + + actor: Make Actor instantiatable + + ClutterActor now has all the API and capabilities for being a concrete + class: + + - layout management, through delegation + - container implementation and API + - background color + + This means that a simple scene can be built straight out of actors + without using subclasses except for the Stage. + + This is the first step towards the deprecation of most of the Actor + subclasses provided by Clutter. + + clutter/clutter-actor.c | 40 ++++++++++++++++++++++++++++----------- + clutter/clutter-actor.h | 4 +++- + tests/conform/test-actor-layout.c | 24 +++++++++++++++-------- + 3 files changed, 48 insertions(+), 20 deletions(-) + +commit 8caee3e97e27c4240c57f85c0381a4f11b8d959f +Author: Emmanuele Bassi +Date: Tue Dec 6 16:00:49 2011 +0000 + + group: Proxy last few methods to Actor + + At this point, ClutterGroup is basically just a shim layer on top of + ClutterActor. + + clutter/clutter-group.c | 24 +++++------------------- + 1 file changed, 5 insertions(+), 19 deletions(-) + +commit 4acf8de8b460f87910e1d8c7105028546dce66d8 +Author: Emmanuele Bassi +Date: Tue Dec 6 16:00:08 2011 +0000 + + actor: Provide more children methods + + Add a getter for the number of children, as well as a method to retrieve + the child at a given index. + + clutter/clutter-actor-private.h | 1 - + clutter/clutter-actor.c | 36 +++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 5 ++++- + 3 files changed, 39 insertions(+), 3 deletions(-) + +commit b86cf3e2f3e240dde97838ff922d03d4e7004cd5 +Author: Emmanuele Bassi +Date: Mon Dec 5 13:08:41 2011 +0000 + + group: Use the default get_paint_volume() + + ClutterActor does everything we did, and more. + + clutter/clutter-group.c | 34 ---------------------------------- + 1 file changed, 34 deletions(-) + +commit e62536fad67e8e8250c0828006edafd6190c3d7d +Author: Emmanuele Bassi +Date: Mon Dec 5 12:45:08 2011 +0000 + + actor: Provide a better get_paint_volume() implementation + + ClutterActor can do better by default than just giving up immediately. + + An actor can check for the clip region, and for its children's paint + volume, for instance. + + Just these two should give us a better default implementation for newly + written code. + + clutter/clutter-actor.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 59 insertions(+), 1 deletion(-) + +commit 7195d0fccf073f348177db6cb6aa495cf5a52181 +Author: Emmanuele Bassi +Date: Mon Dec 5 10:25:42 2011 +0000 + + flow-layout: Fix minimum size request + + The minimum preferred size of a Flow layout manager is the size of a + column or a row, as the whole point of the layout policy enforced by + the Flow layout manager is to reflow when needed. + + clutter/clutter-flow-layout.c | 4 ++-- + tests/interactive/test-flow-layout.c | 6 ++---- + 2 files changed, 4 insertions(+), 6 deletions(-) + +commit ba093ed5e797c9ee52be4f43527dcfe2d9680a2c +Author: Emmanuele Bassi +Date: Mon Dec 5 10:19:45 2011 +0000 + + box: Proxy the Actor's background color properties + + ClutterBox's color and color-set properties can be implemented as + proxies for the ClutterActor's newly added background-color and + background-color-set properties, respectively. + + This also allows us to get rid of the paint() implementation inside + ClutterBox altogether. + + clutter/clutter-box.c | 112 +++++++++++++++----------------------------------- + 1 file changed, 33 insertions(+), 79 deletions(-) + +commit 98a8feae6414fcb427a242cdb86a91c1e07400f0 +Author: Emmanuele Bassi +Date: Mon Dec 5 08:41:51 2011 +0000 + + actor: Background color + + Each actor should have a background color property, disabled by default. + + This property allows us to cover 99% of the use cases for + ClutterRectangle, and brings us one step closer to being able to + instantiate ClutterActor directly. + + clutter/clutter-actor.c | 137 +++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 5 ++ + 2 files changed, 141 insertions(+), 1 deletion(-) + +commit 7d88a70b7807db4897a8dad24e657d8ac459cc4a +Author: Emmanuele Bassi +Date: Fri Dec 2 16:16:26 2011 +0000 + + actor: Cosmetic fixes to internal add/remove child + + Avoid code duplication all over the place. + + clutter/clutter-actor.c | 63 +++++++++++++++++++++++++++++-------------------- + 1 file changed, 38 insertions(+), 25 deletions(-) + +commit 24a451b388c15c2f4d6987d4634ed5dae3cb91cd +Author: Emmanuele Bassi +Date: Fri Dec 2 15:38:25 2011 +0000 + + conform/layout: Remove last Container.add_actor() usage + + Use clutter_actor_add_child(), now that Stage falls back to the default + implementation of Container provided by the Actor class. + + tests/conform/test-actor-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 3f877a3d7120854ab98f350f430d5f8a721a213e +Author: Emmanuele Bassi +Date: Fri Dec 2 15:36:58 2011 +0000 + + group: Use the default paint() implementation + + ClutterActor's paint implementation is perfectly fine for ClutterGroup: + it paints the actor's children, which is exactly what ClutteGroup does. + + clutter/clutter-group.c | 19 ------------------- + 1 file changed, 19 deletions(-) + +commit 798a2e5297646d9455a36400f4958fa5f7921f2a +Author: Emmanuele Bassi +Date: Fri Dec 2 14:41:55 2011 +0000 + + actor: Minor cosmetic fixes to the header + + clutter/clutter-actor.h | 104 +++++++++++++++++++++++------------------------- + 1 file changed, 50 insertions(+), 54 deletions(-) + +commit b869019eb27735ac170661f0c365dc817533129d +Author: Emmanuele Bassi +Date: Fri Dec 2 12:12:40 2011 +0000 + + group: Do not override Container + + Let ClutterActor do all the work. + + clutter/clutter-group.c | 276 +++++++++--------------------------------------- + 1 file changed, 47 insertions(+), 229 deletions(-) + +commit ef3dc2d1bac85b958b3bb8cf32d8045978c1a853 +Author: Emmanuele Bassi +Date: Fri Dec 2 11:51:15 2011 +0000 + + actor: Make Actor.add_child and Container.add_actor idempotent + + And make sure that overriding Container and calling + clutter_actor_add_child() will result in the same sequence of operations + as the current set_parent()+queue_relayout()+signal_emit pattern. + + Existing containers can continue using: + + clutter_actor_set_parent (child, CLUTTER_ACTOR (container)); + clutter_actor_queue_relayout (CLUTTER_ACTOR (container)); + g_signal_emit_by_name (container, "actor-added", child); + + and newly written containers overriding Container.add() can simply call: + + clutter_actor_add_child (CLUTTER_ACTOR (container), child); + + instead. + + clutter/clutter-actor.c | 132 +++++++++++++++++++++++++++----------- + tests/conform/test-actor-layout.c | 12 ++-- + 2 files changed, 100 insertions(+), 44 deletions(-) + +commit 2894587b221352241d8eb5fdb1136d9856c36b3c +Author: Emmanuele Bassi +Date: Tue Nov 29 18:10:57 2011 +0000 + + actor: Do not leak the layout manager + + clutter/clutter-actor.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 038aadfa72c2c286e40564410a3b317f629180ea +Author: Emmanuele Bassi +Date: Tue Nov 29 18:03:05 2011 +0000 + + box: Drop Container interface overrides + + And defer as much as possible to ClutterActor's default implementation + for basically everything. + + clutter/clutter-box.c | 213 +++++--------------------------------------------- + 1 file changed, 19 insertions(+), 194 deletions(-) + +commit b7737855338f6dbb9c647a47a69354d368bdda60 +Author: Emmanuele Bassi +Date: Tue Nov 29 18:02:20 2011 +0000 + + actor: Implement Container::sort_depth_order + + There's no reason this vfunc should be left out. + + clutter/clutter-actor.c | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +commit 86ec629776a1fd0661bb298b46b8d706ca17ac3e +Author: Emmanuele Bassi +Date: Tue Nov 29 17:41:33 2011 +0000 + + actor: Add child insertion methods + + We should allow inserting children at given indices, and at given + stacking positions (relative or not to other children). + + clutter/clutter-actor.c | 268 +++++++++++++++++++++++++++++++++++++++++++----- + clutter/clutter-actor.h | 18 +++- + 2 files changed, 256 insertions(+), 30 deletions(-) + +commit 8c2118542c565f6a81c0cda559eb979a766165b2 +Author: Emmanuele Bassi +Date: Mon Nov 28 17:42:49 2011 +0000 + + conform: Begin a test suite for layout options + + A simple sampling check to validate that we're painting the right thing + at the right place. + + tests/conform/Makefile.am | 3 +- + tests/conform/test-actor-layout.c | 288 ++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 + + 3 files changed, 292 insertions(+), 1 deletion(-) + +commit 37d46649ce56ec55aaf23f7b745ae25224cf170a +Author: Emmanuele Bassi +Date: Mon Nov 28 15:30:52 2011 +0000 + + actor: Adjust the preferred size too + + Don't adjust just the allocation: we need to adjust the preferred size + of the actor to account for the margin. + + clutter/clutter-actor.c | 346 +++++++++++++++++++++++++++++++----------------- + clutter/clutter-actor.h | 1 + + clutter/clutter-types.h | 4 +- + 3 files changed, 230 insertions(+), 121 deletions(-) + +commit bf275751879848ff90fafe05fe9eb1c58f4f6190 +Author: Emmanuele Bassi +Date: Fri Nov 25 10:27:01 2011 +0000 + + actor: Maintain invariants in add_child/remove_child + + We need to queue a relayout when removing a visible child from a visible + parent. + + We also need to insert the child at the right position (depending on the + depth) so that newly added actors will be painted on top. + + clutter/clutter-actor.c | 580 ++++++++++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-actor.h | 2 + + clutter/clutter-types.h | 11 + + 3 files changed, 572 insertions(+), 21 deletions(-) + +commit 9d9e98968f0373de795e0399c27c6c28dd9780cd +Author: Emmanuele Bassi +Date: Thu Nov 24 14:34:18 2011 +0000 + + actor: More cleanups to the Private data structure + + Try to document it properly. We can also remove some things that are + properly encapsulated through functions, like the redraw clip volume. + + clutter/clutter-actor.c | 87 +++++++++++++++++++++++++------------------------ + clutter/clutter-stage.c | 6 ++-- + 2 files changed, 46 insertions(+), 47 deletions(-) + +commit 913276976789aba4f5b833d3bcb5d6fb0b260bd8 +Author: Emmanuele Bassi +Date: Thu Nov 24 14:13:29 2011 +0000 + + actor: Store the fixed sizes into LayoutInfo + + Remove four more floats from ClutterActorPrivate. + + The fixed minimum and natural sizes should be stored inside the + ClutterLayoutInfo structure, along with the fixed position. + + clutter/clutter-actor-private.h | 9 ++ + clutter/clutter-actor.c | 200 ++++++++++++++++++++++++++++------------ + 2 files changed, 152 insertions(+), 57 deletions(-) + +commit b4d3b52b625717ee66c7e01d810559ac6ac8f8ef +Author: Emmanuele Bassi +Date: Thu Nov 24 14:11:00 2011 +0000 + + actor: Update the underallocations check + + Add a failsafe against a NULL parent, to avoid a segfault when calling + clutter_actor_allocate() on the Stage. + + We also need to deal with floating point values: straight comparison is + not going to cut it. + + clutter/clutter-actor.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 409c3ed8ff15352aa600e45efbb59360edf69513 +Author: Emmanuele Bassi +Date: Wed Nov 23 18:16:29 2011 +0000 + + actor: Adjust the allocation prior to call allocate() + + ClutterActor has various properties controlling the allocation: + + - x-align, y-align + - margin-top, margin-bottom, margin-left, margin-right + + These properties should adjust the ClutterActorBox passed from the + parent actor to its children when calling clutter_actor_allocate(), + so that the child can just allocate its children at the right origin + with the right available size. + + clutter/clutter-actor-private.h | 32 ++++ + clutter/clutter-actor.c | 402 +++++++++++++++++++++++++++++----------- + 2 files changed, 329 insertions(+), 105 deletions(-) + +commit a85c53ea0bce23a369c7e5225c0a36d500a460b7 +Author: Emmanuele Bassi +Date: Tue Nov 22 17:03:00 2011 +0000 + + actor: Clean up property installation + + clutter/clutter-actor.c | 798 +++++++++++++++++++++++------------------------- + 1 file changed, 377 insertions(+), 421 deletions(-) + +commit a2a38ee7976c0c7e51eea89f3f12479a5afd5371 +Author: Emmanuele Bassi +Date: Mon Nov 21 17:45:32 2011 +0000 + + actor: Add margin properties + + The actor class should be able to hold the margin offsets like it does + for expand and alignment flags. + + Instead of filling the private data structure with data, we should be + able to use an ancillary data structure, given that all this data is + optional and might never be set in the first place. + + clutter/clutter-actor.c | 474 ++++++++++++++++++++++++++++++++++++++++++------ + clutter/clutter-actor.h | 13 ++ + clutter/clutter-types.h | 16 ++ + 3 files changed, 452 insertions(+), 51 deletions(-) + +commit c8659b6ca562154734f10338136aa9d148e0c13f +Author: Emmanuele Bassi +Date: Mon Nov 21 17:24:03 2011 +0000 + + actor: Add [xy]-align + + Allow an actor to define how it should occupy the extra space given to + by its parent during the allocation. + + clutter/clutter-actor.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 7 ++++ + clutter/clutter-enums.h | 27 +++++++++++++ + 3 files changed, 135 insertions(+) + +commit 4453ee7266944e82bce30a5d84e15d94db83df0b +Author: Emmanuele Bassi +Date: Mon Nov 21 14:53:14 2011 +0000 + + actor: Provide Container::raise/lower implementations + + clutter/clutter-actor.c | 67 +++++++++++++++++++++++++++++++++++++++++-------- + 1 file changed, 57 insertions(+), 10 deletions(-) + +commit 752151bc975bbaa0ecd8e67d5125e9051faa5eb8 +Author: Emmanuele Bassi +Date: Mon Nov 21 14:52:39 2011 +0000 + + actor: Remove is-a(Container) checks + + All actors are now Container implementations, so there's no need to add + a type check. + + clutter/clutter-actor.c | 37 ++++++++++++++----------------------- + 1 file changed, 14 insertions(+), 23 deletions(-) + +commit f2609dcca4ead9014dc81867b07c50666df4639b +Author: Emmanuele Bassi +Date: Sun Nov 20 22:00:01 2011 +0000 + + actor: Add [xy]-expand properties + + clutter/clutter-actor.c | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 7 ++++ + 2 files changed, 106 insertions(+) + +commit d5086da3fd3c32ddb5359c7d0dc5b64700138a98 +Author: Emmanuele Bassi +Date: Thu Nov 17 17:26:15 2011 +0000 + + box: Defer to ClutterActor + + Use the default implementation inside ClutterActor instead of our own, + wherever possible. + + clutter/clutter-box.c | 158 ++++++-------------------------------------------- + 1 file changed, 17 insertions(+), 141 deletions(-) + +commit 1c40151d0e38be7cc999febf126c0f151ed051d0 +Author: Emmanuele Bassi +Date: Thu Dec 8 11:57:19 2011 +0000 + + actor: Default to a fixed layout manager + + In case no layout manager was set during construction, we fall back to a + FixedLayout. The FixedLayout has the property of making the fixed + positioning and sizing API, as well as the various Constraints, work + out of the box. + + clutter/clutter-actor.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 11e876c86ba85e55c851201bedf8c5b6685091cc +Author: Emmanuele Bassi +Date: Thu Nov 17 17:07:10 2011 +0000 + + actor: Add :layout-manager + + Now that ClutterActor implements the Container contract we can actually + defer the size negotiation to a ClutterLayoutManager directly from the + default implementation of the Actor's virtual functions. + + clutter/clutter-actor.c | 144 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 4 ++ + clutter/clutter-layout-manager.h | 1 - + clutter/clutter-types.h | 1 + + 4 files changed, 149 insertions(+), 1 deletion(-) + +commit b45d78e6a17dea19db4c3369f3062ee5a1ed3a1d +Author: Emmanuele Bassi +Date: Thu Nov 17 16:32:05 2011 +0000 + + actor: Provide a default Container implementation + + We can provide most of the ClutterContainer implementation directly + within ClutterActor — basically removing the need of having the + Container interface in the first place. For backward compatibility + reasons we can keep the interface, but let Actor implement it directly. + + clutter/clutter-actor.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 82 insertions(+) + +commit 8462b5ba458bb6fff93ecf7c8b74c6cf3101fd3c +Author: Emmanuele Bassi +Date: Thu Nov 17 15:23:05 2011 +0000 + + Do not use set_parent()/unparent() internally + + Use add_child()/remove_child() instead. + + clutter/clutter-actor.c | 12 ++++++------ + clutter/clutter-box.c | 6 +++--- + clutter/clutter-group.c | 4 ++-- + clutter/clutter-texture.c | 25 +++++++++++++++---------- + 4 files changed, 26 insertions(+), 21 deletions(-) + +commit 53aa64aeb9107ca0afc47a4aeb8667f5820c0190 +Author: Emmanuele Bassi +Date: Thu Nov 17 15:03:32 2011 +0000 + + actor: Provide add/remove child and get children methods + + Let's try and move away from the reverse implicit scene graph build API, + which we mutuated from GTK+, towards a more traditional node/child API. + + The set_parent()/unparent() API is confusing, unless you know the + history; having a add_child()/remove_child() methods pair makes it more + explicit. + + We can easily implement the old set_parent()/unparent() pair in terms of + the newly add_child()/remove_child() one. + + clutter/clutter-actor.c | 180 +++++++++++++++++++++++++++++------------------- + clutter/clutter-actor.h | 5 ++ + 2 files changed, 116 insertions(+), 69 deletions(-) + +commit 0396d3e7e6243037503d0bf220448caea13fea88 +Author: Neil Roberts +Date: Mon Jan 16 15:22:43 2012 +0000 + + Remove use of CoglVector3 + + Cogl has removed the CoglVector3 type in favour of directly using an + array of 3 floats. + + Reviewed-by: Robert Bragg + + clutter/clutter-paint-volume.c | 11 ++++++----- + clutter/clutter-private.h | 4 ++-- + clutter/clutter-stage.c | 32 ++++++++++++++++---------------- + 3 files changed, 24 insertions(+), 23 deletions(-) + +commit 7c14ba7d374db06db737b5b5e2df154ae5564df2 +Author: Emmanuele Bassi +Date: Fri Jan 13 16:21:15 2012 +0000 + + actor: Clean up the debug node for out-of-band transforms + + Enclose the check inside a #ifdef CLUTTER_ENABLE_DEBUG ... #endif, so + that we can compile it out; also, use g_string_append() instead of the + g_string_append_printf() function, given that we're just concatenating + strings. + + clutter/clutter-actor.c | 31 ++++++++++++++++++++++++------- + 1 file changed, 24 insertions(+), 7 deletions(-) + +commit f2a4aee41254ff9eb44655de4d2c5e8f7767e5cb +Author: Fran Diéguez +Date: Sun Jan 15 00:19:35 2012 +0100 + + Updated Galician translations + + po/gl.po | 606 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 315 insertions(+), 291 deletions(-) + +commit e0e6b72b67e9c8c258a8e78fccf3655204b4a9e1 +Author: Emmanuele Bassi +Date: Thu Jan 12 23:20:59 2012 +0000 + + clutter.modules: Bump json-glib + + build/clutter.modules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 646cf236a5dfba480f18f7dd82467ac3d2fe238f +Author: Emmanuele Bassi +Date: Thu Jan 12 13:31:21 2012 +0000 + + backend: Remove ClutterBackend::redraw + + The ::redraw virtual function was a throwback from olden times, and has + been thoroughly replaced by the equivalent vfunc on the StageWindow + interface. We can safely remove it, now, and simplify the flow of the + redraw code inside ClutterStage. + + clutter/clutter-backend-private.h | 81 +++++++++++++++++---------------------- + clutter/clutter-backend.c | 39 ------------------- + clutter/clutter-stage.c | 23 ++++++++++- + 3 files changed, 58 insertions(+), 85 deletions(-) + +commit 0c365f9f4c920274e1c1b8190b6bc804260355c6 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:49:16 2012 +0000 + + gesture-action: Protect against NULL pointers + + clutter/clutter-gesture-action.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 3b9b69ef54b0a90200477dd846921c46e01c2044 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:49:02 2012 +0000 + + gesture-action: Use the event propagation macros + + clutter/clutter-gesture-action.c | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit d83fbd7bdf8cbeb5019e0be02ba4f0ac0aa5c436 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:44:28 2012 +0000 + + docs: Add the ::destroy change in the release notes + + Given that I had to fix code inside Clutter that did not check for NULL + pointers, I assume other people may experience the same issues. + + README.in | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 99f7d627afd77852af0a038cab4a4e67c61450df +Author: Emmanuele Bassi +Date: Thu Jan 12 10:40:38 2012 +0000 + + text: Use the event and source symbolic macros + + Instead of boolean values. + + clutter/clutter-text.c | 32 ++++++++++++++++---------------- + 1 file changed, 16 insertions(+), 16 deletions(-) + +commit 21149adb12643b34b959aa6c889322dbae1a2fff +Author: Emmanuele Bassi +Date: Thu Jan 12 10:39:59 2012 +0000 + + drop-action: Use the event propagation macros + + clutter/clutter-drop-action.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 81694d0dd969d41e8e9825f504c1e07603c2afd2 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:34:50 2012 +0000 + + drag-action: Use the new event propagation macros + + clutter/clutter-drag-action.c | 29 +++++++++++++++++------------ + 1 file changed, 17 insertions(+), 12 deletions(-) + +commit cce2e25ac7ef395d880352c93272256ea088c2dd +Author: Emmanuele Bassi +Date: Thu Jan 12 10:34:26 2012 +0000 + + deform-effect: Check against NULL pointers + + Do not try to disconnect signal handlers from NULL pointers. + + clutter/clutter-deform-effect.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 20e63532a4ed9b2a3476f0bf5e7cd45279ee2d13 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:27:17 2012 +0000 + + click-action: Use the new symbolic event propagation macros + + clutter/clutter-click-action.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit dbf3b607bf1b295c782ab8edfb2d80bc25f74a37 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:26:47 2012 +0000 + + click-action: Be resilient against NULL pointers + + Do not try to disconnect signal handlers from NULL pointers. + + clutter/clutter-click-action.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 8e6b3914ef77fc80af9fc5ca84b755c84551a245 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:17:01 2012 +0000 + + build: Remove a bunch of useless checks + + Some pkg-config dependencies are still there from the days when Cogl + was in tree - and even then, they barely made sense. + + .gitignore | 1 + + configure.ac | 33 +++++---------------------------- + 2 files changed, 6 insertions(+), 28 deletions(-) + +commit 7ca37b6e58a8aed699fd2d461fcbb9a2704550a7 +Author: Emmanuele Bassi +Date: Thu Jan 12 10:10:09 2012 +0000 + + build: Fix the private pkg-config requirements + + Private pkg-config requirements are conditional. + + configure.ac | 23 +++++++++++++++++------ + 1 file changed, 17 insertions(+), 6 deletions(-) + +commit ed9c3ee54ebafb6e477cafc39d36cc96574938ee +Author: Rob Bradford +Date: Wed Jan 11 12:26:00 2012 +0000 + + wayland: Pull gdk-pixbuf in a private dependency + + This means it will get tested for explicitly as well as appearing in the + Requires.private section of the pkg-config file. + + configure.ac | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 4afe793eedc6b822ac2aa9465808239cacaa9cf8 +Author: Rob Bradford +Date: Wed Jan 11 12:23:46 2012 +0000 + + build: Add infrastructure for inserting Requires.private into pkg-config files + + clutter/clutter.pc.in | 2 ++ + configure.ac | 5 +++++ + 2 files changed, 7 insertions(+) + +commit a9e6137f4727750e391b105581b4fd17acb09c31 +Author: Rob Bradford +Date: Tue Jan 10 17:25:35 2012 +0000 + + wayland: Attach cursor buffer to input device when it enters the surface + + The Wayland semantics mean that we must attach a buffer to the input device + when the pointer enters the surface to provide a cursor. + + clutter/wayland/clutter-input-device-wayland.c | 15 +++++++++++++-- + 1 file changed, 13 insertions(+), 2 deletions(-) + +commit e1434cebdb7b77ef39296eb80cb4b928a5267c2c +Author: Rob Bradford +Date: Tue Jan 10 16:40:59 2012 +0000 + + wayland: Load a buffer from well known location for the cursor + + Semantic changes to Wayland means that we cannot rely on the compositor + setting a pointer buffer for us if set it to nil. The first part of fixing + this is to create an shm buffer containing the bytes for our cursor. + + The best way to do this currently is to load the cursor from the well known + location where weston instals its cursor images. The code to implemente this + was derivedlifted from the Wayland backend in GTK+. + + clutter/wayland/clutter-backend-wayland.c | 179 ++++++++++++++++++++++++++++++ + clutter/wayland/clutter-backend-wayland.h | 3 + + 2 files changed, 182 insertions(+) + +commit 3c99fd2ddbdda96896acd2023cb2dbdeb7ff2544 +Author: Ryan Lortie +Date: Mon Jan 9 16:04:08 2012 +0100 + + Prevent .po file updates on simple 'make' + + https://bugzilla.gnome.org/show_bug.cgi?id=661128 + + autogen.sh | 4 + + po/clutter-1.0.pot | 2202 ---------------------------------------------------- + 2 files changed, 4 insertions(+), 2202 deletions(-) + +commit de942120242ec1257670b624b64a0102e1090f8b +Author: Alexander Shopov +Date: Sun Jan 8 14:30:48 2012 +0200 + + Updated Bulgarian translation + + po/bg.po | 1042 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 540 insertions(+), 502 deletions(-) + +commit d8e855e5854f57053f6fad491e9860dcc7287e56 +Author: Emmanuele Bassi +Date: Sat Jan 7 10:41:25 2012 +0000 + + osx: Use Lucida Grande as the default font + + Instead of falling back to the generic "Sans". + + clutter/osx/clutter-backend-osx.c | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +commit 95d3e0f962a896bdfa24945b50e82ccd6d4e1495 +Author: Emmanuele Bassi +Date: Fri Jan 6 14:04:43 2012 +0000 + + actor: Change the point of emission of ::destroy + + Currently, we're emitting the ClutterActor::destroy at the end of the + dispose implementation - right before we chain up to the parent + implementation. + + The point of emission makes the ::destroy signal handlers able to just + use the actor pointer - as the actor state will have been mostly cleared + by the time application can run. This (undocumented) behaviour severely + limits the amount of things you can do inside a ::destroy signal + handler, thus making the ::destroy signal just a weird weak reference, + instead of a proper way to break application reference cycles. + + Given that this change relaxes some of the conditions, this change + should be safe - obviously, if anything happens, we'll back it out; the + conformance and interactive tests confirm that, for common patterns of + usage, this change does not break existing code. + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit fa39f67eab9af470cc815a8900806567cd966721 +Author: Emmanuele Bassi +Date: Fri Jan 6 14:02:54 2012 +0000 + + actor: Use g_clear_object() + + GLib has a nice, atomic object clearing function that allows us to drop + code looking like: + + if (priv->object != NULL) + { + g_object_unref (priv->object); + priv->object = NULL; + } + + from the ::dispose implementation. + + clutter/clutter-actor.c | 34 +++++----------------------------- + 1 file changed, 5 insertions(+), 29 deletions(-) + +commit 88aaad9bdf22ae7d5d1c317d894faecc5d4a125c +Author: Emmanuele Bassi +Date: Tue Jan 3 14:38:56 2012 +0000 + + docs: Add event propagation symbolic constants + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit e3511fcbac0eab551abd6038894ff2d17d8a1a23 +Author: Emmanuele Bassi +Date: Tue Jan 3 14:00:40 2012 +0000 + + configure: Clean up help and configuration summary + + configure.ac | 23 ++++++++++++++--------- + 1 file changed, 14 insertions(+), 9 deletions(-) + +commit f5fffb355b546cd36621b1de0bf15472da10f782 +Author: Emmanuele Bassi +Date: Tue Jan 3 13:50:06 2012 +0000 + + Move Perspective and Fog definitions to clutter-types.h + + Since we reference the types from multiple files. + + clutter/clutter-stage.h | 7 ------- + clutter/clutter-types.h | 4 ++++ + 2 files changed, 4 insertions(+), 7 deletions(-) + +commit fd1196c7b5b70f4f827998b19189c05ad699ad36 +Author: Emmanuele Bassi +Date: Tue Jan 3 12:10:28 2012 +0000 + + docs/cookbook: Mention the event control macros + + Now that we have symbolic names for event propagation values for signal + handlers, we ought to mention them in the cookbook. + + doc/cookbook/events.xml | 26 ++++++++++++++++---------- + 1 file changed, 16 insertions(+), 10 deletions(-) + +commit 6184bf1b6e19fb73d96f20aa4f6bdf26ec299a0e +Author: Emmanuele Bassi +Date: Tue Dec 20 12:28:06 2011 +0000 + + Add symbolic constants for event propagation + + I always have to think twice before returning a value from an event + signal handler, and I've been writing them for the past 10 years, so + it's conceivable that application developers that start with Clutter + will find them confusing as well. + + Simple symbolic names should be easier to use. + + clutter/clutter-event.h | 22 +++++++++++++++++++++- + 1 file changed, 21 insertions(+), 1 deletion(-) + +commit 83c560db984d188bc814fa02f2ff81f2d8e10055 +Author: Emmanuele Bassi +Date: Fri Dec 30 10:34:54 2011 +0000 + + docs: Update the release notes + + README.in | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit e689d0180056a2b02757c896910ff649187958fd +Author: Emmanuele Bassi +Date: Fri Dec 30 10:23:15 2011 +0000 + + stage: Deprecate :use-fog and :fog + + The depth cueing through GL fog has been broken for a long while, now. + + The fog-related API in Clutter is ridiculously limited, and harks back + to simpler times; the ClutterFog structure is not enough to express all + the GL fog machinery, and required application code to connect to the + Stage's paint implementation and drop into Cogl directly. + + Additionally, the fixed pipeline fog machinery in GL simply does not + work with premultiplied alpha, unless you use a shader - and in that + case it would only work for textures. Let's deprecate it, and just + don't do anything if somebody has the brilliant idea of setting the + :use-fog property to TRUE. + + clutter/clutter-stage.c | 44 +++++++---- + clutter/clutter-stage.h | 153 +++++++++++++++++-------------------- + clutter/deprecated/clutter-stage.h | 14 ++++ + 3 files changed, 113 insertions(+), 98 deletions(-) + +commit 65889fa075f6123caf0d47568413466e039b5eef +Author: Emmanuele Bassi +Date: Fri Dec 30 09:51:36 2011 +0000 + + box: Remove the sentinel annotation + + Sadly, we need to remove the G_GNUC_NULL_TERMINATED annotation from + ClutterBox packing API; the compiler will otherwise emit a warning + for perfectly legal statements like: + + clutter_box_pack (box, child, NULL); + + because of the missing sentinel. + + See also: g_object_new(). + + clutter/clutter-box.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 180eecbce6b77539d112a19bb9887812546ef05e +Author: Emmanuele Bassi +Date: Tue Dec 27 21:39:13 2011 +0000 + + docs: Document CLUTTER_ENABLE_DIAGNOSTIC + + Add a note in the API reference. + + doc/reference/clutter/running-clutter.xml | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 7d4a9c6f1e8e6f77688a5d15fc2644769d2a60a1 +Author: Emmanuele Bassi +Date: Tue Dec 20 15:17:54 2011 +0000 + + Add diagnostic mode + + GLib has a "diagnostic mode" switch that can be checked to enable debug + messages on deprecated properties and signals, as these are purely + run-time constructs, and as such cannot be caught by compiler warnings. + The diagnostic mode is toggled by a simple environment variable, and + can be used to ease porting of application code. + + We can use something similar to mark deprecated virtual functions and + other run-time constructs; to avoid collisions, we should use our own + environment variable, CLUTTER_ENABLE_DIAGNOSTIC. + + clutter/clutter-main.c | 31 +++++++++++++++++++++++++++++++ + clutter/clutter-private.h | 4 ++++ + 2 files changed, 35 insertions(+) + +commit db246569b78c500caf2e8c58921bee0fc47b6bf8 +Author: Kjartan Maraas +Date: Wed Dec 21 22:06:54 2011 +0100 + + Updated Norwegian bokmål translation + + po/nb.po | 1046 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 542 insertions(+), 504 deletions(-) + +commit b882fcd8258f02a968dca381e498a3f1877bda5c +Author: Jasper St. Pierre +Date: Sun Dec 18 23:20:04 2011 -0500 + + clutter-text: Fix memory leak + + clutter/clutter-text.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 20bc5c2057f8bad1910c64e8ee49b6b798fbe8bc +Author: Matej Urbančič +Date: Sat Dec 17 18:59:49 2011 +0100 + + Updated Slovenian translation + + po/sl.po | 114 ++++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 69 insertions(+), 45 deletions(-) + +commit c4590e59c72ac4253c4ede1badd4684bb616b30c +Author: Chun-wei Fan +Date: Tue Dec 13 13:07:46 2011 +0800 + + Visual C++ 2008 projects update + + Refines things a little bit from the last Visual C++ 2008 project updates. + + build/win32/vs9/cally-atkcomponent-example.vcproj | 8 ++++---- + build/win32/vs9/cally-atkeditabletext-example.vcproj | 8 ++++---- + build/win32/vs9/cally-atkevents-example.vcproj | 8 ++++---- + build/win32/vs9/cally-atktext-example.vcproj | 8 ++++---- + build/win32/vs9/cally-clone-example.vcproj | 8 ++++---- + build/win32/vs9/clutter.vsprops | 10 +++++----- + 6 files changed, 25 insertions(+), 25 deletions(-) + +commit 1dd28537c4a3af3fffbcc4d85ec1c98126524d7b +Author: Chun-wei Fan +Date: Tue Dec 13 13:05:16 2011 +0800 + + Update Visual C++ 2010 Projects + + Disable deprecation warning messages for the accessibility, performance + and micro-bench programs. + + build/win32/vs10/clutter.props | 8 ++++++-- + build/win32/vs10/test-cogl-perf.vcxproj | 8 ++++---- + build/win32/vs10/test-picking.vcxproj | 8 ++++---- + build/win32/vs10/test-random-text.vcxproj | 8 ++++---- + build/win32/vs10/test-text-perf.vcxproj | 8 ++++---- + build/win32/vs10/test-text.vcxproj | 8 ++++---- + 6 files changed, 26 insertions(+), 22 deletions(-) + +commit 91b0aadbd400f0df69f7c80f456cb0ca06c17f8b +Author: Chun-wei Fan +Date: Tue Dec 13 12:56:53 2011 +0800 + + Update Visual C++ 2008 Projects + + Turn off the deprecation warnings for the accessibility, performance + and micro-bench programs. + + build/win32/vs9/cally-atkcomponent-example.vcproj | 8 ++++---- + build/win32/vs9/cally-atkeditabletext-example.vcproj | 8 ++++---- + build/win32/vs9/cally-atkevents-example.vcproj | 8 ++++---- + build/win32/vs9/cally-atktext-example.vcproj | 8 ++++---- + build/win32/vs9/cally-clone-example.vcproj | 8 ++++---- + build/win32/vs9/clutter.vsprops | 6 +++++- + build/win32/vs9/test-cogl-perf.vcproj | 8 ++++---- + build/win32/vs9/test-picking.vcproj | 8 ++++---- + build/win32/vs9/test-random-text.vcproj | 8 ++++---- + build/win32/vs9/test-text-perf.vcproj | 8 ++++---- + build/win32/vs9/test-text.vcproj | 8 ++++---- + 11 files changed, 45 insertions(+), 41 deletions(-) + +commit 23960328d578d912162d52bc0c4096784add31cb +Author: Chun-wei Fan +Date: Tue Dec 13 12:44:27 2011 +0800 + + Update clutter.symbols... + + ...For the addition of queue_redraw_with_clip (commit f0a246cd) + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit f0468cf828d933431ef4e18f3b60376f5df76cf6 +Author: Emmanuele Bassi +Date: Mon Dec 12 16:44:47 2011 +0000 + + wayland/surface: Use queue_redraw_with_clip() + + Just like the X11 texture-pixmap actor. + + https://bugzilla.gnome.org/show_bug.cgi?id=660997 + + clutter/wayland/clutter-wayland-surface.c | 22 ++++++++-------------- + 1 file changed, 8 insertions(+), 14 deletions(-) + +commit 30c464e68f302c5039421b5cc9b043bfa8dc2e9c +Author: Emmanuele Bassi +Date: Mon Oct 31 11:56:23 2011 +0000 + + x11/texture-pixmap: Use ClutterActor.queue_redraw_with_clip() + + Instead of using a PaintVolume for a 2D region, and an internal + function, use the newly added queue_redraw_with_clip() method. + + This removes the last bit of internal API usage in the + ClutterX11TexturePixmap actor. + + https://bugzilla.gnome.org/show_bug.cgi?id=660997 + + clutter/x11/clutter-x11-texture-pixmap.c | 26 +++++++++----------------- + 1 file changed, 9 insertions(+), 17 deletions(-) + +commit 749fe38fec090fcbf7cb0a7ea1c98028a08fcb4e +Author: Emmanuele Bassi +Date: Mon Oct 31 11:55:35 2011 +0000 + + x11/stage: Use ClutterActor.queue_redraw_with_clip() + + Instead of using a paint volume for a 2D region, use the newly added + queue_redraw_with_clip() method. + + https://bugzilla.gnome.org/show_bug.cgi?id=660997 + + clutter/x11/clutter-stage-x11.c | 21 ++++++--------------- + 1 file changed, 6 insertions(+), 15 deletions(-) + +commit f0a246cdc6f3ca35d409b82297d2a99c5e8c7b32 +Author: Emmanuele Bassi +Date: Mon Oct 31 11:53:45 2011 +0000 + + actor: Add queue_redraw_with_clip() + + Add a public version of the clipped queue redraw, using a 2D clip. This + allows implementing actors with trackable 2D clipped regions, like the + ClutterX11TexturePixmap, outside of Clutter itself. + + https://bugzilla.gnome.org/show_bug.cgi?id=660997 + + clutter/clutter-actor.c | 47 +++++++++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-actor.h | 2 ++ + clutter/clutter-types.h | 2 ++ + 3 files changed, 49 insertions(+), 2 deletions(-) + +commit c3639fd798ddd195075a2edf1e37825deb5f5aa2 +Author: Daniel Mustieles +Date: Fri Dec 9 18:08:48 2011 +0100 + + Updated Spanish translation + + po/es.po | 244 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 137 insertions(+), 107 deletions(-) + +commit 79c04bd1335db04b5152130a027d2d22c9486f56 +Author: Emmanuele Bassi +Date: Thu Dec 8 10:01:06 2011 +0000 + + fixed-layout: Use a better quark name + + The "fixed-container" name is far too generic, and it may very likely + lead to collisions with application code. + + clutter/clutter-fixed-layout.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit 20b9ec8c6bd900960a811b38e968d2e976064821 +Author: Emmanuele Bassi +Date: Tue Dec 6 17:43:13 2011 +0000 + + build: Disable deprecation warnings in tests/accessibility + + Like we do in the other tests/ sections. + + tests/accessibility/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9e3a8a678e44dd53f0a291a9d0e8e7d74e643d3c +Author: Emmanuele Bassi +Date: Tue Dec 6 17:56:45 2011 +0000 + + build: Disable deprecation warnings in tests/micro-bench + + tests/micro-bench/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit bedf1664a7232cec704566e55c7804354f633f52 +Author: Emmanuele Bassi +Date: Tue Dec 6 17:53:37 2011 +0000 + + build: Disable deprecation warnings in tests/performance + + tests/performance/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit dc84557ac3af47b59f5145e68cddfe37ca910089 +Author: Jovan Naumovski +Date: Thu Dec 8 21:22:38 2011 +0100 + + Updated Macedonian translation. + + po/mk.po | 2226 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2226 insertions(+) + +commit 764343c4973179ffaff7c8c4822a77312e32d1cd +Author: Piotr Drąg +Date: Thu Dec 8 20:54:12 2011 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit 320356e97f2312f8ad4285ca436dca71a69c7cec +Author: Rob Bradford +Date: Thu Dec 8 17:39:15 2011 +0000 + + wayland: Refine enter/leave event handling + + The Wayland protocol now has events represent when a pointer enters the + surface and when it leaves again. + + For leaves the surface is not set in the event, for enters the surface is set. + Simply use this to determine whether to emit CLUTTER_ENTER or CLUTTER_LEAVE. + + clutter/wayland/clutter-input-device-wayland.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 34cc45dae5f05be80e3eb389c55e40aed2e97bf4 +Author: Rob Bradford +Date: Thu Dec 8 17:32:27 2011 +0000 + + wayland: Update to latest Wayland API (wl_shell_surface transition) + + Previously the wl_shell object held the methods that allowed a client to + request changes to the shell's state associated with a surface. These methods + have now been moved to a wl_shell_surface object. + + This change allows configure events to be handled inside the stage rather than + the backend. + + clutter/wayland/clutter-backend-wayland.c | 30 +------------------------- + clutter/wayland/clutter-stage-wayland.c | 36 ++++++++++++++++++++++++++++++- + 2 files changed, 36 insertions(+), 30 deletions(-) + +commit af294aafe600145a2d891ad9a0ba5418f6583cc6 +Author: Robert Bragg +Date: Tue Dec 6 21:53:57 2011 +0000 + + Add public CLUTTER_HAS_WAYLAND_COMPOSITOR_SUPPORT define + + When clutter has been built with Wayland compositor support then we now + expose a public CLUTTER_HAS_WAYLAND_COMPOSITOR_SUPPORT define so that + applications can #ifdef code that depends on the api that this feature + implies. + + Reviewed-by: Emmanuele Bassi + + configure.ac | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 3e85ad6b95cfa41027d6fbf4a9caf0a7d84e8bce +Author: Robert Bragg +Date: Tue Dec 6 21:49:15 2011 +0000 + + build: make internal option_xkb_* symbols static + + This makes the option_xkb_* symbols declared for the evdev device manager + and the wayland device manager private so we don't get symbol collisions + if both of these backends are enabled. + + Reviewed-by: Emmanuele Bassi + + clutter/evdev/clutter-device-manager-evdev.c | 6 +++--- + clutter/wayland/clutter-device-manager-wayland.c | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +commit fd8965a710c313a968a7dc469b88778a7d55bf10 +Author: Robert Bragg +Date: Tue Dec 6 21:46:37 2011 +0000 + + xkb-utils: Adds #ifdef guards for repeat includes + + This adds #ifdef/#define repeat include guards for clutter-xkb-utils.h + + Reviewed-by: Emmanuele Bassi + + clutter/evdev/clutter-xkb-utils.h | 5 +++++ + 1 file changed, 5 insertions(+) + +commit d8e76c341558f852bb1c4a94959120eeee459f88 +Author: Robert Bragg +Date: Mon Dec 5 14:01:30 2011 +0000 + + eglnative: fix building eglnative BE with evdev support + + this fixes how clutter-device-manager-evdev.h is included to fix a build + problem caused by not being able to find the header. + + Reviewed-by: Emmanuele Bassi + + clutter/egl/clutter-backend-eglnative.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 602a89afa8f9ea548b8f98fb9e5ada3ef59f09f2 +Author: Robert Bragg +Date: Mon Dec 5 13:59:12 2011 +0000 + + evdev: fixes evdev build issues + don't ref default stage + + This updates the evdev input backend code to compile and also updates + the code to not refer to the default stage and instead check for a + stage to be associated with the input device. If no stage is currently + associated with a device generating events then the events are dropped + on the floor. + + Reviewed-by: Emmanuele Bassi + + clutter/evdev/clutter-device-manager-evdev.c | 63 +++++++++++++++------------- + configure.ac | 1 + + 2 files changed, 36 insertions(+), 28 deletions(-) + +commit 86f2aed570dcd83becfc91c5a076027c687c0dae +Author: Robert Bragg +Date: Mon Dec 5 13:49:28 2011 +0000 + + input: adds internal _clutter_input_device_get_stage api + + This adds internal api to be able to query the stage currently + associated with a given input device so input backends shouldn't need to + refer to the default stage. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-device-manager-private.h | 1 + + clutter/clutter-input-device.c | 14 ++++++++++++++ + 2 files changed, 15 insertions(+) + +commit e5bde0b0743f718904d53731ea30d414ad915f4c +Author: Robert Bragg +Date: Mon Dec 5 14:05:57 2011 +0000 + + tests: Adds a simple wayland compositor example + + This adds an extremely minimal wayland compositor to tests/interactive + to test the ClutterWaylandSurface actor. Currently this minimal + compositor doesn't support any input, it simply paints client surfaces + fixed at the top-left of the stage. + + Reviewed-by: Emmanuele Bassi + + tests/interactive/Makefile.am | 4 + + tests/interactive/test-wayland-surface.c | 567 +++++++++++++++++++++++++++++++ + 2 files changed, 571 insertions(+) + +commit 16ed7677e00fda9e9ef4e85ef7032a367e273e0c +Author: Robert Bragg +Date: Fri May 13 16:54:11 2011 +0100 + + Adds wayland-surface actor for wayland compositors + + This adds a --enable-wayland-compositor configure option which will add + support for a ClutterWaylandSurface actor which can be used to aid in + writing Wayland compositors using Clutter by providing a ClutterActor to + represent Wayland client surfaces. + + Notably this configure option isn't tied into any particular backend + since conceptually the compositor support can be used in conjunction + with any clutter backend that has corresponding Cogl support. + + Reviewed-by: Emmanuele Bassi + + clutter/Makefile.am | 8 + + clutter/clutter-backend.c | 41 ++ + clutter/wayland/clutter-wayland-compositor.h | 43 ++ + clutter/wayland/clutter-wayland-surface.c | 565 +++++++++++++++++++++++++++ + clutter/wayland/clutter-wayland-surface.h | 94 +++++ + configure.ac | 28 +- + doc/reference/clutter/clutter-sections.txt | 15 + + 7 files changed, 792 insertions(+), 2 deletions(-) + +commit 07c6f96cb43b1e0c788e50323f1184bd2906e3f7 +Author: Robert Bragg +Date: Mon May 9 22:45:33 2011 +0100 + + wayland: Updates client side wayland support + + This updates Wayland support in line with upstream changes to the Wayland + API and protocol. + + This update means we no longer use the Cogl stub winsys so a lot of code + that had to manually interact with EGL and implement a swap_buffers + mechanism could be removed and instead we now depend on Cogl to handle + those things for us. + + This update also adds an input device manager consistent with other + clutter backends. + + Note: to use the client side "wayland" clutter backend you need to have + built Cogl with --enable-wayland-egl-platform. If Cogl has been built + with support for multiple winsys backends then you should run + applications with COGL_RENDERER=EGL in the environment. + + Reviewed-by: Emmanuele Bassi + + clutter/Makefile.am | 49 +- + clutter/clutter-backend.c | 11 + + clutter/wayland/clutter-backend-wayland.c | 603 ++++----------------- + clutter/wayland/clutter-backend-wayland.h | 38 +- + clutter/wayland/clutter-device-manager-wayland.c | 226 ++++++++ + clutter/wayland/clutter-device-manager-wayland.h | 75 +++ + clutter/wayland/clutter-event-wayland.c | 6 +- + clutter/wayland/clutter-event-wayland.h | 37 ++ + clutter/wayland/clutter-input-device-wayland.c | 156 ++---- + clutter/wayland/clutter-input-device-wayland.h | 56 ++ + clutter/wayland/clutter-stage-wayland.c | 634 +---------------------- + clutter/wayland/clutter-stage-wayland.h | 65 +-- + clutter/wayland/clutter-wayland.h | 61 --- + configure.ac | 19 +- + doc/reference/clutter/clutter-sections.txt | 6 - + 15 files changed, 631 insertions(+), 1411 deletions(-) + +commit 36c312cb241c5c87d3a8778ea376ab2b67601683 +Author: Chun-wei Fan +Date: Thu Dec 8 17:58:17 2011 +0800 + + Update Clutter Visual C++ 2008 Project + + Made up for missed pre-build command for x64/Release. + + build/win32/vs9/clutter.vcprojin | 1 + + 1 file changed, 1 insertion(+) + +commit 6ad1afd8037cffc73617f39c7a668a493d295bee +Author: Chun-wei Fan +Date: Thu Dec 8 17:40:22 2011 +0800 + + clutter/Makefile.am: Update gen-enums.bat generation + + It's $(srcdir)/win32/clutter-win32.h, not $(srcdir)/clutter-win32.h + + Sorry! + + clutter/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit b6c5c0602dfa152603d6345b0c2fc6a1d00b0cf4 +Author: Chun-wei Fan +Date: Thu Dec 8 17:39:26 2011 +0800 + + Update VS property sheets + + Generate clutter-marshal.[ch] before the clutter-enum-types.[ch]. + Strangely Visual C++ does funny things if this was done the other way + around. :| + + build/win32/vs10/clutter.props | 14 +++++++------- + build/win32/vs9/clutter.vsprops | 8 ++++---- + 2 files changed, 11 insertions(+), 11 deletions(-) + +commit 7a70e1f08b7755a7c3b79c21c49f746006ea7483 +Author: Chun-wei Fan +Date: Thu Dec 8 17:04:46 2011 +0800 + + clutter/Makefile.am-Create batch to gen enums (VS Support) + + Generate a .bat file to generate the clutter-enum-types.[ch] for use + during the Visual C++ build process, which will greatly simplify the + maintenanace of the VS build files as public headers are added or removed + during the development process. + + clutter/Makefile.am | 46 +++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 43 insertions(+), 3 deletions(-) + +commit daf2b67ed28d3e6ef6d2b2ffa99c3ab86d67d0e6 +Author: Chun-wei Fan +Date: Thu Dec 8 17:02:17 2011 +0800 + + Update VS property sheets + + Use a pregenerated .bat file to generate the clutter-enum-types.[ch], which + will greatly simplify the maintenanace of the VS build files as public + headers are added or removed. + + build/win32/vs10/clutter.props | 21 +++------------------ + build/win32/vs9/clutter.vsprops | 14 +++----------- + 2 files changed, 6 insertions(+), 29 deletions(-) + +commit 075ab0cbe64d656de950b6a383fdcc8d1356877e +Author: Chun-wei Fan +Date: Wed Dec 7 18:14:17 2011 +0800 + + conform/Makefile.am: Update Win32 test .bat name + + Rename to test-conformance-clutter.bat to make the file name clearer to + users + + tests/conform/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 158245fda31e7adad38aa49e4c12efcad0e326e0 +Author: Emmanuele Bassi +Date: Mon Dec 5 11:43:48 2011 +0000 + + backend: Fix em computation for non-absolute fonts + + If a font description is not set to have an absolute size then we were + using the wrong transformation for points to device units. + + clutter/clutter-backend.c | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +commit 943a65b476431400bd0436e1be243a2917385866 +Author: Emmanuele Bassi +Date: Mon Dec 5 11:42:49 2011 +0000 + + backend: Return the correct default resolution + + If ClutterSettings:font-dpi is set to -1 then the default resolution + should be returned by ClutterBackend — i.e. 96.0. + + clutter/clutter-backend.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit 8d234d270a00abee8c46561903193097de78efe3 +Author: Bastien Nocera +Date: Thu Dec 1 19:29:58 2011 +0100 + + Fix Brazilian Portuguese translation + + Once you add the missing translator comments, it makes a lot + more sense... + + po/pt_BR.po | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit f7bb1e879ef083644acd4774dcb50c9edc018c6f +Author: Jasper St. Pierre +Date: Sat Nov 26 05:15:17 2011 -0500 + + main: Fix keyboard event emission for non-reactive actors + + This is an innocent copy-paste issue that ended up breaking a few things + + https://bugzilla.gnome.org/show_bug.cgi?id=664582 + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1dc7c4543896bfc2f2cd460cdea9c417aefd7952 +Author: Emmanuele Bassi +Date: Thu Dec 1 13:41:45 2011 +0000 + + x11: Do not try to access private structures + + ClutterInputDeviceX11 has been made private, so we cannot access it from + outside of clutter-input-device-core-x11.c. We should have simple + accessors for the min/max keycode, which is the only detail that we use. + + clutter/x11/clutter-device-manager-core-x11.c | 5 +++-- + clutter/x11/clutter-input-device-core-x11.c | 25 +++++++++++++++++++++++-- + clutter/x11/clutter-input-device-core-x11.h | 6 ++++++ + 3 files changed, 32 insertions(+), 4 deletions(-) + +commit 67cdbbaf514ca8b33e4e19014b935aea40e91822 +Author: Manuel Osdoba +Date: Sun Nov 13 21:49:23 2011 +0100 + + Currently Clutter only prints out a warning message in case some shader effects fail to compile + + Clutter-WARNING **: Unable to compile the GLSL + shader: Fragment shader failed to compile with the following errors: + + The attached patch (against current git) should print out more + information what makes it easier to answer user feedback. + + https://bugzilla.gnome.org/show_bug.cgi?id=664252 + + clutter/clutter-shader-effect.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 6336883da7aa15ec06d9f3218ad5c617e57af0a5 +Author: Bastian Winkler +Date: Fri Nov 18 15:18:28 2011 +0100 + + path: Fix introspection annotations + + Add out annotations for clutter_path_get_node() and + clutter_path_get_position() + + https://bugzilla.gnome.org/show_bug.cgi?id=664336 + + clutter/clutter-path.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit dc77a5ef310c8da5a126f90a21a75520b5d925de +Author: Emmanuele Bassi +Date: Thu Dec 1 10:39:11 2011 +0000 + + docs: Fix up the state.set_key() comment + + clutter/clutter-state.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 1e05e8ceaff25dfb3600cf0798fbca23c1725e12 +Author: Jeremy Moles +Date: Thu Dec 1 10:36:38 2011 +0000 + + Adds (allow-none) as source_target for clutter_state_set_key + + While working through the Python3/pygobject bindings, I came across a missing + (allow-none) in clutter_state_set_key(). This allows the API to specify to None + as the source_target. + + https://bugzilla.gnome.org/show_bug.cgi?id=664996 + + clutter/clutter-state.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 627a1b19771b98864eb9e09a9537128a87dca05e +Author: Neil Roberts +Date: Mon Nov 28 14:19:28 2011 +0000 + + effects: Use effect_queue_repaint instead of actor_queue_redraw + + The builtin effects ClutterColorizeEffect, ClutterDesaturateEffect and + ClutterShaderEffect all have properties which only affect the + rendering of the final texture not the contents of it. When these + properties are updated we should queue a repaint of the effect not + the actor so that we don't waste time repainting the contents of the + offscreen buffer. + + https://bugzilla.gnome.org/show_bug.cgi?id=665052 + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-colorize-effect.c | 10 +--------- + clutter/clutter-desaturate-effect.c | 10 +--------- + clutter/clutter-shader-effect.c | 2 +- + 3 files changed, 3 insertions(+), 19 deletions(-) + +commit c687ece72d8d613d8af62615374839b9302abafe +Author: Neil Roberts +Date: Mon Nov 28 16:27:57 2011 +0000 + + Fix building with profiling enabled + + There was an #ifdef'd section of code for profiling that was using the + wrong variable name so it would not build. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a2774fb0dcce0c92036b69fb75092ec8dc80905d +Author: Neil Roberts +Date: Mon Nov 28 13:08:57 2011 +0000 + + offscreen-effect: Track the size of the actor separately + + Previously the offscreen effect was keeping track of the size of the + texture so that it could detect when a different size is requested and + create a new texture. However this breaks if a subclass overrides + create_texture to make the texture bigger because in that case the + size of the texture will always be different from the calculated size + of the actor. This patch makes it also track the size of the fbo that + was requested before being passed through create_texture() and it + instead uses that to detect when a new FBO is needed. + + https://bugzilla.gnome.org/show_bug.cgi?id=665040 + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-offscreen-effect.c | 17 +++++++++++++++-- + 1 file changed, 15 insertions(+), 2 deletions(-) + +commit 3f4bd0d9d4b619d8545a57ee6735eb136dacb1c4 +Author: Emmanuele Bassi +Date: Sun Nov 27 12:18:49 2011 +0000 + + conform: Add markers parsing to the timeline unit + + We should check that the newly added custom parser for timeline + markers is working as intended. + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-timeline.c | 40 ++++++++++++++++++++++++++++ + tests/data/Makefile.am | 1 + + tests/data/test-script-timeline-markers.json | 11 ++++++++ + 4 files changed, 53 insertions(+) + +commit 24623c43a86fc00f5079994a0969e7689b01317b +Author: Emmanuele Bassi +Date: Sun Nov 27 12:16:32 2011 +0000 + + timeline: Add custom parser for "markers" + + It should be possible to define markers in ClutterScript when + describing a ClutterTimeline. + + The syntax is a trivial: + + "markers" : [ + { "name", , "time" : } + ] + + While at it, we should document it inside the API reference, as well + as fleshing out the ClutterTimeline description. + + clutter/clutter-timeline.c | 262 +++++++++++++++++++++++++++++++++++++++------ + 1 file changed, 230 insertions(+), 32 deletions(-) + +commit 3c35653a0785c2dab5a36bc33ff40301740c46b5 +Author: Matej Urbančič +Date: Fri Nov 25 21:21:46 2011 +0100 + + Updated Slovenian translation + + po/sl.po | 892 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 453 insertions(+), 439 deletions(-) + +commit d82bf70d49cedcc345ab8a409a812806ce3a57d6 +Author: Bastian Winkler +Date: Thu Nov 24 20:14:05 2011 +0100 + + script: Don't skip introspection for connect_signals_full() + + To allow language bindings to properly override Script.connect_signals() + they'll need access access to Script.connect_signals_full(). + + Thanks to Jeremy Moles for reporting. + + clutter/clutter-script.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 49355f3287b0044a76dfea48c1e58375645072f8 +Author: Emmanuele Bassi +Date: Wed Nov 23 17:29:23 2011 +0000 + + pc: Fix unexpanded variables + + PkgConfig doesn't like those. + + clutter/clutter.pc.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c3b0db226f5a3d1de86cdf028d01dd64e6fa5605 +Author: Lucian Adrian Grijincu +Date: Tue Nov 22 20:25:02 2011 +0200 + + Updated Romanian translation + + po/ro.po | 2262 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2262 insertions(+) + +commit 8afeb0e099416132ac8ad5d227aeaf8a9bd1767e +Author: Emmanuele Bassi +Date: Tue Nov 22 14:08:36 2011 +0000 + + Post-release version bump to 1.9.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1022aad97078dcbf5fde98bfee012c5428202dcd +Author: Emmanuele Bassi +Date: Tue Nov 22 11:59:33 2011 +0000 + + Release Clutter 1.9.2 (snapshot) + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a13b095dc2beb9d4c1c3fe5cf15ebe02376e958c +Author: Emmanuele Bassi +Date: Tue Nov 22 12:11:06 2011 +0000 + + build: Fix distcheck + + clutter/Makefile.am | 40 +++++++++++++++++++--------------------- + tests/conform/Makefile.am | 18 ++++++++---------- + tests/interactive/Makefile.am | 27 +++++++++++++++------------ + 3 files changed, 42 insertions(+), 43 deletions(-) + +commit cdd5f6142c767f76cd8a70274eda203b1a5a35b2 +Author: Emmanuele Bassi +Date: Tue Nov 22 01:20:48 2011 +0000 + + Update NEWS file + + NEWS | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 96 insertions(+) + +commit a24ff882b6dd9eb3ab0a7cfdbb047b84a1bc5893 +Author: Emmanuele Bassi +Date: Tue Nov 22 01:00:58 2011 +0000 + + conform: Bail out GLSL-based tests + + If we don't have GLSL support on the platform. + + tests/conform/test-pick.c | 6 ++++++ + tests/conform/test-shader-effect.c | 3 +++ + 2 files changed, 9 insertions(+) + +commit 52ea1510a19233413a37801e1a72832027fcc548 +Author: Emmanuele Bassi +Date: Tue Nov 22 00:29:08 2011 +0000 + + docs: Fixes for the API reference + + doc/reference/clutter/Makefile.am | 1 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 18 ++++++++++++++++++ + 3 files changed, 20 insertions(+) + +commit 02a020a7fd4b58a815fa80578aa32d0aa6d0e4d9 +Author: Florian Müllner +Date: Fri Nov 18 22:04:31 2011 +0100 + + Add missing include + + clutter-profile.h used to be included via clutter-debug.h, but no + more (8a4dc3c011) ... + + clutter/cogl/clutter-stage-cogl.c | 1 + + 1 file changed, 1 insertion(+) + +commit 6e15fd930a2b5cfb83f0edaf03be4a7d2e6ab8d2 +Author: Emmanuele Bassi +Date: Fri Nov 18 17:54:19 2011 +0000 + + debug: Simple whitespace cleanups + + clutter/clutter-debug.h | 14 ++++++-------- + 1 file changed, 6 insertions(+), 8 deletions(-) + +commit 8a4dc3c011fb3dfe8157dfc228fedd72a81c3c12 +Author: Emmanuele Bassi +Date: Fri Nov 18 17:44:42 2011 +0000 + + debug: Clean up profile/debug symbols + + Since we have a _clutter_debug_message() function compiled in + unconditionally we have no further need for the equivalent conditional + version defined in clutter-profile.[ch]: we can simply do the work in + one function. + + clutter/clutter-debug.h | 26 ++++++++++++-------------- + clutter/clutter-main.c | 5 +++++ + clutter/clutter-profile.c | 13 ------------- + clutter/clutter-profile.h | 18 ++++++++---------- + 4 files changed, 25 insertions(+), 37 deletions(-) + +commit 92585be4d805a1cb0b60df92a0b235fd1a2824be +Author: Emmanuele Bassi +Date: Fri Nov 18 17:32:01 2011 +0000 + + debug: Remove CLUTTER_GLERR + + The macro hasn't been used in a long while, as Cogl had its own version + of it; and Clutter hasn't been using pure GL for some time now. + + clutter/clutter-debug.h | 9 --------- + 1 file changed, 9 deletions(-) + +commit 2d76407016075df8f3b12ffb4429c37ae33ccd33 +Author: Emmanuele Bassi +Date: Fri Nov 18 17:30:39 2011 +0000 + + debug: Remove CLUTTER_MARK + + The debug macro is seldom used, and it's a bit lame at that. + + clutter/clutter-debug.h | 3 --- + clutter/clutter-main.c | 4 ---- + clutter/clutter-texture.c | 8 -------- + 3 files changed, 15 deletions(-) + +commit ecdb12ecc3b5ab098173e580b693de1629ddc016 +Author: Emmanuele Bassi +Date: Fri Nov 18 17:23:30 2011 +0000 + + conform/cogl-pixel-buffer: Remove unused variable + + tests/conform/test-cogl-pixel-buffer.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit 90f37d5636f5a1cec3e8423625647f774af7141f +Author: Emmanuele Bassi +Date: Fri Nov 18 17:22:12 2011 +0000 + + cairo-texture: Skip ::draw emission for 0x0 surfaces + + This also avoids an assertion failure. + + clutter/clutter-cairo-texture.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 225820c4b4d5af5e619e941b67dbdba8e47a432d +Author: Rico Tzschichholz +Date: Fri Nov 18 18:08:01 2011 +0100 + + Fix 'make dist' + + tests/interactive/Makefile.am | 17 ++++++++++++----- + 1 file changed, 12 insertions(+), 5 deletions(-) + +commit 516b5de7566a453d1009a5465e9452d9642d1fee +Author: Rico Tzschichholz +Date: Fri Nov 18 17:38:45 2011 +0100 + + tests: Remove some trailing spaces + + tests/interactive/Makefile.am | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit 73e7404652567a5a095021909b90507c1d7ed42e +Author: Emmanuele Bassi +Date: Fri Nov 18 15:12:45 2011 +0000 + + build: Clean up the VS build rules + + Some minor cleanups of the Visual Studio rules in the interactive and + conformance test suites. + + .gitignore | 1 + + build/win32/.gitignore | 1 + + tests/conform/Makefile.am | 35 +++++++++++++++++------------------ + tests/interactive/Makefile.am | 28 +++++++++++++--------------- + 4 files changed, 32 insertions(+), 33 deletions(-) + +commit b62216955ff768fb3ec4e8f3f99e6bdd1fd27fe2 +Author: Rico Tzschichholz +Date: Fri Nov 18 13:39:06 2011 +0100 + + build: Make sure test-unit-names.h is generated + + tests/interactive/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a69c4fdc59682579a05b157afa822f6fc9e7a336 +Merge: d3a9bf201 ebf12a8cd +Author: Chun-wei Fan +Date: Thu Nov 17 22:17:01 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit ebf12a8cd724ff5136021d4b3aaa6e61531620d4 +Author: Emmanuele Bassi +Date: Wed Nov 16 16:42:41 2011 +0000 + + docs: Document the DeformEffect wrap-mode change + + The change from CoglVertexBuffer to CoglPrimitive led to a change of the + default wrap-mode for the pipeline. Since using REPEAT can introduce + artifacts when sampling outside the [ 0, 1 ] texture coordinates range, + and since the default wrap mode was not documented anyway, we want to + keep the change from REPEAT to CLAMP, but it's worth adding an entry in + the release notes. + + README.in | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit ef02de19e8a351b0f38b05d19423dd4a4eb3012c +Author: Emmanuele Bassi +Date: Wed Nov 16 14:50:36 2011 +0000 + + interactive: Remove test-model + + The model API is already tested in the conformance test suite. + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-model.c | 237 ----------------------------------------- + 2 files changed, 238 deletions(-) + +commit 15000307fdf06efda2b74889e021c63deb354a51 +Author: Emmanuele Bassi +Date: Wed Nov 16 13:59:11 2011 +0000 + + interactive: Remove test-unproject + + The coordinate transformation code is exercised throughout the + conformance and interactive tests, so there's no need to have a specific + interactive test that doesn't do anything more complicated than calling + clutter_actor_transform_stage_point(). + + tests/interactive/Makefile.am | 1 - + tests/interactive/test-unproject.c | 157 ------------------------------------- + 2 files changed, 158 deletions(-) + +commit d3a9bf201b42f156d4743b8a194d0e03f41ff7ef +Merge: 39c3ccfca bf9339b8f +Author: Chun-wei Fan +Date: Wed Nov 16 09:15:16 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit bf9339b8f468dfb12eee95472f0b284acbf56487 +Author: Emmanuele Bassi +Date: Tue Nov 15 17:58:25 2011 +0000 + + Deprecate some more old, useless API + + We still ship clutter_get_show_fps() and clutter_get_debug_enabled() as + public entry points. Yet another case of missing API review prior to the + 1.0 release, so really the bucket stops around my desk. + + Let's deprecate these two useless functions, and reduce the API + footprint of Clutter. + + clutter/clutter-main.c | 28 +++++++++++++++++++--------- + clutter/clutter-main.h | 2 -- + clutter/clutter-private.h | 2 ++ + clutter/clutter-stage.c | 4 ++-- + clutter/deprecated/clutter-main.h | 6 ++++++ + 5 files changed, 29 insertions(+), 13 deletions(-) + +commit 66d46fd55e15b7e882cbf99d7525475eb35c4322 +Author: Emmanuele Bassi +Date: Tue Nov 15 17:47:00 2011 +0000 + + Deprecate clutter_get_timestamp() + + This function should have never been made public in the first place; its + output depends on a configuration option of Clutter, and it's basically + useful only for internal debugging. + + clutter/clutter-main.c | 16 ++++++++++++++-- + clutter/clutter-main.h | 1 - + clutter/deprecated/clutter-main.h | 3 +++ + 3 files changed, 17 insertions(+), 3 deletions(-) + +commit 59f395d856e46f6c6a2bc8901db3ecb3f73ee50a +Author: Emmanuele Bassi +Date: Tue Nov 15 17:39:49 2011 +0000 + + Rework debug output + + Make it consistent across the various build options (with or without + profiling enabled), and add a timestamp using the monotonic clock to + every debug message. + + clutter/clutter-debug.h | 16 +++++++++------- + clutter/clutter-main.c | 26 ++++++++++++++++++++++++++ + clutter/clutter-profile.c | 10 ++++------ + clutter/clutter-profile.h | 41 +++++++++++++++-------------------------- + 4 files changed, 54 insertions(+), 39 deletions(-) + +commit c6e487a5c121dc64604232eb971a4d959ea1b3d2 +Author: Emmanuele Bassi +Date: Tue Nov 15 16:07:13 2011 +0000 + + Remove CLUTTER_TIMESTAMP debug macro + + It's pretty much unused, and it doesn't print out really informative + messages. We should make CLUTTER_NOTE print out a decent timestamp + instead. + + clutter/clutter-debug.h | 16 ---------------- + clutter/clutter-main.c | 2 +- + clutter/clutter-stage.c | 12 ++++++------ + clutter/clutter-timeline.c | 6 +++--- + 4 files changed, 10 insertions(+), 26 deletions(-) + +commit 8b2df7ced9e0be99cc9bc56678ad12ba614d75de +Author: Emmanuele Bassi +Date: Tue Nov 15 15:34:51 2011 +0000 + + Remove the GTimer used by clutter_get_timestamp() + + Use g_get_monotonic_time() instead, which does the right thing. + + clutter/clutter-main.c | 21 ++------------------- + clutter/clutter-private.h | 3 --- + 2 files changed, 2 insertions(+), 22 deletions(-) + +commit f63891f030f6cb7d72a911e15e8176cd6b27f50e +Author: Emmanuele Bassi +Date: Tue Nov 15 14:59:50 2011 +0000 + + texture: Do not use clutter_get_timestamp() + + The clutter_get_timestamp() output depends on whether Clutter was + compiled with debugging support — it's meant to be used only by the + debugging notes, and it should not be used for anything else. + + clutter/clutter-texture.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit 58b6ad787b115f89eb8f1d982e00cb4e9e55b7a6 +Author: Neil Roberts +Date: Tue Nov 8 15:45:14 2011 +0000 + + deform-effect: Use CoglPipeline instead of setting legacy state + + Instead of calling cogl_set_depth_test_enabled and + cogl_set_backface_culling_enabled ClutterDeformEffect now uses the + experimental CoglPipeline API. Those global state functions will soon + be deprecated in Cogl and they are implemented by flushing a temporary + override pipline which isn't ideal. + + Using the new culling API we can also avoid having a separate buffer + of indices for the back of the texture by just changing the culling + mode to cull front baces instead of the back. + + https://bugzilla.gnome.org/show_bug.cgi?id=663636 + + clutter/clutter-deform-effect.c | 171 +++++++++++++++------------------------- + 1 file changed, 63 insertions(+), 108 deletions(-) + +commit 8a752d674b4b8711a3912ff18506bb13cf238034 +Author: Neil Roberts +Date: Tue Nov 8 11:37:27 2011 +0000 + + deform-effect: Use CoglPrimitives instead of CoglVertexBuffers + + This changes ClutterDeformEffect to use a CoglAttributeBuffer with a + CoglPrimitive instead of the old CoglVertexBuffer. The old vertex + buffer code is now implemented in terms of the attribute buffer code + and it will eventually be deprecated. Using CoglPrimitives should be + slightly more efficient. + + This also changes the struct we store the vertices to be + CoglVertexP3T2C4 instead of CoglTextureVertex. The latter is + technically not compatible with neither vertex buffers nor attribute + buffers because it contains a CoglColor and the internal members of + that are private so it is not valid to assume it contains 4 bytes and + use that as an attribute. Also it contains padding so it ends up + redundantly creating a larger buffer. CoglTextureVertex is in the + public API for the deform_vertex virtual so we still have to maintain + that. Instead of directly manipulating the array to upload, the + application is now passed a stack allocated temporary struct which + gets converted to a CoglVertexP3T2C4. This also means that we can map + the buffer as write only and still let the application read-write the + vertex. + + The paint debug code to draw line strips for the deform mesh was + previously trying to set a red source material. However this wasn't + working because the material color was being overwritten by the color + attribute in the vertex buffer. This patch fixes that by creating a + seperate primitive for the lines and not adding the color + attribute. The lines code was also drawing both the front and back + indices. I don't think that entirely makes sense so I've just changed + it to draw only the front indices. Maybe painting both would make more + sense if backface culling was still enabled. + + https://bugzilla.gnome.org/show_bug.cgi?id=663636 + + clutter/clutter-deform-effect.c | 323 +++++++++++++++++++++++++--------------- + 1 file changed, 201 insertions(+), 122 deletions(-) + +commit 39c3ccfca5dc3d10423cb3972a481bfdc915eadc +Author: Chun-wei Fan +Date: Tue Nov 15 17:18:51 2011 +0800 + + Visual C++ support update + + Add Projects to compile the performance test files. + + build/win32/vs10/Makefile.am | 14 ++ + build/win32/vs10/clutter.props | 4 + + build/win32/vs10/clutter.sln | 70 +++++++++ + build/win32/vs10/install.vcxproj | 28 ++++ + build/win32/vs10/test-picking-performance.vcxproj | 169 +++++++++++++++++++++ + .../vs10/test-picking-performance.vcxproj.filters | 23 +++ + .../vs10/test-state-hidden-performance.vcxproj | 169 +++++++++++++++++++++ + .../test-state-hidden-performance.vcxproj.filters | 23 +++ + .../test-state-interactive-performance.vcxproj | 169 +++++++++++++++++++++ + ...t-state-interactive-performance.vcxproj.filters | 23 +++ + .../win32/vs10/test-state-mini-performance.vcxproj | 169 +++++++++++++++++++++ + .../test-state-mini-performance.vcxproj.filters | 23 +++ + build/win32/vs10/test-state-performance.vcxproj | 169 +++++++++++++++++++++ + .../vs10/test-state-performance.vcxproj.filters | 23 +++ + .../win32/vs10/test-state-pick-performance.vcxproj | 169 +++++++++++++++++++++ + .../test-state-pick-performance.vcxproj.filters | 23 +++ + .../win32/vs10/test-text-perf-performance.vcxproj | 169 +++++++++++++++++++++ + .../test-text-perf-performance.vcxproj.filters | 23 +++ + build/win32/vs9/Makefile.am | 7 + + build/win32/vs9/clutter.sln | 98 ++++++++++++ + build/win32/vs9/clutter.vsprops | 4 + + build/win32/vs9/test-picking-performance.vcproj | 166 ++++++++++++++++++++ + .../win32/vs9/test-state-hidden-performance.vcproj | 166 ++++++++++++++++++++ + .../vs9/test-state-interactive-performance.vcproj | 166 ++++++++++++++++++++ + build/win32/vs9/test-state-mini-performance.vcproj | 166 ++++++++++++++++++++ + build/win32/vs9/test-state-performance.vcproj | 166 ++++++++++++++++++++ + build/win32/vs9/test-state-pick-performance.vcproj | 166 ++++++++++++++++++++ + build/win32/vs9/test-text-perf-performance.vcproj | 166 ++++++++++++++++++++ + 28 files changed, 2731 insertions(+) + +commit 2a54db4557a0e4b417535ef162590a414a8a3c5b +Author: Chun-wei Fan +Date: Tue Nov 15 16:29:35 2011 +0800 + + test-picking.c: Use G_PI rather than M_PI + + M_PI is not universally available... + + tests/performance/test-picking.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 2a86ecc4b9516222c4f74ba106d7c2275baa9ae2 +Author: Chun-wei Fan +Date: Tue Nov 15 16:19:06 2011 +0800 + + Update interactive/conformance .bat names + + Add a -clutter suffix to avoid confustion with others, such as COGL. + + tests/conform/Makefile.am | 2 +- + tests/interactive/Makefile.am | 10 +++++----- + 2 files changed, 6 insertions(+), 6 deletions(-) + +commit 119169b4a16b739f833bd83b8484ae04ce30ae2b +Author: Chun-wei Fan +Date: Tue Nov 15 15:31:17 2011 +0800 + + Fix up VS property sheets + + Should be ..\..\..\clutter\deprecated\clutter-keysyms.h, not + ..\..\..\clutter\deprecated\clutter-keysyms-deprecated.h + + build/win32/vs10/clutter.props | 2 +- + build/win32/vs9/clutter.vsprops | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 794b49990a726df15b43c0fe741b7067ee2a3f95 +Author: Chun-wei Fan +Date: Tue Nov 15 15:19:09 2011 +0800 + + Update Visual C++ projects + + Update output DLL/LIB names to be consistent with the autotools output, + due to the newl-introduced multi-backend feature (only the Win32 backend + is supported here for now, GDK3 support will be added when it stabilizes) + + build/win32/vs10/clutter.vcxprojin | 16 ++++++++-------- + build/win32/vs9/clutter.vcprojin | 16 ++++++++-------- + 2 files changed, 16 insertions(+), 16 deletions(-) + +commit 8d0c68347a4ee33bb77c7c21760b63f15db9cf26 +Merge: 96d4e527e b281f2090 +Author: Chun-wei Fan +Date: Tue Nov 15 14:20:22 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit b281f2090a8fb042cb471611eab54c26ceba8074 +Author: Emmanuele Bassi +Date: Mon Nov 14 17:04:14 2011 +0000 + + Store the master clock pointer in the main context + + Let's try and move all singletons into ClutterMainContext. + + clutter/clutter-master-clock.c | 10 ++++------ + clutter/clutter-private.h | 3 +++ + 2 files changed, 7 insertions(+), 6 deletions(-) + +commit f1ebfe30cee518811454b2bea6558bcfd19a5eb7 +Author: Emmanuele Bassi +Date: Mon Nov 14 15:43:20 2011 +0000 + + stage-manager: Store the stage manager into the main context + + Use the main context to store the stage manager singleton, instead of a + static pointer inside clutter-stage-manager.c. + + clutter/clutter-private.h | 4 ++++ + clutter/clutter-stage-manager.c | 8 ++++---- + 2 files changed, 8 insertions(+), 4 deletions(-) + +commit 96d4e527ea8bf0e7fd238ba6cafd578f86fea27f +Merge: 2628ba70c e7720c415 +Author: Chun-wei Fan +Date: Mon Nov 14 22:57:50 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit e7720c415649cb67453b90764258f398f8e97107 +Author: Lionel Landwerlin +Date: Wed Nov 9 02:04:31 2011 +0000 + + deform-effect: do not redraw actor on invalidate + + When invalidating the deform effect, we are invalidating the vertices + shaping the deformation of an actor. Therefore, there is no need to + trigger a redraw of the associated actor, we can just repaint the + effect. + + Signed-off-by: Lionel Landwerlin + + https://bugzilla.gnome.org/show_bug.cgi?id=663720 + + clutter/clutter-deform-effect.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b5ac9277636bdeabcd3f2b6b62e234b085a5f49f +Author: Emmanuele Bassi +Date: Mon Nov 14 11:46:02 2011 +0000 + + stage: Clean up + + Improve the consistency of the code. + + clutter/clutter-stage-manager.c | 14 ++++++-------- + clutter/clutter-stage.c | 41 +++++++++++++++++++++++------------------ + 2 files changed, 29 insertions(+), 26 deletions(-) + +commit b2d1dfa932d20d17c236f2646879a38876302190 +Author: Emmanuele Bassi +Date: Mon Nov 14 11:45:14 2011 +0000 + + stage: Deprecate clutter_stage_queue_redraw() + + It's a wrapper around clutter_actor_queue_redraw(). + + clutter/clutter-stage.c | 5 ++--- + clutter/clutter-stage.h | 1 - + clutter/deprecated/clutter-stage.h | 3 +++ + 3 files changed, 5 insertions(+), 4 deletions(-) + +commit f5d011cb67f06d35721c78f3e93389da7e550ebd +Merge: bbe54aa2e 213e6e4a1 +Author: Emmanuele Bassi +Date: Mon Nov 14 11:07:54 2011 +0000 + + Merge branch 'deprecate-default-stage' + + * deprecate-default-stage: + evdev: do not associate device with stage + evdev: don't even process events without a default stage + docs: Note default stage deprecation in README + docs: Remove clutter_stage_get_default() + stage: Deprecate the default stage + script: Do not use clutter_stage_get_default() + cally/actor: Do not use the default stage as a fallback + Try to mop up the default stage mess + performance/*: Do not use clutter_stage_get_default() + interactive/*: Do not use clutter_stage_get_default() + Merge with a11y + micro-bench/*: Do not use clutter_stage_get_default() + accessibility/*: Do not use clutter_stage_get_default() + conform/*: Do not use clutter_stage_get_default() + +commit bbe54aa2ec61824ec05684bb2de6297edc289500 +Author: Chun-wei Fan +Date: Mon Nov 14 13:36:52 2011 +0800 + + Fix clutter-bakend-win32.c + + The VBLANK environmental variable is done universally in clutter-main.c + as in commits e8562089 (main: Add a sync-to-vblank global flag) and + db211a21 (Remove per-backend CLUTTER_VBLANK envvar), so remove these things + here as well. + + https://bugzilla.gnome.org/show_bug.cgi?id=663999 + + clutter/win32/clutter-backend-win32.c | 19 ------------------- + 1 file changed, 19 deletions(-) + +commit 2628ba70cdd8dccd90a487466b42f0fe136f6860 +Author: Chun-wei Fan +Date: Mon Nov 14 13:36:52 2011 +0800 + + Fix clutter-bakend-win32.c + + The VBLANK environmental variable is done universally in clutter-main.c + as in commits e8562089 (main: Add a sync-to-vblank global flag) and + db211a21 (Remove per-backend CLUTTER_VBLANK envvar), so remove these things + here as well. + + clutter/win32/clutter-backend-win32.c | 19 ------------------- + 1 file changed, 19 deletions(-) + +commit ebf3147a0054ebc577cf4822d85ff03ce5562f65 +Author: Chun-wei Fan +Date: Mon Nov 14 13:33:04 2011 +0800 + + clutter-config.h.win32: Add CLUTTER_INPUT_NULL + + clutter/clutter-config.h.win32 | 1 + + 1 file changed, 1 insertion(+) + +commit c73a1fa7df9a4ec1a5c8db9b7d5f4d2169f40174 +Author: Chun-wei Fan +Date: Mon Nov 14 13:32:29 2011 +0800 + + Fix VS property sheets + + Should be clutter-keysyms.compat.h that should land in deprecated/, not + clutter-keysyms.h + + build/win32/vs10/clutter.props | 8 ++++---- + build/win32/vs9/clutter.vsprops | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 145685b099d86fd5d6a49225834dd40962a9e091 +Author: Chun-wei Fan +Date: Mon Nov 14 12:49:52 2011 +0800 + + Update config.h.win32.in/clutter-config.h.win32 + + -Make the contents of config.h.win32.in more like config.h.in + -Define CLUTTER_INPUT_WIN32 accordingly (no GDK3 defines yet, until + GDK3 on Windows is more stable) + + clutter/clutter-config.h.win32 | 1 + + config.h.win32.in | 9 +++------ + 2 files changed, 4 insertions(+), 6 deletions(-) + +commit 1b7249a2478b78a4242c766d85347e71c3a70ba4 +Merge: c52d06a5b 65a07db5c +Author: Chun-wei Fan +Date: Mon Nov 14 11:40:49 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 65a07db5c07b2601835565ce48db689f634203b4 +Author: Fran Diéguez +Date: Sun Nov 13 18:52:21 2011 +0100 + + Updated Galician translations + + po/clutter-1.0.pot | 1455 +++++++++++++++++++++++++++------------------------- + po/gl.po | 765 +++++++++++++-------------- + 2 files changed, 1141 insertions(+), 1079 deletions(-) + +commit c52d06a5b9fe05b09836d364dba3a20d487f62b5 +Author: Chun-wei Fan +Date: Sat Nov 12 12:03:53 2011 +0800 + + Update clutter-config.h.win32 + + The CLUTTER_WINDOWING_WIN32 needs to be in-sync with what is in + configure.ac, due to the implementation of multiple backends. + + clutter/clutter-config.h.win32 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a0c9d294b0c2784b1459a21e5d8dbf8af9705432 +Author: Daniel Mustieles +Date: Fri Nov 11 18:16:06 2011 +0100 + + Updated Spanish translation + + po/es.po | 770 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 392 insertions(+), 378 deletions(-) + +commit 028b716f3310c3c9cae34c4cd23bb00f27f0103d +Author: Piotr Drąg +Date: Thu Nov 10 19:54:53 2011 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 21 +++++++++++---------- + 1 file changed, 11 insertions(+), 10 deletions(-) + +commit 6d4f105ab251282e8d6453df5b585646e4bafdcf +Author: Rico Tzschichholz +Date: Thu Nov 10 19:02:19 2011 +0100 + + po: update POTFILES.in + + po/POTFILES.in | 1 - + 1 file changed, 1 deletion(-) + +commit b12a94dc272b0b4c9c3ec5e9de5845cd24a2f09a +Author: Rico Tzschichholz +Date: Thu Nov 10 19:01:48 2011 +0100 + + docs: fix some headers paths + + clutter/cex100/clutter-cex100.h.in | 2 +- + doc/reference/clutter/Makefile.am | 5 +++-- + 2 files changed, 4 insertions(+), 3 deletions(-) + +commit 821ccef55562798bcda64ecc3d4b3f6252867d8b +Author: Emmanuele Bassi +Date: Thu Nov 10 17:59:17 2011 +0000 + + build: Disable evdev input by default + + It's an experimental input backend, so it should be enabled explicitly. + + README.in | 4 ++-- + configure.ac | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 213e6e4a1606945b1e2bbb93289da31aea5edcbe +Author: Lionel Landwerlin +Date: Thu Nov 10 15:41:41 2011 +0000 + + evdev: do not associate device with stage + + Their might not be any stage at that time, so this avoids to create a + default one. + + Signed-off-by: Emmanuele Bassi + + https://bugzilla.gnome.org/show_bug.cgi?id=651718 + + clutter/evdev/clutter-device-manager-evdev.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit 5705d08b5d50901e2f752a505e7daab3e98696ae +Author: Lionel Landwerlin +Date: Fri Jun 17 11:31:34 2011 +0100 + + evdev: don't even process events without a default stage + + The evdev system is a bit different from other input systems in + Clutter because it's completly decorrelated from anything graphic. + + In the case of embedded devices with no proper windowing system, you + might want to not implicitly create a default stage when you're + receiving the first input event. + + This patch changes this behavior by not forwarding any event if you + don't have a default stage. + + Signed-off-by: Lionel Landwerlin + + https://bugzilla.gnome.org/show_bug.cgi?id=651718 + + clutter/evdev/clutter-device-manager-evdev.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit b38773f4588f104e0dca8f235344d1599c0d560a +Author: Emmanuele Bassi +Date: Thu Nov 10 15:09:04 2011 +0000 + + docs: Note default stage deprecation in README + + Mention the behaviour of Clutter when creating more than one stage on + platforms that only support one stage instance. + + README.in | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 26aa4b5290c65984a0512a0ba4a30ab777628269 +Author: Emmanuele Bassi +Date: Wed Nov 9 17:49:25 2011 +0000 + + docs: Remove clutter_stage_get_default() + + A lot of the example code in the cookbook and the API reference still + uses the default stage — sometimes as if it were a non-default one, + which once again demonstrates how the default stage was a flawed concept + that just confused people. + + clutter/clutter-actor.c | 2 +- + doc/cookbook/examples/animations-looping-animator.c | 2 +- + doc/cookbook/examples/animations-looping-implicit.c | 2 +- + doc/cookbook/examples/animations-looping-state.c | 2 +- + doc/cookbook/examples/animations-moving-animator.c | 2 +- + doc/cookbook/examples/animations-moving-implicit.c | 2 +- + doc/cookbook/examples/animations-moving-state.c | 2 +- + doc/cookbook/examples/animations-rotating.c | 2 +- + doc/cookbook/examples/animations-scaling-zoom.c | 2 +- + doc/cookbook/examples/animations-scaling.c | 2 +- + doc/cookbook/examples/events-buttons-click.c | 2 +- + doc/cookbook/examples/events-buttons-lasso.c | 2 +- + doc/cookbook/examples/events-buttons.c | 2 +- + doc/cookbook/examples/events-mouse-scroll.c | 3 ++- + doc/cookbook/examples/events-pointer-motion-crossing.c | 2 +- + doc/cookbook/examples/events-pointer-motion-scribbler.c | 3 ++- + doc/cookbook/examples/events-pointer-motion-stacked.c | 3 ++- + doc/cookbook/examples/events-pointer-motion.c | 3 ++- + doc/cookbook/examples/layouts-bind-constraint-allocation.c | 2 +- + doc/cookbook/examples/layouts-box-menu.c | 2 +- + doc/cookbook/examples/layouts-box-property-effects.c | 2 +- + doc/cookbook/examples/layouts-box.c | 2 +- + doc/cookbook/examples/layouts-stacking-diff-sized-actors.c | 3 ++- + doc/cookbook/examples/layouts-stacking.c | 3 ++- + doc/cookbook/examples/textures-crossfade-cogl.c | 2 +- + doc/cookbook/examples/textures-crossfade-slideshow.c | 2 +- + doc/cookbook/examples/textures-crossfade.c | 2 +- + doc/cookbook/examples/textures-split-go.c | 3 ++- + doc/cookbook/examples/textures-sub-texture.c | 3 ++- + doc/reference/clutter/clutter-animation-tutorial.xml | 3 ++- + 30 files changed, 39 insertions(+), 30 deletions(-) + +commit 0c18dc6bf90cf521327869738b206274584c695e +Author: Emmanuele Bassi +Date: Wed Nov 9 17:12:45 2011 +0000 + + stage: Deprecate the default stage + + Deprecate the clutter_stage_get_default() function, as well as the + clutter_stage_is_default() one, and replace its internal usage. + + clutter/clutter-stage.c | 38 +++++++++++++++++++++++++------------- + clutter/clutter-stage.h | 2 -- + clutter/deprecated/clutter-stage.h | 6 ++++++ + 3 files changed, 31 insertions(+), 15 deletions(-) + +commit 2288d708e2f6ad9f8348f738a44cc7d29cf95530 +Author: Emmanuele Bassi +Date: Wed Nov 9 17:09:37 2011 +0000 + + script: Do not use clutter_stage_get_default() + + It's about to go away, so we should use the StageManager API instead. + + clutter/clutter-script-parser.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit b1ccd262b1a8ba01d214090052f99ef408bff299 +Author: Emmanuele Bassi +Date: Wed Nov 9 17:03:30 2011 +0000 + + cally/actor: Do not use the default stage as a fallback + + Using the default stage as a fallback is wrong in all circumstances. + + In this specific case, if an actor is not associated to a stage then it + cannot possibly be the key focus. + + clutter/cally/cally-actor.c | 14 ++++++-------- + 1 file changed, 6 insertions(+), 8 deletions(-) + +commit 26f44673922bc3d0b854bdcb0c519f1a62bd433a +Author: Emmanuele Bassi +Date: Wed Nov 9 14:04:05 2011 +0000 + + Try to mop up the default stage mess + + The default stage was a neat concept when we started Clutter out, + somewhere in the Jurassic era; a singleton instance that gets created at + initialization time, and remains the same for the entire duration of the + process. + + Worked well enough when Clutter was a small library meant to be used to + write fullscreen media browsers, but since the introduction of multiple + stages, and Clutter being used to create all sorts of applications, the + default stage is just a vestigial remainder of that past, like an + appendix; something that complicates the layout of the code and + introduces weird behaviour, so that you notice its existence only when + something goes wrong. + + Some platforms we do support, though, only have one framebuffer, so it + makes sense for them to have only one stage. + + At this point, the only sane thing to do is to go through the same code + paths on all platforms, and that code path is the stage instance + creation and initialization — i.e. clutter_stage_new() (or + g_object_new() with CLUTTER_TYPE_STAGE). + + For platforms that support multiple stages, nothing has changed: the stage + created by clutter_stage_get_default() will be set as the default one; + if nobody calls it, the default stage is never created, and it just + lives on as a meaningless check. + + For platforms that only support one stage, clutter_stage_new() and + clutter_stage_get_default() will behave exactly the same the first time + they are called: both will create a stage, and set it as the default. + Calling clutter_stage_new() a second time is treated as a programmer + error, and will result in Clutter aborting. This is a behavioural change + because the existing behaviour or creating a new ClutterStage instance + with the same ClutterStageWindow private implementation is, simply put, + utterly braindamaged and I should have *never* had written it, and I + apologize for it. In my defence, I didn't know any better at the time. + + This is the first step towards the complete deprecation of + clutter_stage_get_default() and clutter_stage_is_default(), which will + come later. + + clutter/clutter-backend.c | 5 -- + clutter/clutter-stage.c | 114 ++++++++++++++++++++++++++++++++-------------- + 2 files changed, 79 insertions(+), 40 deletions(-) + +commit 5903fcc36db8ea3115471aaf04322a7cae7cdfc2 +Author: Emmanuele Bassi +Date: Wed Nov 9 13:52:03 2011 +0000 + + performance/*: Do not use clutter_stage_get_default() + + tests/performance/test-picking.c | 9 +++++---- + tests/performance/test-state-hidden.c | 7 ++++--- + tests/performance/test-state-interactive.c | 6 +++--- + tests/performance/test-state-mini.c | 7 ++++--- + tests/performance/test-state-pick.c | 7 ++++--- + tests/performance/test-state.c | 7 ++++--- + tests/performance/test-text-perf.c | 4 +++- + 7 files changed, 27 insertions(+), 20 deletions(-) + +commit 7c180a074275ce0eb06165bb6eba83273b5056d2 +Author: Emmanuele Bassi +Date: Wed Nov 9 13:41:15 2011 +0000 + + interactive/*: Do not use clutter_stage_get_default() + + tests/conform/test-score.c | 4 +- + tests/conform/test-timeline.c | 5 ++- + tests/interactive/test-actor-clone.c | 34 +++++++++++---- + tests/interactive/test-animation.c | 7 +-- + tests/interactive/test-animator.c | 11 +++-- + tests/interactive/test-bin-layout.c | 11 ++++- + tests/interactive/test-binding-pool.c | 9 +++- + tests/interactive/test-box-layout.c | 9 +++- + tests/interactive/test-cairo-flowers.c | 46 +++++++++++++------- + tests/interactive/test-clip.c | 10 ++++- + tests/interactive/test-cogl-multitexture.c | 17 ++++++-- + tests/interactive/test-cogl-offscreen.c | 67 ++++++++++++++++++----------- + tests/interactive/test-cogl-point-sprites.c | 14 ++++-- + tests/interactive/test-cogl-primitives.c | 11 ++++- + tests/interactive/test-cogl-tex-convert.c | 13 ++++-- + tests/interactive/test-cogl-tex-foreign.c | 13 ++++-- + tests/interactive/test-cogl-tex-getset.c | 13 ++++-- + tests/interactive/test-cogl-tex-polygon.c | 11 ++++- + tests/interactive/test-cogl-tex-tile.c | 11 ++++- + tests/interactive/test-cogl-vertex-buffer.c | 38 +++++++++++----- + tests/interactive/test-events.c | 61 +++++++++++++------------- + tests/interactive/test-fbo.c | 10 ++++- + tests/interactive/test-flow-layout.c | 9 +++- + tests/interactive/test-fullscreen.c | 20 ++++++--- + tests/interactive/test-grab.c | 14 ++++-- + tests/interactive/test-layout.c | 10 ++++- + tests/interactive/test-main.c | 10 ++++- + tests/interactive/test-multistage.c | 6 ++- + tests/interactive/test-paint-wrapper.c | 27 ++++++++++-- + tests/interactive/test-pixmap.c | 10 ++++- + tests/interactive/test-scale.c | 11 ++++- + tests/interactive/test-stage-read-pixels.c | 10 ++++- + tests/interactive/test-stage-sizing.c | 10 ++++- + tests/interactive/test-state-animator.c | 15 +++++-- + tests/interactive/test-state.c | 23 +++++++--- + tests/interactive/test-swipe-action.c | 11 ++++- + tests/interactive/test-table-layout.c | 5 ++- + tests/interactive/test-text.c | 20 ++++++--- + tests/interactive/test-texture-quality.c | 14 ++++-- + tests/interactive/test-texture-slicing.c | 9 +++- + tests/interactive/test-unproject.c | 14 +++--- + 41 files changed, 491 insertions(+), 182 deletions(-) + +commit 6ed879b84cad6b8b69403813acdd811de98e9f00 +Author: Emmanuele Bassi +Date: Wed Nov 9 10:55:49 2011 +0000 + + Merge with a11y + + tests/accessibility/cally-atkcomponent-example.c | 2 ++ + tests/accessibility/cally-atkeditabletext-example.c | 17 +++++++---------- + tests/accessibility/cally-atkevents-example.c | 12 +++++------- + tests/accessibility/cally-atktext-example.c | 4 +--- + tests/accessibility/cally-clone-example.c | 3 +-- + 5 files changed, 16 insertions(+), 22 deletions(-) + +commit 93eb0bfe328598fe37a6469cd43ba8fa59ae147e +Author: Emmanuele Bassi +Date: Tue Nov 8 17:23:52 2011 +0000 + + micro-bench/*: Do not use clutter_stage_get_default() + + tests/micro-bench/test-cogl-perf.c | 14 ++++++-------- + tests/micro-bench/test-picking.c | 10 ++++++---- + tests/micro-bench/test-random-text.c | 5 ++++- + tests/micro-bench/test-text-perf.c | 6 +++--- + tests/micro-bench/test-text.c | 11 ++++++----- + 5 files changed, 25 insertions(+), 21 deletions(-) + +commit a5522b707ecb719d05e57702b65be1a2cec250ac +Author: Emmanuele Bassi +Date: Tue Nov 8 17:11:34 2011 +0000 + + accessibility/*: Do not use clutter_stage_get_default() + + tests/accessibility/cally-atkcomponent-example.c | 3 ++- + tests/accessibility/cally-atkeditabletext-example.c | 6 +++--- + tests/accessibility/cally-atkevents-example.c | 16 +++++++++++----- + tests/accessibility/cally-atktext-example.c | 7 +++++-- + tests/accessibility/cally-clone-example.c | 8 ++++++-- + 5 files changed, 27 insertions(+), 13 deletions(-) + +commit deba576dd1ad5ca55c713dcc808e91adf9d2f1df +Author: Emmanuele Bassi +Date: Tue Nov 8 17:04:44 2011 +0000 + + conform/*: Do not use clutter_stage_get_default() + + Use the correct stage creation/destruction API. + + tests/conform/test-actor-invariants.c | 44 +++++++++++------- + tests/conform/test-anchors.c | 4 +- + tests/conform/test-cally-text.c | 8 ++-- + tests/conform/test-clutter-cairo-texture.c | 4 +- + tests/conform/test-clutter-texture.c | 4 +- + tests/conform/test-cogl-backface-culling.c | 5 ++- + tests/conform/test-cogl-blend-strings.c | 5 ++- + tests/conform/test-cogl-depth-test.c | 5 ++- + tests/conform/test-cogl-just-vertex-shader.c | 7 +-- + tests/conform/test-cogl-materials.c | 5 ++- + tests/conform/test-cogl-multitexture.c | 4 +- + tests/conform/test-cogl-npot-texture.c | 20 +++++---- + tests/conform/test-cogl-offscreen.c | 8 +--- + tests/conform/test-cogl-path.c | 5 ++- + tests/conform/test-cogl-pipeline-user-matrix.c | 4 +- + tests/conform/test-cogl-pixel-buffer.c | 8 +--- + tests/conform/test-cogl-premult.c | 5 ++- + tests/conform/test-cogl-primitive.c | 5 ++- + tests/conform/test-cogl-readpixels.c | 8 +--- + tests/conform/test-cogl-sub-texture.c | 8 +--- + tests/conform/test-cogl-texture-3d.c | 6 +-- + tests/conform/test-cogl-texture-get-set-data.c | 4 +- + tests/conform/test-cogl-texture-mipmaps.c | 5 ++- + tests/conform/test-cogl-texture-pixmap-x11.c | 52 +++++++++++----------- + tests/conform/test-cogl-texture-rectangle.c | 4 +- + tests/conform/test-cogl-vertex-buffer-contiguous.c | 5 ++- + tests/conform/test-cogl-vertex-buffer-interleved.c | 5 ++- + tests/conform/test-cogl-vertex-buffer-mutability.c | 5 ++- + tests/conform/test-cogl-viewport.c | 8 +--- + tests/conform/test-cogl-wrap-modes.c | 4 +- + tests/conform/test-conform-main.c | 1 + + tests/conform/test-offscreen-redirect.c | 4 +- + tests/conform/test-paint-opacity.c | 14 +++--- + tests/conform/test-pick.c | 5 ++- + tests/conform/test-score.c | 2 +- + tests/conform/test-shader-effect.c | 4 +- + tests/conform/test-text-cache.c | 4 +- + tests/conform/test-texture-fbo.c | 20 ++------- + 38 files changed, 167 insertions(+), 151 deletions(-) + +commit 89644ae0488951015e44e864a3cc6840c207357c +Author: Emmanuele Bassi +Date: Mon Nov 7 19:06:22 2011 +0000 + + docs: Update the release notes in the README + + README.in | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- + 1 file changed, 69 insertions(+), 10 deletions(-) + +commit 6d68ac2e8bf6f1210c7692748e27c989213e6ba7 +Author: Emmanuele Bassi +Date: Mon Nov 7 14:48:48 2011 +0000 + + osx: Clean up the backend implementation + + Instead of implementing create_stage() and a constructor for + ClutterStageOSX, we can use the default implementations in + ClutterBackend, and spare us some code duplication. + + clutter/osx/clutter-backend-osx.c | 27 ++++----------------------- + clutter/osx/clutter-stage-osx.c | 33 +++++++++------------------------ + clutter/osx/clutter-stage-osx.h | 3 --- + 3 files changed, 13 insertions(+), 50 deletions(-) + +commit 88b27beea465a6e790ad78ce7ca3a07e8521f7db +Author: Emmanuele Bassi +Date: Mon Nov 7 14:44:37 2011 +0000 + + wayland/backend: Remove create_stage() + + The create_stage() implementation in ClutterBackendWayland isn't doing + anything special, so we can fall back to the default one. + + clutter/wayland/clutter-backend-wayland.c | 19 ------------------- + 1 file changed, 19 deletions(-) + +commit 7472c07c41db28591da46b3e437fc97b799787a2 +Author: Emmanuele Bassi +Date: Fri Nov 4 19:49:45 2011 +0000 + + build: Clean up the configuration summary + + List the input backends, and remove the EGL backend options. + + configure.ac | 31 ++++++++++++++++++++++++++----- + 1 file changed, 26 insertions(+), 5 deletions(-) + +commit 17c89bd0a0aba8fa400c591b8cc8934f5b8ec901 +Author: Emmanuele Bassi +Date: Fri Nov 4 19:25:54 2011 +0000 + + backend: Clean up the device manager creation + + Create the device manager during the event initialization, where it + makes sense. + + This allows us to get rid of the per-backend get_device_manager() + virtual function, and just store the DeviceManager pointer into the + ClutterBackend structure. + + clutter/cex100/clutter-backend-cex100.c | 25 ------------------------- + clutter/clutter-backend-private.h | 10 ++++++---- + clutter/clutter-backend.c | 13 +++++++++++++ + clutter/clutter-device-manager.c | 7 ++----- + clutter/egl/clutter-backend-eglnative.c | 26 -------------------------- + clutter/evdev/clutter-device-manager-evdev.c | 12 +++--------- + clutter/gdk/clutter-backend-gdk.c | 25 ++++++++----------------- + clutter/osx/clutter-backend-osx.c | 27 ++++----------------------- + clutter/win32/clutter-backend-win32.c | 19 +------------------ + clutter/x11/clutter-backend-x11.c | 13 ++----------- + 10 files changed, 39 insertions(+), 138 deletions(-) + +commit cd1e8da07fd437a0368c198a3ee2a16569ce7699 +Author: Emmanuele Bassi +Date: Fri Nov 4 19:01:32 2011 +0000 + + */backend: Clean up the stage creation + + Use the default implementation of create_stage() wherever possible. + + clutter/cex100/clutter-backend-cex100.c | 27 --------------------------- + clutter/cex100/clutter-backend-cex100.h | 3 --- + clutter/egl/clutter-backend-eglnative.c | 27 --------------------------- + clutter/egl/clutter-backend-eglnative.h | 3 --- + clutter/gdk/clutter-backend-gdk.c | 12 ------------ + clutter/win32/clutter-backend-win32.c | 20 -------------------- + 6 files changed, 92 deletions(-) + +commit 828ca2982f0f7b6974283921d59c65929385da8f +Author: Emmanuele Bassi +Date: Fri Nov 4 19:00:49 2011 +0000 + + backend: Provide a default create_stage() + + We can now safely create a ClutterStageWindow in the shared code path, + instead of deferring to the backend. + + clutter/clutter-backend.c | 32 ++++++++++++++++++++++++++++++++ + 1 file changed, 32 insertions(+) + +commit 9c038ebefb88cd052c1dc9448c58d2d5a9a9bfc7 +Author: Emmanuele Bassi +Date: Fri Nov 4 18:50:46 2011 +0000 + + stage-window: Add :backend and :wrapper properties + + All StageWindow implementation already have back pointers, but we need a + unified API to actually set them from the generic code path; we can use + properties on the StageWindow interface — though this requires fixing + all backends at the same time, to avoid GObject complaining. + + clutter/clutter-stage-window.c | 19 ++++++++++++++ + clutter/cogl/clutter-stage-cogl.c | 15 ++--------- + clutter/osx/clutter-stage-osx.c | 46 ++++++++++++++++++++++++++++++--- + clutter/wayland/clutter-stage-wayland.c | 37 ++++++++++++++++++++++++++ + clutter/win32/clutter-stage-win32.c | 35 +++++++++++++++++++++++++ + 5 files changed, 135 insertions(+), 17 deletions(-) + +commit f3c89e82b3ab47b29cf5bf59418ca0f473624c2f +Author: Emmanuele Bassi +Date: Fri Nov 4 18:50:02 2011 +0000 + + gdk/backend: Fix an invalid chain up + + clutter/gdk/clutter-backend-gdk.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit b980d2dc17f84b4c5e99f9f850feb3ac47de2439 +Author: Emmanuele Bassi +Date: Fri Nov 4 18:27:08 2011 +0000 + + */backend: Store the StageWindow implementation type + + clutter/cex100/clutter-backend-cex100.c | 2 ++ + clutter/egl/clutter-backend-eglnative.c | 2 ++ + clutter/gdk/clutter-backend-gdk.c | 3 +++ + clutter/osx/clutter-backend-osx.c | 2 ++ + clutter/wayland/clutter-backend-wayland.c | 2 ++ + clutter/win32/clutter-backend-win32.c | 10 ++++++---- + clutter/x11/clutter-backend-x11.c | 4 ++++ + 7 files changed, 21 insertions(+), 4 deletions(-) + +commit 6082be409ee3f64770170e73323a2df5b50084c2 +Author: Emmanuele Bassi +Date: Fri Nov 4 18:26:33 2011 +0000 + + backend: Store the type of the StageWindow implementation + + We can use it later on to create it and provide a default create_stage() + implementation. + + clutter/clutter-backend-private.h | 2 ++ + clutter/clutter-backend.c | 2 ++ + 2 files changed, 4 insertions(+) + +commit 04a2b5f42b0bee41dbb6968b98551bb0fa079548 +Author: Emmanuele Bassi +Date: Fri Nov 4 17:49:25 2011 +0000 + + egl/backend: Clean up + + The "EGL native" backend is just a short-hand for a pure Cogl backend, + using whatever input mechanism was enabled at run-time. + + clutter/egl/clutter-backend-eglnative.c | 136 +------------------------------- + clutter/egl/clutter-egl.h | 5 -- + 2 files changed, 2 insertions(+), 139 deletions(-) + +commit 89e26497de8f3f05fbaf409436c4ee92f5d3669c +Author: Emmanuele Bassi +Date: Fri Nov 4 17:44:55 2011 +0000 + + Add a CEx100-specific backend + + Instead of piggybacking on the EGL backend, let's create a small + ClutterBackend for the CEx100 platforms. This allows us to handle the + CEx100-specific details in a much cleaner way. + + .gitignore | 2 +- + clutter/Makefile.am | 11 +- + clutter/cex100/clutter-backend-cex100.c | 264 ++++++++++++++++++++++++++++ + clutter/cex100/clutter-backend-cex100.h | 74 ++++++++ + clutter/{egl => cex100}/clutter-cex100.h.in | 35 +--- + configure.ac | 134 +++++++------- + 6 files changed, 422 insertions(+), 98 deletions(-) + +commit 5c9cafb411961fbd9117e86c6e8ca636f91fb158 +Author: Emmanuele Bassi +Date: Fri Nov 4 16:52:44 2011 +0000 + + cogl/backend: Remove the ClutterBackendCogl class + + All the functionality that ClutterBackendCogl provided has been moved + into ClutterBackend itself, so there is no need to have this class + around in the source. + + Cogl-based backends can derive directly from ClutterBackend. + + clutter/Makefile.am | 2 - + clutter/cogl/clutter-backend-cogl.c | 111 -------------------------------- + clutter/cogl/clutter-backend-cogl.h | 68 ------------------- + clutter/cogl/clutter-stage-cogl.c | 10 +-- + clutter/cogl/clutter-stage-cogl.h | 8 +-- + clutter/egl/clutter-backend-eglnative.c | 2 +- + clutter/egl/clutter-backend-eglnative.h | 5 +- + clutter/gdk/clutter-backend-gdk.c | 2 +- + clutter/gdk/clutter-backend-gdk.h | 5 +- + clutter/x11/clutter-backend-x11.c | 2 +- + clutter/x11/clutter-backend-x11.h | 5 +- + clutter/x11/clutter-stage-x11.c | 5 +- + 12 files changed, 19 insertions(+), 206 deletions(-) + +commit 5ac0cf1c2852b0ad1cb58edc254bb787c6354e3c +Author: Emmanuele Bassi +Date: Fri Nov 4 16:41:52 2011 +0000 + + cogl/backend: Remove pre/post_parse + + The CLUTTER_VBLANK environment variable is now handled in the common + code path. + + clutter/cogl/clutter-backend-cogl.c | 38 ------------------------------------- + 1 file changed, 38 deletions(-) + +commit db211a2131eed46bcecf8abc14822f2bd9a50812 +Author: Emmanuele Bassi +Date: Fri Nov 4 16:39:52 2011 +0000 + + Remove per-backend CLUTTER_VBLANK envvar + + We have a global flag we can use. + + clutter/cogl/clutter-backend-cogl.h | 2 -- + clutter/cogl/clutter-stage-cogl.c | 6 ++---- + clutter/win32/clutter-backend-win32.c | 24 ------------------------ + clutter/win32/clutter-backend-win32.h | 2 -- + clutter/win32/clutter-stage-win32.c | 6 ++---- + clutter/x11/clutter-backend-x11.c | 6 ++---- + 6 files changed, 6 insertions(+), 40 deletions(-) + +commit e8562089f692f5fa8bbf8c646d3c508244fd3d14 +Author: Emmanuele Bassi +Date: Fri Nov 4 16:35:38 2011 +0000 + + main: Add a sync-to-vblank global flag + + It replaces the per-backend CLUTTER_VBLANK environment variable. + + clutter/clutter-main.c | 21 +++++++++++++++++++++ + clutter/clutter-private.h | 2 ++ + 2 files changed, 23 insertions(+) + +commit 80fdbeb9543e0de18ac28f8cae28c42f2e18942e +Author: Emmanuele Bassi +Date: Fri Nov 4 16:13:04 2011 +0000 + + backend: Provide a default get_features() implementation + + Continue gutting ClutterBackendCogl; get_features() is the last bit that + still does something, but now we can use the Cogl API. + + clutter/clutter-backend.c | 34 +++++++++++++++++++++++++++++ + clutter/cogl/clutter-backend-cogl.c | 41 ----------------------------------- + clutter/cogl/clutter-stage-cogl.c | 15 ++++++------- + clutter/gdk/clutter-backend-gdk.c | 8 ++++--- + clutter/win32/clutter-backend-win32.c | 28 +++--------------------- + 5 files changed, 49 insertions(+), 77 deletions(-) + +commit b97324ee9f8684a0388cacc2e00ea1a2da16e5cc +Author: Emmanuele Bassi +Date: Fri Nov 4 15:57:01 2011 +0000 + + win32/backend: Use the default context creation + + The win32 backend doesn't do anything special on context creation, so we + can just use the default implementation provided by ClutterBackend. + + clutter/win32/clutter-backend-win32.c | 59 ----------------------------------- + 1 file changed, 59 deletions(-) + +commit 6ec7a28802999b24f1d07dfb73a8a4e670596a42 +Author: Emmanuele Bassi +Date: Fri Nov 4 15:54:58 2011 +0000 + + gdk/backend: Use the context creation hooks + + Same as it has happened to the X11 backend. + + clutter/gdk/clutter-backend-gdk.c | 128 ++++++++++++++++++++------------------ + 1 file changed, 69 insertions(+), 59 deletions(-) + +commit 68e8ef0103af438749660a0346267688b27b05c2 +Author: Emmanuele Bassi +Date: Fri Nov 4 15:53:47 2011 +0000 + + x11/backend: Use the context creation hooks + + Don't replace create_context(): given that the X11 backend already uses + Cogl for the context creation, we can just provide the right data + structures ourselves. + + clutter/x11/clutter-backend-x11.c | 113 +++++++++++++++----------------------- + 1 file changed, 43 insertions(+), 70 deletions(-) + +commit a918ac92cb2278a8ebbc118f55443e4974dd696f +Author: Emmanuele Bassi +Date: Fri Nov 4 15:50:47 2011 +0000 + + backend: Provide a default create_context() + + Since we use Cogl for the context creation we can now provide a default + context creation that should just work, plus a couple of hooks to allow + plugging into the creation sequence for platforms supported by Cogl that + require special handling — like foreign displays or alpha-enabled swap + chains. + + The various backends have now two choices: either replace the + create_context() in its entirety, or plug themselves into the default + context creation. + + clutter/clutter-backend-private.h | 6 ++ + clutter/clutter-backend.c | 114 +++++++++++++++++++++++++++++++++++++- + 2 files changed, 117 insertions(+), 3 deletions(-) + +commit 5b1b936491c89b75c211584e77946d3dea0c5f81 +Author: Emmanuele Bassi +Date: Fri Nov 4 12:21:11 2011 +0000 + + backend: Fix up the input backend detection ordering + + And add a missing 'else' in the OSX check, to avoid a g_error(). + + clutter/clutter-backend.c | 17 +++++++++-------- + 1 file changed, 9 insertions(+), 8 deletions(-) + +commit 1f8915d2c89cced191fbd94bdb5dd6833d942584 +Author: Emmanuele Bassi +Date: Thu Nov 3 18:27:09 2011 +0000 + + Add a 'null' input backend symbol + + We should have an input backend symbol that thoroughly disables all + input event handling. + + clutter/clutter-backend.c | 8 +++++++- + configure.ac | 4 ++++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +commit adb6ffbd0e67f1f43a7fbcd8df53a94fb7b241e8 +Author: Emmanuele Bassi +Date: Thu Nov 3 17:53:54 2011 +0000 + + backend: Unify the event initialization + + Input backends are, in some cases, independent from the windowing system + backends; we can initialize input handling using a model similar to what + we use for windowing backends, including an environment variable and + compile-/run-time checks. + + This model allows us to remove the backend-specific init_events(), and + use a generic implementation directly inside the base ClutterBackend + class, thus further reducing the backend-specific code that every + platform has to implement. + + This requires some minor surgery to every single backend, to make sure + that the function exposed to initialize the event loop is similar and + performs roughly the same operations. + + clutter/clutter-backend.c | 85 ++++++++++++++- + clutter/egl/clutter-backend-eglnative.c | 26 ----- + clutter/gdk/clutter-backend-gdk.c | 24 ++--- + clutter/gdk/clutter-backend-gdk.h | 4 +- + clutter/gdk/clutter-event-gdk.c | 21 ---- + clutter/osx/clutter-backend-osx.c | 11 +- + clutter/osx/clutter-backend-osx.h | 6 +- + clutter/osx/clutter-event-osx.c | 14 --- + clutter/wayland/clutter-backend-wayland.c | 6 -- + clutter/x11/clutter-backend-x11-private.h | 32 ------ + clutter/x11/clutter-backend-x11.c | 58 ++++++---- + clutter/x11/clutter-backend-x11.h | 35 +++--- + clutter/x11/clutter-event-x11.c | 173 ++++++++---------------------- + configure.ac | 12 ++- + 14 files changed, 205 insertions(+), 302 deletions(-) + +commit 84d208b2c6c774a27d7d00ef5136bf31ebe82310 +Author: Emmanuele Bassi +Date: Thu Nov 3 16:48:20 2011 +0000 + + win32/backend: Remove ensure_context() + + We have a fallback, now. + + clutter/win32/clutter-backend-win32.c | 11 ----------- + 1 file changed, 11 deletions(-) + +commit 672ab70144b9270535f6371ae79921d72cbada58 +Author: Emmanuele Bassi +Date: Thu Nov 3 16:47:57 2011 +0000 + + win32/stage: Implement get_active_framebuffer() + + clutter/win32/clutter-stage-win32.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 42af690255f2b32af6a778df312211001a2c1fc2 +Author: Emmanuele Bassi +Date: Thu Nov 3 16:47:18 2011 +0000 + + wayland/backend: Remove empty ensure_context() + + There is a default fallback, now. + + clutter/wayland/clutter-backend-wayland.c | 7 ------- + 1 file changed, 7 deletions(-) + +commit 0c02e8adb31413e4d19c101a94da91834558b9b3 +Author: Emmanuele Bassi +Date: Thu Nov 3 16:46:48 2011 +0000 + + cogl/backend: Remove ensure_context() + + We have a default implementation for it, now. + + clutter/cogl/clutter-backend-cogl.c | 17 ----------------- + 1 file changed, 17 deletions(-) + +commit 790c0d1f9128ea64b84db944ef2ac853bfd8e057 +Author: Emmanuele Bassi +Date: Thu Nov 3 16:45:56 2011 +0000 + + backend: Provide an implementation of ensure_backend() + + We can do it for all Cogl-based backends. + + clutter/clutter-backend.c | 24 ++++++++++++++++++++++++ + 1 file changed, 24 insertions(+) + +commit e374c2bd8922049ab9c0e285baf21e56641ec974 +Author: Emmanuele Bassi +Date: Thu Nov 10 14:15:32 2011 +0000 + + conform/color: Check invalid strings + + We need to make sure to fail consistently for invalid strings. + + tests/conform/test-color.c | 20 ++++++++++++++++++-- + tests/conform/test-conform-main.c | 3 ++- + 2 files changed, 20 insertions(+), 3 deletions(-) + +commit 0550a8b99d0589ef9a196c6787577a0975014f3f +Author: Emmanuele Bassi +Date: Thu Nov 10 14:13:45 2011 +0000 + + color: Validate hex formats + + Right now, we pass through to Pango unrecognized hexadecimal formats + when parsing colors from strings. Since we parse all possible formats + ourselves, we can do validation ourselves as well, and avoid the Pango + path. + + clutter/clutter-color.c | 26 +++++++++++++++----------- + 1 file changed, 15 insertions(+), 11 deletions(-) + +commit 889a1f44f422224c4d652256197b6358d2b74fc4 +Author: Emmanuele Bassi +Date: Thu Nov 10 12:56:47 2011 +0000 + + conform/color: Test hsla() format + + tests/conform/test-color.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit b96773f9c9b3c397ade8e88b3b3523e63732843f +Author: Jasper St. Pierre +Date: Wed Nov 9 16:37:32 2011 -0500 + + clutter-stage-x11: Make sure to set geometry x and y + + Otherwise, we could be dealing with uninitialized values, causing + havoc all over the place. + + https://bugzilla.gnome.org/show_bug.cgi?id=663733 + + clutter/x11/clutter-stage-x11.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 33303f92f3c3d164ab8c477d99af25e10e9520c2 +Author: Craig R. Hughes +Date: Mon Nov 7 17:00:45 2011 -0800 + + Minor whitespace fix for clutter color parsing of hsla(h,s,l,a) + + Previously, if there was whitespace between "l" and the comma before the + alpha value, parsing would fail. This patch allows that whitespace + making it consistent with whitespace being allowed everywhere else. + + https://bugzilla.gnome.org/show_bug.cgi?id=663594 + + clutter/clutter-color.c | 1 + + 1 file changed, 1 insertion(+) + +commit d596401a3c1f88d396c06702ed488328ff4d1bd8 +Author: Matthias Clasen +Date: Fri Nov 4 07:14:47 2011 -0400 + + cally: Use the proper role for password entries + + https://bugzilla.gnome.org/show_bug.cgi?id=663332 + + clutter/cally/cally-text.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +commit 7b5e5b772740a4067925f39be85cd9e9e8438479 +Author: Emmanuele Bassi +Date: Wed Nov 9 09:09:37 2011 +0000 + + main: Add a debug note when reading the settings file + + So that's easier to track in the debug log. + + clutter/clutter-main.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 63dbcc245c0edc92c235374d7918b4a26c4d1158 +Merge: bf8f1afb4 ba8d682c0 +Author: Chun-wei Fan +Date: Wed Nov 9 00:30:32 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit ba8d682c0900afd0ef14acc8fe7083d4137f4b63 +Author: Emmanuele Bassi +Date: Tue Nov 8 14:46:55 2011 +0000 + + actor: Deprecate [sg]et_geometry() + + These methods are short-hands for accessing the position and size, + which are already shorthands for accessing the various dimensional + and positional attributes. Plus, they use ClutterGeometry, which is a + fairly bad data type for a rectangle. + + clutter/clutter-actor.c | 9 ++++++++- + clutter/clutter-actor.h | 4 ---- + clutter/deprecated/clutter-actor.h | 11 +++++++++-- + 3 files changed, 17 insertions(+), 7 deletions(-) + +commit 101f39ea922687427c5cf2a69a18d171f289fe6e +Author: Emmanuele Bassi +Date: Tue Nov 8 14:46:16 2011 +0000 + + Replace usage of [sg]et_geometry() + + The set_geometry() and get_geometry() methods are going to be + deprecated. + + clutter/win32/clutter-stage-win32.c | 2 +- + clutter/x11/clutter-stage-x11.c | 2 +- + tests/accessibility/cally-atkcomponent-example.c | 44 +++++++++--------------- + tests/accessibility/cally-atkevents-example.c | 22 ++++++------ + tests/accessibility/cally-clone-example.c | 4 +-- + tests/conform/test-pick.c | 9 +++-- + 6 files changed, 38 insertions(+), 45 deletions(-) + +commit 4fe7a77302ed0de7a977916e83e4b62244b99275 +Author: Emmanuele Bassi +Date: Tue Nov 8 14:20:32 2011 +0000 + + Replace ClutterGeometry with cairo_rectangle_int_t + + We still use ClutterGeometry internally in a couple of places, but we + should really move away from that flawed rectangle data type, and use + the Cairo one. + + Sadly, we still have some public API that we cannot remove yet. + + clutter/win32/clutter-stage-win32.c | 2 +- + clutter/x11/clutter-stage-x11.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 76e85f68eaec4307ba27cd45e99072d78ee5b8e6 +Author: Emmanuele Bassi +Date: Tue Nov 8 11:19:22 2011 +0000 + + build: Remove mention of missing file + + There is no clutter-event-gdk.h in the build. + + clutter/Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +commit 67d5a4993c6459461ab486ed394f110ede4a5cc8 +Author: Emmanuele Bassi +Date: Mon Nov 7 20:24:13 2011 +0000 + + main: Deprecate clutter_set_default_frame_rate() + + Setting the default frame rate does not do anything even remotely + useful, unless synchronization to the vertical refresh rate is also + disabled - which can only be done through environment variable or + through configuration file. Having a programmatic way to change the + default frame rate is, thus, completely pointless. + + Changing the default frame rate through environment variable and + configuration file is still allowed. + + clutter/clutter-main.c | 9 ++------- + clutter/clutter-main.h | 5 ++--- + clutter/deprecated/clutter-main.h | 7 +++++-- + 3 files changed, 9 insertions(+), 12 deletions(-) + +commit bf8f1afb404c522dc54f31b8171b51453d591465 +Author: Chun-wei Fan +Date: Mon Nov 7 12:46:56 2011 +0800 + + Update VS property sheets + + In response to the following moved to deprecated in the following commits: + + a39be454 + main: Move deprecated symbols to a separate header + 40d703a0 + backend: Move deprecated symbols to a separate header + b19c9196 + actor: Move deprecated symbols into separate headers + 142cd0bf + Move clutter-keysyms-compat.h to the deprecated section + 530b07f1 + Don't use a -deprecated suffix for headers + 11420a70 + group: Move deprecated macro into its own header + 98b467f9 + stage: Move the deprecated macros to a separate header + + build/win32/vs10/clutter.props | 18 ++++++++++++++---- + build/win32/vs9/clutter.vsprops | 11 ++++++++--- + 2 files changed, 22 insertions(+), 7 deletions(-) + +commit bd9dbe870a9835d6bfc0b8832846936a5fa16e6a +Author: Chun-wei Fan +Date: Mon Nov 7 12:44:44 2011 +0800 + + Add GDK-specific symbols to clutter.symbols + + A GDK backend for clutter was added in commits 610a9c17 + (Add A new GDK backend) and f14cbf5b (gdk: Allow disabling event retrieval) + + These are not included in the Win32 builds for the moment as GDK3 is + quite unstable on Windows at this time + + clutter/clutter.symbols | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 73fa9eec5f1ca248f16d15fd19e5e548655321d9 +Author: Chun-wei Fan +Date: Mon Nov 7 12:12:53 2011 +0800 + + Update clutter-version.h.win32.in + + -Update clutter-version.h.win32.in to reflect the state of + clutter-version.h.in commit 21a24c86 (updated in commit 8249e488) + -Also add clutter_check_windowing_backend to clutter.symbols as a result. + + clutter/clutter-version.h.win32.in | 2 ++ + clutter/clutter.symbols | 1 + + 2 files changed, 3 insertions(+) + +commit bb9e452a36d7a4fe3ed2090c050d096c26aae988 +Merge: 61c3b9395 e0bfdbfeb +Author: Chun-wei Fan +Date: Mon Nov 7 11:42:16 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit e0bfdbfeba82a77d0960f62957b3515792cefc90 +Author: Emmanuele Bassi +Date: Fri Nov 4 12:03:13 2011 +0000 + + osx/stage: Fix compilation + + We need to include clutter-stage-window.h. + + clutter/osx/clutter-stage-osx.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 61c3b9395ff167f2f1716e7c8fd59082c6e5ba49 +Author: Chun-wei Fan +Date: Fri Nov 4 12:01:51 2011 +0800 + + Fix cally-atkevents-example VS projects + + Refer to $(srcroot)\clutter so that the correct Cally headers can be + referenced + + build/win32/vs10/cally-atkevents-example.vcxproj | 4 ++++ + build/win32/vs9/cally-atkevents-example.vcproj | 4 ++++ + 2 files changed, 8 insertions(+) + +commit 6f8f8295c053bb8b61e83422d7e105b12ed0401c +Author: Colin Walters +Date: Thu Nov 3 14:42:07 2011 -0400 + + build: Ensure libdir exists before installing to it + + clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 683642ba545acaf78b13de3d5ffe07705dec348a +Author: Emmanuele Bassi +Date: Thu Nov 3 16:05:36 2011 +0000 + + docs: Fixes for the API reference build + + clutter/clutter-layout-manager.c | 1 - + doc/reference/clutter/Makefile.am | 25 ++++++++++++++++--------- + doc/reference/clutter/running-clutter.xml | 1 + + 3 files changed, 17 insertions(+), 10 deletions(-) + +commit 53513f858633ae578b87e0c12f43cc77721c84e5 +Author: Emmanuele Bassi +Date: Thu Nov 3 15:35:03 2011 +0000 + + tests: Remove #undef CLUTTER_DISABLE_DEPRECATED + + We need to test deprecated API as well, and we don't use a guard any + more in the build. + + tests/conform/test-behaviours.c | 2 -- + tests/conform/test-score.c | 2 -- + tests/conform/test-script-parser.c | 2 -- + tests/interactive/test-actor-clone.c | 1 - + tests/interactive/test-actors.c | 1 - + tests/interactive/test-behave.c | 1 - + tests/interactive/test-depth.c | 2 -- + tests/interactive/test-multistage.c | 2 -- + tests/interactive/test-paint-wrapper.c | 1 - + tests/interactive/test-pixmap.c | 1 - + tests/interactive/test-scale.c | 2 -- + tests/interactive/test-script.c | 2 -- + tests/interactive/test-texture-quality.c | 2 -- + tests/interactive/test-threads.c | 2 -- + 14 files changed, 23 deletions(-) + +commit 7ab84f981c39952926ea408a817a1d8a88c615ea +Author: Emmanuele Bassi +Date: Thu Nov 3 15:32:53 2011 +0000 + + Remove CLUTTER_DISABLE_DEPRECATED from the build flags + + We don't use it any more. + + clutter/Makefile.am | 8 ++++---- + configure.ac | 2 +- + doc/cookbook/examples/Makefile.am | 2 +- + 3 files changed, 6 insertions(+), 6 deletions(-) + +commit 2403d4875b03c14169cf90e55d449ff46a75e23a +Author: Emmanuele Bassi +Date: Thu Nov 3 15:32:04 2011 +0000 + + Remove CLUTTER_DISABLE_DEPRECATED guard + + Except for macros, we now entirely depend on the deprecation warnings + instead of a guard. + + clutter/clutter-types.h | 9 +++------ + clutter/clutter.h | 2 -- + clutter/deprecated/clutter-actor.h | 1 - + clutter/deprecated/clutter-keysyms.h | 4 ++++ + 4 files changed, 7 insertions(+), 9 deletions(-) + +commit 9ea2bb694ee4a72e1156194fa4bfc01b7c61a280 +Author: Emmanuele Bassi +Date: Thu Nov 3 15:16:02 2011 +0000 + + docs: Fix a wrongly named argument + + clutter/clutter-group.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 98b467f9b86555bb30e1d3855dce81f06bb42d89 +Author: Emmanuele Bassi +Date: Thu Nov 3 15:13:54 2011 +0000 + + stage: Move the deprecated macros to a separate header + + The clutter-stage.h header still has a bunch of macros that have, for + reasons unknown[*], survived the 1.0 API cut and have long since been + deprecated. Let's hide them under the deprecated/ carpet and let us + never speak of them ever again. + + [*] pretty sure alcohol or other psychotropic substances were involved + but I take the 5th on that. + + clutter/Makefile.am | 1 + + clutter/clutter-deprecated.h | 1 + + clutter/clutter-stage.h | 39 --------------------------------- + clutter/deprecated/clutter-stage.h | 45 ++++++++++++++++++++++++++++++++++++++ + 4 files changed, 47 insertions(+), 39 deletions(-) + +commit 0157615faeda3725bf4c8d63fb86c8850790ee90 +Author: Emmanuele Bassi +Date: Thu Nov 3 15:03:16 2011 +0000 + + build: Fix compilation + + clutter/deprecated/clutter-main.h | 1 + + 1 file changed, 1 insertion(+) + +commit 11420a705734ab3626754c550c942b0d66fd4200 +Author: Emmanuele Bassi +Date: Thu Nov 3 15:02:35 2011 +0000 + + group: Move deprecated macro into its own header + + clutter/Makefile.am | 1 + + clutter/clutter-deprecated.h | 1 + + clutter/clutter-group.c | 15 ++++++---- + clutter/clutter-group.h | 57 ++++++++++---------------------------- + clutter/deprecated/clutter-group.h | 23 +++++++++++++++ + 5 files changed, 49 insertions(+), 48 deletions(-) + +commit 530b07f12beb392426427a3f2910656da2438f99 +Author: Emmanuele Bassi +Date: Thu Nov 3 14:49:56 2011 +0000 + + Don't use a -deprecated suffix for headers + + They are already in the deprecated/ directory, the suffix is redundant, + and there is no chance of collision. + + clutter/Makefile.am | 6 +++--- + clutter/clutter-deprecated.h | 6 +++--- + clutter/deprecated/{clutter-actor-deprecated.h => clutter-actor.h} | 0 + .../deprecated/{clutter-backend-deprecated.h => clutter-backend.h} | 0 + clutter/deprecated/{clutter-main-deprecated.h => clutter-main.h} | 0 + 5 files changed, 6 insertions(+), 6 deletions(-) + +commit 142cd0bf82b3e10acc19d237db8da440509e7715 +Author: Emmanuele Bassi +Date: Thu Nov 3 14:42:39 2011 +0000 + + Move clutter-keysyms-compat.h to the deprecated section + + No reason to have it lingering in the main section. + + clutter/Makefile.am | 2 +- + clutter/clutter-deprecated.h | 3 ++- + clutter/clutter-keysyms-update.pl | 17 ++++++----------- + clutter/clutter-keysyms.h | 13 ++++++++----- + .../clutter-keysyms.h} | 14 +++++++++++--- + 5 files changed, 28 insertions(+), 21 deletions(-) + +commit 983510fad4b7ca71cf57efb19c39116d6bfb79e3 +Author: Emmanuele Bassi +Date: Thu Nov 3 14:02:43 2011 +0000 + + x11/backend: Use an internal GError + + Don't just return the error from Cogl, but proxy it so that it has the + correct error domain and code. + + clutter/x11/clutter-backend-x11.c | 37 ++++++++++++++++++++++++++++--------- + 1 file changed, 28 insertions(+), 9 deletions(-) + +commit 7a2001436b759018a0e7178baa0e32bcd994a561 +Author: Emmanuele Bassi +Date: Wed Nov 2 17:31:29 2011 +0000 + + build: Clean up the per-backend summary + + configure.ac | 30 ++++++++++++++++++++++-------- + 1 file changed, 22 insertions(+), 8 deletions(-) + +commit dc672b5c89c2b4300b16f117aff26a1fe1f7bbfa +Author: Emmanuele Bassi +Date: Wed Nov 2 17:30:30 2011 +0000 + + build: Use AC_CACHE_SAVE + + Delimit the points in the configure script that should save the state, + so that running the script multiple times doesn't require starting from + scratch even if it didn't terminate successfully. + + configure.ac | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 9110fa1ee7821523b7e3b47743846b1e20dbc33c +Author: Emmanuele Bassi +Date: Wed Nov 2 13:17:27 2011 +0000 + + build: Disable tslib by default + + The event handling through tslib hasn't been tested in a while, and it + hasn't been ported to the device manager machinery either. We are still + considering whether or not it should be entirely removed, since evdev is + supposed to be a better way to handle events not coming from an existing + windowing system. + + configure.ac | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit c4e6f74f2944e20dbf04794f167a3da1b817235a +Author: Emmanuele Bassi +Date: Mon Oct 17 16:07:05 2011 +0100 + + interactive/pixmap: Make sure to work only on the X11 backend + + Even if the test has been successfully compiled against the X11 backend, + we need to ensure that it is actually running against it, otherwise bad + things will happen. + + tests/interactive/test-pixmap.c | 48 ++++++++++++++++++++--------------------- + 1 file changed, 23 insertions(+), 25 deletions(-) + +commit 3b38cee66bfda2fae376b74c8e5cd500243d3be6 +Author: Emmanuele Bassi +Date: Mon Oct 17 16:06:15 2011 +0100 + + interactive/devices: Build unconditionally + + The test-devices interactive test does not rely on the X11 API being + present any more, after the introduction of the device manager API. + + tests/interactive/Makefile.am | 5 +++-- + tests/interactive/test-devices.c | 5 +++++ + 2 files changed, 8 insertions(+), 2 deletions(-) + +commit 8249e48802193865114d7ff7e0b1023ffaee9456 +Author: Emmanuele Bassi +Date: Mon Oct 17 16:03:19 2011 +0100 + + Clean up the windowing system defines + + Instead of defining new symbols for the windowing systems enabled at + configure time, we can reuse the same symbols for both the compile time + and run time checks, e.g.: + + #ifdef CLUTTER_WINDOWING_X11 + if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11)) + /* use the clutter_x11_* API */ + else + #endif + #ifdef CLUTTER_WINDOWING_WIN32 + if (clutter_check_windowing_backend (CLUTTER_WINDOWING_WIN32)) + /* use the clutter_win32_* API */ + #endif + + This scheme allows us to ensure that the input system namespace is free + for us to use and select at run time in later versions of Clutter. + + clutter/clutter-backend-private.h | 3 ++ + clutter/clutter-backend.h | 77 ++---------------------------------- + clutter/clutter-main.c | 83 +++++++++++++++++++++++++-------------- + clutter/clutter-version.h.in | 2 +- + configure.ac | 20 +++++----- + 5 files changed, 71 insertions(+), 114 deletions(-) + +commit 98c177def5c861e03a1386b02bb0b3acb7c09e65 +Author: Emmanuele Bassi +Date: Mon Oct 17 13:25:15 2011 +0100 + + Clean up the backend creation + + Move it to its own function. + + clutter/clutter-main.c | 83 ++++++++++++++++++++++++++++---------------------- + 1 file changed, 46 insertions(+), 37 deletions(-) + +commit 3987db16595cb52c1b309ad8251066fa63c71651 +Author: Emmanuele Bassi +Date: Fri Oct 14 12:00:44 2011 +0100 + + build: Make sure to remove colliding shared libraries + + The compatibility links should take over any existing installed + shared library with the same soname, to avoid ldd creating stale + links. + + clutter/Makefile.am | 3 +++ + 1 file changed, 3 insertions(+) + +commit 50c72367a8b6946b0d047c4ea10e6e08d3a47442 +Author: Emmanuele Bassi +Date: Wed Oct 12 17:56:07 2011 +0100 + + docs: Update the README section on configure switches + + README.in | 51 +++++++++++++++++++++++---------------------------- + 1 file changed, 23 insertions(+), 28 deletions(-) + +commit b07756e0b3248134aad075f690eaf8560424d8c0 +Author: Emmanuele Bassi +Date: Wed Oct 12 08:48:56 2011 +0100 + + build: Implement proper platform checking + + Perform the check for enabling platform-specific backends conditionally + on the 'check' value, instead of unconditionally. + + Also, rename the configure switches for the backends to have a '-backend' + suffix, to avoid collisions and provide a more descriptive name. + + configure.ac | 77 +++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 45 insertions(+), 32 deletions(-) + +commit 4b0d7f2929c39528227bae6e2d39ab7f3edf1ac9 +Author: Emmanuele Bassi +Date: Mon Oct 3 17:11:49 2011 +0100 + + build: Improve the compat libs rule + + Use the same commands libtool uses when installing symbolic links for + the shared libraries. + + clutter/Makefile.am | 26 ++++++++++++++++++++------ + 1 file changed, 20 insertions(+), 6 deletions(-) + +commit 8eb71af23d55bbc07dadd552369e10d405f7c670 +Author: Emmanuele Bassi +Date: Mon Oct 3 15:25:40 2011 +0100 + + gdk/events: Clean up the event handling code + + We need debugging notes, to see what's happening when handling events. + + We need to queue a (clipped) redraw when receiving a GDK_EXPOSE event. + + We need to check the device (both master and source) of the event using + the GdkEvent API, and pass them to the ClutterEvent using the + corresponding Clutter API. + + clutter/gdk/clutter-event-gdk.c | 93 +++++++++++++++++++++++++++------- + clutter/gdk/clutter-input-device-gdk.c | 2 +- + 2 files changed, 75 insertions(+), 20 deletions(-) + +commit 405e72f2e4ce94e3fad5c668cf0e7622fdc3af35 +Author: Emmanuele Bassi +Date: Mon Oct 3 12:25:53 2011 +0100 + + egl: First attempt at cleaning up the EGL native backend + + At least, let's make it compile when built along with the other + backends. In reality, it still needs to be verified as working. + + clutter/Makefile.am | 16 ++- + clutter/clutter-main.c | 4 +- + clutter/cogl/clutter-backend-cogl.c | 40 +------ + clutter/cogl/clutter-stage-cogl.h | 4 - + clutter/egl/clutter-backend-eglnative.c | 159 +++++++++++++++++++++------ + clutter/egl/clutter-backend-eglnative.h | 5 - + clutter/egl/clutter-egl.h | 3 + + clutter/evdev/clutter-device-manager-evdev.c | 11 +- + clutter/tslib/clutter-event-tslib.c | 26 +---- + clutter/tslib/clutter-event-tslib.h | 35 ++++++ + configure.ac | 48 ++++---- + 11 files changed, 220 insertions(+), 131 deletions(-) + +commit 19508132df6227f5b865de458bdf959106073373 +Author: Emmanuele Bassi +Date: Mon Oct 3 10:23:46 2011 +0100 + + build: Move EGL-related files under egl/ + + Including the clutter-cex100.h.in header. + + .gitignore | 2 +- + clutter/Makefile.am | 6 +- + clutter/egl/clutter-cex100.h | 91 ----------------------------- + clutter/{cogl => egl}/clutter-cex100.h.in | 0 + clutter/{cogl => egl}/clutter-egl-headers.h | 0 + clutter/{cogl => egl}/clutter-egl.h | 0 + configure.ac | 2 +- + 7 files changed, 5 insertions(+), 96 deletions(-) + +commit 4ee00b67b55d56c5c36bdf2978593532d540190a +Author: Emmanuele Bassi +Date: Mon Oct 3 10:17:56 2011 +0100 + + build: Move clutter-event-tslib.c out of egl/ + + Prepare for a full tslib device manager. + + clutter/Makefile.am | 2 +- + clutter/{egl => tslib}/clutter-event-tslib.c | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) + +commit 6e9f474d90687df0e21cc374b6a7fafa5694a846 +Author: Emmanuele Bassi +Date: Fri Sep 30 17:29:40 2011 +0100 + + Coding style and cosmetic fixes + + clutter/gdk/clutter-event-gdk.c | 297 ++++++++++++++++++++++------------------ + 1 file changed, 162 insertions(+), 135 deletions(-) + +commit 0c919adf508351aa95d201d36277ff677f4348b1 +Author: Emmanuele Bassi +Date: Fri Sep 30 14:50:31 2011 +0100 + + Minimal cosmetic fix to the configure output + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fedfac3b7cb3899619dfe6c197cf22a5b1b8c0aa +Author: Emmanuele Bassi +Date: Fri Sep 30 13:58:40 2011 +0100 + + Remove the X11-specific bit in ClutterStageCogl + + Let's use a new virtual function in ClutterStageWindow to check whether + a platform-specific implementation does support clipped redraws. + + clutter/clutter-stage-window.c | 14 ++++++++++++++ + clutter/clutter-stage-window.h | 4 ++++ + clutter/cogl/clutter-stage-cogl.c | 21 +++------------------ + clutter/gdk/clutter-stage-gdk.c | 24 ++++++++++-------------- + clutter/x11/clutter-stage-x11.c | 13 +++++++++++++ + 5 files changed, 44 insertions(+), 32 deletions(-) + +commit f58d393187af1258d6f23cbe172d7c20ee7d0d2d +Author: Emmanuele Bassi +Date: Thu Sep 29 18:16:48 2011 +0100 + + gdk: Fix Stage foreign window support + + The code is generally wrong, and does not work. We need to skip the + GdkWindow creation when we have a foreing window, but we still need to + create the Cogl onscreen buffer and connect it to the GdkWindow's native + resource. + + clutter/gdk/clutter-stage-gdk.c | 141 +++++++++++++++++++++------------------- + 1 file changed, 74 insertions(+), 67 deletions(-) + +commit f14cbf5bdb4f763925f53451dd94d56f756c93ea +Author: Emmanuele Bassi +Date: Thu Sep 29 18:10:48 2011 +0100 + + gdk: Allow disabling event retrieval + + Just like the other backends can disable the internal event handling, + and use clutter__handle_event() to do the native → Clutter + event translation. + + clutter/gdk/clutter-backend-gdk.c | 18 +++++++++++++++++- + clutter/gdk/clutter-gdk.h | 2 ++ + 2 files changed, 19 insertions(+), 1 deletion(-) + +commit a73f1e67685b30702757b03b39ad585acfc90f89 +Author: Emmanuele Bassi +Date: Tue Sep 27 13:24:52 2011 +0100 + + Cosmetic fixes + + clutter/x11/clutter-backend-x11.c | 143 +++++++++++++++++++------------------- + 1 file changed, 72 insertions(+), 71 deletions(-) + +commit 21a24c862ef652552ada4d9d4a0eb95edd5790bb +Author: Emmanuele Bassi +Date: Mon Sep 26 13:14:26 2011 +0100 + + Allow checking the backend type at run-time + + Portable code should be allowed to check type backend currently being + used, so that it can use platform-specific API (not just Clutter's). + + We don't want to go down the GDK route, with public types for + ClutterBackend and ClutterStageWindow implementations, and use the type + system, e.g.: + + #ifdef GDK_WINDOWING_X11 + if (GDK_IS_WINDOW_X11 (window)) + use_x11_api (window); + else + #endif + #ifdef GDK_WINDOWING_WIN32 + if (GDK_IS_WINDOW_WIN32 (window)) + use_win32_api (window); + else + #endif + g_critical ("Unsupported backend"); + + This system would make us expose the backend system, and we want to + still reserve us the option to change the backend system to increase its + granularity — e.g. choosing different input event systems regardless of + the windowing system. + + This commit adds a simple function that checks the backend type against + a symbolic constant — the same constant string that can be used to + select the backend at run-time through the CLUTTER_BACKEND environment + variable. + + clutter/clutter-backend.h | 67 ++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-main.c | 70 ++++++++++++++++++++++++++++++++++++++++---- + clutter/clutter-version.h.in | 2 ++ + 3 files changed, 133 insertions(+), 6 deletions(-) + +commit a09bbffd922123d0b4ae9405be4651119e5fa7a1 +Author: Emmanuele Bassi +Date: Wed Sep 21 18:05:03 2011 +0100 + + Implement multi-backend support + + The Clutter backend split is opaque enough that should allow us to just + build all possible backends inside the same shared object, and select + the wanted backend at initialization time. + + This requires some work in the build system, as well as the + initialization code, to remove duplicate functions that might cause + conflicts at build and link time. We also need to defer all the checks + of the internal state of the platform-specific API to run-time type + checks. + + clutter/Makefile.am | 139 ++++++--- + clutter/clutter-backend-private.h | 3 - + clutter/clutter-main.c | 63 +++- + clutter/clutter-version.h.in | 14 + + clutter/clutter.pc.in | 11 +- + clutter/cogl/clutter-stage-cogl.c | 19 +- + clutter/egl/clutter-backend-eglnative.c | 55 ++-- + clutter/gdk/clutter-backend-gdk.c | 16 +- + clutter/gdk/clutter-gdk.h | 13 +- + clutter/gdk/clutter-stage-gdk.c | 14 +- + clutter/osx/clutter-backend-osx.c | 6 - + clutter/wayland/clutter-backend-wayland.c | 6 - + clutter/win32/clutter-backend-win32.c | 6 - + clutter/win32/clutter-stage-win32.c | 10 +- + clutter/x11/clutter-backend-x11.c | 78 +++-- + clutter/x11/clutter-x11-texture-pixmap.c | 25 +- + configure.ac | 482 +++++++++++++++--------------- + doc/cookbook/examples/Makefile.am | 2 +- + doc/reference/cally/Makefile.am | 2 +- + doc/reference/clutter/Makefile.am | 2 +- + tests/accessibility/Makefile.am | 2 +- + tests/conform/Makefile.am | 2 +- + tests/interactive/Makefile.am | 2 +- + tests/micro-bench/Makefile.am | 2 +- + tests/performance/Makefile.am | 2 +- + 25 files changed, 578 insertions(+), 398 deletions(-) + +commit 9c102b7c516078d13703981ca1b8cd7affb17602 +Author: Giovanni Campagna +Date: Sat Aug 27 00:16:12 2011 +0200 + + Rework the interaction between the Cogl and GDK / X11 backends. + + Previously, the Cogl backend was at times a subclass of the X11 + backend, and at times a standalone one. Now it is the other way + round, with GDK and X11 backends providing the concrete classes, + layered on top of the generic Cogl backend. A new EglNative backend + was introduced for direct to framebuffer rendering. This greatly + simplifies the API design (at the expense of some casts needed) + and reduces the amount of #ifdefs, without duplicating code. + + https://bugzilla.gnome.org/show_bug.cgi?id=657434 + + clutter/Makefile.am | 21 +- + clutter/cogl/clutter-backend-cogl.c | 349 +-------------------- + clutter/cogl/clutter-backend-cogl.h | 41 --- + clutter/cogl/clutter-stage-cogl.c | 167 +++------- + clutter/cogl/clutter-stage-cogl.h | 20 -- + clutter/egl/clutter-backend-eglnative.c | 262 ++++++++++++++++ + clutter/egl/clutter-backend-eglnative.h | 80 +++++ + clutter/egl/clutter-cex100.h | 91 ++++++ + clutter/{cogl => egl}/clutter-event-tslib.c | 4 +- + clutter/gdk/clutter-backend-gdk.c | 180 ++++++++--- + clutter/gdk/clutter-backend-gdk.h | 5 +- + clutter/gdk/clutter-stage-gdk.c | 161 +++++----- + clutter/gdk/clutter-stage-gdk.h | 9 +- + clutter/x11/clutter-backend-x11.c | 230 ++++++++++---- + clutter/x11/clutter-backend-x11.h | 12 +- + clutter/{cogl => x11}/clutter-glx-texture-pixmap.c | 0 + clutter/{cogl => x11}/clutter-glx-texture-pixmap.h | 0 + clutter/{cogl => x11}/clutter-glx.h | 0 + clutter/x11/clutter-stage-x11.c | 139 +++++--- + clutter/x11/clutter-stage-x11.h | 9 +- + configure.ac | 29 +- + 21 files changed, 996 insertions(+), 813 deletions(-) + +commit 610a9c17bacfe3106d59d3c450be6a07cd26490a +Author: Giovanni Campagna +Date: Fri Aug 26 03:09:18 2011 +0200 + + Add a new GDK backend + + This commit introduces a new flavour for Clutter, that uses GDK + for handling all window system specific interactions (except for + creating the cogl context, as cogl does not know about GDK), including + in particular events. This is not compatible with the X11 (glx) + flavour, and this is reflected by the different soname (libclutter-gdk-1.0.so), + as all X11 specific functions and classes are not available. If you + wish to be compatible, you should check for CLUTTER_WINDOWING_X11. + Other than that, this backend should be on feature parity with X11, + including XInput 2, XSettings and EMWH (with much, much less code) + + https://bugzilla.gnome.org/show_bug.cgi?id=657434 + + clutter/Makefile.am | 28 ++ + clutter/cogl/clutter-backend-cogl.c | 86 ++-- + clutter/cogl/clutter-backend-cogl.h | 18 +- + clutter/cogl/clutter-stage-cogl.c | 70 +++- + clutter/cogl/clutter-stage-cogl.h | 17 +- + clutter/gdk/clutter-backend-gdk-private.h | 32 ++ + clutter/gdk/clutter-backend-gdk.c | 368 ++++++++++++++++ + clutter/gdk/clutter-backend-gdk.h | 72 ++++ + clutter/gdk/clutter-device-manager-gdk.c | 249 +++++++++++ + clutter/gdk/clutter-device-manager-gdk.h | 63 +++ + clutter/gdk/clutter-event-gdk.c | 264 ++++++++++++ + clutter/gdk/clutter-gdk.h | 55 +++ + clutter/gdk/clutter-input-device-gdk.c | 160 +++++++ + clutter/gdk/clutter-input-device-gdk.h | 55 +++ + clutter/gdk/clutter-settings-gdk.h | 28 ++ + clutter/gdk/clutter-stage-gdk.c | 601 +++++++++++++++++++++++++++ + clutter/gdk/clutter-stage-gdk.h | 84 ++++ + configure.ac | 21 + + tests/conform/test-cogl-texture-pixmap-x11.c | 10 +- + tests/conform/test-conform-common.c | 4 +- + 20 files changed, 2232 insertions(+), 53 deletions(-) + +commit db53ca382c5db10fa19f93761b8f898b20a4534f +Author: Robert Bragg +Date: Tue Nov 1 13:42:40 2011 +0000 + + cogl: fallback to non-transparent stages if unsupported + + If our check of the CoglOnscreenTemplate during initialization fails + then we disable the request for an alpha component in the swap chain and + try the check again. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/cogl/clutter-backend-cogl.c | 26 +++++++++++++++++++++++--- + 1 file changed, 23 insertions(+), 3 deletions(-) + +commit b751b90bc014666ddf0e0f1d220c949403f72185 +Author: Emmanuele Bassi +Date: Wed Nov 2 13:03:26 2011 +0000 + + build: Bump up Cogl dependency + + The newly added cogl-xlib.h header is available since Cogl 1.9, so we + need to bump up the dependency. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4ce95306a357b85537de709033848f61bafca04a +Author: Emmanuele Bassi +Date: Wed Nov 2 12:53:55 2011 +0000 + + tslib: Remove mention of clutter-stage-egl.h + + That header has long since disappeared from the build. + + clutter/cogl/clutter-event-tslib.c | 1 - + 1 file changed, 1 deletion(-) + +commit 0b4b19700f371e0f49ca727e66017f8862a5c4eb +Author: Emmanuele Bassi +Date: Wed Nov 2 12:53:26 2011 +0000 + + utils: Remove CLUTTER_DISABLE_DEPRECATED + + We use deprecation warnings now. + + clutter/clutter-util.h | 4 ---- + 1 file changed, 4 deletions(-) + +commit 377a292b4e1255a421b9f7687ef2db2e4c7b68d1 +Author: Emmanuele Bassi +Date: Wed Nov 2 12:53:03 2011 +0000 + + texture: Remove CLUTTER_DISABLE_DEPRECATED + + We use deprecation warnings now. + + clutter/clutter-texture.h | 2 -- + 1 file changed, 2 deletions(-) + +commit 4a4289cfa53968c1886d1a691f9e82bb54ba5005 +Author: Emmanuele Bassi +Date: Wed Nov 2 12:52:42 2011 +0000 + + stage-manager: Remove CLUTTER_DISABLE_DEPRECATED + + We use deprecation warnings now. + + clutter/clutter-stage-manager.h | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 1ba9a123ede0fdf4d670a860305c75e0858fb693 +Author: Emmanuele Bassi +Date: Wed Nov 2 12:52:18 2011 +0000 + + cairo-texture: Remove CLUTTER_DISABLE_DEPRECATED + + We use deprecation warnings now. + + clutter/clutter-cairo-texture.h | 2 -- + 1 file changed, 2 deletions(-) + +commit f4d8ba7db4bcdcf615feb9423435ebc4b60a1973 +Author: Emmanuele Bassi +Date: Wed Nov 2 12:51:58 2011 +0000 + + animatable: Remove CLUTTER_DISABLE_DEPRECATED + + We use deprecation warnings, now. + + clutter/clutter-animatable.h | 2 -- + 1 file changed, 2 deletions(-) + +commit f4e971a7e583d9474cec57dd47d9e267a6fd24f1 +Author: Emmanuele Bassi +Date: Wed Nov 2 12:48:31 2011 +0000 + + cairo-texture: Use an internal function for create_region() + + Avoid double argument checking, and a deprecation warning when + implementing create() as a wrapper around create_region(), by using + a simple internal function. + + clutter/clutter-cairo-texture.c | 88 +++++++++++++++++++++++------------------ + 1 file changed, 49 insertions(+), 39 deletions(-) + +commit b19c919645dfb90461698d38d128f47543336dad +Author: Emmanuele Bassi +Date: Wed Nov 2 12:47:46 2011 +0000 + + actor: Move deprecated symbols into separate headers + + The clutter-actor.h header is already pretty big, so let's try to keep + the deprecated symbols out of it. + + clutter/Makefile.am | 1 + + clutter/clutter-actor.h | 34 --------------------------- + clutter/clutter-deprecated.h | 1 + + clutter/deprecated/clutter-actor-deprecated.h | 17 ++++++++++++++ + clutter/deprecated/clutter-shader.h | 24 +++++++++++++++++++ + 5 files changed, 43 insertions(+), 34 deletions(-) + +commit 40d703a00514898a68d7772ca89f1242b0832458 +Author: Emmanuele Bassi +Date: Wed Nov 2 12:41:42 2011 +0000 + + backend: Move deprecated symbols to a separate header + + clutter/Makefile.am | 1 + + clutter/clutter-backend.h | 27 ------------------- + clutter/clutter-deprecated.h | 2 ++ + clutter/deprecated/clutter-backend-deprecated.h | 36 +++++++++++++++++++++++++ + 4 files changed, 39 insertions(+), 27 deletions(-) + +commit a39be454cf6befb1a26fe368f4924b4ddb89a178 +Author: Emmanuele Bassi +Date: Wed Nov 2 12:32:09 2011 +0000 + + main: Move deprecated symbols to a separate header + + The number of deprecations in clutter-main.h makes the header harder to + parse, and more confusing. We can use a separate header under the + deprecated subdirectory to hold all the deprecated symbols. + + clutter/Makefile.am | 1 + + clutter/clutter-main.h | 169 +++++++++------------------ + clutter/deprecated/clutter-main-deprecated.h | 52 +++++++++ + 3 files changed, 109 insertions(+), 113 deletions(-) + +commit 6e28121ff3944ccded33a7a9900e1bb04f4a4516 +Author: Robert Bragg +Date: Tue Nov 1 15:47:43 2011 +0000 + + cogl: include for xlib specific symbols + + Since Xlib.h is such a terrible citizen when it comes to symbol + namespacing it's not desirable to include Xlib.h if it is not absolutely + required. Cogl now has a standalone cogl-xlib.h that should be included + whenever any xlib specific symbols are required. + + This patch updates clutter to include wherever + clutter needs to use xlib specific cogl apis. + + Acked-by: Emmanuele Bassi + + clutter/cogl/clutter-backend-cogl.c | 2 ++ + clutter/x11/clutter-backend-x11.c | 1 + + 2 files changed, 3 insertions(+) + +commit 0bfda786153947e0acc232b7b83b97db399f4591 +Author: Emmanuele Bassi +Date: Mon Oct 31 10:39:46 2011 +0000 + + profile: Disable deprecation warnings + + We use an atexit() handler to print out the profile report coming from + Uprof. The g_atexit() call has been deprecated by GLib, but since this + use case is pretty specific and it's not meant to be turned on by + default (or distributed) then we can safely disable the deprecation + warnings inside clutter-profile.c. + + clutter/clutter-profile.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 09de87b0e540bfb6c0fc12e34625388bcc12fdc9 +Author: Emmanuele Bassi +Date: Mon Oct 24 12:07:30 2011 +0100 + + backend: Remove atexit handlers + + The g_atexit() function has been deprecated in GLib as it is a fairly + bad idea in basically all cases. + + We could probably use a GCC destructor if we didn't care about + portability, but for the time being we just remove the atexit() handler + that disposed the backend. + + clutter/cogl/clutter-backend-cogl.c | 9 --------- + clutter/wayland/clutter-backend-wayland.c | 9 --------- + 2 files changed, 18 deletions(-) + +commit d97a8c431b0a937e42490bc7f29a9282514686a4 +Author: Emmanuele Bassi +Date: Mon Oct 24 11:58:23 2011 +0100 + + cairo-texture: Drop the half pixel rounding + + Calling ceilf() should be enough. + + https://bugzilla.gnome.org/show_bug.cgi?id=661887 + + clutter/clutter-cairo-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 41d04f3611d4e94f839def532e358ed9a70978f6 +Author: Alexander Shopov +Date: Sun Oct 30 17:04:55 2011 +0200 + + Updated Bulgarian translation + + po/bg.po | 2227 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2227 insertions(+) + +commit 0406e235bf2f1d26b0f0cca19905a1ecc7e3828b +Merge: 7c6038d77 81a82867e +Author: Chun-wei Fan +Date: Wed Oct 26 12:55:05 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 81a82867e1cbd0b7a4da0ae518b9b1719974ad60 +Author: Emmanuele Bassi +Date: Tue Oct 25 11:30:46 2011 +0100 + + docs: Clarify CLUTTER_ACTOR_IS_MAPPED + + There are a couple of gotchas in the 'mapped' flag that are not properly + documented, or are documented only in the actor_invariants.txt file; we + should have a proper description in the API reference as well, to avoid + confusion. + + clutter/clutter-actor.c | 23 ++++++++++++++++------- + 1 file changed, 16 insertions(+), 7 deletions(-) + +commit 8c196c94035e0a311512cf7aa448b1df2d75afff +Author: Chun-wei Fan +Date: Tue Oct 25 00:13:53 2011 +0800 + + Bug 662071-[Win32]-Don't init the Big Clutter Lock + + Since the Windows GUI system is assuming multithreadedness, initializing + locks after entering the GUI portion on Windows is likely to cause + problems[1][2], which results many Clutter programs to crash due to + releasing resources that they did not own. + + [1]: Multi-threaded use of GTK+ on Win32 in README.win32 of GTK+ + source package + [2]: Explanation of Windows GUI system regarding its multithreadness + assumptions- + http://mail.gnome.org/archives/gtk-list/2011-June/msg00005.html + + clutter/clutter-main.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 7c6038d77b0d0b3323867f8a881d72ca37bb8b7c +Author: Chun-wei Fan +Date: Tue Oct 25 00:13:53 2011 +0800 + + Bug 662071-[Win32]-Don't init the Big Clutter Lock + + Since the Windows GUI system is assuming multithreadedness, initializing + locks after entering the GUI portion on Windows is likely to cause + problems[1][2], which results many Clutter programs to crash due to + releasing resources that they did not own. + + [1]: Multi-threaded use of GTK+ on Win32 in README.win32 of GTK+ + source package + [2]: Explanation of Windows GUI system regarding its multithreadness + assumptions- + http://mail.gnome.org/archives/gtk-list/2011-June/msg00005.html + + clutter/clutter-main.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 0f9eded1c33c5c41157989f092bb6a47b535ea97 +Author: Chun-wei Fan +Date: Tue Oct 25 00:01:24 2011 +0800 + + Revert "Don't init the Big Clutter Lock on Win32" + + This reverts commit f6acae9f3d92a324c80ec07a94515e13692a2843. + + clutter/clutter-main.c | 2 -- + 1 file changed, 2 deletions(-) + +commit f6acae9f3d92a324c80ec07a94515e13692a2843 +Author: Chun-wei Fan +Date: Mon Oct 24 17:17:39 2011 +0800 + + Don't init the Big Clutter Lock on Win32 + + Since the Windows GUI system is assuming multithreadedness, initializing + locks after entering the GUI portion on Windows is likely to cause + problems[1][2], which results many Clutter programs to crash due to + releasing resources that they did not own. + + [1]: Multi-threaded use of GTK+ on Win32 in README.win32 of GTK+ source package + [2]: Explanation of Windows GUI system regarding its multithreadness + assumtopns-http://lists-archives.org/gtk/12724-compiling-a-gtk-application-on-windows.html + + clutter/clutter-main.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 1c648dc7dad72b7943bc62fd00743bd6f5218cbb +Author: Jorge González +Date: Sat Oct 22 17:53:30 2011 +0200 + + Updated Spanish translation + + po/es.po | 526 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 264 insertions(+), 262 deletions(-) + +commit 8af0054f24aba9636bfee871df1228968dd533b3 +Author: Yaron Shahrabani +Date: Sat Oct 22 15:50:50 2011 +0200 + + Updated Hebrew translation (Initialized PO file). + + po/he.po | 2213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2213 insertions(+) + +commit 5540e6bd9c50b7b14d5757f1af0ae024b136667a +Author: Emmanuele Bassi +Date: Fri Oct 21 21:19:27 2011 +0100 + + docs: Document the behaviour in case of init failure + + Or, better, the fact that the behaviour of any Clutter function will be + undefined in case the initialization fails. + + The value returned by clutter_init() and friends has to be handled + properly. + + clutter/clutter-main.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 5f84c197b4e370ce80aef6ddda5c67d9031f4f6d +Author: Matej Urbančič +Date: Fri Oct 21 21:20:00 2011 +0200 + + Updated Slovenian translation + + po/sl.po | 716 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 367 insertions(+), 349 deletions(-) + +commit 0bc1ac2312c54e2a7fa38847500e5243b302a33d +Author: Chun-wei Fan +Date: Fri Oct 21 17:53:54 2011 +0800 + + Update VS property sheets + + Stop the use of CLUTTER_DISABLE_DEPRECATED and COGL_DISABLE_DEPRECATED, as + now compiler warnings are used instead when deprecated items are used. + + build/win32/vs10/clutter.props | 2 +- + build/win32/vs9/clutter.vsprops | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit fedca055e98901c88320c72813a4d15a4c91681e +Author: Chun-wei Fan +Date: Fri Oct 21 17:44:27 2011 +0800 + + Revert "Revert "Deprecate clutter_threads_init()"" + + This reverts commit 5419c11c99f721f2f9bf520c0444c053a88b3725. + + This is another part to attempt to investigate on error 0xC0000264 + on Windows + + clutter/clutter-main.c | 31 +++++++------------------------ + clutter/clutter-main.h | 4 ++++ + tests/interactive/test-texture-async.c | 4 ++-- + tests/interactive/test-texture-material.c | 2 -- + tests/interactive/test-threads.c | 2 -- + 5 files changed, 13 insertions(+), 30 deletions(-) + +commit e0ad11a1935ec68464c41036e6902081627452f3 +Author: Chun-wei Fan +Date: Fri Oct 21 17:43:21 2011 +0800 + + Revert "clutter-main.c: Fix multiple declarations" + + This reverts commit 3d74552684a6eb49bc67845bfb3839896395e66a. + + This is a part to attempt to further investigate about the 0xC0000264 error + on Windows + + clutter/clutter-main.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit 098a83af9ed8adef2b4aa048a756b8c9ce0b8ed3 +Author: Chun-wei Fan +Date: Thu Oct 20 17:26:55 2011 +0800 + + test-[interactive/conformance].bat: Update .exe name + + tests/conform/Makefile.am | 4 ++-- + tests/interactive/Makefile.am | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit a36ab5787b4f2afa3935b3a2ab9e8308b19ad141 +Author: Chun-wei Fan +Date: Thu Oct 20 16:35:38 2011 +0800 + + Rename conform/interactive tests VS projects + + Add a -clutter suffix for their project names to avoid clashes with the + COGL test executables + + build/win32/vs10/Makefile.am | 16 ++++++++-------- + build/win32/vs10/clutter.sln | 4 ++-- + build/win32/vs10/install.vcxproj | 4 ++-- + ...in => test-conformance-clutter.vcxproj.filtersin} | 0 + ....vcxprojin => test-conformance-clutter.vcxprojin} | 2 +- + ...in => test-interactive-clutter.vcxproj.filtersin} | 0 + ....vcxprojin => test-interactive-clutter.vcxprojin} | 2 +- + build/win32/vs9/Makefile.am | 8 ++++---- + build/win32/vs9/clutter.sln | 4 ++-- + ...ce.vcprojin => test-conformance-clutter.vcprojin} | 4 ++-- + ...ve.vcprojin => test-interactive-clutter.vcprojin} | 4 ++-- + tests/conform/Makefile.am | 20 ++++++++++---------- + tests/interactive/Makefile.am | 20 ++++++++++---------- + 13 files changed, 44 insertions(+), 44 deletions(-) + +commit 3d74552684a6eb49bc67845bfb3839896395e66a +Author: Chun-wei Fan +Date: Thu Oct 20 15:42:55 2011 +0800 + + clutter-main.c: Fix multiple declarations + + clutter_threads_impl_lock/clutter_threads_impl_unlock was accidently + defined 2 times during the revert-fix that. + + clutter/clutter-main.c | 12 ------------ + 1 file changed, 12 deletions(-) + +commit d6af2e54c805e88d2d6c65fca63d179ff208891b +Merge: 5419c11c9 53a1d0317 +Author: Chun-wei Fan +Date: Thu Oct 20 15:41:46 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 5419c11c99f721f2f9bf520c0444c053a88b3725 +Author: Chun-wei Fan +Date: Thu Oct 20 15:17:25 2011 +0800 + + Revert "Deprecate clutter_threads_init()" + + This reverts commit 7e3a75c66bbca1e278b15c797cfc6acbcbd6c7c7. + + Conflicts: + + clutter/clutter-main.c + clutter/clutter-main.h + + clutter/clutter-main.c | 31 ++++++++++++++++++++++++------- + clutter/clutter-main.h | 4 ---- + tests/interactive/test-texture-async.c | 4 ++-- + tests/interactive/test-texture-material.c | 2 ++ + tests/interactive/test-threads.c | 2 ++ + 5 files changed, 30 insertions(+), 13 deletions(-) + +commit 53a1d03179e471486a2a1d4c68fb1afbcd0a68e0 +Author: Kjartan Maraas +Date: Wed Oct 19 23:18:16 2011 +0200 + + Updated Norwegian bokmål translation + + po/nb.po | 1200 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 616 insertions(+), 584 deletions(-) + +commit f1d86071c3310b430b85ee4bab4a8bc8a9460da3 +Author: Emmanuele Bassi +Date: Wed Oct 19 15:32:41 2011 +0100 + + build: Remove the GLES configuration option + + The selector for GLES 1.1 or 2.0 is all in Cogl, now. + + configure.ac | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +commit 14b3ec84852899ff9c351113a293d92e889016d9 +Author: Robert Bragg +Date: Thu Aug 4 16:09:00 2011 +0100 + + build: remove the experimental_image var from configure + + Since the image backend is something now dealt with by Cogl there is no + need to check the experimental status of the backend in the Clutter + configure script. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + configure.ac | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit 63cc5ab698e8d1a31015a73a2d0e69c8cb59b2ed +Author: Robert Bragg +Date: Tue Oct 18 10:06:06 2011 +0100 + + blur: don't accumulate texture padding twice + + This removes the create_texture implementation for ClutterBlurEffect + because we already account for padding in the get_paint_volume + implementation so we were creating textures larger than necessary. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-blur-effect.c | 12 ------------ + 1 file changed, 12 deletions(-) + +commit 2ba1a198709b0030c465ecfb726483254d54509f +Author: Robert Bragg +Date: Thu Aug 4 16:04:52 2011 +0100 + + build: Don't actually check for glx for glx flavour + + GLX is now totally abstracted by Cogl so the "glx" flavour is actually + only used to determine the soname of clutter now so we don't actually + have to check for the glx header or that libGL provides any GLX symbols. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + configure.ac | 8 -------- + 1 file changed, 8 deletions(-) + +commit a18a8a3ae21a18555cd56654b70c2ab83fac0d35 +Author: Emmanuele Bassi +Date: Wed Oct 19 15:23:55 2011 +0100 + + Avoid the shadowing of 'clone' + + The clone() call can creep into the build environment, so it's a good + thing to avoid using 'clone' as a variable name. + + clutter/clutter-clone.c | 113 +++++++++++++++++++++++++----------------------- + clutter/clutter-clone.h | 4 +- + 2 files changed, 60 insertions(+), 57 deletions(-) + +commit b240b95a97a220f760c06fe09cde3eeb91fed581 +Author: Neil Roberts +Date: Wed Oct 19 13:42:18 2011 +0100 + + tests: Use the portable cogl wrappers for GLSL builtins + + Instead of directly using the GLSL names for the builtins in the + shaders for test-shader and test-pick, this makes it use the Cogl + wrapper names instead. That way it will be portable to GLES2 as well. + + Reviewed-by: Emmanuele Bassi + + tests/conform/test-pick.c | 4 ++-- + tests/interactive/test-shader.c | 3 +-- + 2 files changed, 3 insertions(+), 4 deletions(-) + +commit e33a6219d8e4bf22725c9cf7ca5abee1936bd7fa +Merge: 8b5d255a2 8083dd517 +Author: Chun-wei Fan +Date: Tue Oct 18 15:48:17 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 8083dd51786492237355003278208824cf99edcb +Author: Emmanuele Bassi +Date: Mon Oct 17 11:48:47 2011 +0100 + + docs: Improve documentation of LayoutManager + + Especially with regards to layout properties and their usage inside a + ClutterScript UI definition. + + clutter/clutter-layout-manager.c | 103 ++++++++++++++++++++++++++++----------- + 1 file changed, 74 insertions(+), 29 deletions(-) + +commit 8b5d255a2b75b4a9da3166419489f2eb71c309fa +Author: Chun-wei Fan +Date: Mon Oct 17 18:37:32 2011 +0800 + + Update clutter.symbols + + _clutter_shader_release_all is removed... + + clutter/clutter.symbols | 1 - + 1 file changed, 1 deletion(-) + +commit 3cc62523e6121a8e8316a578246da4db737f4a41 +Author: Emmanuele Bassi +Date: Mon Oct 17 10:25:20 2011 +0100 + + docs: Clean up the 'running Clutter apps' chapter + + doc/reference/clutter/running-clutter.xml | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +commit be4007ef53acce84dbb7b90be7f06eab1b845bc6 +Author: Emmanuele Bassi +Date: Mon Oct 17 10:25:07 2011 +0100 + + Remove mentions of clutter_redraw() + + clutter/clutter-actor.c | 14 ++++++++------ + clutter/clutter-main.c | 2 +- + clutter/clutter-master-clock.c | 4 ++-- + 3 files changed, 11 insertions(+), 9 deletions(-) + +commit 146e15297fab2a087effdd3df1bc0d320f674a5d +Author: Emmanuele Bassi +Date: Mon Oct 17 10:24:25 2011 +0100 + + debug: Clean up debugging notes + + clutter/clutter-backend.c | 6 +++--- + clutter/clutter-bezier.c | 2 +- + clutter/clutter-debug.h | 27 ++++++++++++-------------- + clutter/clutter-main.c | 4 ---- + clutter/deprecated/clutter-behaviour-depth.c | 2 +- + clutter/deprecated/clutter-behaviour-ellipse.c | 2 +- + clutter/deprecated/clutter-behaviour-opacity.c | 2 +- + clutter/deprecated/clutter-behaviour-path.c | 2 +- + clutter/deprecated/clutter-behaviour.c | 12 ++++++------ + clutter/wayland/clutter-backend-wayland.c | 2 +- + clutter/win32/clutter-event-win32.c | 4 ++-- + 11 files changed, 29 insertions(+), 36 deletions(-) + +commit 3a95d81471ccce2717bf03f9cf2851d7737b4dc6 +Author: Chun-wei Fan +Date: Mon Oct 17 15:57:19 2011 +0800 + + Update VS property sheets + + Get rid of G_DISABLE_DEPRECATED-warnings are now used to tell people that + GLib-deprecated items is to be avoided + + build/win32/vs10/clutter.props | 2 +- + build/win32/vs9/clutter.vsprops | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit b1780711f75fe9a36e95cc1d8599508d2d7d3352 +Merge: 0ee89f178 f75dfcfd8 +Author: Chun-wei Fan +Date: Mon Oct 17 15:52:57 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit f75dfcfd8b2e17862614eb6e0722a61c34e0dcde +Author: Emmanuele Bassi +Date: Sat Oct 15 18:35:45 2011 +0100 + + interactive: Use the newly added CLUTTER_ALIGN_BOTH value + + We center a lot of stuff using ClutterAlignConstraints. + + tests/interactive/test-actors.c | 3 +-- + tests/interactive/test-constraints.c | 7 ++----- + tests/interactive/test-scrolling.c | 3 +-- + tests/interactive/test-snap-constraint.c | 3 +-- + tests/interactive/test-state-script.c | 3 +-- + 5 files changed, 6 insertions(+), 13 deletions(-) + +commit 1e51961f7a19c4c2ddca1ad75e6bbae12d51bbbb +Author: Emmanuele Bassi +Date: Sat Oct 15 18:33:49 2011 +0100 + + align-constraint: Add CLUTTER_ALIGN_BOTH + + Just like ClutterBindConstraint has two shorthand enumerations for binding + position and size and avoid using multiple instances, ClutterAlignConstraint + should have a way to align an actor with the same alignment factor on both + axis at the same time; this is especially useful for centering actors. + + clutter/clutter-align-constraint.c | 15 +++++++++++++-- + clutter/clutter-enums.h | 6 ++++-- + 2 files changed, 17 insertions(+), 4 deletions(-) + +commit 30d309c6e3c7fbe41d3038ff03a2460867036364 +Author: Fran Dieguez +Date: Sat Oct 15 15:24:41 2011 +0200 + + Updaged Galician translations + + po/gl.po | 1132 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 584 insertions(+), 548 deletions(-) + +commit 7f3363e1db2ecf11861e386b89b352b512f77983 +Author: Emmanuele Bassi +Date: Fri Oct 14 11:34:38 2011 +0100 + + Tag all deprecated symbols using CLUTTER_DEPRECATED + + This requires some minor surgery in the build to disable the deprecation + warnings in the deprecated classes. + + clutter/clutter-actor.c | 2 + + clutter/clutter-path.c | 62 +++++++++++++++++ + clutter/deprecated/clutter-behaviour-depth.c | 2 + + clutter/deprecated/clutter-behaviour-depth.h | 8 +-- + clutter/deprecated/clutter-behaviour-ellipse.c | 2 + + clutter/deprecated/clutter-behaviour-ellipse.h | 22 ++++-- + clutter/deprecated/clutter-behaviour-opacity.c | 2 + + clutter/deprecated/clutter-behaviour-opacity.h | 7 +- + clutter/deprecated/clutter-behaviour-path.c | 2 + + clutter/deprecated/clutter-behaviour-path.h | 10 +-- + clutter/deprecated/clutter-behaviour-rotate.c | 2 + + clutter/deprecated/clutter-behaviour-rotate.h | 13 ++-- + clutter/deprecated/clutter-behaviour-scale.c | 2 + + clutter/deprecated/clutter-behaviour-scale.h | 8 +-- + clutter/deprecated/clutter-behaviour.c | 96 ++++++++------------------ + clutter/deprecated/clutter-behaviour.h | 14 ++-- + clutter/deprecated/clutter-fixed.c | 2 + + clutter/deprecated/clutter-fixed.h | 10 ++- + clutter/deprecated/clutter-frame-source.c | 2 + + clutter/deprecated/clutter-frame-source.h | 8 +-- + clutter/deprecated/clutter-score.c | 2 + + clutter/deprecated/clutter-score.h | 18 +++-- + clutter/deprecated/clutter-shader.c | 2 + + clutter/deprecated/clutter-shader.h | 19 +++-- + clutter/deprecated/clutter-timeout-interval.c | 2 + + clutter/deprecated/clutter-timeout-pool.c | 2 + + clutter/deprecated/clutter-timeout-pool.h | 10 +-- + 27 files changed, 209 insertions(+), 122 deletions(-) + +commit d93e6ef6b9b259f4561dc1517246d0da89e134e1 +Author: Emmanuele Bassi +Date: Fri Oct 14 11:34:26 2011 +0100 + + Bump up the dependency on gtk-doc + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a05eb9177dc85efba81b0f370c0d4a8a212fa96c +Author: Emmanuele Bassi +Date: Wed Oct 12 18:04:23 2011 +0100 + + build: Strip out G_DISABLE_DEPRECATED + + We have compiler warnings, now. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 96cb1d7128ef5d92ac89ecde84cbdedda94ba261 +Author: Emmanuele Bassi +Date: Thu Oct 13 17:50:25 2011 +0100 + + Disable deprecation warnings for the test suite + + We test deprecated functionality as well as current one, so we need to + enable all symbols and disable the deprecation warnings. + + tests/conform/Makefile.am | 4 ++-- + tests/conform/test-clutter-cairo-texture.c | 2 -- + tests/conform/test-texture-fbo.c | 2 -- + tests/interactive/Makefile.am | 4 ++-- + tests/interactive/test-cairo-flowers.c | 3 --- + tests/interactive/test-fbo.c | 2 -- + tests/interactive/test-shader.c | 4 ---- + 7 files changed, 4 insertions(+), 17 deletions(-) + +commit a063f0961129d9e40b3e73ecf30b9976240a09fc +Author: Emmanuele Bassi +Date: Thu Oct 13 11:38:27 2011 +0100 + + debug: Move paint-deform-tiles to CLUTTER_PAINT + + The CLUTTER_DEBUG class of debugging flags is meant for debugging notes, + while the CLUTTER_PAINT debugging flags are for changing the output of + the paint cycle. Painting the DeformEffect tiles should go in the latter. + + clutter/clutter-debug.h | 6 +++--- + clutter/clutter-deform-effect.c | 2 +- + clutter/clutter-main.c | 6 +++--- + 3 files changed, 7 insertions(+), 7 deletions(-) + +commit ef1a3a5477706126334aa9bd51b5db2f2d9f7abe +Author: Emmanuele Bassi +Date: Thu Oct 13 10:42:30 2011 +0100 + + docs: Include test-threads.c in the API reference + + We can use the test-threads.c interactive test as part of the documentation + on how to use threads with Clutter. + + clutter/clutter-main.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit c58baf42ca38ca1aa059640b2b5348ea816a5d9a +Author: Emmanuele Bassi +Date: Thu Oct 13 10:38:36 2011 +0100 + + interactive/threads: Clean up + + Add some comments explaining why we use idle handlers to update the UI, + and update to the newest API in GLib master. + + tests/interactive/test-threads.c | 44 +++++++++++++++++++++++++++++----------- + 1 file changed, 32 insertions(+), 12 deletions(-) + +commit e389240b2300d213ae6f7c2a3d9e1cab7706f705 +Author: Piotr Drąg +Date: Wed Oct 12 20:33:16 2011 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit e0283993f4eed80518398dea952bde542615ba56 +Author: Emmanuele Bassi +Date: Wed Oct 12 16:17:39 2011 +0100 + + Avoid using deprecated API internally + + Use the proper API to implement deprecated functions. + + clutter/clutter-actor.c | 38 +++++++++++++++++++++++--------------- + clutter/clutter-main.c | 48 +++++++++++++++++++++++++++++++++++++----------- + 2 files changed, 60 insertions(+), 26 deletions(-) + +commit 72da6f808e8a5c0339a3d8e6dd6c93ad01f7c90f +Author: Emmanuele Bassi +Date: Wed Oct 12 12:36:41 2011 +0100 + + texture: Disable deprecation warnings + + Sadly, ClutterTexture is still using internally deprecated API, like + clutter_actor_get_shader(). + + clutter/clutter-texture.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 0ee89f1788efaef7d948aa03e0004780a310bd90 +Author: Chun-wei Fan +Date: Wed Oct 12 17:50:32 2011 +0800 + + clutter-backend-win32.c: Include clutter-shader.h + + This is needed for _clutter_shader_release_all to avoid C4013 + errors/warnings (a.k.a implicit declaration of ...) + + clutter/win32/clutter-backend-win32.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 53d9e88135746350f3e329bbc9f5d478893f99c2 +Author: Emmanuele Bassi +Date: Wed Oct 12 10:36:17 2011 +0100 + + Remove _clutter_shader_release_all() + + This function is called when the backend is being disposed - as a way + of releasing all ClutterShader. This doesn't take into account three + things: + + - ClutterShader is deprecated + - the Backend is *never* disposed + - once the process terminates, all its resources are automatically + released by the OS + + So the _clutter_shader_release_all() function is a pointless exercise + in futility. + + clutter/deprecated/clutter-shader.c | 14 -------------- + clutter/deprecated/clutter-shader.h | 3 --- + clutter/osx/clutter-backend-osx.c | 2 -- + clutter/win32/clutter-backend-win32.c | 3 --- + 4 files changed, 22 deletions(-) + +commit a2bd2afb9366be0ba5fa206fc600a3ba53921379 +Author: Chun-wei Fan +Date: Wed Oct 12 17:33:33 2011 +0800 + + clutter/Makefile.am + + The previous update on clutter-timeout-interval.[ch] is wrong, so correct + that and add $(deprecated_c_priv) to the VS sources list. Sorry. + + clutter/Makefile.am | 8 +++----- + 1 file changed, 3 insertions(+), 5 deletions(-) + +commit 15cafc4c77ac471e10b81e7724073fecc1be3a10 +Author: Chun-wei Fan +Date: Wed Oct 12 17:30:08 2011 +0800 + + clutter/Makefile.am: Update formatting from last commit + + clutter/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 830d6887cd04de676f2af31024be78965978836f +Author: Chun-wei Fan +Date: Wed Oct 12 17:26:31 2011 +0800 + + clutter/Makefile.am: Made up for missed sources + + The clutter/deprecated/clutter-timeout-interval.c is missed from the + deprecated_c sources list... + + clutter/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit e0de326b2a415edb165e020d8313c98dff3235f3 +Author: Chun-wei Fan +Date: Wed Oct 12 17:25:37 2011 +0800 + + clutter/clutter-keysyms-table.c: Fix function name + + The function name is clutter_unicode_to_keysym, not + clutter_unicode_to_keyval + + clutter/clutter-keysyms-table.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cb98da4a9d0d89b4f4c6569c7e3e481902701efb +Author: Chun-wei Fan +Date: Wed Oct 12 17:24:36 2011 +0800 + + Update clutter.symbols + + clutter/clutter.symbols | 1 - + 1 file changed, 1 deletion(-) + +commit 762a4350d1c5f8e0b3ef14429f1228d6e7b105ed +Author: Chun-wei Fan +Date: Wed Oct 12 17:02:08 2011 +0800 + + Update VS support + + -clutter/Makefile.am: Include the deprecated sources as well + -clutter.vc(x)projin: Add clutter/deprecated into the "Additional Include + Directories" + + build/win32/vs10/clutter.vcxprojin | 8 ++++---- + build/win32/vs9/clutter.vcprojin | 8 ++++---- + clutter/Makefile.am | 6 +++--- + 3 files changed, 11 insertions(+), 11 deletions(-) + +commit 9901a06a1fb0499feb4a4e6efb3868f2a155f753 +Author: Emmanuele Bassi +Date: Wed Oct 12 09:57:53 2011 +0100 + + tests: Fix some compiler warnings + + tests/interactive/test-main.c | 2 +- + tests/interactive/test-threads.c | 7 ++++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + +commit 9e61cfcf38be9580341af1edf6269000205209e8 +Author: Emmanuele Bassi +Date: Wed Oct 12 09:57:33 2011 +0100 + + tests: Disable deprecation warnings + + tests/conform/test-clutter-cairo-texture.c | 1 + + tests/conform/test-texture-fbo.c | 2 +- + tests/interactive/test-cairo-flowers.c | 1 + + tests/interactive/test-fbo.c | 2 +- + tests/interactive/test-shader.c | 2 +- + 5 files changed, 5 insertions(+), 3 deletions(-) + +commit f2dc315b3b2b3ecbde99e69698dada5b95ae3a01 +Author: Chun-wei Fan +Date: Wed Oct 12 16:55:39 2011 +0800 + + Fix VS 2008 property sheet + + There was a quote escape problem... fix that. DOH! + + build/win32/vs9/clutter.vsprops | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 97d51f201b61fdeacbf59c585f14e0128e37c6bc +Author: Chun-wei Fan +Date: Wed Oct 12 16:51:58 2011 +0800 + + po/POTFILE.in: Reflect on the shift of sources + + Several source files have been moved to clutter/deprecated, so reflect them + in the po/POTFILE.in file. + + po/POTFILES.in | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit cbcd79d3946d6aab11e408aab55f6fd4253ae6bb +Author: Chun-wei Fan +Date: Wed Oct 12 16:25:28 2011 +0800 + + Update VS property sheets + + For the following: + -Move of headers to $(srcroot)/clutter/deprecated, commits: + 50cda9fe + 4b748f43 + 4b33a9c5 + e57f8c26 + bcd7845d + 62d72b86 + a21f1d15 + + -Addition of clutter/clutter-enums.h, in commit d28e04be. + -Addition of config file usage, in commit f5eee5ae + + build/win32/vs10/clutter.props | 59 ++++++++++++++++++++++------------------- + build/win32/vs9/clutter.vsprops | 33 ++++++++++++----------- + 2 files changed, 50 insertions(+), 42 deletions(-) + +commit 72bedbc4e98423b3d986c1559e52a8a914702c27 +Author: Chun-wei Fan +Date: Wed Oct 12 16:17:27 2011 +0800 + + Update clutter.symbols + + For deprecation of APIs, in commits + 522b8be3 (clutter_get_input_device_for_id()) + 6ef09dd1 (clutter_clear_glyph_cache()) + 01080dc5 (clutter_[sg]et_font_flags()) + + clutter/clutter.symbols | 10 ---------- + 1 file changed, 10 deletions(-) + +commit bd991e625b09bc8c238432511fa4d957be7ded1e +Merge: 9aabf1bca 29a16980f +Author: Chun-wei Fan +Date: Wed Oct 12 14:37:19 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 9aabf1bca1a19e003a9d9bceb6869c4671900334 +Author: Chun-wei Fan +Date: Wed Oct 12 14:34:49 2011 +0800 + + Update VS property sheets + + Update to use COGL-1.0, not COGL-2.0. + + build/win32/vs10/clutter.props | 4 ++-- + build/win32/vs9/clutter.vsprops | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 29a16980fe69212149673725edf23b45947235bf +Author: Emmanuele Bassi +Date: Wed Oct 12 00:20:43 2011 +0100 + + interactive/threads: Use G_PRIVATE_INIT + + Though strictly not necessary, we should be using the proper init macro + for GPrivate. + + tests/interactive/test-threads.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 193b345786f2ae3c2a518f3ca9dac719386992a4 +Author: Emmanuele Bassi +Date: Tue Oct 11 23:42:23 2011 +0100 + + Remove some compiler warnings + + Some issues found using clang as the compiler. + + clutter/clutter-main.c | 2 +- + clutter/clutter-model.c | 12 ++++++------ + clutter/clutter-script-parser.c | 2 +- + clutter/osx/clutter-event-loop-osx.c | 4 ++-- + clutter/osx/clutter-stage-osx.c | 2 +- + 5 files changed, 11 insertions(+), 11 deletions(-) + +commit 2ede853ea3bf2b2576a7ddfffc29af37c695d611 +Author: Emmanuele Bassi +Date: Tue Oct 11 23:11:56 2011 +0100 + + Fix included header + + clutter/clutter-util.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ef0e52f0e184f42eaf66116b371eb2013f39328c +Author: Emmanuele Bassi +Date: Tue Oct 11 23:06:06 2011 +0100 + + build: Disable deprecation warnings with --enable-deprecated + + Just like we turn everything on with --disable-deprecated, we have to + turn everything off with --enable-deprecated. This means disabling the + deprecation warnings from the compiler as well. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit af7afc29a716a813197d024a973a2d6db80d6758 +Author: Emmanuele Bassi +Date: Tue Oct 11 23:03:09 2011 +0100 + + Add a Clutter-specific deprecation macro for symbols + + Just like GLIB_DEPRECATED and GLIB_DEPRECATED_FOR, Clutter should have + its own wrappers for G_DEPRECATED and G_DEPRECATED_FOR, to allow opting + out of deprecation warnings. + + Deprecation warnings are enabled by default, now, even when building + Clutter. + + clutter/clutter-actor.h | 11 +++++++++++ + clutter/clutter-animatable.h | 1 + + clutter/clutter-backend.h | 13 +++++++++++++ + clutter/clutter-cairo-texture.h | 3 +++ + clutter/clutter-main.h | 21 ++++++++++++++++++--- + clutter/clutter-texture.h | 1 + + clutter/clutter-types.h | 14 ++++++++++++++ + clutter/clutter-util.h | 3 ++- + clutter/cogl/clutter-egl.h | 2 ++ + clutter/x11/clutter-x11.h | 6 ++++-- + 10 files changed, 69 insertions(+), 6 deletions(-) + +commit b34e89e0c5b192adf1b12841d80cfec89c836c01 +Author: Emmanuele Bassi +Date: Tue Oct 11 23:02:17 2011 +0100 + + Fix duplicate typedef of ClutterAlpha + + Caught on OS X but not on my Fedora machine. Weird. + + clutter/clutter-alpha.h | 1 - + 1 file changed, 1 deletion(-) + +commit 7bd5659962c34b54631074212f4746394a076564 +Author: Emmanuele Bassi +Date: Tue Oct 11 22:43:54 2011 +0100 + + Do not leak strings from GKeyFile + + The string getters always copy, so we need to free the returned + values. + + clutter/clutter-main.c | 12 ++++++++++-- + clutter/clutter-settings.c | 4 ++-- + 2 files changed, 12 insertions(+), 4 deletions(-) + +commit 31bee53eb769b4d72b39c0994adf1ddf345de209 +Author: Emmanuele Bassi +Date: Tue Oct 11 18:25:14 2011 +0100 + + docs: Fixes to build the API reference + + doc/reference/clutter/clutter-sections.txt | 9 +++++++++ + doc/reference/clutter/running-clutter.xml | 20 ++++++++++---------- + 2 files changed, 19 insertions(+), 10 deletions(-) + +commit 809298b5a2ab77ac2e24e91759eec2af6f43bffd +Author: Emmanuele Bassi +Date: Tue Oct 4 14:21:32 2011 +0100 + + Move more typedefs into clutter-types.h + + clutter/clutter-animatable.h | 1 - + clutter/clutter-script.h | 1 - + clutter/clutter-state.h | 2 -- + clutter/clutter-timeline.h | 1 - + clutter/clutter-types.h | 12 +++++++----- + 5 files changed, 7 insertions(+), 10 deletions(-) + +commit d28e04be72d0a8c4408e07f468698d61ef312091 +Author: Emmanuele Bassi +Date: Tue Oct 4 13:28:04 2011 +0100 + + Move all enumerations to a separate file + + This should allow sharing types, and we can avoid glib-mkenums thrawling + the whole repository for enumerations. + + clutter/Makefile.am | 1 + + clutter/clutter-actor.h | 60 -- + clutter/clutter-align-constraint.h | 15 - + clutter/clutter-animator.h | 14 - + clutter/clutter-bin-layout.h | 25 - + clutter/clutter-bind-constraint.h | 24 - + clutter/clutter-box-layout.h | 18 - + clutter/clutter-click-action.h | 17 - + clutter/clutter-color.h | 105 ---- + clutter/clutter-drag-action.h | 18 - + clutter/clutter-effect.h | 13 - + clutter/clutter-enums.h | 1059 ++++++++++++++++++++++++++++++++++++ + clutter/clutter-event.h | 87 +-- + clutter/clutter-feature.h | 36 +- + clutter/clutter-flow-layout.h | 17 - + clutter/clutter-input-device.h | 78 --- + clutter/clutter-path.h | 33 -- + clutter/clutter-snap-constraint.h | 18 - + clutter/clutter-stage.h | 16 - + clutter/clutter-swipe-action.h | 18 - + clutter/clutter-table-layout.h | 19 - + clutter/clutter-texture.h | 40 -- + clutter/clutter-timeline.h | 16 +- + clutter/clutter-types.h | 330 +---------- + clutter/clutter-units.h | 46 +- + clutter/clutter.h | 3 +- + 26 files changed, 1078 insertions(+), 1048 deletions(-) + +commit a21f1d158063edd7dc1d37b418b690adef07aa8f +Author: Emmanuele Bassi +Date: Tue Oct 4 12:18:26 2011 +0100 + + Move clutter-fixed.[ch] to the deprecated section + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter-timeline.h | 1 - + clutter/{ => deprecated}/clutter-fixed.c | 0 + clutter/{ => deprecated}/clutter-fixed.h | 0 + 5 files changed, 3 insertions(+), 3 deletions(-) + +commit 62d72b8690f76cba6fba9f816f163f9f12f5aa08 +Author: Emmanuele Bassi +Date: Tue Oct 4 11:58:44 2011 +0100 + + Move ClutterBehaviour to the deprecated section + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-behaviour.c | 0 + clutter/{ => deprecated}/clutter-behaviour.h | 0 + 5 files changed, 3 insertions(+), 3 deletions(-) + +commit e2682012219c5af174489baa4759ac2b6e021dee +Author: Emmanuele Bassi +Date: Tue Oct 4 11:52:47 2011 +0100 + + Minor header surgery to ClutterBehaviour + + This moves a couple of definitions to the common types header, and makes + sure that ClutterBehaviour subclasses include clutter-behaviour.h first, + so that their types can be fully expanded without necessarily have the + ClutterBehaviour header header included by their public headers. This is + the necessary prelude to have clutter-behaviour.[ch] moved to the + deprecated section. + + clutter/clutter-behaviour.h | 3 --- + clutter/clutter-path.h | 4 +--- + clutter/clutter-types.h | 12 ++++++++---- + clutter/deprecated/clutter-behaviour-depth.c | 2 +- + clutter/deprecated/clutter-behaviour-depth.h | 3 +-- + clutter/deprecated/clutter-behaviour-ellipse.c | 2 +- + clutter/deprecated/clutter-behaviour-ellipse.h | 3 --- + clutter/deprecated/clutter-behaviour-opacity.c | 2 +- + clutter/deprecated/clutter-behaviour-opacity.h | 3 +-- + clutter/deprecated/clutter-behaviour-path.c | 2 +- + clutter/deprecated/clutter-behaviour-path.h | 3 +-- + clutter/deprecated/clutter-behaviour-rotate.c | 4 ++-- + clutter/deprecated/clutter-behaviour-rotate.h | 2 -- + clutter/deprecated/clutter-behaviour-scale.c | 2 +- + clutter/deprecated/clutter-behaviour-scale.h | 2 +- + 15 files changed, 20 insertions(+), 29 deletions(-) + +commit bcd7845d91338861d5fd79eb80532027a8d21b24 +Author: Emmanuele Bassi +Date: Tue Oct 4 11:32:36 2011 +0100 + + Move ClutterBehaviour subclasses to the deprecated section + + Moving ClutterBehaviour itself will require some minor header surgery, + so we'll do that next. + + clutter/Makefile.am | 40 +++++++++++----------- + clutter/clutter-deprecated.h | 6 ++++ + clutter/clutter.h | 6 ---- + clutter/{ => deprecated}/clutter-behaviour-depth.c | 0 + clutter/{ => deprecated}/clutter-behaviour-depth.h | 0 + .../{ => deprecated}/clutter-behaviour-ellipse.c | 0 + .../{ => deprecated}/clutter-behaviour-ellipse.h | 0 + .../{ => deprecated}/clutter-behaviour-opacity.c | 0 + .../{ => deprecated}/clutter-behaviour-opacity.h | 0 + clutter/{ => deprecated}/clutter-behaviour-path.c | 0 + clutter/{ => deprecated}/clutter-behaviour-path.h | 0 + .../{ => deprecated}/clutter-behaviour-rotate.c | 0 + .../{ => deprecated}/clutter-behaviour-rotate.h | 0 + clutter/{ => deprecated}/clutter-behaviour-scale.c | 0 + clutter/{ => deprecated}/clutter-behaviour-scale.h | 0 + 15 files changed, 26 insertions(+), 26 deletions(-) + +commit 6c100e151376fdbbffbb332edd98bf9768c3a168 +Author: Emmanuele Bassi +Date: Tue Oct 4 11:16:38 2011 +0100 + + docs: Move deprecated classes out of the way + + The deprecated sections should be much more prominently separated from + the current API; we can use a new part inside the main reference index + for this. + + doc/reference/clutter/clutter-docs.xml.in | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +commit e57f8c26f62c50f3b47aae88a2b6a50972a25edc +Author: Emmanuele Bassi +Date: Tue Oct 4 11:12:55 2011 +0100 + + Move ClutterShader to the deprecated section + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-shader.c | 0 + clutter/{ => deprecated}/clutter-shader.h | 0 + 5 files changed, 3 insertions(+), 3 deletions(-) + +commit 4b33a9c5f4cdf26492d24b7e989ba8bba022edef +Author: Emmanuele Bassi +Date: Tue Oct 4 11:07:03 2011 +0100 + + Move ClutterScore to the deprecated section + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 7 ++++--- + clutter/{ => deprecated}/clutter-score.c | 0 + clutter/{ => deprecated}/clutter-score.h | 0 + 5 files changed, 7 insertions(+), 5 deletions(-) + +commit 4b748f433419462bd3daba18191f2fc173224a76 +Author: Emmanuele Bassi +Date: Tue Oct 4 10:57:28 2011 +0100 + + Move timeout pool to the deprecated section + + clutter/Makefile.am | 8 ++++---- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-timeout-interval.c | 0 + clutter/{ => deprecated}/clutter-timeout-interval.h | 0 + clutter/{ => deprecated}/clutter-timeout-pool.c | 0 + clutter/{ => deprecated}/clutter-timeout-pool.h | 0 + 7 files changed, 5 insertions(+), 5 deletions(-) + +commit 50cda9fed1acddef53d29222b22d276b9fa80a48 +Author: Emmanuele Bassi +Date: Tue Oct 4 10:51:09 2011 +0100 + + build: Move deprecated code into its own prefix + + The code that has been deprecated should live into its own directory, + both in the repository and when installed. This should make it clear + which functionality is actually maintained and which is not. + + We start with an oldie: the frame source API. + + clutter/Makefile.am | 41 ++++- + clutter/clutter-deprecated.h | 207 +----------------------- + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-frame-source.c | 0 + clutter/{ => deprecated}/clutter-frame-source.h | 0 + 5 files changed, 41 insertions(+), 208 deletions(-) + +commit 57f54173ecb4b618fb1b48a9c70aa482ce3efe49 +Author: Emmanuele Bassi +Date: Tue Oct 11 17:51:14 2011 +0100 + + interactive/threads: Fix up after deprecations + + The GThread API has undergone a massive restructuring, and the fallout + is still being processed. + + tests/interactive/test-threads.c | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +commit 2d2046f9620a9e6cd0a3a5eb1170073562879ba2 +Author: Emmanuele Bassi +Date: Tue Oct 11 17:08:20 2011 +0100 + + docs: Document the settings.ini file + + Describe the location, groups, and keys of the settings.ini file used by + Clutter. + + doc/reference/clutter/running-clutter.xml | 97 +++++++++++++++++++++++++++++++ + 1 file changed, 97 insertions(+) + +commit 53e201f86531195ee7391e54f50b39dce45bcca1 +Author: Emmanuele Bassi +Date: Tue Oct 11 16:05:24 2011 +0100 + + Show lib and sysconfdir in the configure summary + + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +commit 372b39fd63880955d88fe205b7a23c202938e639 +Author: Emmanuele Bassi +Date: Tue Oct 11 15:28:47 2011 +0100 + + Add more sections to the Clutter configuration file + + On top of the existing "Settings" group in the settings.ini file we + should have two more groups: + + Environment - contains all the configuration possible through + environment variables + Debug - contains all the possible debug variables + + clutter/clutter-main.c | 165 +++++++++++++++++++++++++++++++++++-- + clutter/clutter-settings-private.h | 4 +- + clutter/clutter-settings.c | 28 +------ + 3 files changed, 165 insertions(+), 32 deletions(-) + +commit f5eee5aec7a87a3c8a1f2e658231eca4b04561dd +Author: Emmanuele Bassi +Date: Tue Oct 11 14:42:31 2011 +0100 + + Add a configuration file for ClutterSettings + + ClutterSettings should be able to load its initial state by using + configuration files in SYSCONFDIR and XDG_CONFIG_HOME. This allows + Clutter to have a system (and user) configuration on platforms that + do not have XSETTINGS bridges. + + clutter/Makefile.am | 2 + + clutter/clutter-main.c | 42 ++++++++++ + clutter/clutter-settings-private.h | 16 ++++ + clutter/clutter-settings.c | 164 ++++++++++++++++++++++++++++++++++--- + 4 files changed, 213 insertions(+), 11 deletions(-) + +commit 01080dc5f313fb3d191e78c555c1f04d78aaa83a +Author: Emmanuele Bassi +Date: Mon Oct 3 14:12:48 2011 +0100 + + Deprecate clutter_[sg]et_font_flags() + + We already have two mechanisms for controlling the font rendering + quality on a per-application basis: + + • ClutterSettings properties + • clutter_backend_set_font_options() + + The font flags were always a stop-gap solution, and one that tried to + simplify a fairly complex issue beyond the point of actually being + useful. + + https://bugzilla.gnome.org/show_bug.cgi?id=660786 + + clutter/clutter-main.c | 6 ++++++ + clutter/clutter-main.h | 3 +-- + clutter/clutter-types.h | 2 ++ + 3 files changed, 9 insertions(+), 2 deletions(-) + +commit 6ef09dd15bbe7e4305c683231d6431771bd3cffc +Author: Emmanuele Bassi +Date: Mon Oct 10 17:00:28 2011 +0100 + + Deprecate clutter_clear_glyph_cache() + + This is a wrapper function for API that has long since been public. + + clutter/clutter-main.c | 3 +++ + clutter/clutter-main.h | 3 +++ + 2 files changed, 6 insertions(+) + +commit 522b8be306be2008d4990fcfc6aeee4759e7d00a +Author: Emmanuele Bassi +Date: Mon Oct 10 16:57:18 2011 +0100 + + Deprecate clutter_get_input_device_for_id() + + We have the ClutterDeviceManager methods for that. + + clutter/clutter-main.c | 2 ++ + clutter/clutter-main.h | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +commit b6dd306998e626cbc86051dc1237894d515aa3dd +Author: Emmanuele Bassi +Date: Mon Oct 10 16:45:20 2011 +0100 + + Clean up grab implementation + + The grab API is a relic of Clutter 0.6, and hasn't been through proper + vetting in a *long* time — mostly due to the fact that we don't really + like grabs, and point to the ::captured-event as a way to implement + "soft grabs" in toolkits and applications. + + The implementation of full and device grabs uses weak references on + actors instead of using the ::destroy signal, which is meant exactly for + the case of releasing pointers to actors when they are disposed. + + The API naming scheme is also fairly broken, especially for + device-related grabs. + + Finally, keyboard device grabs are just not implemented. + + We can, in one go, clean up this mess and deprecate a bunch of badly + named API by introducing generic device grab/ungrab methods on + ClutterInputDevice, and re-implement the current API on top of them. + + clutter/clutter-device-manager-private.h | 1 + + clutter/clutter-input-device.h | 5 + + clutter/clutter-main.c | 268 +++++++++++++++++++++++-------- + clutter/clutter-main.h | 10 +- + 4 files changed, 215 insertions(+), 69 deletions(-) + +commit 93f2b3d60dd83f421d4b3c0c11971377cc93b662 +Author: Chun-wei Fan +Date: Tue Oct 11 17:24:58 2011 +0800 + + Update clutter.symbols + + Due to an added API in commits 25b7b30c (clutter_unicode_to_keysym) + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit 1cf712854007d5b376877de31c8a474b10a3bc8a +Merge: a9771b596 58fec63b9 +Author: Chun-wei Fan +Date: Tue Oct 11 17:19:45 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 33846dcf4df7443964150d6afe64a165adecc5e6 +Author: Emmanuele Bassi +Date: Mon Oct 10 15:48:43 2011 +0100 + + Deprecate clutter_redraw() + + It's just a badly named proxy to clutter_stage_ensure_redraw(). + + clutter/clutter-main.c | 4 +++- + clutter/clutter-main.h | 5 ++++- + tests/interactive/test-stage-read-pixels.c | 3 ++- + 3 files changed, 9 insertions(+), 3 deletions(-) + +commit 51ca20e81e372d7621019c457888fae054e03184 +Author: Emmanuele Bassi +Date: Mon Oct 10 15:42:36 2011 +0100 + + Cosmetic fixes + + clutter/clutter-main.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit 58fec63b9273d6daabfd66905f0481adedbe431e +Author: Algimantas Margevičius +Date: Sun Oct 9 00:57:38 2011 +0300 + + Updated Lithuanian translation + + po/lt.po | 1251 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 645 insertions(+), 606 deletions(-) + +commit b5109e852aed1ce96383d25892908c8ec4880561 +Author: Emmanuele Bassi +Date: Fri Oct 7 16:56:21 2011 +0100 + + animation: Use the timeline's new-frame signal + + Instead of using the ClutterAlpha's notify::alpha. This makes the code + less dependent on GObject's property notification. + + clutter/clutter-animation.c | 60 +++++++++++++++++++++++++-------------------- + 1 file changed, 34 insertions(+), 26 deletions(-) + +commit 7e3a75c66bbca1e278b15c797cfc6acbcbd6c7c7 +Author: Emmanuele Bassi +Date: Fri Oct 7 15:53:50 2011 +0100 + + Deprecate clutter_threads_init() + + GLib deprecated g_thread_init(), and threading support is initialized + by GObject, so Clutter already runs with threading support enabled. We + can drop the clutter_threads_init() call requirement, and initialize the + Big Clutter Lock™ on clutter_init(). This reduces the things that have + to be done when dealing with threads with Clutter, and the things that + can possibly go wrong. + + clutter/clutter-main.c | 55 +++++++++++++++++-------------- + clutter/clutter-main.h | 3 ++ + tests/interactive/test-texture-async.c | 4 +-- + tests/interactive/test-texture-material.c | 2 -- + tests/interactive/test-threads.c | 2 -- + 5 files changed, 36 insertions(+), 30 deletions(-) + +commit 32b8217027a1bafa2b9ff1780253b2f849d708ea +Author: Emmanuele Bassi +Date: Fri Oct 7 15:08:27 2011 +0100 + + Use a static mutex for the default Clutter lock + + The Big Clutter Lock™ can now be a static GMutex, since GLib supports + them. We can also drop a bunch of checks given the recent changes in + GLib threading API. + + clutter/clutter-main.c | 20 +++++--------------- + 1 file changed, 5 insertions(+), 15 deletions(-) + +commit 3690ddc4a0a328ca8efd89980c619762548c92aa +Author: Emmanuele Bassi +Date: Fri Oct 7 15:07:26 2011 +0100 + + Drop g_thread_init() + + It's not necessary any more, and it has been deprecated. + + tests/interactive/test-texture-async.c | 1 - + 1 file changed, 1 deletion(-) + +commit 389d24727839b1a3ba0696c63277d0e867dfb73f +Author: Emmanuele Bassi +Date: Fri Oct 7 15:06:37 2011 +0100 + + texture: Drop G_MUTEX_INIT + + The static initializer for GMutex has been removed from GLib. + + The g_thread_supported() call can also be removed: threading is always + enabled in GLib ≥ 2.31. + + clutter/clutter-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 6d974f278e937cce0872567bce672ed515662678 +Author: Marc-André Lureau +Date: Wed Oct 5 22:03:25 2011 +0200 + + Mark clutter_state_set_key() source_state_name as nullable + + https://bugzilla.gnome.org/show_bug.cgi?id=661022 + + clutter/clutter-state.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 25b7b30ccce6b99cba6a7a8e1cad1a4bcb3676d3 +Author: Zan Dobersek +Date: Fri Oct 7 12:05:39 2011 +0100 + + Add clutter_unicode_to_keyval function + + This commit introduces a unicode-to-keyval conversion function that + performs identical action as the gdk version of that function. Also + added is the necessary table holding all the conversion values. + + https://bugzilla.gnome.org/show_bug.cgi?id=661015 + + clutter/clutter-event.h | 1 + + clutter/clutter-keysyms-table.c | 804 ++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 805 insertions(+) + +commit 5dbc00e625c515a6732eaec06ddd6185ad8b5916 +Author: Sunjin Yang +Date: Fri Oct 7 15:21:34 2011 +0900 + + box-layout: Plug memory leaks + + https://bugzilla.gnome.org/show_bug.cgi?id=660985 + + clutter/clutter-box-layout.c | 26 ++++++++++++-------------- + 1 file changed, 12 insertions(+), 14 deletions(-) + +commit c607382de6a278fe2b2d5d5d4d3def0cb2771015 +Author: Daniel Mustieles +Date: Fri Oct 7 10:13:08 2011 +0200 + + Updated Spanish translation + + po/es.po | 1144 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 588 insertions(+), 556 deletions(-) + +commit a9771b596fba7f02fec52dc94d98f40cda4ca9ae +Author: Chun-wei Fan +Date: Thu Oct 6 13:00:26 2011 +0800 + + Update Visual C++ support + + -tests/interactive/Makefile.am, build/win32/Makefile.am: copy the + generated test-unit-names.h to build/win32 so that it can be + distributed in "make dist" (maybe we could dist the generated header + in tests/interactive directly?) + -Update test-interactive Visual C++ projects to include build/win32 in + the list of folders to look for headers + + build/win32/Makefile.am | 2 +- + build/win32/vs10/test-interactive.vcxprojin | 4 ++++ + build/win32/vs9/test-interactive.vcprojin | 4 ++++ + tests/interactive/Makefile.am | 3 +++ + 4 files changed, 12 insertions(+), 1 deletion(-) + +commit d86a6d8df4d1f74405285649615f38923c828e99 +Author: Chun-wei Fan +Date: Thu Oct 6 12:53:41 2011 +0800 + + Update clutter.symbols + + ...Due to the addtion of clutter_actor_has_actions, + clutter_actor_has_contraints and clutter_actor_has_effects APIs + + clutter/clutter.symbols | 3 +++ + 1 file changed, 3 insertions(+) + +commit b55656b6984a6a5f2dd9d12d6adac09efc9b8595 +Merge: f0dfd8ab0 938fcc60f +Author: Chun-wei Fan +Date: Thu Oct 6 12:04:30 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 938fcc60f0365db5dbcc4677ba5e7cefbccf22c8 +Author: Emmanuele Bassi +Date: Tue Oct 4 10:32:27 2011 +0100 + + Deprecate the GParamSpec for CoglFixed + + The fixed-point API is not used anywhere, and it's pretty much useless + to have a fixed-point type for properties. + + clutter/clutter-fixed.c | 8 +++++++- + clutter/clutter-fixed.h | 8 ++++++++ + 2 files changed, 15 insertions(+), 1 deletion(-) + +commit 839b939d36ab5b2c5aec71b325c1ca7b5363b8f1 +Author: Håkon Løvdal +Date: Mon Oct 3 15:56:26 2011 +0100 + + spelling fix: timeour -> timeout + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2d76f295df30c3583f43079216c941087cd5fb61 +Author: Alexandre Franke +Date: Mon Oct 3 15:57:21 2011 +0200 + + Update French translation + + po/fr.po | 184 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 97 insertions(+), 87 deletions(-) + +commit 99f2dbbf5ae33855c37df4372a7402fc048fe394 +Author: Kristjan SCHMIDT +Date: Sat Oct 1 17:24:51 2011 +0200 + + Updated Esperanto translation + + po/eo.po | 1551 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 790 insertions(+), 761 deletions(-) + +commit d331e92742d0af445b9a38fd06bc1bc90646bca4 +Author: Adel Gadllah +Date: Sat Oct 1 12:36:36 2011 +0200 + + clutter-actor-meta: Fix _clutter_meta_group_has_metas_no_internal + + This function is backwards i.e it is supposed to check for metas that + are *not* internal, hence the name. + + https://bugzilla.gnome.org/show_bug.cgi?id=660623 + + clutter/clutter-actor-meta.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 6377d3646b4c034be57c2627dd3c2e432ab80aa0 +Author: Emmanuele Bassi +Date: Fri Sep 30 17:02:57 2011 +0100 + + paint-volume: Don't try to complete a completed volume + + If we do project() → get_bounding_box(), we'll try to complete the + volume twice, which whacks out all the lazily computed vertices. + + Reviewed-by: Robert Bragg + + clutter/clutter-paint-volume.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 3372a0233e574b6d67e9f9d83010c1891c427ad8 +Author: Neil Roberts +Date: Thu Sep 29 20:14:26 2011 +0100 + + Add a conformance test for ClutterShaderEffect + + This adds a simple conformance test which sets up a few shader effects + using both the old style with clutter_shader_effect_set_source and the + new style by overriding get_static_shader_source. The effects are then + verified to confirm that they drew the right pixel colour. + + https://bugzilla.gnome.org/show_bug.cgi?id=660512 + + Reviewed-by: Emmanuele Bassi + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-shader-effect.c | 267 +++++++++++++++++++++++++++++++++++++ + 3 files changed, 269 insertions(+) + +commit 8b995a9457bba3397c54f227b6ed0cef39cf9c73 +Author: Neil Roberts +Date: Thu Sep 29 20:05:39 2011 +0100 + + clutter-shader-effect: Add a get_static_shader_source virtual + + This is used as an alternative to calling + clutter_shader_effect_set_shader_source. A ClutterShaderEffect + subclass is now expected to implement this method to return the source + for the effect that will be used for all instances of this + subclass. It is only called once regardless of the number of instances + created. That way Clutter can avoid recompiling the shader source for + every new instance of the effect. + + https://bugzilla.gnome.org/show_bug.cgi?id=660512 + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-shader-effect.c | 236 +++++++++++++++++++++++++--------------- + clutter/clutter-shader-effect.h | 10 +- + 2 files changed, 156 insertions(+), 90 deletions(-) + +commit e8ec7ebed013895e63c9579d8b7dbd6c63ccec80 +Author: Adel Gadllah +Date: Thu Sep 29 18:34:12 2011 +0200 + + ClutterActor: Add clutter_actor_has_actions + + Adds an efficent way to query whether an actor has any + applied actions. + + https://bugzilla.gnome.org/show_bug.cgi?id=660471 + + clutter/clutter-action.h | 2 ++ + clutter/clutter-actor.c | 19 +++++++++++++++++++ + 2 files changed, 21 insertions(+) + +commit e81800607cdde8522fde33e0df14686e9b972541 +Author: Adel Gadllah +Date: Thu Sep 29 18:29:40 2011 +0200 + + ClutterActor: Add clutter_actor_has_contraints + + Adds an efficent way to query whether an actor has any + applied constraints. + + https://bugzilla.gnome.org/show_bug.cgi?id=660471 + + clutter/clutter-actor.c | 19 +++++++++++++++++++ + clutter/clutter-constraint.h | 2 ++ + 2 files changed, 21 insertions(+) + +commit bed2d9e7876064c70b87fe2f2cd4f5fa65b1082e +Author: Adel Gadllah +Date: Thu Sep 29 15:31:30 2011 +0200 + + ClutterActor: Add clutter_actor_has_effects + + Adds an efficent way to query whether an actor has any + applied effects. + + https://bugzilla.gnome.org/show_bug.cgi?id=660471 + + clutter/clutter-actor-meta-private.h | 2 ++ + clutter/clutter-actor-meta.c | 21 +++++++++++++++++++++ + clutter/clutter-actor.c | 22 ++++++++++++++++++++++ + clutter/clutter-effect.h | 2 ++ + 4 files changed, 47 insertions(+) + +commit e058cd4c5fcb0a37f24749221d5b854f82ef4703 +Author: Emmanuele Bassi +Date: Thu Sep 29 14:01:03 2011 +0100 + + Pass the remaining args to the executed interactive unit + + We only support running one interactive test at a time; everything after + the unit name is to be considered an argument to the actual unit. + + tests/interactive/test-main.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit f0dfd8ab07809ae54667e5dcea581f429d476d2f +Merge: 9e822d9ae 7d515553e +Author: Chun-wei Fan +Date: Thu Sep 29 16:33:02 2011 +0800 + + Merge branch 'master' into msvc-support-master + + Conflicts: + tests/interactive/Makefile.am + +commit 7d515553e662210e8a17c3f6067f681bdbed1bbe +Author: krishnababu k +Date: Thu Sep 29 12:09:11 2011 +0530 + + Updated Telugu Translations + + po/te.po | 83 ++++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 42 insertions(+), 41 deletions(-) + +commit b1fbbe23b43f56da9cbd515e92ef44a8f7b31aa2 +Author: Emmanuele Bassi +Date: Wed Sep 28 15:54:32 2011 +0100 + + Revert "Add lightness, brightness, and contrast effects" + + Discussed a bit with Neil, and I might have jumped the gun a little. + We might want a different API for 1.10. See comment 12 on: + + https://bugzilla.gnome.org/show_bug.cgi?id=656156 + + This reverts commit 4829ae1c79f1ae60d562621b81a7be800e0697bb. + + clutter/Makefile.am | 6 - + clutter/clutter-brightness-effect.c | 380 --------------------------- + clutter/clutter-brightness-effect.h | 63 ----- + clutter/clutter-contrast-effect.c | 395 ----------------------------- + clutter/clutter-contrast-effect.h | 63 ----- + clutter/clutter-invert-lightness-effect.c | 243 ------------------ + clutter/clutter-invert-lightness-effect.h | 57 ----- + doc/reference/clutter/clutter-docs.xml.in | 3 - + doc/reference/clutter/clutter-sections.txt | 47 ---- + doc/reference/clutter/clutter.types | 3 - + 10 files changed, 1260 deletions(-) + +commit 4829ae1c79f1ae60d562621b81a7be800e0697bb +Author: Joseph Scheuhammer +Date: Tue Sep 27 13:01:36 2011 -0400 + + Add lightness, brightness, and contrast effects + + Added three classes for new clutter effects: inverse lightness, + modify brightness, and modify contrast. + + https://bugzilla.gnome.org/show_bug.cgi?id=656156 + + clutter/Makefile.am | 6 + + clutter/clutter-brightness-effect.c | 380 +++++++++++++++++++++++++++ + clutter/clutter-brightness-effect.h | 63 +++++ + clutter/clutter-contrast-effect.c | 395 +++++++++++++++++++++++++++++ + clutter/clutter-contrast-effect.h | 63 +++++ + clutter/clutter-invert-lightness-effect.c | 243 ++++++++++++++++++ + clutter/clutter-invert-lightness-effect.h | 57 +++++ + doc/reference/clutter/clutter-docs.xml.in | 3 + + doc/reference/clutter/clutter-sections.txt | 47 ++++ + doc/reference/clutter/clutter.types | 3 + + 10 files changed, 1260 insertions(+) + +commit ac8e174eca31a28dae4a7aa5b3336b8cf27d6767 +Author: Emmanuele Bassi +Date: Wed Sep 28 13:32:57 2011 +0100 + + tests/interactive: Add some descriptions + + tests/interactive/test-animation.c | 6 ++++++ + tests/interactive/test-cairo-clock.c | 6 ++++++ + tests/interactive/test-constraints.c | 6 ++++++ + tests/interactive/test-drop.c | 6 ++++++ + tests/interactive/test-easing.c | 6 ++++++ + tests/interactive/test-table-layout.c | 6 ++++++ + tests/interactive/test-text-field.c | 11 +++++++++++ + tests/interactive/test-texture-async.c | 6 ++++++ + tests/interactive/test-texture-slicing.c | 6 ++++++ + 9 files changed, 59 insertions(+) + +commit 5fc953cb5eec7960138037f248440778239aef11 +Author: Emmanuele Bassi +Date: Tue Sep 27 17:50:51 2011 +0100 + + test-textures -> test-texture-slicing + + The unit is supposed to be testing the slicing support in CoglTexture. + + tests/interactive/Makefile.am | 2 +- + tests/interactive/{test-textures.c => test-texture-slicing.c} | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) + +commit d640c56cef4738b2c9b75b034b81438390538561 +Author: Emmanuele Bassi +Date: Tue Sep 27 17:40:51 2011 +0100 + + test-interactive: Allow querying the interactive test for a description + + It would be nice if the interactive tests had a way to be queried for a + description, instead of "Just Knowing" what they are meant to be doing. + + tests/interactive/Makefile.am | 25 ++++- + tests/interactive/test-main.c | 210 ++++++++++++++++++++++++++++++++++++++---- + 2 files changed, 211 insertions(+), 24 deletions(-) + +commit 4ebdeede9feed7995335616ae5e9c2cf3af0ec6b +Author: Emmanuele Bassi +Date: Tue Sep 27 16:40:34 2011 +0100 + + test-texture-async: Clean up the test code + + Force threading on, and stop using the default stage and behaviours: + let's try to use modern API. + + tests/interactive/test-texture-async.c | 63 ++++++++++++++++------------------ + 1 file changed, 29 insertions(+), 34 deletions(-) + +commit 56c7d9b0b3211af53952e97b059f8cc0f87d1de8 +Author: Emmanuele Bassi +Date: Tue Sep 27 16:06:43 2011 +0100 + + texture: Simplify asynchronous loading code + + The asynchronous loading code could do with some modernization. + + First of all, we should drop the internal GMutex held when manipulating + the boolean flags: it's far too expensive for its role, and modern GLib + provides us with bitlocks that are quite a lot faster. + + Then we should consolidate most of the implementation into something + smaller and more manageable. + + clutter/clutter-texture.c | 270 ++++++++++++++++++++-------------------------- + 1 file changed, 115 insertions(+), 155 deletions(-) + +commit 11c585c420da633964beb93e80c0dc12d2901a61 +Author: Emmanuele Bassi +Date: Tue Sep 27 14:22:22 2011 +0100 + + texture: Remove GStaticMutex + + It's now possible to statically initialize a GMutex. + + clutter/clutter-texture.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 1465aa04aa4a8da7ced0eeadb183083a8972a6bf +Author: Emmanuele Bassi +Date: Tue Sep 27 14:21:41 2011 +0100 + + Depend on GLib 2.31 + + We need to switch away from GStaticMutex and use GMutex instead, as the + former has been deprecated. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 39db46123ed6bbbc3e6ad359a64d4d344ca9e11b +Author: Tomeu Vizoso +Date: Wed Sep 28 14:24:57 2011 +0200 + + Add paint-deform-tiles option to CLUTTER_DEBUG + + To make easier to visualize the triangles in a ClutterDeformEffect + + https://bugzilla.gnome.org/show_bug.cgi?id=660354 + + clutter/clutter-debug.h | 3 ++- + clutter/clutter-deform-effect.c | 20 ++++++++++++++++++++ + clutter/clutter-main.c | 3 ++- + 3 files changed, 24 insertions(+), 2 deletions(-) + +commit 9e822d9ae4d65b0fae2843bc57119b3d879502d7 +Merge: ad7bb392c 4f5ce6c16 +Author: Chun-wei Fan +Date: Tue Sep 27 14:35:26 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 4f5ce6c165e9e9e599993e77b987f2f229264731 +Author: Мирослав Николић +Date: Tue Sep 27 01:55:26 2011 +0200 + + Added Serbian translation + + po/sr.po | 2194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + po/sr@latin.po | 2194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 4388 insertions(+) + +commit 8a76949588f278301d3cd7dc5b1752005d624248 +Author: Carles Ferrando +Date: Mon Sep 26 14:41:42 2011 +0200 + + [l10n]Updated Catalan (Valencian) translation + + po/ca@valencia.po | 1138 +++++++++++++++++++++++++++-------------------------- + 1 file changed, 584 insertions(+), 554 deletions(-) + +commit 1776ac8ed50d2cdae34a53d6fa41a1761d6b907f +Author: Emmanuele Bassi +Date: Tue Aug 16 16:01:22 2011 +0100 + + Remove internal usage of ClutterGeometry in StageWindow + + The ClutterGeometry type is a poor substitute of cairo_rectangle_int_t, + with unsigned integers for width and height to complicate matters. + + Let's remove the internal usage of ClutterGeometry and switch to the + rectangle type from Cairo. + + https://bugzilla.gnome.org/show_bug.cgi?id=656663 + + clutter/clutter-private.h | 4 ++ + clutter/clutter-stage-private.h | 6 ++- + clutter/clutter-stage-window.c | 16 +++---- + clutter/clutter-stage-window.h | 26 ++++++------ + clutter/clutter-stage.c | 74 +++++++++++++++++++-------------- + clutter/clutter-util.c | 30 +++++++++++++ + clutter/cogl/clutter-stage-cogl.c | 29 ++++++------- + clutter/cogl/clutter-stage-cogl.h | 3 +- + clutter/osx/clutter-stage-osx.c | 4 +- + clutter/wayland/clutter-stage-wayland.c | 64 +++++++++++----------------- + clutter/wayland/clutter-stage-wayland.h | 6 +-- + clutter/win32/clutter-stage-win32.c | 12 +++--- + clutter/x11/clutter-stage-x11.c | 4 +- + 13 files changed, 154 insertions(+), 124 deletions(-) + +commit c59f9ef79f630b14e30623c0629551264e208d35 +Author: Chao-Hsiung Liao +Date: Sun Sep 25 16:16:10 2011 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 1192 ++++++++++++++++++++++++++++++----------------------------- + po/zh_TW.po | 1192 ++++++++++++++++++++++++++++++----------------------------- + 2 files changed, 1230 insertions(+), 1154 deletions(-) + +commit 85c4c9c6ccdcd5272e4c21de768d788089075b93 +Author: Ask H. Larsen +Date: Sat Sep 24 17:28:11 2011 +0200 + + Updated Danish translation + + po/da.po | 1749 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 920 insertions(+), 829 deletions(-) + +commit afc09b817d043a62bec84ec1f923518f02cc8d22 +Author: Mario Blättermann +Date: Sat Sep 24 10:44:08 2011 +0200 + + [l10n] Updated German translation + + po/de.po | 1172 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 591 insertions(+), 581 deletions(-) + +commit d3bafc4b09a50e9ee35c5439c604e56428670513 +Author: Colin Walters +Date: Thu Sep 22 21:22:53 2011 -0400 + + clutter-main: Reword translator comment for default:LTR + + This makes it much clearer, and fixes some typos in the original. + + https://bugzilla.gnome.org/show_bug.cgi?id=659893 + + clutter/clutter-main.c | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +commit a23e59bd66c70349a456fa8f82b7ed61128450cf +Author: Alexandre Franke +Date: Fri Sep 23 11:23:26 2011 +0200 + + Mark forgotten string as translatable + + https://bugzilla.gnome.org/show_bug.cgi?id=659928 + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 220e5c967792b0dc3a0afb3501ad7f2c3e01e287 +Author: Bruno Brouard +Date: Fri Sep 23 18:26:19 2011 +0200 + + Updated French translation + + po/fr.po | 1849 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 934 insertions(+), 915 deletions(-) + +commit f8d808f140a4fe84e3002ee5935d4b8317779c9d +Author: Neil Roberts +Date: Fri Sep 23 15:12:44 2011 +0100 + + Add a CLUTTER_PAINT debug option to enable continous redrawing + + When testing the performance of an application, it's often useful to + force it to continuously redraw instead of going idle to help measure + the frame rate. This just adds a CLUTTER_PAINT=continuous-redraw which + causes the master clock to queue a redraw on all of the stages + just before it prepares its source. + + Reviewed-by: Robert Bragg + Reviewed-by: Emmanuele Bassi + + clutter/clutter-debug.h | 3 ++- + clutter/clutter-main.c | 3 ++- + clutter/clutter-master-clock.c | 14 ++++++++++++++ + 3 files changed, 18 insertions(+), 2 deletions(-) + +commit e08df14d42a999a1ed2fcfb0f241de986829a7be +Author: krishnababu k +Date: Fri Sep 23 18:01:37 2011 +0530 + + Updated Telugu Translations + + po/te.po | 1126 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 573 insertions(+), 553 deletions(-) + +commit 2004f98bc457392ccf4d9114309511323fa37a3f +Author: Manoj Kumar Giri +Date: Fri Sep 23 12:46:22 2011 +0530 + + Updated Oriya Translation + + po/or.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3dfdf58e3f0d2ad80322d5b0eda23cd91a135b82 +Author: I Felix +Date: Fri Sep 23 12:42:15 2011 +0530 + + Updated Tamil Translations + + po/ta.po | 449 ++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 213 insertions(+), 236 deletions(-) + +commit 2966ce2e59784ad85c2d40971e9a489e66da9772 +Author: A S Alam +Date: Fri Sep 23 07:24:56 2011 +0530 + + update Punjabi Translation + + po/pa.po | 1199 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 610 insertions(+), 589 deletions(-) + +commit c67d3e5b52955fc87b5c1581a82b745d9b2b047c +Author: Neil Roberts +Date: Wed Sep 21 16:36:30 2011 +0100 + + clutter-offscreen-effect: Apply matrix expansion to proj not mv + + When the viewport gets expanded because the actor extends off the edge + of the screen, instead of applying the transformation to the root of + the modelview transformation it is now applied to the end of the + projection transformation. This should end up with the same + transformation. This fixes a problem when the offscreen effects are + nested and the inner effect would try to pick up the current modelview + transformation to rescale it to fit the new viewport size. In this + case the modelview would have already been scaled for the size of the + outer viewport so it would end up wrong. + + https://bugzilla.gnome.org/show_bug.cgi?id=659601 + + Reviewed-by: Emmanuele Bassi + Reviewed-by: Robert Bragg + + clutter/clutter-offscreen-effect.c | 31 +++++++++++-------------------- + 1 file changed, 11 insertions(+), 20 deletions(-) + +commit 9d8ad861653193a2a2428caeb2d7553f99c7083a +Author: Nilamdyuti Goswami +Date: Thu Sep 22 12:41:20 2011 +0200 + + Add Assamese translation + + po/as.po | 2191 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2191 insertions(+) + +commit 7fb8fc65a33aea59d7a970acefd0eab19d94da69 +Author: Neil Roberts +Date: Wed Sep 21 13:37:44 2011 +0100 + + mingw-fetch-dependencies: Mirror the changes made to the Cogl version + + Cogl has a similar script which has had the following additional + changes: + + * Don't pass -c to wget + + * Explicitly download and run config.guess + + This patch just syncs up with those. + + https://bugzilla.gnome.org/show_bug.cgi?id=659625 + + build/mingw/mingw-fetch-dependencies.sh | 17 ++++++++++++++--- + 1 file changed, 14 insertions(+), 3 deletions(-) + +commit 7d8c48268efc87cbf5f8a38d30186e6ba18842cc +Author: Damien Lespiau +Date: Tue Sep 20 17:34:46 2011 +0100 + + mingw32: Update the build script to compile 1.8.0 + + * Updated dependencies, glib 2.28 and cogl 1.8.0 + * Mesa has removed mesa_wgl.h from its headers + * added -I$ROOT_DIR/include to the CFLAGS to include the headers from + our prefix (say ) before the system ones + + https://bugzilla.gnome.org/show_bug.cgi?id=659625 + + build/mingw/mingw-fetch-dependencies.sh | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit dc5b047ed5e2a7f19d40689de14024c65c9bf786 +Author: Duarte Loreto +Date: Wed Sep 21 00:34:48 2011 +0100 + + Updated Portuguese translation + + po/pt.po | 2216 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2216 insertions(+) + +commit 8051c47664c4e049587c30c1135d247e72f08b3b +Author: Emmanuele Bassi +Date: Mon Sep 19 23:14:04 2011 +0100 + + Fix typo in ClutterSettings:password-hint-time blurb + + clutter/clutter-settings.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 93ece6dd7bd0b711652d9b64c9a946873419756d +Author: Emmanuele Bassi +Date: Mon Sep 19 16:44:22 2011 +0100 + + text: Implement password hint + + A ClutterText in password mode should have the ability to show the last + input character. This feature allows easier password entry on platforms + with unreliable keyboards, such as touchscreens or small devices. + + https://bugzilla.gnome.org/show_bug.cgi?id=652588 + + clutter/clutter-text.c | 94 ++++++++++++++++++++++++++++++++++++++++++-------- + 1 file changed, 79 insertions(+), 15 deletions(-) + +commit 07912a147dffca9cfdeb84a77e6edf567743cb20 +Author: Emmanuele Bassi +Date: Mon Sep 19 16:43:05 2011 +0100 + + settings: Add password-hint-time property + + Add a setting that controls whether ClutterText actors in password mode + should display the last input character for a defined time. This helps + on touch-based interfaces. + + https://bugzilla.gnome.org/show_bug.cgi?id=652588 + + clutter/clutter-settings.c | 30 ++++++++++++++++++++++++++++++ + 1 file changed, 30 insertions(+) + +commit 0b07a5ef04843aa22bbc1f3a0f9d0f93bf98dfb7 +Author: Emmanuele Bassi +Date: Mon Sep 19 20:04:11 2011 +0100 + + Post branch version bump to 1.9.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ad7bb392c599c801106bf2d15ccdd4a07fe6efda +Merge: 65e498e3f f315e760d +Author: Chun-wei Fan +Date: Mon Sep 19 14:24:04 2011 +0800 + + Merge branch 'master' into msvc-support-master + +commit 65e498e3f903517104a6008f739b26f91e3d0610 +Author: Chun-wei Fan +Date: Fri Sep 16 17:34:29 2011 +0800 + + Conform-tests: Remove C99ism + + tests/conform/test-cogl-materials.c | 20 ++++++++++++++------ + tests/conform/test-cogl-pixel-buffer.c | 2 +- + 2 files changed, 15 insertions(+), 7 deletions(-) + +commit 9f12ec534ebd8ad584b3655558ffdfbd43aefce9 +Author: Chun-wei Fan +Date: Fri Sep 16 17:25:47 2011 +0800 + + msvc-support: Recover wrecked branch + + Recover the branch! :| + + Makefile.am | 5 +- + build/Makefile.am | 2 +- + build/win32/Makefile.am | 3 + + build/win32/vs10/Makefile.am | 37 + + build/win32/vs10/README.txt | 91 ++ + .../win32/vs10/cally-atkcomponent-example.vcxproj | 172 +++ + .../cally-atkcomponent-example.vcxproj.filters | 26 + + .../vs10/cally-atkeditabletext-example.vcxproj | 172 +++ + .../cally-atkeditabletext-example.vcxproj.filters | 26 + + build/win32/vs10/cally-atkevents-example.vcxproj | 172 +++ + .../vs10/cally-atkevents-example.vcxproj.filters | 26 + + build/win32/vs10/cally-atktext-example.vcxproj | 172 +++ + .../vs10/cally-atktext-example.vcxproj.filters | 25 + + build/win32/vs10/cally-clone-example.vcxproj | 172 +++ + .../win32/vs10/cally-clone-example.vcxproj.filters | 26 + + build/win32/vs10/clutter.props | 416 ++++++ + build/win32/vs10/clutter.sln | 156 +++ + build/win32/vs10/clutter.vcxproj.filtersin | 25 + + build/win32/vs10/clutter.vcxprojin | 196 +++ + build/win32/vs10/install.vcxproj | 149 +++ + build/win32/vs10/test-cogl-perf.vcxproj | 166 +++ + build/win32/vs10/test-cogl-perf.vcxproj.filters | 14 + + .../win32/vs10/test-conformance.vcxproj.filtersin | 12 + + build/win32/vs10/test-conformance.vcxprojin | 168 +++ + .../win32/vs10/test-interactive.vcxproj.filtersin | 12 + + build/win32/vs10/test-interactive.vcxprojin | 168 +++ + build/win32/vs10/test-picking.vcxproj | 167 +++ + build/win32/vs10/test-picking.vcxproj.filters | 14 + + build/win32/vs10/test-random-text.vcxproj | 166 +++ + build/win32/vs10/test-random-text.vcxproj.filters | 14 + + build/win32/vs10/test-text-perf.vcxproj | 166 +++ + build/win32/vs10/test-text-perf.vcxproj.filters | 14 + + build/win32/vs10/test-text.vcxproj | 166 +++ + build/win32/vs10/test-text.vcxproj.filters | 14 + + build/win32/vs9/Makefile.am | 21 + + build/win32/vs9/README.txt | 90 ++ + build/win32/vs9/cally-atkcomponent-example.vcproj | 169 +++ + .../win32/vs9/cally-atkeditabletext-example.vcproj | 167 +++ + build/win32/vs9/cally-atkevents-example.vcproj | 167 +++ + build/win32/vs9/cally-atktext-example.vcproj | 164 +++ + build/win32/vs9/cally-clone-example.vcproj | 169 +++ + build/win32/vs9/clutter.sln | 207 +++ + build/win32/vs9/clutter.vcprojin | 199 +++ + build/win32/vs9/clutter.vsprops | 265 ++++ + build/win32/vs9/install.vcproj | 80 ++ + build/win32/vs9/test-cogl-perf.vcproj | 159 +++ + build/win32/vs9/test-conformance.vcprojin | 165 +++ + build/win32/vs9/test-interactive.vcprojin | 165 +++ + build/win32/vs9/test-picking.vcproj | 160 +++ + build/win32/vs9/test-random-text.vcproj | 159 +++ + build/win32/vs9/test-text-perf.vcproj | 159 +++ + build/win32/vs9/test-text.vcproj | 159 +++ + clutter/Makefile.am | 42 + + clutter/clutter-config.h.win32 | 16 + + clutter/clutter-version.h.win32.in | 196 +++ + clutter/clutter.symbols | 1386 ++++++++++++++++++++ + tests/conform/Makefile.am | 42 + + tests/interactive/Makefile.am | 58 +- + tests/micro-bench/test-picking.c | 8 +- + 59 files changed, 7895 insertions(+), 7 deletions(-) + +commit 208fbe756ec40d56bba657c8a07fcd61c894e433 +Author: Chun-wei Fan +Date: Fri Sep 16 17:15:33 2011 +0800 + + Recover msvc-support + + messed up my own git repo... + + config.h.win32.in | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 6 ++- + 2 files changed, 163 insertions(+), 1 deletion(-) diff --git a/ChangeLog.pre-1.12 b/ChangeLog.pre-1.12 new file mode 100644 index 0000000..588d8a4 --- /dev/null +++ b/ChangeLog.pre-1.12 @@ -0,0 +1,7826 @@ +commit 075aa21b3ae036c2f4ae171c26e5e7028733732d +Author: Emmanuele Bassi +Date: Mon Sep 24 17:27:05 2012 +0100 + + Release Clutter 1.12.0 + + NEWS | 31 +++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 33 insertions(+), 2 deletions(-) + +commit 65bedbe42cfd63d569fee372e2f0c10b2d8a615f +Author: Emmanuele Bassi +Date: Mon Sep 24 17:20:25 2012 +0100 + + docs: Fix typo in closing tag + + clutter/clutter-gesture-action.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 35faaf604cbc1592f6d7320d19c283c890b17194 +Author: Emanuele Aina +Date: Fri Sep 21 14:05:37 2012 +0200 + + x11: set the stage for core events with no associated stage + + When the last touch has been released the stage on the + corresponding master device (eg. the virtual core pointer) is set + to NULL and no mouse events can be delivered until an ENTER event + has occurred and the stage pointer restored. + + This is due to the fact that the master devices can send both + touch events and mouse events, forwarding events coming from the + attached slave devices. + + To restore delivery of mouse events we need to ensure that the + stage is set on each ButtonPress, ButtonRelease and Motion event + coming from master devices. + + https://bugzilla.gnome.org/show_bug.cgi?id=684509 + + clutter/x11/clutter-device-manager-xi2.c | 35 +++++++++++++++++--------------- + 1 file changed, 19 insertions(+), 16 deletions(-) + +commit a6abf86e945eab43e8b3dd0a66cf2638b9bb525e +Author: Emanuele Aina +Date: Fri Sep 21 08:05:59 2012 +0000 + + input-device: print device number in debug messages + + https://bugzilla.gnome.org/show_bug.cgi?id=684530 + + clutter/clutter-input-device.c | 9 +++++++-- + clutter/x11/clutter-device-manager-xi2.c | 18 ++++++++++++------ + 2 files changed, 19 insertions(+), 8 deletions(-) + +commit d587fa4e28e9c6ecdaf2a1a2a1bfe03d08f4ee86 +Author: Emanuele Aina +Date: Fri Sep 21 14:44:07 2012 +0200 + + tests: print coords and devices in test-events + + Print event coordinates on events other than motion and also track + the device and source device ids in ./tests/interactive/test-events + + https://bugzilla.gnome.org/show_bug.cgi?id=684552 + + tests/interactive/test-events.c | 66 +++++++++++++++++++++++++++-------------- + 1 file changed, 44 insertions(+), 22 deletions(-) + +commit 042677b9201137bb78a0bd0d4130c1ccf760beae +Author: Alexander Shopov +Date: Sun Sep 23 12:17:28 2012 +0300 + + Updated Bulgarian translation + + po/bg.po | 1349 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 746 insertions(+), 603 deletions(-) + +commit cdb91a461ded6ef67139e15f191796fd001a700c +Author: Nishio Futoshi +Date: Sun Sep 23 17:50:31 2012 +0900 + + Updated Japanese translation. + + po/ja.po | 2775 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2775 insertions(+) + +commit 00f5e1286ba0085c4b25c83b05f3439eca10787a +Author: Ani Peter +Date: Sun Sep 23 01:45:51 2012 +0530 + + Updated Malayalam file + + po/ml.po | 2741 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2741 insertions(+) + +commit eb3b737484cb9af4a1867c6ea70f7e3056edccc6 +Author: Shankar Prasad +Date: Sun Sep 23 01:28:46 2012 +0530 + + Updated kn translation + + po/kn.po | 2490 +++++++++++++++++++++++++++++++++++++++----------------------- + 1 file changed, 1574 insertions(+), 916 deletions(-) + +commit dc020c5e54751fd99f65c0fe08cb02238df5af75 +Author: Carles Ferrando +Date: Fri Sep 21 21:37:05 2012 +0200 + + [l10n]Updated Catalan (Valencian) translation + + po/ca@valencia.po | 1889 ++++++++++++++++++++++++++++++----------------------- + 1 file changed, 1087 insertions(+), 802 deletions(-) + +commit 4887f06970dd0c85a6a53a9db23d01ce643e6c9a +Author: Gil Forcada +Date: Fri Sep 21 21:36:57 2012 +0200 + + [l10n] Updated Catalan translation + + po/ca.po | 1891 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1088 insertions(+), 803 deletions(-) + +commit c5f769cc07002f43a26d2f89f1ced25ca23e334d +Author: Krishnababu Krothapalli +Date: Thu Sep 20 15:56:41 2012 +0530 + + Updated Telugu Translations + + po/te.po | 800 ++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 459 insertions(+), 341 deletions(-) + +commit bd8039ca67b30f6fbb247296144adf62d6b98c7b +Author: Chandan Kumar +Date: Thu Sep 20 08:51:31 2012 +0530 + + Updated HINDI translation + + po/hi.po | 1949 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1125 insertions(+), 824 deletions(-) + +commit 64c7973c7429c75143d8cea04f664b65af45c9a8 +Author: Emmanuele Bassi +Date: Wed Sep 19 11:40:33 2012 +0100 + + bin-layout: Fix text direction checks + + When using the new ActorAlign flags we must get the real alignment for + the horizontal axis, as clutter_actor_allocate() will compute the + effective alignment by itself; if we use the effective alignment then + ClutterActor.allocate() will swap it, and undo our work. + + When using the old BinAlignment flags we should reverse the alignment + depending on whether the text direction of the child is RTL or LTR. + + See bug: https://bugzilla.gnome.org/show_bug.cgi?id=684214 + + clutter/clutter-bin-layout.c | 18 ++++++++++++------ + 1 file changed, 12 insertions(+), 6 deletions(-) + +commit 4578a87d1d9728c2ca00e0e136c8f8088439b9c8 +Author: Emmanuele Bassi +Date: Wed Sep 19 11:39:41 2012 +0100 + + Add debug note for text direction + + It would be nice to have the text direction inside the debug log. + + clutter/clutter-main.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 26eb599997592da3f9befd43bd57c28c81c840a2 +Author: Emmanuele Bassi +Date: Mon Sep 17 22:59:11 2012 +0100 + + Post-release version bump to 1.11.17 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ec96435f2f3ba36a98cfe60a217b1651b4d2ee63 +Author: Emmanuele Bassi +Date: Mon Sep 17 22:48:44 2012 +0100 + + Release Clutter 1.11.16 (snapshot) + + NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 47 insertions(+), 1 deletion(-) + +commit cd67c7fd243025aac080faf50a1848f1d5842915 +Author: Emmanuele Bassi +Date: Mon Sep 10 09:21:34 2012 +0100 + + drag-action: Allow destroying the dragged actor inside ::drag-end + + It should be possible to destroy the actor currently being dragged from + within the ::drag-end signal. In order to do this, we need to keep a + reference on the action for the duration of the emit_drag_end() function + as well as resetting the action's state inside the dispose() + implementation, to avoid trying to access cleared data. + + https://bugzilla.gnome.org/show_bug.cgi?id=681814 + + clutter/clutter-drag-action.c | 35 ++++++++++++++++++++++++++++++++++- + 1 file changed, 34 insertions(+), 1 deletion(-) + +commit c095de87057ef32e0ca7610a3da80577dae3cca8 +Author: Yuri Myasoedov +Date: Mon Sep 17 15:55:50 2012 +0400 + + Updated Russian translation + + po/ru.po | 461 ++++++++++++++++++++++++++++----------------------------------- + 1 file changed, 207 insertions(+), 254 deletions(-) + +commit 8d53bbd34f597aac29782bbe78cd664bf33cbe6d +Author: Emmanuele Bassi +Date: Thu Sep 6 13:03:05 2012 +0100 + + docs: Document the states of a GestureAction + + Useful notes for developers writing gesture recognizers. + + clutter/clutter-gesture-action.c | 31 +++++++++++++++++++++++++++++++ + 1 file changed, 31 insertions(+) + +commit 838a6d9218effd5fd31577f0f3342acc6d7cc44a +Author: Ask H. Larsen +Date: Sun Sep 16 02:07:53 2012 +0200 + + Updated Danish translation + + po/da.po | 1869 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1077 insertions(+), 792 deletions(-) + +commit 165871024cfe16ad081deef1ae2eda536eb3e073 +Author: Emanuele Aina +Date: Thu Sep 13 12:05:21 2012 +0200 + + stage: fix typo and format identifiers in debug notes + + https://bugzilla.gnome.org/show_bug.cgi?id=683937 + + clutter/clutter-stage.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit e6fcdb0644d5b5ea73e646aec43967c9a50b39cf +Author: Emanuele Aina +Date: Thu Sep 13 11:20:00 2012 +0200 + + click-action: add touch event support + + Allow for touch events to trigger the "clicked" event on + ClickAction without introducing API changes. + + https://bugzilla.gnome.org/show_bug.cgi?id=683936 + + clutter/clutter-click-action.c | 21 +++++++++++++++++---- + 1 file changed, 17 insertions(+), 4 deletions(-) + +commit d616fd628b04824c0c1469dfc12c81b1b1bca354 +Author: Emanuele Aina +Date: Wed Sep 12 20:08:16 2012 +0200 + + tests: style fixes to test-events + + Oops, I pushed the commit without the style fixes. Followup commit + for 47347d5. + + tests/interactive/test-events.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 47347d5f5cc3566f6927ab8a2a27c274159c9056 +Author: Emanuele Aina +Date: Wed Sep 12 14:45:05 2012 +0200 + + tests: handle smooth scroll events in test-events + + Print the precise scroll delta for smooth scroll events and + correctly print the direction for left/right scrolls. + + https://bugzilla.gnome.org/show_bug.cgi?id=683870 + + tests/interactive/test-events.c | 23 ++++++++++++++++++----- + 1 file changed, 18 insertions(+), 5 deletions(-) + +commit 8a692103633d5af3245bd758873f26619a92dece +Author: Emanuele Aina +Date: Wed Sep 12 14:22:30 2012 +0200 + + tests: track touch events in test-events + + Enable xinput support in the X11 backend form test-events to + receive touch[begin|update|end] events. + + https://bugzilla.gnome.org/show_bug.cgi?id=683869 + + tests/interactive/test-events.c | 28 ++++++++++++++++++++++++++++ + 1 file changed, 28 insertions(+) + +commit 19de5d254165adae02c5795384716270f98fe3fb +Author: Emanuele Aina +Date: Tue Sep 11 19:20:19 2012 +0200 + + action: fix CLUTTER_GESTURE_ACTION_GET_CLASS() + + Fix the same cut'n'paste error fixed for GestureAction in 609766fa, + this time in ClickAction, PanAction, RotateAction and SwipeAction. + + https://bugzilla.gnome.org/show_bug.cgi?id=683430 + + clutter/clutter-click-action.h | 2 +- + clutter/clutter-pan-action.h | 2 +- + clutter/clutter-rotate-action.h | 2 +- + clutter/clutter-swipe-action.h | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +commit a6a96f0946b8735960267ef81b50c66aba26ce01 +Author: Nilamdyuti Goswami +Date: Tue Sep 11 16:58:46 2012 +0530 + + Assamese translation updated + + po/as.po | 380 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 206 insertions(+), 174 deletions(-) + +commit ea50df6bb616542f8a159ad3ea7ce031d856f712 +Author: Rui Matos +Date: Sun Sep 9 20:44:43 2012 +0200 + + text: Don't accept new line characters in single line mode + + Modified Return key presses don't trigger ::activate so we would end + up adding an unprintable character to a single paragraph mode pango + layout which renders it as a box. + + https://bugzilla.gnome.org/show_bug.cgi?id=623344 + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5e18c2f9b47a4d9eb3c51c8e8487a2474d969c97 +Author: Ihar Hrachyshka +Date: Sun Sep 9 15:29:05 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 14 +++++--------- + 1 file changed, 5 insertions(+), 9 deletions(-) + +commit 69b83d1f7018bfd5eaa885d55e1e061f6b91e4f6 +Author: Duarte Loreto +Date: Sun Sep 9 01:17:39 2012 +0100 + + Updated Portuguese translation + + po/pt.po | 492 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 266 insertions(+), 226 deletions(-) + +commit 67fa2e68097c75069bcb2c18d8151c531615a4f4 +Author: Martin Srebotnjak +Date: Sat Sep 8 20:39:51 2012 +0200 + + Updated Slovenian translation + + po/sl.po | 104 +++++++++++++++++++++------------------------------------------ + 1 file changed, 34 insertions(+), 70 deletions(-) + +commit 6a4060c2d7e4e8ba52f81d2b4b5dffd2c6cf1523 +Author: Tom Tryfonidis +Date: Sat Sep 8 12:12:38 2012 +0300 + + Updated Greek translation + + po/el.po | 375 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 207 insertions(+), 168 deletions(-) + +commit c3e574a389c1a85a5d73a078f3cfcf0619ae0f26 +Author: Debarshi Ray +Date: Wed Aug 29 00:24:30 2012 +0200 + + actor: Fix the content box for CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT + + The code for calculating the content box when the aspect ratio is + greater than 1 was broken. The same code that did the calculation for + aspect ratio less than 1 should be used in all cases. + + Fixes: https://bugzilla.gnome.org/682161 + + clutter/clutter-actor.c | 40 +++++++++------------------------------- + 1 file changed, 9 insertions(+), 31 deletions(-) + +commit 75e7fcdb2c105254572a46525f236ff9076e761c +Author: Enrico Nicoletto +Date: Fri Sep 7 11:57:13 2012 -0400 + + Added Brazilian Portuguese translation. + + po/pt_BR.po | 1433 ++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 837 insertions(+), 596 deletions(-) + +commit 568c8e19195983ccb2e509c97a3b6df9c1f1a6a6 +Author: Matej Urbančič +Date: Fri Sep 7 15:19:30 2012 +0200 + + Updated Slovenian translation + + po/sl.po | 1484 +++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 876 insertions(+), 608 deletions(-) + +commit f6d7cc5ee6371c2ad9f899c8da78ad1e57cd5e1a +Author: Christian Kirbach +Date: Thu Sep 6 23:07:25 2012 +0200 + + Updated German translation + + po/de.po | 2046 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 1128 insertions(+), 918 deletions(-) + +commit a71c38445a2943915f51a26f1c42db24749864be +Author: Yuri Myasoedov +Date: Thu Sep 6 22:41:33 2012 +0400 + + Updated Russian translation + + po/ru.po | 2041 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1188 insertions(+), 853 deletions(-) + +commit 9caf9ffbbb6fbbc2e3a03bca14253182da5ac5bc +Author: Emanuele Aina +Date: Thu Sep 6 11:12:53 2012 +0200 + + gesture-action: unregister point on missed release events + + When we miss button release events (eg. when they happen outside + of our window) we must ensure that the corresponding point is + removed from the array of tracked points, otherwise GestureAction + will get very confused and will cancel all subsequent gestures. + + https://bugzilla.gnome.org/show_bug.cgi?id=683471 + + clutter/clutter-gesture-action.c | 1 + + 1 file changed, 1 insertion(+) + +commit 3b298ddfa333eb4963c24f119b6578398b821ef0 +Author: Emanuele Aina +Date: Wed Sep 5 14:50:28 2012 +0000 + + pan-action: emit ::pan-stopped before ::gesture-begin + + When starting a new gesture before the momentum of the previous one + has finished the ::pan-stopped was counter-intuitively emitted + after the new ::gesture-begin. + + Make use of gesture_prepare() to reset the state of the action + right before emitting ::gesture-begin. + + https://bugzilla.gnome.org/show_bug.cgi?id=683431 + + clutter/clutter-pan-action.c | 15 +++++++++++++-- + 1 file changed, 13 insertions(+), 2 deletions(-) + +commit 2001cd7a2c4b3e5fb6ac48149208756900479308 +Author: Emanuele Aina +Date: Wed Sep 5 14:47:25 2012 +0000 + + gesture-action: add gesture_prepare() virtual function + + The gesture_prepare() virtual function is called before the + ::gesture-begin signal is emitted, and allows a subclass to reset + its state. + + https://bugzilla.gnome.org/show_bug.cgi?id=683431 + + clutter/clutter-gesture-action.c | 7 +++++++ + clutter/clutter-gesture-action.h | 5 ++++- + 2 files changed, 11 insertions(+), 1 deletion(-) + +commit 609766fa2bc4975fef369607c62a1de4c278f8a3 +Author: Emanuele Aina +Date: Wed Sep 5 15:21:14 2012 +0000 + + gesture-action: fix CLUTTER_GESTURE_ACTION_GET_CLASS() + + Fix a cut'n'paste error where CLUTTER_GESTURE_ACTION_GET_CLASS() + was returning the private class data instead of the class instance. + + https://bugzilla.gnome.org/show_bug.cgi?id=683430 + + clutter/clutter-gesture-action.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f67aa36e3b7e7435a19902c95d9ff46954d18993 +Author: Emmanuele Bassi +Date: Thu Sep 6 12:11:31 2012 +0100 + + color: Simplify shade() implementation + + We can use the CLAMP macro, instead of a bunch of ifs. + + clutter/clutter-color.c | 13 ++----------- + 1 file changed, 2 insertions(+), 11 deletions(-) + +commit 44cf976c5171e58873269f89529073bfaca584bd +Author: Мирослав Николић +Date: Wed Sep 5 22:09:57 2012 +0200 + + Updated Serbian translation + + po/sr.po | 568 ++++++++++++++++++++++++++++++++------------------------- + po/sr@latin.po | 568 ++++++++++++++++++++++++++++++++------------------------- + 2 files changed, 632 insertions(+), 504 deletions(-) + +commit 3398f3acdfcbb727db12abac30b4f09629edef1d +Author: Jasper St. Pierre +Date: Mon Sep 3 20:06:27 2012 -0300 + + stage: Normalize key focus setting + + We often mean that when key_focus == NULL, it's assumed to be on the + stage, and clutter_stage_get_key_focus() reflects this. We also do a + lot of check around the lines of key_focus == NULL instead of also + checking for the stage, so make sure to normalize it so that explicitly + grabbing the stage's key focus will not change our behaviour. + + https://bugzilla.gnome.org/show_bug.cgi?id=683301 + + clutter/clutter-stage.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 1930c187a8d6c27c348fa9a54874055afc7e5ab4 +Author: Alexandre Franke +Date: Wed Sep 5 16:02:07 2012 +0200 + + Update French translation + + po/fr.po | 1450 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 840 insertions(+), 610 deletions(-) + +commit 98f8723f4d23b976061ca13d625bcf07fcdc15b6 +Author: Chao-Hsiung Liao +Date: Wed Sep 5 19:36:46 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 426 ++++++++++++++++++++++++++++++++---------------------------- + po/zh_TW.po | 424 +++++++++++++++++++++++++++++++---------------------------- + 2 files changed, 457 insertions(+), 393 deletions(-) + +commit 950e60f82400bdafa0220ba336ee3ed3986befad +Author: Emmanuele Bassi +Date: Wed Sep 5 09:38:17 2012 +0100 + + x11: Add EventSequence → touch detail accessor + + The ClutterEventSequence structure is a fully opaque type; on X11, it is + just an unsigned integer that gets converted into a pointer, but in the + future it may become a fully fledged data structure. + + Obviously, we cannot tell people to just dereference the pointer into an + integer in order to use it, and still retain the ability to change the + type; for this reason, we need a proper accessor function to convert the + EventSequence into a touch detail, to be used with the XInput API. + + clutter/clutter.symbols | 1 + + clutter/x11/clutter-device-manager-xi2.c | 6 ++++-- + clutter/x11/clutter-event-x11.c | 18 ++++++++++++++++++ + clutter/x11/clutter-x11.h | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 5 files changed, 26 insertions(+), 2 deletions(-) + +commit 263592739c672f2d0f5bf6b6dadb6835ef655bb6 +Author: Dirgita +Date: Tue Sep 4 19:40:29 2012 +0700 + + Updated Indonesian translation + + po/id.po | 428 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 230 insertions(+), 198 deletions(-) + +commit 89c83953f58dbeeba183e9d1aed7786a302b431f +Author: Bruce Cowan +Date: Tue Sep 4 11:49:50 2012 +0100 + + Updated British English translation + + po/en_GB.po | 1853 ++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 1069 insertions(+), 784 deletions(-) + +commit 2ed703cf061e7dcbacb1669f444068e34bdb48ff +Author: Emmanuele Bassi +Date: Mon Sep 3 22:48:52 2012 +0100 + + Post-release version bump to 1.11.15 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9019a3754f99727a9f53d158f107ae183667cbee +Author: Emmanuele Bassi +Date: Mon Sep 3 22:27:57 2012 +0100 + + Release Clutter 1.11.14 (snapshot) + + NEWS | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 73 insertions(+), 1 deletion(-) + +commit d6b8dfb694da3780c871670dd476692a13860286 +Author: Emmanuele Bassi +Date: Mon Sep 3 22:34:22 2012 +0100 + + gdk: Fix include + + clutter/gdk/clutter-event-gdk.c | 1 + + 1 file changed, 1 insertion(+) + +commit 6096b41d7c156318c04b9c8c13d4bfcee1a4dfd6 +Author: Emmanuele Bassi +Date: Mon Sep 3 22:21:44 2012 +0100 + + docs: Update with missing symbols + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 99a7406d0198627aa0864b039dcabf691b537507 +Author: Neil Roberts +Date: Thu Jul 19 15:20:42 2012 +0100 + + evdev: Swap the numbers for the middle and right buttons + + The ordering of the evdev button numbers is the opposite of the + order in Clutter (the middle button is 3 instead of 2) so we need to + manually map the button numbers when creating a ClutterButtonEvent. + + https://bugzilla.gnome.org/show_bug.cgi?id=680255 + + clutter/evdev/clutter-device-manager-evdev.c | 25 +++++++++++++++++++++++-- + 1 file changed, 23 insertions(+), 2 deletions(-) + +commit df0ab34499b45515a91fa9822588b81460299079 +Author: Emmanuele Bassi +Date: Mon Sep 3 21:56:39 2012 +0100 + + docs: Fix GestureAction.get_velocity() + + The velocity is in pixels per milliseconds, not microseconds. + + https://bugzilla.gnome.org/show_bug.cgi?id=683113 + + clutter/clutter-gesture-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d6a0f7eb6132f23201856bcc9bd850622c2fb4d1 +Author: Lionel Landwerlin +Date: Tue Aug 21 15:26:30 2012 +0100 + + input-device: don't reset a device's stage until all touch points are gone + + 803b3bafb617c2df703aa8b834ff0df2f0c5c26c introduced a new issue for + multi touch events. + + In the case where 2 touch events for 2 different touch points are + processed in the same iteration, a call to + _clutter_stage_remove_device() when processing the first event will + remove the stage setting of the InputDevice. That means Clutter will + skip the second event, because it can't find a stage to which relate + the event, so no related actor and so no emission. + + To fix this we move the _clutter_stage_(add/remove)_device() calls + into the input device. This way the input device can find out exactly + when to call these functions (i.e. when no touch point were previously + active or when no touch point remain active). + + https://bugzilla.gnome.org/show_bug.cgi?id=682362 + + clutter/clutter-device-manager-private.h | 11 ++--- + clutter/clutter-input-device.c | 76 ++++++++++++++++++-------------- + clutter/clutter-main.c | 10 +---- + clutter/clutter-stage.c | 2 +- + clutter/x11/clutter-device-manager-xi2.c | 6 --- + 5 files changed, 52 insertions(+), 53 deletions(-) + +commit d5332d1e4c4852148fc0bf71bd3886157330dae6 +Author: Tomeu Vizoso +Date: Fri Aug 31 18:36:57 2012 +0200 + + stage: Remove tracking input devices, it's not used + + https://bugzilla.gnome.org/show_bug.cgi?id=683126 + + clutter/clutter-main.c | 4 +-- + clutter/clutter-stage-private.h | 7 ----- + clutter/clutter-stage.c | 38 --------------------------- + clutter/gdk/clutter-event-gdk.c | 4 +-- + clutter/osx/clutter-event-osx.c | 4 +-- + clutter/win32/clutter-event-win32.c | 4 +-- + clutter/x11/clutter-device-manager-core-x11.c | 4 +-- + clutter/x11/clutter-device-manager-xi2.c | 4 +-- + 8 files changed, 12 insertions(+), 57 deletions(-) + +commit fd375a7bc962517439303203cf7443caaf729e93 +Author: Jasper St. Pierre +Date: Thu Aug 30 21:02:38 2012 -0300 + + blur-effect: Fix the blur filter + + Make sure we don't sample the center twice, and don't sample things + that aren't our immediate neighbors. + + https://bugzilla.gnome.org/show_bug.cgi?id=683076 + + clutter/clutter-blur-effect.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit fb9e0466c07db48bc68ac04ebf346bad5aee1ad4 +Author: Emmanuele Bassi +Date: Mon Sep 3 21:01:24 2012 +0100 + + examples/pan-action: Animate the content reset + + We can use the newly added support for implicit animations for the child + transform. + + examples/pan-action.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 48a2846ab99a9c2fff2ec80342dbc2314eca04ad +Author: Emmanuele Bassi +Date: Mon Sep 3 21:00:40 2012 +0100 + + actor: Make :transform and :child-transform animatable + + Now that we can interpolate between two matrices, we can mark the + matrix-based property as animatable. + + clutter/clutter-actor.c | 147 ++++++++++++++++++++++++++++++++++-------------- + 1 file changed, 105 insertions(+), 42 deletions(-) + +commit 22ce4409b3f3994e3487617c01e96886c860dc9b +Author: Emmanuele Bassi +Date: Mon Sep 3 20:54:43 2012 +0100 + + Add interpolation for matrices + + Interpolating between two transformations expressed using a 3D matrix + can be achieved by decomposing the matrices into their transformations + and do a simple numeric interpolation between the initial and final + states, like we do for other data types. + + Luckily for us, the CSS Transforms specification from the W3C provides + the decomposition algorithm, using the "unmatrix" code taken from the + book "Graphics Gems II, edited by Jim Arvo". + + Once the matrices have been decomposed, we can simply interpolate the + transformations, and re-apply them onto the result matrix, using the + facilities that Clutter provides for interpolating between two known + GTypes. + + clutter/clutter-base-types.c | 99 +++++++++++- + clutter/clutter-private.h | 39 +++++ + clutter/clutter-types.h | 6 + + clutter/clutter-util.c | 351 ++++++++++++++++++++++++++++++++++++++++++- + 4 files changed, 479 insertions(+), 16 deletions(-) + +commit cda4493f99c1d8699d4ddcd79d309f337292b8df +Author: Neil Roberts +Date: Mon Sep 3 15:11:22 2012 +0100 + + Include cogl/cogl-egl.h from clutter-egl-headers.h + + Since Cogl version 1.11.2, Cogl no longer includes the EGL headers + from cogl.h if COGL_ENABLE_EXPERIMENTAL_2_0_API is defined. Instead + the application needs to include cogl-egl.h so that we can avoid + polluting the global namespace with X defines. Clutter defines the 2.0 + define in its configure.ac and it is relying on Cogl to include the + right EGL header in clutter-egl-headers.h so we need to change which + header it includes. + + clutter/egl/clutter-egl-headers.h | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit 03f4f1c69e7c66702cbed7e158a36668ae3683b9 +Author: Emmanuele Bassi +Date: Mon Sep 3 12:59:30 2012 +0100 + + actor: Remove existing implicit transition if duration is 0 + + When changing an implicit transition mid flight we may end up with an + easing state with a duration of zero milliseconds; this leads to the + implicit transition machinery setting the final state directly onto the + actor. If there is a running transition, though, we need to remove it + from the transitions table, otherwise it will keep running. + + This regression happened when the update_transition() internal function + was merged into the create_transition() one. + + Tested-by: Lionel Landwerlin + + clutter/clutter-actor.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 2ef148a2c91bc5d09028549868e86d30ab267bac +Author: Tomeu Vizoso +Date: Fri Aug 31 12:50:12 2012 +0200 + + gesture-action: Add API for cancelling a gesture + + and getters for sequences and devices of current points. It can be + used for accepting and rejecting sequences for system-wide gestures. + + https://bugzilla.gnome.org/show_bug.cgi?id=683090 + + clutter/clutter-gesture-action.c | 86 +++++++++++++++++++++++++++++++++++++++- + clutter/clutter-gesture-action.h | 64 ++++++++++++++++++------------ + clutter/clutter.symbols | 4 ++ + 3 files changed, 127 insertions(+), 27 deletions(-) + +commit 38b82cb22c7968e0a33be56ec3b0d376e2baa08d +Author: Jasper St. Pierre +Date: Thu Aug 30 16:48:44 2012 -0300 + + brightness-contrast-effect: Don't actually run if it will have no effect + + Don't run the shader and redirect to an FBO if it won't actually do anything. + This saves us on resources a ton. + + https://bugzilla.gnome.org/show_bug.cgi?id=683066 + + clutter/clutter-brightness-contrast-effect.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit b2b22dbe6c246e45206ed6d4029f97594861e4dc +Author: Emmanuele Bassi +Date: Sun Sep 2 22:48:52 2012 +0100 + + x11/device-manager-xi2: Put XIPointerEmulated under conditionals + + There are a couple of debugging messages using XInput 2.2 symbols + unconditionally, and it breaks builds on older systems. + + https://bugzilla.gnome.org/show_bug.cgi?id=683219 + + clutter/x11/clutter-device-manager-xi2.c | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +commit 51f3eb06e30e196f8420d11dafa661f5a88335c8 +Author: Piotr Drąg +Date: Sat Sep 1 21:18:28 2012 +0200 + + Updated Polish translation + + po/pl.po | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit b2a10b9a00884adcefe8ce20a420af074013fc47 +Author: Ihar Hrachyshka +Date: Thu Aug 30 16:04:38 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 731 ++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 415 insertions(+), 316 deletions(-) + +commit a8468ac43aa9c2d562b02653ce23747f1817fb14 +Author: Fran Diéguez +Date: Wed Aug 29 00:06:38 2012 +0200 + + Updated Galician translations + + po/gl.po | 552 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 305 insertions(+), 247 deletions(-) + +commit 9fe251d9d4c3c7bc344fdb1cd8440cae30783a44 +Author: Aurimas Černius +Date: Tue Aug 28 21:55:07 2012 +0300 + + Updated Lithuanian translation + + po/lt.po | 479 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 244 insertions(+), 235 deletions(-) + +commit 02c8a7edf2a99983f41a82237198c3456582d0b3 +Author: Piotr Drąg +Date: Tue Aug 28 18:52:09 2012 +0200 + + Updated Polish translation + + po/pl.po | 365 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 199 insertions(+), 166 deletions(-) + +commit ac40bda0954a105e97a01e83daff458ba916aa79 +Author: Daniel Mustieles +Date: Tue Aug 28 16:06:08 2012 +0200 + + Updated Spanish translation + + po/es.po | 384 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 209 insertions(+), 175 deletions(-) + +commit 6e917f25d439f1fe2749bb11ce5212e13deb589e +Author: Emmanuele Bassi +Date: Tue Aug 28 14:46:40 2012 +0100 + + Update POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit 9ca06d2895154eb2c985b85df186db3ade1a5e1e +Author: Emanuele Aina +Date: Sat Aug 25 16:23:23 2012 +0200 + + pan-action: add PanAction, to handle panning in scrollable actors + + PanAction is a GestureAction-subclass that implements the panning + concept for scrollable actors, with the ability to emit interpolated + signals to emulate the kinetic inertia of the panning. PanAction provides: + + • pan signal, notifying users of the panning gesture status; + + • pan-stopped signal, emitted at the end of the interpolated phase + of the panning gesture, if enabled; + + • pan-axis property, to allow constraining the dragging to a specific + axis; + + • interpolated property, to enable or disable the inertial behaviour; + + • deceleration property, to customize the rate at which the momentum + of the panning will be slowed down; + + • acceleration-factor property, applied to the inertial momentum when + starting the interpolated sequence. + + An interactive test is also provided. + + https://bugzilla.gnome.org/show_bug.cgi?id=681648 + + clutter/Makefile.am | 2 + + clutter/clutter-enums.h | 19 + + clutter/clutter-marshal.list | 1 + + clutter/clutter-pan-action.c | 814 +++++++++++++++++++++++++++++ + clutter/clutter-pan-action.h | 137 +++++ + clutter/clutter.h | 1 + + clutter/clutter.symbols | 13 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 29 + + doc/reference/clutter/clutter.types | 1 + + examples/Makefile.am | 1 + + examples/pan-action.c | 127 +++++ + 12 files changed, 1146 insertions(+) + +commit 436ebb2716b24743b3873aa7b330073c48793b86 +Author: Emanuele Aina +Date: Sat Aug 25 16:04:24 2012 +0200 + + gesture-action: add _get_motion_delta()/_get_velocity() + + Add some accessors to simplify common tasks for GestureAction users: + + • clutter_gesture_action_get_motion_delta() to get the delta + on the X and Y axis in stage coordinates since the last motion + event, and the scalar distance travelled; + + • clutter_gesture_action_get_velocity() to get an estimate of the + speed of the last motion event along the X and Y axis and as a + scalar value in pixels per millisecond. + + https://bugzilla.gnome.org/show_bug.cgi?id=681648 + + clutter/clutter-gesture-action.c | 121 ++++++++++++++++++++++++++++- + clutter/clutter-gesture-action.h | 10 +++ + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 131 insertions(+), 4 deletions(-) + +commit e8e91b62c896223d8f7bc4421862b87ef002a972 +Author: Emanuele Aina +Date: Sat Aug 25 16:02:34 2012 +0200 + + gesture-action: add allow-none annotations to getters + + https://bugzilla.gnome.org/show_bug.cgi?id=681648 + + clutter/clutter-gesture-action.c | 16 ++++++++++------ + 1 file changed, 10 insertions(+), 6 deletions(-) + +commit 5b8c6eb84208041245d551076645780753267795 +Author: Nilamdyuti Goswami +Date: Mon Aug 27 23:03:20 2012 +0530 + + Implemented FUEL entries to Assamese translation + + po/as.po | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit d332255111cb763542252a0ba9af249407b63287 +Author: Andre Kuehne +Date: Wed Jul 18 20:57:00 2012 +0200 + + Fix clutter_table_layout_pack row/column count incrementation. + + When appending (with a negative row/column parameter), the row/column + count should be incremented by 1, not 2. This also fixes layout errors + when using column/row spacing: The amount of extra space required was + calculated incorrectly due to the wrong column count. + + https://bugzilla.gnome.org/show_bug.cgi?id=679990 + + clutter/clutter-table-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 59801ef854016cc85c6bcf8b6ed8a77081f433fb +Author: Emanuele Aina +Date: Fri Aug 10 20:47:46 2012 +0200 + + drag-action: fix press coords transform with drag_handle + + When setting a drag handle, transform the original press + coordinates using the drag handle as reference instead of the + associated actor. + + This causes the initial misplacement of drag handle in + example/drag-action when holding down the Shift key: the handle + gets placed at the main actor origin on the first drag event, + instead of following the mouse pointer. + + All subsequent motion events already use the right actor when + transforming the coordinates, thus they are not affected. + + https://bugzilla.gnome.org/show_bug.cgi?id=681746 + + clutter/clutter-drag-action.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 7b6ce3fd88596003444f0bbe293a6b8b42d773e5 +Author: Emanuele Aina +Date: Mon Aug 27 15:24:34 2012 +0200 + + Add missing types to the reference manual list + + Signed-off-by: Emmanuele Bassi + + doc/reference/clutter/clutter.types | 3 +++ + 1 file changed, 3 insertions(+) + +commit f4bd9a6a3b71092266515fe0f1cda86d4040ca56 +Author: Emanuele Aina +Date: Mon Aug 27 15:21:32 2012 +0200 + + Fix cookbook examples compilation + + Signed-off-by: Emmanuele Bassi + + doc/cookbook/examples/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8cf5c5959f4b199129147d72483038ab4732f131 +Author: Lionel Landwerlin +Date: Mon Aug 27 02:20:00 2012 +0100 + + rotate-action: fix wrong marshaller usage + + https://bugzilla.gnome.org/show_bug.cgi?id=682754 + + clutter/clutter-marshal.list | 2 +- + clutter/clutter-rotate-action.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit fe92acd64999368d36815f5b1bc47d9e88300c42 +Author: Lionel Landwerlin +Date: Mon Aug 27 13:00:36 2012 +0100 + + actor-iter: fix prev()/next() annotations + + https://bugzilla.gnome.org/show_bug.cgi?id=682795 + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 3937a7c74c67e7ef0de149c7b536a5cd15aa3124 +Author: Emmanuele Bassi +Date: Mon Aug 27 12:24:20 2012 +0100 + + actor: Setting the child-transform invalidates the children's modelview + + We need to ensure that the children's cached modelview matrix gets + invalidated when setting the :child-transform property on their parent. + + clutter/clutter-actor.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 1b155504c5a4c16e597656264e876f396b85beb4 +Author: Emmanuele Bassi +Date: Mon Aug 27 10:48:04 2012 +0100 + + actor: Call queue_redraw() when setting child-transform + + clutter/clutter-actor.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 6bf0b983af0f2a3959458a7261778c35d09b9722 +Author: Emmanuele Bassi +Date: Sat Aug 25 10:38:12 2012 +0100 + + actor: Deprecate the pick signal + + Just like we did for the paint signal; a warning will be emitted if the + diagnostic mode of GLib is enabled through the G_ENABLE_DIAGNOSTIC env + var. + + clutter/clutter-actor.c | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +commit a66da2b1031ebc7a98acaf82af160a2c14a91b15 +Author: Tom Tryfonidis +Date: Sun Aug 26 23:05:49 2012 +0300 + + Updated Greek translation + + po/el.po | 848 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 461 insertions(+), 387 deletions(-) + +commit 3fb8648b8431eaa6e31116a3aa554748f1cf49f1 +Author: Nilamdyuti Goswami +Date: Sun Aug 26 21:37:26 2012 +0530 + + Assamese translation updated + + po/as.po | 523 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 275 insertions(+), 248 deletions(-) + +commit 0413e1a68d6ee72d72ffe0e0f65a0fb57f0fe8ac +Author: Daniel Mustieles +Date: Thu Aug 23 17:39:32 2012 +0200 + + Updated Spanish translation + + po/es.po | 81 +++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 42 insertions(+), 39 deletions(-) + +commit f363097632fa93fddc9f269056fb8d505bf158c0 +Author: Piotr Drąg +Date: Wed Aug 22 22:13:57 2012 +0200 + + Updated Polish translation + + po/pl.po | 1845 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1053 insertions(+), 792 deletions(-) + +commit db5b664846dc6a86510493dc59271c47448a7083 +Author: Chao-Hsiung Liao +Date: Tue Aug 21 19:01:04 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 546 ++++++++++++++++++++++++++++++++---------------------------- + po/zh_TW.po | 546 ++++++++++++++++++++++++++++++++---------------------------- + 2 files changed, 586 insertions(+), 506 deletions(-) + +commit a7f28adce785b324d316a7912a5526d977ab79f5 +Author: Andika Triwidada +Date: Tue Aug 21 14:43:02 2012 +0700 + + Updated Indonesian translation + + po/id.po | 554 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 296 insertions(+), 258 deletions(-) + +commit 8f9b9713f2e451376730f08771a2250fa2a2845f +Author: Chun-wei Fan +Date: Tue Aug 21 15:26:48 2012 +0800 + + Visual C++: Don't disable warning C4819 + + The C4819 warnings appear due to a bug on Visual C++ when running on + non-English locales, specifically CJK versions/locales of Windows. + + Re-enable this, like what is done in GLib, and add a note in the + Visual C++ README.txt's to tell people about this, so that Cogl will be + built correctly. + + build/win32/vs10/README.txt | 7 +++++++ + build/win32/vs10/clutter.props | 2 +- + build/win32/vs9/README.txt | 7 +++++++ + build/win32/vs9/clutter.vsprops | 1 - + 4 files changed, 15 insertions(+), 2 deletions(-) + +commit dffe168f00ef7bf3277ec8b81c7e28bb04fcc66b +Author: Aurimas Černius +Date: Mon Aug 20 22:53:36 2012 +0300 + + Updated Lithuanian translation + + po/lt.po | 1909 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1084 insertions(+), 825 deletions(-) + +commit de1b2996ca176a57a3651a26d9e9d0cc2d12b11a +Author: Piotr Drąg +Date: Mon Aug 20 21:49:00 2012 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit 7b89b5de8c27a3d1800ce319e62cefc3276c9920 +Author: Emmanuele Bassi +Date: Mon Aug 20 20:31:07 2012 +0100 + + Post-release version bump to 1.11.13 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 062491cf11bed7f818b75d2c205c4d9bb093f993 +Author: Emmanuele Bassi +Date: Mon Aug 20 19:41:36 2012 +0100 + + Release Clutter 1.11.12 (snapshot) + + NEWS | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 78 insertions(+), 1 deletion(-) + +commit 6716cd10e3d92103e626364378d1b3cddf6b0cd6 +Author: Emmanuele Bassi +Date: Mon Aug 20 19:41:21 2012 +0100 + + docs: Add ZoomAction symbols to the sections file + + doc/reference/clutter/clutter-sections.txt | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + +commit 06ea2cf7b1d0a22985e3753e855b731cc52724a8 +Author: Emmanuele Bassi +Date: Mon Aug 20 18:56:20 2012 +0100 + + drag-action: Ensure that we can destroy the drag handle + + If the DragAction has a drag handle that gets destroyed inside the + ::drag-end signal handler, the destruction sequence will trigger a + callback we have in place to check if the handle is being destroyed + mid-drag, e.g. from a ::drag-motion event. + + The callback on the drag handle destruction will check if we are still + in the middle of a drag and emit the ::drag-end signal to allow cleaning + up; the callback erroneously uses the drag handle as the argument for + the emit_drag_end() function — instead of the actor to which the drag + action has been attached. Also, by the time we emit the ::drag-end, we + are not dragging the actor any more, so we shouldn't be emitted the + ::drag-end signal twice. + + The fix is, thus, made of two parts: + + - reset the in_drag boolean before emitting the ::drag-end signal + so that destroying the drag handle will not result in a double + signal emission; + + - use the correct actor when calling emit_drag_end(). + + https://bugzilla.gnome.org/show_bug.cgi?id=681814 + + clutter/clutter-drag-action.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 449dca803423992b48d35c4c1a8ec272c3c401bf +Author: Emmanuele Bassi +Date: Mon Aug 20 18:29:31 2012 +0100 + + docs: Add ZoomAction to the API reference + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter.types | 1 + + 2 files changed, 2 insertions(+) + +commit 84325057af82bb104180da01c8cb1789b71b4a9b +Author: Lionel Landwerlin +Date: Tue Aug 14 03:35:43 2012 +0100 + + Add zoom action + + https://bugzilla.gnome.org/show_bug.cgi?id=678427 + + clutter/Makefile.am | 6 +- + clutter/clutter-enums.h | 19 +- + clutter/clutter-marshal.list | 1 + + clutter/clutter-zoom-action.c | 510 ++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-zoom-action.h | 114 ++++++++++ + clutter/clutter.h | 1 + + clutter/clutter.symbols | 7 + + 7 files changed, 655 insertions(+), 3 deletions(-) + +commit c4a0f911b08ad5bce25433b1db8dd83bf6b25c28 +Author: Emmanuele Bassi +Date: Mon Aug 20 17:58:30 2012 +0100 + + examples/box: Allow toggling animations + + We need to set the easing duration to a positive value to let the + BoxLayout animate the allocation. + + examples/box-layout.c | 26 ++++++++++++++++++++++++-- + 1 file changed, 24 insertions(+), 2 deletions(-) + +commit d037890fc4a4d488a521af666ddcb3945fe64aff +Author: Tristan Van Berkom +Date: Tue Jul 31 12:29:49 2012 -0400 + + ClutterBoxLayout: Blessing with proper h4w geometry management + + The box layout was broken for height-for-width requests in the opposing orientation of the box. + + https://bugzilla.gnome.org/show_bug.cgi?id=679483 + + clutter/clutter-box-layout.c | 362 +++++++++++++++++++++++++++++-------------- + 1 file changed, 247 insertions(+), 115 deletions(-) + +commit 8536314dbff5212e7afac29343ef67c46dfb30b2 +Author: Emmanuele Bassi +Date: Mon Aug 20 14:47:53 2012 +0100 + + bin-layout: Ensure that fixed position get a 0.0 alignment + + If the actor has a fixed position set, but it's not using the BinLayout + alignment enumeration to set its alignment, then we force the alignment + factor to 0.0; this is consistent with what happens with an explicit + alignment of CLUTTER_BIN_ALIGNMENT_FIXED. + + https://bugzilla.gnome.org/show_bug.cgi?id=682265 + + clutter/clutter-bin-layout.c | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +commit 044c04ea8bba9f4ca545fb0c76bf981f6bac7932 +Author: Emmanuele Bassi +Date: Mon Aug 20 14:28:17 2012 +0100 + + docs: Add ClutterAnimation migration docs + + doc/reference/clutter/Makefile.am | 10 +- + doc/reference/clutter/clutter-docs.xml.in | 1 + + .../clutter/migrating-ClutterAnimation.xml | 139 +++++++++++++++++++++ + 3 files changed, 146 insertions(+), 4 deletions(-) + +commit 6771e3ea157d5eb32d851e13de501a001f48088f +Author: Daniel Mustieles +Date: Mon Aug 20 14:13:09 2012 +0200 + + Updated Spanish translation + + po/es.po | 554 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 297 insertions(+), 257 deletions(-) + +commit cccb3709dd8558fb33ffbedba270ce9baddffbd1 +Author: Duarte Loreto +Date: Sun Aug 19 22:31:02 2012 +0100 + + Updated Portuguese translation + + po/pt.po | 1825 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1035 insertions(+), 790 deletions(-) + +commit f996c6e061d9953d103f18b74eb4149dc1c85763 +Author: Emmanuele Bassi +Date: Sun Aug 19 17:57:32 2012 +0100 + + docs: Add missing symbols to the sections file + + doc/reference/clutter/clutter-sections.txt | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit ffe32426b8f664bef9b11c21e155c4b0aaf0cfe1 +Author: Emmanuele Bassi +Date: Thu Aug 16 17:10:50 2012 +0100 + + actor: Add the :child-transform property + + An additional transformation that is applied to the children of an actor + before their own transformations, but not to the actor itself. + + clutter/clutter-actor-private.h | 3 + + clutter/clutter-actor.c | 136 +++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 6 ++ + clutter/clutter.symbols | 4 +- + 4 files changed, 146 insertions(+), 3 deletions(-) + +commit f7dd2d374661003e0855b5d33d270381895b1cbf +Author: Emmanuele Bassi +Date: Thu Aug 16 16:13:38 2012 +0100 + + matrix: Fix the init_with_matrix() implementation + + As usual, I swapped the memcpy() arguments around. + + clutter/clutter-base-types.c | 8 +++----- + clutter/clutter-types.h | 12 ++++++------ + 2 files changed, 9 insertions(+), 11 deletions(-) + +commit e9bcb4cf6ead0f7066de2e2eb14a4a5ad5f04a05 +Author: Emmanuele Bassi +Date: Fri Aug 17 19:52:56 2012 +0100 + + text: Clean up button press handling + + Event handling should only apply to editable ClutterText actors, but we + also have the :selectable property to care about. + + The button/touch press should position the cursor inside an editable + ClutterText; the :selectable property should be used to allow selecting + the text, either through pointer or touch dragging, via the keyboard, or + by multiple pointer clicks. If neither of these two conditions are met, + the ClutterText should just propagate the event handling further. + + clutter/clutter-text.c | 27 ++++++++++++++++++--------- + 1 file changed, 18 insertions(+), 9 deletions(-) + +commit aeb7c6926b1ca05601b4adc3cfadd9d21ebbe183 +Author: Emmanuele Bassi +Date: Fri Aug 17 19:20:21 2012 +0100 + + Fix segfault when enabling debugging notes + + clutter/clutter-input-device.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +commit b8a00aa881b6882b6128cbea187a2f1ae68b3215 +Author: Fran Diéguez +Date: Fri Aug 17 23:13:25 2012 +0200 + + Updated Galician translations + + po/gl.po | 465 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 234 insertions(+), 231 deletions(-) + +commit f5a620ed3bd9d7d86bb51c8ec7c7102c016e89e2 +Author: Jasper St. Pierre +Date: Wed Jul 25 13:34:03 2012 -0300 + + clutter-text: Make sure to paint the background of a text actor + + https://bugzilla.gnome.org/show_bug.cgi?id=682070 + + clutter/clutter-text.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit 4a2f35fb8823cc1e692359a69946085aec1a71df +Author: Мирослав Николић +Date: Fri Aug 17 09:34:36 2012 +0200 + + Updated Serbian translation + + po/sr.po | 448 ++++++++++++++++++++++++++++++--------------------------- + po/sr@latin.po | 448 ++++++++++++++++++++++++++++++--------------------------- + 2 files changed, 474 insertions(+), 422 deletions(-) + +commit 4a95e1d4a3805eabf96293b326798f022c1a25e6 +Author: Fran Diéguez +Date: Thu Aug 16 23:24:08 2012 +0200 + + Updated Galician translations + + po/gl.po | 58 +++++++++++++++++++++++++++++++++++++++++----------------- + 1 file changed, 41 insertions(+), 17 deletions(-) + +commit 3a718133464de1139eaf2db548d9af33849f65dc +Author: Nilamdyuti Goswami +Date: Thu Aug 16 22:19:21 2012 +0530 + + Assamese translation updated + + po/as.po | 96 ++++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 57 insertions(+), 39 deletions(-) + +commit f99d48a0c6f618720aba73c3bc7e18f6066cb1e9 +Author: Giovanni Campagna +Date: Sat Aug 4 00:13:04 2012 +0200 + + ClutterDragAction: allow constraining the movement of the dragged actor + + Allow setting a ClutterRect on the drag action and force the + dragged actor's position to be always within that rectangle (relative + to the actor's parent). + + https://bugzilla.gnome.org/show_bug.cgi?id=681168 + + clutter/clutter-drag-action.c | 119 ++++++++++++++++++++++++++++- + clutter/clutter-drag-action.h | 8 ++ + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 130 insertions(+), 1 deletion(-) + +commit b62797d23a43871fb97f548c571ffc95bd0c1d68 +Author: Daniel Mustieles +Date: Thu Aug 16 16:08:02 2012 +0200 + + Updated Spanish translation + + po/es.po | 409 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 208 insertions(+), 201 deletions(-) + +commit b6e8f9d61ef4e11ab04293498bf2c8d8e14adfe4 +Author: Emmanuele Bassi +Date: Thu Aug 16 11:37:20 2012 +0100 + + Remove (constructor) annotation + + ClutterMatrix is an alias to CoglMatrix, and g-ir-scanner complains if + a function marked as a constructor does not return the correct type. + + clutter/clutter-base-types.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 803b3bafb617c2df703aa8b834ff0df2f0c5c26c +Author: Emmanuele Bassi +Date: Wed Aug 15 17:15:06 2012 +0100 + + Associate the device to a stage on touch events + + Just like we do for crossing events, we need to update the stage pointer + inside ClutterInputDevice on TOUCH_BEGIN and TOUCH_END. + + https://bugzilla.gnome.org/show_bug.cgi?id=681074 + + clutter/clutter-main.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit 6a13a5bd3c00801b368df1638f856eee9e069fbd +Author: Chao-Hsiung Liao +Date: Wed Aug 15 15:07:15 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 410 +++++++++++++++++++++++++++++++----------------------------- + po/zh_TW.po | 408 ++++++++++++++++++++++++++++++----------------------------- + 2 files changed, 417 insertions(+), 401 deletions(-) + +commit ed51f0054ec796a65c31619446806c5b01f1142b +Author: Daniel Korostil +Date: Tue Aug 14 22:24:42 2012 +0300 + + Uploaded Ukranian + + po/uk.po | 1809 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1026 insertions(+), 783 deletions(-) + +commit 8fc5f72a337eeff52753bf4bf8edfedef8be338a +Author: Nilamdyuti Goswami +Date: Mon Aug 13 13:35:56 2012 +0530 + + Assamese translation updated + + po/as.po | 441 ++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 208 insertions(+), 233 deletions(-) + +commit 480fb65c42a9d1d91adfd074ef8d8937d6eae90f +Author: Dirgita +Date: Mon Aug 13 05:56:22 2012 +0700 + + Updated Indonesian translation + + po/id.po | 726 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 368 insertions(+), 358 deletions(-) + +commit 260d8fc0973f9a35d5252a8f6d6223190275f2ac +Author: Emmanuele Bassi +Date: Sun Aug 12 19:21:22 2012 +0100 + + backend: Include deprecated header + + To avoid compiler warnings. + + clutter/clutter-backend.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 202d95d180713968ac807d9b446c1a89e6177433 +Author: Emmanuele Bassi +Date: Sun Aug 12 19:19:02 2012 +0100 + + rotate-action: Use the correct accumulator + + The boolean_handled accumulator will stop the signal emission if TRUE is + returned by a signal handler; the boolean_continue accumulator will stop + the signal emission if FALSE is returned. The first one is used for + event-related signals, while the latter is used for action-related + signals. + + clutter/clutter-rotate-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 00f7fc4e58f52386a432613e409dde389b77d7bf +Author: Emmanuele Bassi +Date: Fri Aug 10 14:06:49 2012 +0100 + + stage: Do not use get_allocation_geometry() + + Second try, after testing. + + Tested-by: Rico Tzschichholz + + clutter/clutter-stage.c | 44 ++++++++++++++++++++++++-------------------- + 1 file changed, 24 insertions(+), 20 deletions(-) + +commit 44661902bd28d08ce4ced16f65e0f992792012c9 +Author: Emmanuele Bassi +Date: Sun Aug 12 09:29:29 2012 +0100 + + Revert "stage: Do not use get_allocation_geometry()" + + This reverts commit ef1bb42a86263f766d49335fb09aa87655fa255d. + + Apparently, it broke GNOME Shell, so let's back it out first and try to + figure out why. + + clutter/clutter-stage.c | 31 +++++++++++++++---------------- + 1 file changed, 15 insertions(+), 16 deletions(-) + +commit 93a43f879dc85f6103f01d3da04bef01a29d9eb6 +Author: Emmanuele Bassi +Date: Thu Aug 9 01:33:16 2012 +0100 + + Deprecate ClutterActor::paint + + Only the signal connection. When using G_ENABLE_DIAGNOSTIC there will be + a warning for every signal connection. + + We should try and discourage people from ever using the paint signal + ever again, until we can safely remove it in Clutter 2.0. + + clutter/clutter-actor.c | 19 ++++++++++++++----- + 1 file changed, 14 insertions(+), 5 deletions(-) + +commit 3e4277c2e85d51dca327ec4c08ee2a31c1eb9883 +Author: Emmanuele Bassi +Date: Fri Aug 10 14:28:48 2012 +0100 + + base-types: Add (constructor) annotations + + The alloc() functions are the constructors for their types, so it's + better to have the introspection data match the intent of the API. + + clutter/clutter-base-types.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 903452d2dfd357e1f6e59b94fc33c6a192415235 +Author: Sjoerd Simons +Date: Fri Jun 22 11:43:52 2012 +0200 + + interactive/touch-events: Optimize touch event drawing + + The current versions redraws all events on every redraw, which starts + getting very slow quickly. Instead simply draw only the new events + except when the cairo surface got reset, in that case redraw all events + again. + + https://bugzilla.gnome.org/show_bug.cgi?id=681584 + + tests/interactive/test-touch-events.c | 33 ++++++++++++++++++++++++++++----- + 1 file changed, 28 insertions(+), 5 deletions(-) + +commit 5b7c61a026bc46a646fc28f147540669a9b555c2 +Author: Emmanuele Bassi +Date: Fri Aug 10 14:17:56 2012 +0100 + + actor: Deprecate Geometry-related API + + We cannot fully deprecate Geometry, because ClutterActor and ClutterText + are actually using the type in signals and properties; but we can + deprecate the API that uses this type, so that 2.0 will be able to avoid + it entirely. + + clutter/clutter-actor.c | 90 -------------------------- + clutter/clutter-actor.h | 2 - + clutter/clutter-paint-volume.c | 2 +- + clutter/deprecated/clutter-actor-deprecated.c | 93 +++++++++++++++++++++++++++ + clutter/deprecated/clutter-actor.h | 4 ++ + clutter/deprecated/clutter-rectangle.c | 3 +- + 6 files changed, 100 insertions(+), 94 deletions(-) + +commit ef1bb42a86263f766d49335fb09aa87655fa255d +Author: Emmanuele Bassi +Date: Fri Aug 10 14:06:49 2012 +0100 + + stage: Do not use get_allocation_geometry() + + It's pointless, and it will be deprecated soon. + + clutter/clutter-stage.c | 31 ++++++++++++++++--------------- + 1 file changed, 16 insertions(+), 15 deletions(-) + +commit 699a1876d4ee63412b9348b695cf372d4e174a74 +Author: Emmanuele Bassi +Date: Fri Aug 10 14:06:14 2012 +0100 + + clone: Do not use get_allocation_geometry() + + Another nail in ClutterGeometry's coffin. + + clutter/clutter-clone.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 7a59b69f96891cd18ed2c52dd939c47e7a82767e +Author: Emmanuele Bassi +Date: Fri Aug 10 12:58:22 2012 +0100 + + actor: Deprecate :clip and introduce :clip-rect instead + + The :clip property still uses ClutterGeometry, which is a very bad + rectangle type. Since we cannot change the type of the property + compatibly, we should introduce a new property using ClutterRect + instead. This also matches the ClutterActor.set_clip() API, which uses a + decomposed rectangle with floating point values, like we do with + set_position() and set_size(). + + clutter/clutter-actor.c | 130 ++++++++++++++++++++++++++++++++++-------------- + 1 file changed, 93 insertions(+), 37 deletions(-) + +commit 9515cc5b94a127e59cd9da2b40954d2eaf38c372 +Author: Emmanuele Bassi +Date: Thu Aug 9 17:50:44 2012 +0100 + + docs: Fix the link to set_content_gravity() + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 97755882c16adcbefa2065e4ab3b07d225e50fd4 +Author: Emmanuele Bassi +Date: Thu Aug 9 17:11:10 2012 +0100 + + bin-layout: Use ClutterActor:fixed-position-set + + Instead of only relying on the (now) deprecated BinAlignment.FIXED + enumeration value, we just ask the actor if a fixed position has been + explicitly set, under the assumption that if a developer decided to call + set_x(), set_y(), or set_position() on an actor inside a BinLayout then + she wanted the fixed position to be honoured. + + This removes the last (proper) use of the BinAlignment enumeration. + + clutter/clutter-bin-layout.c | 31 +++++++++++++++++++++++-------- + 1 file changed, 23 insertions(+), 8 deletions(-) + +commit f5760842773f9db3b6cca436b921b97b52699171 +Author: Emmanuele Bassi +Date: Thu Aug 9 16:56:19 2012 +0100 + + docs: Warn users of ClutterGeometry + + The Geometry type is an *awful* representation of a integer rectangle, + as it uses unsigned integers for its size, leading to overflow issues + when unioning and intersecting. We have better rectangle types in + Cairo and Clutter, these days. + + clutter/clutter-types.h | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 46211a65db186e1af66cfa1e5ebaafddcb8a560c +Author: Emmanuele Bassi +Date: Thu Aug 9 16:55:41 2012 +0100 + + types: Add INIT_ZERO macro for ActorBox + + Last type that was missing this macro. + + clutter/clutter-types.h | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit 97ed8e76d7c640e735372255f793881b614e1edb +Author: Emmanuele Bassi +Date: Thu Aug 9 16:54:37 2012 +0100 + + docs: Fix up deprecation notes for animate() + + Instead of pointing to PropertyTransition, point to the implicit + animation support in ClutterActor. + + clutter/deprecated/clutter-animation.c | 20 ++++++++++++++------ + 1 file changed, 14 insertions(+), 6 deletions(-) + +commit 2c20de007124d24d7f43edf214e92eca60b73f66 +Author: Nilamdyuti Goswami +Date: Wed Aug 8 13:21:08 2012 +0530 + + Assamese translation updated + + po/as.po | 1817 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1024 insertions(+), 793 deletions(-) + +commit b58f00cb9a266aef640ebbb65d706ed609ae6452 +Author: Emmanuele Bassi +Date: Tue Aug 7 09:58:23 2012 +0100 + + Post-release version bump to 1.11.11 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8b2d70e6e45d92753ea3bd97edd0aa51766d652a +Author: Emmanuele Bassi +Date: Tue Aug 7 09:42:21 2012 +0100 + + Release Clutter 1.11.10 (snapshot) + + NEWS | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 70 insertions(+), 1 deletion(-) + +commit d8fddbf780f6ecb1a3fb5612a431cc2c04cf7dbe +Author: Emmanuele Bassi +Date: Tue Aug 7 09:45:35 2012 +0100 + + build: Include top builddir for cookbook examples + + doc/cookbook/examples/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 5461483df6268b96bfbd995cdcaf79086c61b1dd +Author: Emmanuele Bassi +Date: Tue Aug 7 09:39:04 2012 +0100 + + Documentation build fixes + + clutter/clutter-rotate-action.h | 2 +- + doc/reference/clutter/Makefile.am | 1 + + doc/reference/clutter/clutter-sections.txt | 38 ++++++++++++++++++++++-------- + 3 files changed, 30 insertions(+), 11 deletions(-) + +commit ca5e4649805d7b481bb1edd8830a5214ef7a1aa7 +Author: Chao-Hsiung Liao +Date: Tue Aug 7 13:17:30 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 464 +++++++++++++++++++++++++++++++----------------------------- + po/zh_TW.po | 462 ++++++++++++++++++++++++++++++----------------------------- + 2 files changed, 479 insertions(+), 447 deletions(-) + +commit b8cc17fc45a24c4ea62cbf593702fba91bd54ed3 +Author: Tom Tryfonidis +Date: Mon Aug 6 18:09:01 2012 +0300 + + Updated Greek translation + + po/el.po | 483 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 242 insertions(+), 241 deletions(-) + +commit fc635d19444fc8a71c5edfeadf63063d69a55d96 +Author: Мирослав Николић +Date: Wed Aug 1 08:52:52 2012 +0200 + + Updated Serbian translation + + po/sr.po | 462 ++++++++++++++++++++++++++++++--------------------------- + po/sr@latin.po | 462 ++++++++++++++++++++++++++++++--------------------------- + 2 files changed, 480 insertions(+), 444 deletions(-) + +commit 41ed9023eb29600f2a3871e4321d49eb975b9d6f +Author: Emmanuele Bassi +Date: Mon Jul 30 12:33:24 2012 +0100 + + build: Fix out of tree builds + + examples/Makefile.am | 1 + + tests/accessibility/Makefile.am | 1 + + tests/conform/Makefile.am | 3 ++- + tests/interactive/Makefile.am | 1 + + tests/micro-bench/Makefile.am | 7 +++---- + tests/performance/Makefile.am | 3 ++- + 6 files changed, 10 insertions(+), 6 deletions(-) + +commit 81cbb33cc5fed835ff4af8a8bacc366809d628dd +Author: Emmanuele Bassi +Date: Sun Jul 29 13:53:06 2012 +0100 + + build: Some warnings should always stop compilation + + Not every single one, but things that we care about to avoid breaking + build on other platforms, or for security issues, should not be allowed. + + We should not force everyone to use -Werror, though; and we should still + allow building Clutter without any special flag. + + configure.ac | 19 +++++++++++++------ + 1 file changed, 13 insertions(+), 6 deletions(-) + +commit 3649e5d8288e9ae33b4544f8be9e3cfe14f9b5a9 +Author: Emmanuele Bassi +Date: Sun Jul 29 13:51:23 2012 +0100 + + examples/basic: Use the event type and not a flag + + In order to identify whether the crossing event is an enter or a leave, + we should use the ClutterEventType enumeration, not attach a value to + the signal handler. + + examples/basic-actor.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +commit 9f83b64182f03025be3a785e2737ec56c1a6555c +Author: Emmanuele Bassi +Date: Sat Jul 28 17:40:57 2012 +0100 + + build: Move config.h under clutter/ + + We should not have header files in the project root. + + Makefile.am | 2 -- + build/win32/vs10/clutter.props | 8 ++++---- + build/win32/vs9/clutter.vsprops | 8 ++++---- + clutter/Makefile.am | 6 ++++++ + config.h.win32.in => clutter/config.h.win32.in | 0 + configure.ac | 4 ++-- + 6 files changed, 16 insertions(+), 12 deletions(-) + +commit 0df23b7fd6d3a2a612ff76c08f98e3603e0b9737 +Author: Fran Diéguez +Date: Mon Jul 30 02:38:51 2012 +0200 + + Updated Galician translations + + po/gl.po | 462 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 239 insertions(+), 223 deletions(-) + +commit db74b184db8c7d29e9c10ca5e6860c3822b45fb6 +Author: Lionel Landwerlin +Date: Sat Jul 28 15:48:56 2012 +0200 + + events: process CLUTTER_TOUCH_CANCEL + + These events might be emitted from the window manager/compositor, they + need to be transmitted to widgets. + + https://bugzilla.gnome.org/show_bug.cgi?id=680752 + + clutter/clutter-main.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 86e064597e951a3c4d9864c7e7403256d13f5329 +Author: Lionel Landwerlin +Date: Sat Jul 28 15:36:23 2012 +0200 + + events: honour clutter_stage_set_motion_events_enabled() for touch events + + When dragging/scrolling using touch events, we want the same behaviour + than for motion events. We need to honor the user's calls to + clutter_stage_set_motion_events_enabled() to deactive event + bubbling/captured sequences on the actor located under the pointer and + just transmit events to the stage/grab actor. + + https://bugzilla.gnome.org/show_bug.cgi?id=680751 + + clutter/clutter-main.c | 34 +++++++++++++++++++++++++++++++++- + 1 file changed, 33 insertions(+), 1 deletion(-) + +commit fc04f015a6df2e3b5d245698a73240ca38b889ac +Author: Emmanuele Bassi +Date: Sun Jul 29 13:39:13 2012 +0100 + + gdk: Fix compilation on non-X11 platforms + + The GDK backend may not work on non-X11 platforms, yet, but it's not a + good reason to let it introduce random build breakage. + + clutter/gdk/clutter-backend-gdk.c | 2 ++ + clutter/gdk/clutter-event-gdk.c | 3 ++- + clutter/gdk/clutter-stage-gdk.c | 5 +++-- + 3 files changed, 7 insertions(+), 3 deletions(-) + +commit 228b74f6247a353d6c8c0720e9faf0c9dbbc4014 +Author: Daniel Mustieles +Date: Fri Jul 27 11:31:46 2012 +0200 + + Updated Spanish translation + + po/es.po | 473 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 240 insertions(+), 233 deletions(-) + +commit a4d1e6f6f117c477750c1df32bdab94596462ca2 +Author: Emmanuele Bassi +Date: Sun Jul 22 10:52:46 2012 +0100 + + actor: Ensure the invariants of transition-stopped + + We need to make sure that ClutterActor::transition-stopped is emitted + after the transition was removed from the actor's list of transitions. + + We cannot just remove the TransitionClosure from the hash table that + holds the transitions associated to an actor, and let the + TransitionClosure free function stop the timeline, thus emitting the + ::transition-stopped signal - otherwise, stopping the timeline will end + up trying to remove the transition from the hash table, and we'll get + either a warning or a segfault. + + Since we know we're removing the timeline anyway, we can emit the signal + ourselves in case the timeline is playing, in both the implicit and + explicit cases. + + clutter/clutter-actor.c | 66 ++++++++++++++++++++++++++++++++++++++++--------- + 1 file changed, 55 insertions(+), 11 deletions(-) + +commit 25878c6c13778596d3583b9547edf8896614b26d +Author: Emmanuele Bassi +Date: Sun Jul 22 10:41:41 2012 +0100 + + interactive/keyframe: Use transition-stopped signal + + tests/interactive/test-keyframe-transition.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit 17860b128ed9dba0cdc7adc1c4f1349c3a29647a +Author: Emmanuele Bassi +Date: Sat Jul 21 14:18:30 2012 -0400 + + Annotate things to be removed/changed for 2.0 + + Lest we forget, like we did during the 0.9 → 1.0 cycle. + + clutter/clutter-actor.c | 61 +++++++++++++++++++++++++------------------------ + 1 file changed, 31 insertions(+), 30 deletions(-) + +commit 178e6b2294a457c78566204dfa17d907341f81c9 +Author: Emmanuele Bassi +Date: Fri Jul 20 16:56:43 2012 -0400 + + Add ClutterActor.transform + + The :transform property controls the modelview matrix of an actor; it + can be used to set a custom modelview matrix on the actor, as opposed + to the decomposed transformations (rotation, scaling, translation) + provided by the ClutterActor class. + + clutter/clutter-actor-private.h | 3 + + clutter/clutter-actor.c | 174 +++++++++++++++++++++++++++++++++---- + clutter/clutter-actor.h | 10 ++- + clutter/clutter.symbols | 2 + + clutter/deprecated/clutter-actor.h | 3 + + 5 files changed, 172 insertions(+), 20 deletions(-) + +commit 25ba5374fe55da9ef6c2c814e43b0ee7e40b73dc +Author: Emmanuele Bassi +Date: Sat Jul 21 13:46:47 2012 -0400 + + types: Add ClutterMatrix + + A simple typedef to CoglMatrix, that we can use for GObject properties + and signal marshallers, without requiring Cogl to change. + + clutter/clutter-base-types.c | 117 +++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-types.h | 15 +++++- + clutter/clutter.symbols | 6 +++ + 3 files changed, 137 insertions(+), 1 deletion(-) + +commit 3f732cdc2b3de58b611174e4266e175f9b1e431e +Author: Emmanuele Bassi +Date: Sat Jul 21 13:33:02 2012 -0400 + + actor: Ensure that we remove only implicit transitions + + The transitions we create implicitly should be removed from the set of + transitions associated to an actor; the transitions explicitly + associated to an actor, though, have to survive the emission of their + 'stopped' signal. + + clutter/clutter-actor.c | 112 +++++++++++++++++++++++++++--------------------- + 1 file changed, 63 insertions(+), 49 deletions(-) + +commit ee00e37bc4cfa067e09e4fecbdf5765b198d6ce1 +Author: Emmanuele Bassi +Date: Sat Jul 21 13:16:37 2012 -0400 + + actor: Simplify the implicit transition handling + + We can remove the update_transition() private method, and move its + functionality inside the create_transition() private method, thereby + removing lots of duplicated code, as well as redundant checks on the + existence of a transition. This will allow handling transition updates + atomically in the future. + + clutter/clutter-actor-private.h | 3 - + clutter/clutter-actor.c | 620 +++++++++++++--------------------------- + 2 files changed, 201 insertions(+), 422 deletions(-) + +commit 28c2eeef951207f73f5c2584b3a471271ccdbdcf +Author: Emmanuele Bassi +Date: Sat Jul 21 12:49:53 2012 -0400 + + actor: Add ::transition-stopped + + The ::transition-stopped signal can be used to get notification of the + end of a transition. + + clutter/clutter-actor.c | 97 ++++++++++++++++++++++++++++++++++++++------ + clutter/clutter-marshal.list | 1 + + examples/basic-actor.c | 27 ++++++------ + 3 files changed, 99 insertions(+), 26 deletions(-) + +commit e0e5ab9dd49374e6e81b5b80df0e611345192f88 +Author: Мирослав Николић +Date: Wed Jul 25 08:25:44 2012 +0200 + + Updated Serbian translation + + po/sr.po | 1772 +++++++++++++++++++++++++++++++------------------------- + po/sr@latin.po | 1772 +++++++++++++++++++++++++++++++------------------------- + 2 files changed, 1944 insertions(+), 1600 deletions(-) + +commit 2a39c6b5345bd75a2157c7b6354b63710404cbd0 +Author: Tom Tryfonidis +Date: Tue Jul 24 18:18:26 2012 +0300 + + Updated Greek translation + + po/el.po | 1265 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 651 insertions(+), 614 deletions(-) + +commit 5a43f6b89530e83a9301832c56816547b820949d +Author: Emmanuele Bassi +Date: Thu Jul 19 21:57:26 2012 -0400 + + examples/easing-modes: Use newly added modes + + Step and cubic bezier. + + examples/easing-modes.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 12c75e9737152f91c440c935c0393f5ee9ef473f +Author: Emmanuele Bassi +Date: Thu Jul 19 21:55:35 2012 -0400 + + timeline: Add cubic-bezier() progress functions + + Another progress function from the CSS3 Transitions specification, using + a parametrices cubic bezier curve between (0, 0) and (1, 1) with two + control points. + + (sadly, no ASCII art can approximate a cubic bezier, so no graph) + + The cubic-bezier() progress function comes with a bunch of preset easing + modes: ease, ease-in, ease-out, and ease-in-out, that we can map to + enumeration values. + + clutter/clutter-easing.c | 72 +++++++++++++++++++++++++++ + clutter/clutter-easing.h | 7 +++ + clutter/clutter-enums.h | 19 ++++++- + clutter/clutter-timeline.c | 103 ++++++++++++++++++++++++++++++++++++++ + clutter/clutter-timeline.h | 120 ++++++++++++++++++++++++--------------------- + clutter/clutter.symbols | 2 + + 6 files changed, 266 insertions(+), 57 deletions(-) + +commit 4546f844080672580c469d75168630b737419c17 +Author: Emmanuele Bassi +Date: Thu Jul 19 19:47:48 2012 -0400 + + timeline: Add support for step() progress + + The CSS3 Transitions specification from the W3C defines the possibility + of using a parametrized step() timing function, with the following + prototype: + + steps(n_steps, [ start | end ]) + + where @n_steps represents the number of steps used to divide an interval + between 0 and 1; the 'start' and 'end' tokens describe whether the value + change should happen at the start of the transition, or at the end. + + For instance, the "steps(3, start)" timing function has the following + profile: + + 1 | x + | | + | x---| + | ' | + | x---' | + | ' | + 0 |---' | + + Whereas the "steps(3, end)" timing function has the following profile: + + 1 | x---| + | ' | + | x---' | + | ' | + x---' | + | | + 0 | | + + Since ClutterTimeline uses an enumeration for controlling the progress + mode, we need additional API to define the parameters of the steps() + progress; for this reason, we need a CLUTTER_STEPS enumeration value, + and a method for setting the number of steps and the value transition + policy. + + The CSS3 Transitions spec helpfully also defines a step-start and a + step-end shorthands, which expand to step(1, start) and step(1, end) + respectively; we can provide a CLUTTER_STEP_START and CLUTTER_STEP_END + enumeration values for those. + + clutter/clutter-easing.c | 27 ++++++++++ + clutter/clutter-easing.h | 9 ++++ + clutter/clutter-enums.h | 31 +++++++++++ + clutter/clutter-timeline.c | 96 +++++++++++++++++++++++++++++++++ + clutter/clutter-timeline.h | 8 +++ + clutter/clutter.symbols | 3 ++ + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 2 + + tests/conform/timeline-progress.c | 110 ++++++++++++++++++++++++++++++++++++++ + 9 files changed, 287 insertions(+) + +commit d7eb57a7115f7979ac6ad83fd9cc9d0ce3db7900 +Author: Emmanuele Bassi +Date: Thu Jul 19 14:18:09 2012 -0400 + + interactive/animation: Use pivot point + + Instead of the anchor point and the rotation center. + + tests/interactive/test-animation.c | 8 +++----- + 1 file changed, 3 insertions(+), 5 deletions(-) + +commit b10e7057ad9611601b0110a36df19189599b0c68 +Author: Emmanuele Bassi +Date: Thu Jul 19 13:58:50 2012 -0400 + + actor: Consolidate rotation angle internal setter + + Use the GParamSpec, instead of the rotation axis enumeration, to + simplify the caller code, similarly to how we handle scaling and + translation factors. + + clutter/clutter-actor.c | 58 ++++++++++++++++--------------------------------- + 1 file changed, 19 insertions(+), 39 deletions(-) + +commit f99abad4a43ebeb103766c24a8f45ca4d8066462 +Author: Emmanuele Bassi +Date: Wed Jul 18 17:23:35 2012 -0400 + + Split off LayoutManager deprecated functions to a separate file + + This should make it easier to clean up later when we branch off for + 1.99. + + clutter/Makefile.am | 1 + + clutter/clutter-layout-manager.c | 91 ++-------------------- + .../deprecated/clutter-layout-manager-deprecated.c | 89 +++++++++++++++++++++ + 3 files changed, 97 insertions(+), 84 deletions(-) + +commit 9faed5eba466f09d89558600624997f41818fb3f +Author: Emmanuele Bassi +Date: Wed Jul 18 17:15:13 2012 -0400 + + docs: Add missing section for ClutterRotateAction + + doc/reference/clutter/clutter-docs.xml.in | 1 + + 1 file changed, 1 insertion(+) + +commit 1c03be7346ba0c72518ee1972674007a2417c2a2 +Author: Emmanuele Bassi +Date: Wed Jul 18 10:32:53 2012 -0400 + + event: Expose is-pointer-emulated flag + + Clutter on X11 already stores this flag to distinguish between events + that have been synthesized by the X server and real events. + + https://bugzilla.gnome.org/show_bug.cgi?id=680174 + + clutter/clutter-event.c | 23 +++++++++++++++++++++++ + clutter/clutter-event.h | 2 ++ + clutter/clutter.symbols | 1 + + 3 files changed, 26 insertions(+) + +commit a8fcd4dfae3f5f9ee0f6c8d74deb8bca210b2e26 +Author: Emanuele Aina +Date: Wed Jul 18 18:28:24 2012 +0200 + + event: Copy the is-pointer-emulated flag + + https://bugzilla.gnome.org/show_bug.cgi?id=680174 + + clutter/clutter-event.c | 1 + + 1 file changed, 1 insertion(+) + +commit 31b8b2e22ff4f88dc28af7a963e900c86107049e +Author: Emmanuele Bassi +Date: Wed Jul 18 13:05:10 2012 -0400 + + x11: Add debug notes for pointer-emulated + + clutter/x11/clutter-device-manager-xi2.c | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +commit 9b4f13c15a1b531696dd741f88142654f227f7f7 +Author: Emmanuele Bassi +Date: Tue Jul 17 17:41:04 2012 -0400 + + input-device: Fix introspection annotation + + The event sequence can be %NULL. + + clutter/clutter-input-device.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit 08da111f5e1e2f39273cac34dc7df75d082060a6 +Author: Emmanuele Bassi +Date: Tue Jul 17 17:40:47 2012 -0400 + + Fix compiler warning + + Mark a variable as unused. + + clutter/clutter-gesture-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 76e7ab90f6ac232306f827ad14936320e314767c +Author: Piotr Drąg +Date: Wed Jul 18 23:07:45 2012 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit fcd7321f231f39551f1906a7a45da4da685288c9 +Author: Lionel Landwerlin +Date: Wed Jul 18 20:41:59 2012 +0100 + + input-device: fix destroy signal connection on wrong actor + + clutter/clutter-input-device.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9e02ef459e936cf143cc956337c74e59260a6f16 +Author: Lionel Landwerlin +Date: Wed Jul 11 16:21:28 2012 +0100 + + input-device: add enter/leave events generation for touch events + + This patch brings 'enter-event' and 'leave-event' generation for touch + based devices. This leads to adding a new API to retrieve coordinates + of a touch point. + + https://bugzilla.gnome.org/show_bug.cgi?id=679797 + + clutter/Makefile.am | 2 + + clutter/clutter-deprecated.h | 1 + + clutter/clutter-device-manager-private.h | 22 ++ + clutter/clutter-device-manager.c | 2 +- + clutter/clutter-input-device.c | 340 +++++++++++++++++---- + clutter/clutter-input-device.h | 8 +- + clutter/clutter-main.c | 29 +- + clutter/clutter-stage.c | 3 +- + clutter/clutter.symbols | 1 + + .../deprecated/clutter-input-device-deprecated.c | 38 +++ + clutter/deprecated/clutter-input-device.h | 41 +++ + doc/reference/clutter/clutter-sections.txt | 1 + + 12 files changed, 410 insertions(+), 78 deletions(-) + +commit 6eef8ea0422de0dd54780eb584f7ca46d5412dec +Author: Lionel Landwerlin +Date: Tue Jul 17 17:14:55 2012 +0100 + + fix build (missing marshaller) + + clutter/clutter-marshal.list | 1 + + 1 file changed, 1 insertion(+) + +commit e2264c04849722954d0f8422a49c8558d6ea8753 +Author: Lionel Landwerlin +Date: Fri Jun 22 02:38:21 2012 +0100 + + Add rotate action + + Allow rotation of an actor using 2 points (touch or pointers) events. + + Also refactor the accumulators from various actions. + + https://bugzilla.gnome.org/show_bug.cgi?id=678587 + + clutter/Makefile.am | 2 + + clutter/clutter-drag-action.c | 16 +- + clutter/clutter-gesture-action.c | 18 +-- + clutter/clutter-main.c | 14 ++ + clutter/clutter-private.h | 9 ++ + clutter/clutter-rotate-action.c | 239 +++++++++++++++++++++++++++++ + clutter/clutter-rotate-action.h | 100 ++++++++++++ + clutter/clutter.h | 3 +- + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 17 ++ + 10 files changed, 388 insertions(+), 32 deletions(-) + +commit 2a31a93c5e63f3a6e3e4a82622e5fbab0e25e5f1 +Author: Emmanuele Bassi +Date: Tue Jul 17 10:13:12 2012 -0400 + + x11/xi2: Do not generate scroll events on ButtonRelease + + Scroll events are generated on ButtonPress only in the core event + handling, so it should happen the same if we use XInput. + + https://bugzilla.gnome.org/show_bug.cgi?id=680088 + + clutter/x11/clutter-device-manager-xi2.c | 44 +++++++++++++++++++++++--------- + 1 file changed, 32 insertions(+), 12 deletions(-) + +commit 6ac815219b9fcba91ee65b2ce91c91e72ed579b9 +Author: Chao-Hsiung Liao +Date: Tue Jul 17 14:54:03 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 62 ++++++++++++++++--------------------------------------------- + po/zh_TW.po | 62 ++++++++++++++++--------------------------------------------- + 2 files changed, 32 insertions(+), 92 deletions(-) + +commit 520039003787bae3347adc49e29709fa8c44c64d +Author: Lionel Landwerlin +Date: Thu Jun 21 02:55:56 2012 +0100 + + gesture-action: add multiple point support and touch events support + + https://bugzilla.gnome.org/show_bug.cgi?id=678586 + + clutter/clutter-gesture-action.c | 340 ++++++++++++++++++++++------- + clutter/clutter-gesture-action.h | 3 + + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 273 insertions(+), 74 deletions(-) + +commit d3870c64ea6db8e30b674fbc59e3e7bc59a7dc0e +Author: Emmanuele Bassi +Date: Mon Jul 16 19:11:53 2012 -0400 + + Post-release version bump to 1.11.9 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 46694f6c61563eb5c920e1e13c05f4d68426f075 +Author: Emmanuele Bassi +Date: Mon Jul 16 19:00:26 2012 -0400 + + Release Clutter 1.11.8 + + NEWS | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + README.in | 7 +++++++ + configure.ac | 2 +- + 3 files changed, 67 insertions(+), 1 deletion(-) + +commit dcadaf67b6cc90aed1db7e2d8cce02b6bd33f199 +Author: Daniel Mustieles +Date: Mon Jul 16 16:40:20 2012 +0200 + + Updated Spanish translation + + po/es.po | 1266 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 661 insertions(+), 605 deletions(-) + +commit 31c3afa4372bb1a6c9c0d0c0d84469351a3d49a3 +Author: Ihar Hrachyshka +Date: Sun Jul 15 11:26:00 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 1240 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 644 insertions(+), 596 deletions(-) + +commit de84a0b70499ea058844a1552f89941eac84d92d +Author: Chao-Hsiung Liao +Date: Sat Jul 14 13:34:43 2012 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 1874 ++++++++++++++++++++++++++++++++--------------------------- + po/zh_TW.po | 1874 ++++++++++++++++++++++++++++++++--------------------------- + 2 files changed, 2052 insertions(+), 1696 deletions(-) + +commit 8bf411c9003286d3c982e5f1ea358d63fbc5afcc +Author: Andika Triwidada +Date: Fri Jul 13 16:23:49 2012 +0700 + + Updated Indonesian translation + + po/id.po | 2412 +++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 1453 insertions(+), 959 deletions(-) + +commit 2bec43c3c232eebd3ce12b9222fedf3a2a6f88a3 +Author: Emmanuele Bassi +Date: Thu Jul 12 22:30:53 2012 +0100 + + actor: Round the adjusted allocation origin correctly + + We use floorf() for the allocation origin, and ceilf() for the + allocation size. Swapping the two introduces rounding errors if + the original allocation is not clamped to the nearest pixel. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ee06fbeb619e0dd793cc2c0b173662372ecb7aa5 +Author: Fran Diéguez +Date: Thu Jul 12 18:07:39 2012 +0200 + + Updated Galician translations + + po/gl.po | 1243 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 648 insertions(+), 595 deletions(-) + +commit 028e4f560f54a8d94216cab7e0d1684fc17e1b2e +Author: Sasi Bhushan Boddepalli +Date: Thu Jul 12 17:12:30 2012 +0530 + + Updated Telugu Translation + + po/te.po | 1247 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 656 insertions(+), 591 deletions(-) + +commit b460f8438098a10a328740dc8bbeba43c2a6fd69 +Author: Piotr Drąg +Date: Wed Jul 11 23:52:51 2012 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8b03ac6bae9a12886aa5dc57f7991304e0877c97 +Author: Emmanuele Bassi +Date: Wed Jul 11 15:27:56 2012 +0100 + + Documentation fixes + + clutter/clutter-drag-action.h | 1 + + doc/reference/clutter/clutter-sections.txt | 46 +++++++++++++++++++----------- + 2 files changed, 31 insertions(+), 16 deletions(-) + +commit 0afc13791879f7a3f061df9552ac325a8bd19f4b +Author: Emmanuele Bassi +Date: Wed Jul 11 13:12:30 2012 +0100 + + Revert "layout-manager: Add a new animation API" + + This reverts commit 7f6b17bc504ca508554a5e2075af59125682e531. + + ClutterLayoutManager implementations should just defer the easing state + set up to the child, and not try to impose a global one. + + clutter/clutter-layout-manager.c | 406 +---------------------------- + clutter/clutter-layout-manager.h | 27 -- + clutter/clutter.symbols | 9 - + doc/reference/clutter/clutter-sections.txt | 9 - + 4 files changed, 2 insertions(+), 449 deletions(-) + +commit 1806a2140b07503b35d94d71b7436447cc5446c5 +Author: Emmanuele Bassi +Date: Wed Jul 11 13:09:58 2012 +0100 + + Revert "table-layout: Use the ClutterLayoutManager animation API" + + This reverts commit 793bde91430c53edd0b39989e59f9f77b562947e. + + ClutterLayoutManager implementations should just defer the easing state + set up to the child, and not try to impose a global one. + + clutter/clutter-table-layout.c | 195 +++++++++++++++++++++++++++++++---------- + 1 file changed, 148 insertions(+), 47 deletions(-) + +commit 2fef1a174e3883bef569b67f6224e2d9ccbc8b97 +Author: Emmanuele Bassi +Date: Wed Jul 11 13:11:13 2012 +0100 + + grid-layout: Remove layout animations + + ClutterLayoutManager implementations should just defer the easing state + set up to the child, and not try to impose a global one. + + clutter/clutter-grid-layout.c | 19 ------------------- + 1 file changed, 19 deletions(-) + +commit 5a1c16de629cff844d1540cbcd82ded7a40c04be +Author: Emmanuele Bassi +Date: Wed Jul 11 13:09:19 2012 +0100 + + Revert "flow-layout: Implement layout animations" + + This reverts commit 320fb156b41fad5048b69acb7ca7a7e582b49182. + + ClutterLayoutManager implementations should just defer the easing state + set up to the child, and not try to impose a global one. + + clutter/clutter-flow-layout.c | 20 -------------------- + 1 file changed, 20 deletions(-) + +commit b4994f9e76193391bb188d93d535e7ee6cad022e +Author: Emmanuele Bassi +Date: Wed Jul 11 13:08:50 2012 +0100 + + Revert "box-layout: Use the ClutterLayoutManager animation API" + + This reverts commit 58a1854b5729296dbd62071d190c528374e7e4f8. + + ClutterLayoutManager implementations should just defer the easing state + set up to the child, and not try to impose a global one. + + clutter/clutter-box-layout.c | 200 ++++++++++++++++++++++++++++++------------- + 1 file changed, 140 insertions(+), 60 deletions(-) + +commit d381ab12076487a6efa9eb5f12645f5f26ddcf60 +Author: Emmanuele Bassi +Date: Wed Jul 11 13:07:12 2012 +0100 + + Revert "bin-layout: Implement layout animations" + + This reverts commit 03ec016faa146410c12b88851f0428d035933dd4. + + ClutterLayoutManager implementations should just defer the easing state + set up to the child, and not try to impose a global one. + + clutter/clutter-bin-layout.c | 18 ------------------ + 1 file changed, 18 deletions(-) + +commit b1b3bfb74ee88ef6349c2094a229171d9afa2f49 +Author: Emmanuele Bassi +Date: Wed Jul 11 13:21:33 2012 +0100 + + Remove usage of ClutterLayoutManager easing API + + It is going away. + + examples/box-layout.c | 9 --------- + examples/flow-layout.c | 9 --------- + examples/grid-layout.c | 8 -------- + examples/layout-manager.c | 22 ++-------------------- + 4 files changed, 2 insertions(+), 46 deletions(-) + +commit b985c4035e1a7e9c5b5b9fe1af970a782d573762 +Author: Emmanuele Bassi +Date: Mon Jul 9 17:43:09 2012 +0100 + + Deprecate ClutterTexture's API + + ClutterTexture is full of side effects that have been picked up over the + years; they make improving ClutterTexture harder than necessary, as well + as making subclassing impossible without introducing weird behaviours in + the child classes as well. + + Since Clutter 1.10 we have the ClutterImage content type, which is + side-effects free, given that it just paints texture data using the + state of the actor. + + Sadly, we still have subclasses of ClutterTexture, both deprecated and + not, so we cannot deprecate ClutterTexture right out; the type and + structures will still be available, like we do for ClutterGroup, but the + whole API should be moved to the deprecated section, waiting for the + time in which we can get rid of it all. + + clutter/Makefile.am | 2 +- + clutter/clutter-texture.h | 65 ------------------ + clutter/deprecated/clutter-cairo-texture.c | 4 +- + clutter/{ => deprecated}/clutter-texture.c | 78 ++++++++++++++++++++-- + clutter/deprecated/clutter-texture.h | 104 +++++++++++++++++++++++++++-- + clutter/x11/clutter-glx-texture-pixmap.c | 1 + + clutter/x11/clutter-x11-texture-pixmap.c | 1 + + 7 files changed, 175 insertions(+), 80 deletions(-) + +commit 42ca7bf1f411bc7572f63126aae445aa64f2ee2d +Author: Emmanuele Bassi +Date: Mon Jul 9 12:00:32 2012 +0100 + + Use Vertex zero init macro + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a101600c7dd4eecf0f2a8813d60e3d510c391bfa +Author: Emmanuele Bassi +Date: Mon Jul 9 11:58:06 2012 +0100 + + types: Add CLUTTER_VERTEX_INIT_ZERO + + Similar to the macros for ClutterPoint, ClutterSize, and ClutterRect. + + clutter/clutter-types.h | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 9b52f9b3f559815e7a8f39f8fac5d4679f0c3a56 +Author: Emmanuele Bassi +Date: Mon Jul 9 10:59:13 2012 +0100 + + actor: Add scaling factor in the Z axis + + Having a scaling factor on the Z axis helps with projects that use fully + 3D elements, like Mash. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor-private.h | 1 + + clutter/clutter-actor.c | 88 +++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-actor.h | 5 +++ + clutter/clutter.symbols | 2 + + 4 files changed, 93 insertions(+), 3 deletions(-) + +commit 6feee080b3badc5e3a2a98dae57e99e7aeb1ec8b +Author: Emmanuele Bassi +Date: Fri Jul 6 18:27:45 2012 +0100 + + actor: Clean up the order of transformations + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor.c | 79 ++++++++++++++++++++++++------------------------- + 1 file changed, 38 insertions(+), 41 deletions(-) + +commit 1796b37948aec84daf3595c7dec20134f205ef58 +Author: Emmanuele Bassi +Date: Fri Jul 6 18:06:48 2012 +0100 + + actor: Deprecate anchor-point + + The pivot point and the translation transformation replace it + completely. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor.c | 62 +++++++++++++++++++++++++++++++++++--- + clutter/clutter-actor.h | 14 --------- + clutter/deprecated/clutter-actor.h | 21 +++++++++++++ + 3 files changed, 78 insertions(+), 19 deletions(-) + +commit 20d1d24e3801890b8f692e76372fb19299274eb4 +Author: Emmanuele Bassi +Date: Fri Jul 6 18:06:33 2012 +0100 + + examples: Use pivot point, not anchor point + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + examples/basic-actor.c | 2 +- + examples/bin-layout.c | 2 +- + examples/easing-modes.c | 3 ++- + examples/threads.c | 2 +- + 4 files changed, 5 insertions(+), 4 deletions(-) + +commit 8cea162d3c416016465809a9db85bfa036d39745 +Author: Emmanuele Bassi +Date: Fri Jul 6 17:31:52 2012 +0100 + + actor: Add translation transformation + + We need an alternative to the translation performed by the anchor point, + one that possibly applies to all three axes and is relative to the + pivot-point. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor-private.h | 3 + + clutter/clutter-actor.c | 269 +++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 10 ++ + clutter/clutter.symbols | 2 + + 4 files changed, 280 insertions(+), 4 deletions(-) + +commit 0ba078a146848596a4abce1eae2022877a235703 +Author: Emmanuele Bassi +Date: Fri Jul 6 14:45:05 2012 +0100 + + Add notes on the properties to remove + + Lest we forget during the 1.99 cycle. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor.c | 30 +++++++++++++++--------------- + 1 file changed, 15 insertions(+), 15 deletions(-) + +commit 6e85feecf844c7da61b66ef7eb5a4feea1bf7b9e +Author: Emmanuele Bassi +Date: Fri Jul 6 14:28:48 2012 +0100 + + actor: Add :pivot-point-z + + For some transformations we need to be able to set the Z component of + the pivot point. + + Unlike :pivot-point, the Z coordinate is not normalized because actors + are 2D surfaces. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor-private.h | 1 + + clutter/clutter-actor.c | 144 +++++++++++++++++++++++++++++++++++----- + clutter/clutter-actor.h | 5 ++ + clutter/clutter.symbols | 2 + + 4 files changed, 135 insertions(+), 17 deletions(-) + +commit 005584a1ee6dc111421ddebf909f44d5c0f6d971 +Author: Emmanuele Bassi +Date: Fri Jul 6 12:14:44 2012 +0100 + + actor: Deprecate scale center and gravity accessors + + The ClutterActor:pivot-point supercedes the scale center and gravity + properties. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor.c | 40 +++++++++++++++++++++------- + clutter/clutter-actor.h | 13 --------- + clutter/deprecated/clutter-actor.h | 18 +++++++++++++ + clutter/deprecated/clutter-behaviour-scale.c | 1 + + 4 files changed, 50 insertions(+), 22 deletions(-) + +commit 4be7ecb8363be2f4f051c420dab04a315d7fa871 +Author: Emmanuele Bassi +Date: Fri Jul 6 12:14:20 2012 +0100 + + examples: Use the pivot point for scaling + + Instead of scaling with gravity. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + examples/layout-manager.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit 32b78a41f10b9b850875ba01f0278c15a93d9fad +Author: Emmanuele Bassi +Date: Fri Jul 6 11:58:19 2012 +0100 + + actor: Deprecate rotation center properties + + The pivot point supercedes the per-axis center of rotation, including + the one based on the gravity enumeration. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor.c | 36 ++++++++++++-- + clutter/clutter-actor.h | 15 ------ + clutter/deprecated/clutter-actor.h | 68 +++++++++++++++++---------- + clutter/deprecated/clutter-behaviour-rotate.c | 1 + + 4 files changed, 77 insertions(+), 43 deletions(-) + +commit caf199c7321352b3f97473f9b44c868106e1a405 +Author: Emmanuele Bassi +Date: Fri Jul 6 11:46:25 2012 +0100 + + examples: Use rotation angle and pivot point + + Instead of the full set_rotation() setter, we can use the pivot point + and set the rotation angle separately. + + examples/basic-actor.c | 7 +++---- + examples/rounded-rectangle.c | 2 +- + 2 files changed, 4 insertions(+), 5 deletions(-) + +commit a758cf6d3d9caadb17ab9594e98c05488e422118 +Author: Emmanuele Bassi +Date: Fri Jul 6 11:23:50 2012 +0100 + + actor: Add accessors for rotation angles + + Given that the rotation transformations are now affected by the pivot + point, the Actor class should provide an accessors pair only for the + angle of rotation on a given axis. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 7 ++++++ + clutter/clutter.symbols | 2 ++ + 3 files changed, 74 insertions(+), 1 deletion(-) + +commit 1fd0f4b9a5003b5bfb75735637c3ae7b76ef07ff +Author: Emmanuele Bassi +Date: Fri Jul 6 10:35:13 2012 +0100 + + actor: Add pivot point + + The pivot point is a point in normalized coordinates space around which + all transformations revolve. + + It supercedes the anchor point and the per-transformation center points + as well as the gravity settings, and tries to sort out the mess that + is the modelview matrix set up in ClutterActor. + + https://bugzilla.gnome.org/show_bug.cgi?id=677853 + + clutter/clutter-actor-private.h | 3 + + clutter/clutter-actor.c | 163 ++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-actor.h | 8 ++ + clutter/clutter.symbols | 2 + + 4 files changed, 170 insertions(+), 6 deletions(-) + +commit b20e9b78e561c3c21ce34140e2f246e3a16c380f +Author: Emmanuele Bassi +Date: Thu Jul 5 18:57:38 2012 +0100 + + actor: Add :z-position and deprecate :depth + + The ClutterActor:depth property has always been a bit of a misnomer: + actors are 2D flat surfaces, so they cannot have "depth"; the property + defines the position on the Z axis. + + Another side effect of the :depth property is that it decides the + default paint and allocation order on insertion, and that setting it + will call the ClutterContainer.sort_depth_order() method. This has + proven to be a fairly bad design decision that we strung along from the + 0.x days, as it gives a false impression of being able to change the + paint and allocation order simply by changing the position on the Z + axis — something that, in reality, requires depth testing to be enabled + during the paint sequence of an actor's parent. + + For 2.0 we need a clean break from the side effects, and a better + defined interface. + + ClutterActor:z-position is essentially what ClutterActor:depth is, but + doesn't call into ClutterContainer, and has a more apt name. + + https://bugzilla.gnome.org/show_bug.cgi?id=679465 + + clutter/cally/cally-actor.c | 2 +- + clutter/clutter-actor-private.h | 4 +- + clutter/clutter-actor.c | 142 +++++++++++++++++++++++-- + clutter/clutter-actor.h | 8 +- + clutter/clutter.symbols | 2 + + clutter/deprecated/clutter-actor.h | 7 ++ + clutter/deprecated/clutter-behaviour-depth.c | 1 + + clutter/deprecated/clutter-behaviour-ellipse.c | 1 + + examples/basic-actor.c | 8 +- + 9 files changed, 154 insertions(+), 21 deletions(-) + +commit 9b7287e89783c867e731f2e24864aa172e968a5a +Author: Emmanuele Bassi +Date: Sun Jun 24 09:58:12 2012 +0100 + + actor: Move event chain emission into ClutterActor + + By moving the function that builds the event emission chain we can avoid + a bunch of checks and function calls. + + clutter/clutter-actor-private.h | 3 ++ + clutter/clutter-actor.c | 52 +++++++++++++++++++++++++ + clutter/clutter-main.c | 85 ++++++++++++++--------------------------- + 3 files changed, 84 insertions(+), 56 deletions(-) + +commit 67cbb56ab8a4e3089fe72bc7591f2dfe410c7ae9 +Author: Emmanuele Bassi +Date: Sun Jun 24 09:57:12 2012 +0100 + + actor: Constify event argument in clutter_actor_event() + + The Clutter.Actor.event() method is a signal emitter; it does not modify + the event passed to it. + + clutter/clutter-actor.c | 6 +++--- + clutter/clutter-actor.h | 2 +- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit d685e8a95a054ae13a9fd93561ab073aaedfab7c +Author: Emmanuele Bassi +Date: Thu Jul 5 16:23:52 2012 +0100 + + text: Add :cursor-position and deprecate :position + + The :position property on ClutterText clashes with the same property on + ClutterActor; it's also badly named, given that it represents the + cursor's position inside the text; finally, it does not match its + accessors, violating the API style conventions. + + https://bugzilla.gnome.org/show_bug.cgi?id=679457 + + clutter/clutter-text.c | 39 ++++++++++++++++++++++++++++++++++----- + 1 file changed, 34 insertions(+), 5 deletions(-) + +commit 721caece5d518dafd2e91cf4191262c83fe1812e +Author: Emmanuele Bassi +Date: Sun Jun 24 12:07:40 2012 +0100 + + drag-action: Add ::drag-progress signal + + Overriding the default behaviour of ClutterDragAction::drag-motion is + currently a pain; you either need to subclass the ClutterDragAction and + override the class closure for the signal, or you need to connect to the + signal and call g_signal_stop_emission_by_name() - neither option being + particularly nice or clean. The established pattern for these cases + would be to have a boolean return value on the ::drag-motion signal, but + we cannot do that without breaking ABI. + + To solve the issue in a backward compatible way, we should introduce a + new signal, ::drag-progress, with a boolean return value. If the signal + emission chain returns TRUE, the ::drag-motion signal will be emitted, + and the default behaviour will be honoured; if the signal emission chain + returns FALSE, instead, the ::drag-motion signal will not be emitted. + + https://bugzilla.gnome.org/show_bug.cgi?id=679451 + + clutter/clutter-drag-action.c | 84 ++++++++++++++++++++++++++++++++++++++++--- + clutter/clutter-drag-action.h | 33 +++++++++-------- + 2 files changed, 97 insertions(+), 20 deletions(-) + +commit 0e4c6d0a87c827ff69853ec24d99ef9b838a6f47 +Author: Emmanuele Bassi +Date: Thu Jul 5 14:30:26 2012 +0100 + + Deprecate clutter_threads_enter()/leave() + + Acquiring the Clutter lock to mark critical sections is not portable, + and not recommended to implement threaded applications with Clutter. + + The recommended pattern is to use worker threads, and schedule UI + updates inside idle or timeout handlers within the main loop. We should + enforce this pattern by deprecating the threads_enter()/leave() + functions. For compatibility concerns, we need internal API to acquire + the main lock during frame processing dispatch. + + https://bugzilla.gnome.org/show_bug.cgi?id=679450 + + clutter/clutter-main.c | 40 ++++++++++++++++++++++------ + clutter/clutter-main.h | 2 -- + clutter/clutter-master-clock.c | 13 ++++----- + clutter/clutter-private.h | 3 +++ + clutter/deprecated/clutter-main.h | 6 +++++ + clutter/deprecated/clutter-timeout-pool.c | 1 + + clutter/evdev/clutter-device-manager-evdev.c | 12 ++++----- + clutter/gdk/clutter-event-gdk.c | 4 +-- + clutter/osx/clutter-event-loop-osx.c | 33 +++++++++++++---------- + clutter/tslib/clutter-event-tslib.c | 13 +++++---- + clutter/wayland/clutter-event-wayland.c | 18 +++++++------ + clutter/win32/clutter-event-win32.c | 12 ++++----- + clutter/x11/clutter-event-x11.c | 17 ++++++------ + 13 files changed, 107 insertions(+), 67 deletions(-) + +commit 25be8e86f7cfa5696dff7e74f24b2ca0ec3123a1 +Author: Emmanuele Bassi +Date: Thu Jul 5 14:21:55 2012 +0100 + + examples: Clean up the threads usage example + + • Remove the threads_enter/leave calls; they are not needed, given that + the code between init() and main() is single threaded. + + • Ensure that the idle callbacks are inserted with the right priority, + to avoid updating the UI after the data has been freed. + + examples/threads.c | 37 +++++++++++++++++++++---------------- + 1 file changed, 21 insertions(+), 16 deletions(-) + +commit d7d701078a13d7c848cdd88980be75830a92e0a8 +Author: Kjartan Maraas +Date: Tue Jul 10 13:26:09 2012 +0200 + + Updated Norwegian bokmål translation + + po/nb.po | 1857 +++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 1122 insertions(+), 735 deletions(-) + +commit e659a90b28b8d02e98a3aad84cc7e1da67e4b738 +Author: Chun-wei Fan +Date: Tue Jul 3 17:10:28 2012 +0800 + + Visual C++ support: Fix "install" process + + Apparently the update to build the GDK backend broke the "installation" + process of the binaries. Fix that by grouping the binaries as Release or + Debug. + + build/win32/vs10/clutter.props | 30 ++++++++++++++ + build/win32/vs10/install.vcxproj | 84 ++++++++++++++++++++++++++++++++++++++-- + build/win32/vs9/clutter.vsprops | 24 ++++++++++++ + build/win32/vs9/install.vcproj | 16 ++++---- + 4 files changed, 142 insertions(+), 12 deletions(-) + +commit 78a7c5b8cff21d2ad86365d0d102625a680e199b +Author: Chun-wei Fan +Date: Mon Jul 2 19:27:46 2012 +0800 + + Update Visual C++ property sheets + + Remove some unneeded defines in the compilation-CLUTTER_PREFIX and + CLUTTER_DATADIR are not used anywhere in the code, as it seems. + + build/win32/vs10/clutter.props | 2 +- + build/win32/vs9/clutter.vsprops | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 345144d1c471181310dcb50593edde9d673fae49 +Author: Emmanuele Bassi +Date: Sat Jun 30 15:26:23 2012 +0100 + + doap: Change my email address to @gnome.org + + clutter.doap | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f214ebd1f74d72d2968a4b955b5a119dcf6083ad +Author: Emmanuele Bassi +Date: Sat Jun 30 15:26:13 2012 +0100 + + doap: Fix the download page link + + clutter.doap | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 700a9be836b6870e90ba0e07bbf484d41c71f39e +Author: Emmanuele Bassi +Date: Fri Jun 29 11:21:06 2012 +0100 + + build: Clean output of the release rules + + build/autotools/Makefile.am.release | 20 ++++++++++++-------- + 1 file changed, 12 insertions(+), 8 deletions(-) + +commit d72a31f2908259c7173e8f2f35b6b56511f7d9c3 +Author: Alexander Shopov +Date: Thu Jun 28 21:54:15 2012 +0300 + + Updated Bulgarian translation + + po/bg.po | 1400 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 771 insertions(+), 629 deletions(-) + +commit 0ba2d1df93d4083e721d934ed400446ba76af1d3 +Author: Emmanuele Bassi +Date: Wed Jun 27 21:27:20 2012 +0100 + + constraints: Clamp updated allocation to the nearest pixel + + Use Clutter.ActorBox.clamp_to_pixel() to do it properly. + + clutter/clutter-align-constraint.c | 6 ++---- + clutter/clutter-bind-constraint.c | 2 ++ + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 2ee945b2ca799d0af8f35e905e219c88b46283a0 +Author: Emmanuele Bassi +Date: Wed Jun 27 21:26:22 2012 +0100 + + examples/layout-manager: Show transformations inside layouts + + Actor transformations do not affect the layout management by default; we + can easily show that a scale animation does not break the layout policy + inside an example. + + examples/layout-manager.c | 28 ++++++++++++++++++++++++++++ + 1 file changed, 28 insertions(+) + +commit 1da42dd8a0407bc9929c36ec676827f8d0fb56c5 +Author: Emmanuele Bassi +Date: Wed Jun 27 12:57:36 2012 +0100 + + actor: Add ActorIter.is_valid() + + It can be useful to check whether a ClutterActorIter is currently valid, + i.e. if the iterator has been initialized *and* if the actor to which it + refers to hasn't been updated. + + We can also use the is_valid() method in the conformance test suite to + check that initialization has been successful, and that changing the + children list through the ClutterActorIter API leaves the iterator in a + valid state. + + clutter/clutter-actor.c | 27 +++++++++++++++++++++++++++ + clutter/clutter-actor.h | 2 ++ + clutter/clutter.symbols | 1 + + tests/conform/actor-iter.c | 18 ++++++++++++++---- + 4 files changed, 44 insertions(+), 4 deletions(-) + +commit 1ca4937f1ee136db87337ad7c94d26f976c32194 +Author: Emmanuele Bassi +Date: Wed Jun 27 12:44:22 2012 +0100 + + conform: Check that iterators work post-assignment + + It should be possible to copy a ClutterActorIter just by copying its + contents (either via assignment or memcpy). + + tests/conform/actor-iter.c | 77 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 2 files changed, 78 insertions(+) + +commit a8c829019f6d659489d1155ca545b38837b105ea +Author: Alejandro Piñeiro +Date: Fri Jun 22 21:34:25 2012 +0200 + + a11y: remove implementation for [add/remove]_global_event_listener + + Since release 2.5.3, ATK provides an implementation for those + methods, so toolkits doesn't need to implement them. + + clutter/cally/cally-util.c | 133 --------------------------------------------- + configure.ac | 2 +- + 2 files changed, 1 insertion(+), 134 deletions(-) + +commit 5e5295ab130763eb81176cc8c9011031c1a83148 +Author: Emmanuele Bassi +Date: Mon Jun 25 23:59:39 2012 +0100 + + Post-release version bump to 1.11.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0ab74e52da5122e231a504005417c70376a958e0 +Author: Emmanuele Bassi +Date: Mon Jun 25 23:52:07 2012 +0100 + + Release Clutter 1.11.6 + + NEWS | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + README.in | 6 ++++++ + configure.ac | 2 +- + 3 files changed, 74 insertions(+), 1 deletion(-) + +commit b6d5595470c4d4012f0f46417da7b72642ee70d6 +Author: Emmanuele Bassi +Date: Mon Jun 25 23:47:12 2012 +0100 + + docs: Add missing annotation for ClutterActorClass.touch_event + + clutter/clutter-actor.h | 1 + + 1 file changed, 1 insertion(+) + +commit ececa27ad0e54e4541b38afff058d6085653d720 +Author: Emmanuele Bassi +Date: Mon Jun 25 23:44:11 2012 +0100 + + docs: Fix XInclude path of the BindConstraint example + + clutter/clutter-bind-constraint.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6c4abde369b015489d98d07c7c24d5a8bf870d5f +Author: Jasper St. Pierre +Date: Sun Jun 24 13:29:22 2012 -0400 + + stage: Make sure to free any pending queued redraws if we have any + + This fixes a memory leak when someone creates a stage and then immediately + destroys it. + + clutter/clutter-stage.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit ab88511133188ef8965ffb3ab4342bd1da27c2e8 +Author: Emmanuele Bassi +Date: Sun Jun 24 18:02:45 2012 +0100 + + stage: Remove an extra reference count + + The dispose sequence will keep the object alive, and we need to release + the last reference held by the StageManager before releasing control to + GObject. + + clutter/clutter-stage.c | 11 ++++------- + 1 file changed, 4 insertions(+), 7 deletions(-) + +commit 550168eee31a41117be347dc67f845ff8700252d +Author: Emmanuele Bassi +Date: Thu Jun 21 17:15:44 2012 +0100 + + Clean up deprecated header inclusion + + The build should not add deprecated/ into the default INCLUDE paths, so + that deprecated headers are clearly separated; this will make it easier + to get rid of them when we branch out for 2.0. + + clutter/Makefile.am | 1 - + clutter/clutter-interval.c | 3 ++- + clutter/clutter-main.c | 1 - + clutter/clutter-script.c | 2 +- + clutter/clutter-stage.c | 1 - + clutter/cogl/clutter-stage-cogl.c | 1 - + clutter/osx/clutter-backend-osx.c | 1 - + 7 files changed, 3 insertions(+), 7 deletions(-) + +commit 8fe8b9c89ee31dbd512bc628dbc0125a1e3bfea5 +Author: Emmanuele Bassi +Date: Fri Jun 22 12:12:33 2012 +0100 + + Move PathNode definitions into clutter-types.h + + Near ClutterKnot, so that we can easily remove both when we branch off + for 2.0. + + clutter/clutter-path.h | 28 ---------------------------- + clutter/clutter-types.h | 33 +++++++++++++++++++++++++++++++++ + 2 files changed, 33 insertions(+), 28 deletions(-) + +commit 49dd99f9c1a7e41a6089c1897ce58ec7825d2f8b +Author: Lionel Landwerlin +Date: Mon Jun 18 02:03:58 2012 +0100 + + text: add touch events support + + https://bugzilla.gnome.org/show_bug.cgi?id=678278 + + clutter/clutter-text.c | 139 +++++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 112 insertions(+), 27 deletions(-) + +commit 927624d92c3cd66e5a4e3c07e9d2d9c62c974908 +Author: Lionel Landwerlin +Date: Sun Jun 17 00:44:44 2012 +0100 + + input-device: add APIs to grab sequences of touch events + + https://bugzilla.gnome.org/show_bug.cgi?id=678279 + + clutter/clutter-device-manager-private.h | 2 + + clutter/clutter-event.h | 10 --- + clutter/clutter-input-device.c | 136 +++++++++++++++++++++++++++++ + clutter/clutter-input-device.h | 12 ++- + clutter/clutter-main.c | 22 ++++- + clutter/clutter-types.h | 12 +++ + clutter/clutter.symbols | 17 ++-- + doc/reference/clutter/clutter-sections.txt | 3 + + 8 files changed, 195 insertions(+), 19 deletions(-) + +commit 132e4b98d18e411a8323925a557936dbd0d840fa +Author: Lionel Landwerlin +Date: Wed Jun 13 16:02:05 2012 +0100 + + drag/drop actions: add touch event support + + https://bugzilla.gnome.org/show_bug.cgi?id=678049 + + clutter/clutter-drag-action.c | 92 +++++++++++++++++++++++++++++++++-------- + clutter/clutter-drop-action.c | 43 +++++++++++++------ + clutter/clutter-stage-private.h | 22 ++++++---- + clutter/clutter-stage.c | 84 +++++++++++++++++++++++++++++++------ + 4 files changed, 191 insertions(+), 50 deletions(-) + +commit 1af7de8ac8b438b18dace38f883807eda77316ee +Author: Lionel Landwerlin +Date: Wed Jun 13 11:10:55 2012 +0100 + + actor: add touch event vfuncs + + https://bugzilla.gnome.org/show_bug.cgi?id=678047 + + clutter/clutter-actor.c | 26 ++++++++++++++++++++++++++ + clutter/clutter-actor.h | 5 ++++- + 2 files changed, 30 insertions(+), 1 deletion(-) + +commit dd7c1ed64a4eae1cfc8b8cb7a2045f6a675f0dd5 +Author: Alejandro Piñeiro +Date: Tue Jun 5 14:56:31 2012 +0200 + + a11y: implementation for atk_text_get_text_[before/at/after]_offset + + Copy and paste of the implementation done at Gtk+ based on pango. This + should be moved to a common library, like the old GailTextUtil. Ideally + on pango itself. + + https://bugzilla.gnome.org/show_bug.cgi?id=677221 + + clutter/cally/cally-text.c | 764 ++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 713 insertions(+), 51 deletions(-) + +commit a571c2933b6c0f239aa8bf550aae15bee60d1816 +Author: Tom Tryfonidis +Date: Fri Jun 22 13:09:02 2012 +0300 + + Updated Greek translation + + po/el.po | 1449 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 795 insertions(+), 654 deletions(-) + +commit d2fff6e3c33f972b079928ae1e887669e3cd0ef2 +Author: Bastian Winkler +Date: Sat Jun 16 21:07:53 2012 +0200 + + actor: Make margin properties animatable + + Enable implicit animations for :margin-(top|right|bottom|left) + properties. + + https://bugzilla.gnome.org/show_bug.cgi?id=678264 + + clutter/clutter-actor.c | 160 ++++++++++++++++++++++++++++++++---------------- + 1 file changed, 106 insertions(+), 54 deletions(-) + +commit 07605226432d701a87f656e152b24d494003867a +Author: Dimitris Spingos +Date: Thu Jun 21 12:06:23 2012 +0300 + + New Greek translation + + po/el.po | 2508 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2508 insertions(+) + +commit 98982331cb7709d90d0f0bc09621cd8fbb791fb0 +Author: Emmanuele Bassi +Date: Wed Jun 20 18:58:31 2012 +0100 + + conform/script: Add the return type for the margin test + + The compiler would default to 'int', and warn - and then warn again + because the function would not return a value. + + tests/conform/script-parser.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e3ca87784ea52d6008fcd34bf85066cb7d8b8497 +Author: Matthias Clasen +Date: Wed Jun 20 07:19:05 2012 -0400 + + XI2: Avoid a crash in event translation + + It is possible that we get a DeviceChanged event for a device + that is not in the hash table yet. E.g. I've seen this when + using xrandr to change screen resolution. Prevent a crash in + this case. + + https://bugzilla.gnome.org/review?bug=678439 + + clutter/x11/clutter-device-manager-xi2.c | 15 +++++++++------ + 1 file changed, 9 insertions(+), 6 deletions(-) + +commit d571719a3dbefbc12097d67fb13e6b0e2007efb3 +Author: Andy Wingo +Date: Wed Jun 20 10:26:49 2012 +0200 + + cairo: Always update texture after ClutterCairoTexture::draw + + * clutter/clutter-cairo-texture.c (clutter_cairo_texture_emit_draw): + Always update the Cogl texture after emitting ::draw, since we control + the dynamic extent in which drawing should happen on the cairo_t. + + Fixes #677966. + + clutter/deprecated/clutter-cairo-texture.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 286e7e28e8d25eabe69fb20842d560648aac916b +Author: Emmanuele Bassi +Date: Wed Jun 20 09:13:11 2012 +0100 + + Remove duplicate typedefs + + Redefining typedefs is allowed by C11 and by a GCC extension, but Clang + doesn't really like it. + + clutter/clutter-types.h | 2 -- + clutter/deprecated/clutter-animation.h | 1 - + 2 files changed, 3 deletions(-) + +commit 3ad550200390388955b373503137f52ad5e3e271 +Author: Emmanuele Bassi +Date: Wed Jun 20 08:52:40 2012 +0100 + + interactive/touch-events: Protect x11-specific calls + + Use the CLUTTER_WINDOWING_X11 define to protect platform-specific calls + like clutter_x11_enable_xinput(). + + https://bugzilla.gnome.org/show_bug.cgi?id=678423 + + tests/interactive/test-touch-events.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 47f8be4d4b6fec011a8fbe85c324344f60b489f2 +Author: Emmanuele Bassi +Date: Wed Jun 20 08:50:48 2012 +0100 + + conform: Put xinput enabling under guards + + Calling clutter_x11_* API should be done only under the platform + specific guards we provide with Clutter. + + https://bugzilla.gnome.org/show_bug.cgi?id=678423 + + tests/conform/test-conform-common.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 5eb3fbf3cf89950d43d495fcd8e89d93731e8869 +Author: Emmanuele Bassi +Date: Tue Jun 19 14:43:40 2012 +0100 + + build: Add coverage support using lcov + + Unlike gcov, lcov provides a nice HTML output that allows immediate + visualization of the current coverage. + + The updates of the build system have been taken from GLib, which has + been using lcov for a while with good results. + + .gitignore | 4 ++++ + Makefile.am | 26 +++++++++++++++++++- + configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- + 3 files changed, 104 insertions(+), 3 deletions(-) + +commit c4acae7752b2c8c95a03b324dbf40dd5007cafbf +Author: Emmanuele Bassi +Date: Tue Jun 19 14:17:05 2012 +0100 + + build: Remove gcov from the build + + We want to switch to lcov, so let's start with a clean slate. + + Makefile.am | 6 +----- + build/Makefile.am | 2 -- + build/autotools/Makefile.am | 1 - + build/autotools/Makefile.am.gcov | 33 ------------------------------ + build/gen-gcov.pl | 44 ---------------------------------------- + clutter/Makefile.am | 7 +------ + configure.ac | 30 --------------------------- + 7 files changed, 2 insertions(+), 121 deletions(-) + +commit b850696b311817a68e29bcf8735780cdd3b8fd4c +Author: Emmanuele Bassi +Date: Tue Jun 19 12:18:32 2012 +0100 + + interactive/touch-events: Add a missing return value + + The draw_touches() function must return a boolean value. + + https://bugzilla.gnome.org/show_bug.cgi?id=678391 + + tests/interactive/test-touch-events.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit eca725fe964542ea29e744a7f01f975f2567671a +Author: Sasi Bhushan Boddepalli +Date: Tue Jun 19 16:56:01 2012 +0530 + + Updated Telugu Translation + + po/te.po | 1394 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 751 insertions(+), 643 deletions(-) + +commit 6597245912ef241cd603d16d1b20645723a02ee2 +Author: Emmanuele Bassi +Date: Tue Jun 19 09:38:01 2012 +0100 + + build: Remove tarball upload to clutter-project.org + + Without being on the Intel network, you can't upload the tarball on + clutter-project.org, so it'll have to be done manually from now on. + + build/autotools/Makefile.am.release | 13 +++++-------- + 1 file changed, 5 insertions(+), 8 deletions(-) + +commit 7b07d4a7c52d93b4b931a189c572f07b7ef9f04f +Author: Emmanuele Bassi +Date: Mon Jun 18 23:00:08 2012 +0100 + + transition: Check if we're setting the same interval + + If we do, then don't bother. + + clutter/clutter-transition.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit b658023324c98b3ad4d40a9c2804b7f829a48366 +Author: Emmanuele Bassi +Date: Mon Jun 18 22:21:14 2012 +0100 + + property-transition: Lazily convert the interpolated value + + If the Interval used has a different type than the property we are + animating through a PropertyTransition then we should transform the + interpolated value before applying it, to avoid warnings down the + line. + + clutter/clutter-property-transition.c | 39 +++++++++++++++++++++++++++++++---- + 1 file changed, 35 insertions(+), 4 deletions(-) + +commit c57cabd4c26d8d99559cf65593599a1737438952 +Author: Emmanuele Bassi +Date: Mon Jun 18 18:04:10 2012 +0100 + + conform/interval: Add transformation unit test + + Verify that it's possible to pass a transformable type to + ClutterInterval. + + tests/conform/interval.c | 31 +++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 2 files changed, 32 insertions(+) + +commit bebe90e565f852ad858927fd0befe81137bf1326 +Author: Emmanuele Bassi +Date: Mon Jun 18 17:54:06 2012 +0100 + + interval: Do not leak the result GValue + + The compute() method will cache the result, to avoid multiple + allocations and copies; this means, though, that we need to unset the + GValue when destroying the Interval. + + clutter/clutter-interval.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit cfc4e86b312d6ddfcdb2d783d65e619778bd3562 +Author: Emmanuele Bassi +Date: Mon Jun 18 17:53:26 2012 +0100 + + interval: Compute progress for signed char + + Not just for unsigned ones, though both are pretty pointless. + + clutter/clutter-interval.c | 17 ++++++++++++++++- + 1 file changed, 16 insertions(+), 1 deletion(-) + +commit 44642b6a57e753bbe0f68a7583917218c3e1b9f0 +Author: Emmanuele Bassi +Date: Mon Jun 18 17:52:37 2012 +0100 + + interval: Validate more fundamental types + + 64bit integers and floating point values should be validated as well. + + clutter/clutter-interval.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 75 insertions(+) + +commit aacd28cc2115f663df2c18ee3f4cdac2e5dbf055 +Author: Emmanuele Bassi +Date: Mon Jun 18 17:51:48 2012 +0100 + + conform: Initial suite for ClutterInterval + + ClutterInterval is undertested, so we should start adding a unit test + for it. + + tests/conform/Makefile.am | 1 + + tests/conform/interval.c | 39 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 ++ + 3 files changed, 42 insertions(+) + +commit 54e22590b95c54dcba066e9519b87e529d33cf7d +Author: Emmanuele Bassi +Date: Mon Jun 18 18:02:58 2012 +0100 + + interval: Remove unnecessary check + + Now that the interval can transform the initial and final values to the + type declared when constructing it, there is no need to check for the + value type inside set_initial_value() and set_final_value(). + + clutter/clutter-interval.c | 12 ------------ + 1 file changed, 12 deletions(-) + +commit a0c620b1576a9d72a4f5dc517169778fadec7fa9 +Author: Emmanuele Bassi +Date: Mon Jun 18 11:07:39 2012 +0100 + + interval: Transform values on set, if needed + + It's possible that GValues passed to a ClutterInterval setter are not + of the same type as the interval - for instance, if they come from + language bindings, or from untrusted sources; we can use the same + transformation functions we already use inside ClutterTransition to + ensure that the ClutterInterval always stores values of the same type + used to create the interval itself. + + clutter/clutter-interval.c | 35 ++++++++++++++++++++++++++++++++++- + 1 file changed, 34 insertions(+), 1 deletion(-) + +commit b525253c88ed6f0dd57e4397fe11f07760059056 +Author: Alejandro Piñeiro +Date: Mon Jun 18 11:28:45 2012 +0200 + + tests: a11y: updated atkevents after bug 675183 + + tests/accessibility/cally-atkevents-example.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 0d4d467dd55ac23151a32e52195d47b6ab7706ca +Author: Alejandro Piñeiro +Date: Mon Jun 18 11:30:25 2012 +0200 + + a11y: Remove key event listener hash table if no longer required + + https://bugzilla.gnome.org/show_bug.cgi?id=675183 + + clutter/cally/cally-util.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit cafcf14e0e199df65842359d95c6595de46ad32b +Author: Alejandro Piñeiro +Date: Wed May 9 17:10:55 2012 +0200 + + a11y: atk_add_key_event_listener listener_id should not return 0 as a valid value + + cally_util_add_key_event_listener first id returned was 0, but as + the documentation says, this is a reserved value for a wrong id + + Fixes https://bugzilla.gnome.org/show_bug.cgi?id=675183 + + clutter/cally/cally-util.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a88f73091b7606447418a63c62cb447f2ee63780 +Author: Frédéric Péters +Date: Tue Jun 12 08:25:05 2012 +0200 + + tests: link test-conformance against libm + + https://bugzilla.gnome.org/show_bug.cgi?id=677921 + + tests/conform/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 725f4a07f3fb04518646f792b64d3c7fa120091a +Author: Emmanuele Bassi +Date: Wed Jun 13 10:23:28 2012 +0100 + + canvas: Propagate Cairo errors when diagnostic mode is enabled + + It can be a useful debugging tool to report the eventual error state of + the cairo_t after the ::draw signal emission ended. + + clutter/clutter-canvas.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit b4222db71de7a5588a4160a8699f295906181176 +Author: Tomeu Vizoso +Date: Thu Jun 14 11:17:05 2012 +0200 + + tests: Make sure we return 0 only on error + + tests/conform/events-touch.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit d72558d3caa1993dff3b8d81e2aabaae3d104a30 +Author: Tomeu Vizoso +Date: Wed Jun 13 12:37:02 2012 +0200 + + Stop casting ClutterTouchSequence* to ulong + + Use instead a hash table to link touch sequences to colors. + + tests/interactive/test-touch-events.c | 27 ++++++++++++++++++--------- + 1 file changed, 18 insertions(+), 9 deletions(-) + +commit 60967127b441b610384f875556de34cc6205df70 +Author: Emmanuele Bassi +Date: Wed Jun 13 09:09:56 2012 +0100 + + docs: Mention the Timeline::stopped signal in the class description + + Now that we have the ::stopped signal, it would be good if the + documentation mentioned it explicitly as the dual of the ::started + signal. + + clutter/clutter-timeline.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit e01f9f330dc87f308d2a064eae4d7f75fe66ee8d +Author: Emmanuele Bassi +Date: Tue Jun 12 22:44:42 2012 +0100 + + timeline: Emit last ::completed before ::stopped + + The ::stopped signal should be emitted at the end of the Timeline, after + the last ::completed signal emission, in order to have a proper + chronological progress of signal emissions: + + started → new-frame → [ ... ] → completed → stopped + + This way, ::stopped can perform a proper teardown of the state set up + during ::started, without interfering with the potential cyclical + emission of ::completed. + + clutter/clutter-timeline.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 252eafa5206066062d8f9605fad9367e891c3e45 +Author: Evan Nemerson +Date: Tue Jun 12 15:41:39 2012 -0700 + + introspection: assorted annotation fixes ported from Vala + + https://bugzilla.gnome.org/show_bug.cgi?id=677778 + + clutter/clutter-binding-pool.c | 3 ++- + clutter/clutter-color.c | 6 +++--- + clutter/clutter-main.c | 4 ++-- + clutter/clutter-shader-types.c | 22 +++++++++++----------- + clutter/clutter-stage.c | 2 +- + 5 files changed, 19 insertions(+), 18 deletions(-) + +commit 1bdd21481102fa8078cb3dd546bacdcd39e020e9 +Author: Bastian Winkler +Date: Tue Jun 12 14:30:00 2012 +0200 + + grid-layout: Insert new rows/columns at the appropriate position + + clutter/clutter-grid-layout.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 7c8f761d43f17b2dafa9be930fc5d6409fc5ee0a +Author: Bastian Winkler +Date: Mon Jun 11 17:17:46 2012 +0200 + + grid-layout: Fix attach position for horizontal orientation + + Switch the attach position. A new child should be positioned right of + it's previous sibling in ltr mode. + + clutter/clutter-grid-layout.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9ca3f8f013216efb0afa122c4781206b4aaefc15 +Author: Ihar Hrachyshka +Date: Tue Jun 12 18:10:27 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 1326 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 734 insertions(+), 592 deletions(-) + +commit c73549f9d34ed13d2bdee7d976be582b51d3c99f +Author: Emmanuele Bassi +Date: Mon Jun 11 13:47:29 2012 +0100 + + Update keysyms headers + + clutter/clutter-keysyms.h | 4 ++++ + clutter/deprecated/clutter-keysyms.h | 4 ++++ + 2 files changed, 8 insertions(+) + +commit 716ee65a98a2ee779a6069e4a41b0186afa29f66 +Author: Emmanuele Bassi +Date: Mon Jun 11 13:46:38 2012 +0100 + + keysyms-update: Add deprecation guards to the deprecated header + + We still need to add them in case the header is directly included. + + clutter/clutter-keysyms-update.pl | 4 ++++ + 1 file changed, 4 insertions(+) + +commit f6d169f36039a52b15338e164b3b600924400bd4 +Author: Emmanuele Bassi +Date: Mon Jun 11 10:21:36 2012 +0100 + + docs: Update the release notes for 1.12 + + README.in | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +commit 7118bab23ca2e3cd86b85c393239da3c65185b03 +Author: Emmanuele Bassi +Date: Mon Jun 11 10:02:38 2012 +0100 + + docs: Change GridLayout's short description + + Clutter doesn't have widgets. + + clutter/clutter-grid-layout.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 231f0cbd0c6704ed4d672709ca110f2b098852a2 +Author: Emmanuele Bassi +Date: Sun Jun 10 23:34:47 2012 +0100 + + docs: Document user_data argument for BindingActionFunc + + clutter/clutter-binding-pool.h | 1 + + 1 file changed, 1 insertion(+) + +commit 847f9aef43b6f42a84b9b894acd5816aadc3ec79 +Author: Emmanuele Bassi +Date: Sun Jun 10 23:33:00 2012 +0100 + + docs: Add missing clutter_interval_is_valid symbol + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 5eb07a301060225e2e33d7d8c5a61003dda7714d +Author: Emmanuele Bassi +Date: Sat Jun 9 10:38:09 2012 +0100 + + base-types: Don't free zero point and rect + + Calling clutter_point_free(clutter_point_zero()) or calling + clutter_rect_free(clutter_rect_zero()) should be safe, exactly like it's + safe to call those functions with a NULL argument. + + clutter/clutter-base-types.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 17539bca95e14be051311995dbec3a2b75f00150 +Author: Emmanuele Bassi +Date: Sat Jun 9 10:35:56 2012 +0100 + + base-types: Add zero point and rect + + A constant ClutterPoint for (0, 0) and a constant degenerate ClutterRect + can be useful as guards for pointers, freeing the NULL value to mean + "unset". + + clutter/clutter-base-types.c | 42 +++++++++++++ + clutter/clutter-types.h | 96 ++++++++++++++++-------------- + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 96 insertions(+), 46 deletions(-) + +commit 24495918bbbb2b54f7ba3069690d69a6937d1426 +Author: Emmanuele Bassi +Date: Sat Jun 9 10:08:46 2012 +0100 + + docs: Further clarifications on implicit vs explicit animations + + The wording is a bit terse, so it's better to clarify it. + + clutter/clutter-actor.c | 32 ++++++++++++++++++++------------ + 1 file changed, 20 insertions(+), 12 deletions(-) + +commit 4c1bf6162a9c099dfccb4244bff6ac72d3f358b1 +Author: Emmanuele Bassi +Date: Sat Jun 9 09:53:14 2012 +0100 + + docs: Remove the old animation tutorial + + The animation tutorial was written in the Good Ol' 0.x days, and has + barely been updated during the 1.x cycle; it only referenced low level + or deprecated API, and the ClutterActor class description has a whole + section on how to animate actors using both the implicit and the + explicit animation API. + + doc/reference/clutter/Makefile.am | 2 - + .../clutter/clutter-animation-tutorial.xml | 466 --------------------- + doc/reference/clutter/clutter-docs.xml.in | 11 - + 3 files changed, 479 deletions(-) + +commit 7043a3a1ed52448d2d952cb88cb0f28d75ef021e +Author: Emmanuele Bassi +Date: Fri Jun 8 18:39:01 2012 +0100 + + docs: Add notes on implicit vs. explicit animations + + The implicit animations only apply to properties that are documented as + 'animatable'; the explicit animations apply to any property defined + through GObject or ClutterAnimatable. + + clutter/clutter-actor.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 9412b1a4c3b440168db659bd928c5cca943c0ff7 +Author: Emmanuele Bassi +Date: Fri Jun 8 18:13:31 2012 +0100 + + actor: Provide an initial easing state + + For 1.x, we still have a duration of 0 msecs, but we have a valid easing + state, so we can change the easing parameters without calling save and + restore. + + clutter/clutter-actor.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 0a5967ef503aebf020fb084a13dd8b6851a7d813 +Author: Evan Nemerson +Date: Thu Jun 7 16:22:03 2012 -0700 + + binding-pool: add user_data parameter to ClutterBindingActionFunc + + https://bugzilla.gnome.org/show_bug.cgi?id=677659 + + clutter/clutter-binding-pool.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit cc01ebfe68f7ec622593ea9383df3ebc5c651aa8 +Author: Daniel Mustieles +Date: Sat Jun 9 11:54:54 2012 +0200 + + Updated Spanish translation + + po/es.po | 466 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 246 insertions(+), 220 deletions(-) + +commit 0616fbdb0486d8630df3e952c43f21fc0c58ef04 +Author: Fran Diéguez +Date: Fri Jun 8 20:03:55 2012 +0200 + + Updated Galician translations + + po/gl.po | 442 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 233 insertions(+), 209 deletions(-) + +commit b21cb294791f50285bbe86c7f1c8ec446370ffbe +Author: Emmanuele Bassi +Date: Fri Jun 8 17:33:30 2012 +0100 + + property-transition: Verify the interval on compute_value() + + By checking if the interval is valid inside compute_value() we can catch + the cases where the interval values of a PropertyTransition are set + after the transition has been added to an Animatable instance - i.e. the + following code: + + let transition = new Clutter.PropertyTransition(); + transition.set_property_name('opacity'); + actor.add_transition('opacityAnim', transition); + transition.set_to_value(0); + + should be equivalent to: + + let transition = new Clutter.PropertyTransition(); + transition.set_property_name('opacity'); + transition.set_to_value(0); + actor.add_transition('opacityAnim', transition); + + instead of emitting a warning. + + clutter/clutter-property-transition.c | 55 ++++++++++++++++++++++------------- + 1 file changed, 35 insertions(+), 20 deletions(-) + +commit 762053cd28058bc93d4d2d71b1da1a5599042c0a +Author: Emmanuele Bassi +Date: Fri Jun 8 17:32:51 2012 +0100 + + interval: Add is_valid() method + + The is_valid() method checks if the Interval has an initial and final + values and it's not still uninitialized. + + clutter/clutter-interval.c | 24 ++++++++++++++++++++++++ + clutter/clutter-interval.h | 3 +++ + clutter/clutter.symbols | 1 + + 3 files changed, 28 insertions(+) + +commit dfab05544371c7becc512607db6061094c3bfd13 +Author: Emmanuele Bassi +Date: Fri Jun 8 15:03:22 2012 +0100 + + interval: Add initial and final properties + + This allows creating a ClutterInterval from language bindings without + using the setter functions. + + clutter/clutter-interval.c | 92 ++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 73 insertions(+), 19 deletions(-) + +commit 7660f5d0c60bf7de39f8ed0ea4ab07e1dc630a59 +Author: Emmanuele Bassi +Date: Fri Jun 8 14:24:57 2012 +0100 + + transition: Use current values if no interval is defined + + Once a ClutterPropertyTransition is attached to a ClutterAnimatable, if + no interval is set we can simply use the current state of the property + to define the from and to values. This allows the creation of property + transitions from the current state of the Animatable instance without + excessive verbosity. + + clutter/clutter-property-transition.c | 33 +++++++++++++++++++++++++++++++-- + clutter/clutter-transition.c | 5 ++--- + 2 files changed, 33 insertions(+), 5 deletions(-) + +commit 189a93677f0d0c710b3692fe88258a2675fd6f5c +Author: Emmanuele Bassi +Date: Fri Jun 8 14:13:36 2012 +0100 + + text: Chain up in the ScriptableIface implementation + + We need ClutterActor's implementation to run as well. + + clutter/clutter-text.c | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +commit c6e1d02fed98872a4bb74013a29c3e3bf04044f9 +Author: Emmanuele Bassi +Date: Fri Jun 8 12:49:07 2012 +0100 + + canvas: Use the actor's content repeat policy + + Similarly to what ClutterImage does. + + clutter/clutter-canvas.c | 21 ++++++++++++++++++++- + 1 file changed, 20 insertions(+), 1 deletion(-) + +commit 92fc2c760cf788979a57bbca74321c490011f60f +Author: Emmanuele Bassi +Date: Fri Jun 8 12:45:39 2012 +0100 + + image: Use the actor's content repeat policy + + When painting we can now use the ClutterActor content-repeat property to + decide whether or not to repeat the texture data. + + clutter/clutter-image.c | 21 ++++++++++++++++++++- + 1 file changed, 20 insertions(+), 1 deletion(-) + +commit e7aa21203c3f9f001fe04d5d55ba8e47dc0e6668 +Author: Emmanuele Bassi +Date: Fri Jun 8 12:44:28 2012 +0100 + + actor: Add content-repeat + + ClutterContent implementations may allow repeating their contents when + painting; we should provide the repeat policy on the actor, like we do + for scaling filters and content gravity. + + clutter/clutter-actor.c | 70 ++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 5 +++ + clutter/clutter-enums.h | 18 ++++++++ + clutter/clutter.symbols | 3 ++ + doc/reference/clutter/clutter-sections.txt | 5 ++- + 5 files changed, 100 insertions(+), 1 deletion(-) + +commit ec296646f6967a4860d2d54901a77ca046edba6d +Author: Emmanuele Bassi +Date: Thu Jun 7 18:02:25 2012 +0100 + + table: Deprecate the align, expand, and fill layout properties + + ClutterActor exposes their equivalent, and ClutterTableLayout honours + them since commit 8e24de86b6f88f3bfd1e65cdfd845f330212d1c6. + + clutter/clutter-table-layout.c | 21 +++++++++++++++++++-- + clutter/clutter-table-layout.h | 7 +++++++ + 2 files changed, 26 insertions(+), 2 deletions(-) + +commit 75c3339c66a840733e4c6219d8286b66e8108a6d +Author: Emmanuele Bassi +Date: Thu Jun 7 16:14:21 2012 +0100 + + text: Use actor alignments when painting the layout + + ClutterActor's x-align and y-align properties should be used to control + the alignment of the PangoLayout when painting it within a larger + allocation, and the ClutterText has the x-expand or the y-expand flags + set. + + clutter/clutter-text.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 77 insertions(+), 5 deletions(-) + +commit c0b3e2e83aca99541ef5eeb15549a482ecf4f7d7 +Author: Alexander Larsson +Date: Fri Jun 8 11:29:43 2012 +0200 + + Don't allocate size to invisible BinLayout children + + This is similar to what other layouts do, and avoids problems with + Gtk+ actor children which warn about being allocated not enough + space. + + clutter/clutter-bin-layout.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 76f1a42ef8eb1ff1cd29a4e1bf1393804d28de2a +Author: Alexander Larsson +Date: Thu Jun 7 16:44:08 2012 +0200 + + BinLayout: Always use fixed_x/y for FIXED if set + + We want to use the actually set value for x/y, not the current allocation, + as that might be a transition from an earlier allocation animation. + + clutter/clutter-bin-layout.c | 14 +++++++++++--- + 1 file changed, 11 insertions(+), 3 deletions(-) + +commit fd8dcfcc565f1f3130cbd1c1b59a870bda26d518 +Author: Alexander Larsson +Date: Thu Jun 7 16:32:01 2012 +0200 + + Ensure that fixed positions always start at 0,0 + + Fixed positions are defined to be initialized at 0,0 whenever + enabled, by setting fixed_position_enabled to true, or by setting + just one of x/y. This normally happens in the defaults, but we need + to make sure it also happens if a fixed position was once set but + then disabled. We do this by always resetting it back to 0,0 when + fixed_position_set is unset. + + clutter/clutter-actor.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit 962bcb12224685b3a93fe5b449331d5d477eaf87 +Author: Alexander Larsson +Date: Thu Jun 7 16:31:22 2012 +0200 + + Add _clutter_actor_peek_layout_info + + This will be needed later to get a layout_info without creating one + if there is none already. + + clutter/clutter-actor-private.h | 1 + + clutter/clutter-actor.c | 20 ++++++++++++++++++-- + 2 files changed, 19 insertions(+), 2 deletions(-) + +commit 1ab6fc0b39abb646b787eb1d12b46c6cb967db8d +Author: Emmanuele Bassi +Date: Thu Jun 7 12:23:49 2012 +0100 + + conform/events-touch: Silently bail out if init failed + + This removes the need to conditionally run the test. + + tests/conform/events-touch.c | 33 ++++++++++++++++++++++++--------- + tests/conform/test-conform-main.c | 11 ++--------- + 2 files changed, 26 insertions(+), 18 deletions(-) + +commit 9371029a89d56a932c550efa43ad6c46e150896e +Author: Emmanuele Bassi +Date: Thu Jun 7 12:06:56 2012 +0100 + + actor: Improve debug message for create_transition() + + Add the property and easing state information. + + clutter/clutter-actor.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 42b933eeafc554e43c6e1579dcda6a4f8d7f39b4 +Author: Emmanuele Bassi +Date: Thu Jun 7 11:51:33 2012 +0100 + + debug: Group debug messages by timestamps + + Instead of showing the full timestamp for debugging messages that happen + within a second, showing the delta from the previous full timestamp can + be more useful when debugging; this allows immediately seeing the time + difference, instead of doing the math in our heads. + + clutter/clutter-main.c | 24 ++++++++++++++++++++++-- + 1 file changed, 22 insertions(+), 2 deletions(-) + +commit a3a2fbfd5a738ffeb2b8f55183ff49dc8e884342 +Author: Emmanuele Bassi +Date: Thu Jun 7 11:34:12 2012 +0100 + + actor: Improve the debug name + + Only for debug builds, the debug name should include a) actor name, b) + type name, and c) pointer address. + + For non-debug builds we can live with the actor/type name. + + clutter/clutter-actor.c | 32 ++++++++++++++++++++++++++++++-- + 1 file changed, 30 insertions(+), 2 deletions(-) + +commit b339b845cb7620e4784e3f03b944821bde17ab1d +Author: Tomeu Vizoso +Date: Thu Jun 7 11:08:49 2012 +0200 + + tests: Add unit test for touch event handling + + For now, it just generates a simple horizontal slide (by writing + to /dev/uinput) and checks that the stage gets the events at the + expected coordinates. + + The test won't run if it doesn't have read/write permissions to + /dev/uinput. + + It also adds OS_LINUX to config.h. + + configure.ac | 5 + + tests/conform/Makefile.am | 5 + + tests/conform/events-touch.c | 379 ++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-common.c | 2 + + tests/conform/test-conform-main.c | 9 + + 5 files changed, 400 insertions(+) + +commit ebb61dea1fa7a8cf09f8ef3ce7d760442461cdb6 +Author: Emmanuele Bassi +Date: Wed Jun 6 13:39:50 2012 +0100 + + examples: Enable maintainer compiler flags + + Another step in keeping the example code up to date and correct. + + examples/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a54102379599945435a1f6a69e6708594661ad8b +Author: Emmanuele Bassi +Date: Wed Jun 6 13:39:47 2012 +0100 + + examples/layout: Initialize variables to avoid warnings + + examples/layout-manager.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 75ef676b1507d6fb86e2c52c0ba3c79a1ece4d70 +Author: Emmanuele Bassi +Date: Wed Jun 6 13:37:05 2012 +0100 + + examples: Build with deprecation warnings turned on + + We want to ensure that the examples stay valid and idiomatic; thus, we + should build them with deprecation warnings turned on. + + examples/Makefile.am | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit c13290240c6087411835da1e6080ce3389714922 +Author: Emmanuele Bassi +Date: Wed Jun 6 13:37:02 2012 +0100 + + examples/constraints: Do not use deprecated API + + examples/constraints.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4db310b1274408bbc76d2d199c921b59e2ea10ec +Author: Emmanuele Bassi +Date: Wed Jun 6 13:36:46 2012 +0100 + + examples/flow: Do not use deprecated API + + examples/flow-layout.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 008afe80e38fd35576fc2f636e1a6aefe6e52853 +Author: Emmanuele Bassi +Date: Wed Jun 6 11:19:33 2012 +0100 + + docs: Fix wrong rotation-* properties name + + Copy and paste typos from the old documentation. + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 38724e263910b9cdf4ca1b76753c1275788c5ed1 +Author: Danielle Madeley +Date: Tue Jun 5 15:00:48 2012 +1000 + + evdev: Use new xkbcommon include path + + Inspired by a similar patch in Wayland. + + clutter/evdev/clutter-xkb-utils.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 784730db98d5c3b06458d2540ef8679507767c73 +Author: Emmanuele Bassi +Date: Tue Jun 5 19:52:13 2012 +0100 + + Post-release version bump to 1.11.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1d1cac02c0d57a568583a671cf0a6e5d4da17df9 +Author: Emmanuele Bassi +Date: Tue Jun 5 19:36:45 2012 +0100 + + Release Clutter 1.11.4 (snapshot) + + NEWS | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 101 insertions(+), 1 deletion(-) + +commit 7ed77e98fe9766b1909fe75b29b499e761ffb7d5 +Author: Emmanuele Bassi +Date: Tue Jun 5 19:40:07 2012 +0100 + + symbols: Add missing functions + + clutter/clutter.symbols | 2 ++ + 1 file changed, 2 insertions(+) + +commit 0247d070166f4483f9e708129064fa53a49950dd +Author: Emmanuele Bassi +Date: Tue Jun 5 19:27:28 2012 +0100 + + docs: Add ClutterTimelineClass.stopped annotation + + clutter/clutter-timeline.h | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit 7381050ab1f352d5c13b4b2a120c599550b72397 +Author: Emmanuele Bassi +Date: Mon Jun 4 23:16:30 2012 +0100 + + examples/threads: Modernize code + + Drop the usage of behaviours and alphas, and use transitions and + implicit animations instead. + + examples/threads.c | 125 +++++++++++++++++++++++++++++------------------------ + 1 file changed, 69 insertions(+), 56 deletions(-) + +commit 0acc85dab13775e1a521588d4f2f5b229e6dcac6 +Author: Daniel Mustieles +Date: Tue Jun 5 17:56:45 2012 +0200 + + Updated Spanish translation + + po/es.po | 432 ++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 249 insertions(+), 183 deletions(-) + +commit 43d40758bddee49d24ec14c28dd859bb7032145a +Author: Tomeu Vizoso +Date: Mon Jun 4 13:15:43 2012 +0200 + + tests: Add interactive test for touch events + + https://bugzilla.gnome.org/show_bug.cgi?id=677390 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-touch-events.c | 161 ++++++++++++++++++++++++++++++++++ + 2 files changed, 163 insertions(+), 1 deletion(-) + +commit 0ec01a2e42645b4fe9ce23335983d326249afff3 +Author: Tomeu Vizoso +Date: Mon Jun 4 13:15:13 2012 +0200 + + events: Deliver touch events to actors + + https://bugzilla.gnome.org/show_bug.cgi?id=677390 + + clutter/clutter-main.c | 34 ++++++++++++++++++++++++++++++++++ + 1 file changed, 34 insertions(+) + +commit d7f68f64d37411bf764a096c5e50cb03c2112ce7 +Author: Fran Diéguez +Date: Tue Jun 5 15:51:07 2012 +0200 + + Updated Galician translations + + po/gl.po | 131 ++++++++++++++++++++++++++++++++++++++++++++++----------------- + 1 file changed, 96 insertions(+), 35 deletions(-) + +commit 13b1b9c62f051c4b3fab97d23d130b892e9a0606 +Author: Piotr Drąg +Date: Tue Jun 5 15:24:57 2012 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit dae25d839edee004df76cf2ff9f3e988fdbf2845 +Author: Bastian Winkler +Date: Sun Jun 3 12:18:37 2012 +0200 + + examples: Add a grid-layout example + + A fairly complete example for ClutterGridLayout + + https://bugzilla.gnome.org/show_bug.cgi?id=677372 + + examples/Makefile.am | 1 + + examples/grid-layout.c | 386 +++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 387 insertions(+) + +commit 1eb869ec8f893cfc9cd03576335bfac173f8fa3c +Author: Bastian Winkler +Date: Sun Jun 3 05:02:31 2012 +0200 + + Add ClutterGridLayout + + ClutterGridLayout is port of GtkGrid to a Clutter layout manager. All + the logic is taken from gtkgrid.c, so all the credits should go to + Matthias Clasen for writing this nice piece of code. + + ClutterGridLayout supports adding children with it's own methods + GridLayout.attach() and GridLayout.attach_next_to() as well as + Actor.add_child() and friends. The latter adds children in a similar + fashion to ClutterBoxLayout + + https://bugzilla.gnome.org/show_bug.cgi?id=677372 + + clutter/Makefile.am | 2 + + clutter/clutter-enums.h | 18 + + clutter/clutter-grid-layout.c | 2199 ++++++++++++++++++++++++++++ + clutter/clutter-grid-layout.h | 161 ++ + clutter/clutter.h | 1 + + clutter/clutter.symbols | 18 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 39 + + doc/reference/clutter/clutter.types | 1 + + 9 files changed, 2440 insertions(+) + +commit 8ef55e4e98c192d2d59e90fba8b2bffccdeae08c +Author: Alexander Larsson +Date: Tue Jun 5 10:55:17 2012 +0200 + + Don't allocate size for invisible BinLayout children + + README.in | 6 ++++++ + clutter/clutter-bin-layout.c | 6 ++++++ + 2 files changed, 12 insertions(+) + +commit c7c3d852250f15aec077b54ed5d9d493bd383762 +Author: Bastian Winkler +Date: Mon Jun 4 11:47:58 2012 +0200 + + box-layout: Deprecate expand/fill/align child properties + + These are covered by ClutterActor:[xy]-align and + ClutterActor:[xy]-expand + + https://bugzilla.gnome.org/show_bug.cgi?id=677283 + + clutter/clutter-box-layout.c | 36 +++++++++++++++++++++++------------- + clutter/clutter-box-layout.h | 6 ++++++ + 2 files changed, 29 insertions(+), 13 deletions(-) + +commit f14c71cd3cdac442a660568fae7a0ec81a5dece1 +Author: Bastian Winkler +Date: Sat Jun 2 15:01:11 2012 +0200 + + examples: Updated box-layout example + + Updated test-box-layout to use modern API and move it to examples. + + https://bugzilla.gnome.org/show_bug.cgi?id=677283 + + examples/Makefile.am | 1 + + examples/box-layout.c | 301 ++++++++++++++++++++++++++++++++++++ + tests/interactive/Makefile.am | 1 - + tests/interactive/test-box-layout.c | 292 ---------------------------------- + 4 files changed, 302 insertions(+), 293 deletions(-) + +commit 157353ec3cfee0f2b6f3320d0aa119bd1681bd36 +Author: Bastian Winkler +Date: Fri Jun 1 16:43:11 2012 +0200 + + box-layout: Honor actor expand and alignment + + Check if the actor has needs to expand and use Actor.allocate() instead + of Actor.allocate_align_fill() in that case. + + https://bugzilla.gnome.org/show_bug.cgi?id=677283 + + clutter/clutter-box-layout.c | 32 ++++++++++++++++++++++---------- + 1 file changed, 22 insertions(+), 10 deletions(-) + +commit 8e24de86b6f88f3bfd1e65cdfd845f330212d1c6 +Author: Bastian Winkler +Date: Fri Jun 1 16:49:51 2012 +0200 + + table-layout: Honor actors expand and alignment settings + + Check if the actor has needs to expand and use Actor.allocate() instead + of Actor.allocate_align_fill in that case. + + https://bugzilla.gnome.org/show_bug.cgi?id=677284 + + clutter/clutter-table-layout.c | 36 ++++++++++++++++++++++++++++-------- + 1 file changed, 28 insertions(+), 8 deletions(-) + +commit dbf45c680f510dbcd92f8bdb527dad111285d6b9 +Author: Bastian Winkler +Date: Sun Jun 3 13:55:30 2012 +0200 + + doc: Add ClutterLayoutManagerPrivate to doc sections + + https://bugzilla.gnome.org/show_bug.cgi?id=677384 + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 65c8b11604e299ef2788a69a76df24d8a5ddb870 +Author: Emmanuele Bassi +Date: Mon Jun 4 10:34:22 2012 +0100 + + image: Add a data setter using GBytes + + The plain C bytes array, while convenient from a C perspective, is not + well handled by language bindings: the length of the array is not + specified, and it's only just implied by the image data size, rowstride, + and pixel format. + + GBytes is a read-only bytes buffer that has an implicit length; we can + use it as the storage medium so that language bindings can actually + function correctly. + + clutter/clutter-image.c | 65 +++++++++++++++++++++++++++++- + clutter/clutter-image.h | 8 ++++ + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 74 insertions(+), 1 deletion(-) + +commit dcae4909f3ef0d880761fa0f4aeb16e1008fa860 +Author: Bruno Brouard +Date: Sun Jun 3 13:51:19 2012 +0200 + + Updated French translation + + po/fr.po | 544 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 278 insertions(+), 266 deletions(-) + +commit 23daf302ae263cb085c97c5362469cb0298189b0 +Author: Fran Diéguez +Date: Sun Jun 3 03:23:40 2012 +0200 + + Updated Galician translations + + po/gl.po | 596 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 304 insertions(+), 292 deletions(-) + +commit d154a10fa0e206a013058a45955b2a582d1417c0 +Author: Debarshi Ray +Date: Mon May 14 00:57:57 2012 +0200 + + cookbook/examples: Don't mix up height and width while splitting + + Fixes: https://bugzilla.gnome.org/675998 + + doc/cookbook/examples/textures-split-go.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit b1fcc828be841fc29547435b0c8611105d7938b8 +Author: Emmanuele Bassi +Date: Thu May 31 10:06:05 2012 +0100 + + osx/backend: Chain up in create_context() + + This will ensure that we have a CoglContext, albeit the stub winsys one, + on Mac. + + Tested-by: Roland Peffer + Tested-by: Laszlo Pandy + + clutter/osx/clutter-backend-osx.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 7f9c3976a1b87d81e0f65f17437825eff5311974 +Author: Emanuele Aina +Date: Tue May 29 17:40:51 2012 +0200 + + Fix width-for-height allocations + + https://bugzilla.gnome.org/show_bug.cgi?id=677039 + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit de4d70af69a5e33421c468275a3e0e2dc7aaf624 +Author: Emmanuele Bassi +Date: Fri May 25 19:41:14 2012 -0400 + + timeline: Add a new "stopped" signal + + The ::stopped signal is emitted when the timeline has been completely + exhausted or when the timeline has been programmatically stopped by + using clutter_timeline_stop(); the notification at the end of the + timeline run allows to write handlers without having to check whether + the current repeat is the last one, like we are forced to do when using + the ::completed signal. + + Based on the patch by: Jasper St. Pierre + + https://bugzilla.gnome.org/show_bug.cgi?id=676854 + + clutter/clutter-actor.c | 52 +++++++++++++++++----------------------- + clutter/clutter-marshal.list | 1 + + clutter/clutter-timeline.c | 56 ++++++++++++++++++++++++++++++++++++++++---- + clutter/clutter-timeline.h | 3 ++- + clutter/clutter-transition.c | 25 ++++++++------------ + examples/basic-actor.c | 9 +++---- + 6 files changed, 90 insertions(+), 56 deletions(-) + +commit 4634dde6134507ad6598bf4c0c97a70890aaf9dc +Author: Emmanuele Bassi +Date: Wed May 30 14:26:58 2012 +0100 + + actor: Stop transitions on remove_child() + + There's no point in having transitions running when removing a child, so + we just stop them. + + https://bugzilla.gnome.org/show_bug.cgi?id=677098 + + clutter/clutter-actor.c | 47 +++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 37 insertions(+), 10 deletions(-) + +commit 78e789007f505acfec731677e92973ef2b609d14 +Author: Daniel Mustieles +Date: Wed May 30 17:48:00 2012 +0200 + + Updated Spanish translation + + po/es.po | 564 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 285 insertions(+), 279 deletions(-) + +commit b9533cb397d1b272c7975c6e904fcd46894022fa +Author: Emmanuele Bassi +Date: Tue May 29 15:39:59 2012 +0100 + + actor: Finally fix RESIZE_ASPECT content gravity + + Ensure that resizing transitions smoothly when switching between major + axis; the allocation aspect ratio is not important: it's the size of the + allocation that dictates the major axis. + + clutter/clutter-actor.c | 22 +++++++++++++++------- + 1 file changed, 15 insertions(+), 7 deletions(-) + +commit 7df4bfcf3bbce2a7b2b996e2922bd58bff30a1b2 +Author: Bastian Winkler +Date: Tue May 29 14:57:41 2012 +0200 + + box-layout: Remove unused BoxChild members + + These are leftovers from the old animation API an are unused now. + + https://bugzilla.gnome.org/show_bug.cgi?id=677086 + + clutter/clutter-box-layout.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit 93627c876d836eb84079f4a71161571b7d5e5bca +Author: Bastian Winkler +Date: Tue May 29 14:44:44 2012 +0200 + + examples: Allow optional animations in flow-layout + + Allow animations to demonstrate the LayoutManager animation API + + https://bugzilla.gnome.org/show_bug.cgi?id=677085 + + examples/flow-layout.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 4c3bb5e2de93697f2bb672d5c5829a1e5fc6a996 +Author: Matej Urbančič +Date: Tue May 29 20:04:11 2012 +0200 + + Updated Slovenian translation + + po/sl.po | 1282 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 665 insertions(+), 617 deletions(-) + +commit 1339b391326ce30e88c4476cfd4bc288c74c304f +Author: Bastian Winkler +Date: Thu May 24 20:25:22 2012 +0200 + + examples: Update layout-manager example to use the animations API + + https://bugzilla.gnome.org/show_bug.cgi?id=676827 + + examples/layout-manager.c | 22 ++++++++++++++++++++-- + 1 file changed, 20 insertions(+), 2 deletions(-) + +commit 793bde91430c53edd0b39989e59f9f77b562947e +Author: Bastian Winkler +Date: Thu May 24 17:32:11 2012 +0200 + + table-layout: Use the ClutterLayoutManager animation API + + ClutterTableLayout now only calls the animation API of + ClutterLayoutManager + + https://bugzilla.gnome.org/show_bug.cgi?id=676827 + + clutter/clutter-table-layout.c | 195 ++++++++++------------------------------- + 1 file changed, 47 insertions(+), 148 deletions(-) + +commit 58a1854b5729296dbd62071d190c528374e7e4f8 +Author: Bastian Winkler +Date: Thu May 24 17:31:44 2012 +0200 + + box-layout: Use the ClutterLayoutManager animation API + + ClutterBoxLayout now only calls the animation API of + ClutterLayoutManager + + https://bugzilla.gnome.org/show_bug.cgi?id=676827 + + clutter/clutter-box-layout.c | 200 +++++++++++++------------------------------ + 1 file changed, 60 insertions(+), 140 deletions(-) + +commit 320fb156b41fad5048b69acb7ca7a7e582b49182 +Author: Bastian Winkler +Date: Thu May 24 16:06:31 2012 +0200 + + flow-layout: Implement layout animations + + Allow to animate the child allocation using the ClutterLayoutManager + animation API + + https://bugzilla.gnome.org/show_bug.cgi?id=676827 + + clutter/clutter-flow-layout.c | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +commit 03ec016faa146410c12b88851f0428d035933dd4 +Author: Bastian Winkler +Date: Thu May 24 16:05:06 2012 +0200 + + bin-layout: Implement layout animations + + Allow to animate the child allocation using the ClutterLayoutManager + animation API + + https://bugzilla.gnome.org/show_bug.cgi?id=676827 + + clutter/clutter-bin-layout.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +commit 7f6b17bc504ca508554a5e2075af59125682e531 +Author: Bastian Winkler +Date: Thu May 24 15:45:07 2012 +0200 + + layout-manager: Add a new animation API + + It's similar to to the implicit animation API of ClutterActor and + compatible to deprecated API of ClutterBoxLayout and + ClutterTableLayout. + + It adds :use-animations, :easing-mode, :easing-duration and + :easing-delay properties to control animations when allocation of a + child has changed. Layout manager implementers should call + + use_animations = clutter_layout_manager_get_easing_state (manager, + &mode, + &duration, + &delay); + + from the allocate() virtual function to access these values. + + https://bugzilla.gnome.org/show_bug.cgi?id=676827 + + clutter/clutter-layout-manager.c | 406 ++++++++++++++++++++++++++++- + clutter/clutter-layout-manager.h | 27 ++ + clutter/clutter.symbols | 9 + + doc/reference/clutter/clutter-sections.txt | 9 + + 4 files changed, 449 insertions(+), 2 deletions(-) + +commit 734720ef0f849b1e31b01d3d376dfeb3b310ca5f +Author: Bastian Winkler +Date: Thu May 24 14:26:57 2012 +0200 + + layout-manager: Add a private struct to hold future properties + + In order to allow the abstract ClutterLayoutManager class to have own + GObject properties we'll need a private structure. + + https://bugzilla.gnome.org/show_bug.cgi?id=676827 + + clutter/clutter-layout-manager.c | 10 ++++++++++ + clutter/clutter-layout-manager.h | 4 ++-- + 2 files changed, 12 insertions(+), 2 deletions(-) + +commit f9c29d50671d37cde455faaa06f2006950277a9e +Author: Emmanuele Bassi +Date: Mon May 28 15:33:01 2012 +0100 + + build: Move test-unit-names.h out of the dist + + Let it be generated at build time, as it should. + + https://bugzilla.gnome.org/show_bug.cgi?id=674365 + + tests/interactive/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 8e9992de7c04b3e485bd4bcbd70bf51bd2d0e0e1 +Author: Emmanuele Bassi +Date: Mon May 28 14:07:04 2012 +0100 + + paint-volume: Use the correct coordinate for axis alignment + + The z coordinate of the origin should be checked against the same + coordinate of the vertex behind it. Given that most actors are flat + surfaces, this check should always succeed. + + https://bugzilla.gnome.org/show_bug.cgi?id=675396 + + clutter/clutter-paint-volume.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 58b13aa412ba63de2b49cb57167d2d6beb94c7cb +Author: Bastian Winkler +Date: Mon May 28 14:02:25 2012 +0200 + + text: Enable implicit color animations + + Implement the ClutterAnimatable interface to enable implicit animations + for :color, :cursor-color, :selected-text-color and :selection-color. + + https://bugzilla.gnome.org/show_bug.cgi?id=676963 + + clutter/clutter-text.c | 277 ++++++++++++++++++++++++++++++++++++++----------- + 1 file changed, 215 insertions(+), 62 deletions(-) + +commit 129752e5606c652587db8c000a72fe80db889c7d +Author: Emmanuele Bassi +Date: Fri May 25 11:33:57 2012 +0100 + + event: Add convenience functions for Shift and Ctrl modifiers + + Instead of going through clutter_event_get_state() and checking if the + modifier mask is set, we can provide simple convenience functions to do + it for us. + + clutter/clutter-event.c | 32 ++++++++++++++++++++++++++++++ + clutter/clutter-event.h | 5 +++++ + clutter/clutter.symbols | 2 ++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + tests/interactive/test-text-field.c | 9 +++------ + 5 files changed, 44 insertions(+), 6 deletions(-) + +commit 0230f97f609287e30642214f4945f0c3cbae62b5 +Author: Chun-wei Fan +Date: Thu May 24 23:34:36 2012 +0800 + + Visual C++ support: Copy clutter-gdk.h as well + + ... when the GDK backend is also built + + build/win32/vs10/clutter.props | 10 +- + build/win32/vs10/clutter.sln | 16 +- + build/win32/vs10/clutter.vcxprojin | 4 +- + build/win32/vs9/clutter.sln | 344 ++++++++++++++++++------------------- + build/win32/vs9/clutter.vsprops | 8 + + build/win32/vs9/install.vcproj | 52 ++++++ + 6 files changed, 251 insertions(+), 183 deletions(-) + +commit 26285416b2207bf4d9bbc4054dfb82663d51d843 +Author: Chun-wei Fan +Date: Thu May 24 22:27:57 2012 +0800 + + Visual C++ 2010: Fix x64 Release_GDK configs + + build/win32/vs10/clutter.sln | 4 ++-- + build/win32/vs10/clutter.vcxprojin | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +commit 2878258fc099280d0c52ae56156d9ed772c4bcfc +Author: Emmanuele Bassi +Date: Thu May 24 12:08:58 2012 +0100 + + examples: Update drag and drop action code + + Use modern API and show idiomatic behaviour. + + examples/drag-action.c | 114 ++++++++++++++++++++++++++++++++++--------------- + examples/drop-action.c | 107 +++++++++++++++++++++++++++------------------- + 2 files changed, 142 insertions(+), 79 deletions(-) + +commit a45d6455f741ec04f6d3b49ab43632878fb08814 +Author: Alexandre Franke +Date: Wed May 23 17:46:15 2012 +0200 + + Update French translation + + po/fr.po | 1185 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 616 insertions(+), 569 deletions(-) + +commit ee708d1cf8f2a74f34626e2da5b7b42a4d5cb0b7 +Author: Mike Ruprecht +Date: Tue May 22 14:25:19 2012 +0100 + + flow-layout: Check for all positive values + + When creating a FlowLayout container, setting a specific size on it, and + adding a child to it, as per the attached testcase, it crashes. The line + on the backtrace doesn't really make sense, but from looking over it, it + appears that it's probably because priv->line_natural is NULL. The + attached patch makes it so in this case, priv->line_natural is + allocated. + + https://bugzilla.gnome.org/show_bug.cgi?id=676068 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-flow-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 403e1c7e708a7224a840dff6a6ed35722e049af8 +Author: Emmanuele Bassi +Date: Tue May 22 13:58:40 2012 +0100 + + modules: Use 0.10 branch for GStreamer packages + + build/clutter.modules | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit be5eb2f163c6e6838f77ffd6178991a375122571 +Author: Chun-wei Fan +Date: Tue May 22 01:50:12 2012 +0800 + + vs9/clutter.sln: Fix missing build item + + build/win32/vs9/clutter.sln | 1 + + 1 file changed, 1 insertion(+) + +commit ef1860d71d7c00bb521f36e8003866f8e5885742 +Author: Chun-wei Fan +Date: Wed May 16 17:36:38 2012 +0800 + + Bug 676150 GDK: Fix build on Windows + + -Don't include unistd.h and stdint.h unconditionally as not all Windows + compilers have them around. + -Only include cogl/cogl-xlib.h when it is really supported by Cogl and GDK. + -sys/ioctl.h is not available on Windows (MinGW/MSVC). + -Correct the call to cogl_renderer_set_winsys_id: + (backend_cogl->cogl_renderer, COGL_WINSYS_ID_WGL) -> + (renderer, COGL_WINSYS_ID_WGL) + + clutter/gdk/clutter-backend-gdk.c | 11 +++++++++-- + clutter/gdk/clutter-device-manager-gdk.c | 2 ++ + 2 files changed, 11 insertions(+), 2 deletions(-) + +commit aeea9ee7785df7c07ef1af4f32f47dcd2e4cb22c +Author: Bastian Winkler +Date: Sat May 19 14:37:08 2012 +0200 + + actor: Add a custom scriptable "margin" property + + The property uses an array with the following CSS style syntax + + [ top, right, bottom, left ] or + [ top, left/right, bottom ] or + [ top/bottom, left/right ] or + [ top/right/bottom/left ] + + https://bugzilla.gnome.org/show_bug.cgi?id=676367 + + clutter/clutter-actor.c | 88 ++++++++++++++++++++++++++++++++++++++ + tests/conform/script-parser.c | 44 +++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + tests/data/Makefile.am | 1 + + tests/data/test-script-margin.json | 22 ++++++++++ + 5 files changed, 156 insertions(+) + +commit a2d40fcf8c2b839fc8a202442232a7398513a66a +Author: Dominique Bureau +Date: Fri May 11 13:26:50 2012 -0400 + + ClutterText: Cannot pass NULL string to clutter_text_set_text() + + Passing a NULL buffer to clutter_text_set_text() does not behave the same + way as passing an empty string "" (as specified in the documentation). + This was working as expected previously, but somehow the behaviour changed + at some point and created 2 new issues: + - Passing a NULL pointer will not reset the string + - If the ClutterText is editable, it will segfault in strcmp + + Validations have been added to prevent this. + + https://bugzilla.gnome.org/show_bug.cgi?id=675890 + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit dd61be7c2ea238432524dea16b04baf424c2cd36 +Author: Tristan Van Berkom +Date: Thu May 17 18:08:57 2012 -0400 + + ClutterDropAction: Avoid accessing priv->stage is not yet resolved. + + This fixes drop_action_unregister() to not call g_object_get_data() + on priv->stage if not yet resolved. This can happen if the action's + actor was destroyed before ever being mapped. + + clutter/clutter-drop-action.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 2c5af0c868e5dfa851407c46c817af2793a9b4d7 +Author: Emmanuele Bassi +Date: Fri May 18 18:00:30 2012 +0100 + + scroll-actor: Check for point equality in the internal setter + + The public API should just accept any valid value; it's up to the + internal setter to check if we're getting the same value as the one + currently set. + + clutter/clutter-scroll-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 26c1d89d1975f382d4ed4e4d7959835fee991e5e +Author: Bastien Nocera +Date: Fri May 18 17:34:18 2012 +0100 + + scroll-actor: Fix ->transition not being reset + + When the transition was removed from the scroll-actor manually, + to cancel a not-finished animation, the transition struct member + wasn't reset to NULL. + + This fixes this problem, and removes the need for the struct member + to be reset manually when animation has completed. + + https://bugzilla.gnome.org/show_bug.cgi?id=676334 + + clutter/clutter-scroll-actor.c | 11 +---------- + 1 file changed, 1 insertion(+), 10 deletions(-) + +commit c9028cee48f804e5d19cd36b55447cb19e0fd811 +Author: Emmanuele Bassi +Date: Wed May 16 16:12:20 2012 +0100 + + Move scroll actor test to the examples + + Nothing specific to test, and the code is idiomatic enough to be used as + an example. + + clutter/clutter-scroll-actor.c | 8 ++++++ + examples/Makefile.am | 1 + + .../test-scroll-actor.c => examples/scroll-actor.c | 32 ++++++++++++++++------ + tests/interactive/Makefile.am | 1 - + 4 files changed, 32 insertions(+), 10 deletions(-) + +commit 06d13985921f1a369a0d58cb8bee99e9621bdc3a +Author: Bastian Winkler +Date: Wed May 16 13:57:44 2012 +0200 + + table-layout: Remove unused animation helpers + + They aren't used since ClutterTableLayout switched to the implicit + animations API. + + https://bugzilla.gnome.org/show_bug.cgi?id=676158 + + clutter/clutter-table-layout.c | 9 --------- + 1 file changed, 9 deletions(-) + +commit ac05ad47bf17301031a25bd371a940fc1e38d5b2 +Author: Chun-wei Fan +Date: Wed May 16 18:58:53 2012 +0800 + + VS property sheets: Correct "install" process + + Fix the location where clutter-win32.h is "installed". + + build/win32/vs10/clutter.props | 4 ++-- + build/win32/vs9/clutter.vsprops | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 1153e04766e8a0a31c566f079563d5b5db2780a4 +Author: Chun-wei Fan +Date: Wed May 16 18:36:51 2012 +0800 + + Visual C++ support: Fix clutter.def generation + + I forgot about the Visual C++ 2010 files... :| + + build/win32/vs10/clutter.props | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit d5851c8bf98dd3cd6a313b87a4c91ff84c0aee9a +Author: Chun-wei Fan +Date: Wed May 16 18:35:27 2012 +0800 + + Visual C++ support: Fix clutter.def generation + + Some Windows-specific functions were not exported due to this problem. + + build/win32/vs9/clutter.vsprops | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 37e9215521a26e51c87fcafdc183633ee3227b60 +Author: Chun-wei Fan +Date: Wed May 16 17:21:10 2012 +0800 + + Visual C++ support: Avoid redefinition warnings + + CLUTTER_WINDOWING_GDK is defined in the (pre-configured) clutter-config.h, + so don't define that in the Projects again. + + build/win32/vs10/clutter.vcxprojin | 8 ++++---- + build/win32/vs9/clutter.vcprojin | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 1f7ff75a5c5824483b4072f285a52c64f3d9958b +Author: Bastian Winkler +Date: Tue May 15 01:44:51 2012 +0200 + + text: Add missing introspection annotations + + Add allow-none annotations where appropriate + + clutter/clutter-text.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 0ef4cc3aed55035058fd2eab2394c79310aa78f5 +Author: Bastian Winkler +Date: Mon May 14 16:32:53 2012 +0200 + + keyframe-transition: Create a new interval if necessary + + When setting up the transition manually by calling + + clutter_keyframe_transition_set_key_frame (transition, n, keys); + clutter_keyframe_transition_set_values (transition, n, values); + clutter_keyframe_transition_set_modes (transition, n, modes); + + the frame doesn't have a valid interval when calling set_keys(), so we + need to check its existence and create it if necessary. + + https://bugzilla.gnome.org/show_bug.cgi?id=676031 + + clutter/clutter-keyframe-transition.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 8a4489c48e19af071469e5bfbd492e5a94439ce2 +Author: Bastian Winkler +Date: Mon May 14 16:17:34 2012 +0200 + + keyframe-transition: Documentation fixes + + Update the documentation to use the right symbols + + https://bugzilla.gnome.org/show_bug.cgi?id=676032 + + clutter/clutter-keyframe-transition.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit c54c3047f80274e9ab773541bc7d99c2d692778f +Author: Emmanuele Bassi +Date: Tue May 15 15:06:20 2012 +0100 + + scroll-actor: Paint children in pick mode + + Chaining up to the parent's implementation of pick() is not enough: we + need to paint our children explicitly because of the compatibility mode + checks we use to avoid breaking custom containers. + + https://bugzilla.gnome.org/show_bug.cgi?id=676088 + + clutter/clutter-scroll-actor.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 39a4929d75bb882551cd51632befd02c0c2fcf4b +Author: Emmanuele Bassi +Date: Mon May 14 10:33:13 2012 +0100 + + scroll-actor: Implement pick() + + We need to clip the children during picking as well as we do when + painting, to avoid reactive children outside of the visible area + receiving events. + + This also allows us to refactor some common code into proper functions. + + clutter/clutter-scroll-actor.c | 48 ++++++++++++++++++++++++++++++++---------- + 1 file changed, 37 insertions(+), 11 deletions(-) + +commit ee72d9b4af62d91dc16f853ff8165bba20169f52 +Author: Chun-wei Fan +Date: Mon May 14 16:18:13 2012 +0800 + + Visual C++ support: Add support to build GDK backend + + -Add configuration in Clutter projects to add option to build Clutter with + the GDK3 backend in addition to the Win32 backend + -Add another preconfigured clutter-config.h.win32_GDK which contains + backend configs for both GDK3 and Win32 windowing and input. + + build/win32/vs10/clutter.props | 47 +++++- + build/win32/vs10/clutter.sln | 174 +++++++++++++++++++++- + build/win32/vs10/clutter.vcxproj.filtersin | 6 + + build/win32/vs10/clutter.vcxprojin | 222 ++++++++++++++++++++++++++++- + build/win32/vs9/clutter.sln | 173 +++++++++++++++++++++- + build/win32/vs9/clutter.vcprojin | 206 +++++++++++++++++++++++++- + build/win32/vs9/clutter.vsprops | 33 ++++- + clutter/Makefile.am | 1 + + clutter/clutter-config.h.win32_GDK | 20 +++ + 9 files changed, 858 insertions(+), 24 deletions(-) + +commit 193bf6123daac301636f1dc52dc1908564c6d1a4 +Author: Emmanuele Bassi +Date: Fri May 11 17:38:53 2012 +0100 + + examples/canvas: Resize the canvas on allocation changes + + This should show how to make a Canvas resize whenever the actor that + uses it as content changes size. For good measure, it also shows how to + coalesce multiple allocations into one Canvas resize through a timeout + source. + + examples/canvas.c | 39 ++++++++++++++++++++++++++++++++++++++- + 1 file changed, 38 insertions(+), 1 deletion(-) + +commit ae32136fccf5774865ff86e33996d91daabe58a8 +Author: Emmanuele Bassi +Date: Fri May 11 17:37:20 2012 +0100 + + build: Drop version check on auto* + + Just use autoreconf, to avoid having to deal with changes in the version + of autotools. + + If somebody has more recent autotools but the symbolic links used by + autoreconf are still pointing to an old version then they can also fix + their own installation, or get a better distribution. + + autogen.sh | 54 +++++++++++++----------------------------------------- + 1 file changed, 13 insertions(+), 41 deletions(-) + +commit c70a7b94703000b0eac768e3fba9ae5fd2937f9e +Author: Emmanuele Bassi +Date: Fri May 11 13:48:41 2012 +0100 + + modules: Point to the correct branch of Cogl + + Clutter requires the cogl-1.10 branch of Cogl. + + build/clutter.modules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cb4f8168403e4509cdabdbd0b005fa1667fa71a3 +Author: Emmanuele Bassi +Date: Wed May 9 15:03:51 2012 +0100 + + actor: Include margin in explicit sizes for all cases + + When asking for the preferred width and height of an actor, in case + only one of either the minimum or the natural width is set, the margin + offsets should also be applied. + + clutter/clutter-actor.c | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +commit 5ad1ec7cca49dfadb330c96f72d64b78d1f7e803 +Author: Emmanuele Bassi +Date: Tue May 8 10:51:14 2012 +0100 + + Put bind-constraint back into the interactive tests + + The bind-constraint.c example still uses clutter_actor_animate(), and + it'd require some serious reworking to move it to + ClutterPropertyTransition or to implicit animations. + + examples/Makefile.am | 1 - + tests/interactive/Makefile.am | 3 ++- + .../interactive/test-bind-constraint.c | 10 ++++++++-- + 3 files changed, 10 insertions(+), 4 deletions(-) + +commit 4fef7eb68998c0b1414058a12e11b7421ab238d2 +Author: Emmanuele Bassi +Date: Tue May 8 16:13:26 2012 +0100 + + score: Add deprecation annotations to all docs + + A single deprecation to the long-desc is not enough. + + clutter/deprecated/clutter-score.c | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +commit c91cabdab16aeae9bd0bbc7c3d63d0949587cc7d +Author: Emmanuele Bassi +Date: Tue May 8 16:06:59 2012 +0100 + + score: Fix version of the deprecation annotations + + ClutterScore was deprecated in Clutter 1.8, not 1.10. + + clutter/deprecated/clutter-score.h | 30 +++++++++++++++--------------- + 1 file changed, 15 insertions(+), 15 deletions(-) + +commit 4d087f2c0ada4c7f5f6a9bd1aa86b337c05e9f1b +Author: Emmanuele Bassi +Date: Fri May 4 17:43:30 2012 +0100 + + examples: Add an example of layout manager + + The MultiLayout shows how to write a layout manager with two policies, + and to use the easing state of a child to interpolate the allocation. + + examples/Makefile.am | 1 + + examples/layout-manager.c | 409 ++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 410 insertions(+) + +commit b7c76a45bcab1d84d50e1144d5a9976f472ea503 +Author: Emmanuele Bassi +Date: Thu May 3 13:53:29 2012 +0100 + + Add rounded corners rectangle example using Canvas + + An old request: how to create a rectangle with rounded corners with + Clutter; we use ClutterCanvas and Cairo because we want anti-aliased + edges. + + examples/Makefile.am | 1 + + examples/rounded-rectangle.c | 107 +++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 108 insertions(+) + +commit 2bb84d916928943288237f3f844213736eb61360 +Author: Bastien Nocera +Date: Thu May 3 18:58:12 2012 +0200 + + x11/device-manager-xi2: Fix assertions with touch + + When getting touch events, the device manager would try + to pass an invalid device to translate_axes(). + + clutter_event_set_device() will only update event->touch.device + for touch events, not event->motion.device, as used. + + Fixes Totem crashing on mouse motion/button press when using + a touchpad. + + https://bugzilla.gnome.org/show_bug.cgi?id=675371 + + clutter/x11/clutter-device-manager-xi2.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 217ff7c8fb359f129011aff08cb97ff8620f479c +Author: Bastien Nocera +Date: Thu May 3 18:56:45 2012 +0200 + + event: Fix copying touch events + + We were trying to copy motion axes instead of touch ones. + + https://bugzilla.gnome.org/show_bug.cgi?id=675371 + + clutter/clutter-event.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3c9cea09dc89e925e78af9692082aa7f5169f1b6 +Author: Emmanuele Bassi +Date: Thu May 3 11:40:59 2012 +0100 + + docs: Update the configure switches in the README + + README.in | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 74afe8bbcdf7d611209c5c09891616eb076328bd +Author: Emmanuele Bassi +Date: Thu May 3 11:35:20 2012 +0100 + + Annotate deprecated get_type() functions + + Even if their usage is limited, it's good to consistently deprecate + functions. + + clutter/deprecated/clutter-behaviour-depth.h | 1 + + clutter/deprecated/clutter-behaviour-ellipse.h | 1 + + clutter/deprecated/clutter-behaviour-opacity.h | 1 + + clutter/deprecated/clutter-behaviour-path.h | 1 + + clutter/deprecated/clutter-behaviour-rotate.h | 1 + + clutter/deprecated/clutter-behaviour-scale.h | 1 + + clutter/deprecated/clutter-behaviour.h | 1 + + clutter/deprecated/clutter-box.h | 1 + + clutter/deprecated/clutter-rectangle.h | 1 + + clutter/deprecated/clutter-score.h | 1 + + clutter/deprecated/clutter-shader.h | 3 +++ + 11 files changed, 13 insertions(+) + +commit fcd341d23e24853041e754c47dff87914aaa42de +Author: Emmanuele Bassi +Date: Thu May 3 11:34:57 2012 +0100 + + cally: Disable deprecation warnings + + For ClutterGroup and ClutterRectangle. + + clutter/cally/cally-rectangle.c | 2 ++ + clutter/cally/cally.c | 2 ++ + 2 files changed, 4 insertions(+) + +commit e88e7cd41400557f92dd1a2c35276ac5e033c6a1 +Author: Emmanuele Bassi +Date: Thu May 3 11:28:04 2012 +0100 + + docs: Disable deprecations when building the object scanner + + We know it's going to be using deprecated symbols, since it has to + introspect all the GObject classes we expose. + + doc/reference/clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 20f908e87f5277a0119db0ac683f348d91b180ab +Author: Emmanuele Bassi +Date: Thu May 3 11:27:22 2012 +0100 + + docs: Add annotation for ClutterEventSequence + + The last remaining undocumented symbol in the API reference according to + gtk-doc. + + clutter/clutter-event.h | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 397f3228608b1c7c26f16767742851fb94ca7cc7 +Author: Tristan Van Berkom +Date: Wed May 2 18:08:02 2012 -0400 + + ClutterDropAction: Added "drop-cancel" signal. + + The drop-cancel signal allows the drop action to cleanup its + state if the can-drop signal is refused. This is especially + useful if the drop action (or its target actor) is managing + any drop target animations. + + https://bugzilla.gnome.org/show_bug.cgi?id=675336 + + clutter/clutter-drop-action.c | 36 ++++++++++++++++++++++++++++++++++++ + 1 file changed, 36 insertions(+) + +commit a2f03d3adda3f4cc26425caeea0b3e97b1fa890f +Author: Emmanuele Bassi +Date: Wed May 2 18:40:38 2012 +0100 + + docs: Move the easing modes graphs to the AnimationMode docs + + clutter/clutter-enums.h | 8 ++++++-- + clutter/deprecated/clutter-alpha.c | 5 ----- + 2 files changed, 6 insertions(+), 7 deletions(-) + +commit 8a8cc20d9345739ea002aa57e2857ec1d0932d31 +Author: Emmanuele Bassi +Date: Wed May 2 18:38:20 2012 +0100 + + docs: Move ClutterAnimationMode's documentation + + Given that ClutterAnimation is going to be deprecated, we should move + the ClutterAnimationMode enumeration to the ClutterTimeline section. + + doc/reference/clutter/clutter-sections.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c6b226e6c75e5f2e5d1dc3752e27198a8f337573 +Author: Emmanuele Bassi +Date: Wed May 2 18:37:36 2012 +0100 + + Move the easing modes test into the examples + + It's a pretty simple, self-contained example of how to use different + easing modes, as well as the implicit animations API. + + examples/Makefile.am | 1 + + .../interactive/test-transitions.c => examples/easing-modes.c | 11 ++--------- + tests/interactive/Makefile.am | 1 - + 3 files changed, 3 insertions(+), 10 deletions(-) + +commit 3fab1e40263125d1677b38a215b949d71876e18a +Author: Emmanuele Bassi +Date: Wed May 2 12:45:45 2012 +0100 + + interactive/transitions: Modernize + + Drop deprecated API. + + tests/interactive/test-transitions.c | 38 ++++++++++++++++++++++-------------- + 1 file changed, 23 insertions(+), 15 deletions(-) + +commit ad27141556e6ff3612a40cc7d09515d8765fb514 +Author: Emmanuele Bassi +Date: Wed May 2 12:45:18 2012 +0100 + + interactive/binding-pool: Modernize + + Drop deprecated API. + + tests/interactive/test-binding-pool.c | 73 +++++++++++++++-------------------- + 1 file changed, 32 insertions(+), 41 deletions(-) + +commit 46409b4043403c828824ec223134f36c99575bdd +Author: Emmanuele Bassi +Date: Wed May 2 12:14:45 2012 +0100 + + Move FlowLayout test into examples + + There's nothing really test-worthy in the ClutterFlowLayout interactive + test; it can be lifted pretty much as is, and placed into the examples. + + clutter/clutter-flow-layout.c | 8 ++++++++ + examples/Makefile.am | 1 + + tests/interactive/test-flow-layout.c => examples/flow-layout.c | 10 ++-------- + tests/interactive/Makefile.am | 1 - + 4 files changed, 11 insertions(+), 9 deletions(-) + +commit b8f6ed184d3d332f83e1f695e47acb40998ecb4a +Author: Emmanuele Bassi +Date: Wed May 2 12:03:14 2012 +0100 + + interactive/flow-layout: Modernize code + + Drop deprecated API usage. + + tests/interactive/test-flow-layout.c | 25 ++++++++++++------------- + 1 file changed, 12 insertions(+), 13 deletions(-) + +commit 97563b640ec5207f28dea3605269f72cc318cc20 +Author: Emmanuele Bassi +Date: Wed May 2 11:59:50 2012 +0100 + + build: Fix BUILD_TESTS condition check + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 704928a807a3b17029d092eef2b24c76ab7c7890 +Author: Emmanuele Bassi +Date: Tue May 1 18:51:19 2012 +0100 + + build: Allow disabling all tests and examples + + This should allow nicer build automation and cross-compilation support. + + The former --disable-conformance configure switch has been deprecated by + the --disable-tests one, which is more encompassing as it disables the + whole test suite. + + Makefile.am | 12 +++++++++++- + configure.ac | 36 +++++++++++++++++++++++++----------- + tests/Makefile.am | 16 +--------------- + 3 files changed, 37 insertions(+), 27 deletions(-) + +commit 07c95ebf0c624e7791310a82965bede20bb24a36 +Author: Emmanuele Bassi +Date: Tue May 1 18:30:10 2012 +0100 + + Move examples from tests/interactive to a new top-level + + The example code that is meant to be XIncluded into the API reference + should not be part of the interactive test suite: it's code that it is + meant to be used as a reference implementation - whereas the interactive + test suite should be allowed to be lean and test behaviour even in nasty + ways. In short: the test suite should not be the place where we show off + idiomatic code for educational purposes. + + Makefile.am | 2 +- + clutter/clutter-actor.c | 2 +- + clutter/clutter-bin-layout.c | 2 +- + clutter/clutter-bind-constraint.c | 2 +- + clutter/clutter-canvas.c | 2 +- + clutter/clutter-constraint.c | 4 ++- + clutter/clutter-drag-action.c | 2 +- + clutter/clutter-drop-action.c | 2 +- + clutter/clutter-image.c | 2 +- + clutter/clutter-main.c | 2 +- + configure.ac | 2 ++ + examples/Makefile.am | 39 ++++++++++++++++++++++ + examples/README | 10 ++++++ + .../test-actor.c => examples/basic-actor.c | 11 ++---- + .../test-bin-layout.c => examples/bin-layout.c | 11 ++---- + .../bind-constraint.c | 11 ++---- + .../interactive/test-canvas.c => examples/canvas.c | 10 ++---- + .../constraints.c | 7 ++-- + .../test-drag.c => examples/drag-action.c | 5 ++- + .../test-drop.c => examples/drop-action.c | 10 ++---- + .../test-image-box.c => examples/image-content.c | 11 ++---- + .../test-threads.c => examples/threads.c | 11 ++---- + tests/interactive/Makefile.am | 12 +------ + 23 files changed, 82 insertions(+), 90 deletions(-) + +commit 64841d6498df01807dfa732935c27b2b1350e5a3 +Author: Emmanuele Bassi +Date: Tue May 1 14:04:37 2012 +0100 + + Post-release version bump to 1.11.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c1d2298e30d515347c5e3f7b29c296280f80226b +Author: Emmanuele Bassi +Date: Tue May 1 13:58:34 2012 +0100 + + Release Clutter 1.11.2 + + NEWS | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 72 insertions(+), 1 deletion(-) + +commit dd3c66579b196db7b3dc03d3b3159edf5dd0c1d6 +Author: Emmanuele Bassi +Date: Tue May 1 13:29:19 2012 +0100 + + conform/actor-graph: Add missing NULL terminator + + tests/conform/actor-graph.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit c3718951409f6fcffe62fca5ce28d348691ba3d8 +Author: Christian Kirbach +Date: Mon Apr 30 23:20:03 2012 +0200 + + [l10n] Updated German translation + + po/de.po | 433 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 240 insertions(+), 193 deletions(-) + +commit 6db381978e6ce5c671954622db01d01e86a4b221 +Author: Emmanuele Bassi +Date: Mon Apr 30 18:34:37 2012 +0100 + + Add missing symbols + + clutter/clutter.symbols | 3 +++ + 1 file changed, 3 insertions(+) + +commit 53014bd781e98cf884373ce92fde529dd1e347f0 +Author: Emmanuele Bassi +Date: Mon Apr 30 17:46:48 2012 +0100 + + docs: Replace unknown tag with + + doc/reference/clutter/running-clutter.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 266c1d77059bd6c9d7650ad74bca364ced870065 +Author: Emmanuele Bassi +Date: Mon Apr 30 17:45:01 2012 +0100 + + docs: Fix typo in the tag + + clutter/clutter-paint-nodes.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0dd74ca3fbf533379383ea6433c544969d996768 +Author: Emmanuele Bassi +Date: Mon Apr 30 17:12:12 2012 +0100 + + docs: Annotation fixes + + The introspection scanner has become slightly more annoying, in the hope + that people start fixing their annotations. As it turns out, it was the + right move. + + clutter/Makefile.am | 2 ++ + clutter/clutter-actor.c | 2 +- + clutter/clutter-actor.h | 2 +- + clutter/clutter-drag-action.c | 2 +- + clutter/clutter-event.c | 2 +- + clutter/clutter-layout-meta.h | 2 +- + clutter/clutter-macros.h | 4 +-- + clutter/clutter-main.c | 2 +- + clutter/clutter-paint-nodes.c | 44 +++++++++++++++++------------ + clutter/clutter-stage.c | 12 ++++---- + clutter/clutter-text.c | 2 +- + clutter/clutter-texture.c | 6 ++-- + clutter/clutter-timeline.c | 2 +- + clutter/clutter-version.h.in | 6 ++-- + clutter/deprecated/clutter-behaviour-path.h | 2 +- + clutter/deprecated/clutter-behaviour.h | 2 +- + clutter/x11/clutter-x11-texture-pixmap.c | 2 +- + 17 files changed, 53 insertions(+), 43 deletions(-) + +commit 64f897c7f0a8de511ff4707dbb80557a949412fe +Author: Jonh Wendell +Date: Sat Apr 28 10:27:05 2012 -0300 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 1141 +++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 593 insertions(+), 548 deletions(-) + +commit e59a86def911098831ff14b36bb3586e7eb12645 +Author: Fran Diéguez +Date: Fri Apr 27 16:44:06 2012 +0200 + + Updated Galician translations + + po/gl.po | 1162 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 602 insertions(+), 560 deletions(-) + +commit 0a2dfec4a966984a190f0105e9f261fc493fd6f6 +Author: Daniel Mustieles +Date: Fri Apr 27 16:25:29 2012 +0200 + + Updated Spanish translation + + po/es.po | 1184 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 614 insertions(+), 570 deletions(-) + +commit fec0578bfe0106ae7ebf40f00d901106a444a5e2 +Author: Emmanuele Bassi +Date: Fri Apr 27 14:21:25 2012 +0100 + + animatable: Disable deprecation warnings + + We are using deprecated API internally. + + clutter/clutter-animatable.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 24885b13a6c6144cc2b7be53c4e4d24ad456439c +Author: Piotr Drąg +Date: Fri Apr 27 14:58:55 2012 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit 0077c5127834b0aa539bd4ae6017cdc5a62b05bf +Author: Emmanuele Bassi +Date: Fri Apr 27 12:38:19 2012 +0100 + + Disable deprecation warnings in deprecated classes + + We know we're using deprecated symbols. + + clutter/deprecated/clutter-alpha.c | 2 ++ + clutter/deprecated/clutter-animation.c | 2 ++ + clutter/deprecated/clutter-animator.c | 2 ++ + clutter/deprecated/clutter-cairo-texture.c | 2 ++ + clutter/deprecated/clutter-state.c | 6 ++++-- + 5 files changed, 12 insertions(+), 2 deletions(-) + +commit 05df0c9c145115929618db075b5055c132fb15bd +Author: Emmanuele Bassi +Date: Thu Apr 26 14:33:53 2012 +0100 + + docs: Mention that patches must pass the conformance tests + + People submitting patches should do a conformance test suite run, until + we have a buildbot and a way of running the conformance tests on a + headless setup. + + README.in | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 155e0eee891223df9764c8062943a7241e7a8ac6 +Author: Emmanuele Bassi +Date: Wed Apr 25 17:28:05 2012 +0100 + + docs: Add missing symbols to the sections file + + doc/reference/clutter/clutter-sections.txt | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +commit 70091245e8069edc3820cd596e2e95903e575d6d +Author: Emmanuele Bassi +Date: Wed Apr 25 17:22:10 2012 +0100 + + docs: Specify scroll_to_point() coordinate space + + clutter/clutter-scroll-actor.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit bca93c1a75324b439e93500011f90817eae1074a +Author: Emmanuele Bassi +Date: Wed Apr 25 17:13:29 2012 +0100 + + Deprecate ClutterAlpha + + It's time. Now that we have clutter_actor_allocate() respecting the + easing state of an actor, and that the LayoutManager animation virtual + functions have been deprecated, we can put ClutterAlpha on the chopping + block, and be done with it, once and for all. + + So long, ClutterAlpha; and thanks for all the fish. + + clutter/Makefile.am | 4 +-- + clutter/clutter-box-layout.c | 1 + + clutter/clutter-deprecated.h | 1 + + clutter/clutter-layout-manager.c | 5 +++- + clutter/clutter-layout-manager.h | 3 --- + clutter/clutter-script-parser.c | 1 + + clutter/clutter-table-layout.c | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-alpha.c | 34 +++++++++++++++++++++++++- + clutter/{ => deprecated}/clutter-alpha.h | 13 ++++++++++ + clutter/deprecated/clutter-behaviour-depth.c | 1 + + clutter/deprecated/clutter-behaviour-ellipse.c | 1 + + clutter/deprecated/clutter-behaviour-opacity.c | 1 + + clutter/deprecated/clutter-behaviour-path.c | 1 + + clutter/deprecated/clutter-behaviour-rotate.c | 1 + + clutter/deprecated/clutter-behaviour-scale.c | 1 + + clutter/deprecated/clutter-behaviour.c | 1 + + 17 files changed, 63 insertions(+), 8 deletions(-) + +commit a5630d962f6b51812783945f47ca7e6215e06754 +Author: Emmanuele Bassi +Date: Wed Apr 25 15:49:28 2012 +0100 + + docs: Clean up index + + Move CairoTexture to the deprecated section. + + doc/reference/clutter/clutter-docs.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 23f3edce6109895a9bb7968a877c5756e67698df +Author: Emmanuele Bassi +Date: Wed Apr 25 15:48:10 2012 +0100 + + docs: Add ScrollActor to the API reference + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 22 ++++++++++++++++++++++ + doc/reference/clutter/clutter.types | 1 + + 3 files changed, 24 insertions(+) + +commit 999bbe20a54f24bd1edf2ab74ed2e62e17de0ebf +Author: Emmanuele Bassi +Date: Thu Apr 12 15:56:53 2012 +0100 + + Add ClutterScrollActor + + ClutterScrollActor is an actor that allows showing a portion of its + contents. + + clutter/Makefile.am | 2 + + clutter/clutter-enums.h | 20 ++ + clutter/clutter-scroll-actor.c | 478 ++++++++++++++++++++++++++++++++++ + clutter/clutter-scroll-actor.h | 97 +++++++ + clutter/clutter-types.h | 1 + + clutter/clutter.h | 1 + + clutter/clutter.symbols | 7 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-scroll-actor.c | 179 +++++++++++++ + 9 files changed, 787 insertions(+), 1 deletion(-) + +commit 4d34a2229dd3de70e440fd57e60d54d4fc49bfd2 +Author: Emmanuele Bassi +Date: Fri Apr 20 18:23:21 2012 +0100 + + interactive/table-layout: Enable animations + + tests/interactive/test-table-layout.c | 1 + + 1 file changed, 1 insertion(+) + +commit d28bce4a259a4dbd3f15ecc8f077e615debcea40 +Author: Emmanuele Bassi +Date: Fri Apr 20 18:14:42 2012 +0100 + + layout-manager: Deprecate the layout animation + + This semi-aborted API was broken for various reasons: + + - it strongly depended on ClutterAlpha, a class we're trying to + deprecate; + - it requires a lot of boilerplate and copy-and-paste code; + - it requires a full relayout of the actor tree for something + that ought to be automatically handled by ClutterActor. + + Now that clutter_actor_allocate() handles transitions using the easing + state of the actor, we can deprecate the LayoutManager API for the 1.x + series, and remove it for the 2.x series. + + clutter/clutter-layout-manager.c | 6 ++++++ + clutter/clutter-layout-manager.h | 17 ++++++++++++++--- + 2 files changed, 20 insertions(+), 3 deletions(-) + +commit 30b78a7212e508cde2911293aeefe1bfeab11eae +Author: Emmanuele Bassi +Date: Fri Apr 20 18:14:00 2012 +0100 + + table-layout: Deprecate the animation API + + Similar to what we did for ClutterBoxLayout. + + clutter/clutter-table-layout.c | 217 +++++++++++------------------------------ + clutter/clutter-table-layout.h | 6 ++ + 2 files changed, 62 insertions(+), 161 deletions(-) + +commit d1998712e1cc931e1152fd1fca3f29538814023f +Author: Emmanuele Bassi +Date: Fri Apr 20 18:11:57 2012 +0100 + + box-layout: Deprecate the animation API + + BoxLayout will use the easing state of the children it's allocating; the + current API is re-implemented in terms of an implicit easing state + forced on each child prior to allocating it. + + clutter/clutter-box-layout.c | 224 +++++++++++-------------------------------- + clutter/clutter-box-layout.h | 6 ++ + 2 files changed, 62 insertions(+), 168 deletions(-) + +commit 8ef2c46baaa171f02824576f8a2ff0a7c2038581 +Author: Emmanuele Bassi +Date: Fri Apr 20 18:06:02 2012 +0100 + + actor: Make :allocation animatable + + Calling clutter_actor_allocate() should transition between the current + allocation and the new allocation, by using the defined implementation + of the easing state. + + This means that: + + clutter_actor_save_easing_state (actor); + clutter_actor_allocate (actor, &new_alloc, flags); + clutter_actor_restore_easing_state (actor); + + will cause "actor" to transition between the current allocation and the + desired new allocation. + + The trick is to ensure that this happens without invalidating the + entire actor tree, but only the portion of the tree that has the + transitioned actor as the local root. For this reason, we just call the + allocate() implementation from within the transition frame advancement, + without invalidating flags: the actor, after all, *has* a valid + allocation for the duration of the transition. + + clutter/clutter-actor.c | 57 +++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 43 insertions(+), 14 deletions(-) + +commit 8cb9725699a2cc26844f1fce06eb3c6a6b218a6a +Author: Emmanuele Bassi +Date: Mon Apr 23 12:28:23 2012 +0100 + + actor: Ignore allocation flags + + Allocation flags are informative, and are only meant to be used to + communicate additional information about the allocation process to + an actor. + + clutter/clutter-actor.c | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +commit 78aae84d438587b45ec52d7a28f57e019f04ae23 +Author: Emmanuele Bassi +Date: Fri Apr 20 12:45:54 2012 +0100 + + actor: Coalesce needs_[xy]_expand() into one method + + Use the orientation enumeration instead of a per-axis method. + + clutter/clutter-actor.c | 65 +++++++++++++++++--------------------------- + clutter/clutter-actor.h | 5 ++-- + clutter/clutter-bin-layout.c | 4 +-- + clutter/clutter.symbols | 3 +- + 4 files changed, 30 insertions(+), 47 deletions(-) + +commit 807d77c0f321a94db960750adb21a231a7a6330a +Author: Emmanuele Bassi +Date: Tue Mar 27 17:08:59 2012 +0100 + + box-layout: Add the :orientation property + + And deprecate the :vertical property. + + An enumeration is clearer, and we can use it elsewhere in the API. + + clutter/clutter-box-layout.c | 189 +++++++++++++++++++++++++++--------- + clutter/clutter-box-layout.h | 115 ++++++++++++---------- + clutter/clutter-enums.h | 14 +++ + tests/interactive/test-box-layout.c | 14 ++- + 4 files changed, 229 insertions(+), 103 deletions(-) + +commit 5d8b177679038811a1d2ae88943e2f44e0f51918 +Author: Emmanuele Bassi +Date: Thu Mar 29 17:27:34 2012 +0100 + + bin-layout: Deprecate BinLayout alignments + + We should use the ClutterActor's API for this. + + clutter/Makefile.am | 1 + + clutter/clutter-bin-layout.c | 16 +++++++++- + clutter/clutter-bin-layout.h | 14 --------- + clutter/clutter-deprecated.h | 1 + + clutter/clutter-enums.h | 3 ++ + clutter/deprecated/clutter-bin-layout.h | 56 +++++++++++++++++++++++++++++++++ + 6 files changed, 76 insertions(+), 15 deletions(-) + +commit 26d366a3a5d1a0294adac71d4bede4f507d052e0 +Author: Emmanuele Bassi +Date: Thu Mar 29 17:20:45 2012 +0100 + + docs: XInclude the bin layout example + + clutter/clutter-bin-layout.c | 32 +++----------------------------- + 1 file changed, 3 insertions(+), 29 deletions(-) + +commit 4067dcdfe14a5e7bd5785982d5ab4410e855d4e5 +Author: Emmanuele Bassi +Date: Thu Mar 29 16:35:22 2012 +0100 + + interactive/bin-layout: Improve the example code + + Use modern API; clean up the code, and document it so that it's possible + to XInclude it into the API reference. + + tests/interactive/Makefile.am | 2 +- + tests/interactive/test-bin-layout.c | 236 ++++++++++++++++++++---------------- + 2 files changed, 135 insertions(+), 103 deletions(-) + +commit 6ddc694e68f827c9990d75a52af14cc911ff65ad +Author: Emmanuele Bassi +Date: Thu Mar 29 16:34:36 2012 +0100 + + bin-layout: Use the actor align/expand flags + + If an actor is set to expand, we use the actor's horizontal and vertical + alignment values instead of the BinLayout's. + + clutter/clutter-bin-layout.c | 54 ++++++++++++++++++++++++++++++++++++++++---- + 1 file changed, 49 insertions(+), 5 deletions(-) + +commit 473aaf7766cdc4f3322645249440087c1f501e0a +Author: Emmanuele Bassi +Date: Thu Mar 29 16:33:53 2012 +0100 + + actor: Add private get_effective_x_align() method + + A method to retrieve the effective horizontal alignment of the actor, + taking into consideration the text direction. + + clutter/clutter-actor-private.h | 2 ++ + clutter/clutter-actor.c | 16 ++++++++++++++++ + 2 files changed, 18 insertions(+) + +commit 90032e00196494db381980abdca3639f9d605d3d +Author: Emmanuele Bassi +Date: Tue Mar 27 14:53:27 2012 +0100 + + actor: Add basic automatic expand flags + + The :x-expand and :y-expand flags on ClutterActor are used to signal + that an actor should expand horizontally and/or vertically - i.e. that + its parent's layout management policy should try to assign extra space + to the actor when allocating it. + + The expand flags are automatic: when set on a leaf node in the actor + tree, they will bubble up through the parent and grandparents up to the + top level actor; during allocation, the actors with children will lazily + compute whether their children needs to expand. + + clutter/clutter-actor-private.h | 14 +- + clutter/clutter-actor.c | 417 +++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 14 ++ + clutter/clutter.symbols | 6 + + 4 files changed, 444 insertions(+), 7 deletions(-) + +commit 217c4e7ba0958c6a84cc387885437e58bb3f6069 +Author: Emmanuele Bassi +Date: Thu Apr 19 16:35:39 2012 +0100 + + actor: Remove automatic transition init from add_transition() + + Adding an explicit transition overrides any consideration of the easing + state of an actor. + + clutter/clutter-actor.c | 11 ----------- + tests/interactive/test-keyframe-transition.c | 7 +------ + 2 files changed, 1 insertion(+), 17 deletions(-) + +commit 0b76ba332d270e327d8094c25d1b2197e5b89ac6 +Author: Emmanuele Bassi +Date: Thu Apr 19 16:00:23 2012 +0100 + + Fixes for the API reference + + Typos, missing symbols, and missing documentation. + + clutter/clutter-animatable.c | 14 +++--- + clutter/clutter-cairo.c | 29 +++++++++++++ + clutter/clutter-constraint.c | 2 +- + clutter/clutter-deform-effect.c | 2 +- + clutter/clutter-effect.c | 15 ++++--- + clutter/clutter-enums.h | 2 +- + clutter/clutter-gesture-action.c | 2 +- + clutter/clutter-gesture-action.h | 2 +- + clutter/clutter-layout-manager.c | 41 ++++++++--------- + clutter/clutter-offscreen-effect.c | 4 +- + clutter/clutter-paint-node.h | 9 ++++ + clutter/clutter-shader-effect.c | 4 +- + clutter/clutter-types.h | 70 +++++++++++++++++++++++++++++- + clutter/clutter-units.c | 4 +- + clutter/wayland/clutter-wayland-surface.c | 31 ++++++++++++- + doc/reference/clutter/clutter-sections.txt | 27 +++++++++--- + 16 files changed, 204 insertions(+), 54 deletions(-) + +commit 076179f20be0ff5cf2fa579d1270f424c240c1f8 +Author: Emmanuele Bassi +Date: Wed Apr 11 18:31:53 2012 +0100 + + docs: Clean up the animation section + + doc/reference/clutter/clutter-docs.xml.in | 18 ++++++------------ + 1 file changed, 6 insertions(+), 12 deletions(-) + +commit de94b8e6345743ecd0a7d66b50413c83b6d55558 +Author: Emmanuele Bassi +Date: Wed Apr 11 18:30:40 2012 +0100 + + Add deprecation annotations + + clutter/deprecated/clutter-animation.c | 36 +++++++++++++++++++- + clutter/deprecated/clutter-animator.c | 26 +++++++++++++++ + clutter/deprecated/clutter-animator.h | 27 +++++++++++++++ + clutter/deprecated/clutter-state.c | 60 ++++++++++++++++++++++++++++++++++ + clutter/deprecated/clutter-state.h | 28 ++++++++++++++++ + 5 files changed, 176 insertions(+), 1 deletion(-) + +commit b4f12cfb83321abd30dbc23e36572c0dd5609cf7 +Author: Emmanuele Bassi +Date: Wed Apr 11 18:18:27 2012 +0100 + + Deprecate ClutterAnimation, as well as clutter_actor_animate() + + ClutterPropertyTransition, and the implicit animation API based on + ClutterTransition and ClutterAnimatable, are enough to replace this + whole API. + + clutter/Makefile.am | 3 +- + clutter/clutter-animatable.c | 1 + + clutter/clutter-animatable.h | 2 +- + clutter/clutter-animation.h | 165 --------------------------- + clutter/clutter-types.h | 68 +++++------ + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-animation.c | 0 + clutter/deprecated/clutter-animation.h | 158 ++++++++++++++++++++++++- + 8 files changed, 193 insertions(+), 205 deletions(-) + +commit 63e909576a84edb30951f888ba3787e09ce643c8 +Author: Emmanuele Bassi +Date: Wed Apr 11 18:00:23 2012 +0100 + + Deprecate State and Animator + + The PropertyTransition, KeyframeTransition, and TransitionGroup classes + can effectively replace Animator and State in their common usage. + + clutter/Makefile.am | 8 ++++---- + clutter/clutter-deprecated.h | 2 ++ + clutter/clutter-script.c | 16 +++++++++++----- + clutter/clutter-script.h | 3 +++ + clutter/clutter.h | 2 -- + clutter/{ => deprecated}/clutter-animator.c | 0 + clutter/{ => deprecated}/clutter-animator.h | 0 + clutter/{ => deprecated}/clutter-state.c | 0 + clutter/{ => deprecated}/clutter-state.h | 0 + 9 files changed, 20 insertions(+), 11 deletions(-) + +commit 024f6d40d262c55ea7c6a845885b16685bd65ba8 +Author: Emmanuele Bassi +Date: Wed Apr 11 17:47:53 2012 +0100 + + keyframe-transition: Add direct accessors for key frames + + This should allow modifying key frame details without requiring a full + reset of the KeyframeTransition instance. + + clutter/clutter-keyframe-transition.c | 102 +++++++++++++++++++++++++++++ + clutter/clutter-keyframe-transition.h | 15 +++++ + clutter/clutter.symbols | 3 + + doc/reference/clutter/clutter-sections.txt | 5 ++ + 4 files changed, 125 insertions(+) + +commit c500fc1844618c634670f6771100c40328b35d00 +Author: Emmanuele Bassi +Date: Tue Mar 20 10:59:34 2012 +0000 + + Add ClutterTransitionGroup + + The TransitionGroup class is a logical container for running multiple + transitions. + + TransitionGroup is not a Score: it is a Transition that advances each + Transition it contains using the delta between frames, and ensures that + all transitions are in a consistent state; these transitions are not + advanced by the master clock. + + clutter/Makefile.am | 2 + + clutter/clutter-transition-group.c | 257 +++++++++++++++++++++++++++ + clutter/clutter-transition-group.h | 91 ++++++++++ + clutter/clutter-types.h | 15 +- + clutter/clutter.h | 1 + + clutter/clutter.symbols | 5 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 20 +++ + doc/reference/clutter/clutter.types | 1 + + tests/interactive/test-keyframe-transition.c | 25 ++- + 10 files changed, 406 insertions(+), 12 deletions(-) + +commit edfe61817448a5abf96d22fbd2f9924531b586a5 +Author: Emmanuele Bassi +Date: Wed Mar 21 16:07:29 2012 +0000 + + timeline: Add an internal function for advancing a timeline + + There are cases when we want to advance a timeline from another time + source. We cannot use _clutter_timeline_do_tick() directly, as that + assumes that the timeline is already playing, so we'll need to create a + wrapper that toggles the playing flag around it. + + clutter/clutter-master-clock.h | 3 +++ + clutter/clutter-timeline.c | 26 ++++++++++++++++++++++---- + 2 files changed, 25 insertions(+), 4 deletions(-) + +commit 270894342e6847fbec2397b6e5709bd2cc2027a2 +Author: Emmanuele Bassi +Date: Wed Apr 11 15:53:52 2012 +0100 + + Add ClutterKeyframeTransition + + A simple transition class that interpolates a property between key + frames. + + clutter/Makefile.am | 2 + + clutter/clutter-keyframe-transition.c | 628 +++++++++++++++++++++++++++ + clutter/clutter-keyframe-transition.h | 105 +++++ + clutter/clutter-types.h | 1 + + clutter/clutter.h | 1 + + clutter/clutter.symbols | 11 + + doc/reference/clutter/clutter-docs.xml.in | 5 +- + doc/reference/clutter/clutter-sections.txt | 22 + + doc/reference/clutter/clutter.types | 1 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-keyframe-transition.c | 77 ++++ + 11 files changed, 853 insertions(+), 3 deletions(-) + +commit d24eccd026e991f00e9e92a3df4e23334573891e +Author: Emmanuele Bassi +Date: Wed Apr 11 14:18:56 2012 +0100 + + interval: Allow passing NULL values to the constructor + + Given that we can create a ClutterInterval without an initial and final + values using g_object_new(), it stands to reason that we ought to be + able to create an instance when passing NULL GValue pointers to the + new_with_values() constructor as well. + + clutter/clutter-interval.c | 17 +++++++++-------- + 1 file changed, 9 insertions(+), 8 deletions(-) + +commit bf12e231998fc299549023ede79b77225528a907 +Author: Emmanuele Bassi +Date: Wed Apr 11 14:11:28 2012 +0100 + + easing: Add utility functions + + We end up copying the same array-of-modes-and-functions code in various + places, so it's better to factor it out. + + clutter/clutter-alpha.c | 62 +++---------------------------------- + clutter/clutter-easing.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-easing.h | 11 +++++++ + clutter/clutter-timeline.c | 55 +-------------------------------- + 4 files changed, 92 insertions(+), 112 deletions(-) + +commit 865a682450d2222ae605e28b161313d29591f0dd +Author: Emmanuele Bassi +Date: Wed Apr 11 14:10:40 2012 +0100 + + actor: Make add_transition() work regardless of easing state + + We can add transitions to an actor even if the easing state hasn't been + set beforehand. + + clutter/clutter-actor.c | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit fe6d284a83d8a962cedfd35ad516faf39e2eec2a +Author: Emmanuele Bassi +Date: Thu Mar 22 10:48:02 2012 +0000 + + docs: Use the Transition convenience API + + clutter/clutter-actor.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit 2470398ede2d1fe6541dac845602269b2b14dd48 +Author: Emmanuele Bassi +Date: Thu Mar 22 10:08:48 2012 +0000 + + transition: Add interval convenience API + + This should cut down the lines and number of objects we have to care + about when dealing with explicit transitions. + + clutter/clutter-transition.c | 234 +++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-transition.h | 15 +++ + 2 files changed, 249 insertions(+) + +commit a9cc06257ff060eaee7ac46120b0822de2c1e4ba +Author: Emmanuele Bassi +Date: Thu Apr 19 14:55:08 2012 +0100 + + docs: Add a reference section for geometric types + + clutter/clutter-base-types.c | 10 +- + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 198 +++++++++++++++++++---------- + 3 files changed, 135 insertions(+), 74 deletions(-) + +commit 764068a7233c7ac942f67518034e59fdeb388413 +Author: Emmanuele Bassi +Date: Thu Apr 19 12:34:02 2012 +0100 + + Add version annotation for newly added functions + + clutter/clutter-types.h | 34 ++++++++++++++++++++++++++++++++++ + 1 file changed, 34 insertions(+) + +commit b2feb463bd3d8846ff8a79c8b58e12b1539ae63d +Author: Emmanuele Bassi +Date: Thu Apr 19 12:32:07 2012 +0100 + + Add a rect-contains-rect function + + Similar to the contains-point one. + + clutter/clutter-base-types.c | 28 ++++++++++++++++++++++++++++ + clutter/clutter-types.h | 2 ++ + clutter/clutter.symbols | 1 + + 3 files changed, 31 insertions(+) + +commit 9c637ccb41adb33721b209bcc53732aba240d731 +Author: Emmanuele Bassi +Date: Thu Apr 19 12:30:45 2012 +0100 + + Use an epsilon for float comparison + + We tend to use float comparison for structured data types like Vertex, + Point, and Size; we should take into consideration fluctuations in the + floating point representation as well. + + clutter/clutter-base-types.c | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +commit 695621f5eaa82b931be7b6b817f7992073cf1259 +Author: Emmanuele Bassi +Date: Thu Apr 19 12:16:54 2012 +0100 + + event: Add distance and angle accessors + + Let's start using ClutterPoint in the API. + + clutter/clutter-event.c | 115 +++++++++++++++++++++++++++++++++++++++++------- + clutter/clutter-event.h | 9 ++++ + clutter/clutter.symbols | 7 ++- + 3 files changed, 112 insertions(+), 19 deletions(-) + +commit d021cc7c02059126f2e20ce4807baf58161fe447 +Author: Emmanuele Bassi +Date: Thu Apr 19 12:15:17 2012 +0100 + + Add a function to compute the distance between points + + clutter/clutter-base-types.c | 41 +++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-types.h | 4 ++++ + clutter/clutter.symbols | 1 + + 3 files changed, 46 insertions(+) + +commit bc914bb8a243e102dc3412edcf3b5bb5e9dccf0d +Author: Emmanuele Bassi +Date: Wed Apr 18 17:31:28 2012 +0100 + + Move towards an alloc/init pair for base types + + Instead of a single new() constructor that both allocates and + initializes, split the allocation and initialization into two separate + functions for types that are typically used on the stack, and rarely + allocated on the heap, like ClutterPoint and friends. + + This is also applied retroactively to ClutterActorBox and ClutterVertex, + given that the same considerations on usage apply to them as well; we + can add a return value to clutter_actor_box_init() and + clutter_vertex_init() in an ABI-compatible way, so that + clutter_actor_box_new() and clutter_vertex_new() can be effectively + reimplemented as "init (alloc ())". + + clutter/clutter-actor-box.c | 45 +++++++++--- + clutter/clutter-base-types.c | 168 +++++++++++++++++++++++++++++++++++++------ + clutter/clutter-types.h | 12 ++-- + clutter/clutter.symbols | 10 ++- + 4 files changed, 196 insertions(+), 39 deletions(-) + +commit 0fc4053613a4dff7c0aad2d4348c2d86be9b41d5 +Author: Emmanuele Bassi +Date: Fri Apr 13 11:26:38 2012 +0100 + + color: Add initializers for ClutterColor + + Similar to the ones we have for the other boxed types in Clutter. + + clutter/clutter-color.c | 56 +++++++++++++++++++++++++++++++++++++++++++++---- + clutter/clutter-color.h | 19 +++++++++++++++++ + 2 files changed, 71 insertions(+), 4 deletions(-) + +commit 2276f24ffd356fcfbaac7b0195f30e62c60f67bc +Author: Emmanuele Bassi +Date: Sun Apr 1 17:54:11 2012 +0100 + + script: Support ClutterPoint and ClutterSize + + Point and Size can be described both as an array of values or as an + object. + + clutter/clutter-script-parser.c | 148 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-script-private.h | 7 ++ + tests/data/test-script.json | 12 ++-- + 3 files changed, 159 insertions(+), 8 deletions(-) + +commit 7814ec2eb544dc4679b9037a485e34b3be2a0f62 +Author: Emmanuele Bassi +Date: Sun Apr 1 17:32:59 2012 +0100 + + actor: Add position and size animatable properties + + Using a compound type property for position and size has various + advantages: it reduces the amount of checks; it reduces the amount + of notify signals to connect to; it reduces the amount of transitions + generated. + + clutter/clutter-actor.c | 230 +++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 218 insertions(+), 12 deletions(-) + +commit 0f3f0d54d21ee5ec867c3f5645931f186143fcf9 +Author: Emmanuele Bassi +Date: Fri Mar 30 18:53:22 2012 +0100 + + actor: Use ClutterSize for minimum and natural fixed sizes + + clutter/clutter-actor-private.h | 6 ++---- + clutter/clutter-actor.c | 44 ++++++++++++++++++++--------------------- + 2 files changed, 24 insertions(+), 26 deletions(-) + +commit b7b641d5d3a26b0782462ae8e7cd5097307361e4 +Author: Emmanuele Bassi +Date: Fri Mar 30 18:43:59 2012 +0100 + + actor: Use ClutterPoint for the fixed position + + clutter/clutter-actor-private.h | 3 +-- + clutter/clutter-actor.c | 23 +++++++++++------------ + 2 files changed, 12 insertions(+), 14 deletions(-) + +commit 61f17e345aac8c671bdd9d83bb541cae5ae0fcee +Author: Emmanuele Bassi +Date: Fri Mar 30 18:22:04 2012 +0100 + + Add base geometric types + + Clutter should provide some more basic geometric types - Point, Size, + Rect - so that we can use them in properties and accessors. + + clutter/Makefile.am | 1 + + clutter/clutter-actor.c | 299 ------------ + clutter/clutter-base-types.c | 1027 ++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-types.h | 138 +++++- + clutter/clutter.symbols | 30 ++ + 5 files changed, 1192 insertions(+), 303 deletions(-) + +commit d77ca7f7b899917a97902ae722d7d80a06f2feca +Author: Emmanuele Bassi +Date: Fri Mar 30 13:56:18 2012 +0100 + + Move the progress function registration to clutter-types.h + + Near the definition of ClutterProgressFunc. + + clutter/clutter-interval.h | 3 --- + clutter/clutter-types.h | 3 +++ + 2 files changed, 3 insertions(+), 3 deletions(-) + +commit e2564dd265c40e8b0343cbbbc1c98705db8a30fc +Author: Emmanuele Bassi +Date: Tue Apr 17 18:40:43 2012 +0100 + + Deprecate ClutterCairoTexture + + The ClutterCanvas content implementation should be used instead, to + avoid stringing along the ClutterTexture API and implementation. + + This change requires some minor surgery, as the deprecated section + already contains an header for the previously deprecated methods; plus, + we don't want to deprecate clutter_cairo_set_source_color(). This means + creating a new header to be used for Cairo-related API. + + clutter/Makefile.am | 5 +- + clutter/clutter-cairo-texture.h | 119 ----------------------- + clutter/clutter-cairo.c | 63 ++++++++++++ + clutter/clutter-cairo.h | 59 +++++++++++ + clutter/clutter-canvas.c | 1 + + clutter/clutter-macros.h | 20 ---- + clutter/clutter-stage.c | 2 +- + clutter/clutter.h | 2 +- + clutter/clutter.symbols | 1 + + clutter/{ => deprecated}/clutter-cairo-texture.c | 69 ++++++------- + clutter/deprecated/clutter-cairo-texture.h | 94 +++++++++++++++++- + 11 files changed, 248 insertions(+), 187 deletions(-) + +commit 0fca11ec2f38e15fda2a27f31f39110c91f2a4f0 +Author: Emmanuele Bassi +Date: Mon Apr 23 17:42:40 2012 +0100 + + path: Avoid integer overflow in get_distance() + + The get_distance() API uses machine integers to compute the distance; + this means that on 32bit we can overflow the integer size. This gets + hidden by the fact that get_distance() returns an unsigned integer as + well. + + In reality, ClutterPath is an unmitigated mess, and the only way to + actually fix it is to break API. + + https://bugzilla.gnome.org/show_bug.cgi?id=652521 + + clutter/clutter-path.c | 41 ++++++++++++++++++++++------------------- + tests/conform/path.c | 32 +++++++++++++++++++++++++++++++- + 2 files changed, 53 insertions(+), 20 deletions(-) + +commit 9428aaa3cbfb49bbaee180774d4a760b7cac0c25 +Author: Alejandro Piñeiro +Date: Wed Apr 4 12:07:06 2012 +0200 + + a11y: stop to use text as the default accessible-name for ClutterText + + https://bugzilla.gnome.org/show_bug.cgi?id=672994 + + clutter/cally/cally-text.c | 25 ------------------------- + 1 file changed, 25 deletions(-) + +commit 3cf2bfa3b6eb81bc753d09b8406a17e7314efe5c +Author: Emmanuele Bassi +Date: Thu Apr 26 16:59:08 2012 +0100 + + media: Define CLUTTER_DISABLE_DEPRECATION_WARNINGS + + We know we're building deprecated API. + + clutter/deprecated/clutter-media.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 56b7a4985b69db51868f6b369785ee0fae4a8a71 +Author: Emmanuele Bassi +Date: Thu Apr 26 16:58:23 2012 +0100 + + macros: Define MIN_REQUIRED as the current version + + Otherwise we'll not warn on deprecations introduced in the current + development cycle. + + clutter/clutter-macros.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 14572f4db0f6516cceb16d7015e569a4cba77b5d +Author: Emmanuele Bassi +Date: Thu Apr 26 14:06:00 2012 +0100 + + actor: Call show() on set parent conditionally + + This commit adds a further conditional check for calling + clutter_actor_show() when adding a child to an actor. We cannot + unconditionally change the value of the show-on-set-parent property like + the original solution of commit 81b19a78f5e02ae8ffd9235054d80b172496415b + as that breaks the document invariant that show-on-set-parent will be + changed iff an actor is without a parent. + + The new ADD_CHILD_SHOW_ON_SET_PARENT flag is part of the default and + legacy flags, thus retaining the default behaviour when adding a child; + the flag is not passed when reordering the list of children, which means + we ignore the state of the show-on-set-parent property. + + The conformance test suite fully passes, including the newly added test + to verify that changing the paint order does not trigger visibility. + + https://bugzilla.gnome.org/show_bug.cgi?id=674510 + + clutter/clutter-actor.c | 21 +++++++++++++-------- + 1 file changed, 13 insertions(+), 8 deletions(-) + +commit a2f54c59f5de9d9a577e1de44c2002c160ecc13b +Author: Emmanuele Bassi +Date: Thu Apr 26 14:02:07 2012 +0100 + + Revert "actor: Unconditionally set show_on_set_parent" + + This reverts commit 81b19a78f5e02ae8ffd9235054d80b172496415b. + + The commit breaks the conformance test unit for the invariants we + guarantee for the 1.x API: + + ERROR:actor-invariants.c:307:actor_show_on_set_parent: assertion failed: (show_on_set_parent) + + clutter/clutter-actor.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 854c246a2b14c4fe5bb5b38c99517d6835e60f92 +Author: Emmanuele Bassi +Date: Thu Apr 26 13:58:06 2012 +0100 + + docs: Add the 1.12 symbols index to the API reference + + doc/reference/clutter/clutter-docs.xml.in | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 26d8ad7479c04ba142460770fa577ea2a539a8b2 +Author: Emmanuele Bassi +Date: Thu Apr 26 13:23:29 2012 +0100 + + Be resilient in case there is no device manager + + It's possible to run Clutter with the 'null' input backend, which means + that clutter_device_manager_get_default() may return NULL. In the future + we may add a default dummy device manager, but right now it's safer to + just add a simple NULL check in the places where we ask for the device + manager. + + clutter/clutter-main.c | 8 ++++++++ + clutter/gdk/clutter-event-gdk.c | 5 ++++- + clutter/osx/clutter-event-osx.c | 13 +++++++++---- + clutter/win32/clutter-event-win32.c | 3 +++ + clutter/x11/clutter-backend-x11.c | 2 ++ + clutter/x11/clutter-stage-x11.c | 14 +++++++++----- + 6 files changed, 35 insertions(+), 10 deletions(-) + +commit f7f81798982da89b8fe3de4b3dfaff4b94006dd2 +Author: Neil Roberts +Date: Fri Apr 20 18:40:31 2012 +0100 + + Remove calls to cogl_disable_fog + + I can't think of any reason why it would do this and there's no + comment explaining it so let's just remove it. The global fog state + has been removed in Cogl 2.0 so it will cause problems later. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-stage.c | 3 --- + clutter/clutter-texture.c | 1 - + 2 files changed, 4 deletions(-) + +commit 107f43a838891ed9d4a282d8bd65501871a3aa8b +Author: Neil Roberts +Date: Fri Apr 20 17:11:47 2012 +0100 + + clutter-stage-cogl: Use CoglPrimitive for the debug redraw code + + CoglVertexBuffer is deprecated so here is a fairly simple replacement + to use the experimental CoglPrimitive API. + + Reviewed-by: Emmanuele Bassi + + clutter/cogl/clutter-stage-cogl.c | 45 +++++++++++++++++---------------------- + 1 file changed, 20 insertions(+), 25 deletions(-) + +commit 032870dcccd116045c8bed641ab894c229299c82 +Author: Cosimo Cecchi +Date: Tue Apr 24 10:21:25 2012 -0400 + + device-manager: select/unselect device events as device change + + When a device is added or changes, select/unselect events from X + accordingly. + + https://bugzilla.gnome.org/show_bug.cgi?id=673644 + + clutter/x11/clutter-device-manager-xi2.c | 13 ++++++++++++ + clutter/x11/clutter-stage-x11.c | 34 ++++++++++++++++++++++++++++++++ + clutter/x11/clutter-stage-x11.h | 3 +++ + 3 files changed, 50 insertions(+) + +commit b746044415ba8eb2d4c4263aeec038257f1bf2f3 +Author: Cosimo Cecchi +Date: Mon Apr 23 20:04:58 2012 -0400 + + device-manager: don't select events for disabled devices + + I.e. only select events for core devices or devices explicitly enabled + by clients. + + https://bugzilla.gnome.org/show_bug.cgi?id=673644 + + clutter/clutter-device-manager.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 85323f09a59130d67a331a0a0feedfccf951d4ed +Author: Jasper St. Pierre +Date: Mon Apr 23 14:14:07 2012 -0400 + + conform: Make sure that raising/lowering children doesn't change state + + Namely, visibility and show-on-set-parent. + + https://bugzilla.gnome.org/show_bug.cgi?id=674510 + + tests/conform/actor-graph.c | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +commit 81b19a78f5e02ae8ffd9235054d80b172496415b +Author: Jasper St. Pierre +Date: Fri Apr 20 19:54:05 2012 -0400 + + actor: Unconditionally set show_on_set_parent + + Otherwise, doing something like adjusting the child's position + on a hidden actor will re-show it, which is not what we want. + + https://bugzilla.gnome.org/show_bug.cgi?id=674510 + + clutter/clutter-actor.c | 9 +++------ + 1 file changed, 3 insertions(+), 6 deletions(-) + +commit 0287dc26ad6e8496d568908539d56a62a230ee45 +Author: Jasper St. Pierre +Date: Fri Apr 13 14:34:22 2012 -0400 + + actor: Not-actors don't have metas + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 340775d09b9af8bb2061c0955187ee35cbf6805b +Author: Emmanuele Bassi +Date: Sun Apr 15 13:02:42 2012 +0100 + + cally: Fix the pkg-config file + + Drop a bunch of variables that are not meant to be used by Cally; also, + drop the wrong library name from the Libs key: Clutter has a single + shared library, now. + + https://bugzilla.gnome.org/show_bug.cgi?id=674105 + + clutter/cally/cally.pc.in | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +commit d61515322a191d8a537d73c535a814e8fc21f96f +Author: Cosimo Cecchi +Date: Fri Apr 20 18:31:58 2012 +0100 + + x11/device-manager-xi2: Flip deltas around + + Up/down is Y. + + clutter/x11/clutter-device-manager-xi2.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 7641a1ffe9d3ef8c7b1936ce1114be5b2195a2c0 +Author: Piotr Drąg +Date: Tue Apr 17 19:52:47 2012 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2a1dcf40081ded459088f514a512f6fb6c956d42 +Author: Emmanuele Bassi +Date: Tue Apr 17 18:10:39 2012 +0100 + + Deprecate ClutterMedia + + The interface looked like a good idea around the time Clutter 0.2 was + out, but in reality we never had a proper, and supported implementation + outside of clutter-gst - thus, ClutterMedia was acting like a wrapper + around GStreamer, leading to hilarious issues of impedence mismatch + between API and all sorts of indirection issues typical of wrong + abstractions. + + In theory, ClutterMedia should have been deprecated and removed before + we hit 1.0, but we kept flip-flopping on the issue. + + For 2.0, it's time to take it out. + + And shoot it in the face. + + clutter/Makefile.am | 4 +- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-media.c | 80 ++++++++++++++++++++++++++++---- + clutter/{ => deprecated}/clutter-media.h | 17 +++++++ + 5 files changed, 92 insertions(+), 11 deletions(-) + +commit 164c6ee74187b10df6cdf22782d9071c28d787b2 +Author: Jasper St. Pierre +Date: Fri Mar 30 11:19:02 2012 -0400 + + text: Bubble up a click and quit early for just static text + + Static text shouldn't need a cursor position or anything like that, + and it always eats a button press event. + + https://bugzilla.gnome.org/show_bug.cgi?id=673190 + + clutter/clutter-text.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 2a12747ae36a237b7c7ede98d6a6479c616014da +Author: Christian Kirbach +Date: Fri Apr 13 19:46:47 2012 +0200 + + [l10n] Updated German translation + + po/de.po | 400 ++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 193 insertions(+), 207 deletions(-) + +commit 7fffb7290e9fa840912a14da8102be9a83143226 +Author: Emmanuele Bassi +Date: Thu Apr 12 17:24:37 2012 +0100 + + actor: Return a valid paint volume by default + + It's been a year and change, and two stable releases, since we + introduced the paint volume mechanism to allow actors to paint outside + their allocation safely in environments that support clipped redraws. + + The time has come to flip the switch, and return a valid paint volume, + matching the actor's allocation, by default - at least for Actor + instances from classes that do not override paint() and + get_paint_volume(). + + If an actor has a paint signal handler then it's the user responsability + not to paint outside the allocation - and to suffer the consequences of + doing so; in an ideal world, paint() would not be a signal in the first + place anyway. Plus, the idea that painting can happen at any time and + still have a valid surface greatly conflicts with the design goal of + making Clutter's rendering operations fully retained into a render tree. + + We can still revert this commit before spinning 1.12, if need be. + + clutter/clutter-actor.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 0bf500815984255cc133e204a8982063ce46a17d +Author: Emmanuele Bassi +Date: Thu Apr 12 17:08:33 2012 +0100 + + interactive/snap-constaint: Modernize code + + tests/interactive/test-snap-constraint.c | 15 +++++++++------ + 1 file changed, 9 insertions(+), 6 deletions(-) + +commit 119a25269e36513d0f759f720789a61ec9986a5f +Author: Emmanuele Bassi +Date: Thu Apr 12 17:07:06 2012 +0100 + + actor: Check for mapped children in the default get_paint_volume() + + Unmapped children won't be painted so they should not contribute to the + default paint volume computation. + + clutter/clutter-actor.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 98c9dad42f5881f9ae48217d0adafe4ba510ea5a +Author: Emmanuele Bassi +Date: Thu Apr 12 17:04:57 2012 +0100 + + actor: Clear MetaGroups when empty + + When removing the last Action, Constraint, or Effect, we should also be + clearing the corresponding MetaGroup: code inside ClutterActor relies on + NULL checks, and changing them all to check for NULL && n_items == 0 + would not be fun. + + clutter/clutter-actor.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit a66fbd258e4011f059df4e3234fe9efe58f15320 +Author: Peter Hutterer +Date: Thu Apr 12 13:07:34 2012 +1000 + + Rename XINPUT_2_2 define to HAVE_XINPUT_2_2 + + configure.ac defines XINPUT_2_2 if XI 2.2 support was found. The code + expects XINPUT_2_2 in the device manager, but HAVE_XINPUT_2_2 in the x11 + backend. + + On newer X servers, the latter causes a BadValue when XIQueryDevice sends a + different major/minor than gdk's device manager (gnome-control-center). + + Signed-off-by: Peter Hutterer + + https://bugzilla.gnome.org/show_bug.cgi?id=673961 + + clutter/x11/clutter-device-manager-xi2.c | 26 +++++++++++++------------- + clutter/x11/clutter-input-device-xi2.c | 4 ++-- + configure.ac | 2 +- + 3 files changed, 16 insertions(+), 16 deletions(-) + +commit 14b9cb4f7b68b6c3798760309b5bb436c4e9d187 +Author: Emmanuele Bassi +Date: Wed Apr 11 13:57:06 2012 +0100 + + actor: Fix completed transitions logic + + We need to remove the transition only if the current repeat is equal to + the number of repeats, and if the transition was marked as remove on + complete. Otherwise, the transition has to remain where it is. + + clutter/clutter-actor.c | 43 +++++++++++++++++-------------------------- + 1 file changed, 17 insertions(+), 26 deletions(-) + +commit 2d48e6e3e4a86bb66bb859180695c9a5cb12e9fb +Author: Rob Bradford +Date: Wed Apr 11 11:56:11 2012 +0100 + + build: Bump pango dependency to 1.30 + + Clutter now uses pango_layout_get_character_count() which was added in 1.30. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 656d5c31e3b356e1e5144c9c31e8e84db6f86edf +Author: Carles Ferrando +Date: Tue Apr 10 20:56:50 2012 +0200 + + [l10n]Updated Catalan (Valencian) translation + + po/ca@valencia.po | 445 +++++++++++++++++++++++++++--------------------------- + 1 file changed, 223 insertions(+), 222 deletions(-) + +commit 331488fe860519883929916c9e279fe1ad1b2f6f +Author: Jordi Serratosa +Date: Tue Apr 10 20:56:46 2012 +0200 + + [l10n] Fixes on Catalan translation + + po/ca.po | 445 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 223 insertions(+), 222 deletions(-) + +commit ab486bfe7094b0023655d80d5de5fe1089a12fdd +Author: Emmanuele Bassi +Date: Tue Apr 10 13:37:04 2012 +0100 + + actor: Remove unnecessary relayout/redraw calls + + They will be handled internally. + + clutter/clutter-actor.c | 8 -------- + 1 file changed, 8 deletions(-) + +commit de9112bc8c8ecf9f64b914e50b09f89a994f8d66 +Author: Emmanuele Bassi +Date: Tue Apr 10 12:58:17 2012 +0100 + + actor: Do not queue_redraw() in set_opacity() + + The opacity internal setter will do it for us, and it will take into + consideration any eventual flatten effect applied to the actor. + + This unbreaks the actor-offscreen-redirect conformance test. + + clutter/clutter-actor.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 25bf0b72f65ad7f7c931581f6ccb9e266addb3bc +Author: Emmanuele Bassi +Date: Tue Apr 10 12:34:54 2012 +0100 + + x11/stage: Leave a comment about multi-head setup + + The get_geometry() implementation is broken on multi-head systems; the + only solution is to use XRandR to get the size of the CRTC that contains + the stage. + + clutter/x11/clutter-stage-x11.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit b12514ff9a8424bf4c97c1b0c4f608cbe2c5817b +Author: Emmanuele Bassi +Date: Tue Apr 10 12:12:50 2012 +0100 + + stage: Unset the natural size when fullscreening + + This ensures that constraints and signal handlers will go through the + allocation and not through the cache after ::fullscreen has been + emitted. + + clutter/clutter-stage.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 612b714149b47f22e2712378013559fd6a205281 +Author: Emmanuele Bassi +Date: Tue Apr 10 12:12:28 2012 +0100 + + interactive/stage-sizing: Clean up + + tests/interactive/test-stage-sizing.c | 120 ++++++++++++++++++++-------------- + 1 file changed, 72 insertions(+), 48 deletions(-) + +commit f6da5ea616b114c80708817c51b20abb8f8a8304 +Author: Emmanuele Bassi +Date: Mon Apr 9 11:56:26 2012 +0100 + + x11/device-manager-xi2: Add 'Abs Distance' axis + + In XInput 2, the proximity events of XInput 1 have been replaced by an + axis on a valuator class. This means that, on devices that support + proximity information, for instance pens of a tablet, you will start + receiving events with the distance as an axis value - similarly to how + the pressure and tilt are presented in the API. + + clutter/x11/clutter-device-manager-xi2.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit c699972bfa598c103c9dc7eb0fa4b5ea5a81ee8f +Author: Emmanuele Bassi +Date: Mon Apr 9 11:56:01 2012 +0100 + + enums: Add CLUTTER_INPUT_AXIS_DISTANCE + + clutter/clutter-enums.h | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit bdf4b3a33a7e2d35541422059c090c3995e95420 +Author: Owen W. Taylor +Date: Mon Apr 9 12:09:59 2012 -0400 + + ClutterText: Fix length passed to clutter_text_buffer_set_text() + + clutter_text_buffer_set_text() expects a char count, not a byte + count, so pass -1 rather than using strlen. + + https://bugzilla.gnome.org/show_bug.cgi?id=673783 + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 86a5213473e9263b3c55864ac334099283e4a2ec +Author: Emmanuele Bassi +Date: Sat Apr 7 23:07:59 2012 +0100 + + x11/device-manager-xi2: Remove heuristics for touchscreen devices + + Devices that have touch valuator classes will be touchscreens or + touchpads; anything else should be ignored. + + clutter/x11/clutter-device-manager-xi2.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 532904e43d6f2b7c49ee9a42f455226db85da197 +Author: Emmanuele Bassi +Date: Wed Apr 4 15:33:32 2012 +0100 + + osx: Fix build + + clutter/osx/clutter-backend-osx.c | 13 ++++++------- + clutter/osx/clutter-backend-osx.h | 7 ++++++- + clutter/osx/clutter-osx.h | 2 ++ + clutter/osx/clutter-stage-osx.c | 33 ++++++++++++++++----------------- + 4 files changed, 30 insertions(+), 25 deletions(-) + +commit ea68ccf7037ca82064d746728a703c34f22ecc78 +Author: Emmanuele Bassi +Date: Wed Apr 4 15:33:05 2012 +0100 + + build: Remove -Waggregate-returns + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cc43536b3c80ccb4e64abc624f8672e687ea0a7b +Author: Daniel Nylander +Date: Sun Apr 1 20:31:08 2012 +0200 + + Updated Swedish translation + + po/sv.po | 428 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 214 insertions(+), 214 deletions(-) + +commit d45420f992f3a277ef12d83281ac60981e4c75ac +Author: Emmanuele Bassi +Date: Thu Mar 29 15:52:51 2012 +0100 + + actor: Make _clutter_actor_foreach_child() safe again + + We were using g_list_foreach() prior to the first Apocalypse, and that + function is resilient against changes to the list while iterating it; + since we are not using a GList any more, we need handle this case + ourselves. + + clutter/clutter-actor.c | 18 ++++++++++++++---- + 1 file changed, 14 insertions(+), 4 deletions(-) + +commit 656c641d31cab2041f56c86a8f5f9993bfab4c93 +Author: Emmanuele Bassi +Date: Thu Mar 29 15:12:09 2012 +0100 + + interactive/bin-layout: Call save/restore easing state + + Don't do unprotected calls to set_easing_mode() and + set_easing_duration(). + + tests/interactive/test-bin-layout.c | 18 ++++++++++++++---- + 1 file changed, 14 insertions(+), 4 deletions(-) + +commit 499534f3ac44022b3204161bc12656d7fce36602 +Author: Emmanuele Bassi +Date: Thu Mar 29 13:53:40 2012 +0100 + + actor: Make :content-gravity animatable + + Let's start making some non-trivial property animatable, like the + content gravity. + + clutter/clutter-actor.c | 85 ++++++++++++++++++++++++++++++++++---- + tests/interactive/test-image-box.c | 2 + + 2 files changed, 79 insertions(+), 8 deletions(-) + +commit 2c46baf30c9b6a8fe2af529f5fcbe02c514cdca7 +Author: Stefano Facchini +Date: Thu Mar 29 14:35:50 2012 +0200 + + canvas: avoid emission of "draw" signal when the size is zero + + This also avoids the warning + + Cogl-WARNING **: ./cogl-buffer.c:215: GL error (1285): Out of memory + + generated by cogl_buffer_map when the CoglBuffer has zero length. + + clutter/clutter-canvas.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 97dcfe5bf14de873425b6759954e74096ea3eefb +Author: Emmanuele Bassi +Date: Thu Mar 29 12:01:03 2012 +0100 + + actor: Ensure that we correctly remove transitions + + The check on :remove-on-complete was inverted, but we also need to check + that the current repeat of the timeline is also the last. + + clutter/clutter-actor.c | 21 ++++++++++++++++++++- + 1 file changed, 20 insertions(+), 1 deletion(-) + +commit ff9a503c14eca48868f919101f94428e20780165 +Author: Emmanuele Bassi +Date: Wed Mar 28 18:07:06 2012 +0100 + + actor: Minor optimization to avoid get_preferred_* + + When the easing state has a duration of zero milliseconds we can skip + the entire create_transition() call inside set_width() and set_height(), + to avoid what may be a costly call to get_preferred_*. + + clutter/clutter-actor.c | 36 ++++++++++++++++++++++++++++++++++-- + 1 file changed, 34 insertions(+), 2 deletions(-) + +commit cede56dcdda0bfdd26a155452d05d20e6c974732 +Author: Emmanuele Bassi +Date: Wed Mar 28 16:39:30 2012 +0100 + + actor: Ensure we use the current easing duration and mode + + When updating a transition in flight, if the current easing state does + not match the transition's. + + clutter/clutter-actor.c | 19 ++++++++++++++++--- + 1 file changed, 16 insertions(+), 3 deletions(-) + +commit 824dfcc67e6d66f38afa8d1fa175a8512e674a26 +Author: Emmanuele Bassi +Date: Wed Mar 28 13:21:58 2012 +0100 + + docs: Mention in-flight value changes + + clutter/clutter-actor.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit 39ddf9c542c56d32bf74e35c8146e1a5ef51dcad +Author: Emmanuele Bassi +Date: Wed Mar 28 13:01:17 2012 +0100 + + interactive/animation: Use implicit animations instead of animate() + + Also, nest animations. + + tests/interactive/test-animation.c | 73 ++++++++++++++++++++------------------ + 1 file changed, 39 insertions(+), 34 deletions(-) + +commit 2355b57aabd984013b4ec5ec76b192ff8065ef65 +Author: Emmanuele Bassi +Date: Wed Mar 28 12:46:30 2012 +0100 + + interactive/transitions: Jump to middle-click coordinates + + Middle click will update an existing transition while in flight, and + skip it. + + tests/interactive/test-transitions.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 24d43cd0766bdf1bb09c2e472187b6e5b03f585c +Author: Emmanuele Bassi +Date: Wed Mar 28 12:43:57 2012 +0100 + + actor: Check easing duration when updating in-flight transitions + + If we update a transition that is currently playing, we need to check + the current easing state, and look at the eventual duration, in case + the user wants to cancel the transition. + + clutter/clutter-actor.c | 15 ++++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +commit 3c1358da5db3835bcd492760db0aa8e22d107ccc +Author: Emmanuele Bassi +Date: Wed Mar 28 08:34:36 2012 +0100 + + table-layout: Fix [xy]_expand + + A copy and paste thinko. + + https://bugzilla.gnome.org/show_bug.cgi?id=672853 + + clutter/clutter-table-layout.c | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +commit 628ffa7b91ccb566ede25d41f4e08cee7c8c7dd6 +Author: Jasper St. Pierre +Date: Tue Mar 27 15:54:56 2012 -0300 + + actor: Invalidate the current state when popping easing states + + https://bugzilla.gnome.org/show_bug.cgi?id=672945 + + clutter/clutter-actor.c | 1 + + 1 file changed, 1 insertion(+) + +commit fa8d43194140bb40200365d3e63b2b9d0f47634c +Author: Emmanuele Bassi +Date: Wed Mar 28 11:52:01 2012 +0100 + + actor: Simplify setters of animatable properties + + Instead of checking the duration of the current easing state we should + check if there's a transition in progress, and update it + unconditionally. + + If there is no easing state, or the easing state has a duration of zero + milliseconds, then create_transition() should bail out early and set the + requested final state. + + This allows us to write: + + clutter_actor_save_easing_state (actor); + clutter_actor_set_x (actor, 200); + clutter_actor_restore_easing_state (actor); + + [...] + + clutter_actor_set_x (actor, 100); + + and have the second set_x() update the easing in progress, instead of + being ignored. + + https://bugzilla.gnome.org/show_bug.cgi?id=672945 + + clutter/clutter-actor.c | 344 ++++++++++++++++++------------------------------ + 1 file changed, 129 insertions(+), 215 deletions(-) + +commit 0f7dab15d85419d7ab968ae404140eef031755a9 +Author: Emmanuele Bassi +Date: Wed Mar 28 11:49:53 2012 +0100 + + interactive/transitions: Add missing easing state save/restore + + The test hasn't been updated after commit 229241b8, and was trying to + change the easing state without creating one. + + tests/interactive/test-transitions.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit f4af52ca7ff1179aa1f7bb4948b334ceb2258084 +Author: Emmanuele Bassi +Date: Tue Mar 27 12:09:28 2012 +0100 + + Remove unused fields from LayoutInfo + + The x_expand and y_expand members would mess up the initialization of + the constant LayoutInfo default structure. + + clutter/clutter-actor-private.h | 5 ----- + 1 file changed, 5 deletions(-) + +commit b074db869c96476e67ed60cb043faf4510d35479 +Author: Emmanuele Bassi +Date: Mon Mar 26 18:34:15 2012 +0100 + + actor: Add debug annotation in add_transition() + + clutter/clutter-actor.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 1ef85372cc0825c269ac35977ca02da8b12eb6be +Author: Emmanuele Bassi +Date: Mon Mar 26 18:31:42 2012 +0100 + + actor: Add IN_DESTRUCTION checks + + Commit 80626e75842a24c3d0a45068e241ba309f6ec138 removed an + IN_DESTRUCTION check from within the add_child_internal() method, + outlining an option for bringing it back. It was too late for the 1.10 + cycle to do it, and eventually pick up the pieces, but now that we're + at the beginning of the 1.11 cycle we can restore it, and add checks + elsewhere to balance it. + + clutter/clutter-actor.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit 67058229f00880c4abf4bc33bef832ba17101ec3 +Author: Tristan Van Berkom +Date: Tue Mar 27 16:57:03 2012 +0900 + + Properly manage timeline refcounting in clutter_animation_set_timeline() + + This patch fixes clutter to not crash when multiple animations share + the same timeline and the actors are explicitly destroyed before + the timeline completes (bug 672890) + + clutter/clutter-animation.c | 15 +++++++++++---- + 1 file changed, 11 insertions(+), 4 deletions(-) + +commit ba3bfde2ea9e52f198dc2085ad8666a44073d2b4 +Author: Ihar Hrachyshka +Date: Mon Mar 26 14:25:45 2012 +0300 + + Updated Belarusian translation. + + po/be.po | 438 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 261 insertions(+), 177 deletions(-) + +commit b11031c5cefd1e1e043934be81b8b59a7e645ee1 +Author: Rudolfs Mazurs +Date: Sun Mar 25 13:58:54 2012 +0300 + + Updated Latvian translation. + + po/lv.po | 1883 +++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 1115 insertions(+), 768 deletions(-) + +commit 9d33a62f214a71b469afc5281a94a20240853485 +Author: Daniel Korostil +Date: Sat Mar 24 18:37:10 2012 +0200 + + Uploaded Ukranian + + po/uk.po | 886 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 498 insertions(+), 388 deletions(-) + +commit 289244f0dd8a17e08ef87ba02f02739d2c83afcf +Author: Kenneth Nielsen +Date: Sat Mar 24 11:59:17 2012 +0100 + + Updated Danish translation + + po/da.po | 420 ++++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 252 insertions(+), 168 deletions(-) + +commit c9a81f035e0ec2d5726497b986ab7469f4de7a74 +Author: Neil Roberts +Date: Fri Mar 23 17:12:26 2012 +0000 + + Don't use any GL types or defines in Clutter + + Some of the Clutter code was using GL types for the primitive types + such as GLint and GLubyte and then passing these to Cogl. This doesn't + make much sense because the Cogl functions directly take native C + types. This patch just replaces them with either a native C type or a + glib type. + + Some of the cogl conformance tests are trying to directly call GL for + example to test creating a foreign texture. These tests have been + changed to manually define the GL enum values instead of relying on a + GL header to define them. + + This is necessary because Cogl may soon stop including a GL header + from its public headers. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-shader-effect.c | 16 +++---- + clutter/clutter-shader-types.c | 8 ++-- + clutter/clutter-stage.c | 2 +- + clutter/deprecated/clutter-shader.c | 8 ++-- + tests/conform/test-cogl-materials.c | 24 ++++++++-- + tests/conform/test-cogl-premult.c | 2 +- + tests/conform/test-cogl-texture-rectangle.c | 53 ++++++++++++++++------ + tests/conform/test-cogl-vertex-buffer-contiguous.c | 24 +++++----- + tests/conform/test-cogl-vertex-buffer-interleved.c | 19 +++----- + tests/conform/test-cogl-vertex-buffer-mutability.c | 24 +++++----- + tests/conform/test-conform-common.h | 26 +++++------ + tests/interactive/test-cogl-tex-foreign.c | 53 ++++++++++++++++------ + tests/interactive/test-cogl-vertex-buffer.c | 18 ++++---- + 13 files changed, 167 insertions(+), 110 deletions(-) + +commit 04f2be34b2cba22acdb497feb5ecbcc3233ccc6a +Author: Neil Roberts +Date: Fri Mar 23 16:34:17 2012 +0000 + + configure: Fix the -o operator in a call to test + + The disjunction operator was misspelt as -O which tests whether the + following file is owned by the calling user. This doesn't take enough + arguments so bash was showing an error and the test was always + failing. This meant that NEED_XKB_UTILS was always false which should + have broken the build but the Makefile was mistakenly including + clutter-xkb-utils.c again if SUPPORT_WAYLAND is defined. + + See 1b77565e for reference. + + Reviewed-by: Emmanuele Bassi + + clutter/Makefile.am | 4 +--- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 4 deletions(-) + +commit 4316a85c16fba8edcf801641d8d3f2cda5958479 +Author: Emmanuele Bassi +Date: Thu Mar 22 13:20:55 2012 +0000 + + build: Remove disabling Clutter's deprecation warnings while building it + + Now that we have deprecation warnings and not full on symbol removal + from the headers, we can just skip Clutter's own, and use only GLib's. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7d4475bce920e57d7e4f07eb083ec7fc171712c5 +Author: Rajesh Ranjan +Date: Fri Mar 23 14:48:59 2012 +0530 + + hindi translation by Chandan Kumar + + po/hi.po | 2162 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1257 insertions(+), 905 deletions(-) + +commit 1b3777f16911e944288443c3bbe0d15604c16a6e +Author: Emmanuele Bassi +Date: Thu Mar 22 10:11:11 2012 +0000 + + version: Add 1.12 version macros + + clutter/clutter-macros.h | 14 ++++++++++++++ + clutter/clutter-version.h.in | 10 ++++++++++ + 2 files changed, 24 insertions(+) + +commit 22fad59c2647182276faa453a94f4a1bd28ae6e7 +Author: Emmanuele Bassi +Date: Wed Mar 21 14:01:31 2012 +0000 + + osx: Fix compilation warnings + + https://bugzilla.gnome.org/show_bug.cgi?id=672536 + + clutter/osx/clutter-stage-osx.c | 44 ++++++++++++++++++++++++++++++++++++----- + 1 file changed, 39 insertions(+), 5 deletions(-) + +commit 2bf5e891401ed51f7b5c214c94a575e60220977a +Author: Emmanuele Bassi +Date: Wed Mar 21 14:01:11 2012 +0000 + + Fix fallback profile counter macro + + clutter/clutter-profile.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5a0634478b9722e603c1f736e93de0cf571d5b4e +Author: Viktor Nyberg +Date: Thu Mar 22 12:40:12 2012 +0100 + + [l10n] Updated German translation + + po/de.po | 1709 +++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 1009 insertions(+), 700 deletions(-) + +commit b47b5482f266c87a71c1b0eb8d0ba7d484e8812e +Author: Yuri Myasoedov +Date: Wed Mar 21 22:47:04 2012 +0400 + + Updated Russian translation + + po/ru.po | 484 ++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 278 insertions(+), 206 deletions(-) + +commit 40c345a42af3474271b8b39934a8dd808d42e65c +Author: Jasper St. Pierre +Date: Wed Mar 21 10:42:32 2012 -0400 + + table-layout: Remove dead code + + If a column/row is expanding, n_expand has to be greater than 1. + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 16 ++++------------ + 1 file changed, 4 insertions(+), 12 deletions(-) + +commit 8c0be4181bc48917535177b3ce61f87d78f0c27d +Author: Jasper St. Pierre +Date: Wed Mar 21 10:36:42 2012 -0400 + + table-layout: Fix x/y-expand for spanning actors + + Ported to ClutterTableLayout from MxTable: + + https://github.com/clutter-project/mx/commit/239e53146a678ae753b1fb9a862f4030c66a1d9b + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 16d28853facdfb81e90a9ac33ae9419bacefd26e +Author: Jasper St. Pierre +Date: Wed Mar 21 09:36:07 2012 -0400 + + table-layout: Fix column visibility for spanning actors + + Ported to ClutterTableLayout from MxTable: + + https://github.com/clutter-project/mx/commit/6633f185fcfb7ce8a6ef85276d09e4ee92f584b8 + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit 67ddf8745bd974e1da87669f5e45dbe9f7215b6a +Author: Jasper St. Pierre +Date: Wed Mar 21 09:35:37 2012 -0400 + + table-layout: Remove unused 'shrink' field. + + Ported to ClutterTableLayout from MxTable: + + https://github.com/clutter-project/mx/commit/053a1b04290e6ac307f90033babf761179d1db89 + + https://bugzilla.gnome.org/show_bug.cgi?id=672557 + + clutter/clutter-table-layout.c | 1 - + 1 file changed, 1 deletion(-) + +commit 5dc1cd399cf900cb56057a9cbd99c796d273fa63 +Author: Jasper St. Pierre +Date: Thu Feb 16 14:06:25 2012 -0500 + + actor: Freeze property change notifications on destroy + + clutter/clutter-actor.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 554f0093473c612816abe7bdb832f77dd3e9dec2 +Author: kkrothap@redhat.com +Date: Wed Mar 21 19:33:23 2012 +0530 + + Updated Telugu Translations + + po/te.po | 1156 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 638 insertions(+), 518 deletions(-) + +commit d7c922c72a73c05b3fe9159f7300b6bf9c6308c0 +Author: Emmanuele Bassi +Date: Wed Mar 21 13:30:28 2012 +0000 + + docs: Clean up the animations sections of the Actor reference + + clutter/clutter-actor.c | 147 ++++++++++++++++++++++++++++-------------------- + 1 file changed, 86 insertions(+), 61 deletions(-) + +commit 40365a1f183ded88019b5e8995b535bbaa2315a1 +Author: Emmanuele Bassi +Date: Wed Mar 21 12:57:26 2012 +0000 + + interactive/scrolling: Use the implicit animation API + + tests/interactive/test-scrolling.c | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +commit 27022c6b06eebd1d7e3a62e9c38ded31cc807c96 +Author: Rico Tzschichholz +Date: Wed Mar 21 13:59:54 2012 +0100 + + build: Remove superfluous ',' + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b2dfcd346cb18410e859c12f1a9038dbc89f3dc4 +Author: Jonh Wendell +Date: Wed Mar 21 08:53:43 2012 -0300 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 366 +++++++++++++++++++++++++++++++++++++----------------------- + 1 file changed, 225 insertions(+), 141 deletions(-) + +commit 6a502f7104a4febed535b398387b479862a8222c +Author: Emmanuele Bassi +Date: Tue Mar 20 16:18:20 2012 +0000 + + conform: Set harsher environment for running tests + + Set the MALLOC_CHECK_ and MALLOC_PERTURB_ environment variables to catch + allocation issues. + + tests/conform/run-tests.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e3cbec48a89c69cdccd41f40bff2a3dff9e7d73a +Author: Emmanuele Bassi +Date: Tue Mar 20 16:11:52 2012 +0000 + + paint-node: Initialize ClutterPaintOperation + + Don't leave it to the compiler. + + clutter/clutter-paint-node-private.h | 2 ++ + clutter/clutter-paint-node.c | 8 ++++---- + 2 files changed, 6 insertions(+), 4 deletions(-) + +commit f1aa16069d04f63e3876f7f22f0b561098b6c545 +Author: Robert Bragg +Date: Tue Mar 20 14:06:10 2012 +0000 + + clutter-wayland-compositor.h: Adds missing header guards + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/wayland/clutter-wayland-compositor.h | 5 +++++ + 1 file changed, 5 insertions(+) + +commit dee544645b29235e0a5fb8e6d5f49ecc4e4915ca +Author: Neil Roberts +Date: Fri Mar 9 18:24:14 2012 +0000 + + wayland: Fix some missing includes + + The commit 90e5088 added some extra compiler warning options that were + triggering warnings when enabling the wayland build due to missing + header includes. This adds those header includes in. + + Reviewed-by: Robert Bragg + Reviewed-by: Emmanuele Bassi + + clutter/clutter-backend.c | 4 ++++ + clutter/evdev/clutter-device-manager-evdev.c | 1 + + clutter/wayland/clutter-event-wayland.c | 1 + + clutter/wayland/clutter-input-device-wayland.c | 1 + + clutter/wayland/clutter-stage-wayland.c | 1 + + 5 files changed, 8 insertions(+) + +commit cf96c9caf3770f99ad0d9568ac4b76dd0abe5a2c +Author: Robert Bragg +Date: Tue Mar 20 13:50:42 2012 +0000 + + include standalone cogl-wayland-server/client headers + + Because the wayland-server-protocol.h header includes symbols that + collide with wayland-client-protocol.h Cogl now provides top level + and headers so + that applications can ensure they only include one of the wayland + protocol headers in a particular compilation unit. This updates clutter + accordingly to include those headers. + + Reviewed-by: Neil Roberts + Reviewed-by: Emmanuele Bassi + + clutter/clutter-backend.c | 2 ++ + clutter/wayland/clutter-backend-wayland.c | 1 + + clutter/wayland/clutter-stage-wayland.c | 2 ++ + clutter/wayland/clutter-wayland-surface.c | 3 +-- + 4 files changed, 6 insertions(+), 2 deletions(-) + +commit 568951b8aca479f53e36597bcf017c2192be3e77 +Author: Rob Bradford +Date: Tue Mar 20 13:31:28 2012 +0000 + + wayland: Only try and resize the framebuffer if there is a valid framebuffer + + clutter/wayland/clutter-stage-wayland.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 1e639cd0ee5bfb5a8556f31c97908c4ca42244d2 +Author: Emmanuele Bassi +Date: Tue Mar 20 13:06:48 2012 +0000 + + docs: Reorganize the API reference index + + doc/reference/clutter/clutter-docs.xml.in | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit d6e710d252def2a086d9c98efa867af0ca66cb23 +Author: Emmanuele Bassi +Date: Tue Mar 20 12:06:21 2012 +0000 + + docs: Fix typo + + clutter/clutter-transition.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7af1d4b847ed86d14da87c7821c2c51fd258b087 +Author: Emmanuele Bassi +Date: Tue Mar 20 11:55:41 2012 +0000 + + docs: Add a section on actor animations + + Detail the implicit and explicit animation models used by ClutterActor. + + clutter/clutter-actor.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 71 insertions(+), 1 deletion(-) + +commit 15952f26cba2446599eb2a38cc6e97c6aa40cf07 +Author: Emmanuele Bassi +Date: Tue Mar 20 11:47:41 2012 +0000 + + property-transition: Remove animatable from the ctor + + Should not have been there in the first place: the animatable will be + set either using ClutterTransition API, or when adding the transition + to a ClutterActor. + + clutter/clutter-actor.c | 5 +++-- + clutter/clutter-property-transition.c | 8 +++----- + clutter/clutter-property-transition.h | 3 +-- + 3 files changed, 7 insertions(+), 9 deletions(-) + +commit 552a9496951e7f62729a79a3d57c82d3805f9519 +Author: Emmanuele Bassi +Date: Tue Mar 20 11:22:07 2012 +0000 + + Use g_clear_object() instead of unref() + NULL + + clutter/clutter-actor.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit 227c7b404d587bc6ef1b812ea930879bb932d79f +Author: Emmanuele Bassi +Date: Tue Mar 20 11:17:53 2012 +0000 + + actor: Clarify and improve memory management of transitions + + When adding a transition to a ClutterActor, the actor should hold a + reference on it, and release it only when we remove it. This makes + transitions just like other objects held by ClutterActor. + + clutter/clutter-actor.c | 44 +++++++++++++++++++++++++++++++------------- + 1 file changed, 31 insertions(+), 13 deletions(-) + +commit f339d8a4f3679866b1e8fe49c86963c1ceaa7edf +Author: Emmanuele Bassi +Date: Tue Mar 20 10:22:26 2012 +0000 + + Post-branching version bump to 1.11.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.pre-1.14 b/ChangeLog.pre-1.14 new file mode 100644 index 0000000..310009c --- /dev/null +++ b/ChangeLog.pre-1.14 @@ -0,0 +1,2699 @@ +commit b968f81b743f8e3c91737a21528626108b3578fc +Author: Emmanuele Bassi +Date: Mon Mar 25 18:13:52 2013 +0000 + + Release Clutter 1.14.0 + + NEWS | 25 +++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 27 insertions(+), 2 deletions(-) + +commit 37f0fba0a6e12676a6688e5e6cb4c479d1a2604a +Author: Emmanuele Bassi +Date: Mon Mar 25 17:57:28 2013 +0000 + + Fix compilers warnings when debugging is disabled + + clutter/clutter-script-parser.c | 4 ---- + clutter/clutter-stage.c | 17 ++++++++--------- + clutter/x11/clutter-backend-x11.c | 7 +++---- + clutter/x11/clutter-stage-x11.c | 5 ++++- + 4 files changed, 15 insertions(+), 18 deletions(-) + +commit 75e32e8ae0f87d25ad669b81e17d6a2fb2560f82 +Author: Emmanuele Bassi +Date: Mon Mar 25 17:39:06 2013 +0000 + + Bump the requirement for Cogl to its stable release + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 17730453fb13a45f60bbf257c264f276f3bbe163 +Author: Rajesh Ranjan +Date: Mon Mar 25 15:10:27 2013 +0530 + + hindi translation by chandan kumar + + po/hi.po | 696 +++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 325 insertions(+), 371 deletions(-) + +commit 5bbd4be30b7073304bad96c1a026818bb951f251 +Author: Rūdolfs Mazurs +Date: Thu Mar 21 09:50:57 2013 +0200 + + Updated Latvian translation + + po/lv.po | 543 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 272 insertions(+), 271 deletions(-) + +commit d0335c603d686cc1452ed1762a28ee6c6a8b48fb +Author: Ján Kyselica +Date: Tue Mar 19 23:34:03 2013 +0100 + + Added slovak translation + + po/sk.po | 3130 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 3130 insertions(+) + +commit 19d6ebb7fc9e4511d7de9320b99fb6a59a042f52 +Author: Victor Ibragimov +Date: Tue Mar 19 22:28:43 2013 +0100 + + [l10n] Added Tadjik translation + + po/tg.po | 2741 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2741 insertions(+) + +commit da0025bfcae6d6ef6790989a6536a98f97c13da7 +Author: Emmanuele Bassi +Date: Mon Mar 18 22:03:28 2013 -0300 + + Post-release version bump to 1.13.11 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9c1c3bf3528b1d2b7ba80e5b6ca1f201755674cf +Author: Emmanuele Bassi +Date: Mon Mar 18 21:54:20 2013 -0300 + + Release Clutter 1.13.10 + + NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ + README.in | 14 ++++++++++++++ + configure.ac | 2 +- + 3 files changed, 66 insertions(+), 1 deletion(-) + +commit e7453d6bc6501db0c943c7bf40b66db7dfd0ded5 +Author: Lionel Landwerlin +Date: Sun Mar 17 03:19:02 2013 +0000 + + actor: fix translation-z setting + + https://bugzilla.gnome.org/show_bug.cgi?id=695982 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6e5d99e3e68d7f52d081af1fc034b25be9473e72 +Author: Carles Ferrando +Date: Sun Mar 17 20:07:43 2013 +0100 + + [l10n] Updated Catalan (Valencian) translation + + po/ca@valencia.po | 676 +++++++++++++++++++++++++++--------------------------- + 1 file changed, 338 insertions(+), 338 deletions(-) + +commit 3b05936cc4c8c959c40285e5d459e2b5bf5147e8 +Author: Ask H. Larsen +Date: Sun Mar 17 14:57:59 2013 +0100 + + Updated Danish translation + + po/da.po | 700 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 350 insertions(+), 350 deletions(-) + +commit 305616afe2d01c4014bbe9640043633c74dd7075 +Author: Duarte Loreto +Date: Fri Mar 15 14:36:13 2013 +0000 + + Updated Portuguese translation and converted to New Spelling (Novo AO) + + po/pt.po | 1012 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 509 insertions(+), 503 deletions(-) + +commit fefde1b8e364c8269475fd37c3a3b15924cf8d84 +Author: Emmanuele Bassi +Date: Thu Mar 14 19:01:31 2013 -0300 + + Revert "actor: Skip transitions on invisible actors" + + It's far too late in the 1.13 cycle to cause changes in existing code. + + This reverts commit 0d65f9461ee2a02cf400e5d8aa40c07eca43cf7c. + + https://bugzilla.gnome.org/show_bug.cgi?id=695870 + + clutter/clutter-actor.c | 52 ++++++++++++------------------------------------- + 1 file changed, 12 insertions(+), 40 deletions(-) + +commit c8f34d448a52405b756535ca1cd7da42803cee11 +Author: Bastien Nocera +Date: Thu Mar 14 12:31:52 2013 +0100 + + clutter: Prefer the X11 backend to the Wayland one + + If clutter is built with both X11 and Wayland support, prefer the + (more complete for now) X11 backend. This matches GTK+'s current + ordering. + + This allows distributions to ship a clutter version with both backends + built, and using an envvar to switch to the wayland backend and test + applications. + + In the future, applications would be able to choose which backend + they prefer and in which order. + + https://bugzilla.gnome.org/show_bug.cgi?id=695838 + + clutter/clutter-main.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 0d65f9461ee2a02cf400e5d8aa40c07eca43cf7c +Author: Emmanuele Bassi +Date: Thu Mar 7 19:33:59 2013 +0000 + + actor: Skip transitions on invisible actors + + If an actor has not been painted yet, or it's not going to be painted, + we can ignore transitions queued on it. + + By ignoring transitions on actors that have not been painted yet, we can + avoid doing work during the set up phase of the scene graph, as well as + avoiding actors "flying in" from nowhere. + + Obviously, we have to take into account potential clones, so we need to + check that the actor is not part of a cloned branch of the scene graph, + as well as checking if the actor has mapped clones. + + clutter/clutter-actor.c | 52 +++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 40 insertions(+), 12 deletions(-) + +commit a557930798e90ca690219e8ea2230f3e40164c66 +Author: Emmanuele Bassi +Date: Thu Mar 7 19:10:55 2013 +0000 + + actor: Propagate the cloned state to the children + + If we clone a container, we still want redraws queued on the children to + be propagated. + + clutter/clutter-actor.c | 38 +++++++++++++++++++++++++++++++++++++- + 1 file changed, 37 insertions(+), 1 deletion(-) + +commit e796886841282eb79bec51a238806361a93c1e07 +Author: Emmanuele Bassi +Date: Thu Mar 7 18:20:48 2013 +0000 + + actor: Ignore redraws queued on unmapped actors + + If an actor is unmapped then it won't be painted, so we can safely + short-circuit out of _clutter_actor_queue_redraw_full() if the mapped + flag is not set. + + We need, on the other hand, make an exception for Clones, otherwise + they won't receive notification that the source actor has changed + and they won't be painted. + + This allows us to ignore redraws queued on children of invisible + parents, and avoid traversing the scene graph. + + clutter/clutter-actor.c | 67 +++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 51 insertions(+), 16 deletions(-) + +commit f8c129ae8189845c4163908f947ad9252b611314 +Author: Emmanuele Bassi +Date: Thu Mar 7 18:09:33 2013 +0000 + + actor: Keep track of clones + + Instead of using signal notifications, we should be able to keep track + of the clones of an actor from within ClutterActor itself, using private + API. There's no point in pretending that people can actually create a + Clone class out of tree, given the amount of invariants we have to punch + through in order to implement a proper replicator node of the scene + graph, so we can just skip the signal emissions and just do the right + thing at the right time. + + clutter/clutter-actor-private.h | 7 ++++ + clutter/clutter-actor.c | 80 ++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-clone.c | 30 +++------------- + 3 files changed, 91 insertions(+), 26 deletions(-) + +commit 3e53c1ff73f6566359e6fe037ca1f3162299af03 +Author: Emmanuele Bassi +Date: Thu Mar 7 18:35:55 2013 +0000 + + actor: Clean up internal add/remove functions + + More comments are warranted: these functions are pretty much full of + potential side effects, and I'd really like to avoid keeping everything + in my head forever. + + Along with the comments and the type casting reduction, I sneaked in a + one line change that is clearly correct after reading the flow of the + whole thing: we queue only a relayout after three potential redraws have + been queued. If we manage to miss a redraw and yet still get a relayout + then it means that most of our assumptions are fundamentally wrong, and + that we ought to dump this whole business of computer programming, and + just go back to being a hunter-gatherer species. + + clutter/clutter-actor.c | 48 +++++++++++++++++++++++++++++++----------------- + 1 file changed, 31 insertions(+), 17 deletions(-) + +commit 84e5bdd87117f81ce3eee3ddb9727b67f1441532 +Author: Emmanuele Bassi +Date: Fri Mar 8 15:24:50 2013 +0000 + + actor: Clean up ::show and ::hide class handlers + + The main body of the function should not live inside an 'if' block. + + clutter/clutter-actor.c | 81 +++++++++++++++++++++++++------------------------ + 1 file changed, 41 insertions(+), 40 deletions(-) + +commit 09f4d5dbc410b71249213a158357f7175ab64f03 +Author: Emmanuele Bassi +Date: Fri Mar 8 15:57:26 2013 +0000 + + examples/layout-manager: Remove unnecessary easing state save + + The actors in the layout are already set up with a non-default easing + state, we can use that. + + examples/layout-manager.c | 4 ---- + 1 file changed, 4 deletions(-) + +commit f94c00a438189c052cfbe9641cc67805ae512eee +Author: Emmanuele Bassi +Date: Fri Mar 8 04:27:57 2013 +0000 + + examples/layout-manager: Improve the example + + Add an explicit transition, and more comments. + + examples/layout-manager.c | 22 +++++++++++++++++++++- + 1 file changed, 21 insertions(+), 1 deletion(-) + +commit acd09a3d5f14ebbb12267a2b37d987510d2048bf +Author: Emmanuele Bassi +Date: Thu Mar 7 11:23:39 2013 +0000 + + Clean up the Actor private header + + Reading it is getting painful. + + clutter/clutter-actor-private.h | 154 ++++++++++++++++++++-------------------- + 1 file changed, 77 insertions(+), 77 deletions(-) + +commit 79be2fde47bc3dd840734ab54a30b287de036e09 +Author: Emmanuele Bassi +Date: Fri Mar 8 15:35:21 2013 +0000 + + build: Disable debugging code in stable releases + + Pretty much what GLib and GTK+ do, and the 1.x cycle has gone on for a + while, now. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 31066944334ffb35b4fe429c21a53c44baf90628 +Author: Emmanuele Bassi +Date: Wed Mar 13 16:00:14 2013 -0300 + + symbols: Add missing symbol + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit 27f83addd2d24ed99d9203ac1d01d6d82ebef888 +Author: Emmanuele Bassi +Date: Wed Mar 13 15:46:16 2013 -0300 + + docs: Add missing symbol to the list + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 1c1c4f26af7391f87b6396347a54ca7c42d6bf89 +Author: Alejandro Piñeiro +Date: Fri Mar 1 10:58:54 2013 +0100 + + Add method clutter_disable_accessibility () + + https://bugzilla.gnome.org/show_bug.cgi?id=691468 + + clutter/clutter-main.c | 23 +++++++++++++++++++++++ + clutter/clutter-main.h | 3 +++ + 2 files changed, 26 insertions(+) + +commit 11d82d1e0ca1d2a1b4a96b9e9c576bd42a6e2c82 +Author: Nilamdyuti Goswami +Date: Tue Mar 12 16:25:23 2013 +0530 + + Assamese translation updated for gnome 3.8 + + po/as.po | 699 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 353 insertions(+), 346 deletions(-) + +commit 66d24394c5db978f0009eb99f8232d8c2fd8195c +Author: Andika Triwidada +Date: Mon Mar 11 12:44:21 2013 +0700 + + Updated Indonesian translation + + po/id.po | 597 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 299 insertions(+), 298 deletions(-) + +commit 0c01f32e3d457468077e59b809f088b3d52f1280 +Author: Gil Forcada +Date: Sun Mar 10 23:50:08 2013 +0100 + + [l10] Updated Catalan translation + + po/ca.po | 668 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 334 insertions(+), 334 deletions(-) + +commit a9616dba2acf9c053ec69d79f2cb6e0ca3b29436 +Author: Chun-wei Fan +Date: Fri Mar 8 12:29:25 2013 +0800 + + Update Visual Studio Projects/Property Sheets + + Replace ClutterApiVersion with ApiVersion, to be consistent with the other + GNOME projects of the Clutter/GTK+ stack. Also add directives in the + property sheets that we can later use to build the introspection files for + Clutter from the Visual Studio IDE. + + build/win32/vs10/clutter.props | 368 ++++++++++++++++++++----------------- + build/win32/vs10/clutter.vcxprojin | 16 +- + build/win32/vs9/clutter.vcprojin | 16 +- + build/win32/vs9/clutter.vsprops | 351 ++++++++++++++++++----------------- + 4 files changed, 398 insertions(+), 353 deletions(-) + +commit a4102e9aa2776c75d30a56726c1ad47ee7e502d8 +Author: Chun-wei Fan +Date: Fri Mar 8 12:02:56 2013 +0800 + + Update clutter/config.h.win32.in + + Make the entries here reflect on the newer entries requested by the + onfig.h.in template in the autotools builds, and also make items supported + by MinGW builds reflected here as well. + + clutter/config.h.win32.in | 66 +++++++++++++++++++++++++++++------------------ + 1 file changed, 41 insertions(+), 25 deletions(-) + +commit c55acf7e7d51a7672e775da3ab25a86617426a6b +Author: Emmanuele Bassi +Date: Thu Mar 7 15:06:49 2013 +0000 + + docs: Add 1.14 symbols index + + Forgot to add it after the version bump. + + doc/reference/clutter/clutter-docs.xml.in | 5 +++++ + 1 file changed, 5 insertions(+) + +commit df3e74a94a3025935f25fd57f1924691f1de02cf +Author: Ihar Hrachyshka +Date: Thu Mar 7 14:51:40 2013 +0300 + + Updated Belarusian translation. + + po/be.po | 642 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 321 insertions(+), 321 deletions(-) + +commit 4c1dc28382232e0f57e1c2f69ca7079fbb99ca81 +Author: Gheyret Kenji +Date: Thu Mar 7 20:38:22 2013 +0900 + + Updated Uyghur translation + + Signed-off-by: Gheyret Kenji + + po/ug.po | 648 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 324 insertions(+), 324 deletions(-) + +commit ab274364381e68c87486cf0e5f9293fd0c40daf9 +Author: Jasper St. Pierre +Date: Tue Mar 5 01:06:03 2013 -0500 + + event: Use gunichar when dealing with unicode characters + + This makes introspection return the keycode as a string, rather + than an integer. + + https://bugzilla.gnome.org/show_bug.cgi?id=695188 + + clutter/clutter-event.c | 4 ++-- + clutter/clutter-event.h | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 7702893711348eac5484fb8f1b06575c15e9fe9b +Author: Rui Matos +Date: Wed Mar 6 01:30:52 2013 +0100 + + x11/xi2: Factor the XKB group state in to fill events' modifier_state + + Otherwise XkbTranslateKeyCode() won't yeld the correct keysyms when + group > 1. + + https://bugzilla.gnome.org/show_bug.cgi?id=695260 + + clutter/x11/clutter-device-manager-xi2.c | 20 +++++++++++++------- + clutter/x11/clutter-input-device-xi2.c | 6 +++++- + clutter/x11/clutter-input-device-xi2.h | 3 ++- + 3 files changed, 20 insertions(+), 9 deletions(-) + +commit 678c78b1c07e0800a3330f790e7004e8a82a84ce +Author: Chun-wei Fan +Date: Tue Mar 5 16:48:35 2013 +0800 + + Update Visual Studio Property Sheets + + -Remove some unwanted (repeated) cruft in the "install" stage + -Adjust to the added and deprecated headers for the "install" stage + + build/win32/vs10/clutter.props | 51 +++++++++++++++++++++++------------------ + build/win32/vs9/clutter.vsprops | 29 ++++++++++++----------- + 2 files changed, 45 insertions(+), 35 deletions(-) + +commit 909c312084d1e7a2866f23edf8127c1964079b5c +Author: Emmanuele Bassi +Date: Tue Mar 5 00:48:11 2013 +0000 + + actor: Revert the Transition/Actor leak fix + + The original code inside ClutterActor that dealt with Transitions + stopping was written for the ::completed signal, thus the code was + correctly handling the lifetime of the instances; when we moved to the + ::stopped signal, we assumed that it worked in the same way - with less + conditions to be checked, obviously, but fundamentally similar to the + ::completed signal. Sadly, I screwed up the signal definition, and the + signal ended up calling our handlers, but not the default one that did + the cleanup and released references on the Animatable instance. + + After fixing the Timeline::stopped signal, we can go back to the + previous code. + + Thanks to Craig Hughes for the help in tracking down this mess. + + https://bugzilla.gnome.org/show_bug.cgi?id=695158 + + clutter/clutter-actor.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 8700b19e6fe88e35723effb254e9769cf1776b8f +Author: Emmanuele Bassi +Date: Tue Mar 5 00:46:45 2013 +0000 + + timeline: Use the right function pointer offset + + A copy and paste thinko: the ::stopped signal is using the + ClutterTimelineClass.completed slot instead of the .stopped one, + thus preventing sub-classes of ClutterTimeline from overriding the + signal's default closure. + + clutter/clutter-timeline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b6744491e03eec1983f68a0971a52ae410fc0d25 +Author: Emmanuele Bassi +Date: Tue Mar 5 00:21:31 2013 +0000 + + Post-release version bump to 1.13.9 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8de3e42a10b30b659e2a2ce4a9366d28411e14e2 +Author: Emmanuele Bassi +Date: Tue Mar 5 00:05:10 2013 +0000 + + Release Clutter 1.13.8 + + NEWS | 36 ++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 37 insertions(+), 1 deletion(-) + +commit 2fdb950f3b077928b02e64964e2287d5ec9525b0 +Author: Emmanuele Bassi +Date: Tue Mar 5 00:04:32 2013 +0000 + + build: Dist the cookbook + + So that we can publish it starting from the tarballs. + + doc/cookbook/Makefile.am | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 72bdc939aab8d651de975af82f51ea6b00e8df37 +Author: Emmanuele Bassi +Date: Mon Mar 4 23:17:06 2013 +0000 + + Bump minimum required version of Cogl to 1.13.4 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 50507668c9deff5476f938c26f230a54bfa78742 +Author: Emmanuele Bassi +Date: Mon Mar 4 22:43:22 2013 +0000 + + actor: Release a reference on the implicit Transitions + + When stopping the transition we need to release the reference we + maintain while removing the Transition from the hash table inside an + actor. If we fail to do so, the Transition is never released, which + means we leak the Animatable instance we tied to it. + + https://bugzilla.gnome.org/show_bug.cgi?id=695158 + + clutter/clutter-actor.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit db5cfe4e0cb6d3d836828e812296b027d4b14dcc +Author: Emmanuele Bassi +Date: Mon Mar 4 13:02:44 2013 +0000 + + text: Clean up the set_font_description_internal() semantics + + The current semantics are ridiculous, and clearly a case of (mistaken) + premature optimization. All setters should copy, not transfer ownership. + + https://bugzilla.gnome.org/show_bug.cgi?id=695119 + + clutter/clutter-text.c | 15 +++++++-------- + 1 file changed, 7 insertions(+), 8 deletions(-) + +commit f6f151ed0739f8090d78ef7f5cfd6a951ba8d100 +Author: Emmanuele Bassi +Date: Wed Nov 28 09:47:44 2012 +0000 + + docs: Clean up the documentation for the allocate() methods + + The wording could be better, especially on the side effects and the + honoured state. + + clutter/clutter-actor.c | 28 +++++++++++++++++++++------- + 1 file changed, 21 insertions(+), 7 deletions(-) + +commit 2049e4e359027870c9a2b89036095d745a992662 +Author: Emmanuele Bassi +Date: Mon Dec 24 09:04:09 2012 +0000 + + docs: Clean up the wording of a couple of comments + + clutter/clutter-actor.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 38095c06e58746ec2c036302f506b664c071e63f +Author: Mario Blättermann +Date: Sun Mar 3 21:20:24 2013 +0100 + + [l10n] Updated German translation + + po/de.po | 541 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 268 insertions(+), 273 deletions(-) + +commit 7a3367b3df79ffdbc2c7ea35f463b4713dbfb566 +Author: Chao-Hsiung Liao +Date: Fri Mar 1 22:13:37 2013 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 592 ++++++++++++++++++++++++++++++------------------------------ + po/zh_TW.po | 590 +++++++++++++++++++++++++++++------------------------------ + 2 files changed, 593 insertions(+), 589 deletions(-) + +commit 5c2931a2f0f7f3299843cd8e5c757137f50cc072 +Author: Rui Matos +Date: Fri Feb 22 00:31:34 2013 +0100 + + x11/clutter-keymap-x11: Honor XkbNewKeyboardNotify events + + We already select for XkbNewKeyboardNotify events but are not acting + on them. Start doing so. + + https://bugzilla.gnome.org/show_bug.cgi?id=694267 + + clutter/x11/clutter-keymap-x11.c | 1 + + 1 file changed, 1 insertion(+) + +commit b1bdbb00b56741463286d0bd09a399a5a6c1929f +Author: Marek Černocký +Date: Fri Feb 22 21:54:31 2013 +0100 + + Updated Czech translation + + po/cs.po | 640 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 320 insertions(+), 320 deletions(-) + +commit 7ef97ae051e8479a0e66553da38e65d86c714c51 +Author: Emmanuele Bassi +Date: Thu Feb 21 00:37:58 2013 +0000 + + Fix compiler warnings by initializing variables + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ee3e08a47ea36801a944d3e545c9429fc356b72c +Author: Daniel Stone +Date: Wed Jan 30 11:49:38 2013 +1100 + + wayland: Only include Wayland headers in private + + As wayland-client.h and wayland-server.h can't be included together, + split the Wayland backend file into clutter-backend-wayland.h, which + only defines the types, and clutter-backend-wayland-priv.h, which + actually uses the Wayland client types. + + Signed-off-by: Daniel Stone + + https://bugzilla.gnome.org/show_bug.cgi?id=692851 + + clutter/Makefile.am | 1 + + clutter/wayland/clutter-backend-wayland-priv.h | 67 ++++++++++++++++++++++++ + clutter/wayland/clutter-backend-wayland.c | 1 + + clutter/wayland/clutter-backend-wayland.h | 28 ---------- + clutter/wayland/clutter-device-manager-wayland.c | 1 + + clutter/wayland/clutter-input-device-wayland.c | 1 + + clutter/wayland/clutter-stage-wayland.c | 1 + + 7 files changed, 72 insertions(+), 28 deletions(-) + +commit a011890bb62b519a939e62a3154266e5046534c2 +Author: Daniel Stone +Date: Wed Jan 30 11:47:52 2013 +1100 + + wayland-compositor: Don't use Wayland types in public API + + The definition of wl_display differs between Wayland clients and + servers, and it's unsafe to include both wayland-client.h and + wayland-server.h at the same time. Fudge around this by making the + compositor public API use void * rather than struct wl_display *. + + Signed-off-by: Daniel Stone + + https://bugzilla.gnome.org/show_bug.cgi?id=692851 + + clutter/clutter-backend.c | 2 +- + clutter/wayland/clutter-wayland-compositor.h | 5 +---- + 2 files changed, 2 insertions(+), 5 deletions(-) + +commit f528ff5b970e9aba5141266b5af75046143baf51 +Author: Emmanuele Bassi +Date: Wed Feb 20 22:14:46 2013 +0000 + + timeline: Add progress-based marker API + + Being able to set a marker at a normalized point on a timeline, instead + of using a specific time, is a nice fit with the current Timeline class + API. + + https://bugzilla.gnome.org/show_bug.cgi?id=694319 + + clutter/clutter-timeline.c | 146 ++++++++++++++++++++++----- + clutter/clutter-timeline.h | 4 + + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + tests/conform/timeline.c | 8 +- + tests/data/test-script-timeline-markers.json | 3 +- + 6 files changed, 133 insertions(+), 30 deletions(-) + +commit 619a7e9ab04705f9141f0512c66912760433b97d +Author: Emmanuele Bassi +Date: Wed Feb 20 23:02:05 2013 +0000 + + scroll-actor: Use :child-transform + + Instead of using a custom apply_transform(), paint(), and pick() + implementations, we can simply apply a transformation to the children of + a ScrollActor. + + https://bugzilla.gnome.org/show_bug.cgi?id=686225 + + clutter/clutter-scroll-actor.c | 103 +++++++---------------------------------- + 1 file changed, 16 insertions(+), 87 deletions(-) + +commit 6515ff8b6791ff865a6e04dc92c18524860ee375 +Author: Emmanuele Bassi +Date: Thu Feb 21 00:28:26 2013 +0000 + + Post-release version bump to 1.13.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit bb8f7c8110d97f3a44bf0e5e9a22641327d853bb +Author: Emmanuele Bassi +Date: Thu Feb 21 00:10:08 2013 +0000 + + Release Clutter 1.13.6 + + NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 46 insertions(+), 1 deletion(-) + +commit 052660c76b91eee625156e9032888399e2afb795 +Author: Jasper St. Pierre +Date: Tue Feb 19 22:15:52 2013 -0500 + + actor: Fix clutter_actor_allocate_align_fill for partially-filled actors + + If we pass TRUE for x_align and FALSE for y_align, the full available + width should be passed to clutter_get_preferred_height, and the same + should be true in the other dimension. + + https://bugzilla.gnome.org/show_bug.cgi?id=694237 + + clutter/clutter-actor.c | 46 +++++++++++++++++++++------------------------- + 1 file changed, 21 insertions(+), 25 deletions(-) + +commit b0dfbec7a6a11f22a5c357633d5f9c3ef8c5d3f0 +Author: Emmanuele Bassi +Date: Thu Feb 21 00:08:37 2013 +0000 + + conform: Skip mipmap Cogl test + + It's currently failing, and breaking distcheck. + + Needs bisecting on Cogl, given that nothing changed on the Clutter side + between this commit and 1.13.4, but we should just aim at not having + Cogl unit tests in Clutter at all. + + tests/conform/test-conform-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 38a9e8a9e52be8d02d3bff5de6a70fda53e4d5ff +Author: Emmanuele Bassi +Date: Wed Feb 20 23:45:18 2013 +0000 + + docs: Update symbols list + + doc/reference/clutter/clutter-sections.txt | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit 38627bed72bf969dd0d926d49e1f650e93e54621 +Author: Emmanuele Bassi +Date: Wed Feb 20 23:30:21 2013 +0000 + + cally: Use AktObject::get_name() + + Instead of directly accessing the instance fields. This removes a + compiler warning after the constification of g_get_prgname(), and it + seems to me to be generally more correct. + + clutter/cally/cally-root.c | 33 ++++++++++++++++++++------------- + 1 file changed, 20 insertions(+), 13 deletions(-) + +commit e8aae45eb98cbfabc790f7e6d99bfe04d3fc4c67 +Author: Damien Lespiau +Date: Mon Nov 5 14:41:36 2012 +0000 + + cogl: Don't use cogl_xlib_set_diplay() + + This function is deprecated and has been replaced by set_display() on + the renderer. This is done in the get_renderer() vfunc of both the x11 + and gdk backends already. + + Actually cogl_xlib_set_diplay() is now a no-op and can be safely removed. + + https://bugzilla.gnome.org/show_bug.cgi?id=687652 + + clutter/gdk/clutter-backend-gdk.c | 9 --------- + clutter/x11/clutter-backend-x11.c | 4 ---- + 2 files changed, 13 deletions(-) + +commit 065f4d9d3d75edd5aa85193ea09fb36c0a884856 +Author: Jasper St. Pierre +Date: Tue Feb 19 19:53:43 2013 -0500 + + Don't do anything special with COGL_ENABLE_EXPERIMENTAL_2_0_API + + This flag solely disables deprecated Cogl 1.0 API, so it + shouldn't be used for feature checks. + + https://bugzilla.gnome.org/show_bug.cgi?id=694229 + + clutter/clutter-backend.h | 2 +- + clutter/clutter-paint-node.h | 4 ++-- + clutter/clutter-paint-nodes.h | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +commit 85bc8effa5431975a89cca368e5eaee7a0c3a880 +Author: Rob Bradford +Date: Fri Feb 15 18:06:50 2013 +0000 + + conformance: Only check for DISPLAY on X11 windowing backend + + Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=693741 + + tests/conform/test-conform-common.c | 21 +++++++++++---------- + 1 file changed, 11 insertions(+), 10 deletions(-) + +commit 8b458d401c6508e97ce5c85eaf910e7a0fc2cbac +Author: Josselin Mouette +Date: Wed Feb 20 22:20:22 2013 +0000 + + actor: Use the correct return value + + The get_z_rotation_gravity() method returns an enumeration value, not a + floating point value. + + Signed-off-by: Emmanuele Bassi + + https://bugzilla.gnome.org/show_bug.cgi?id=694187 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f9fb235ce886e57267a82af0dccbf23ce81e8ccb +Author: Alexandre Franke +Date: Wed Feb 20 21:23:25 2013 +0100 + + Update French translation + + po/fr.po | 586 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 293 insertions(+), 293 deletions(-) + +commit 7bff7724129cc7cc0ffcf44c53377e7c540538ad +Author: Piotr Drąg +Date: Sat Feb 16 21:17:13 2013 +0100 + + Updated Polish translation + + po/pl.po | 226 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 113 insertions(+), 113 deletions(-) + +commit f6cb43017e96ebbbc3a774bc39ec4756c5108d1e +Author: Emmanuele Bassi +Date: Thu Feb 14 08:10:57 2013 +0000 + + Add missing functions to clutter.symbols + + https://bugzilla.gnome.org/show_bug.cgi?id=693767 + + clutter/clutter.symbols | 2 ++ + 1 file changed, 2 insertions(+) + +commit 2ec89a6781e82d0c9cd6f10a320076c9e37aae9d +Author: Neil Roberts +Date: Wed Feb 13 14:58:55 2013 +0000 + + settings: Don't reload config for fontconfig if there's no fontmap + + If anything in the system changes the config for fontconfig then an + XSetting will be set to record the last timestamp of the config file. + This is presumably so that applications can be notified that it has + changed and can reload the configuration. However once this setting is + set it will remain set for the lifetime of the X server. This causes + Clutter to handle the setting during the initialisation of the + backend. Previously this would cause problems because Clutter would + end up creating the default PangoFontMap before the backend has + created the CoglContext. The PangoFontMap would in turn cause the + default CoglContext to be created. Clutter will then later create its + own CoglContext which means there will be two and the first one will + be leaked. Cogl currently can't really cope with multiple contexts + being created so it falls apart. + + This patch fixes it to skip reloading the config for fontconfig if + there isn't a default font map yet. The config will presumably + naturally be read with the latest values when it is finally created + anyway so it doesn't need to be read immediately. + + https://bugzilla.gnome.org/show_bug.cgi?id=693696 + + (cherry picked from commit 4b92d656c2b63570b91105f05b863c4efed32134) + + clutter/clutter-settings.c | 22 +++++++++++++++------- + 1 file changed, 15 insertions(+), 7 deletions(-) + +commit b4ef9429742a1d2a04a40c59dfd36761c24104ad +Author: Owen W. Taylor +Date: Thu Nov 8 12:42:24 2012 -0500 + + Add clutter_stage_set_sync_delay() + + New experimental API is added to allow changing the way that redraws + are timed for a stage to include a "sync delay" - a period after + the vertical blanking period where Clutter simply waits for updates. + + In detail, the algorithm is that when the master clock is restarted + after drawing a frame (in the case where there are timelines running) + or started fresh in response to a queued redraw or relayout, the + start is scheduled at the next sync point (sync_delay ms after the + predicted vblank period) rather than done immediately. + + https://bugzilla.gnome.org/show_bug.cgi?id=692901 + + clutter/clutter-master-clock.c | 156 ++++++++++++++++++++++++++++---------- + clutter/clutter-stage-private.h | 4 +- + clutter/clutter-stage-window.c | 43 ++++++++++- + clutter/clutter-stage-window.h | 10 ++- + clutter/clutter-stage.c | 105 +++++++++++++++++++++++-- + clutter/clutter-stage.h | 8 ++ + clutter/cogl/clutter-stage-cogl.c | 131 ++++++++++++++++++++++++++------ + clutter/cogl/clutter-stage-cogl.h | 6 +- + 8 files changed, 386 insertions(+), 77 deletions(-) + +commit 9d43336e0368bd5a78436e3436a0a1a7383e1de6 +Author: Neil Roberts +Date: Thu Feb 7 17:20:39 2013 +0000 + + evdev: Fix use of the common XKB code for the evdev device + + In commit 8f4e39b6d716 the Wayland code was updated to use the new + xkbcommon API. This involved changing the common XKB code shared with + the evdev input backend. However the evdev input backend was not + modified so it wouldn't compile. This patch just makes a minor change + to update it. + + https://bugzilla.gnome.org/show_bug.cgi?id=693348 + + (cherry picked from commit d0d1b562bd2a46ab9073507b42e106cb209038b8) + + clutter/evdev/clutter-device-manager-evdev.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 02cdf1cef4053b5212a9f65f39431d8c9e3bfee5 +Author: Sebastian Keller +Date: Fri Feb 8 01:10:50 2013 +0100 + + xi2: Reset scroll info for correct device on device change + + clutter/x11/clutter-device-manager-xi2.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 360a629f8d1cd90c3233305c44f67de88f54eaf7 +Author: Jasper St. Pierre +Date: Thu Feb 7 15:54:02 2013 -0500 + + cally-root: Prevent memory corruption + + accessible->name is eventually freed, so we need to dup the string + to ensure that everything is alright. + + clutter/cally/cally-root.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4e892ce84581de856c07becc1ca6078f5bf4bee3 +Author: Fran Diéguez +Date: Thu Feb 7 01:36:42 2013 +0100 + + Updated Galician translations + + po/gl.po | 175 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 87 insertions(+), 88 deletions(-) + +commit f9d9ca431add562734e7d9f88044f8cae2ed131b +Author: Adel Gadllah +Date: Wed Feb 6 21:31:01 2013 +0100 + + build: Bump cogl requirement + + This is needed for the buffer_age changes. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f718debe6723dfe5e1664d71fb5106a2382ef615 +Author: Adel Gadllah +Date: Sun Feb 3 12:11:01 2013 +0100 + + clutter-stage: Fix typo + + https://bugzilla.gnome.org/show_bug.cgi?id=669122 + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7f43e20a415c22b22c85a0e7358148f091a67a7a +Author: Adel Gadllah +Date: Wed Feb 6 11:05:58 2013 +0100 + + stage-cogl: Reuse backbuffer contents + + Use the buffer_age extension when available to recycle backbuffer contents + instead of blitting from the back to front buffer when doing clipped redraws. + + The picking is now done in a pixel that is going to be repaired during the next + redraw cycle for non static scences. + + This should improve performance and avoid tearing. + + Reviewed-by: Robert Bragg + + https://bugzilla.gnome.org/show_bug.cgi?id=669122 + + clutter/clutter-stage-window.c | 17 ++++++ + clutter/clutter-stage-window.h | 6 +++ + clutter/clutter-stage.c | 62 ++++++++++++++------- + clutter/cogl/clutter-stage-cogl.c | 111 +++++++++++++++++++++++++++++++++----- + clutter/cogl/clutter-stage-cogl.h | 3 ++ + 5 files changed, 167 insertions(+), 32 deletions(-) + +commit 34e466a3f938780e5e27a45393b64495e71d5af8 +Author: Adel Gadllah +Date: Sun Feb 3 11:51:19 2013 +0100 + + stage-window: make it possible to damage the back buffer + + This allows us to report to the backend that the stage's back buffer has been trashed + while handling picking. If the backend is keeping track of the contents of back buffers + so it can minimize how much of the stage is redrawn then it needs to know when we do pick + renders so it can invalidate the back buffer. + + Based on patch from Robert Bragg + + https://bugzilla.gnome.org/show_bug.cgi?id=669122 + + clutter/clutter-stage-window.c | 12 ++++++++++++ + clutter/clutter-stage-window.h | 4 ++++ + clutter/clutter-stage.c | 4 ++++ + clutter/cogl/clutter-stage-cogl.c | 12 ++++++++++++ + clutter/cogl/clutter-stage-cogl.h | 2 ++ + 5 files changed, 34 insertions(+) + +commit 673e7c10d8c008ddf88af4746423e7897690ebe9 +Author: Yanko Kaneti +Date: Mon Jan 28 15:49:51 2013 +0200 + + xi2: Fix access beyond array boundaries + + clutter/x11/clutter-device-manager-xi2.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 83f2f03c252f5b1af52a0718f9233279b49cc647 +Author: Rui Matos +Date: Thu Jan 31 23:11:23 2013 +0100 + + x11/device-manager-xi2: Fix slave to master association + + A slave is associated to a master device, not the other way around. + + https://bugzilla.gnome.org/show_bug.cgi?id=692971 + + clutter/x11/clutter-device-manager-xi2.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 3e1450ba17fce90a8034cc525c67a87ff3cdd53d +Author: Jasper St. Pierre +Date: Wed Jan 23 14:49:26 2013 -0500 + + clutter-backend: Request XI2.3 + + Since XIQueryVersion, the bad API that it is, chooses the first client + version that it gets, we need to ensure that we pass XIQueryVersion the + new XI2.3 version, knowing fully well that Clutter won't be confused + by the new features. + + https://bugzilla.gnome.org/show_bug.cgi?id=692466 + + clutter/x11/clutter-backend-x11.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b58a1d66816c19eda079a1bd7cecd1ad03644e69 +Author: Jasper St. Pierre +Date: Wed Jan 23 17:09:59 2013 -0500 + + x11: Always request XI2.2 + + The X server should fill in the minor version that it supports in the + case where it only supports the older version. We should not get a + BadRequest or fail the version check if we pass something higher. + + https://bugzilla.gnome.org/show_bug.cgi?id=692466 + + clutter/x11/clutter-backend-x11.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit dca41f1d36e4ff26767101cd0d150b4d966cb59d +Author: Milo Casagrande +Date: Sun Jan 27 18:17:51 2013 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 463180802f3f2ee1b9a1dde7df5334e001e86d9e +Author: Gheyret Kenji +Date: Sun Jan 27 12:33:46 2013 +0900 + + Updated Uyghur translation + + Signed-off-by: Gheyret Kenji + + po/ug.po | 321 ++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 153 insertions(+), 168 deletions(-) + +commit d63b04d173c5af31ea2772087ab3ced004c1ff20 +Author: Milo Casagrande +Date: Fri Jan 25 16:38:05 2013 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 535 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 268 insertions(+), 267 deletions(-) + +commit 95d56201bbcb78f061d573a113f3037392c89bd3 +Author: Aurimas Černius +Date: Wed Jan 23 22:05:30 2013 +0200 + + Updated Lithuanian translation + + po/lt.po | 825 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 407 insertions(+), 418 deletions(-) + +commit d12074ebb6a652099761e6c9a781173da71f979f +Author: Gheyret Kenji +Date: Sun Jan 20 20:30:01 2013 +0900 + + Updated Uyghur translation + + Signed-off-by: Gheyret Kenji + + po/ug.po | 1875 ++++++++++++++++++++++++++++++++++++++------------------------ + 1 file changed, 1143 insertions(+), 732 deletions(-) + +commit b9ff774556be063ed5a8b3fa49edf054ee2e1ca6 +Author: Rafael Ferreira +Date: Fri Jan 18 21:42:57 2013 -0200 + + Updated Brazilian Portuguese Translation + + po/pt_BR.po | 587 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 294 insertions(+), 293 deletions(-) + +commit af9c8feb6da1bab59871df07b0915752caa62ec1 +Author: Мирослав Николић +Date: Fri Jan 18 23:55:35 2013 +0100 + + Updated Serbian translation + + po/sr.po | 655 ++++++++++++++++++++++++++++----------------------------- + po/sr@latin.po | 655 ++++++++++++++++++++++++++++----------------------------- + 2 files changed, 644 insertions(+), 666 deletions(-) + +commit 62729c14e71abbe75db3dc465c1fa7f5b0223ab6 +Author: Emmanuele Bassi +Date: Wed Jan 16 22:55:11 2013 +0000 + + Post-release version bump to 1.13.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dcec39123b88adb8b3eee7c71062a00011cc2c2c +Author: Emmanuele Bassi +Date: Wed Jan 16 22:46:01 2013 +0000 + + Release Clutter 1.13.4 + + NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 41 insertions(+), 1 deletion(-) + +commit 67eb8eaf36264071ba4cefe9bac7d82bd4d2460a +Author: Tomeu Vizoso +Date: Wed Dec 26 13:56:19 2012 +0100 + + Add default handler for ClutterSwipeAction::swipe + + So code that still uses the deprecated ::swept keeps working + + https://bugzilla.gnome.org/show_bug.cgi?id=690735 + + clutter/clutter-swipe-action.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit c9cb463409932735c9c6f74f265d7cf1b1ee76d6 +Author: Kouhei Sutou +Date: Sun Jan 13 21:07:42 2013 +0900 + + Fix a typo in ClutterEventType documentation + + https://bugzilla.gnome.org/show_bug.cgi?id=691651 + + clutter/clutter-enums.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 900832383bbe9fc3fccd1a6f947e273dffd9ff8f +Author: Nirbheek Chauhan +Date: Tue Dec 18 00:26:57 2012 +0530 + + clutter-text: Allow setting attributes for editable text + + The behaviour imitates GtkEntry and ignores attributes from markup because Pango + barfs on invalid markup. Also add an example to the text-field interactive test. + + https://bugzilla.gnome.org/show_bug.cgi?id=686477 + + clutter/clutter-text.c | 24 +++++++++++------------- + tests/interactive/test-text-field.c | 11 +++++++++-- + 2 files changed, 20 insertions(+), 15 deletions(-) + +commit 1b1cffbb43f61d3f90995419d967aed26e597c65 +Author: Wouter Paesen +Date: Fri Dec 28 21:55:51 2012 +0100 + + * use requested value of fullscreen state in clutter_stage_win32_set_fullscreen instead of old value + + https://bugzilla.gnome.org/show_bug.cgi?id=690836 + + clutter/win32/clutter-stage-win32.c | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +commit 650366c9042130f184dd65cedd9f0f4392175590 +Author: Wouter Paesen +Date: Fri Dec 28 21:12:05 2012 +0100 + + * added DllMain prototype to satisfy maintainer mode compiler error checking + + https://bugzilla.gnome.org/show_bug.cgi?id=690835 + + clutter/win32/clutter-backend-win32.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit e999b8a83cb7b11d34a4e479380f29e89352d361 +Author: Wouter Paesen +Date: Fri Dec 28 20:58:14 2012 +0100 + + * removed clutter-shader.h dependency from clutter-backend-win32.c + + https://bugzilla.gnome.org/show_bug.cgi?id=690833 + + clutter/win32/clutter-backend-win32.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 65eb9d2decf97025b0e54941b06895ceec22e542 +Author: Kouhei Sutou +Date: Fri Jan 4 16:12:39 2013 +0900 + + Add missing "(constructor)" tag to clutter_color_alloc() + + https://bugzilla.gnome.org/show_bug.cgi?id=691114 + + clutter/clutter-color.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1ad873ff606ca629689e054acfad416a6e19446b +Author: Jasper St. Pierre +Date: Mon Jan 14 12:51:54 2013 -0500 + + actor: Correct documentation formatting for clutter_actor_event() + + TRUE and FALSE need to be symbolified here. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5dd3eed41e7db1c62d7392035050b3906ba0184e +Author: Jasper St. Pierre +Date: Wed Jan 9 01:28:48 2013 -0500 + + actor: Fix documentation reference for pivot-point + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ea5fb11ea6bb6e40919bd43bdf2dc653e8ab0a18 +Author: Emmanuele Bassi +Date: Sun Dec 23 15:36:30 2012 +0000 + + Fix interpolation between ClutterRect instances + + A stupid typo broke the linear interpolation function. + + clutter/clutter-base-types.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 05694b34815943fab69136257f5271098d474b75 +Author: Jasper St. Pierre +Date: Sat Dec 22 22:21:16 2012 -0500 + + x11: Ignore num lock / scroll lock for event state + + As x11 considers num lock and scroll lock to be modifiers, code that + checks for an exact modifier combination will fail if naively done when + num lock or scroll lock are turned on. Applications that want to ignore + these modifiers will need to use XKB to manually mask out the modifier + state. + + As it is very unlikely that applications will want to care about the + state of num lock or scroll lock for key press/key release events, mask + out the num lock and scroll lock keys automatically. + + https://bugzilla.gnome.org/show_bug.cgi?id=690664 + + README.in | 6 ++++++ + clutter/x11/clutter-device-manager-core-x11.c | 2 +- + clutter/x11/clutter-device-manager-xi2.c | 2 +- + clutter/x11/clutter-keymap-x11.c | 12 +++++++++++- + clutter/x11/clutter-keymap-x11.h | 2 +- + 5 files changed, 20 insertions(+), 4 deletions(-) + +commit 1a0e501efddc9f49da47e1e6eea689bd8c4f2d90 +Author: Daniel Stone +Date: Wed Dec 19 13:50:58 2012 +0000 + + X11: Use XFixes for show/hide cursor + + This has been disabled since February 2008, on the grounds that XFixes + didn't work reliably for hiding cursors. This has almost certainly been + fixed then and seems to work entirely reliably across a number of X + servers released in the past few years, and is definitely better than a + 1x1 black dot for a cursor. + + Helpfully though, where the spec states that the cursor will be hidden + when inside the specified window or one of its children, it actually + only uses the window to look up the Screen, and hides the cursor across + the entire Screen. So, when using this, we also need to track crossing + events. + + If it's still broken, this needs to be fixed in the X server. + + https://bugzilla.gnome.org/show_bug.cgi?id=690497 + + Signed-off-by: Daniel Stone + + clutter/x11/clutter-stage-x11.c | 34 +++++++++++++++++++++++++++++----- + clutter/x11/clutter-stage-x11.h | 1 + + 2 files changed, 30 insertions(+), 5 deletions(-) + +commit 1baefc4807b656fbc7dd6ff53cecfcf51645d04a +Author: Alexander Shopov +Date: Wed Jan 9 07:00:36 2013 +0200 + + Updated Bulgarian translation + + po/bg.po | 530 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 265 insertions(+), 265 deletions(-) + +commit bb8ef4e5c0873c896643a3dddba6ea67b3e7dcc9 +Author: Chun-wei Fan +Date: Fri Dec 28 15:54:33 2012 +0800 + + test-interactive-clutter.vc(x)projin: Fix includes + + We need to include the gdk-pixbuf headers as well... + + build/win32/vs10/test-interactive-clutter.vcxprojin | 8 ++++---- + build/win32/vs9/test-interactive-clutter.vcprojin | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 26380730bfe2746b063d906f02eb43961bce7b9b +Author: Chun-wei Fan +Date: Fri Dec 28 15:46:00 2012 +0800 + + Fix Clutter Visual C++ projects + + Fix the *_GDK configs as GDK headers will include GDK-Pixbuf headers as + well. + + build/win32/vs10/clutter.vcxprojin | 8 ++++---- + build/win32/vs9/clutter.vcprojin | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit e57208d425a2725ef5d9c53c59836410e212c758 +Author: Fran Diéguez +Date: Mon Dec 24 22:54:03 2012 +0100 + + Updated Galician translations + + po/gl.po | 647 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 323 insertions(+), 324 deletions(-) + +commit 5a025b95157f190acc1a9602b8daf337733678cb +Author: Dimitris Spingos +Date: Sun Dec 23 18:54:54 2012 +0200 + + Updated Greek translation + + po/el.po | 649 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 322 insertions(+), 327 deletions(-) + +commit 77a9decc00b173978bb3607fba5bcb376e0e3102 +Author: Piotr Drąg +Date: Sun Dec 23 04:11:54 2012 +0100 + + Updated Polish translation + + po/pl.po | 632 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 316 insertions(+), 316 deletions(-) + +commit c742b33200e4e73bf1b2b0ceac26ba648bb9aa3a +Author: Daniel Mustieles +Date: Wed Dec 19 13:25:12 2012 +0100 + + Updated Spanish translation + + po/es.po | 639 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 317 insertions(+), 322 deletions(-) + +commit fa8878509e38cd90c706f8fa0c84219561680184 +Author: Aleksej Kabanov +Date: Wed Dec 19 11:39:46 2012 +0400 + + Updated Russian translation + + po/ru.po | 579 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 290 insertions(+), 289 deletions(-) + +commit 4ce3fbbfdcef90d6fef02b326348e4354f519478 +Author: Matej Urbančič +Date: Tue Dec 18 08:39:23 2012 +0100 + + Updated Slovenian translation + + po/sl.po | 776 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 391 insertions(+), 385 deletions(-) + +commit f7f2635fbf166c630a4b07b5f045e40f3bbbe047 +Author: Emmanuele Bassi +Date: Tue Dec 18 01:57:23 2012 +0000 + + Post-release version bump to 1.13.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 790ecbaf94ad8a68864d94ba9f4dce2531a412fe +Author: Emmanuele Bassi +Date: Tue Dec 18 01:36:20 2012 +0000 + + Release Clutter 1.13.2 + + NEWS | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 58 insertions(+), 1 deletion(-) + +commit c000fb7b833b9a8c7bb985f4d76ddd367570eeee +Author: Emmanuele Bassi +Date: Wed Oct 17 09:37:50 2012 +0100 + + build: Fix distcheck in the cookbook + + Someday, somebody will have to explain to me how not touching + anything for a whole release cycle ends up breaking the build. + + Adding the top_srcdir/doc/cookbook path to the includes fixes the + distcheck. + + doc/cookbook/Makefile.am | 19 ++++++++++--------- + 1 file changed, 10 insertions(+), 9 deletions(-) + +commit 9016cba473ae1d2084494c67cfb3d7b5cc5b72c8 +Author: Emmanuele Bassi +Date: Tue Dec 18 01:24:35 2012 +0000 + + examples: Remove clutter_x11_enable_xinput() + + It is unnecessary, and deprecated. + + examples/pan-action.c | 4 ---- + 1 file changed, 4 deletions(-) + +commit 6d2ab8fe51b702708ea5b4bba27a839d2b74ff61 +Author: Jasper St. Pierre +Date: Mon Nov 26 13:09:23 2012 -0500 + + swipe-action: Introduce new ::swipe signal + + This deprecates the old ::swept signal, which didn't have a + handled boolean parameter. + + https://bugzilla.gnome.org/show_bug.cgi?id=689392 + + clutter/clutter-marshal.list | 1 + + clutter/clutter-swipe-action.c | 38 ++++++++++++++++++++++++++++++++++++-- + clutter/clutter-swipe-action.h | 9 +++++++-- + 3 files changed, 44 insertions(+), 4 deletions(-) + +commit cea8ea06f33019c48807ba422f2ff1fa94f28c5a +Author: Emanuele Aina +Date: Fri Nov 16 15:33:00 2012 +0000 + + events: Make _clutter_process_event() reentrant + + The _clutter_process_event() function may get called while already + servicing a _clutter_process_event() invocation (eg. when generating + ENTER events before emitting TOUCH_BEGIN). + + In these cases clutter_get_current_event() would return NULL after + the inner call to _clutter_process_event() has finished, thereafter + making the current event inaccessible during the remaining portion + of the outer event emission. + + By stacking the current events in ClutterMainContext instead of + simply replacing them we do not lose track of the real current event. + + Also update clutter_get_current_event_time() to be consistent from a + reentrancy perspective. + + https://bugzilla.gnome.org/show_bug.cgi?id=688457 + + clutter/clutter-event.c | 10 +++++----- + clutter/clutter-main.c | 7 +++---- + clutter/clutter-private.h | 4 ++-- + 3 files changed, 10 insertions(+), 11 deletions(-) + +commit 060b05cc29f74d610159a33d880f0fe6582d260c +Author: Tomeu Vizoso +Date: Thu Oct 11 17:23:34 2012 +0200 + + actor: Remove transition when stopping it + + This covers more cases when the transition completes but was still + being tracked by its actor. + + https://bugzilla.gnome.org/show_bug.cgi?id=685982 + + clutter/clutter-actor.c | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +commit 78a7a60b8969aa14a89ce54132db1f6e44b4dca0 +Author: Emmanuele Bassi +Date: Tue Dec 18 00:45:00 2012 +0000 + + evdev: Fix missing ClutterEventSource member + + https://bugzilla.gnome.org/show_bug.cgi?id=686692 + + clutter/evdev/clutter-device-manager-evdev.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 47c1e26385a3451048f6e2166576b931ed8895aa +Author: Emmanuele Bassi +Date: Sun Oct 7 22:57:04 2012 +0100 + + Enable XInput support by default + + Instead of using core events, we should move into the XXI century, and + use the XInput extension. + + https://bugzilla.gnome.org/show_bug.cgi?id=673838 + + clutter/x11/clutter-backend-x11.c | 25 +++++++++++-------------- + clutter/x11/clutter-x11.h | 1 + + 2 files changed, 12 insertions(+), 14 deletions(-) + +commit 1bdd0369e4685a8eee34b85762069b564684abd5 +Author: Emmanuele Bassi +Date: Tue Dec 18 00:16:28 2012 +0000 + + docs: Specify that RotateAction uses two touch points + + Even if it's obvious, it's better to be explicit. + + clutter/clutter-rotate-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit bd58c0bb24cbf206ab8155114b1906e217e4bc9f +Author: Emmanuele Bassi +Date: Tue Dec 18 00:15:57 2012 +0000 + + docs: Clean up ZoomAction signal and description + + Remove the parts that were copied and pasted from DragAction. + + clutter/clutter-zoom-action.c | 25 ++++++++++--------------- + 1 file changed, 10 insertions(+), 15 deletions(-) + +commit 84b4f2f0a3775e98feeeeedd1d5ba65408476d19 +Author: Emmanuele Bassi +Date: Sun Dec 16 14:37:42 2012 +0000 + + actor: Clean up the code in ::apply-transform + + Instead of placing the whole body of the function inside an if block, + let's make it clear what each part of the function does. Also, add more + comments. + + clutter/clutter-actor.c | 218 ++++++++++++++++++++++++++---------------------- + 1 file changed, 116 insertions(+), 102 deletions(-) + +commit 183e7b6176882fa9748d1a56fa802f86788f9c7c +Author: Chun-wei Fan +Date: Mon Dec 17 11:23:59 2012 +0800 + + Visual C++ projects: Use MultiByte character set + + Use MultiByte character set for all projects and configs, to avoid any + inconsistencies that may arise. + + build/win32/vs10/cally-atkcomponent-example.vcxproj | 4 ++-- + build/win32/vs10/cally-atkeditabletext-example.vcxproj | 4 ++-- + build/win32/vs10/cally-atkevents-example.vcxproj | 4 ++-- + build/win32/vs10/cally-atktext-example.vcxproj | 4 ++-- + build/win32/vs10/cally-clone-example.vcxproj | 4 ++-- + build/win32/vs10/test-cogl-perf.vcxproj | 4 ++-- + build/win32/vs10/test-conformance-clutter.vcxprojin | 4 ++-- + build/win32/vs10/test-interactive-clutter.vcxprojin | 4 ++-- + build/win32/vs10/test-picking-performance.vcxproj | 4 ++-- + build/win32/vs10/test-picking.vcxproj | 4 ++-- + build/win32/vs10/test-random-text.vcxproj | 4 ++-- + build/win32/vs10/test-state-hidden-performance.vcxproj | 4 ++-- + build/win32/vs10/test-state-interactive-performance.vcxproj | 4 ++-- + build/win32/vs10/test-state-mini-performance.vcxproj | 4 ++-- + build/win32/vs10/test-state-performance.vcxproj | 4 ++-- + build/win32/vs10/test-state-pick-performance.vcxproj | 4 ++-- + build/win32/vs10/test-text-perf-performance.vcxproj | 4 ++-- + build/win32/vs10/test-text-perf.vcxproj | 4 ++-- + build/win32/vs10/test-text.vcxproj | 4 ++-- + build/win32/vs9/cally-atkcomponent-example.vcproj | 4 ++-- + build/win32/vs9/cally-atkeditabletext-example.vcproj | 4 ++-- + build/win32/vs9/cally-atkevents-example.vcproj | 4 ++-- + build/win32/vs9/cally-atktext-example.vcproj | 4 ++-- + build/win32/vs9/cally-clone-example.vcproj | 4 ++-- + build/win32/vs9/test-cogl-perf.vcproj | 4 ++-- + build/win32/vs9/test-conformance-clutter.vcprojin | 4 ++-- + build/win32/vs9/test-interactive-clutter.vcprojin | 4 ++-- + build/win32/vs9/test-picking-performance.vcproj | 4 ++-- + build/win32/vs9/test-picking.vcproj | 4 ++-- + build/win32/vs9/test-random-text.vcproj | 4 ++-- + build/win32/vs9/test-state-hidden-performance.vcproj | 4 ++-- + build/win32/vs9/test-state-interactive-performance.vcproj | 4 ++-- + build/win32/vs9/test-state-mini-performance.vcproj | 4 ++-- + build/win32/vs9/test-state-performance.vcproj | 4 ++-- + build/win32/vs9/test-state-pick-performance.vcproj | 4 ++-- + build/win32/vs9/test-text-perf-performance.vcproj | 4 ++-- + build/win32/vs9/test-text-perf.vcproj | 4 ++-- + build/win32/vs9/test-text.vcproj | 4 ++-- + 38 files changed, 76 insertions(+), 76 deletions(-) + +commit 1f3e99f886a7b78fb357921742190c4b218e7ebc +Author: Emmanuele Bassi +Date: Sat Dec 15 18:44:26 2012 +0000 + + Put g_type_init() under a version check + + GLib 2.36 will deprecate g_type_init() in favour of automatic + initialization through a constructor function. We need to add the + version check to avoid a compiler warning. + + clutter/clutter-main.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 57956461dcc0705d88b8acb7d8ce0b9bc7931445 +Author: Emmanuele Bassi +Date: Mon Oct 8 09:26:32 2012 +0100 + + docs: Fix ClutterPanAction signal annotation + + Signals are defined as ::; a single colon is + used for properties. + + clutter/clutter-pan-action.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 219d0efcc67fff6f40fb22b1a6ae437bc32dc53e +Author: Emanuele Aina +Date: Fri Dec 14 17:05:26 2012 +0000 + + actor: rollback pivot translation even on explicit transforms + + When setting an explicit transform with clutter_actor_set_transform() + and a non (0,0) pivot-point, clutter_actor_apply_transform() will fail + to roll back the pivot-point translation done before multiplying the + transformation matrix due to the "out:" label being slightly misplaced + in clutter_actor_real_apply_transform(). + + This works properly: + clutter_actor_set_pivot_point (actor, 0.5, 0.5); + clutter_actor_set_rotation_angle (actor, CLUTTER_Z_AXIS, 30); + + This results in the actor being moved to the pivot-point position: + clutter_actor_set_pivot_point (actor, 0.5, 0.5); + clutter_matrix_init_identity(&matrix); + cogl_matrix_rotate (&matrix, 30, 0, 0, 1.0); + clutter_actor_set_transform (actor, &matrix); + + This also add a conformance test checking that even when using a + pivot-point, no matter how a rotation is set the resulting + transformation matrix will be the same. + + https://bugzilla.gnome.org/show_bug.cgi?id=690214 + + clutter/clutter-actor.c | 2 +- + tests/conform/actor-invariants.c | 40 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 42 insertions(+), 1 deletion(-) + +commit 465ab95a64f780eb963a137cb811b435c2af9c4e +Author: Chun-wei Fan +Date: Fri Dec 14 19:50:27 2012 +0800 + + clutter/clutter-rotate-action.c: Use G_PI instead of M_PI + + ...because M_PI is not universally available + + clutter/clutter-rotate-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6f55746c83facc4f167f2b1d594fe4c818396e96 +Author: Chun-wei Fan +Date: Fri Dec 14 19:48:33 2012 +0800 + + Update Clutter MSVC projects + + We now link to gdk-3.0.lib, not gdk-win32-3.0.lib, so that we are more + consistent to the autotools builds. + + build/win32/vs10/clutter.vcxprojin | 8 ++++---- + build/win32/vs9/clutter.vcprojin | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 3b3db5084a6314c802c59fc53b8113783875cd24 +Author: Chun-wei Fan +Date: Fri Dec 14 19:41:47 2012 +0800 + + Fix Visual C++ 2010 property sheets + + Fix up the paths where glib-mkenums and glib-genmarshal is called. Somehow + this slipped by earlier checks :| + + build/win32/vs10/clutter.props | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a92e29d923c6eacfc1c8780636a45422a504e005 +Author: Alejandro Piñeiro +Date: Mon Dec 10 18:09:06 2012 +0100 + + a11y: removed implementation notes comment from CallyText + + Part of those notes were outdated. The other part is irrelevant + or has a bug assigned. + + clutter/cally/cally-text.c | 30 ------------------------------ + 1 file changed, 30 deletions(-) + +commit f49aff9682aebf7f280c9c55e71ac1ce1f4e96ff +Author: Tristan Van Berkom +Date: Sun Dec 9 03:30:05 2012 +0900 + + Fixed clutter_rect_intersection() + + There was a typo where y was used instead of x. + + clutter/clutter-base-types.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 81903eca407ddcfd4fa4ef8171d95508dea7260c +Author: Jasper St. Pierre +Date: Sun Dec 2 22:32:25 2012 -0500 + + state: Fix a build-breaking typo + + Spotted by Colin Walters . Took him half + an hour; I'm sorry :( + + clutter/deprecated/clutter-state.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 45521b04179342459ed0e87150383f7c07ea4e8f +Author: Jasper St. Pierre +Date: Sun Dec 2 20:19:14 2012 -0500 + + Revert "swipe-action: Introduce new ::swipe signal" + + This reverts commit 184b8c6fa6e68120b4fb6b42d272448ab174004a. + + clutter/clutter-marshal.list | 1 - + clutter/clutter-swipe-action.c | 38 ++------------------------------------ + clutter/clutter-swipe-action.h | 5 +---- + 3 files changed, 3 insertions(+), 41 deletions(-) + +commit 511e266a85d4b4c505d7c40db9d856739c874ea5 +Author: Jasper St. Pierre +Date: Fri Nov 30 21:44:00 2012 -0500 + + A bunch of fixes for Coverity + + None of these are relevant enough for their own fixes. + + https://bugzilla.gnome.org/show_bug.cgi?id=689496 + + clutter/deprecated/clutter-cairo-texture.c | 4 +--- + tests/interactive/test-animator.c | 2 +- + tests/interactive/test-cogl-offscreen.c | 2 -- + tests/interactive/test-cogl-tex-foreign.c | 2 -- + tests/interactive/test-cogl-tex-getset.c | 2 -- + tests/interactive/test-devices.c | 8 -------- + tests/interactive/test-state-animator.c | 2 +- + 7 files changed, 3 insertions(+), 19 deletions(-) + +commit 2034f1677dfacef2cb93c101e758143460eee31e +Author: Jasper St. Pierre +Date: Fri Nov 30 21:43:36 2012 -0500 + + gdk: Fix realization in the foreign-window case + + Found by Coverity. + + https://bugzilla.gnome.org/show_bug.cgi?id=689496 + + clutter/gdk/clutter-stage-gdk.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit ea2b368af91f96d9899ba73de1e176d6e100a7b2 +Author: Jasper St. Pierre +Date: Fri Nov 30 21:39:10 2012 -0500 + + text: Fix font fallback + + Spotted by Coverity. + + https://bugzilla.gnome.org/show_bug.cgi?id=689496 + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fbcab5f0976589e577f8e41f846803c8e38a618b +Author: Jasper St. Pierre +Date: Fri Nov 30 21:35:58 2012 -0500 + + Fix some missing va_ends + + Found by Coverity. + + https://bugzilla.gnome.org/show_bug.cgi?id=689496 + + clutter/clutter-list-model.c | 5 +++-- + clutter/deprecated/clutter-animator.c | 7 ++++--- + clutter/deprecated/clutter-state.c | 5 +++-- + 3 files changed, 10 insertions(+), 7 deletions(-) + +commit 039ba910f00d92c51d04babc2a7ca345fc380f2d +Author: Jasper St. Pierre +Date: Fri Nov 30 21:07:49 2012 -0500 + + grid-layout: Don't use uninitialized values + + The clutter_actor_box_set_* methods rely on the current box + geometry, so we can't use those for an uninitialize actor box. + Found by Coverity. + + https://bugzilla.gnome.org/show_bug.cgi?id=689496 + + clutter/clutter-grid-layout.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 5aca3c49929713d3274ab0ac0b5f87522dd5f9d4 +Author: Jasper St. Pierre +Date: Fri Nov 30 21:06:59 2012 -0500 + + cally-util: Don't free a NULL pointer + + The only place key_event can not be NULL is in this branch. + Spotted by Coverity. + + https://bugzilla.gnome.org/show_bug.cgi?id=689496 + + clutter/cally/cally-util.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 184b8c6fa6e68120b4fb6b42d272448ab174004a +Author: Jasper St. Pierre +Date: Mon Nov 26 13:09:23 2012 -0500 + + swipe-action: Introduce new ::swipe signal + + This deprecates the old ::swept signal, which didn't have a + handled boolean parameter. + + https://bugzilla.gnome.org/show_bug.cgi?id=689392 + + clutter/clutter-marshal.list | 1 + + clutter/clutter-swipe-action.c | 38 ++++++++++++++++++++++++++++++++++++-- + clutter/clutter-swipe-action.h | 5 ++++- + 3 files changed, 41 insertions(+), 3 deletions(-) + +commit 80eeac71f98ec387b141cbaa540d67619bc954b4 +Author: Jasper St. Pierre +Date: Fri Nov 30 20:21:23 2012 -0500 + + text: Prevent a relayout if font descriptions or attrs are equal + + https://bugzilla.gnome.org/show_bug.cgi?id=689399 + + clutter/clutter-text.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit c5321da66cf9fa745f98d62b64abe02f26c91802 +Author: Jasper St. Pierre +Date: Fri Nov 30 18:20:41 2012 -0500 + + Revert "swipe-action: Introduce new ::swipe signal" + + This reverts commit 3e671f9c1b542f6b843c28e80c174bfaa93bc2a5. + + Pushed by mistake, sorry. + + clutter/clutter-marshal.list | 1 - + clutter/clutter-swipe-action.c | 35 +---------------------------------- + clutter/clutter-swipe-action.h | 4 ---- + 3 files changed, 1 insertion(+), 39 deletions(-) + +commit 3e671f9c1b542f6b843c28e80c174bfaa93bc2a5 +Author: Jasper St. Pierre +Date: Mon Nov 26 13:09:23 2012 -0500 + + swipe-action: Introduce new ::swipe signal + + This deprecates the old ::swept signal, which didn't have a + handled boolean parameter. + + clutter/clutter-marshal.list | 1 + + clutter/clutter-swipe-action.c | 35 ++++++++++++++++++++++++++++++++++- + clutter/clutter-swipe-action.h | 4 ++++ + 3 files changed, 39 insertions(+), 1 deletion(-) + +commit 15b811840c81a990ff0d09eba05952fd34277c63 +Author: Jasper St. Pierre +Date: Thu Nov 29 18:36:10 2012 -0500 + + actor: Use fixed positioning for allocate_preferred_size + + clutter_actor_allocate_preferred_size is supposed to use the fixed + position of an actor. Unfortunately, recent refactorings made it so + that it accidentally used the current allocation. As the current + allocation may be adjusted by the actor, or have been previously + allocated in a strange spot, it may have unintended side effects. Use + the fixed positioning of the actor instead. + + This fixes weird issues with margins colliding with + ClutterFixedLayout, causing strange offsets on relayout. + + https://bugzilla.gnome.org/show_bug.cgi?id=689316 + + clutter/clutter-actor.c | 17 +++++++++++++++-- + 1 file changed, 15 insertions(+), 2 deletions(-) + +commit 75b521de6e3294bb612f08b1f191b0f75778d828 +Author: Jasper St. Pierre +Date: Sun Nov 25 23:11:45 2012 -0500 + + pan-action: Add a simple convenience function to retrieve delta/coords + + This is a simple helper designed to ease the implementation of alternate + implementations of the "pan" signal handler. + + https://bugzilla.gnome.org/show_bug.cgi?id=689061 + + clutter/clutter-pan-action.c | 116 +++++++++++++++++++++++++++-- + clutter/clutter-pan-action.h | 12 ++- + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 125 insertions(+), 7 deletions(-) + +commit 90a2401299418a5e6b4d0ceb6692a6c758414cdf +Author: Jasper St. Pierre +Date: Sun Nov 25 23:25:20 2012 -0500 + + pan-action, zoom-action: Fix documentation for signals + + The documentation said that you should return TRUE to mark + that the action was handled, but the code did the reverse. + Change the documentation to reflect what all the other gestures + do. + + https://bugzilla.gnome.org/show_bug.cgi?id=689061 + + clutter/clutter-pan-action.c | 4 ++-- + clutter/clutter-zoom-action.c | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 9614dff158f4871bf40b335e3542b7bc57802021 +Author: Jasper St. Pierre +Date: Wed Nov 28 21:17:11 2012 -0500 + + xi2: Reset the correct scroll axes on DeviceChanged + + Otherwise, we'll have incorrect scrolling when we switch hardware + devices without switching virtual devices. For example, on a ThinkPad, + scroll using the touchpad, move the eraser mouse, and then scroll again: + the deltas will be wrong. This also matches what GTK+ does. + + https://bugzilla.gnome.org/show_bug.cgi?id=689258 + + clutter/x11/clutter-device-manager-xi2.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 7204f51643bc9375b160e99dfa435c20ceae59d8 +Author: Emanuele Aina +Date: Wed Nov 28 22:25:55 2012 +0100 + + gesture-action: Rename 'device' parameter to 'point' and fix docs + + The parameter is now used to index the touch/mouse pointer tracked + in the gesture array, rename accordingly and update the docs. + + clutter/clutter-gesture-action.c | 70 ++++++++++++++++++++++------------------ + clutter/clutter-gesture-action.h | 10 +++--- + clutter/clutter-zoom-action.c | 8 ++--- + 3 files changed, 47 insertions(+), 41 deletions(-) + +commit 879b1330624f583f8ee44c9ee3b51d52e6603f98 +Author: Emanuele Aina +Date: Wed Nov 28 22:03:34 2012 +0100 + + docs: Add missing symbols to the sections file + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 5413b0ed62bc760e31f05c8181e26fe01c35fd6c +Author: Emanuele Aina +Date: Thu Nov 29 10:18:37 2012 +0100 + + docs: Ignore GestureAction private header on docs generation + + doc/reference/clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 064a41d37619e7e755acb0c3d7134a8f219e6cdf +Author: Jasper St. Pierre +Date: Sat Nov 3 16:22:41 2012 -0400 + + interval: Fix annotations for clutter_interval_clone + + clutter/clutter-interval.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 04ca3d1af3544adfe80cc52f75c51ac2bda029fe +Author: Emanuele Aina +Date: Mon Oct 1 10:57:07 2012 +0200 + + examples/pan-action: Enable the xinput backend to test touch events + + examples/pan-action.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit b94595f5f7754303747c8ab511307a38cb53ef6f +Author: Emanuele Aina +Date: Tue Nov 20 18:15:56 2012 +0100 + + tests: Track TOUCH_CANCEL events in test-events + + tests/interactive/test-events.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 7007273405230473c49d24e207e7d19563784585 +Author: Emanuele Aina +Date: Tue Nov 20 18:15:29 2012 +0100 + + tests: Print touch sequences in test-events + + https://bugzilla.gnome.org/show_bug.cgi?id=685186 + + tests/interactive/test-events.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit ad288c80616ad1b643ddf5f7a9c599462338f2c4 +Author: Emanuele Aina +Date: Tue Nov 20 18:03:12 2012 +0100 + + tests: Print the modifiers state on mouse/touch events + + tests/interactive/test-events.c | 99 ++++++++++++++++++++++++++++++++--------- + 1 file changed, 77 insertions(+), 22 deletions(-) + +commit f57fc569d29abc683ae1ca639244dcb74baca360 +Author: Emanuele Aina +Date: Tue Nov 20 17:37:53 2012 +0100 + + events: Fix and improve some touch events debug notes + + clutter/clutter-main.c | 18 +++++++++++------- + 1 file changed, 11 insertions(+), 7 deletions(-) + +commit 7f0bb8f92ecd7c8bfb241512beecc87d5072fed9 +Author: Emanuele Aina +Date: Tue Nov 20 17:34:52 2012 +0100 + + events: Use the correct union field when setting the stage on touch events + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit da498fdb9a0b9769ee0180a84aac431025692f80 +Author: Lionel Landwerlin +Date: Mon Nov 26 10:30:47 2012 +0000 + + actor: fix allocate_align_fill() to maintain the child preferred size + + When trying to clamp to pixel a box that is exactly in between 2 + pixels, the clutter_actor_box_clamp_to_pixel() function changes the + size of the box. + + Here is an example : + + ClutterActorBox box = { 10.5, 10, 20.5, 20}; + + g_message ("%fx%f -> %fx%f", box.x1, box.y1, box.x2, box.y2); + clutter_actor_box_clamp_to_pixel (&box); + g_message ("%fx%f -> %fx%f", box.x1, box.y1, box.x2, box.y2); + + Here is what you get : + + ** Message: 10.500000x10.000000 -> 20.500000x20.000000 + ** Message: 10.000000x10.000000 -> 21.000000x20.000000 + + That is because of the properties of the ceilf and floorf function + used to do the clamping. + + For example, ceil(0.5) is 1.0, and ceil(-0.5) is 0.0. + And, floor(0.5) is 0.0, and floor(-0.5) is -1.0. + + To work around that problem this patch retains the distance between x + and y coordinates and apply that difference before calling ceilf() on + x2 and y2. + + https://bugzilla.gnome.org/show_bug.cgi?id=689073 + + clutter/clutter-actor.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit c49bfa19987a39a21e8bfc4184cce839d191062c +Author: Wolfgang Stöggl +Date: Tue Nov 6 19:59:32 2012 +0100 + + Umlaut fixed + + po/de.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5dee7e6c9815ab0a94ac606f2c62866f5b523838 +Author: Wolfgang Stöggl +Date: Tue Nov 6 19:56:01 2012 +0100 + + [l10n] Updated German translation + + po/de.po | 35 +++++++++++++++++------------------ + 1 file changed, 17 insertions(+), 18 deletions(-) + +commit 2be88b34b23a32f07e215fc6f8780c367d5197a3 +Author: Guillaume Desmottes +Date: Wed Oct 24 12:09:47 2012 +0200 + + Don't annotate with (transfer full) constructors of GInitiallyUnowned subclasses + + https://bugzilla.gnome.org/show_bug.cgi?id=686776 + + clutter/clutter-actor.c | 2 +- + clutter/clutter-interval.c | 2 +- + clutter/clutter-path-constraint.c | 2 +- + clutter/clutter-scroll-actor.c | 2 +- + clutter/clutter-shader-effect.c | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +commit 888a560c932528fc23e03670af43504c23a6aab9 +Author: Piotr Drąg +Date: Sat Oct 20 19:09:27 2012 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit c2b7ba7815c7bca1e6621c5f5b4551d7c6455cbc +Author: OKANO Takayoshi +Date: Sat Oct 20 02:12:24 2012 +0900 + + [l10n] Update Japanese translation + + po/ja.po | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit ccdbd362345d2224b3edaa60879a6ed55235da1f +Author: Emanuele Aina +Date: Mon Oct 8 17:44:13 2012 +0200 + + gesture-action: Add clutter_gesture_action_get_last_event() + + Export the last event received for each touch point in its entirety, + instead of duplicating ClutterEvent accessors one at a time. + + examples/pan-action.c has been updated to show the type of the event + that's causing the panning. + + https://bugzilla.gnome.org/show_bug.cgi?id=685737 + + clutter/clutter-gesture-action.c | 42 ++++++++++++++++++++++++++++++ + clutter/clutter-gesture-action.h | 4 +++ + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + examples/pan-action.c | 13 +++++++-- + 5 files changed, 59 insertions(+), 2 deletions(-) + +commit 61f2d751d08aeade38b67f477bf4273e04231995 +Author: Emanuele Aina +Date: Mon Oct 1 16:15:06 2012 +0200 + + tap-action: Add TapAction, to handle mouse/touch tapping + + TapAction is a GestureAction-subclass that handles clicks and + tap gestures. It is meant to provide a replacement for ClickAction + using GestureAction: + + • it handles events trasparently without capturing them, so that it + can coexists with other GestureActions; + + • the ::tap signal is not emitted if the drag threshold is exceeded; + + • building upon GestureAction the amount of code is greatly reduced. + + TapAction provides: + + • tap signal, notifying users when a tap has been performed. + + The image-content example program has been updated replacing its + ClickAction usage with TapAction. + + https://bugzilla.gnome.org/show_bug.cgi?id=683948 + + clutter/Makefile.am | 2 + + clutter/clutter-tap-action.c | 142 +++++++++++++++++++++++++++++ + clutter/clutter-tap-action.h | 102 +++++++++++++++++++++ + clutter/clutter.h | 1 + + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 17 ++++ + doc/reference/clutter/clutter.types | 1 + + examples/image-content.c | 10 +- + 9 files changed, 273 insertions(+), 5 deletions(-) + +commit bd1febb2eaa73c2925785e3b5f5a7d7ab70d9692 +Author: Emanuele Aina +Date: Mon Oct 1 17:29:01 2012 +0200 + + gesture-action: Unregister all tracked points on cancel + + Ensure that when cancelling a gesture, either because a callback + has returned FALSE or because clutter_gesture_action_cancel() has + been called, the array tracking touch points is emptied and a whole + new set of touch points is needed before restarting the gesture. + + https://bugzilla.gnome.org/show_bug.cgi?id=685221 + + clutter/clutter-gesture-action.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit abcf1d589f29ba7914d5648bb9814ad26c13cd83 +Author: Emanuele Aina +Date: Mon Oct 15 23:37:38 2012 +0200 + + gesture-action: Let subclasses override the GestureTriggerEdge handling + + Let gesture subclasses override how the drag threshold should + be handled: + + • CLUTTER_GESTURE_TRIGGER_NONE tells GestureAction that the gesture + must begin immediately and there's no drag limit that will cause + its cancellation; + • CLUTTER_GESTURE_TRIGGER_AFTER is the default GestureAction behaviour, + where it needs to wait until the drag threshold has been exceeded + before considering the gesture valid; + • CLUTTER_GESTURE_TRIGGER_BEFORE will make GestureAction cancel + the gesture once the drag exceed the configured threshold. + + For example, ZoomAction and RotateAction could set + CLUTTER_GESTURE_TRIGGER_NONE since the use of two fingers makes the + begin of the action more self-evident, while an hypothetical Tap + gesture may use CLUTTER_GESTURE_TRIGGER_BEFORE to cancel the tap if + the pointer moves too much. + + https://bugzilla.gnome.org/show_bug.cgi?id=685028 + + clutter/Makefile.am | 1 + + clutter/clutter-gesture-action-private.h | 59 +++++++++++++ + clutter/clutter-gesture-action.c | 141 ++++++++++++++++++++----------- + 3 files changed, 153 insertions(+), 48 deletions(-) + +commit cbab0a62ad7eb162bc5f195f5e199fc6279d6751 +Author: Rob Bradford +Date: Fri Oct 12 18:54:25 2012 +0100 + + wayland: Port to new protocol + + clutter/wayland/clutter-backend-wayland.c | 31 +++++++++++++++--------- + clutter/wayland/clutter-backend-wayland.h | 1 + + clutter/wayland/clutter-device-manager-wayland.c | 4 +-- + clutter/wayland/clutter-event-wayland.c | 15 ++---------- + clutter/wayland/clutter-input-device-wayland.c | 2 ++ + 5 files changed, 26 insertions(+), 27 deletions(-) + +commit 4316592c2f7ba69f0c9d41ca899b2d897e6bda7d +Author: Rob Bradford +Date: Fri Oct 12 18:42:55 2012 +0100 + + wayland: Add wayland-client to pkg-config flags + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit eb61e372b072400c419967c020b117af48357f79 +Author: Rob Bradford +Date: Fri Oct 12 15:23:03 2012 +0100 + + wayland: Initialise the repeat key to the expected default value + + The code for handling key repeats (and in particular stopping on focus loss) + assumes that the repeat key is set to XKB_KEYCODE_INVALID in the default case. + + clutter/wayland/clutter-input-device-wayland.c | 1 + + 1 file changed, 1 insertion(+) + +commit fce43c420e4fff2b8cbed5eee4dce740689df637 +Author: Rob Bradford +Date: Mon Oct 8 13:25:36 2012 +0100 + + wayland: Use wl_cursor_theme to provide a buffer for the Wayland cursor + + This change switches to the new mechanism for loading a cursor into a buffer. + It no longer relies on having a PNG stored in a known location and instead + loads from the Wayland cursor theme. + + Signed-off-by: Rob Bradford + + clutter/wayland/clutter-backend-wayland.c | 174 ++++-------------------------- + clutter/wayland/clutter-backend-wayland.h | 4 + + 2 files changed, 22 insertions(+), 156 deletions(-) + +commit d4c7f2ecf4986517b890ef2b76cb1b6bbcb026fa +Author: Daniel Stone +Date: Thu Aug 30 16:13:48 2012 -0700 + + abicheck: Add CLUTTER_WINDOWING_WAYLAND + + Signed-off-by: Daniel Stone + + clutter/abicheck.sh | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit dab6b3916a2233b607e7b6f46d694715f2c1c902 +Author: Daniel Stone +Date: Thu Aug 30 16:28:19 2012 -0700 + + clutter.symbols: Update for Wayland changes + + make check now passes under Wayland. + + Signed-off-by: Daniel Stone + + clutter/clutter.symbols | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit a33d84234f516599a888a8eb798f9f45d3c4cdc5 +Author: Daniel Stone +Date: Thu Aug 30 16:21:09 2012 -0700 + + Hide clutter_input_device_wayland and clutter_stage_wayland types + + By prefixing them with an underscore, so they don't get exported as part + of public ABI. + + Signed-off-by: Daniel Stone + + clutter/wayland/clutter-input-device-wayland.c | 3 +++ + clutter/wayland/clutter-input-device-wayland.h | 4 ++-- + clutter/wayland/clutter-stage-wayland.c | 2 ++ + clutter/wayland/clutter-stage-wayland.h | 4 ++-- + 4 files changed, 9 insertions(+), 4 deletions(-) + +commit 978202aa49fc7a16bec4438a95466d6071c9dfb1 +Author: Daniel Stone +Date: Tue Sep 18 10:49:00 2012 +1000 + + Wayland: Set default font DPI to 96 + + Otherwise the units test fails, since the default DPI is set to -1. + + Signed-off-by: Daniel Stone + + clutter/wayland/clutter-backend-wayland.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 1c7a740385abf4abed9dce162797653331f93615 +Author: Daniel Stone +Date: Thu Aug 30 15:08:43 2012 -0700 + + Wayland: Add key repeat + + Add support for repeating keys to the Wayland input backend. + Unfortunately the repeat delay/interval is hardcoded into the Clutter + backend, as Wayland doesn't yet tell clients what the global values + should be. + + Signed-off-by: Daniel Stone + + clutter/wayland/clutter-input-device-wayland.c | 58 ++++++++++++++++++++++++++ + clutter/wayland/clutter-input-device-wayland.h | 5 +++ + 2 files changed, 63 insertions(+) + +commit 8f4e39b6d716876bdd386c832ede3a33bc76c042 +Author: Daniel Stone +Date: Fri Aug 24 01:16:25 2012 +0200 + + Port to new Wayland and xkbcommon APIs + + For Wayland, this is mostly the input protocol having changed, although + there's also the SHM pool API, the cursor API, as well as fullscreen and + ping. + + Also port to the new (months-old) xkbcommon API, as used by Weston 0.95. + This involves having xkbcommon manage the state for us, where + appropriate. Fans of multi-layout keyboards (or just caps lock) will no + doubt appreciate these changes. + + Signed-off-by: Daniel Stone + + clutter/evdev/clutter-device-manager-evdev.c | 9 +- + clutter/evdev/clutter-xkb-utils.c | 124 +++---- + clutter/evdev/clutter-xkb-utils.h | 7 +- + clutter/wayland/clutter-backend-wayland.c | 30 +- + clutter/wayland/clutter-backend-wayland.h | 1 + + clutter/wayland/clutter-device-manager-wayland.c | 24 +- + clutter/wayland/clutter-input-device-wayland.c | 394 +++++++++++++++++------ + clutter/wayland/clutter-input-device-wayland.h | 11 +- + clutter/wayland/clutter-stage-wayland.c | 23 +- + clutter/wayland/clutter-wayland.h | 2 +- + 10 files changed, 394 insertions(+), 231 deletions(-) + +commit a158d66abb76315277f171ef3ba656b08cc257a4 +Author: Daniel Stone +Date: Thu Aug 23 14:16:16 2012 +0200 + + EGL: Include cogl-egl.h for prototypes + + Looks like we need to include this directly, but also need to include + cogl/cogl.h to get COGL_HAS_EGL_SUPPORT, since cogl-egl.h doesn't + include cogl-defines.h first. + + Signed-off-by: Daniel Stone + + clutter/egl/clutter-backend-eglnative.h | 2 ++ + 1 file changed, 2 insertions(+) + +commit 13d889814c410ed7f0ead8e9fac4b6086b9f2f8e +Author: Daniel Stone +Date: Tue Sep 18 10:31:01 2012 +1000 + + test: Only run X11-specific code when using X11 + + The X11-specific windowing checks were hidden behind an #ifdef, however + if the tests were run under Wayland, they would execute uncondionally + and cause assertion failures. Fix this by also hiding them behind a + check that the current backend is indeed X11. + + Signed-off-by: Daniel Stone + + tests/conform/test-conform-common.c | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +commit 4731a3c47c91d544d7f1ef522a8db2e7d019cccf +Author: Christian Kirbach +Date: Thu Oct 11 03:55:54 2012 +0200 + + Updated German translation + + po/de.po | 412 +++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 228 insertions(+), 184 deletions(-) + +commit 1eaa57788347e4271e96b7a1972f323fe859e02b +Author: Emanuele Aina +Date: Fri Oct 5 12:21:10 2012 +0200 + + gesture-action: Make _cancel() callable after the gesture has started + + https://bugzilla.gnome.org/show_bug.cgi?id=685554 + + clutter/clutter-gesture-action.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 318d0d596509a5eb2fb74f02c85b52b416e9891d +Author: Emanuele Aina +Date: Fri Oct 5 14:34:20 2012 +0200 + + events: Deliver touch events that continue off stage (soft grab) + + If a button press happen on stage and the pointer is moved outside + the stage while holding the mouse button, the motion and release + events are still delivered to actors. Do the same X11 soft grab + emulation for touch events. + + https://bugzilla.gnome.org/show_bug.cgi?id=685589 + + clutter/clutter-main.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit cb4620d14f7188bfe57c6354b873f180df36400f +Author: Emanuele Aina +Date: Fri Sep 28 08:20:31 2012 +0000 + + version: Add 1.14 version macros + + https://bugzilla.gnome.org/show_bug.cgi?id=685028 + + clutter/clutter-macros.h | 14 ++++++++++++++ + clutter/clutter-version.h.in | 10 ++++++++++ + 2 files changed, 24 insertions(+) + +commit 36c2343001e311df47452d89557571ea250db4ef +Author: Tomeu Vizoso +Date: Mon Oct 8 11:08:20 2012 +0200 + + actor: Place coordinate of the pivot point in the right pointer + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 834c18c3fdb876e400b49a97f02e031318c2c06b +Author: Emmanuele Bassi +Date: Fri Oct 5 17:37:48 2012 +0100 + + Post-branch version bump to 1.13.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 0da0e5122e7526ada688beef22684bb0ed54a367 +Author: Emmanuele Bassi +Date: Wed Sep 26 09:45:46 2012 +0100 + + main: Do not release the lock if it hasn't been acquired + + On various systems, trying to release a mutex that hasn't been acquired + will result in a run-time error. + + In order to avoid this, we trylock() the Big Clutter Lock™ and + immediately unlock() it, regardless of the result; if the lock was + already acquired, trylock() will immediately fail, and we can release + it; if the lock was not acquired, trylock() will succeed, and we can + release the lock immediately. + + This is necessary to maintain binary compatibility and invariants for + Clutter applications doing: + + clutter_init() + clutter_threads_enter() + ... + clutter_main() + ... + clutter_threads_leave() + + instead of the correct: + + clutter_init() + clutter_threads_enter() + ... + clutter_threads_leave() + clutter_main() + clutter_threads_enter() + ... + clutter_threads_leave() + + With Clutter ≥ 1.12, the idiomatic form is: + + clutter_init() + ... + clutter_main() + + given that the public Big Clutter Lock™ acquire/release API has been + deprecated, and nobody should take the lock outside of Clutter itself. + + https://bugzilla.gnome.org/show_bug.cgi?id=679439 + + clutter/clutter-main.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit bacda24534e6734aa5f1d364642fbab321efc632 +Author: Marek Černocký +Date: Wed Oct 3 19:48:25 2012 +0200 + + Updated Czech translation + + po/cs.po | 1878 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1083 insertions(+), 795 deletions(-) + +commit 092389132e56ae996c1255d9bdd5e2b0ec7ab5e4 +Author: Milo Casagrande +Date: Sat Sep 29 17:36:45 2012 +0200 + + [l10n] Updated Italian translation. + + po/it.po | 2650 +++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 1594 insertions(+), 1056 deletions(-) + +commit ffbf3d47fcbd7bc6d66bdfd1e0b639135dea0540 +Author: Nishio Futoshi +Date: Fri Sep 28 20:36:21 2012 +0900 + + [l10n] Update Japanese translation + + po/ja.po | 88 +++++++++++++++++++++------------------------------------------- + 1 file changed, 28 insertions(+), 60 deletions(-) + +commit a87fd7aae4421771bb412fc4e2aab2def07fd6b8 +Author: Chun-wei Fan +Date: Fri Sep 28 18:59:27 2012 +0800 + + Update Visual C++ projects + + -Make things a bit cleaner by generating clutter.def in the intermediate + build folder + -Fix the include paths as config.h is now in clutter/ + -Make things a little bit more consistent between vs9 and vs10 in terms of + the "install" stage + + build/win32/vs10/clutter.props | 17 +- + build/win32/vs10/clutter.vcxprojin | 16 +- + build/win32/vs9/clutter.vcprojin | 16 +- + build/win32/vs9/clutter.vsprops | 318 +++++++++++----------- + build/win32/vs9/test-conformance-clutter.vcprojin | 4 - + 5 files changed, 191 insertions(+), 180 deletions(-) + +commit 696f1afc041cdc76293931cf90fee99f8a0aecd2 +Author: Emmanuele Bassi +Date: Tue Sep 25 09:05:39 2012 +0100 + + actor: Fix transform-set condition + + The :transform-set property is set if the matrix in :transform is not + the identity matrix. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 21b32dbe7ad1f9254346c8fa6938d9999caae051 +Author: Rūdolfs Mazurs +Date: Mon Sep 24 23:25:05 2012 +0300 + + Updated Latvian translation + + po/lv.po | 1932 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1087 insertions(+), 845 deletions(-) + +commit ab011c44ac6be7670e76559b83ea0833d6610c13 +Author: Emmanuele Bassi +Date: Mon Sep 24 17:46:10 2012 +0100 + + Post-release version bump to 1.12.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.pre-1.16 b/ChangeLog.pre-1.16 new file mode 100644 index 0000000..4af5d9f --- /dev/null +++ b/ChangeLog.pre-1.16 @@ -0,0 +1,4029 @@ +commit eae876c44e793a1000bc89f900db11e400197055 +Author: Emmanuele Bassi +Date: Tue Sep 24 00:45:33 2013 +0100 + + Release Clutter 1.16.0 + + NEWS | 18 ++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 20 insertions(+), 2 deletions(-) + +commit fb8eacfb0256a211ca79366945c8f4eb4962be4e +Author: Emmanuele Bassi +Date: Tue Sep 3 11:51:19 2013 +0100 + + device: Guard against divisions by zero + + The range of a device could be 0, so we need to bail out from the + scaling during the axis translation. + + https://bugzilla.gnome.org/show_bug.cgi?id=707033 + + clutter/clutter-input-device.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit e90022f3c790c7d9b181e9c1874e4a0a82c0df43 +Author: Kenneth Nielsen +Date: Mon Sep 23 19:36:54 2013 +0200 + + Updated Danish translation + + po/da.po | 1224 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 618 insertions(+), 606 deletions(-) + +commit 6a3eed78736c8d4c593a67231d501b08a50b13b2 +Author: Duarte Loreto +Date: Mon Sep 23 00:07:44 2013 +0100 + + Updated Portuguese translation + + po/pt.po | 1226 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 619 insertions(+), 607 deletions(-) + +commit c3711d302fddf32405cefc0b72de631bd973f178 +Author: Emmanuele Bassi +Date: Fri Sep 20 11:15:09 2013 +0100 + + Post-release version bump to 1.15.97 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit aad96558ae84084a537078ef1741d22218f190e4 +Author: Emmanuele Bassi +Date: Fri Sep 20 11:06:03 2013 +0100 + + Release Clutter 1.15.96 (snapshot) + + NEWS | 12 ++++++++++++ + configure.ac | 2 +- + 2 files changed, 13 insertions(+), 1 deletion(-) + +commit 300c76df17a8508e564821ff3a27cb81ae7e5b23 +Author: Emmanuele Bassi +Date: Fri Sep 20 10:54:46 2013 +0100 + + x11: Ensure we have a stage before accessing its fields + + For some XI2 we do not have a Stage associated to the event window. + + Original patch by: Giovanni Campagna + Signed-off-by: Emmanuele Bassi + + https://bugzilla.gnome.org/show_bug.cgi?id=708439 + + clutter/x11/clutter-device-manager-xi2.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit c03f7727f723c830d4ba21a520cd07cf9f98de52 +Author: Emmanuele Bassi +Date: Thu Sep 19 23:10:50 2013 +0100 + + Post-release version bump to 1.15.95 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fbf8d9c66a8b1f3d2e86127f4e2a9af0e1a98a5a +Author: Emmanuele Bassi +Date: Thu Sep 19 22:51:10 2013 +0100 + + Release Clutter 1.15.94 (snapshot) + + NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 47 insertions(+), 1 deletion(-) + +commit 0f217f0722eb60659b8e335e0bedb50dc08d6134 +Author: Emmanuele Bassi +Date: Thu Sep 19 22:56:56 2013 +0100 + + Documentation fixes + + clutter/clutter-backend.c | 2 +- + doc/reference/clutter/clutter-sections.txt | 3 +++ + 2 files changed, 4 insertions(+), 1 deletion(-) + +commit a1d29abc383ec3fa084a64406449d5caf0bdbd96 +Author: Emmanuele Bassi +Date: Wed Sep 11 09:50:16 2013 +0100 + + evdev: Clean up debug and error messages + + https://bugzilla.gnome.org/show_bug.cgi?id=707901 + + clutter/evdev/clutter-device-manager-evdev.c | 28 +++++++++++++++++++++++----- + 1 file changed, 23 insertions(+), 5 deletions(-) + +commit 9eb479aeefba7310b105c57aa3e970940713d6d9 +Author: Emmanuele Bassi +Date: Wed Sep 11 09:48:51 2013 +0100 + + evdev: Cache the regexp + + Instead of recreating it for every new device, we can cache the GRegex + and reuse it. + + https://bugzilla.gnome.org/show_bug.cgi?id=707901 + + clutter/evdev/clutter-device-manager-evdev.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit a26690a73dfeb35610c33c30650f06eee1d4f82d +Author: Emmanuele Bassi +Date: Wed Aug 14 11:27:48 2013 +0100 + + cogl: Compensate for window scaling + + The common stage window code that we share on Cogl-based backends should + also use the scaling factor. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/cogl/clutter-stage-cogl.c | 105 ++++++++++++++++++++------------------ + 1 file changed, 55 insertions(+), 50 deletions(-) + +commit 75f81fee708f4811667191065740815b507d938e +Author: Emmanuele Bassi +Date: Wed Aug 14 11:25:01 2013 +0100 + + x11: Apply the window scaling factor + + On high DPI density displays we create surfaces with a size scaled up by + a certain factor. Even if the contents stay at the same relative size + and position, we need to compensate the scaling both when changing the + surface size, and when dealing with input. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/x11/clutter-backend-x11.c | 2 +- + clutter/x11/clutter-device-manager-core-x11.c | 27 ++++---- + clutter/x11/clutter-device-manager-xi2.c | 39 +++++------ + clutter/x11/clutter-stage-x11.c | 93 ++++++++++++++++++++------- + clutter/x11/clutter-stage-x11.h | 3 + + 5 files changed, 111 insertions(+), 53 deletions(-) + +commit 0d0cb13c8d54499d6a4a74e7cfe0db3190d04501 +Author: Emmanuele Bassi +Date: Wed Aug 14 11:19:22 2013 +0100 + + stage: Adjust drawing to include the window scaling factor + + In order to transparently support high DPI density displays, we must + maintain all coordinates and sizes exactly as they are now — but draw + them on a surface that is scaled up by a certain factor. In order to + do that we have to change the viewport and initial transformation + matrix so that they are scaled up by the same factor. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/clutter-stage-private.h | 3 + + clutter/clutter-stage.c | 122 ++++++++++++++++++++++++++++++---------- + 2 files changed, 94 insertions(+), 31 deletions(-) + +commit b9072a5e211cfb14c9f8a2d9affe0e40dd91dbb9 +Author: Emmanuele Bassi +Date: Wed Aug 14 11:17:09 2013 +0100 + + stage-window: Add scaling factor accessors + + We'll need to set and get the scaling factor of a ClutterStage from its + StageWindow implementation. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/clutter-stage-window.c | 27 +++++++++++++++++++++++++++ + clutter/clutter-stage-window.h | 8 ++++++++ + 2 files changed, 35 insertions(+) + +commit 5c44a5e6f49e1697fffb92e69072542c1d2cf315 +Author: Giovanni Campagna +Date: Thu Sep 19 16:38:53 2013 +0200 + + ClutterEvent: preserve extended state across clutter_event_copy() + + We're going nowhere if we don't copy these, because the final + delivered event is a copy of the event generated by the backend. + + https://bugzilla.gnome.org/show_bug.cgi?id=708383 + + clutter/clutter-event.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit d72f3a3509538f5fa662414ae76f0fbb30abb2d1 +Author: Yosef Or Boczko +Date: Tue Sep 17 00:57:03 2013 +0300 + + Updated Hebrew translation + + po/he.po | 3191 ++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1876 insertions(+), 1315 deletions(-) + +commit bd4ade3e0cfbd62aa8f70b8a97a76e87864cf59d +Author: Benjamin Steinwender +Date: Mon Sep 16 19:01:02 2013 +0200 + + Updated German translation + + po/de.po | 1301 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 659 insertions(+), 642 deletions(-) + +commit b29115e8836fd5ad61b44bfb5f45a161e9001ce6 +Author: Giovanni Campagna +Date: Wed Sep 11 15:39:23 2013 +0200 + + evdev: fix a crash when reclaiming devices + + That was not how you iterate a list! + + https://bugzilla.gnome.org/show_bug.cgi?id=707901 + + clutter/evdev/clutter-device-manager-evdev.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 08ddd02bb239c1d79eff98cf77f4b237084aa1b3 +Author: Emmanuele Bassi +Date: Sun Sep 15 10:28:58 2013 +0100 + + backend: Do not use CLUTTER_WINDOWING_EGL unconditionally + + https://bugzilla.gnome.org/show_bug.cgi?id=708079 + + clutter/clutter-backend.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 9b5b4325338bf29be93cf423d976ba97e7395b11 +Author: Andika Triwidada +Date: Sat Sep 14 15:29:55 2013 +0700 + + Updated Indonesian translation + + po/id.po | 1292 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 652 insertions(+), 640 deletions(-) + +commit b2ba60699f9f039500e75d2b9e97f209cc0c0ebd +Author: Nilamdyuti Goswami +Date: Fri Sep 13 17:31:50 2013 +0530 + + Assamese Translation Updated + + po/as.po | 1347 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 684 insertions(+), 663 deletions(-) + +commit 86d72cd2e8983e3ffc563ebd298ddff600edbfb5 +Author: Ihar Hrachyshka +Date: Thu Sep 12 20:00:33 2013 +0300 + + Updated Belarusian translation. + + po/be.po | 1291 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 652 insertions(+), 639 deletions(-) + +commit a595e5ff71af599b3cccafe90b130dd4b2458505 +Author: Rūdolfs Mazurs +Date: Thu Sep 12 15:22:44 2013 +0300 + + Updated Latvian translation + + po/lv.po | 1291 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 653 insertions(+), 638 deletions(-) + +commit 89cd3112febbc27a9222623df4f50404934e2fec +Author: Giovanni Campagna +Date: Mon Sep 9 10:51:11 2013 +0200 + + evdev: add minimal support for touchpads + + The added support is very very basic (single touch, motion only, + no acceleration, no pressure recognition), but anything more + complex requires a state machine that will be hopefully provided + by libinputcommon in the future. + And at least, with this patch the pointer moves, which will be + useful for people testing wayland in 3.10 without a physical mouse. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/evdev/clutter-device-manager-evdev.c | 101 +++++++++++++++++++++++++-- + 1 file changed, 94 insertions(+), 7 deletions(-) + +commit 986e46dc6677a708cd3db8abaf28f09cd2007c4b +Author: Florian Müllner +Date: Tue Sep 10 20:56:09 2013 +0200 + + text: Consider text direction when computing layout offsets + + Currently this is only the case when the actor's x-expand/x-align + flags have been set and clutter_text_compute_layout_offsets() is + used. + + https://bugzilla.gnome.org/show_bug.cgi?id=705779 + + clutter/clutter-text.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit da3e6988ad7259e65bbb051589c1adb0d11421d0 +Author: Giovanni Campagna +Date: Tue Sep 10 18:29:28 2013 +0200 + + Add API to restrict the windowing backend to load + + In situations when the default backend would fail (for example + when compiled with X11 support but run without DISPLAY), or + when the application is using backend specific code, it makes + sense to let the application choose the backend explicitly. + + https://bugzilla.gnome.org/show_bug.cgi?id=707869 + + clutter/clutter-backend-private.h | 2 + + clutter/clutter-backend.c | 78 ++++++++++++++++++++++++++++++++++++++- + clutter/clutter-backend.h | 3 ++ + clutter/clutter-main.c | 49 +----------------------- + clutter/clutter.symbols | 1 + + 5 files changed, 83 insertions(+), 50 deletions(-) + +commit 5c035f2107cda24a074246d6b083296da2526c07 +Author: Lionel Landwerlin +Date: Mon Sep 9 07:52:55 2013 +0100 + + click-action: disconnect signals and gsources on dispose + + https://bugzilla.gnome.org/show_bug.cgi?id=707774 + + clutter/clutter-click-action.c | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + +commit 142c1bbee7b46cf390eb375149da618a466f56bb +Author: Chun-wei Fan +Date: Tue Sep 10 16:18:15 2013 +0800 + + MSVC Builds: Silence Cogl Deprecation Warnings + + Cogl-1.16 has much deprecation that is done, which causes the build of + Clutter to generate lots of C4996 (deprecation) warnings. As in commit + fa8809d7 (Add COGL_DISABLE_DEPRECATION_WARNINGS to the build flags), do + likewise by adding this macro in the Visual C++ property sheets, so we + would have much less C4996 warnings during the build. + + Please see bug 703877 for the rationale behind this. + + build/win32/vs10/clutter.props | 2 +- + build/win32/vs9/clutter.vsprops | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit ac70bd3503ee7adc9bf6938353e25e81e852bfaf +Author: Jasper St. Pierre +Date: Mon Sep 9 17:54:38 2013 -0400 + + box-layout: Fix floating point truncation when calculating a child's size + + The child size is a float, not an int. + + https://bugzilla.gnome.org/show_bug.cgi?id=707808 + + clutter/clutter-box-layout.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a748aab0edc29e08596ed9b72929caeedfec9325 +Author: Rob Bradford +Date: Tue Sep 3 12:24:20 2013 +0100 + + wayland: Check for NULL surface on pointer leave events + + In the protocol this is the expected behaviour when the client has + destroyed the surface. + + https://bugzilla.gnome.org/show_bug.cgi?id=707377 + + clutter/wayland/clutter-input-device-wayland.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit d4ddabeaadaa6f56f87fddc73fb29683d2134487 +Author: Giovanni Campagna +Date: Mon Sep 9 13:19:20 2013 +0200 + + evdev: remove keyboard state accessor + + It was a bad idea to add it, because clutter events are batched, + so by the time the application processes one, the keyboard state + internally tracked by clutter could be already different. + Instead, apps should use clutter_event_get_state_full() + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/evdev/clutter-device-manager-evdev.c | 18 ------------------ + clutter/evdev/clutter-evdev.h | 1 - + 2 files changed, 19 deletions(-) + +commit bf007a133900c333ef22099061efe2dc626fabab +Author: Lionel Landwerlin +Date: Mon Sep 9 07:53:51 2013 +0100 + + backend: add missing transfer annotation + + clutter/clutter-backend.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 15d036ea1e1cbc2a0944ba573a32922b96414261 +Author: Giovanni Campagna +Date: Mon Sep 9 10:29:47 2013 +0200 + + evdev: use EV_SYN/SYN_REPORT for dispatching motion events + + We can't dispatch a motion event for EV_REL (because we don't + have yet the other half of the event), but we can't also queue + them at the end of processing (because we may lose some history + or have button/keys intermixed). + Instead, we use EV_SYN, which means "one logical event was + completed", and let the winsys-independent code do the actual + motion compression. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/evdev/clutter-device-manager-evdev.c | 47 ++++++++++++++-------------- + 1 file changed, 24 insertions(+), 23 deletions(-) + +commit 5e005b42982d8d80f7175d871ee526043e84a9f7 +Author: Giovanni Campagna +Date: Fri Sep 6 17:54:59 2013 +0200 + + evdev: implement horizontal scrolling + + If the kernel reports REL_HWHELL, convert it to horizontal + scroll events. + Also reorganize a bit the recognition for the other event + enums. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/evdev/clutter-device-manager-evdev.c | 65 +++++++++------------------- + 1 file changed, 21 insertions(+), 44 deletions(-) + +commit d882366d11bb430966d1b0d32b4ba1936ad68ec9 +Author: Giovanni Campagna +Date: Fri Sep 6 16:56:55 2013 +0200 + + evdev: implement setting leds + + When the leds are changed in the keyboard state, propagate the + change to the actual devices. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/evdev/clutter-device-manager-evdev.c | 115 ++++++++++++++++++++------- + clutter/evdev/clutter-xkb-utils.c | 43 ---------- + clutter/evdev/clutter-xkb-utils.h | 4 - + 3 files changed, 85 insertions(+), 77 deletions(-) + +commit cd1749a2a55b4a0d8ba016d00265686909b4bbd9 +Author: Giovanni Campagna +Date: Fri Sep 6 16:03:29 2013 +0200 + + evdev: switch to libevdev for fetching the events + + libevdev is a library that wraps the evdev subsystem, with + the ability to synchronize the state after a SYN_DROPPED event + from the kernel. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + README.in | 5 + + clutter/evdev/clutter-device-manager-evdev.c | 297 ++++++++++++++++----------- + configure.ac | 2 +- + 3 files changed, 180 insertions(+), 124 deletions(-) + +commit 19536c88351347b5509997100e7a9bdd3ba027ef +Author: Giovanni Campagna +Date: Fri Sep 6 15:59:21 2013 +0200 + + evdev: sync the keyboard state when releasing and reclaiming devices + + When we release a device, we lose all the events after that point, + so our state can become stale. Similarly, we need to sync the + state with the effectively pressed keys when we reclaim. + This ensures that modifier keys don't get stuck when switching + VTs using a keybinding. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/evdev/clutter-device-manager-evdev.c | 78 ++++++++++++++++++++++++---- + 1 file changed, 69 insertions(+), 9 deletions(-) + +commit 59f1e531f9ac0a3e43a7b1aa80019373cf2ac01c +Author: Giovanni Campagna +Date: Wed Sep 4 14:42:56 2013 +0200 + + ClutterEvent: add API to query the full keyboard state when the event was generated + + When talking to other applications or serializing the modifier + state (and in particular when implementing a wayland compositor), + the effective modifier state alone is not sufficient, one needs + to know the base, latched and locked modifiers. + + Previously one could do with backend specific functionality + such as clutter_device_manager_evdev_get_xkb_state(), but the + problem is that the internal data structures are updated as + soon as the events are fetched from the upstream source, but + the events are reported to the application some time later, + and thus the two can get out of sync. + This way, on the other hand, the information is cached in the + event, and provided to the application with the value that + was current when the event was generated. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/clutter-event-private.h | 7 +++ + clutter/clutter-event.c | 66 +++++++++++++++++++++++++- + clutter/clutter-event.h | 7 +++ + clutter/clutter.symbols | 1 + + clutter/evdev/clutter-device-manager-evdev.c | 9 ++-- + clutter/evdev/clutter-xkb-utils.c | 18 +++++-- + clutter/evdev/clutter-xkb-utils.h | 3 ++ + clutter/wayland/clutter-input-device-wayland.c | 6 +-- + clutter/x11/clutter-device-manager-xi2.c | 51 ++++++++++---------- + clutter/x11/clutter-input-device-xi2.c | 33 ++++++++----- + clutter/x11/clutter-input-device-xi2.h | 7 +-- + 11 files changed, 154 insertions(+), 54 deletions(-) + +commit dd940a71b1b48541fc2410a8d6b49dbb0659c662 +Author: Giovanni Campagna +Date: Wed Sep 4 13:36:41 2013 +0200 + + evdev: update the state of the core pointer and core keyboard for all events + + These two devices are logically tied togheter, and their state + should always be the same. Also, we need to update them after + the event is queued, as the current modifier state (as opposed to the + modifier mask in the event) should include also the effect of the last + key press/release. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/evdev/clutter-device-manager-evdev.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit 0db9075562550fd1018b9af694b27d499d9dbe52 +Author: Giovanni Campagna +Date: Wed Aug 14 16:49:00 2013 +0200 + + ClutterInputDevice: add new API for querying the modifier state + + This way, the full state of the device is exposed. + + https://bugzilla.gnome.org/show_bug.cgi?id=706494 + + clutter/clutter-input-device.c | 19 +++++++++++++++++++ + clutter/clutter-input-device.h | 2 ++ + clutter/clutter.symbols | 1 + + 3 files changed, 22 insertions(+) + +commit b73f5130917cc2fba19733317ae5bbc9474dd6f0 +Author: Giovanni Campagna +Date: Thu Aug 22 00:19:21 2013 +0200 + + evdev: use monotonic times for the events + + The monotonic clock is what X uses too, so this way the timestamps + can be compared. + + https://bugzilla.gnome.org/show_bug.cgi?id=706543 + + clutter/evdev/clutter-device-manager-evdev.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit aef3d0022cd5b563f86774ec9ad79b70fbe9308a +Author: Giovanni Campagna +Date: Fri Aug 23 12:15:40 2013 +0200 + + evdev: add callback to constrain the pointer position + + Add a new callback that is called prior to emitting pointer + motion events and that can modify the new pointer position. + The main purpose is allowing multiscreen apps to prevent the + pointer for entering the dead area that exists when the screens + are not the same size, but it could also used to implement + pointer barriers. + A callback is needed to make sure that the hook is called early + enough and the Clutter state is always consistent. + + https://bugzilla.gnome.org/show_bug.cgi?id=706652 + + clutter/evdev/clutter-device-manager-evdev.c | 53 ++++++++++++++++++++++++++-- + clutter/evdev/clutter-evdev.h | 27 ++++++++++++++ + 2 files changed, 78 insertions(+), 2 deletions(-) + +commit 89d09a07d3d3c761c2d83d1351b1ab8fe1eab0ca +Author: Yuri Myasoedov +Date: Fri Sep 6 13:22:45 2013 +0400 + + Updated Russian translation + + po/ru.po | 1456 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 725 insertions(+), 731 deletions(-) + +commit b4d95ee3e84810fd3de25e0387adf0704e8d8c7b +Author: Jorge Pérez Pérez +Date: Thu Sep 5 00:02:38 2013 +0200 + + Added Aragonese translation + + po/an.po | 2793 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2793 insertions(+) + +commit 7d5b4d69e7e3ca3095783e8b2fab241bf6bf682f +Author: Мирослав Николић +Date: Tue Sep 3 09:15:10 2013 +0200 + + Updated Serbian translation + + po/sr.po | 1285 ++++++++++++++++++++++++++++---------------------------- + po/sr@latin.po | 1285 ++++++++++++++++++++++++++++---------------------------- + 2 files changed, 1298 insertions(+), 1272 deletions(-) + +commit c141bda460292c94a6020c9f6efa78b3570e71fd +Author: Emmanuele Bassi +Date: Mon Sep 2 23:59:14 2013 +0100 + + Post-release version bump to 1.15.93 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d38e7127fe7a821b4135d706dc9ec0e6eef06941 +Author: Emmanuele Bassi +Date: Mon Sep 2 23:40:41 2013 +0100 + + Release Clutter 1.15.92 (snapshot) + + NEWS | 22 ++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 23 insertions(+), 1 deletion(-) + +commit e224415a47ab8854f44d7ff63843c9ef3df9d7f9 +Author: Emmanuele Bassi +Date: Mon Sep 2 17:06:49 2013 +0100 + + Revert "clutter-offscreen-effect: Allocate the cogl texture directly" + + This reverts commit 180e7d74f3325731ac5e91350233c26200a44fd7. + + The lazy texture allocation is gone in Cogl 1.15.9. + + clutter/clutter-offscreen-effect.c | 18 +++--------------- + 1 file changed, 3 insertions(+), 15 deletions(-) + +commit 8f88ada0c6bc18e39e126d92776c1d314de961e7 +Author: Emmanuele Bassi +Date: Mon Sep 2 17:06:03 2013 +0100 + + build: Depend on Cogl 1.15.9 + + The laxy texture allocation has been removed from Cogl 1.15, so we need + to depend on the new developers snapshot. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ce4d5fc8cdbf3e97633eab442e4a7d98802ff43c +Author: Gil Forcada +Date: Sat Aug 31 22:53:04 2013 +0200 + + [l10n] Update Catalan translation + + po/ca.po | 1229 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 619 insertions(+), 610 deletions(-) + +commit daaec724dc3c84408183855b4e2b4905d9d22a85 +Author: Chun-wei Fan +Date: Thu Aug 29 17:31:42 2013 +0800 + + Clean up Visual Studio Build Files + + -Combine entries in the property sheets and make it a bit more flexible, + and drop some redundant items + -Use Custom Build Rules for generating enumeration and marshalling sources, + and the .def file so that they can be wiped off when a "clean" is + requested, and regenerate automatically when the templates/.symbols + files are updated. + -Improve consistency by using ApiVersion rather than ClutterApiVersion + with the Visual Studio project for other components of the Clutter/GTK+ + stack + -Get rid of unneeded configs in the "install" project + + build/win32/vs10/clutter.props | 428 +++++++++++++---------------- + build/win32/vs10/clutter.sln | 16 +- + build/win32/vs10/clutter.vcxproj.filtersin | 5 + + build/win32/vs10/clutter.vcxprojin | 136 ++++++--- + build/win32/vs10/install.vcxproj | 84 +----- + build/win32/vs9/clutter.sln | 16 +- + build/win32/vs9/clutter.vcprojin | 230 ++++++++++++++-- + build/win32/vs9/clutter.vsprops | 398 +++++++++++++-------------- + build/win32/vs9/install.vcproj | 60 +--- + 9 files changed, 726 insertions(+), 647 deletions(-) + +commit cb3a4ac1a2599f4e8ea315c1080824c5a67c6b34 +Author: Chun-wei Fan +Date: Thu Aug 29 10:50:08 2013 +0800 + + Visual C++ Builds: Update Header "Installation" + + build/win32/vs10/clutter.props | 40 +++++++++++++++++++++++++++++----------- + build/win32/vs9/clutter.vsprops | 23 ++++++++++++++++------- + 2 files changed, 45 insertions(+), 18 deletions(-) + +commit 6083ec112fc67c182138f1c1f44992007afc82f7 +Author: Aurimas Černius +Date: Wed Aug 28 22:59:00 2013 +0300 + + Updated Lithuanian translation + + po/lt.po | 1435 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 719 insertions(+), 716 deletions(-) + +commit cb00652fbb261b6f4ec8ffca148f0b1b7a901fa3 +Author: Ján Kyselica +Date: Tue Aug 27 19:13:53 2013 +0200 + + Added slovak translation + + po/sk.po | 3029 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 3029 insertions(+) + +commit 8db571ff54db6f877f079014eb6020aab36f97d9 +Author: Jasper St. Pierre +Date: Tue Aug 27 08:47:16 2013 -0400 + + tests: Fix compiler warnings + + tests/conform/actor-layout.c | 2 +- + tests/conform/events-touch.c | 1 - + tests/conform/texture-fbo.c | 3 +-- + 3 files changed, 2 insertions(+), 4 deletions(-) + +commit 90b696a4d257565ea335e3df9c5f1085fd4069aa +Author: Alexandre Franke +Date: Thu Aug 22 14:22:31 2013 +0200 + + Update French translation + + po/fr.po | 1226 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 619 insertions(+), 607 deletions(-) + +commit 05f56affe19468e1e54281230cd23333f94cfebb +Author: Jasper St. Pierre +Date: Fri Jun 14 17:49:01 2013 -0400 + + box-layout: Fix RTL layout swapping with non-zero container offsets + + https://bugzilla.gnome.org/show_bug.cgi?id=706450 + + clutter/clutter-box-layout.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit fe2aa9237ab20ce7f3b4766e425fac058212cb7c +Author: Piotr Drąg +Date: Tue Aug 20 22:14:33 2013 +0200 + + Updated Polish translation + + po/pl.po | 1226 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 619 insertions(+), 607 deletions(-) + +commit f3f0dff16a9fbc70dfec25c1199376d8c7836a94 +Author: Emmanuele Bassi +Date: Tue Aug 20 11:26:11 2013 +0100 + + Revert "Depend on the cogl-path-1.0 pkg-config file" + + This reverts commit b6fc4a810f2f3437d5478241a6e6ff2aa43cf0b4. + + It seems that the Cogl/Cogl-Path split was not meant to break API/ABI, + so we should not check for a new dependency. Let's revert the commit, + and wait for Cogl to get fixed instead. + + configure.ac | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit b6fc4a810f2f3437d5478241a6e6ff2aa43cf0b4 +Author: Emmanuele Bassi +Date: Tue Aug 20 10:52:37 2013 +0100 + + Depend on the cogl-path-1.0 pkg-config file + + The CoglPath API has been split from the main Cogl SO, and we need to + add it as a dependency. + + https://bugzilla.gnome.org/show_bug.cgi?id=706367 + + configure.ac | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 6a4a8b584b11aae2c268ec3aa42e29b9538ff27e +Author: Emmanuele Bassi +Date: Tue Aug 20 00:21:40 2013 +0100 + + Post-release version bump to 1.15.91 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ee6be96a3b3b69e9f3e7cc4f5390fbc2b22c3732 +Author: Emmanuele Bassi +Date: Tue Aug 20 00:04:56 2013 +0100 + + Release Clutter 1.15.90 + + NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 53 insertions(+), 1 deletion(-) + +commit 4698e791bff7d9eb5993ed3805a69b3845e6c475 +Author: Emmanuele Bassi +Date: Tue Aug 20 00:09:05 2013 +0100 + + Update exported symbols + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit bf1997c4ef83c658c3566574e8bdf01dd9120957 +Author: Emmanuele Bassi +Date: Tue Aug 20 00:01:45 2013 +0100 + + paint-nodes: Have a fallback buffer for the root node + + If we don't get passed a CoglFramebuffer when creating the root paint + node then we ask Cogl to give us the current draw buffer. + + This allows the text-cache conformance test to pass, but it'll require + further investigation. + + clutter/clutter-paint-nodes.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit c14bd84eefd53c9df891e4d031455fbf75dbb4c3 +Author: Florian Müllner +Date: Tue Jul 9 02:57:12 2013 +0200 + + table-layout: Fix default values for expand/fill child properties + + Currently the default values according to their param spec don't + match the actually used defaults, so update the former to reflect + the actual behavior. + + https://bugzilla.gnome.org/show_bug.cgi?id=703809 + + clutter/clutter-table-layout.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 8e850ff3e4f02d37ec7ecc272eea540ffd29dbcf +Author: Florian Müllner +Date: Sat Jul 6 02:11:42 2013 +0200 + + box-layout: Fix (legacy) expand/fill properties + + Whether a child should receive extra space should be determined + by the expand property, not [xy]_fill (which just determine how + additional space should be used). The behavior is already correct + when using the ClutterActor:[xy]_expand properties, but needs + fixing for the corresponding ClutterBoxLayoutChild property. + + https://bugzilla.gnome.org/show_bug.cgi?id=703809 + + clutter/clutter-box-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 40a1903db6dd80445275b3f73a53fd7b7df47017 +Author: Florian Müllner +Date: Sat Jul 6 01:38:28 2013 +0200 + + bin-layout: Fix offsets + + Just as BoxLayout, BinLayout uses an odd interpretation of the box + passed into allocate(): to define a child area of (w x h) starting at + (x, y), callers need to pass a box of (x, 2 * x + w, y, 2 * y + h). + This behavior is just confusing, change it to use the full box for + child allocations. + + https://bugzilla.gnome.org/show_bug.cgi?id=703809 + + clutter/clutter-bin-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5dd2dcf14ff4676ac4d84ef567d1bca1faaaab7a +Author: Florian Müllner +Date: Sat Jul 6 01:27:38 2013 +0200 + + box-layout: Fix child offsets + + Currently, BoxLayout interprets the box passed into allocate() in + a fairly peculiar way: + - in the direction of the box, all space between [xy]1 and [xy]2 + is distributed among children (e.g. children occupy the entire + width/height of the box, offset by [xy]1) + - in the opposite direction, expanded children receive space + between [xy]1 and the height/width of the box (e.g. children + occupy the width/height of the box minus [xy]1, offset by [xy]1) + The second behavior doesn't make much sense, so adjust it to interpret + the box parameter in the same way as the first one. + + https://bugzilla.gnome.org/show_bug.cgi?id=703809 + + clutter/clutter-box-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5bab9a8655346290f7ee0e4af972e3d085a6b818 +Author: Florian Müllner +Date: Fri Jul 5 16:54:07 2013 +0200 + + actor: Minor cleanup + + In clutter_allocate_align_fill(), x2/y2 may be set twice for no + particular reason; save a couple of lines by not doing this. + + https://bugzilla.gnome.org/show_bug.cgi?id=703809 + + clutter/clutter-actor.c | 10 ++-------- + 1 file changed, 2 insertions(+), 8 deletions(-) + +commit a3b093d9c846c26793177d2d603b9eefef131cc1 +Author: Emmanuele Bassi +Date: Mon Aug 19 23:31:54 2013 +0100 + + cookbook/examples: Disable Cogl deprecation warnings + + We'll have to port the cookbook to a decent version of Clutter and Cogl + anyway. + + doc/cookbook/examples/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 0d7bbc747f387833aa94bf309917e57c18079866 +Author: Emmanuele Bassi +Date: Mon Aug 19 23:30:09 2013 +0100 + + docs: Fix gtk-doc warnings + + clutter/evdev/clutter-device-manager-evdev.c | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 2 files changed, 3 insertions(+) + +commit 0b6498d65525661fa4dd7a94929b3c0aee0a129a +Author: Emmanuele Bassi +Date: Sun Jul 21 00:51:05 2013 +0100 + + Use paint nodes to set up the stage + + This allows to set a Content on a stage, and consolidates the paint + code where it belongs. + + https://bugzilla.gnome.org/show_bug.cgi?id=704625 + + clutter/clutter-actor.c | 46 +++++++++++++++++++++++++++++++++++++--------- + clutter/clutter-stage.c | 4 +++- + examples/image-content.c | 28 +++++++++++----------------- + 3 files changed, 51 insertions(+), 27 deletions(-) + +commit 1d9e2640512067043357456f0298c4798195e167 +Author: Emmanuele Bassi +Date: Sun Jul 21 00:47:15 2013 +0100 + + paint-nodes: Remove modelview from ClutterRootNode + + It's pointless, since RootNode sits at the top and there's no modelview + to be set. + + https://bugzilla.gnome.org/show_bug.cgi?id=704625 + + clutter/clutter-paint-node-private.h | 3 +-- + clutter/clutter-paint-nodes.c | 12 +----------- + 2 files changed, 2 insertions(+), 13 deletions(-) + +commit 371b12c4afca0197a0c460e0a423357d7a1e317e +Author: Lionel Landwerlin +Date: Thu Apr 25 17:16:15 2013 -0700 + + tests: add an interactive test for rotate and zoom actions + + https://bugzilla.gnome.org/show_bug.cgi?id=698836 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-rotate-zoom.c | 98 ++++++++++++++++++++++++++++++++++++ + 2 files changed, 100 insertions(+), 1 deletion(-) + +commit 700baccc7c22077c04fbedb521d9348bf7636e2c +Author: Emmanuele Bassi +Date: Fri Aug 16 11:07:35 2013 +0100 + + build: Generate gitignore on BUILT_SOURCES + + The test-unit-names.h header file is generated unconditionally, so we + need to generate the gitignore file that references it along with the + header. + + tests/interactive/Makefile.am | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +commit 97bf60f6ecfd5eb47919630fa580ad7a7cdc3388 +Author: Emmanuele Bassi +Date: Fri Aug 16 11:02:41 2013 +0100 + + Show if we are installing the tests in the configure summary + + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +commit fa72540246499f71fc69172d7c5d7902bf666011 +Author: Emmanuele Bassi +Date: Fri Aug 16 10:57:54 2013 +0100 + + build: Ensure tests are built only on make check + + Tests should only be enabled when we want to run them, or when we are + generating a tarball. + + tests/Makefile.am | 11 ----- + tests/accessibility/Makefile.am | 8 ++-- + tests/conform/Makefile.am | 101 ++++++++++++++-------------------------- + tests/interactive/Makefile.am | 9 ++-- + tests/micro-bench/Makefile.am | 2 +- + tests/performance/Makefile.am | 2 +- + 6 files changed, 47 insertions(+), 86 deletions(-) + +commit b50e1c3b628c0238da0d1ea89853b53ef06fa2ef +Author: Emmanuele Bassi +Date: Fri Aug 16 10:17:15 2013 +0100 + + actor: Do not set remove-on-complete on implicit transitions + + The implicitly created transitions are removed when complete by the + implicit transition machinery. The remove-on-complete hint is for + user-provided transitions. + + https://bugzilla.gnome.org/show_bug.cgi?id=705739 + + clutter/clutter-actor.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit edf00747ef3bb955ad48a2191cdec33524156298 +Author: Emmanuele Bassi +Date: Fri Aug 16 10:15:57 2013 +0100 + + docs: Use the correct signal name + + ClutterTransition:remove-on-complete uses the ClutterTimeline::stopped + signal, as it's the signal that tells us that the timeline's duration + has fully elapsed. + + clutter/clutter-transition.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8abd2baeaa3c6564245281f673a3003e4f4110c4 +Author: Matej Urbančič +Date: Mon Aug 19 23:16:58 2013 +0200 + + Updated Slovenian translation + + po/sl.po | 0 + 1 file changed, 0 insertions(+), 0 deletions(-) + +commit 4d03d95e41aca72be87e5f89ed588692d7799346 +Author: Matej Urbančič +Date: Mon Aug 19 23:14:29 2013 +0200 + + Updated Slovenian translation + + po/sl.po | 1200 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 601 insertions(+), 599 deletions(-) + +commit 0e519e2b3b0de6880533631ddfb85362727524a8 +Author: Giovanni Campagna +Date: Fri Aug 9 18:43:19 2013 +0200 + + evdev: implement wheel events + + Mouse wheel events come as EV_REL/REL_WHEEL, and we can convert + them to clutter events on the assumption that scrolling with + the wheel is always vertical. + + https://bugzilla.gnome.org/show_bug.cgi?id=705710 + + clutter/evdev/clutter-device-manager-evdev.c | 43 ++++++++++++++++++++++++++++ + 1 file changed, 43 insertions(+) + +commit 7b780b0c38ea95fa6a79b2cad1b070c245746255 +Author: Giovanni Campagna +Date: Fri Aug 9 17:07:52 2013 +0200 + + evdev: don't update xkb state for autorepeated keys + + xkb_state_update_key() needs to be called only on state transitions, + otherwise the state tracking gets confused and locks certain modifiers + forever. + + https://bugzilla.gnome.org/show_bug.cgi?id=705710 + + clutter/evdev/clutter-device-manager-evdev.c | 20 ++++++++++++++------ + 1 file changed, 14 insertions(+), 6 deletions(-) + +commit 8c358f18b1be3a10430be6abb164494cf1591ed0 +Author: Giovanni Campagna +Date: Fri Aug 9 17:06:39 2013 +0200 + + evdev: allow hooking directly into libxkbcommon + + A wayland compositor needs to have more keyboard state than + ClutterModifierState exposes, so it makes sense for it to use + xkb_state directly. Also, it makes sense for it to provide + it's own keymap, to ensure a consistent view between the compositor + and the wayland clients. + + https://bugzilla.gnome.org/show_bug.cgi?id=705710 + + clutter/evdev/clutter-device-manager-evdev.c | 74 ++++++++++++++++++++++++++++ + clutter/evdev/clutter-evdev.h | 5 ++ + 2 files changed, 79 insertions(+) + +commit 786532213b0d409c9261434ecc9e64d2c12a2808 +Author: Giovanni Campagna +Date: Fri Aug 9 11:53:46 2013 +0200 + + evdev: add master / slave device handling + + All evdev devices are slave devices, which means that xkb state + and pointer position must be shared by emulating a core keyboard + and a core pointer. Also, we must make sure to add all modifier + state (keyboard and button) to our events. + + https://bugzilla.gnome.org/show_bug.cgi?id=705710 + + clutter/evdev/clutter-device-manager-evdev.c | 230 ++++++++++++++----------- + clutter/evdev/clutter-xkb-utils.c | 6 +- + clutter/evdev/clutter-xkb-utils.h | 2 + + clutter/wayland/clutter-input-device-wayland.c | 6 +- + 4 files changed, 139 insertions(+), 105 deletions(-) + +commit f749858df339bc8f384b801fbbd7262e23422049 +Author: Giovanni Campagna +Date: Fri Aug 9 10:57:50 2013 +0200 + + evdev: remove dead code + + ClutterDeviceManager uses g_object_new directly, to pass the + necessary properties down. + + https://bugzilla.gnome.org/show_bug.cgi?id=705710 + + clutter/evdev/clutter-input-device-evdev.c | 6 ------ + clutter/evdev/clutter-input-device-evdev.h | 1 - + 2 files changed, 7 deletions(-) + +commit d844cf54628884f8608d45fd6ad5e3eedd797ac2 +Author: Giovanni Campagna +Date: Fri Aug 9 10:53:31 2013 +0200 + + evdev: fix xkb_state handling + + We must pass X11 keycodes, not evdev ones, to libxkbcommon, + otherwise the modifier state is wrong. + + https://bugzilla.gnome.org/show_bug.cgi?id=705710 + + clutter/evdev/clutter-device-manager-evdev.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a3557f7a2fff0cd9a37b8e892c4a280a7304848c +Author: Giovanni Campagna +Date: Fri Aug 9 10:10:36 2013 +0200 + + evdev: fix X11 to evdev keycode translation + + Hardware keycodes in Clutter events are x11 keycodes, which are + the same as evdev + 8, but we need to reverse the translation when + explicitly asked for an evdev keycode. + + https://bugzilla.gnome.org/show_bug.cgi?id=705710 + + clutter/evdev/clutter-input-device-evdev.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 26b2852601620f5b042e2a43b6e7bfa5d07beeda +Author: Giovanni Campagna +Date: Mon Jul 15 18:24:35 2013 +0200 + + evdev: add a way for applications to tweak how devices are opened + + In some cases, applications (or actually, wayland compositors) + don't have the required permissions to access evdev directly, but + can do so with an external helper like weston-launch. + + Allow them to do so with a custom callback that replaces the regular + open() path. + + https://bugzilla.gnome.org/show_bug.cgi?id=704269 + + clutter/evdev/clutter-device-manager-evdev.c | 49 +++++++++++++++++++++++++--- + clutter/evdev/clutter-evdev.h | 17 ++++++++++ + 2 files changed, 62 insertions(+), 4 deletions(-) + +commit 1afe757109b808f213d2b021b2b33f7db4187980 +Author: Rob Bradford +Date: Mon Aug 12 17:29:28 2013 +0100 + + wayland: When resizing only trigger a redraw if the stage has been shown + + This is necessary to avoid a deadlock with the compositor. When setting + a stage size before the stage was shown this would trigger a redraw + inside clutter_stage_wayland_resize. This redraw would result + in a call into eglSwapBuffers which would attach a buffer to the surface + and commit. Unfortunately this would happen before the role for the + surface was set. This would result in the compositor not relaying to the + client that the desired frame was shown. + + With this change the call to wl_shell_surface_set_toplevel is always + made before the first redraw. + + https://bugzilla.gnome.org/show_bug.cgi?id=704457 + + clutter/wayland/clutter-stage-wayland.c | 8 +++++++- + clutter/wayland/clutter-stage-wayland.h | 1 + + 2 files changed, 8 insertions(+), 1 deletion(-) + +commit d63632fe2e0b16b1b4f9ec4f139c89d72c2e9ee3 +Author: Chao-Hsiung Liao +Date: Tue Aug 6 19:34:36 2013 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 1228 ++++++++++++++++++++++++++++++----------------------------- + po/zh_TW.po | 1228 ++++++++++++++++++++++++++++++----------------------------- + 2 files changed, 1240 insertions(+), 1216 deletions(-) + +commit b5c4d5a04445f8cb892ed7a1202a5e15f17119e8 +Author: Rafael Ferreira +Date: Tue Aug 6 00:07:51 2013 -0300 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 1296 ++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 656 insertions(+), 640 deletions(-) + +commit 9808da7efed1ef96f3b0d8bdbd07c82da7fddffd +Author: Rob Bradford +Date: Sun Aug 4 15:38:40 2013 +0100 + + wayland: Only process enter and leave events Clutter created surfaces + + When combining with GTK we will receive enter and leave events for surfaces + from both toolkits therefore we must filter our events appropriately. + + clutter/wayland/clutter-input-device-wayland.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit 66044b665f9fee364c112e0611200c23e604992f +Author: Rob Bradford +Date: Sun Aug 4 15:33:30 2013 +0100 + + wayland: Check there is valid pointer or keyboard focus for events + + clutter/wayland/clutter-input-device-wayland.c | 22 +++++++++++++++++++--- + 1 file changed, 19 insertions(+), 3 deletions(-) + +commit 558f142818d6ef22129833e07ad0ef2b6d39623c +Author: Chun-wei Fan +Date: Thu Jul 25 14:19:22 2013 +0800 + + Update Conformance Tests MSVC Project + + Use CLUTTER_ENABLE_EXPERIMENTAL_API as there are experimental APIs that + are used and tested here, which will fix the build + + build/win32/vs10/test-conformance-clutter.vcxprojin | 8 ++++---- + build/win32/vs9/test-conformance-clutter.vcprojin | 8 ++++---- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 7153863309f71d7f0fc9abae6c3e7c294af41dd8 +Author: Rob Bradford +Date: Mon Jul 15 18:36:26 2013 +0100 + + wayland: Only create and act on shell_surface for non-foreign surfaces + + We should not create a shell surface and set the role for that shell + surface if the surface was a foreign one provided through + clutter_wayland_set_wl_surface + + https://bugzilla.gnome.org/show_bug.cgi?id=699578 + + clutter/wayland/clutter-stage-wayland.c | 24 +++++++++++++----------- + 1 file changed, 13 insertions(+), 11 deletions(-) + +commit b6d2232150f3c6212c4e4ff79b46ff885679d0c4 +Author: Chris Cummins +Date: Thu May 2 17:46:49 2013 +0100 + + wayland: Add foreign surface support to stage + + This adds support for optionally a providing a foreign Wayland surface + to a ClutterStage before it is first show. Setting a foreign surface + prevents Cogl from allocating a surface and shell surface for the stage + automatically. + + v2: add CLUTTER_AVAILABLE_IN_1_16 annotation and API reference docs + (review from Emmanuele Bassi) + v3: set a boolean to indicate that this stage is using a foreign surface + (Rob Bradford) + + https://bugzilla.gnome.org/show_bug.cgi?id=699578 + + clutter/clutter.symbols | 1 + + clutter/wayland/clutter-stage-wayland.c | 47 ++++++++++++++++++++++++++++++ + clutter/wayland/clutter-stage-wayland.h | 1 + + clutter/wayland/clutter-wayland.h | 3 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 5 files changed, 53 insertions(+) + +commit a5e44d393481c6e2a261ce43f4884caa8d85628d +Author: Rob Bradford +Date: Mon Jul 15 18:27:33 2013 +0100 + + wayland: Add API for disabling the event dispatching + + This allows the integration of Clutter with another library, like GTK+, + that is dispatching the events itself. This is implemented by calling + into the cogl_wayland_renderer_set_event_dispatch_enabled() and since + that function must be called on the newly created renderer the newly + added clutter_wayland_disable_event_retrieval must be called before + clutter_init() + + https://bugzilla.gnome.org/show_bug.cgi?id=704279 + + clutter/clutter.symbols | 1 + + clutter/wayland/clutter-backend-wayland.c | 31 ++++++++++++++++++++++++++++++ + clutter/wayland/clutter-wayland.h | 3 +++ + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 36 insertions(+) + +commit 697f7a335900d35ddff3e57b4d709bb613feef25 +Author: Adel Gadllah +Date: Wed Jul 17 12:41:27 2013 +0200 + + clutter-actor: Make clutter_actor_has_mapped_clones public + + This allows some optimisations to be done that work when they are no clones. + + https://bugzilla.gnome.org/show_bug.cgi?id=703336 + + clutter/clutter-actor.c | 18 ++++++++++++++---- + clutter/clutter-actor.h | 7 +++++++ + 2 files changed, 21 insertions(+), 4 deletions(-) + +commit 0cef63b8374c86753ca20b5270b57c486d541ca1 +Author: Neil Roberts +Date: Fri May 31 14:18:01 2013 +0100 + + win32: Disable event retrieval in Cogl + + Since commit 4543ed6ac3af in Cogl, Cogl will now try to consume + Windows message itself. This doesn't really cause any problems because + both message loops just call DispatchMessage which will cause the + message to be routed through Clutter's window procedure either way. + However, it's not great to have two sources listening for messages so + this patch disables Cogl's message retrieval. + + https://bugzilla.gnome.org/show_bug.cgi?id=701356 + + clutter/gdk/clutter-backend-gdk.c | 1 + + clutter/win32/clutter-backend-win32.c | 19 +++++++++++++++++++ + 2 files changed, 20 insertions(+) + +commit 3715a6687c65877b51f8abb5dfeb474372466d62 +Author: Neil Roberts +Date: Fri May 31 13:18:45 2013 +0100 + + Update the dependencies for the MinGW build script + + As the binaries from Tor Lillqvist are no longer being kept up-to-date + this also builds more of the deps from source. + + https://bugzilla.gnome.org/show_bug.cgi?id=701356 + + build/mingw/mingw-fetch-dependencies.sh | 79 ++++++++++++++++++++++++++++----- + 1 file changed, 68 insertions(+), 11 deletions(-) + +commit c2d5dd2d11b601bbf44e97a12adcf475a2f3bb1b +Author: Emmanuele Bassi +Date: Fri Jul 12 09:57:23 2013 +0100 + + x11: Remove unused variable + + clutter/x11/clutter-input-device-core-x11.c | 1 - + 1 file changed, 1 deletion(-) + +commit 01707f0da973d7ba149971b92ea51af9f99d4f2d +Author: Jasper St. Pierre +Date: Thu Jul 11 14:04:14 2013 -0400 + + input-device-x11: Remove more dead code + + It seems this API has never been used.. + + clutter/x11/clutter-input-device-core-x11.c | 21 --------------------- + clutter/x11/clutter-input-device-core-x11.h | 6 ------ + 2 files changed, 27 deletions(-) + +commit e62cf4745f5b5a8a8983f3b284c11d13ef43d77f +Author: Jasper St. Pierre +Date: Wed Jul 10 16:53:26 2013 -0400 + + device-manager: Select for events on XIAllMasterDevices + + This removes a bit of work that we have to do for every device, and makes it + easy for mutter to patch out parts of the event mask it doesn't want. + + https://bugzilla.gnome.org/show_bug.cgi?id=703969 + + clutter/clutter-device-manager-private.h | 5 ---- + clutter/clutter-device-manager.c | 12 ++------ + clutter/clutter-device-manager.h | 4 ++- + clutter/clutter-input-device.c | 20 ------------- + clutter/x11/clutter-device-manager-xi2.c | 44 +++++++++++++++++++++++++++++ + clutter/x11/clutter-input-device-xi2.c | 48 -------------------------------- + 6 files changed, 49 insertions(+), 84 deletions(-) + +commit 032688800c9926f2f86bdcaf0bf30147f994cfcc +Author: Jasper St. Pierre +Date: Wed Jul 10 16:34:48 2013 -0400 + + device-manager: Don't pass the event mask around + + There's no point in doing this, as we always use a constant event mask. + Simply do what everything else does. + + https://bugzilla.gnome.org/show_bug.cgi?id=703969 + + clutter/clutter-device-manager-private.h | 9 +++------ + clutter/clutter-device-manager.c | 5 ++--- + clutter/clutter-input-device.c | 6 ++---- + clutter/x11/clutter-input-device-xi2.c | 30 ++++++++---------------------- + clutter/x11/clutter-stage-x11.c | 26 +++++--------------------- + clutter/x11/clutter-stage-x11.h | 2 +- + 6 files changed, 21 insertions(+), 57 deletions(-) + +commit e38ea7a20f6c1beae593d998c4aa6116930d0332 +Author: Jasper St. Pierre +Date: Wed Jul 10 16:31:57 2013 -0400 + + x11: Remove support for XInput 1 + + Now we either use core X11 or XInput 2. + + https://bugzilla.gnome.org/show_bug.cgi?id=703969 + + clutter/config.h.win32.in | 3 - + clutter/x11/clutter-backend-x11.c | 31 +-- + clutter/x11/clutter-device-manager-core-x11.c | 230 ---------------- + clutter/x11/clutter-input-device-core-x11.c | 373 -------------------------- + clutter/x11/clutter-input-device-core-x11.h | 5 - + configure.ac | 6 - + 6 files changed, 7 insertions(+), 641 deletions(-) + +commit 0b32f99bd10cd7f4cbef55889328e93989c1551b +Author: Jasper St. Pierre +Date: Wed Jul 10 16:26:01 2013 -0400 + + backend-x11: Remove bad branch prediction + + This will only get once, at in Clutter initialization time. + + https://bugzilla.gnome.org/show_bug.cgi?id=703969 + + clutter/x11/clutter-backend-x11.c | 105 ++++++++++++++++++-------------------- + 1 file changed, 51 insertions(+), 54 deletions(-) + +commit 78f20627ac8f3387d0b4751d8bf66ce85676f8f4 +Author: Neil Roberts +Date: Thu Jul 4 13:32:14 2013 +0100 + + wayland: Don't pass the shell and compositor down to Cogl + + The Wayland 1.0 API allows orthoganal components of an application to + query the shell and compositor themselves by querying their own + wl_registry. The corresponding API in Cogl has been removed so Clutter + shouldn't call it anymore. + + https://bugzilla.gnome.org/show_bug.cgi?id=703878 + + clutter/wayland/clutter-backend-wayland.c | 4 ---- + 1 file changed, 4 deletions(-) + +commit 6c66148faf4b637c64d0e4fb1729422cf9808fa5 +Author: Neil Roberts +Date: Thu Jul 4 13:28:45 2013 +0100 + + Update ClutterWaylandSurface to use a resource instead of wl_buffer + + The Wayland server API has changed so that wl_shm_buffer is no longer + a type of wl_buffer and wl_buffer will become an opaque type. This + changes ClutterWaylandSurface to accept resources for a wl_buffer + instead of directly taking the wl_buffer so that it can do different + things depending on whether the resource points to an SHM buffer or a + normal buffer. This matches similar changes to Cogl: + + https://git.gnome.org/browse/cogl/commit/?id=9b35e1651ad0e46ed48989 + + https://bugzilla.gnome.org/show_bug.cgi?id=703608 + + clutter/wayland/clutter-wayland-surface.c | 25 +++++++++++++++---------- + clutter/wayland/clutter-wayland-surface.h | 4 ++-- + 2 files changed, 17 insertions(+), 12 deletions(-) + +commit fa8809d716f3c96966f510f607f9c318faea5a48 +Author: Neil Roberts +Date: Tue Jul 9 16:08:53 2013 +0100 + + Add COGL_DISABLE_DEPRECATION_WARNINGS to the build flags + + Cogl 1.16 has deprecated a lot of API which it will be difficult for + Clutter to catch up with. For the time being the warnings are just + being disabled to keep the build output clean. + + https://bugzilla.gnome.org/show_bug.cgi?id=703877 + + clutter/Makefile.am | 1 + + clutter/deprecated/clutter-rectangle.c | 1 - + clutter/deprecated/clutter-shader.c | 1 - + clutter/deprecated/clutter-texture.c | 1 - + 4 files changed, 1 insertion(+), 3 deletions(-) + +commit 2db5ae56cf50cf76065c381aab7a05a1695f2f12 +Author: Neil Roberts +Date: Tue Jul 9 16:07:57 2013 +0100 + + Bump the required Cogl version to 1.15.1 + + The unstable Wayland API which Clutter is using has changed so it will + soon no longer build with Cogl 1.14 when Wayland support is enabled. + + https://bugzilla.gnome.org/show_bug.cgi?id=703877 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dfe619856307fb416c6d2fd5ef3d7fe31b21d13d +Author: Emmanuele Bassi +Date: Wed Jul 10 13:24:12 2013 +0100 + + Post-release version bump to 1.15.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 88f6bcdf731915c9ff1a9644d85c2a696b5f63c6 +Author: Emmanuele Bassi +Date: Wed Jul 10 12:32:25 2013 +0100 + + Release Clutter 1.15.2 (snapshot) + + NEWS | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 73 insertions(+), 1 deletion(-) + +commit edb6e66d90d2abae91b3cda25fb6029be24e1a14 +Author: Emmanuele Bassi +Date: Wed Jul 10 12:31:32 2013 +0100 + + build: Fix distcheck for conformance tests + + We need to export G_TEST_SRCDIR and G_TEST_BUILDDIR if we want to be + able to build the path to the tests data. + + tests/conform/Makefile.am | 12 ++++++++++-- + tests/data/Makefile.am | 7 ++++++- + 2 files changed, 16 insertions(+), 3 deletions(-) + +commit 7fe7d56ae9d429ae346dc770e65006b26f8490ed +Author: Emmanuele Bassi +Date: Wed Jul 10 11:54:24 2013 +0100 + + docs: Add missing symbols + + doc/reference/clutter/clutter-sections.txt | 39 +++++++++++++++++++----------- + 1 file changed, 25 insertions(+), 14 deletions(-) + +commit eed94960562693e489354afb2a78a355301515fa +Author: Lionel Landwerlin +Date: Tue Jul 9 16:46:35 2013 +0100 + + clutter-text: prevent text buffer creation if not needed + + When allocating or asking for preferred width/height on a ClutterText, + it can notify a change on buffer/text/max-length if no text has been + set. + + https://bugzilla.gnome.org/show_bug.cgi?id=703882 + + clutter/clutter-text.c | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +commit 6227f7a0f55fdf3f6a0cc7b5fe83c2387bc1280f +Author: Emmanuele Bassi +Date: Thu Jul 4 21:53:38 2013 +0100 + + actor: Deprecate realize and unrealize + + There is no reasonable use case for having the functions, the virtual + functions, and the signals for realization and unrealization; the + concept belongs to an older era, when we though it would have been + possible to migrate actors across different GL contexts, of in case a GL + context would not have been available until the main loop started + spinning. That is most definitely not possible today, and too much code + would utterly break if we ever supported that. + + clutter/clutter-actor.c | 56 +++++++++++++++++++++++++++++++++++-------------- + clutter/clutter-actor.h | 13 ++++++++---- + 2 files changed, 49 insertions(+), 20 deletions(-) + +commit 7df59887d7160532a1a3199d461ecbf5197cb271 +Author: Rob Bradford +Date: Thu Jun 27 16:01:56 2013 +0100 + + wayland: Use a fake millisecond monotonic time source for event times + + The majority of Clutter input events require a time so that that the + upper levels of abstraction can identify the ordering of events and also + work out a click count. + + Although some Wayland events have microsecond timestamps not all those + that Clutter expects do have. Therefore we would need to create some + fake times for those events. Instead we always calculate our own time + using the monotonic time. + + https://bugzilla.gnome.org/show_bug.cgi?id=697285 + + clutter/wayland/clutter-input-device-wayland.c | 23 +++++++++++++++++------ + 1 file changed, 17 insertions(+), 6 deletions(-) + +commit 8df5aba361142b8b26d940d6bcc9a64cad5c7733 +Author: Rob Bradford +Date: Wed Jul 3 18:49:23 2013 +0100 + + wayland: add support for connecting to a foreign display + + This allows the reuse of the display connection and hence objects with + existing code that is using Wayland. + + https://bugzilla.gnome.org/show_bug.cgi?id=703566 + + clutter/clutter.symbols | 1 + + clutter/wayland/clutter-backend-wayland.c | 36 +++++++++++++++++++++++++++++- + clutter/wayland/clutter-wayland.h | 5 ++++- + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 41 insertions(+), 2 deletions(-) + +commit 5b614cda1cd6032d7a0b1d9823219bc336086246 +Author: Emmanuele Bassi +Date: Thu Jul 4 16:32:58 2013 +0100 + + paint-nodes: Use the correct wrap mode for TextureNode + + If we allow content repeats on the texture nodes, then we need to use + the "automatic" wrap mode for the texture layer in the pipeline, instead + of the clamp-to-edge one. + + Reported-by: Matthew Watson + Signed-off-by: Emmanuele Bassi + + clutter/clutter-paint-nodes.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1f37798b4c52185dbf447f8b596f2b8fcdfa1608 +Author: Emmanuele Bassi +Date: Thu Jul 4 16:12:27 2013 +0100 + + Revert "cogl: Replace deprecated Cogl API" + + This reverts commit 6dd9da05c788473a7d19693036f814154e1a37dc. + + Windowing system features we need are not mapped on cogl_has_feature(). + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/clutter-stage-cogl.c | 60 +++++++++++++++++---------------------- + 1 file changed, 26 insertions(+), 34 deletions(-) + +commit 52e0ec92b7f9dc6912796e10146e8171fe61ac2c +Author: Emmanuele Bassi +Date: Thu Jul 4 15:48:39 2013 +0100 + + build: Remove the wrappers directory on clean + + tests/conform/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 6dd9da05c788473a7d19693036f814154e1a37dc +Author: Emmanuele Bassi +Date: Wed Jul 3 18:35:55 2013 +0100 + + cogl: Replace deprecated Cogl API + + clutter/cogl/clutter-stage-cogl.c | 60 ++++++++++++++++++++++----------------- + 1 file changed, 34 insertions(+), 26 deletions(-) + +commit 5a061ed4a3762431f6080b1d962060c8581aa2bf +Author: Emmanuele Bassi +Date: Wed Jul 3 18:35:44 2013 +0100 + + gdk: Replace deprecated Cogl API + + clutter/gdk/clutter-backend-gdk.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit dc7d42d87ab8ef6f571685e3a8910ae3a0a5debc +Author: Emmanuele Bassi +Date: Wed Jul 3 18:24:27 2013 +0100 + + x11: Replace deprecated Cogl API + + clutter/x11/clutter-backend-x11.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit 5cc7a1ee57945acd13c2425fa469db33121e5207 +Author: Emmanuele Bassi +Date: Wed Jul 3 18:15:31 2013 +0100 + + deprecated: Disable Cogl deprecation warnings + + Like we do for Clutter: we know we are using deprecated API. + + clutter/deprecated/clutter-rectangle.c | 1 + + clutter/deprecated/clutter-shader.c | 1 + + clutter/deprecated/clutter-texture.c | 7 ++++--- + 3 files changed, 6 insertions(+), 3 deletions(-) + +commit bb45f1797908d850d48fb165b210529c72b14209 +Author: Emmanuele Bassi +Date: Wed Jul 3 18:04:40 2013 +0100 + + deprecated: Use the new macros for instance private data + + clutter/deprecated/clutter-alpha.c | 24 +++++++---------- + clutter/deprecated/clutter-animation.c | 7 ++--- + clutter/deprecated/clutter-animator.c | 7 ++--- + clutter/deprecated/clutter-behaviour-depth.c | 14 ++++------ + clutter/deprecated/clutter-behaviour-ellipse.c | 17 ++++-------- + clutter/deprecated/clutter-behaviour-opacity.c | 20 ++++---------- + clutter/deprecated/clutter-behaviour-path.c | 32 ++++++++--------------- + clutter/deprecated/clutter-behaviour-rotate.c | 33 ++++++++++------------- + clutter/deprecated/clutter-behaviour-scale.c | 14 ++++------ + clutter/deprecated/clutter-behaviour.c | 24 +++++++---------- + clutter/deprecated/clutter-box.c | 8 ++---- + clutter/deprecated/clutter-cairo-texture.c | 36 ++++++++++++-------------- + clutter/deprecated/clutter-group.c | 7 ++--- + clutter/deprecated/clutter-rectangle.c | 29 +++++++++------------ + clutter/deprecated/clutter-score.c | 16 ++++++------ + clutter/deprecated/clutter-shader.c | 8 ++---- + clutter/deprecated/clutter-state.c | 12 +++------ + clutter/deprecated/clutter-texture.c | 24 ++++++++--------- + 18 files changed, 123 insertions(+), 209 deletions(-) + +commit 41bb03da2d5fa6fb4a60c1fb043c43d94cd0e92e +Author: Emmanuele Bassi +Date: Wed Jul 3 14:14:01 2013 +0100 + + Use the new macros for adding private data + + clutter/clutter-actor-meta.c | 14 +++------ + clutter/clutter-actor.c | 10 ++----- + clutter/clutter-backend.c | 20 ++++--------- + clutter/clutter-bin-layout.c | 14 ++++----- + clutter/clutter-box-layout.c | 32 ++++++++------------ + clutter/clutter-canvas.c | 7 ++--- + clutter/clutter-click-action.c | 8 ++--- + clutter/clutter-clone.c | 22 +++++--------- + clutter/clutter-deform-effect.c | 12 +++----- + clutter/clutter-device-manager.c | 12 +++----- + clutter/clutter-drag-action.c | 7 ++--- + clutter/clutter-drop-action.c | 7 ++--- + clutter/clutter-flow-layout.c | 12 +++----- + clutter/clutter-gesture-action.c | 7 ++--- + clutter/clutter-grid-layout.c | 25 +++++++--------- + clutter/clutter-image.c | 6 ++-- + clutter/clutter-interval.c | 27 +++++++---------- + clutter/clutter-keyframe-transition.c | 12 +++----- + clutter/clutter-layout-manager.c | 12 +------- + clutter/clutter-layout-manager.h | 3 +- + clutter/clutter-list-model.c | 21 +++++-------- + clutter/clutter-model.c | 38 +++++++---------------- + clutter/clutter-offscreen-effect.c | 12 +++----- + clutter/clutter-pan-action.c | 15 ++++------ + clutter/clutter-path.c | 9 ++---- + clutter/clutter-property-transition.c | 8 ++--- + clutter/clutter-rotate-action.c | 8 ++--- + clutter/clutter-script.c | 6 ++-- + clutter/clutter-scroll-actor.c | 7 ++--- + clutter/clutter-shader-effect.c | 7 ++--- + clutter/clutter-stage.c | 20 +++++-------- + clutter/clutter-swipe-action.c | 8 ++--- + clutter/clutter-table-layout.c | 14 ++------- + clutter/clutter-text-buffer.c | 18 +++++------ + clutter/clutter-text.c | 45 +++++++++++++--------------- + clutter/clutter-timeline.c | 31 ++++++++----------- + clutter/clutter-transition-group.c | 9 ++---- + clutter/clutter-transition.c | 7 ++--- + clutter/clutter-zoom-action.c | 8 ++--- + clutter/evdev/clutter-device-manager-evdev.c | 19 ++++-------- + clutter/evdev/clutter-input-device-evdev.c | 15 +++------- + clutter/wayland/clutter-wayland-surface.c | 16 ++++------ + clutter/x11/clutter-x11-texture-pixmap.c | 13 +++----- + 43 files changed, 210 insertions(+), 413 deletions(-) + +commit 8532ca21043dd619f903ff3ba4cb38dd050852c0 +Author: Emmanuele Bassi +Date: Wed Jul 3 14:02:09 2013 +0100 + + cally: Use the new macros for adding private data + + clutter/cally/cally-actor.c | 28 +++++++++++----------------- + clutter/cally/cally-root.c | 12 ++++-------- + clutter/cally/cally-stage.c | 25 +++++++++---------------- + clutter/cally/cally-text.c | 24 ++++++++++-------------- + 4 files changed, 34 insertions(+), 55 deletions(-) + +commit 13e3fc286df1a235ec553addaddf20f8c8ba768b +Author: Emmanuele Bassi +Date: Wed Jul 3 14:01:36 2013 +0100 + + build: Bump up the GLib dependency + + We need the new macros for declaring private instance data. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2e905dd9d485f932a40d94ba776492a3a6101866 +Author: Emmanuele Bassi +Date: Wed Jul 3 13:13:41 2013 +0100 + + Fix annotations for signal arguments + + The introspection scanner started warning about mismatched arguments + number. + + clutter/clutter-actor.c | 4 ++++ + clutter/x11/clutter-x11-texture-pixmap.c | 4 ++++ + 2 files changed, 8 insertions(+) + +commit 575b77210b448477da5a4d546579fe13b5f8a9c6 +Author: Emmanuele Bassi +Date: Wed Jul 3 13:08:26 2013 +0100 + + build: Add *.test pattern to the ignored files list + + tests/conform/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit f1769d9423c36b98bed5ab0adebdcbc874a215f0 +Author: Emmanuele Bassi +Date: Tue Jul 2 23:21:45 2013 +0100 + + conform/actor-layout: Remove the continuous redraw + + We just need one paint cycle. + + tests/conform/actor-layout.c | 44 ++++++++++++++++++-------------------------- + 1 file changed, 18 insertions(+), 26 deletions(-) + +commit 3dad01ac22cdb40c620ebef6f435de29ad672cee +Author: Emmanuele Bassi +Date: Tue Jul 2 22:36:11 2013 +0100 + + conform: Drop the Cogl tests + + Cogl has its own (way, way better) test suite these days, so we can drop + our own units here. + + tests/conform/Makefile.am | 20 - + tests/conform/test-cogl-atlas-migration.c | 133 ------- + tests/conform/test-cogl-fixed.c | 18 - + tests/conform/test-cogl-materials.c | 383 ------------------- + tests/conform/test-cogl-multitexture.c | 208 ----------- + tests/conform/test-cogl-npot-texture.c | 240 ------------ + tests/conform/test-cogl-object.c | 86 ----- + tests/conform/test-cogl-premult.c | 368 ------------------ + tests/conform/test-cogl-readpixels.c | 174 --------- + tests/conform/test-cogl-texture-get-set-data.c | 168 --------- + tests/conform/test-cogl-texture-mipmaps.c | 137 ------- + tests/conform/test-cogl-texture-pixmap-x11.c | 250 ------------- + tests/conform/test-cogl-texture-rectangle.c | 307 --------------- + tests/conform/test-cogl-vertex-buffer-contiguous.c | 258 ------------- + tests/conform/test-cogl-vertex-buffer-interleved.c | 158 -------- + tests/conform/test-cogl-vertex-buffer-mutability.c | 199 ---------- + tests/conform/test-cogl-viewport.c | 412 --------------------- + tests/conform/test-conform-main.c | 27 -- + 18 files changed, 3546 deletions(-) + +commit 1124fa9a10ebecc729b16dc99f9039e105a2c37e +Author: Emmanuele Bassi +Date: Tue Jul 2 22:33:58 2013 +0100 + + conform: Drop the TODO macro from the harness + + The TODO macro is barely used, and it's implemented in terms of + deprecated, not portable API. Let's drop it. + + tests/conform/test-conform-main.c | 36 ++---------------------------------- + 1 file changed, 2 insertions(+), 34 deletions(-) + +commit 4a05ac34fca7988c3ea8155b779fb7d4cf071c6b +Author: Emmanuele Bassi +Date: Tue Jul 2 22:24:31 2013 +0100 + + build: Disable Cogl deprecation warnings for tests + + We are exercising all sorts of deprecated API anyway. + + tests/conform/Makefile.am | 1 + + tests/interactive/Makefile.am | 1 + + tests/micro-bench/Makefile.am | 1 + + tests/performance/Makefile.am | 1 + + 4 files changed, 4 insertions(+) + +commit 4787ae2f638bc35c48caec2515427cf85aed25e2 +Author: Emmanuele Bassi +Date: Tue Jul 2 22:04:37 2013 +0100 + + conform: Move timeline-base under conditional check + + The timeline base test unit is pretty slow, and under heavy load it will + tend to fail because of skipped frames. We should put it under + conditional testing and only run it if `-m slow` is passed to the test + harness. + + tests/conform/test-conform-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f1971844b9251659106426faff007ea42e8b594e +Author: Emmanuele Bassi +Date: Tue Jul 2 22:00:23 2013 +0100 + + conform: Use a repaint function + + Timeouts and idles are subject to the whims of the load of the machine + running the tests, as we found out with the new installed tests and + OSTree-based VM running the conformance test suite continuously. + + We should be able to use a repaint function and a blocking loop that + either is terminated because we hit g_assert(), or because a flag gets + toggled once we know that the Stage has been at least painted once. + + The currently enabled tests using clutter_stage_read_pixels() have been + updated to this approach. + + https://bugzilla.gnome.org/show_bug.cgi?id=703476 + + tests/conform/actor-layout.c | 31 ++++--------- + tests/conform/actor-offscreen-redirect.c | 78 ++++++++++++++------------------ + tests/conform/texture-fbo.c | 43 ++++++++---------- + 3 files changed, 64 insertions(+), 88 deletions(-) + +commit e352047499873efb56afe5c60a397ec31f0d13c3 +Author: Rob Bradford +Date: Thu Jun 27 14:22:02 2013 +0100 + + wayland: make the surface toplevel when showing the stage + + Cogl (as of 0b2b46ce) now only sets the shell surface as toplevel when + the CoglOnscreen is shown. + + Without calling wl_shell_surface_set_toplevel the compositor will not + know what role to give to the compositor and thus the stage will not + appear. + + When we look to support multiple roles / foreign surfaces we will need + to revisit this call and ensure we only call it when we are working in + the default case. + + https://bugzilla.gnome.org/show_bug.cgi?id=703188 + + clutter/wayland/clutter-stage-wayland.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 5758ab5c89a6f2a6deebdf3f068489023e591441 +Author: Rob Bradford +Date: Thu Jun 27 14:45:01 2013 +0100 + + wayland: Do not poll the Wayland socket for events + + Since Cogl also polls on this file descriptor we can get into situations + where our event source is woken up to handle events but those events + have instead been handled by Cogl resulting in the source sitting in + poll(). + + We can safely rely on Cogl to handle the polling on the event source and + to dispatch those events. + + https://bugzilla.gnome.org/show_bug.cgi?id=702202 + + clutter/wayland/clutter-event-wayland.c | 15 +-------------- + 1 file changed, 1 insertion(+), 14 deletions(-) + +commit 1fb0295ba162507fb798b2b7030f0f45ff252f27 +Author: Emmanuele Bassi +Date: Thu Jun 27 16:42:40 2013 +0100 + + build: Enable Cogl support with Wayland + + The Wayland backend is based on Cogl, so we need to turn on the + SUPPORT_COGL flag to avoid breaking the build; this always went + unnoticed because we usually build the Wayland client backend + with the X11 backend. + + Reported-by: Ross Burton + + configure.ac | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 180e7d74f3325731ac5e91350233c26200a44fd7 +Author: Adel Gadllah +Date: Tue Jun 25 15:04:19 2013 +0200 + + clutter-offscreen-effect: Allocate the cogl texture directly + + Cogl now lazy loads the textures so we cannot rely on getting NULL + from cogl_texture_new_with_size so we have to allocate it by ourselves. + + https://bugzilla.redhat.com/show_bug.cgi?id=975171 + + clutter/clutter-offscreen-effect.c | 18 +++++++++++++++--- + 1 file changed, 15 insertions(+), 3 deletions(-) + +commit 8ac93460467e27f92e6fcc1e30f5d4f387449a37 +Author: Colin Walters +Date: Mon Jun 24 20:30:40 2013 +0100 + + tests/conform/texture-fbo: Log failure better + + We might as well print out exactly which assertion failed. + + tests/conform/texture-fbo.c | 19 ++++++++----------- + 1 file changed, 8 insertions(+), 11 deletions(-) + +commit de20785b1b5975dacdfef59c072f4e195542b130 +Author: Emmanuele Bassi +Date: Mon Jun 24 19:43:44 2013 +0100 + + conform: Conditionally execute the texture-fbo unit + + If we don't have support for offscreen buffers, then there's no point in + testing FBO support in ClutterTexture — a feature that has been long + since deprecated, on a deprecated class. + + tests/conform/texture-fbo.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 18917259fe70eb6809b17a7832ee5c82c7e15057 +Author: Colin Walters +Date: Mon Jun 24 14:11:30 2013 -0400 + + Revert "Install a11y tests too" + + This reverts commit 2b4f47d4443bd4625dfbc02eb38faed926d0758d. + + These are presently "examples" (because they're just run + interactively, not automatable tests). + + Conflicts: + tests/accessibility/Makefile.am + + tests/accessibility/Makefile.am | 21 --------------------- + 1 file changed, 21 deletions(-) + +commit ada04546f07e5dd9c2eae86d3be7f27d750ca531 +Author: Matthias Clasen +Date: Mon Jun 24 13:37:41 2013 -0400 + + Fix build with --enable-installed-tests + + Space, the ultimate frontier...and the breaker of Makefiles. + + tests/accessibility/Makefile.am | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 30842868742c9a215346d9906083c8566a743d2e +Author: Matthias Clasen +Date: Sun Jun 23 23:17:25 2013 -0400 + + Install a11y tests too + + https://bugzilla.gnome.org/show_bug.cgi?id=702941 + + tests/accessibility/Makefile.am | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit e98f32b7c811c3b1417d9dc3ad2db6babd35ab62 +Author: Matthias Clasen +Date: Sun Jun 23 22:53:13 2013 -0400 + + Install conformance tests + + Install the conformance tests, and metadata to run them + with gnome-desktop-testing-runner. + + https://bugzilla.gnome.org/show_bug.cgi?id=702941 + + configure.ac | 6 ++++++ + tests/conform/Makefile.am | 27 ++++++++++++++++++++++++++- + tests/conform/test-conform-main.c | 2 +- + tests/data/Makefile.am | 5 +++++ + 4 files changed, 38 insertions(+), 2 deletions(-) + +commit 4d8d5a62f34182f6e8e2866d6203c31b79d4ea6c +Author: Cosimo Cecchi +Date: Tue Jun 18 16:37:31 2013 -0700 + + text: relayout on cursor visibility change + + When the cursor visibility changes, we have to relayout the ClutterText + actor instead of just redrawing it - as the cursor changes the + PangoLayout size, a size request cycle is needed. + + https://bugzilla.gnome.org/show_bug.cgi?id=702610 + + clutter/clutter-text.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit c0b148232d46b41ad330428549544e2b6454c41b +Author: Emmanuele Bassi +Date: Sat Jun 15 12:12:43 2013 +0100 + + examples: Remove a stray restore_easing_state() + + The DropAction example has an additional restore_easing_state() on the + handle which will produce a warning. + + examples/drop-action.c | 1 - + 1 file changed, 1 deletion(-) + +commit 18f7a4aa12a0563283b3788d95ed837540da330f +Author: Emmanuele Bassi +Date: Sat Jun 15 11:54:18 2013 +0100 + + actor: Remove the was_painted flag + + While we still don't want to perform implicit transitions on unmapped + actors, we can relax the requirement on having been painted once; the + was_painted flag was introduced to avoid performing implicit transitions + on the :allocation property, but for that we can use the + needs_allocation flag instead, as needs_allocation will be set to FALSE + when we have been painted as well. + + Thus, we retain our original goal of not having actors "flying" into + position on their first allocation, without the side effect of + preventing animations when emitting the ::show signal. + + clutter/clutter-actor.c | 73 +++++++++++++++++++------------------------------ + 1 file changed, 28 insertions(+), 45 deletions(-) + +commit fa933b5ec52d5ade2ca8eddefbd2de35d941c385 +Author: Lionel Landwerlin +Date: Tue Jun 11 14:01:30 2013 +0100 + + clutter-text: prevent reset of user set font descriptions on dpi changes + + When setting the font using clutter_text_set_font_description(), the + font settings on a ClutterText actor can be reset when there is a dpi + changes signaled by the backend. + + https://bugzilla.gnome.org/show_bug.cgi?id=702016 + + clutter/clutter-text.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +commit 3bcee2b1225d266b79ee5f05b03f621728d82d9e +Author: Sjoerd Simons +Date: Sat May 25 01:20:32 2013 +0200 + + gesture-action: begin gesture as soon as the number of touchpoints is reached + + 1ddef9576d87c98fafbcefe3108f04866630c2cd had its logic the + wrong way round, a gesture should begin as soon as the requested number + of touchpoints is reached. Correcting this fixes tap events + + https://bugzilla.gnome.org/show_bug.cgi?id=700980 + + clutter/clutter-gesture-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 76fb468319ab1c5c4942d9de6d92075ddc22c54d +Author: Samuel Degrande +Date: Wed Jun 12 10:40:36 2013 +0100 + + deform-effect: Set cull-face mode on the correct pipeline + + Fix a function call to set the cull-face mode of the back_pipeline: + the function was called on the 'front-pipeline' instead of the + back-pipeline. + + https://bugzilla.gnome.org/show_bug.cgi?id=701208 + + clutter/clutter-deform-effect.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 150090c19b1370c125d57bfe2676669162940941 +Author: Emmanuele Bassi +Date: Wed Jun 12 10:27:37 2013 +0100 + + conform: Ensure that we don't leak references + + Especially on actors that are not parented and get destroyed. + + tests/conform/actor-graph.c | 26 ++++++++++++++++++-------- + tests/conform/actor-invariants.c | 18 ++++++++++-------- + 2 files changed, 28 insertions(+), 16 deletions(-) + +commit e54246dd6957c45fe8ee4005c11d055e4c02f57e +Author: Craig R. Hughes +Date: Thu Mar 28 14:01:04 2013 -0700 + + Extra ref leak in clutter_actor_set_child_at_index too + + https://bugzilla.gnome.org/show_bug.cgi?id=696813 + + clutter/clutter-actor.c | 1 + + 1 file changed, 1 insertion(+) + +commit 90f68edbdafc3a9a1c06c5cd414773ebb29d6071 +Author: Craig R. Hughes +Date: Thu Mar 28 13:51:41 2013 -0700 + + clutter_actor_set_child_above/below_sibling leaking a reference + + https://bugzilla.gnome.org/show_bug.cgi?id=696813 + + clutter/clutter-actor.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit caf695919578ee7a37861ce91d67922c2d9a85f7 +Author: Emmanuele Bassi +Date: Wed Jun 12 10:01:50 2013 +0100 + + conform: Add suite for actor's meta objects + + tests/conform/Makefile.am | 1 + + tests/conform/actor-meta.c | 41 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 ++ + 3 files changed, 44 insertions(+) + +commit cbf01998040d6213ea79fe5320ee90612200596d +Author: Emmanuele Bassi +Date: Wed Jun 12 09:51:10 2013 +0100 + + actor: Fix has_constraints() and has_actions() + + When we changed the MetaGroup to handle internal effects, we updated + has_effects(), but forgot to fix the equivalent has_constrains() and + has_actions() method. + + Now, if we clear the constraints or the actions on an actor, and we + call has_constraints() or has_actions(), we get an false positive. + + clutter/clutter-actor.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit e1fe999db05b857b13c408187edcf440fe4e2d51 +Author: Emmanuele Bassi +Date: Sun Jun 9 17:38:19 2013 +0100 + + stage: Ensure that we don't pick during destruction + + When destroying a ClutterStage we should just skip picking operations, + to avoid calling into a state that is being torn down. + + clutter/clutter-stage.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit d343cc6289583a7b0d929b82b740499ed588b1ab +Author: Matthias Clasen +Date: Mon Jun 10 21:41:24 2013 -0400 + + x11: trap errors when calling XIQueryDevice + + Devices can disappear at any time, causing XIQueryDevice + to throw an error. At the same time, plug a memory leak. + + https://bugzilla.gnome.org/show_bug.cgi?id=701974 + + clutter/x11/clutter-device-manager-xi2.c | 30 ++++++++++++++++++++++-------- + 1 file changed, 22 insertions(+), 8 deletions(-) + +commit da6abc6fc946660cce261e03e86ee9c25087e926 +Author: Marek Černocký +Date: Tue Jun 4 12:16:35 2013 +0200 + + Updated Czeach translation + + po/cs.po | 100 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 52 insertions(+), 48 deletions(-) + +commit ab4ece3e9c8be52064b70e6212ddb5a23666ad20 +Author: Fran Diéguez +Date: Sun Jun 2 00:29:05 2013 +0200 + + Updated Galician translations + + po/gl.po | 672 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 342 insertions(+), 330 deletions(-) + +commit 0065fb459cdd856797eb265e10c56a030d3dc48f +Author: Emmanuele Bassi +Date: Wed May 22 14:34:22 2013 +0100 + + Revert "units: Handle negative values in clutter_units_from_string()" + + Stray commit got pushed too soon. + + This reverts commit 44f283bb72a3c1236629f7fe36ed5dc75bbb07e7. + + clutter/clutter-units.c | 13 ------------- + tests/conform/units.c | 4 ---- + 2 files changed, 17 deletions(-) + +commit 44f283bb72a3c1236629f7fe36ed5dc75bbb07e7 +Author: Bastian Winkler +Date: Wed May 22 15:10:28 2013 +0200 + + units: Handle negative values in clutter_units_from_string() + + In order to allow values like "-2cm" in ClutterScript, + clutter_units_from_string() needs to handle negative values as well. + + clutter/clutter-units.c | 13 +++++++++++++ + tests/conform/units.c | 4 ++++ + 2 files changed, 17 insertions(+) + +commit 12de1ab9cd7bbba3cac708ac3c757691ed26833d +Author: Milo Casagrande +Date: Sun May 19 13:02:15 2013 +0200 + + [l10n] Updated Italian translation. + + po/it.po | 668 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 340 insertions(+), 328 deletions(-) + +commit 19391a9626b087bd4df452e8699d53caa54c350f +Author: Emmanuele Bassi +Date: Mon May 6 15:46:25 2013 -0700 + + cally: Use a weak pointer to hold the key focus in CallyStage + + We want to avoid the pointer getting stale, and causing crashes. + + https://bugzilla.gnome.org/show_bug.cgi?id=692706 + + clutter/cally/cally-stage.c | 20 ++++++++++++++++++-- + 1 file changed, 18 insertions(+), 2 deletions(-) + +commit 0f0ed31a5a7429e8cd516aafa3934fd1bac15b85 +Author: Emmanuele Bassi +Date: Wed May 15 21:19:51 2013 +0100 + + gitignore: Add test-driver + + New script, courtesy of autotools 1.13. + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 755f41f5595dcc18bb974bf182677224940ecfb9 +Author: Emmanuele Bassi +Date: Wed May 15 20:08:02 2013 +0100 + + canvas: Remove invalidate_with_size() + + We can replace it by adding a return value to set_size() that can tell + us if the set_size() invalidated the contents of the canvas or not. + + clutter/clutter-canvas.c | 89 +++++++++++++++++++++++++----------------------- + clutter/clutter-canvas.h | 6 +--- + 2 files changed, 47 insertions(+), 48 deletions(-) + +commit 323ec19dccca6b8930f7175278ae1249700031a5 +Author: Emmanuele Bassi +Date: Wed May 15 15:18:13 2013 +0100 + + build: Remove INCLUDES directives + + They have been deprecated for a while, replaced by AM_CPPFLAGS. + + clutter/Makefile.am | 21 +++++++++------------ + doc/cookbook/examples/Makefile.am | 14 ++++++-------- + doc/reference/cally/Makefile.am | 7 ++++++- + doc/reference/clutter/Makefile.am | 8 +++++++- + examples/Makefile.am | 12 +++++------- + tests/conform/Makefile.am | 12 +++++------- + tests/interactive/Makefile.am | 12 +++++------- + tests/micro-bench/Makefile.am | 16 +++++++--------- + tests/performance/Makefile.am | 17 ++++++++--------- + 9 files changed, 58 insertions(+), 61 deletions(-) + +commit c9583792cb05c5f15a1a9f312ff1444c9b5b7eb8 +Author: Emmanuele Bassi +Date: Wed May 15 15:07:15 2013 +0100 + + build: Fix up the silent rules prefixes + + Automake increased the whitespace, so we need to do that for our "I + Can't Believe It's Not Autotool™" rules. + + build/autotools/Makefile.am.silent | 8 ++++---- + tests/conform/Makefile.am | 4 ++-- + tests/interactive/Makefile.am | 8 ++++---- + 3 files changed, 10 insertions(+), 10 deletions(-) + +commit d1041e1f4f5bedc6331e65a7faf60289f26f7fb0 +Author: Lionel Landwerlin +Date: Wed May 15 14:23:53 2013 +0100 + + conform: add offscreen effects fbo size check + + https://bugzilla.gnome.org/show_bug.cgi?id=699675 + + tests/conform/Makefile.am | 1 + + tests/conform/actor-offscreen-limit-max-size.c | 117 +++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 119 insertions(+) + +commit 9c6f3793e832e03ec72c63cd11f28601bf760f5b +Author: Lionel Landwerlin +Date: Sat May 4 17:37:33 2013 +0100 + + offscreen-effect: limit offscreen fbo size to the stage's size + + When using a ClutterOffscreenEffect, the size of the offscreen buffer + allocated to perform the effect is currently computed using the paint + volume of the actor it's attached to and in the case the paint volume + cannot be computed, the effect falls back to using the stage's size. + + If you scale an actor enough so its paint volume is much bigger that + the size of the stage, you can end up running out of memory (which + leads to your application crashing). + + https://bugzilla.gnome.org/show_bug.cgi?id=699675 + + clutter/clutter-offscreen-effect.c | 23 ++++++++++++++++------- + 1 file changed, 16 insertions(+), 7 deletions(-) + +commit 8a6aae14c8fad03ad19929f467b2263c1558de85 +Author: Chris Cummins +Date: Mon May 13 12:07:26 2013 +0100 + + docs: Add clutter-wayland section to reference docs + + Gives this stray section a home in the reference documentation. + + doc/reference/clutter/Makefile.am | 2 ++ + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 8 ++++++++ + 3 files changed, 11 insertions(+) + +commit 242f611863a93d6d73e63cb27ed9f559ded80e55 +Author: Chris Cummins +Date: Mon May 13 12:33:27 2013 +0100 + + clutter-input-device-wayland: Update indentifier name + + Fixes a discrepancy between the function name and the gtk-doc identifier + introduced in 8f4e39b6 when the Wayland input protocol changed. + + clutter/wayland/clutter-input-device-wayland.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3de7e494320e8e1d59777d0bf48d7fd4e9d9bd2e +Author: Chris Cummins +Date: Mon May 13 13:22:50 2013 +0100 + + docs: Remove empty line before parameter tags + + The gtk-doc parser has somewhat esoteric rules regarding blank lines and + paragraph breaks, causing these parameter descriptions to be missed. See: + + https://developer.gnome.org/gtk-doc-manual/stable/documenting_syntax.html.en + + clutter/wayland/clutter-input-device-wayland.c | 1 - + clutter/wayland/clutter-stage-wayland.c | 2 -- + 2 files changed, 3 deletions(-) + +commit a075c286f22b31d7129f6ad3bb74beec36da21f7 +Author: Chris Cummins +Date: Mon Apr 29 15:59:56 2013 +0100 + + clutter-stage-wayland: Pedantic typo fix + + Je ne parle pas français + + clutter/wayland/clutter-stage-wayland.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 15bed2d9bdf468fa2df9f32801f422999c8aeef0 +Author: Chris Cummins +Date: Tue May 7 11:50:32 2013 +0100 + + wayland: Add API version annotations + + Version numbers have been derived from source code comment blocks. + + clutter/wayland/clutter-stage-wayland.c | 2 ++ + clutter/wayland/clutter-wayland.h | 5 +++++ + 2 files changed, 7 insertions(+) + +commit f86cbdb14f9085585665379409517da2df76ce31 +Author: Daniel Mustieles +Date: Mon May 13 13:44:48 2013 +0200 + + Updated Spanish translation + + po/es.po | 94 +++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 48 insertions(+), 46 deletions(-) + +commit cd9ba0ad8de7f01aae7353aba5ff0d209510e118 +Author: Bastian Winkler +Date: Fri May 3 11:53:44 2013 -0400 + + flow-layout: Add :snap-to-grid property + + Add a :snap-to-grid property to FlowLayout to prevent the layout from + assigning it's children a position based on the size of the largest + child. + + https://bugzilla.gnome.org/show_bug.cgi?id=648873 + + clutter/clutter-flow-layout.c | 206 +++++++++++++++++++++++------ + clutter/clutter-flow-layout.h | 5 + + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + examples/flow-layout.c | 10 ++ + 5 files changed, 182 insertions(+), 43 deletions(-) + +commit fd9109e6d6817e485c8cf6b75a8ab897edf7cdb4 +Author: Emmanuele Bassi +Date: Mon May 6 10:20:36 2013 -0700 + + Fix up "allow-none" annotation + + clutter/clutter-stage.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit bc664cc24043185828f920936fadc079c6eeedf7 +Author: Emmanuele Bassi +Date: Mon May 6 10:02:24 2013 -0700 + + docs: Mention implicit animations checks in the release notes + + Don't want anybody to be taken by surprise by this. + + README.in | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 9424e995fa4c7ef60555a641561c5f6e44aa2276 +Author: Emmanuele Bassi +Date: Wed Apr 24 15:17:07 2013 -0400 + + actor: Improve conditions for skipping implicit transitions + + The "should this implicit transition be skipped" check should live into + its own function, where we can actually explain what it does and which + conditions should be respected. + + Instead of just blindly skipping actors that are unmapped, or haven't + been painted yet, we should add a couple of escape hatches. + + First of all, we don't want :allocation to be implicitly animated until + we have been painted (thus allocated) once; this avoids actors "flying + in" into their allocation. + + We also want to allow implicit transitions on the opacity even if we + haven't been painted yet; the internal optimization that we employ in + clutter_actor_paint() and skips painting fully transparent actors is + exactly that: an internal optimization. Caller code should not be aware + of this change, and it should not influence code outside of ClutterActor + itself. + + The rest of the conditions are the same: if the easing state's duration + is zero, or if the actor is both unmapped and not in a cloned branch of + the scene graph, then implicit transitions are pointless, as they won't + be painted. + + https://bugzilla.gnome.org/show_bug.cgi?id=698766 + + clutter/clutter-actor.c | 59 ++++++++++++++++++++++++++++++++++++++++--------- + 1 file changed, 49 insertions(+), 10 deletions(-) + +commit f92b78781d283ce16952b5ea1697ca440799fea4 +Author: Emmanuele Bassi +Date: Fri May 3 11:25:23 2013 -0700 + + stage: Use precomputed constants instead of trigonometric functions + + This should actually ensure that the calculations of the Z translation + for the projection matrix is resolved to "variable * CONSTANT". The + original factors are left in code so it's trivial to revert to the + trigonometric operations if need be, even without reverting this commit. + + clutter/clutter-stage.c | 35 +++++++++++++++++++++++++---------- + 1 file changed, 25 insertions(+), 10 deletions(-) + +commit d061a47573fbfec69ed6f2fd02f233e218830a6d +Author: Emmanuele Bassi +Date: Wed Apr 24 15:35:28 2013 -0400 + + stage: Add a paint callback + + The ClutterActor::paint signal is deprecated, and connecting to it even + to get notifications will disable clipped redraws because of violations + of the paint volume. + + The only actual valid use case for notifications of a successful frame + is on the ClutterStage, so we should add new (experimental) API for it, + so that users can actually subscribe to it — at least if you're writing + a compositor. + + Shoving a signal in a performance critical path is not an option, and + I'm not sure I want to commit to an API like this yet. I reserve the + right to revisit this decision in the future. + + https://bugzilla.gnome.org/show_bug.cgi?id=698783 + + clutter/clutter-stage.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++--- + clutter/clutter-stage.h | 9 ++++++++ + clutter/clutter.symbols | 1 + + 3 files changed, 62 insertions(+), 3 deletions(-) + +commit 264c67c2aa64cc1f6de6c1e9c7e8de16e01b3607 +Author: Emmanuele Bassi +Date: Thu Apr 11 13:05:03 2013 +0100 + + canvas: Allow invalidating the content along with the size + + Currently, clutter_canvas_set_size() causes invalidation of the canvas + contents only if the newly set size is different. There are cases when + we want to invalidate the content regardless of the size set, but we + cannot do that right now without possibly causing two invalidations, + for instance: + + clutter_canvas_set_size (canvas, new_width, new_height); + clutter_content_invalidate (canvas); + + will cause two invalidations if the newly set size is different than + the existing one. One way to work around it is to check the current + size of the canvas and either call set_size() or invalidate() depending + on whether the size differs or not, respectively: + + g_object_get (canvas, "width", &width, "height", &height, NULL); + if (width != new_width || height != new_height) + clutter_canvas_set_size (canvas, new_width, new_height); + else + clutter_content_invalidate (canvas); + + this, howevere, implies knowledge of the internals of ClutterCanvas, + and of its optimizations — and encodes a certain behaviour in third + party code, which makes changes further down the line harder. + + We could remove the optimization, and just issue an invalidation + regardless of the surface size, but it's not something I'd be happy to + do. Instead, we can add a new function specifically for ClutterCanvas + that causes a forced invalidation regardless of the size change. If we + ever decide to remove the optimization further down the road, we can + simply deprecate the function, and make it an alias of invalidate() + or set_size(). + + clutter/clutter-canvas.c | 76 +++++++++++++++++++++++++++++++++++------------- + clutter/clutter-canvas.h | 13 ++++++--- + 2 files changed, 64 insertions(+), 25 deletions(-) + +commit dc5284681c845f1ae7fabdb8657855c8fd430c48 +Author: Matej Urbančič +Date: Thu May 2 00:10:56 2013 +0200 + + Updated Slovenian translation + + po/sl.po | 634 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 322 insertions(+), 312 deletions(-) + +commit a25e801ce9e33560f9df3bb3453f4c45ca45832e +Author: Dimitris Spingos +Date: Sat Apr 27 06:16:24 2013 +0300 + + Updated Greek translation + + po/el.po | 637 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 323 insertions(+), 314 deletions(-) + +commit 51cc17fb2b7a8753feb56880560b657894ca15fe +Author: Marek Černocký +Date: Sat Apr 27 01:37:40 2013 +0200 + + Updated Czech translation + + po/cs.po | 631 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 320 insertions(+), 311 deletions(-) + +commit 0d8304087b401f38c086ae1ea14b5254288db9f5 +Author: Daniel Mustieles +Date: Thu Apr 25 12:36:45 2013 +0200 + + Updated Spanish translation + + po/es.po | 637 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 323 insertions(+), 314 deletions(-) + +commit f66108e43af0c07644e08c85c915dc76d21cceac +Author: Lionel Landwerlin +Date: Tue Apr 23 17:52:22 2013 -0700 + + zoom-action: improve zooming behavior + + https://bugzilla.gnome.org/show_bug.cgi?id=698674 + + clutter/clutter-zoom-action.c | 44 ++++++++++++++++++++++--------------------- + 1 file changed, 23 insertions(+), 21 deletions(-) + +commit 5a7a6ebfc46dee8fc17e80f724ef4fc992e99f3a +Author: Lionel Landwerlin +Date: Mon Apr 22 16:20:49 2013 -0700 + + gesture-action: refactor event handling function + + https://bugzilla.gnome.org/show_bug.cgi?id=698671 + + clutter/clutter-gesture-action.c | 118 ++++++++++++++++++++++++++------------- + 1 file changed, 78 insertions(+), 40 deletions(-) + +commit 321553b13913847b79d5585f59133cbb83c3f5fe +Author: Lionel Landwerlin +Date: Mon Apr 22 14:57:47 2013 -0700 + + gesture-action: fix trigger edge after behavior with more than 1 point + + https://bugzilla.gnome.org/show_bug.cgi?id=698669 + + clutter/clutter-gesture-action.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit fda406b4a810a59a2cbd5c7ffbf0c38fca8be40b +Author: Lionel Landwerlin +Date: Sun Apr 7 16:11:42 2013 +0100 + + gesture-action: add n-touch-points property + + https://bugzilla.gnome.org/show_bug.cgi?id=698668 + + clutter/clutter-gesture-action.c | 89 ++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 89 insertions(+) + +commit 82e5634117c23db033b3a9c62217a15d66a9267a +Author: Lionel Landwerlin +Date: Sun Apr 7 16:12:32 2013 +0100 + + gesture-action: avoid shadowing time() syscall function + + https://bugzilla.gnome.org/show_bug.cgi?id=698668 + + clutter/clutter-gesture-action.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit d691761985727e88f7950288411c88671f0d6ca9 +Author: Lionel Landwerlin +Date: Sun Apr 7 15:47:26 2013 +0100 + + gesture-action: fix typo + + https://bugzilla.gnome.org/show_bug.cgi?id=698668 + + clutter/clutter-gesture-action-private.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0538adc58cd7cea4751bc46964a53c7950a00250 +Author: Emmanuele Bassi +Date: Fri Apr 5 15:35:15 2013 +0100 + + timeline: Ensure the range on the cubic bezier control points + + The X coordinate has to be in the [ 0.0, 1.0 ] range. + + clutter/clutter-timeline.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 8c32637eea2bf23e171041cc24e2f354ad60ad44 +Author: Emmanuele Bassi +Date: Tue Mar 26 22:16:55 2013 +0000 + + Deprecate ClutterGeometry + + It's a bad rectangle type, with caveats and gotchas. We have better + types, courtesy of Cairo, as well as our own (ClutterRect). + + https://bugzilla.gnome.org/show_bug.cgi?id=682789 + + clutter/clutter-base-types.c | 4 ++++ + clutter/clutter-types.h | 6 +++++- + 2 files changed, 9 insertions(+), 1 deletion(-) + +commit 1724536cda40e7714b3ebc9d20163e3b2e09c6af +Author: Emmanuele Bassi +Date: Tue Mar 26 22:03:19 2013 +0000 + + text: Add ::cursor-changed signal + + Since we are trying to eliminate the ClutterGeometry type, we should + replace the only entry point still using it: the ::cursor-event signal + of ClutterText. + + Instead of passing the cursor geometry, we should add an accessor + function. + + The combination of signal and getter for the cursor geometry means that + we can deprecate ClutterText::cursor-event, and mark it for removal in + Clutter 2.0. + + https://bugzilla.gnome.org/show_bug.cgi?id=682789 + + clutter/clutter-text.c | 112 ++++++++++++++++++++++++++++++++++-------------- + clutter/clutter-text.h | 15 ++++--- + clutter/clutter.symbols | 1 + + 3 files changed, 90 insertions(+), 38 deletions(-) + +commit 03296e30e790cfb8b9cff5f3ce2a0eaa712f8e57 +Author: Emmanuele Bassi +Date: Mon Mar 25 17:57:28 2013 +0000 + + Fix compilers warnings when debugging is disabled + + clutter/clutter-script-parser.c | 8 ++------ + clutter/clutter-stage.c | 17 ++++++++--------- + clutter/x11/clutter-backend-x11.c | 7 +++---- + clutter/x11/clutter-stage-x11.c | 5 ++++- + 4 files changed, 17 insertions(+), 20 deletions(-) + +commit 75702fde4dd911b648808d8b79dc36abd1fad417 +Author: Emmanuele Bassi +Date: Mon Mar 25 17:39:06 2013 +0000 + + Bump the requirement for Cogl to its stable release + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 56844a2b753788c1df23bc209d1bf35e85d73e09 +Author: Emanuele Aina +Date: Mon Apr 1 19:10:36 2013 +0200 + + tap-action: Fix the docs, it does not require actors with children + + clutter/clutter-tap-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d5896d284ee39243f84bab903d1429d3cab35bf7 +Author: Neil Roberts +Date: Thu Mar 28 15:30:50 2013 +0000 + + wayland: Queue a redraw after showing the stage + + On the other backends we will get some sort of expose event after + showing the stage's window which will queue a redraw. These expose + events don't exist on Wayland so nothing will cause Clutter to queue a + redraw. Weston doesn't bother displaying anything for the stage's + surface until the first buffer is sent, which of course it will never + receive if Clutter doesn't paint anything. This patch just makes it + explicitly queue a redraw after the stage is shown so that we will + always pass at least one frame to the compositor. + + The bug can be seen by running test-stage-sizing. That example doesn't + have any animations so it won't try to queue any redraws until + something interacts with it. On the other hand something like + test-actors works fine without the patch because it constantly queues + redraws anyway in order to display the animation. + + https://bugzilla.gnome.org/show_bug.cgi?id=696791 + + clutter/wayland/clutter-stage-wayland.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 23707ac2426b48775cb8a5f54dd9e2458c5576fe +Author: Emmanuele Bassi +Date: Wed Mar 20 17:23:02 2013 -0300 + + Add version-related macros for 1.16 + + clutter/clutter-macros.h | 14 ++++++++++++++ + clutter/clutter-version.h.in | 10 ++++++++++ + 2 files changed, 24 insertions(+) + +commit b914ae70b1673b418f2f7be082916dc1271df0f4 +Author: Lionel Landwerlin +Date: Sun Mar 17 03:19:02 2013 +0000 + + actor: fix translation-z setting + + https://bugzilla.gnome.org/show_bug.cgi?id=695982 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6203be641f97643e6e4a7ec6e4ad5e37f56a068d +Author: Ask H. Larsen +Date: Sun Mar 17 14:58:17 2013 +0100 + + Updated Danish translation + + po/da.po | 712 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 356 insertions(+), 356 deletions(-) + +commit d66691693c90b287df07da712325c753bbba8c9c +Author: Duarte Loreto +Date: Fri Mar 15 14:34:38 2013 +0000 + + Updated Portuguese translation and converted to New Spelling (Novo AO) + + po/pt.po | 1024 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 515 insertions(+), 509 deletions(-) + +commit bbb54f1aedf33d6fb1155ff151f840c0c528fe37 +Author: Bastien Nocera +Date: Thu Mar 14 12:31:52 2013 +0100 + + clutter: Prefer the X11 backend to the Wayland one + + If clutter is built with both X11 and Wayland support, prefer the + (more complete for now) X11 backend. This matches GTK+'s current + ordering. + + This allows distributions to ship a clutter version with both backends + built, and using an envvar to switch to the wayland backend and test + applications. + + In the future, applications would be able to choose which backend + they prefer and in which order. + + https://bugzilla.gnome.org/show_bug.cgi?id=695838 + + clutter/clutter-main.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 73dbd179485c32584ecf44028b24336c5a4f916a +Author: Emmanuele Bassi +Date: Wed Mar 13 16:00:14 2013 -0300 + + symbols: Add missing symbol + + clutter/clutter.symbols | 1 + + 1 file changed, 1 insertion(+) + +commit 59bd04485991edd4fa61c8b989d226816fadda54 +Author: Emmanuele Bassi +Date: Wed Mar 13 15:46:16 2013 -0300 + + docs: Add missing symbol to the list + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 8f032d595263a2f4fdb057ae5d954ee8236e96cf +Author: Emmanuele Bassi +Date: Thu Mar 7 19:33:59 2013 +0000 + + actor: Skip transitions on invisible actors + + If an actor has not been painted yet, or it's not going to be painted, + we can ignore transitions queued on it. + + By ignoring transitions on actors that have not been painted yet, we can + avoid doing work during the set up phase of the scene graph, as well as + avoiding actors "flying in" from nowhere. + + Obviously, we have to take into account potential clones, so we need to + check that the actor is not part of a cloned branch of the scene graph, + as well as checking if the actor has mapped clones. + + clutter/clutter-actor.c | 52 +++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 40 insertions(+), 12 deletions(-) + +commit 20c09858696db2b221f2dabf406d67fb44564ee1 +Author: Emmanuele Bassi +Date: Thu Mar 7 19:10:55 2013 +0000 + + actor: Propagate the cloned state to the children + + If we clone a container, we still want redraws queued on the children to + be propagated. + + clutter/clutter-actor.c | 38 +++++++++++++++++++++++++++++++++++++- + 1 file changed, 37 insertions(+), 1 deletion(-) + +commit 0e0db890e1552ce2d3c00ecc9b68c24876d84fec +Author: Emmanuele Bassi +Date: Thu Mar 7 18:20:48 2013 +0000 + + actor: Ignore redraws queued on unmapped actors + + If an actor is unmapped then it won't be painted, so we can safely + short-circuit out of _clutter_actor_queue_redraw_full() if the mapped + flag is not set. + + We need, on the other hand, make an exception for Clones, otherwise + they won't receive notification that the source actor has changed + and they won't be painted. + + This allows us to ignore redraws queued on children of invisible + parents, and avoid traversing the scene graph. + + clutter/clutter-actor.c | 67 +++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 51 insertions(+), 16 deletions(-) + +commit 028baa99a047d780b1215b07caa2523cdf496d20 +Author: Emmanuele Bassi +Date: Thu Mar 7 18:09:33 2013 +0000 + + actor: Keep track of clones + + Instead of using signal notifications, we should be able to keep track + of the clones of an actor from within ClutterActor itself, using private + API. There's no point in pretending that people can actually create a + Clone class out of tree, given the amount of invariants we have to punch + through in order to implement a proper replicator node of the scene + graph, so we can just skip the signal emissions and just do the right + thing at the right time. + + clutter/clutter-actor-private.h | 7 ++++ + clutter/clutter-actor.c | 80 ++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-clone.c | 30 +++------------- + 3 files changed, 91 insertions(+), 26 deletions(-) + +commit c32973158df2fd2d00ede7ad3e828871e3eb1700 +Author: Emmanuele Bassi +Date: Thu Mar 7 18:35:55 2013 +0000 + + actor: Clean up internal add/remove functions + + More comments are warranted: these functions are pretty much full of + potential side effects, and I'd really like to avoid keeping everything + in my head forever. + + Along with the comments and the type casting reduction, I sneaked in a + one line change that is clearly correct after reading the flow of the + whole thing: we queue only a relayout after three potential redraws have + been queued. If we manage to miss a redraw and yet still get a relayout + then it means that most of our assumptions are fundamentally wrong, and + that we ought to dump this whole business of computer programming, and + just go back to being a hunter-gatherer species. + + clutter/clutter-actor.c | 48 +++++++++++++++++++++++++++++++----------------- + 1 file changed, 31 insertions(+), 17 deletions(-) + +commit 900015a4eb7f1fd8a49c30ba52e1e9022d778cee +Author: Emmanuele Bassi +Date: Fri Mar 8 15:24:50 2013 +0000 + + actor: Clean up ::show and ::hide class handlers + + The main body of the function should not live inside an 'if' block. + + clutter/clutter-actor.c | 81 +++++++++++++++++++++++++------------------------ + 1 file changed, 41 insertions(+), 40 deletions(-) + +commit c11c875762e60139adbdc0263ff292fea7ef9da6 +Author: Emmanuele Bassi +Date: Fri Mar 8 15:57:26 2013 +0000 + + examples/layout-manager: Remove unnecessary easing state save + + The actors in the layout are already set up with a non-default easing + state, we can use that. + + examples/layout-manager.c | 4 ---- + 1 file changed, 4 deletions(-) + +commit 7f5b68eed36b984e2eac02b4c4e7a20fc838faad +Author: Emmanuele Bassi +Date: Fri Mar 8 04:27:57 2013 +0000 + + examples/layout-manager: Improve the example + + Add an explicit transition, and more comments. + + examples/layout-manager.c | 22 +++++++++++++++++++++- + 1 file changed, 21 insertions(+), 1 deletion(-) + +commit 041d8b5d29d3a6a494b76a6d3263f6912b3c1d62 +Author: Emmanuele Bassi +Date: Thu Mar 7 11:23:39 2013 +0000 + + Clean up the Actor private header + + Reading it is getting painful. + + clutter/clutter-actor-private.h | 154 ++++++++++++++++++++-------------------- + 1 file changed, 77 insertions(+), 77 deletions(-) + +commit 197eae2e00caeceebfa4028189018c5d6e191e72 +Author: Emmanuele Bassi +Date: Fri Mar 8 15:35:21 2013 +0000 + + build: Disable debugging code in stable releases + + Pretty much what GLib and GTK+ do, and the 1.x cycle has gone on for a + while, now. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9618f37b1d45c9133f13c355c3960999888961b3 +Author: Alejandro Piñeiro +Date: Fri Mar 1 10:58:54 2013 +0100 + + Add method clutter_disable_accessibility () + + https://bugzilla.gnome.org/show_bug.cgi?id=691468 + + clutter/clutter-main.c | 23 +++++++++++++++++++++++ + clutter/clutter-main.h | 3 +++ + 2 files changed, 26 insertions(+) + +commit 36e25374cc87145e4d1398baf9dd204616d68a24 +Author: Jasper St. Pierre +Date: Tue Mar 5 01:06:03 2013 -0500 + + event: Use gunichar when dealing with unicode characters + + This makes introspection return the keycode as a string, rather + than an integer. + + https://bugzilla.gnome.org/show_bug.cgi?id=695188 + + clutter/clutter-event.c | 4 ++-- + clutter/clutter-event.h | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit c26d724f3d2ace238cac39e70bbdfe8606b830ac +Author: Jasper St. Pierre +Date: Wed Jan 23 14:49:26 2013 -0500 + + clutter-backend: Request XI2.3 + + Since XIQueryVersion, the bad API that it is, chooses the first client + version that it gets, we need to ensure that we pass XIQueryVersion the + new XI2.3 version, knowing fully well that Clutter won't be confused + by the new features. + + https://bugzilla.gnome.org/show_bug.cgi?id=692466 + + clutter/x11/clutter-backend-x11.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 009da0c6ce7f202af1f39e2c79ea0b35cb64a6f3 +Author: Jasper St. Pierre +Date: Wed Jan 23 17:09:59 2013 -0500 + + x11: Always request XI2.2 + + The X server should fill in the minor version that it supports in the + case where it only supports the older version. We should not get a + BadRequest or fail the version check if we pass something higher. + + https://bugzilla.gnome.org/show_bug.cgi?id=692466 + + clutter/x11/clutter-backend-x11.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit 9dbc01b61fd47c0c255b69f6b189c68670d191fe +Author: Sebastian Keller +Date: Fri Feb 8 01:10:50 2013 +0100 + + xi2: Reset scroll info for correct device on device change + + clutter/x11/clutter-device-manager-xi2.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1c942ff1860fef6fa53e107fe2d879fbfd6f0a59 +Author: Gil Forcada +Date: Sun Mar 10 23:50:08 2013 +0100 + + [l10] Updated Catalan translation + + po/ca.po | 668 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 334 insertions(+), 334 deletions(-) + +commit c538a65a9fc8362a844a98a0e29b46da14075aa4 +Author: Emmanuele Bassi +Date: Thu Mar 7 15:06:49 2013 +0000 + + docs: Add 1.14 symbols index + + Forgot to add it after the version bump. + + doc/reference/clutter/clutter-docs.xml.in | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 40ef7a5f6e59aa0cbbca6fc3c0e48ebcba30af5e +Author: Rui Matos +Date: Wed Mar 6 01:30:52 2013 +0100 + + x11/xi2: Factor the XKB group state in to fill events' modifier_state + + Otherwise XkbTranslateKeyCode() won't yeld the correct keysyms when + group > 1. + + https://bugzilla.gnome.org/show_bug.cgi?id=695260 + + clutter/x11/clutter-device-manager-xi2.c | 20 +++++++++++++------- + clutter/x11/clutter-input-device-xi2.c | 6 +++++- + clutter/x11/clutter-input-device-xi2.h | 3 ++- + 3 files changed, 20 insertions(+), 9 deletions(-) + +commit ccea1644ba81593fd19a772048e91909962ef570 +Author: Alejandro Piñeiro +Date: Mon Sep 24 17:24:54 2012 +0200 + + a11y: expose the text with password-char + + Text exposed by the AtkText methods should be the text + displayed to the user (like the internal method + clutter_text_get_display_text). So it should use the password-char + if it is being used. + + This is also a security concern. + + clutter/cally/cally-text.c | 37 ++++++++++++++++++++++++++++--------- + 1 file changed, 28 insertions(+), 9 deletions(-) + +commit 78a3590fd67338b63651fcf935aeeee4254ef1e1 +Author: Alejandro Piñeiro +Date: Mon Sep 24 15:09:43 2012 +0200 + + a11y: cally-util: use password-char to fill a key_event if required + + clutter/cally/cally-util.c | 69 ++++++++++++++++++++++++++++++++++++++++------ + 1 file changed, 61 insertions(+), 8 deletions(-) + +commit a622d34444decbb98f66314871ab028d8c2f3327 +Author: Emmanuele Bassi +Date: Tue Mar 5 00:48:11 2013 +0000 + + actor: Revert the Transition/Actor leak fix + + The original code inside ClutterActor that dealt with Transitions + stopping was written for the ::completed signal, thus the code was + correctly handling the lifetime of the instances; when we moved to the + ::stopped signal, we assumed that it worked in the same way - with less + conditions to be checked, obviously, but fundamentally similar to the + ::completed signal. Sadly, I screwed up the signal definition, and the + signal ended up calling our handlers, but not the default one that did + the cleanup and released references on the Animatable instance. + + After fixing the Timeline::stopped signal, we can go back to the + previous code. + + Thanks to Craig Hughes for the help in tracking down this mess. + + https://bugzilla.gnome.org/show_bug.cgi?id=695158 + + clutter/clutter-actor.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 4732a418ba110872d26801e9af3269f1211f2ee8 +Author: Emmanuele Bassi +Date: Tue Mar 5 00:46:45 2013 +0000 + + timeline: Use the right function pointer offset + + A copy and paste thinko: the ::stopped signal is using the + ClutterTimelineClass.completed slot instead of the .stopped one, + thus preventing sub-classes of ClutterTimeline from overriding the + signal's default closure. + + clutter/clutter-timeline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 65d6c8c32ee23a34f8fbe1fbb76dd4faf0e28d0c +Author: Emmanuele Bassi +Date: Tue Mar 5 00:04:32 2013 +0000 + + build: Dist the cookbook + + So that we can publish it starting from the tarballs. + + doc/cookbook/Makefile.am | 4 ++++ + 1 file changed, 4 insertions(+) + +commit f3659d35a0fb7aac04cd30533a1acaf53f87a151 +Author: Emmanuele Bassi +Date: Mon Mar 4 22:43:22 2013 +0000 + + actor: Release a reference on the implicit Transitions + + When stopping the transition we need to release the reference we + maintain while removing the Transition from the hash table inside an + actor. If we fail to do so, the Transition is never released, which + means we leak the Animatable instance we tied to it. + + https://bugzilla.gnome.org/show_bug.cgi?id=695158 + + clutter/clutter-actor.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 315a73edf5610ce4ee16a825b62a5b6ee669cfed +Author: Emmanuele Bassi +Date: Mon Mar 4 13:02:44 2013 +0000 + + text: Clean up the set_font_description_internal() semantics + + The current semantics are ridiculous, and clearly a case of (mistaken) + premature optimization. All setters should copy, not transfer ownership. + + https://bugzilla.gnome.org/show_bug.cgi?id=695119 + + clutter/clutter-text.c | 15 +++++++-------- + 1 file changed, 7 insertions(+), 8 deletions(-) + +commit 1f3e56b3be07fda95f7c84d6bf8dcc5901cdc8ab +Author: Emmanuele Bassi +Date: Wed Nov 28 09:47:44 2012 +0000 + + docs: Clean up the documentation for the allocate() methods + + The wording could be better, especially on the side effects and the + honoured state. + + clutter/clutter-actor.c | 28 +++++++++++++++++++++------- + 1 file changed, 21 insertions(+), 7 deletions(-) + +commit 67f10bcc6f41f5f38627bf7ca551e554285c9d75 +Author: Emmanuele Bassi +Date: Mon Dec 24 09:04:09 2012 +0000 + + docs: Clean up the wording of a couple of comments + + clutter/clutter-actor.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 78962f9ab97cee781498a862411d339f6cac7e35 +Author: Emmanuele Bassi +Date: Thu Feb 21 13:04:34 2013 +0000 + + deform-effect: Don't use deprecated API + + The ClutterOffscreenEffect.get_target_size() method has been deprecated, + and replaced by the get_target_rect() one. We can easily switch to the + latter, and avoid the deprecation warning. + + https://bugzilla.gnome.org/show_bug.cgi?id=670004 + + clutter/clutter-deform-effect.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit 37e3ef23035aafe1cba5a1113a3d6ce19ed51998 +Author: Emmanuele Bassi +Date: Thu Feb 21 13:01:58 2013 +0000 + + offscreen-effect: Add a method to get the target area + + The target size is not always enough, there are cases where the offset + used to paint the target must also be available for developers + implementing an OffscreenEffect. + + The get_target_rect() method returns the rectangle used to paint the + target, with the offsets in the ClutterRect:origin and the texture size + in the ClutterRect:size fields, respectively. + + The get_target_size() method should be deprecated, given that its + replacement is generally more useful. + + https://bugzilla.gnome.org/show_bug.cgi?id=670004 + + clutter/clutter-offscreen-effect.c | 42 ++++++++++++++++++++++++++++++ + clutter/clutter-offscreen-effect.h | 6 +++++ + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 4 files changed, 50 insertions(+) + +commit e72d27815be38395fb782aa7d8b1b8228bab2183 +Author: Emmanuele Bassi +Date: Mon Mar 4 12:23:32 2013 +0000 + + build Bump to 1.15.1 + + In theory, master should become 1.99 at some point, but if we do that + all Hell breaks loose, so let's use 1.15 for the time being. + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit afe0ac9c75e594cdf9e44ef0011e1c32d9acaec6 +Author: Mario Blättermann +Date: Sun Mar 3 21:21:09 2013 +0100 + + [l10n] Updated German translation + + po/de.po | 541 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 268 insertions(+), 273 deletions(-) + +commit 8ddfa4483299561aaec0d29e9633500a9ddb3094 +Author: Chao-Hsiung Liao +Date: Fri Mar 1 22:12:23 2013 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 717 ++++++++++++++++++++++++++++++------------------------------ + po/zh_TW.po | 715 +++++++++++++++++++++++++++++------------------------------ + 2 files changed, 717 insertions(+), 715 deletions(-) + +commit b01469c8f3d400bccc389d5420af02b79949bdb7 +Author: Rui Matos +Date: Fri Feb 22 00:31:34 2013 +0100 + + x11/clutter-keymap-x11: Honor XkbNewKeyboardNotify events + + We already select for XkbNewKeyboardNotify events but are not acting + on them. Start doing so. + + https://bugzilla.gnome.org/show_bug.cgi?id=694267 + + clutter/x11/clutter-keymap-x11.c | 1 + + 1 file changed, 1 insertion(+) + +commit 8ba46c78e4e607a86cfe3e50ed014189b19e777a +Author: Marek Černocký +Date: Fri Feb 22 21:55:14 2013 +0100 + + Updated Czech translation + + po/cs.po | 638 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 319 insertions(+), 319 deletions(-) + +commit e317ca11fc27d83d9eb06634136d48f355d71562 +Author: Emmanuele Bassi +Date: Thu Feb 21 00:37:58 2013 +0000 + + Fix compiler warnings by initializing variables + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 50f6b2ac2cd2612627c7b728befd3553f46cf2f6 +Author: Jasper St. Pierre +Date: Tue Feb 19 22:15:52 2013 -0500 + + actor: Fix clutter_actor_allocate_align_fill for partially-filled actors + + If we pass TRUE for x_align and FALSE for y_align, the full available + width should be passed to clutter_get_preferred_height, and the same + should be true in the other dimension. + + https://bugzilla.gnome.org/show_bug.cgi?id=694237 + + clutter/clutter-actor.c | 46 +++++++++++++++++++++------------------------- + 1 file changed, 21 insertions(+), 25 deletions(-) + +commit 160c62b2f9fbb399e5a8045c5f7dc521be7e3c35 +Author: Emmanuele Bassi +Date: Wed Feb 20 23:31:17 2013 +0000 + + conform: Disable the Cogl tests + + Cogl is being tested pretty well, these days; also, there is a failure + in the mipmap test that I really don't have time to bisect. + + tests/conform/test-conform-main.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 1a0bbbaf54bd511648d94b1c816cdeb6469bf578 +Author: Emmanuele Bassi +Date: Wed Feb 20 23:30:21 2013 +0000 + + cally: Use AktObject::get_name() + + Instead of directly accessing the instance fields. This removes a + compiler warning after the constification of g_get_prgname(), and it + seems to me to be generally more correct. + + clutter/cally/cally-root.c | 33 ++++++++++++++++++++------------- + 1 file changed, 20 insertions(+), 13 deletions(-) + +commit 01ba68ad3b2990513e1125bd3ce97a24d0a72670 +Author: Emmanuele Bassi +Date: Wed Feb 20 23:02:05 2013 +0000 + + scroll-actor: Use :child-transform + + Instead of using a custom apply_transform(), paint(), and pick() + implementations, we can simply apply a transformation to the children of + a ScrollActor. + + https://bugzilla.gnome.org/show_bug.cgi?id=686225 + + clutter/clutter-scroll-actor.c | 103 +++++++---------------------------------- + 1 file changed, 16 insertions(+), 87 deletions(-) + +commit dfb145988e8b952e9fef9d68b43d0cbd0b0765ae +Author: Daniel Stone +Date: Wed Jan 30 11:49:38 2013 +1100 + + wayland: Only include Wayland headers in private + + As wayland-client.h and wayland-server.h can't be included together, + split the Wayland backend file into clutter-backend-wayland.h, which + only defines the types, and clutter-backend-wayland-priv.h, which + actually uses the Wayland client types. + + Signed-off-by: Daniel Stone + + https://bugzilla.gnome.org/show_bug.cgi?id=692851 + + clutter/Makefile.am | 1 + + clutter/wayland/clutter-backend-wayland-priv.h | 67 ++++++++++++++++++++++++ + clutter/wayland/clutter-backend-wayland.c | 1 + + clutter/wayland/clutter-backend-wayland.h | 28 ---------- + clutter/wayland/clutter-device-manager-wayland.c | 1 + + clutter/wayland/clutter-input-device-wayland.c | 1 + + clutter/wayland/clutter-stage-wayland.c | 1 + + 7 files changed, 72 insertions(+), 28 deletions(-) + +commit b37b9d917a1067cac6a799098ed88ab275a1dbe7 +Author: Daniel Stone +Date: Wed Jan 30 11:47:52 2013 +1100 + + wayland-compositor: Don't use Wayland types in public API + + The definition of wl_display differs between Wayland clients and + servers, and it's unsafe to include both wayland-client.h and + wayland-server.h at the same time. Fudge around this by making the + compositor public API use void * rather than struct wl_display *. + + Signed-off-by: Daniel Stone + + https://bugzilla.gnome.org/show_bug.cgi?id=692851 + + clutter/clutter-backend.c | 2 +- + clutter/wayland/clutter-wayland-compositor.h | 5 +---- + 2 files changed, 2 insertions(+), 5 deletions(-) + +commit 3e479a3326dd8d14aa6cc479b4f33df294a01d3e +Author: Damien Lespiau +Date: Mon Nov 5 14:41:36 2012 +0000 + + cogl: Don't use cogl_xlib_set_diplay() + + This function is deprecated and has been replaced by set_display() on + the renderer. This is done in the get_renderer() vfunc of both the x11 + and gdk backends already. + + Actually cogl_xlib_set_diplay() is now a no-op and can be safely removed. + + https://bugzilla.gnome.org/show_bug.cgi?id=687652 + + clutter/gdk/clutter-backend-gdk.c | 9 --------- + clutter/x11/clutter-backend-x11.c | 4 ---- + 2 files changed, 13 deletions(-) + +commit 534e994972bc7b956c13d2f80ededa41a4f9e05d +Author: Jasper St. Pierre +Date: Tue Feb 19 19:53:43 2013 -0500 + + Don't do anything special with COGL_ENABLE_EXPERIMENTAL_2_0_API + + This flag solely disables deprecated Cogl 1.0 API, so it + shouldn't be used for feature checks. + + https://bugzilla.gnome.org/show_bug.cgi?id=694229 + + clutter/clutter-backend.h | 2 +- + clutter/clutter-paint-node.h | 4 ++-- + clutter/clutter-paint-nodes.h | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +commit 6bef2cff1984ff9b058864d0fc49a8cb108abefd +Author: Rob Bradford +Date: Fri Feb 15 18:06:50 2013 +0000 + + conformance: Only check for DISPLAY on X11 windowing backend + + Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=693741 + + tests/conform/test-conform-common.c | 21 +++++++++++---------- + 1 file changed, 11 insertions(+), 10 deletions(-) + +commit e4598a9e527174fbbdee7341381a681b48ac762f +Author: Josselin Mouette +Date: Wed Feb 20 22:20:22 2013 +0000 + + actor: Use the correct return value + + The get_z_rotation_gravity() method returns an enumeration value, not a + floating point value. + + Signed-off-by: Emmanuele Bassi + + https://bugzilla.gnome.org/show_bug.cgi?id=694187 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 65a024af9256b9d01c12a7ca2775a291ce6fa7ab +Author: Emmanuele Bassi +Date: Wed Feb 20 22:14:46 2013 +0000 + + timeline: Add progress-based marker API + + Being able to set a marker at a normalized point on a timeline, instead + of using a specific time, is a nice fit with the current Timeline class + API. + + https://bugzilla.gnome.org/show_bug.cgi?id=694319 + + clutter/clutter-timeline.c | 146 ++++++++++++++++++++++----- + clutter/clutter-timeline.h | 4 + + clutter/clutter.symbols | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + tests/conform/timeline.c | 8 +- + tests/data/test-script-timeline-markers.json | 3 +- + 6 files changed, 133 insertions(+), 30 deletions(-) + +commit a8c68c78d8bc7aa6dd82930f2570a451fc6bff3e +Author: Alexandre Franke +Date: Wed Feb 20 21:24:52 2013 +0100 + + Update French translation + + po/fr.po | 672 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 336 insertions(+), 336 deletions(-) + +commit 044b8dcddd393eed67440dabe66d3d9dd75b6506 +Author: Piotr Drąg +Date: Sat Feb 16 21:16:20 2013 +0100 + + Updated Polish translation + + po/pl.po | 218 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 109 insertions(+), 109 deletions(-) + +commit 935997178cff4136387d62f9224ff6732c00b57d +Author: Emmanuele Bassi +Date: Thu Feb 14 08:10:57 2013 +0000 + + Add missing functions to clutter.symbols + + https://bugzilla.gnome.org/show_bug.cgi?id=693767 + + clutter/clutter.symbols | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4b92d656c2b63570b91105f05b863c4efed32134 +Author: Neil Roberts +Date: Wed Feb 13 14:58:55 2013 +0000 + + settings: Don't reload config for fontconfig if there's no fontmap + + If anything in the system changes the config for fontconfig then an + XSetting will be set to record the last timestamp of the config file. + This is presumably so that applications can be notified that it has + changed and can reload the configuration. However once this setting is + set it will remain set for the lifetime of the X server. This causes + Clutter to handle the setting during the initialisation of the + backend. Previously this would cause problems because Clutter would + end up creating the default PangoFontMap before the backend has + created the CoglContext. The PangoFontMap would in turn cause the + default CoglContext to be created. Clutter will then later create its + own CoglContext which means there will be two and the first one will + be leaked. Cogl currently can't really cope with multiple contexts + being created so it falls apart. + + This patch fixes it to skip reloading the config for fontconfig if + there isn't a default font map yet. The config will presumably + naturally be read with the latest values when it is finally created + anyway so it doesn't need to be read immediately. + + https://bugzilla.gnome.org/show_bug.cgi?id=693696 + + clutter/clutter-settings.c | 22 +++++++++++++++------- + 1 file changed, 15 insertions(+), 7 deletions(-) + +commit b248941af5f206c4b99872a759fbdaea3673e7b7 +Author: Owen W. Taylor +Date: Thu Nov 8 12:42:24 2012 -0500 + + Add clutter_stage_set_sync_delay() + + New experimental API is added to allow changing the way that redraws + are timed for a stage to include a "sync delay" - a period after + the vertical blanking period where Clutter simply waits for updates. + + In detail, the algorithm is that when the master clock is restarted + after drawing a frame (in the case where there are timelines running) + or started fresh in response to a queued redraw or relayout, the + start is scheduled at the next sync point (sync_delay ms after the + predicted vblank period) rather than done immediately. + + https://bugzilla.gnome.org/show_bug.cgi?id=692901 + + clutter/clutter-master-clock.c | 156 ++++++++++++++++++++++++++++---------- + clutter/clutter-stage-private.h | 4 +- + clutter/clutter-stage-window.c | 43 ++++++++++- + clutter/clutter-stage-window.h | 10 ++- + clutter/clutter-stage.c | 105 +++++++++++++++++++++++-- + clutter/clutter-stage.h | 8 ++ + clutter/cogl/clutter-stage-cogl.c | 131 ++++++++++++++++++++++++++------ + clutter/cogl/clutter-stage-cogl.h | 6 +- + 8 files changed, 386 insertions(+), 77 deletions(-) + +commit d0d1b562bd2a46ab9073507b42e106cb209038b8 +Author: Neil Roberts +Date: Thu Feb 7 17:20:39 2013 +0000 + + evdev: Fix use of the common XKB code for the evdev device + + In commit 8f4e39b6d716 the Wayland code was updated to use the new + xkbcommon API. This involved changing the common XKB code shared with + the evdev input backend. However the evdev input backend was not + modified so it wouldn't compile. This patch just makes a minor change + to update it. + + https://bugzilla.gnome.org/show_bug.cgi?id=693348 + + clutter/evdev/clutter-device-manager-evdev.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 3f9ae47029012935e436d22f2d18b336f9bf27a3 +Author: Adel Gadllah +Date: Wed Feb 6 21:31:01 2013 +0100 + + build: Bump cogl requirement + + This is needed for the buffer_age changes. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 683f15ba68555367131bc2bd05bf995adddbcccc +Author: Adel Gadllah +Date: Sun Feb 3 12:11:01 2013 +0100 + + clutter-stage: Fix typo + + https://bugzilla.gnome.org/show_bug.cgi?id=669122 + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b9ad93ad8d33aa41c80de440818e5240c82c7c39 +Author: Adel Gadllah +Date: Wed Feb 6 11:05:58 2013 +0100 + + stage-cogl: Reuse backbuffer contents + + Use the buffer_age extension when available to recycle backbuffer contents + instead of blitting from the back to front buffer when doing clipped redraws. + + The picking is now done in a pixel that is going to be repaired during the next + redraw cycle for non static scences. + + This should improve performance and avoid tearing. + + Reviewed-by: Robert Bragg + + https://bugzilla.gnome.org/show_bug.cgi?id=669122 + + clutter/clutter-stage-window.c | 17 ++++++ + clutter/clutter-stage-window.h | 6 +++ + clutter/clutter-stage.c | 62 ++++++++++++++------- + clutter/cogl/clutter-stage-cogl.c | 111 +++++++++++++++++++++++++++++++++----- + clutter/cogl/clutter-stage-cogl.h | 3 ++ + 5 files changed, 167 insertions(+), 32 deletions(-) + +commit 60f20e8a7e7e8662d8a76401b9d28ac2ec1d1882 +Author: Adel Gadllah +Date: Sun Feb 3 11:51:19 2013 +0100 + + stage-window: make it possible to damage the back buffer + + This allows us to report to the backend that the stage's back buffer has been trashed + while handling picking. If the backend is keeping track of the contents of back buffers + so it can minimize how much of the stage is redrawn then it needs to know when we do pick + renders so it can invalidate the back buffer. + + Based on patch from Robert Bragg + + https://bugzilla.gnome.org/show_bug.cgi?id=669122 + + clutter/clutter-stage-window.c | 12 ++++++++++++ + clutter/clutter-stage-window.h | 4 ++++ + clutter/clutter-stage.c | 4 ++++ + clutter/cogl/clutter-stage-cogl.c | 12 ++++++++++++ + clutter/cogl/clutter-stage-cogl.h | 2 ++ + 5 files changed, 34 insertions(+) + +commit c0469601c71f24fbd75d5414a3f44c8138085060 +Author: Rui Matos +Date: Thu Jan 31 23:11:23 2013 +0100 + + x11/device-manager-xi2: Fix slave to master association + + A slave is associated to a master device, not the other way around. + + https://bugzilla.gnome.org/show_bug.cgi?id=692971 + + clutter/x11/clutter-device-manager-xi2.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 069abd1122fcfeb756168b953460cb6513760d03 +Author: Yanko Kaneti +Date: Mon Jan 28 15:49:51 2013 +0200 + + xi2: Fix access beyond array boundaries + + clutter/x11/clutter-device-manager-xi2.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit e711709ab04922bbacc2b9a73f6b697697afb49a +Author: Milo Casagrande +Date: Sun Jan 27 18:17:51 2013 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 49dee9b1a2fd098a85d4d4e42cd47eb7363df79a +Author: Milo Casagrande +Date: Fri Jan 25 16:38:05 2013 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 535 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 268 insertions(+), 267 deletions(-) + +commit 89f6bb7e5a0865c093cb6324910aa96361a2c127 +Author: Gheyret Kenji +Date: Sun Jan 20 19:46:17 2013 +0900 + + Updated Uyghur translation + + Signed-off-by: Gheyret Kenji + + po/ug.po | 1867 ++++++++++++++++++++++++++++++++++++++------------------------ + 1 file changed, 1139 insertions(+), 728 deletions(-) + +commit 1c64e3066a430f83f8182bccbd2c302cb23976fe +Author: Мирослав Николић +Date: Fri Jan 18 10:05:32 2013 +0100 + + Updated Serbian translation + + po/sr.po | 651 ++++++++++++++++++++++++++++----------------------------- + po/sr@latin.po | 651 ++++++++++++++++++++++++++++----------------------------- + 2 files changed, 640 insertions(+), 662 deletions(-) + +commit 2eb525fe0880dc9327349bd7c3f5bb032a7d2c30 +Author: Tomeu Vizoso +Date: Wed Dec 26 13:56:19 2012 +0100 + + Add default handler for ClutterSwipeAction::swipe + + So code that still uses the deprecated ::swept keeps working + + https://bugzilla.gnome.org/show_bug.cgi?id=690735 + + clutter/clutter-swipe-action.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit 36c15cd23c0110850f535e04bda35083f76bf253 +Author: Kouhei Sutou +Date: Sun Jan 13 21:07:42 2013 +0900 + + Fix a typo in ClutterEventType documentation + + https://bugzilla.gnome.org/show_bug.cgi?id=691651 + + clutter/clutter-enums.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a783e6d3f28c6bb73514e2a77157deafb0e685d7 +Author: Nirbheek Chauhan +Date: Tue Dec 18 00:26:57 2012 +0530 + + clutter-text: Allow setting attributes for editable text + + The behaviour imitates GtkEntry and ignores attributes from markup because Pango + barfs on invalid markup. Also add an example to the text-field interactive test. + + https://bugzilla.gnome.org/show_bug.cgi?id=686477 + + clutter/clutter-text.c | 24 +++++++++++------------- + tests/interactive/test-text-field.c | 11 +++++++++-- + 2 files changed, 20 insertions(+), 15 deletions(-) + +commit aa85a8e94d5cc3a867e3189542d8c391a3920635 +Author: Wouter Paesen +Date: Fri Dec 28 21:55:51 2012 +0100 + + * use requested value of fullscreen state in clutter_stage_win32_set_fullscreen instead of old value + + https://bugzilla.gnome.org/show_bug.cgi?id=690836 + + clutter/win32/clutter-stage-win32.c | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +commit 8b357ec0775073f299ce779e49d09658da7da6ee +Author: Wouter Paesen +Date: Fri Dec 28 21:12:05 2012 +0100 + + * added DllMain prototype to satisfy maintainer mode compiler error checking + + https://bugzilla.gnome.org/show_bug.cgi?id=690835 + + clutter/win32/clutter-backend-win32.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 4a0e1b3e6a90f026964ba7299b7b53c2d886e3a7 +Author: Wouter Paesen +Date: Fri Dec 28 20:58:14 2012 +0100 + + * removed clutter-shader.h dependency from clutter-backend-win32.c + + https://bugzilla.gnome.org/show_bug.cgi?id=690833 + + clutter/win32/clutter-backend-win32.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 19f040829088af957cf47c1cce8d7914cad1a0a5 +Author: Kouhei Sutou +Date: Fri Jan 4 16:12:39 2013 +0900 + + Add missing "(constructor)" tag to clutter_color_alloc() + + https://bugzilla.gnome.org/show_bug.cgi?id=691114 + + clutter/clutter-color.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2f5aee9cb5ef1d258e71a72630e3368026f10a49 +Author: Emmanuele Bassi +Date: Sun Dec 23 15:36:30 2012 +0000 + + Fix interpolation between ClutterRect instances + + A stupid typo broke the linear interpolation function. + + clutter/clutter-base-types.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 578e81dc2e3dcea745c34834f74e66cc701f7533 +Author: Jasper St. Pierre +Date: Mon Jan 14 12:51:54 2013 -0500 + + actor: Correct documentation formatting for clutter_actor_event() + + TRUE and FALSE need to be symbolified here. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0caba876e637b789df36efc43f9ba0f19edc67ee +Author: Jasper St. Pierre +Date: Wed Jan 9 01:28:48 2013 -0500 + + actor: Fix documentation reference for pivot-point + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4691878a766d4a92a7b28917b580e734d183944b +Author: Jasper St. Pierre +Date: Sat Dec 22 22:21:16 2012 -0500 + + x11: Ignore num lock / scroll lock for event state + + As x11 considers num lock and scroll lock to be modifiers, code that + checks for an exact modifier combination will fail if naively done when + num lock or scroll lock are turned on. Applications that want to ignore + these modifiers will need to use XKB to manually mask out the modifier + state. + + As it is very unlikely that applications will want to care about the + state of num lock or scroll lock for key press/key release events, mask + out the num lock and scroll lock keys automatically. + + https://bugzilla.gnome.org/show_bug.cgi?id=690664 + + README.in | 6 ++++++ + clutter/x11/clutter-device-manager-core-x11.c | 2 +- + clutter/x11/clutter-device-manager-xi2.c | 2 +- + clutter/x11/clutter-keymap-x11.c | 12 +++++++++++- + clutter/x11/clutter-keymap-x11.h | 2 +- + 5 files changed, 20 insertions(+), 4 deletions(-) + +commit 551c01e7ce7b34f7eb5e6c56418eafc770e4b55e +Author: Fran Diéguez +Date: Sun Jan 13 18:04:33 2013 +0100 + + Updated Galician translations + + po/gl.po | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ChangeLog.pre-1.18 b/ChangeLog.pre-1.18 new file mode 100644 index 0000000..b934d6f --- /dev/null +++ b/ChangeLog.pre-1.18 @@ -0,0 +1,3078 @@ +commit e0f19ab2c920f9b11b206cc34424f04cf71abd54 +Author: Emmanuele Bassi +Date: Mon Mar 17 23:23:36 2014 +0000 + + Release Clutter 1.18.0 + + NEWS | 39 +++++++++++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 41 insertions(+), 2 deletions(-) + +commit fa891a7a3c83d1ab06e241bc99fae684f3e3469a +Author: Emmanuele Bassi +Date: Mon Mar 17 23:11:29 2014 +0000 + + docs: Remove --sgml-mode from the build options + + We're not providing SGML any more. + + doc/reference/cally/Makefile.am | 2 +- + doc/reference/clutter/Makefile.am | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit f0ac5e176f7bc2a3ac9da37fdb213108a9c94442 +Author: Emmanuele Bassi +Date: Mon Mar 17 23:10:41 2014 +0000 + + Require GTK-Doc 1.20 + + We want the fancy new MarkDown parser. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8453807ce95cddfd051b4844d2d51d1b8b68fb9d +Author: Emmanuele Bassi +Date: Mon Mar 17 23:10:25 2014 +0000 + + docs: Add missing symbols to the API reference + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4f5dd5ad4332e490b0ed57e9febd5fc53c69da7f +Author: Emmanuele Bassi +Date: Tue Mar 18 14:14:22 2014 +0000 + + docs: Remove last stray DocBook tags + + clutter/clutter-action.h | 7 +++---- + clutter/clutter-actor-meta.h | 4 ++-- + clutter/clutter-actor.h | 2 +- + clutter/clutter-align-constraint.h | 2 +- + clutter/clutter-backend.h | 2 +- + clutter/clutter-bind-constraint.h | 2 +- + clutter/clutter-blur-effect.h | 2 +- + clutter/clutter-brightness-contrast-effect.h | 2 +- + clutter/clutter-canvas.h | 4 ++-- + clutter/clutter-click-action.h | 4 ++-- + clutter/clutter-colorize-effect.h | 2 +- + clutter/clutter-constraint.h | 7 +++++-- + clutter/clutter-content.h | 4 ++-- + clutter/clutter-deform-effect.h | 4 ++-- + clutter/clutter-desaturate-effect.h | 2 +- + clutter/clutter-drag-action.h | 4 ++-- + clutter/clutter-drop-action.h | 4 ++-- + clutter/clutter-gesture-action.h | 4 ++-- + clutter/clutter-image.h | 4 ++-- + clutter/clutter-page-turn-effect.h | 2 +- + clutter/clutter-paint-node-private.h | 2 +- + clutter/clutter-paint-nodes.h | 10 +++++----- + clutter/clutter-pan-action.h | 4 ++-- + clutter/clutter-path-constraint.h | 2 +- + clutter/clutter-property-transition.h | 4 ++-- + clutter/clutter-rotate-action.h | 4 ++-- + clutter/clutter-scroll-actor.h | 4 ++-- + clutter/clutter-shader-effect.h | 4 ++-- + clutter/clutter-snap-constraint.h | 2 +- + clutter/clutter-stage-window.h | 2 +- + clutter/clutter-swipe-action.h | 4 ++-- + clutter/clutter-tap-action.h | 4 ++-- + clutter/clutter-text-buffer.h | 4 ++-- + clutter/clutter-transition-group.h | 4 ++-- + clutter/clutter-transition.h | 4 ++-- + clutter/clutter-types.h | 8 ++++---- + clutter/clutter-zoom-action.h | 4 ++-- + clutter/deprecated/clutter-state.h | 6 +++--- + clutter/deprecated/clutter-timeout-pool.h | 2 +- + clutter/egl/clutter-egl.h | 6 +++--- + 40 files changed, 77 insertions(+), 75 deletions(-) + +commit ddc1955f6b5bfe4d7785d38e391380a992395011 +Author: Emmanuele Bassi +Date: Mon Mar 17 23:10:07 2014 +0000 + + docs: Port backend-specific sections to markdown + + clutter/cex100/clutter-backend-cex100.c | 4 ++-- + clutter/cex100/clutter-cex100.h.in | 3 +-- + clutter/egl/clutter-egl.h | 4 +--- + clutter/wayland/clutter-backend-wayland.c | 3 +-- + clutter/x11/clutter-backend-x11.c | 15 +++++++-------- + 5 files changed, 12 insertions(+), 17 deletions(-) + +commit 46051bfb20eaa9718725e5fbf0f7722672753bb6 +Author: Emmanuele Bassi +Date: Mon Mar 17 23:09:27 2014 +0000 + + docs: Port deprecated sections to markdown syntax + + And drop docbook tags along the way. + + clutter/deprecated/clutter-actor-deprecated.c | 4 +- + clutter/deprecated/clutter-alpha.c | 55 +++++------ + clutter/deprecated/clutter-animation.c | 130 ++++++++---------------- + clutter/deprecated/clutter-animator.c | 95 ++++++++---------- + clutter/deprecated/clutter-behaviour-ellipse.c | 4 +- + clutter/deprecated/clutter-behaviour-path.c | 4 +- + clutter/deprecated/clutter-box.c | 40 ++++---- + clutter/deprecated/clutter-cairo-texture.c | 24 ++--- + clutter/deprecated/clutter-state.c | 132 ++++++++++++------------- + clutter/deprecated/clutter-table-layout.c | 30 +++--- + clutter/deprecated/clutter-texture.c | 45 +++------ + 11 files changed, 228 insertions(+), 335 deletions(-) + +commit 12370bd4f8246f72abe75fae90fdee452c7a8f58 +Author: Emmanuele Bassi +Date: Mon Mar 17 23:07:58 2014 +0000 + + docs: Move to markdown + + We're removing docbook tags in favour of the markdown syntax. + + clutter/clutter-actor.c | 904 +++++++++++++++++++------------------ + clutter/clutter-backend.c | 8 +- + clutter/clutter-bin-layout.c | 34 +- + clutter/clutter-bind-constraint.c | 31 +- + clutter/clutter-binding-pool.c | 19 +- + clutter/clutter-box-layout.c | 34 +- + clutter/clutter-canvas.c | 9 +- + clutter/clutter-child-meta.h | 9 +- + clutter/clutter-clone.c | 6 +- + clutter/clutter-color.c | 28 +- + clutter/clutter-constraint.c | 207 ++++----- + clutter/clutter-deform-effect.c | 19 +- + clutter/clutter-drag-action.c | 20 +- + clutter/clutter-drop-action.c | 14 +- + clutter/clutter-effect.c | 158 +++---- + clutter/clutter-flow-layout.c | 35 +- + clutter/clutter-gesture-action.c | 64 +-- + clutter/clutter-image.c | 9 +- + clutter/clutter-input-device.c | 20 +- + clutter/clutter-layout-manager.c | 285 ++---------- + clutter/clutter-main.c | 140 ++---- + clutter/clutter-model.c | 70 +-- + clutter/clutter-offscreen-effect.c | 41 +- + clutter/clutter-paint-volume.c | 64 +-- + clutter/clutter-path.c | 67 +-- + clutter/clutter-script.c | 10 +- + clutter/clutter-scroll-actor.c | 9 +- + clutter/clutter-settings.c | 24 +- + clutter/clutter-shader-effect.c | 100 ++-- + clutter/clutter-stage.c | 50 +- + clutter/clutter-test-utils.c | 2 +- + clutter/clutter-test-utils.h | 2 +- + clutter/clutter-text.c | 4 +- + clutter/clutter-timeline.c | 47 +- + clutter/clutter-types.h | 4 +- + clutter/clutter-units.c | 6 +- + 36 files changed, 1062 insertions(+), 1491 deletions(-) + +commit 115104db8cec7defb010802186430695f0cac77b +Author: Emmanuele Bassi +Date: Mon Mar 17 23:05:09 2014 +0000 + + cally: Remove docbook tags + + clutter/cally/cally-group.c | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +commit 8fc47244b0c182ecb79a6acce69a8d9669bb9202 +Author: Emmanuele Bassi +Date: Mon Mar 17 18:52:27 2014 +0000 + + build: Remove abicheck.sh + + We now control the visibility of symbols directly from the header files, + so we always have the correct ABI. + + clutter/Makefile.am | 19 ------------------- + clutter/abicheck.sh | 46 ---------------------------------------------- + 2 files changed, 65 deletions(-) + +commit 386be83f249f81bdb95bdccda473f8f1e9cad2c2 +Author: Emmanuele Bassi +Date: Mon Mar 17 18:45:56 2014 +0000 + + New visibility handling in Clutter + + Instead of listing every public symbol inside an ancillary file, we can + use compiler annotations. This scheme is also used by GLib and GTK+. + + The symbols file is left in tree until the Visual Studio rules are + fixed, but it's not used any more during distcheck. + + I double-checked that the exposed ABI is the same before and after this + change, except for symbols that were never meant to be public in the + first place, and that escaped our attention when we generated the first + version of the symbols file. + + clutter/Makefile.am | 2 +- + configure.ac | 30 ++++++++++++++++++++++++++++++ + 2 files changed, 31 insertions(+), 1 deletion(-) + +commit 5c4c2aa52f209758c3f6533ebcaeebf6b80fa029 +Author: Emmanuele Bassi +Date: Mon Mar 17 18:51:02 2014 +0000 + + symbols: Fix the expected ABI + + Some symbols that were never meant to be exported ended up in the + symbols file. + + clutter/clutter.symbols | 11 ++--------- + 1 file changed, 2 insertions(+), 9 deletions(-) + +commit 3b21999494a7196f1d3c7d5297d4abed39a98ec7 +Author: Emmanuele Bassi +Date: Mon Mar 17 18:43:08 2014 +0000 + + Use _CLUTTER_EXTERN to define CLUTTER_VAR + + The macro is defined outside of the header, and does all the heavy + lifting of getting the proper attributes. + + clutter/clutter-version.h.in | 17 ++++------------- + 1 file changed, 4 insertions(+), 13 deletions(-) + +commit c44f73a7f142eebad2089c285cde19a4c13a8256 +Author: Emmanuele Bassi +Date: Mon Mar 17 18:36:34 2014 +0000 + + Include "config.h" + + Otherwise the symbol annotation won't be expanded correctly. + + clutter/clutter-keysyms-table.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 53a86e91d95d87fa28a3836deca537823d2ef5e0 +Author: Emmanuele Bassi +Date: Mon Mar 17 18:35:58 2014 +0000 + + Annotate symbols in backend-specific headers + + Like we did for the rest of the API. + + clutter/egl/clutter-egl.h | 5 ++++- + clutter/gdk/clutter-gdk.h | 7 +++++++ + clutter/wayland/clutter-wayland-compositor.h | 4 ++-- + clutter/win32/clutter-win32.h | 5 +++++ + clutter/x11/clutter-glx-texture-pixmap.h | 1 + + clutter/x11/clutter-x11-texture-pixmap.h | 9 +++++++++ + clutter/x11/clutter-x11.h | 22 ++++++++++++++++++++++ + 7 files changed, 50 insertions(+), 3 deletions(-) + +commit 66826bc6ba8a9fa250210ae16dfbf406d71dce24 +Author: Emmanuele Bassi +Date: Mon Mar 17 19:26:27 2014 +0000 + + Annotate symbol visibility in Cally + + Like we did for the main library. + + clutter/cally/cally-actor.h | 13 +++++++++---- + clutter/cally/cally-clone.c | 1 + + clutter/cally/cally-clone.h | 10 ++++++---- + clutter/cally/cally-group.c | 2 ++ + clutter/cally/cally-group.h | 8 +++++--- + clutter/cally/cally-main.h | 9 +++++++-- + clutter/cally/cally-rectangle.c | 5 +++++ + clutter/cally/cally-rectangle.h | 8 +++++--- + clutter/cally/cally-root.c | 8 +++++++- + clutter/cally/cally-root.h | 10 ++++++---- + clutter/cally/cally-stage.c | 1 + + clutter/cally/cally-stage.h | 8 +++++--- + clutter/cally/cally-text.c | 2 ++ + clutter/cally/cally-text.h | 10 ++++++---- + clutter/cally/cally-texture.c | 5 +++++ + clutter/cally/cally-texture.h | 10 ++++++---- + clutter/cally/cally-util.h | 8 +++++--- + 17 files changed, 83 insertions(+), 35 deletions(-) + +commit c69bb976b3e92cb4d4ef270fb955ce1c8f85a281 +Author: Emmanuele Bassi +Date: Mon Mar 17 18:19:52 2014 +0000 + + Annotate all public symbols + + We are going to switch to compiler annotations to determine the + visibility of the symbols. + + clutter/clutter-action.h | 11 +++- + clutter/clutter-actor-meta.h | 6 ++ + clutter/clutter-actor.c | 2 - + clutter/clutter-actor.h | 89 ++++++++++++++++++++++++++++ + clutter/clutter-align-constraint.h | 8 +++ + clutter/clutter-animatable.h | 5 ++ + clutter/clutter-backend.h | 22 ++++--- + clutter/clutter-bin-layout.h | 6 +- + clutter/clutter-bind-constraint.h | 8 +++ + clutter/clutter-binding-pool.h | 13 ++++ + clutter/clutter-blur-effect.h | 2 + + clutter/clutter-box-layout.h | 9 +++ + clutter/clutter-brightness-contrast-effect.h | 8 +++ + clutter/clutter-cairo.h | 2 + + clutter/clutter-child-meta.h | 9 ++- + clutter/clutter-click-action.h | 6 ++ + clutter/clutter-clone.h | 12 ++-- + clutter/clutter-color.h | 39 +++++++++--- + clutter/clutter-colorize-effect.h | 4 ++ + clutter/clutter-constraint.h | 9 +++ + clutter/clutter-container.h | 86 +++++++++++++++------------ + clutter/clutter-deform-effect.h | 28 +++++---- + clutter/clutter-desaturate-effect.h | 4 ++ + clutter/clutter-device-manager.h | 8 ++- + clutter/clutter-drag-action.h | 10 ++++ + clutter/clutter-drop-action.h | 2 + + clutter/clutter-effect.h | 12 +++- + clutter/clutter-enum-types.c.in | 1 + + clutter/clutter-enum-types.h.in | 19 +++--- + clutter/clutter-event.h | 52 +++++++++++++--- + clutter/clutter-feature.h | 2 + + clutter/clutter-fixed-layout.h | 2 + + clutter/clutter-flow-layout.h | 14 +++++ + clutter/clutter-gesture-action.h | 7 +++ + clutter/clutter-group.h | 1 + + clutter/clutter-input-device.h | 20 +++++++ + clutter/clutter-interval.c | 8 ++- + clutter/clutter-interval.h | 18 ++++++ + clutter/clutter-layout-manager.h | 13 ++++ + clutter/clutter-layout-meta.h | 2 + + clutter/clutter-list-model.h | 3 + + clutter/clutter-macros.h | 78 +++++++++++++----------- + clutter/clutter-main.h | 36 +++++++++++ + clutter/clutter-model.h | 43 +++++++++++++- + clutter/clutter-offscreen-effect.h | 4 ++ + clutter/clutter-page-turn-effect.h | 8 +++ + clutter/clutter-path-constraint.h | 6 ++ + clutter/clutter-path.h | 26 ++++++++ + clutter/clutter-script.h | 16 +++++ + clutter/clutter-scriptable.h | 5 ++ + clutter/clutter-settings.h | 2 + + clutter/clutter-shader-effect.h | 7 +++ + clutter/clutter-shader-types.h | 11 +++- + clutter/clutter-snap-constraint.h | 8 +++ + clutter/clutter-stage-manager.h | 5 ++ + clutter/clutter-stage.h | 35 +++++++++++ + clutter/clutter-swipe-action.h | 2 + + clutter/clutter-text.h | 67 +++++++++++++++++++++ + clutter/clutter-texture.h | 2 + + clutter/clutter-timeline.h | 25 ++++++++ + clutter/clutter-types.h | 54 +++++++++++++++++ + clutter/clutter-units.h | 18 ++++++ + clutter/clutter-version.h.in | 6 -- + clutter/clutter.h | 3 +- + clutter/deprecated/clutter-fixed.h | 1 + + 65 files changed, 908 insertions(+), 142 deletions(-) + +commit 2102573700c84dcb9f94a77eaee7863326ebe3db +Author: teuf +Date: Sun Mar 16 15:33:11 2014 +0000 + + Updated French translation + + po/fr.po | 921 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 493 insertions(+), 428 deletions(-) + +commit e70a0109f2306080a853aa15eb61fd9ce53edf73 +Author: Rui Matos +Date: Mon Nov 11 18:16:32 2013 +0100 + + Avoid needless event copies when queueing from a backend to a stage + + All backends follow the same pattern of queueing events first in + ClutterMainContext, then copying them to a ClutterStage queue and + immediately free them. Instead, we can just pass ownership of events + directly to ClutterStage thus avoiding the allocation and copy in + between. + + https://bugzilla.gnome.org/show_bug.cgi?id=711857 + + clutter/clutter-main.c | 2 +- + clutter/clutter-stage-private.h | 3 ++- + clutter/clutter-stage.c | 8 ++++++-- + clutter/evdev/clutter-device-manager-evdev.c | 4 ++-- + clutter/gdk/clutter-event-gdk.c | 3 +-- + clutter/osx/clutter-event-loop-osx.c | 3 +-- + clutter/tslib/clutter-event-tslib.c | 3 +-- + clutter/wayland/clutter-event-wayland.c | 4 ++-- + clutter/win32/clutter-event-win32.c | 3 +-- + clutter/x11/clutter-event-x11.c | 7 +++---- + 10 files changed, 20 insertions(+), 20 deletions(-) + +commit 572504db4db7b69a62825c755129efb58bb19b54 +Author: Emmanuele Bassi +Date: Sat Mar 15 19:31:54 2014 +0000 + + Edit an incorrect comment + + The location of the cool-off handling of clipped redraws has been moved + to clutter-stage-x11.c a long time ago (commit 1b1e77b4). + + clutter/x11/clutter-stage-x11.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 79ece182dc1b6939bd4bf16c4bae7838aaf00de1 +Author: Jasper St. Pierre +Date: Fri Mar 14 21:24:57 2014 -0400 + + egl: Only expose clutter_egl_set_kms_fd if we have KMS support + + And only call the proper Cogl functions in that case, too. This + fixes the build on platforms without KMS, like the BSDs. + + https://bugzilla.gnome.org/show_bug.cgi?id=726198 + + clutter/egl/clutter-backend-eglnative.c | 6 ++++++ + clutter/egl/clutter-egl.h | 2 ++ + 2 files changed, 8 insertions(+) + +commit a4440b718d17dccf9a7def882b42bb2f976510e9 +Author: Jonas Ådahl +Date: Wed Sep 18 21:56:06 2013 +0200 + + wayland: Keep track of button modifier state + + Keep track of the button modifier mask state in + ClutterInputDeviceWayland and push its state to new button events going + out. + + Signed-off-by: Jonas Ådahl + + https://bugzilla.gnome.org/show_bug.cgi?id=708781 + + clutter/wayland/clutter-input-device-wayland.c | 14 ++++++++++++++ + clutter/wayland/clutter-input-device-wayland.h | 1 + + 2 files changed, 15 insertions(+) + +commit a96daf82c255c0d8c45361b5b2059008d660029d +Author: Jasper St. Pierre +Date: Fri Feb 28 09:48:10 2014 -0500 + + egl: Add a way to set the KMS FD + + This is needed for the logind integration work, where logind will + send us an already-opened FD to KMS. + + https://bugzilla.gnome.org/show_bug.cgi?id=726198 + + clutter/egl/clutter-backend-eglnative.c | 39 +++++++++++++++++++++++++++++++++ + clutter/egl/clutter-egl.h | 2 ++ + 2 files changed, 41 insertions(+) + +commit 06387c3fd79f174be3a8c12afda27b523e696153 +Author: Adel Gadllah +Date: Fri Mar 14 10:41:57 2014 +0100 + + stage-cogl: Fix feature check in clutter_stage_cogl_redraw + + We do not strictly require the 'swap-region' Cogl feature in order to use + clipped redraws: they work equally well with just the 'buffer-age' Cogl + feature. + + https://bugzilla.gnome.org/show_bug.cgi?id=726313 + + clutter/cogl/clutter-stage-cogl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f649d732f9c2507664a85e5358ccd6b541ffb24a +Author: Adel Gadllah +Date: Fri Mar 14 10:55:52 2014 +0100 + + clutter-stage-wayland: Enable clipped redraws + + _clutter_stage_window_can_clip_redraws is used to check for clipped redraws + support but can_clip_redraws is not implemented by clutter-stage-wayland so + it always returns FALSE causing full screen redraws. + + Fix that by implementing can_clip_redraws in clutter-stage-wayland. + + https://bugzilla.gnome.org/show_bug.cgi?id=726315 + + clutter/wayland/clutter-stage-wayland.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit e4497baaf02cbcc0acf345ad97795831f947de53 +Author: Adel Gadllah +Date: Fri Mar 14 14:18:33 2014 +0100 + + eglnative: Add clutter-stage-window implementation + + Add a ClutterStageEglNative implemennation that implements + can_clip_redraws so that clipped redraws can work + on eglnative. + + https://bugzilla.gnome.org/show_bug.cgi?id=726341 + + clutter/Makefile.am | 4 +- + clutter/egl/clutter-backend-eglnative.c | 4 +- + clutter/egl/clutter-stage-eglnative.c | 70 +++++++++++++++++++++++++++++++++ + clutter/egl/clutter-stage-eglnative.h | 59 +++++++++++++++++++++++++++ + 4 files changed, 134 insertions(+), 3 deletions(-) + +commit dcaf5686a243d8b75ebe85206386dcf380216851 +Author: Jasper St. Pierre +Date: Mon Mar 10 10:25:22 2014 -0400 + + evdev: Always create the main seat + + There could be times when we may not necessarily see a device appear + at initialization time, like when we're VT switched away when we + initialize, and thus we can't ever rely on a main seat appearing. + + Always create a main seat with logical pointer/keyboard devices, and + tie the first physical seat that comes in to the main seat. + + https://bugzilla.gnome.org/show_bug.cgi?id=726199 + + clutter/evdev/clutter-device-manager-evdev.c | 31 ++++++++++++++-------------- + 1 file changed, 15 insertions(+), 16 deletions(-) + +commit defe55ff097aa53897bdd43c5ffdeadaab9f2a85 +Author: Jasper St. Pierre +Date: Mon Mar 10 10:20:52 2014 -0400 + + evdev: Extract code for setting the libinput seat out + + We're going to create the main seat at an earlier time, when + we don't have the physical libinput_seat yet, so we need to + do the association later. + + https://bugzilla.gnome.org/show_bug.cgi?id=726199 + + clutter/evdev/clutter-device-manager-evdev.c | 15 ++++++++++++--- + 1 file changed, 12 insertions(+), 3 deletions(-) + +commit 5facd710c8258a60d99b0a98199f83aac7dd9139 +Author: Jasper St. Pierre +Date: Mon Mar 10 10:19:09 2014 -0400 + + evdev: Set the initial pointer position for all pointer devices + + Rather than just those on the main seat. + + https://bugzilla.gnome.org/show_bug.cgi?id=726199 + + clutter/evdev/clutter-device-manager-evdev.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit e23f77f1e62afd8db712ab75b788dd92f06b9b2a +Author: Jasper St. Pierre +Date: Sat Mar 1 13:06:25 2014 -0500 + + evdev: Extend the device open callback with a close callback as well + + We need to return the device to logind with ReleaseDevice(). + + https://bugzilla.gnome.org/show_bug.cgi?id=726199 + + clutter/evdev/clutter-device-manager-evdev.c | 29 +++++++++++++++++----------- + clutter/evdev/clutter-evdev.h | 7 +++++-- + 2 files changed, 23 insertions(+), 13 deletions(-) + +commit aa5a4e9e3c1cbeeb6658b0f33788487bc6867187 +Author: Emmanuele Bassi +Date: Tue Mar 11 22:50:04 2014 +0000 + + stage: Use the correct types for debug note + + clutter/clutter-stage.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 3b22c28da4d1a5080052b43b3ba6370b02f1d4b0 +Author: Duarte Loreto +Date: Wed Mar 12 01:48:11 2014 +0000 + + Updated Portuguese translation + + po/pt.po | 886 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 473 insertions(+), 413 deletions(-) + +commit 967d4c5b856dc910b42f5f1834a1ecc93035b9ec +Author: Changwoo Ryu +Date: Wed Mar 12 09:38:10 2014 +0900 + + Added Korean translation + + po/ko.po | 2799 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2799 insertions(+) + +commit 70835c904a63cf40e175163ef33cbe62f0bfbe89 +Author: Bastian Winkler +Date: Tue Mar 11 12:35:03 2014 +0100 + + grid-layout: Use correct orientation when requesting preferred child size + + Otherwise width and height are swapped. + + https://bugzilla.gnome.org/show_bug.cgi?id=725722 + + clutter/clutter-grid-layout.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 65c7c4bcb6cdca0fafacce9b66eb394890f9e929 +Author: Yuri Myasoedov +Date: Tue Mar 11 16:20:07 2014 +0400 + + Updated Russian translation + + po/ru.po | 1118 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 602 insertions(+), 516 deletions(-) + +commit 146c0610b7cc76cb963567aea28002e822844d36 +Author: Chao-Hsiung Liao +Date: Sun Mar 9 11:29:52 2014 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 196 ++++++++++++++++++++++++++++++++---------------------------- + po/zh_TW.po | 196 ++++++++++++++++++++++++++++++++---------------------------- + 2 files changed, 206 insertions(+), 186 deletions(-) + +commit e95f7e34c001c9a92678a21920cc778ac1ad6c01 +Author: Rūdolfs Mazurs +Date: Sat Mar 8 19:46:12 2014 +0200 + + Updated Latvian translation + + po/lv.po | 935 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 500 insertions(+), 435 deletions(-) + +commit 986077cbda36dea47e5b342072f0a587c55a3643 +Author: Wylmer Wang +Date: Sat Mar 8 12:45:29 2014 +0000 + + Updated Chinese (China) translation + + po/zh_CN.po | 336 +++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 187 insertions(+), 149 deletions(-) + +commit c1fd29df7ac73ca85c0d3e0e2d9da92af250c9c4 +Author: Chun-wei Fan +Date: Fri Mar 7 12:28:40 2014 +0800 + + Fix The Win32 Backend for Newer Visual Studio Versions + + The GetSystemMetrics() function returns wrong values for SM_CXSIZEFRAME, + SM_CYSIZEFRAME, SM_CXFIXEDFRAME and SM_CYFIXEDFRAME when built with Visual + Studio 2012 and 2013 (unless the XP compatibility setting for the + PlatformToolset entry is turned on), causing the window of Clutter programs + to automatically shrink to a point where they become unusable. + + This patch uses AdjustWindowRectEx() for builds using Visual Studio 2012 + and later, which deduces the required height and width of the Window + properly. Unfortunately we can't use this for the VS 2008/2010 builds as + they cause the Window to continually expand as the program is run. + + https://bugzilla.gnome.org/show_bug.cgi?id=725873 + + clutter/win32/clutter-stage-win32.c | 25 ++++++++++++++++++++----- + 1 file changed, 20 insertions(+), 5 deletions(-) + +commit acd7d9555c09ef7b22fe1b08980b1eaf9759405a +Author: Chun-wei Fan +Date: Wed Mar 5 18:44:19 2014 +0800 + + Fix Build of clutter-test-utils.c on Windows + + The use of "environ" clashes with a #define in Window's stdlib.h, at least + on Visual Studio, so fix the build by prefixing environ with test_. + + https://bugzilla.gnome.org/show_bug.cgi?id=725716 + + clutter/clutter-test-utils.c | 34 +++++++++++++++++----------------- + 1 file changed, 17 insertions(+), 17 deletions(-) + +commit da22baa99d732af42f2fcbcd22042a5ddb9e82f6 +Author: Chun-wei Fan +Date: Thu Mar 6 19:51:50 2014 +0800 + + Visual Studio 2010 Projects: Add PlatformToolset Tag + + This adds a PlatformToolset tag for each configuration so that it is easier + to upgrade the projects to Visual Studio 2012/2013 formats, which are + largely the same as the Visual Studio 2010 projects. We can, for example, + use a script to change the values of the PlatformToolset to make these + projects usable out-of-the-box for Visual Studio 2012/2013. + + build/win32/vs10/cally-atkcomponent-example.vcxproj | 4 ++++ + build/win32/vs10/cally-atkeditabletext-example.vcxproj | 4 ++++ + build/win32/vs10/cally-atkevents-example.vcxproj | 4 ++++ + build/win32/vs10/cally-atktext-example.vcxproj | 4 ++++ + build/win32/vs10/cally-clone-example.vcxproj | 4 ++++ + build/win32/vs10/clutter.vcxprojin | 8 ++++++++ + build/win32/vs10/install.vcxproj | 4 ++++ + build/win32/vs10/test-cogl-perf.vcxproj | 4 ++++ + build/win32/vs10/test-interactive-clutter.vcxprojin | 4 ++++ + build/win32/vs10/test-picking-performance.vcxproj | 4 ++++ + build/win32/vs10/test-picking.vcxproj | 4 ++++ + build/win32/vs10/test-random-text.vcxproj | 4 ++++ + build/win32/vs10/test-state-hidden-performance.vcxproj | 4 ++++ + build/win32/vs10/test-state-interactive-performance.vcxproj | 4 ++++ + build/win32/vs10/test-state-mini-performance.vcxproj | 4 ++++ + build/win32/vs10/test-state-performance.vcxproj | 4 ++++ + build/win32/vs10/test-state-pick-performance.vcxproj | 4 ++++ + build/win32/vs10/test-text-perf-performance.vcxproj | 4 ++++ + build/win32/vs10/test-text-perf.vcxproj | 4 ++++ + build/win32/vs10/test-text.vcxproj | 4 ++++ + 20 files changed, 84 insertions(+) + +commit b52397d37450d7aa5301712b5a9294fe238ac587 +Author: Chun-wei Fan +Date: Thu Mar 6 16:30:30 2014 +0800 + + Overhaul the Visual Studio 2010 Build Files + + Like the Visual Studio 2008 projects, give the Visual Studio 2010 projects + an overhaul, where: + + -The property sheets are split up, so that they are easier to maintain and + each project only needs to include the necessary parts. The various + projects are updated accordingly, too. The copying of config.h.win32 and + clutter-config.h.win32(_GDK) are now done with custom build rules, so that + these files can be cleaned and/or recopied during a clean, rebuild or + update. + + -Clean up the property sheets, to get rid of parts that are actually + repeated. Also update the build macros, so that we won't get warnings + for repeated #defines of macros and fix the build of the various tests/ + demo programs. + + -Make all projects use Unix line endings, except for the .sln and + README.txt files, which need to have Windows line endings. This makes it + easier to apply patches to these project files. + + -Update the installation of headers, as headers are introduced/deprecated. + + -Cosmetics: get rid of "\ No newline at end of file". + + build/win32/vs10/Makefile.am | 5 +- + .../win32/vs10/cally-atkcomponent-example.vcxproj | 10 +- + .../cally-atkcomponent-example.vcxproj.filters | 2 +- + .../vs10/cally-atkeditabletext-example.vcxproj | 10 +- + .../cally-atkeditabletext-example.vcxproj.filters | 2 +- + build/win32/vs10/cally-atkevents-example.vcxproj | 10 +- + .../vs10/cally-atkevents-example.vcxproj.filters | 2 +- + build/win32/vs10/cally-atktext-example.vcxproj | 10 +- + .../vs10/cally-atktext-example.vcxproj.filters | 2 +- + build/win32/vs10/cally-clone-example.vcxproj | 10 +- + .../win32/vs10/cally-clone-example.vcxproj.filters | 2 +- + build/win32/vs10/clutter-build-defines.props | 63 ++++ + build/win32/vs10/clutter-gen-srcs.props | 98 ++++++ + .../vs10/{clutter.props => clutter-install.props} | 219 ++----------- + build/win32/vs10/clutter-version-paths.props | 57 ++++ + build/win32/vs10/clutter.vcxproj.filtersin | 4 + + build/win32/vs10/clutter.vcxprojin | 162 +++++++--- + build/win32/vs10/install.vcxproj | 10 +- + build/win32/vs10/test-cogl-perf.vcxproj | 10 +- + build/win32/vs10/test-cogl-perf.vcxproj.filters | 2 +- + .../test-interactive-clutter.vcxproj.filtersin | 2 +- + .../win32/vs10/test-interactive-clutter.vcxprojin | 10 +- + build/win32/vs10/test-picking-performance.vcxproj | 338 ++++++++++----------- + .../vs10/test-picking-performance.vcxproj.filters | 46 +-- + build/win32/vs10/test-picking.vcxproj | 10 +- + build/win32/vs10/test-picking.vcxproj.filters | 2 +- + build/win32/vs10/test-random-text.vcxproj | 10 +- + build/win32/vs10/test-random-text.vcxproj.filters | 2 +- + .../vs10/test-state-hidden-performance.vcxproj | 338 ++++++++++----------- + .../test-state-hidden-performance.vcxproj.filters | 46 +-- + .../test-state-interactive-performance.vcxproj | 338 ++++++++++----------- + ...t-state-interactive-performance.vcxproj.filters | 46 +-- + .../win32/vs10/test-state-mini-performance.vcxproj | 338 ++++++++++----------- + .../test-state-mini-performance.vcxproj.filters | 46 +-- + build/win32/vs10/test-state-performance.vcxproj | 338 ++++++++++----------- + .../vs10/test-state-performance.vcxproj.filters | 46 +-- + .../win32/vs10/test-state-pick-performance.vcxproj | 338 ++++++++++----------- + .../test-state-pick-performance.vcxproj.filters | 46 +-- + .../win32/vs10/test-text-perf-performance.vcxproj | 338 ++++++++++----------- + .../test-text-perf-performance.vcxproj.filters | 46 +-- + build/win32/vs10/test-text-perf.vcxproj | 10 +- + build/win32/vs10/test-text-perf.vcxproj.filters | 2 +- + build/win32/vs10/test-text.vcxproj | 10 +- + build/win32/vs10/test-text.vcxproj.filters | 2 +- + 44 files changed, 1780 insertions(+), 1658 deletions(-) + +commit 3c344fe5eda34e1221da23818a2ce297d0f22125 +Author: Chun-wei Fan +Date: Wed Mar 5 18:41:45 2014 +0800 + + Overhaul the Visual Studio 2008 Projects + + Split up the property sheets, so that they are easier to maintain, and + clean up the projects and property sheets, especially on items that are + being repeated, and therefore silence many build warnings. Update the + project files correspondingly, and make all project files use Unix line + endings, for easier application of patches (the .sln and README.txt files + still has to have Windows line endings in order to work properly). + + Also make the copying of config.h.win32 and clutter-config.h.win32(_GDK) + custom build rules, so that they may also be cleaned during the cleaning + of the build, which makes it easier for one to do a rebuild. + + Similar updates to the Visual Studio 2010 project files will follow. + + build/win32/vs9/Makefile.am | 5 +- + build/win32/vs9/cally-atkcomponent-example.vcproj | 8 +- + .../win32/vs9/cally-atkeditabletext-example.vcproj | 8 +- + build/win32/vs9/cally-atkevents-example.vcproj | 8 +- + build/win32/vs9/cally-atktext-example.vcproj | 8 +- + build/win32/vs9/cally-clone-example.vcproj | 8 +- + build/win32/vs9/clutter-build-defines.vsprops | 57 ++++ + build/win32/vs9/clutter-gen-srcs.vsprops | 81 +++++ + .../{clutter.vsprops => clutter-install.vsprops} | 182 +---------- + build/win32/vs9/clutter-version-paths.vsprops | 54 ++++ + build/win32/vs9/clutter.vcprojin | 328 +++++++++++++++----- + build/win32/vs9/install.vcproj | 8 +- + build/win32/vs9/test-cogl-perf.vcproj | 8 +- + build/win32/vs9/test-interactive-clutter.vcprojin | 8 +- + build/win32/vs9/test-picking-performance.vcproj | 332 ++++++++++----------- + build/win32/vs9/test-picking.vcproj | 8 +- + build/win32/vs9/test-random-text.vcproj | 8 +- + .../win32/vs9/test-state-hidden-performance.vcproj | 332 ++++++++++----------- + .../vs9/test-state-interactive-performance.vcproj | 332 ++++++++++----------- + build/win32/vs9/test-state-mini-performance.vcproj | 332 ++++++++++----------- + build/win32/vs9/test-state-performance.vcproj | 332 ++++++++++----------- + build/win32/vs9/test-state-pick-performance.vcproj | 332 ++++++++++----------- + build/win32/vs9/test-text-perf-performance.vcproj | 332 ++++++++++----------- + build/win32/vs9/test-text-perf.vcproj | 8 +- + build/win32/vs9/test-text.vcproj | 8 +- + 25 files changed, 1664 insertions(+), 1463 deletions(-) + +commit 016eb45feed24500a68609f87255a170e6b64d91 +Author: Emmanuele Bassi +Date: Tue Mar 4 01:35:36 2014 +0000 + + Post-release version bump to 1.17.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3c2081fce45ce9363d167df0ef5093d272ca9c14 +Author: Emmanuele Bassi +Date: Tue Mar 4 01:29:07 2014 +0000 + + Release Clutter 1.17.6 + + NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 41 insertions(+), 1 deletion(-) + +commit c73f45ca7c90af622e604e1edd8e27f4bdd9acc8 +Author: Emmanuele Bassi +Date: Mon Mar 3 23:25:08 2014 +0000 + + text: Use the keymap direction when focused + + If the ClutterText actor has key focus then we should ask for the + direction of the key map, instead of the direction of the actor. + + https://bugzilla.gnome.org/show_bug.cgi?id=705779 + + clutter/clutter-text.c | 17 ++++++++++++----- + 1 file changed, 12 insertions(+), 5 deletions(-) + +commit 3209129d6b9031fc4beb4d0c5c6b8a8c05286941 +Author: Emmanuele Bassi +Date: Mon Mar 3 23:23:12 2014 +0000 + + x11: Add keymap direction query + + We should use the Xkb API to query the direction of the key map, + depending on the group. To get a valid result we need to go over + the Unicode equivalents of the key symbols for each group, so we + should cache the result. + + The code used to query and cache the key map direction is taken + from GDK. + + https://bugzilla.gnome.org/show_bug.cgi?id=705779 + + clutter/x11/clutter-backend-x11.c | 13 +++ + clutter/x11/clutter-keymap-x11.c | 164 +++++++++++++++++++++++++++++++++++++- + clutter/x11/clutter-keymap-x11.h | 3 + + 3 files changed, 179 insertions(+), 1 deletion(-) + +commit a0003499783d28028dbc4c48e3c673d6b244a20e +Author: Emmanuele Bassi +Date: Mon Mar 3 23:22:13 2014 +0000 + + backend: Add private accessor for the keymap direction + + We need to ask the backend (wherever possible) for the direction of the + current keymap. + + https://bugzilla.gnome.org/show_bug.cgi?id=705779 + + clutter/clutter-backend-private.h | 4 ++++ + clutter/clutter-backend.c | 12 ++++++++++++ + 2 files changed, 16 insertions(+) + +commit 6faf6dfe420c57f97d4603979693e282082e9a9a +Author: Emmanuele Bassi +Date: Mon Mar 3 19:16:00 2014 +0000 + + text: Use the resolved text direction + + Now that we compute the effective text direction when creating the Pango + layout, we should also use it when painting it. + + https://bugzilla.gnome.org/show_bug.cgi?id=705779 + + clutter/clutter-text.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 50b6b59d02947bf17252c402deff112c2071edc8 +Author: Emmanuele Bassi +Date: Mon Mar 3 18:04:19 2014 +0000 + + text: Discover the direction of the contents + + We should set the direction on the PangoContext when creating a + PangoLayout based on a best effort between the contents of the text + itself and the text direction of the widget, in case that fails. + + https://bugzilla.gnome.org/show_bug.cgi?id=705779 + + clutter/clutter-text.c | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +commit c42aa42361ef12f2b331fe10db77510f2aada67c +Author: Fran Diéguez +Date: Mon Mar 3 21:47:28 2014 +0100 + + Updated Galician translations + + po/gl.po | 76 +++++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 44 insertions(+), 32 deletions(-) + +commit 9b097eb4d86e5235b3434a1e095f29a6a835b3cc +Author: Jasper St. Pierre +Date: Sat Mar 1 14:12:54 2014 -0500 + + device-manager-evdev: Make sure to reset released when reclaiming devices + + Otherwise, Clutter will tell us that we forgot to call reclaim_devices + the next time we call release_devices... but we didn't! + + clutter/evdev/clutter-device-manager-evdev.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4a3ad9c3af2db9bb805b7abae018f6531087d1ac +Author: Adel Gadllah +Date: Mon Mar 3 11:36:11 2014 +0100 + + DeviceManagerXi2: Cache the client pointer + + Currently clutter_device_manager_xi2_get_core_device always + does a round trip to query the client. + + So avoid that by caching the client pointer and only update it when the + xi devices change. + + https://bugzilla.gnome.org/show_bug.cgi?id=725561 + + clutter/x11/clutter-device-manager-xi2.c | 35 ++++++++++++++++++++------------ + 1 file changed, 22 insertions(+), 13 deletions(-) + +commit edc91b7640c15678a9136dc1028518a46631936a +Author: Piotr Drąg +Date: Sun Mar 2 18:49:34 2014 +0100 + + Updated Polish translation + + po/pl.po | 930 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 489 insertions(+), 441 deletions(-) + +commit fdd553d2a9bef6cd449311e491fd985cad750f93 +Author: Jasper St. Pierre +Date: Fri Feb 28 09:50:36 2014 -0500 + + evdev: Kill compile warning + + clutter/evdev/clutter-device-manager-evdev.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 64508e48b633dfd07fe2602b4c0601b267c2bb08 +Author: Rui Matos +Date: Thu Feb 27 11:30:10 2014 +0100 + + evdev: Add missing CLUTTER_AVAILABLE_IN_* annotations + + clutter/evdev/clutter-evdev.h | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 2c9a4fd2204626119c501eb30f9608f660dd0c9a +Author: Rui Matos +Date: Thu Feb 27 11:22:50 2014 +0100 + + evdev: Add missing 'Since' and 'Stability' doc tags + + clutter/evdev/clutter-device-manager-evdev.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit 458de1178dcfd2371ca8d1e684c403b631c552cf +Author: Rui Matos +Date: Mon Feb 24 16:41:51 2014 +0100 + + evdev: Set the initial core pointer coordinates to a sane value + + ClutterInputDevice's default initial coordinates is (-1, -1) and since + they're updated from events in a relative way it means that the + pointer can go outside the stage right from the first event. + + We usually let this up to higher layers to fix through the pointer + constraint callback but that doesn't work if the first event doesn't + put the pointer immediately inside the stage. + + https://bugzilla.gnome.org/show_bug.cgi?id=725103 + + clutter/evdev/clutter-device-manager-evdev.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit d67b38f96086d8cec316784516154b3af4a449eb +Author: Rui Matos +Date: Wed Jan 15 17:54:25 2014 +0100 + + evdev: Make the keymap available + + Make the keymap available so that consumers don't have to duplicate it + if they need it. + + https://bugzilla.gnome.org/show_bug.cgi?id=725102 + + clutter/evdev/clutter-device-manager-evdev.c | 20 ++++++++++++++++++++ + clutter/evdev/clutter-evdev.h | 2 ++ + 2 files changed, 22 insertions(+) + +commit 2a7d5503d85e8b35ee1347a12e3099273b689408 +Author: Rui Matos +Date: Mon Jan 20 13:50:08 2014 +0100 + + evdev: Don't update xkb state with pressed keys on keymap change + + Doing so is unlikely to work reliably. Instead, switching the keymap + should be done at a time when no key is currently pressed down, but + let's leave that task to higher level code. + + This allows us to remove key state tracking at yet another level in + the stack since higher level code likely already tracks this for other + purposes. + + https://bugzilla.gnome.org/show_bug.cgi?id=725102 + + clutter/evdev/clutter-device-manager-evdev.c | 47 ++-------------------------- + 1 file changed, 3 insertions(+), 44 deletions(-) + +commit 945ee5764af31a0471c8410b094b41f343afd67a +Author: Rui Matos +Date: Mon Jan 20 13:47:06 2014 +0100 + + evdev: Keep latched and locked modifier state when switching keymaps + + https://bugzilla.gnome.org/show_bug.cgi?id=725102 + + clutter/evdev/clutter-device-manager-evdev.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit a6bd53ec426f48441541b484281295316ce0b077 +Author: Rui Matos +Date: Mon Jan 13 16:05:57 2014 +0100 + + evdev: Implement keyboard repeat + + The kernel keyboard repeat functionality isn't configurable and + libinput rightfully ignores it. + + This implements keyboard repeat in userspace allowing for consumers to + set the initial delay and repeat intervals. + + https://bugzilla.gnome.org/show_bug.cgi?id=725102 + + clutter/evdev/clutter-device-manager-evdev.c | 129 ++++++++++++++++++++++++++- + clutter/evdev/clutter-evdev.h | 4 + + 2 files changed, 131 insertions(+), 2 deletions(-) + +commit 133f95fd0d5ec3a4ec8c6f5db5be5331a1d328f2 +Author: Rui Matos +Date: Mon Feb 24 14:22:19 2014 +0100 + + evdev: Add a conditional define guard to expose API + + The evdev backend has always been excluded from Clutter's API + stability guarantee though in an informal way. This commit makes it + explicit by forcing users to define CLUTTER_ENABLE_COMPOSITOR_API. + + https://bugzilla.gnome.org/show_bug.cgi?id=725102 + + README.in | 6 ++++++ + clutter/evdev/clutter-evdev.h | 5 +++++ + 2 files changed, 11 insertions(+) + +commit b9abda52b62913939d9caf374ada282071083537 +Author: Rui Matos +Date: Thu Feb 27 10:55:05 2014 +0100 + + build: Bump required libinput version to the actually released 0.1.0 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dacb515e27fe9f98fcfe7b93730e8b9bf76f11e2 +Author: Jonas Ådahl +Date: Sun Dec 15 17:38:56 2013 +0100 + + evdev: Port evdev input backend to libinput + + Instead of having its own evdev input device processing implementation, + make clutter's evdev backend use libinput to do input device processing + for it. + + Two GObject parameters of ClutterInputDeviceEvdev (sysfs-path and + device-path) are removed as they are not used any more. + + Before ClutterDeviceManagerEvdev had one virtual core keyboard and one + virtual core pointer device. These are now instead separated into seats, + which all have one virtual core keyboard and pointer device respectively. + + The 'global' core keyboard and pointer device are the core keyboard and + pointer device of the first seat that is created. + + A ClutterInputDeviceEvdev can, as before, both represent a real physical + device or a virtual device, but is now instead created either via + _clutter_input_device_evdev_new() for real devices, and + _clutter_input_device_new_virtual() for virtual devices. + + XKB state and button state is moved to the seat structure and is thus + separated per seat. Seats are not a concept exposed outside of clutter's + evdev backend. + + Signed-off-by: Jonas Ådahl + + https://bugzilla.gnome.org/show_bug.cgi?id=720566 + + README.in | 7 +- + clutter/evdev/clutter-device-manager-evdev.c | 1317 ++++++++++++-------------- + clutter/evdev/clutter-input-device-evdev.c | 238 ++--- + clutter/evdev/clutter-input-device-evdev.h | 35 +- + configure.ac | 8 +- + 5 files changed, 757 insertions(+), 848 deletions(-) + +commit 488639eb63f0c26d65db0700e94b1067da873617 +Author: Carlos Garnacho +Date: Sat Feb 22 20:35:23 2014 +0100 + + x11: Avoid invalid ClutterInputDevice pointers in the device list + + Due to the way add_device() invariably adds to the master/slave device + lists, while keeping ClutterInputDevices 1:1 with device IDs, it may + leave invalid pointers in the list if add_device() is called multiple + times for the same device ID. There are two situations where this may + happen: + + 1) If devices are disabled and later enabled: devices are added invariably + to the master/slave lists on constructed(), but then on XIDeviceEnabled + they'd get added yet again. + 2) Racy cases where the ClutterDeviceManager is created around the same time + XIHierarchyEvents are sent. When getting the XIDeviceInfo on constructed(), + these devices may already appear as enabled, even though XIDeviceEnabled + is seen through XIHierarchyEvents processed in the event loop sortly after. + + This last case can be seen when starting gnome-shell on a different tty, + and entering in the one it's been spawned on, clutter initialization + happens around the same time devices are added back because of the tty + switch, and multiple extra ClutterInputDevices are created. + + https://bugzilla.gnome.org/show_bug.cgi?id=724971 + + clutter/x11/clutter-device-manager-xi2.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit c4372249e2b80b7623ad9ce33de2683f2ebed17c +Author: Мирослав Николић +Date: Mon Feb 24 22:45:32 2014 +0100 + + Updated Serbian translation + + po/sr.po | 62 +++++++++++++++++++++++++++++++++++----------------------- + po/sr@latin.po | 62 +++++++++++++++++++++++++++++++++++----------------------- + 2 files changed, 76 insertions(+), 48 deletions(-) + +commit 856342caadc4d9c8ed1ad701ba77800d0367b5b5 +Author: Balázs Úr +Date: Sun Feb 23 16:29:28 2014 +0100 + + Updated Hungarian translation + + po/hu.po | 863 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 468 insertions(+), 395 deletions(-) + +commit cee480bd1a33305dff6f9302132e647acf1048ad +Author: Marek Černocký +Date: Sat Feb 22 13:14:34 2014 +0100 + + Updated Czech translation + + po/cs.po | 50 +++++++++++++++++++++++++++++++++----------------- + 1 file changed, 33 insertions(+), 17 deletions(-) + +commit f8cfb5dd074d65f213da2e3bfea9787febf9fb3d +Author: Aurimas Černius +Date: Fri Feb 21 22:13:07 2014 +0200 + + Updated Lithuanian translation + + po/lt.po | 931 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 500 insertions(+), 431 deletions(-) + +commit bde9ea04e0409ad1101462fc11d82feb61cf3616 +Author: Rafael Ferreira +Date: Fri Feb 21 14:52:30 2014 +0000 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 54 +++++++++++++++++++++++++++++++++++++----------------- + 1 file changed, 37 insertions(+), 17 deletions(-) + +commit 263939553385102bf53fe3dfeaa64ee7364d7b89 +Author: Adel Gadllah +Date: Sun Feb 16 22:07:43 2014 +0100 + + stage-cogl: Fix buffer_age code path + + Currently we where checking whether the damage_history list contains + more or equal then buffer_age entries. This is wrong because we prepend + our current clip to the list just before the check. + + Fix that to check whether we have more entries instead of more or equal. + + https://bugzilla.gnome.org/show_bug.cgi?id=724788 + + clutter/cogl/clutter-stage-cogl.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 75f2b1c5c211537a4777d6ddb4cc6a63f6a6cc56 +Author: Emmanuele Bassi +Date: Wed Feb 19 13:30:45 2014 +0000 + + Post-release version bump to 1.17.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7fe74f58cb5b7d837ea72fe9a8e72828a4d084ec +Author: Emmanuele Bassi +Date: Wed Feb 19 13:24:22 2014 +0000 + + Release Clutter 1.17.4 (snapshot) + + NEWS | 36 ++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 37 insertions(+), 1 deletion(-) + +commit 5b3a1f75ca77eda839e6e367473f444b3bbf1a1d +Author: Emmanuele Bassi +Date: Wed Feb 19 13:20:41 2014 +0000 + + docs: Ignore clutter-test-utils.h + + The API is public, because we need it in the conformance test suite, but + it's still a work in progress. + + doc/reference/clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 15dd607120473ef26fc61d26c66ab0e587a01271 +Author: Emmanuele Bassi +Date: Wed Feb 19 13:07:30 2014 +0000 + + docs: Add missing symbols to the API reference + + doc/reference/clutter/clutter-sections.txt | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 8935ee4a78561024140468ae713be34760f313d6 +Author: Emmanuele Bassi +Date: Wed Feb 19 13:04:09 2014 +0000 + + Add missing exported symbols + + clutter/clutter.symbols | 2 ++ + 1 file changed, 2 insertions(+) + +commit 0f5db3dafa210be84155b9cc74b57349d9c21860 +Author: Milo Casagrande +Date: Sun Feb 16 12:21:14 2014 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 57 ++++++++++++++++++++++++++++++++++++--------------------- + 1 file changed, 36 insertions(+), 21 deletions(-) + +commit 320b3fe4d4e39d9b7a5fceca5caa8116c3fcc504 +Author: Daniel Korostil +Date: Fri Feb 14 20:37:43 2014 +0200 + + Added uk translation + + po/uk.po | 1572 ++++++++++++++++++++++++++++++++++---------------------------- + 1 file changed, 853 insertions(+), 719 deletions(-) + +commit 197d1703649ea39f226b5a72702a7ec93b201ebc +Author: Adel Gadllah +Date: Fri Feb 14 13:08:26 2014 +0100 + + stage_cogl: Don't scale the current_damage when adding to the damage_list + + Otherwise we will union the scaled rectange with the clip_region which is + unscaled causing us to redraw a larger area. + + clutter/cogl/clutter-stage-cogl.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit f01716f9bc24194db39f3ab886e483cffbf6e36a +Author: Daniel Mustieles +Date: Fri Feb 14 10:19:07 2014 +0100 + + Updated Spanish translation + + po/es.po | 57 ++++++++++++++++++++++++++++++++++++--------------------- + 1 file changed, 36 insertions(+), 21 deletions(-) + +commit 32b3d27bb91fd305e0d095910a75295e455edd8c +Author: Bastien Nocera +Date: Wed Feb 12 17:41:03 2014 +0100 + + GestureActions: Add per-action thresholds + + Instead of relying on the dnd drag threshold, add per-action + horizontal and vertical thresholds. Use them in the swipe action + as well. + + https://bugzilla.gnome.org/show_bug.cgi?id=724242 + + clutter/clutter-gesture-action.c | 163 +++++++++++++++++++++++++++++++++++---- + clutter/clutter-gesture-action.h | 10 +++ + clutter/clutter-swipe-action.c | 24 +++--- + 3 files changed, 172 insertions(+), 25 deletions(-) + +commit 54e2657cb0265c70f82249c83962901a6492d863 +Author: Bastien Nocera +Date: Wed Feb 12 17:36:43 2014 +0100 + + GestureActions: Set threshold-trigger-edge at right time + + It was set during the _init(), and swiftly overridden with the + default value in construct. Do it in constructed() instead. + + https://bugzilla.gnome.org/show_bug.cgi?id=724242 + + clutter/clutter-pan-action.c | 15 ++++++++++----- + clutter/clutter-rotate-action.c | 14 +++++++++++++- + clutter/clutter-swipe-action.c | 14 +++++++++++--- + clutter/clutter-tap-action.c | 13 +++++++++++-- + clutter/clutter-zoom-action.c | 11 ++++++++++- + 5 files changed, 55 insertions(+), 12 deletions(-) + +commit 094f196bb50bb137750cd30f370b5b83d58a665d +Author: Kjartan Maraas +Date: Wed Feb 12 20:29:41 2014 +0100 + + Updated Norwegian bokmål translation + + po/nb.po | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit f7ac4e77de408d2daf7d4378c267187e7a44cb10 +Author: Kjartan Maraas +Date: Wed Feb 12 20:29:05 2014 +0100 + + Updated Norwegian bokmål translation + + po/nb.po | 1805 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1014 insertions(+), 791 deletions(-) + +commit f73b4d334a0237fbf87737a2334c27244dda3d65 +Author: Emmanuele Bassi +Date: Mon Feb 10 18:35:12 2014 +0000 + + actor: Extend :scale-[xyz] factors in the negative range + + The corresponding methods accept negative values already. + + https://bugzilla.gnome.org/show_bug.cgi?id=706311 + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit dd08b6fd9856a91c71881a61f109874c9e52a629 +Author: Emmanuele Bassi +Date: Mon Feb 10 18:32:36 2014 +0000 + + docs: Explicitly mention that Transition is abstract + + https://bugzilla.gnome.org/show_bug.cgi?id=710232 + + clutter/clutter-transition.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 92c0c7794764d52843ff8ace5155325d1dbf5f78 +Author: Emmanuele Bassi +Date: Mon Feb 10 18:01:38 2014 +0000 + + conform/color: Add more test coverage + + https://bugzilla.gnome.org/show_bug.cgi?id=662818 + + tests/conform/color.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 33ebe92fdb420dd2620c104e8e2738cf2f4aa9fe +Author: Emmanuele Bassi +Date: Mon Feb 10 17:54:06 2014 +0000 + + color: Fix documentation of 'hsla()' parsing + + The documentation for the s and l components is incorrect; these have to + be percentage values and must have a '%' character right after the + number. + + Based on a patch by: Pablo Pissanetzky + + https://bugzilla.gnome.org/show_bug.cgi?id=662818 + + clutter/clutter-color.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 2662788bbc0abbf07e303425bff595d3e66d5ce3 +Author: Emmanuele Bassi +Date: Mon Feb 10 17:39:47 2014 +0000 + + build: Add -Werror=logical-op + + Caught a couple of checks that evaluated to always true. + + https://bugzilla.gnome.org/show_bug.cgi?id=711540 + + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +commit d15760292429ade316b77e689d39d34a40a0ada9 +Author: Emmanuele Bassi +Date: Mon Feb 10 17:39:30 2014 +0000 + + timeline: Fix bad logic in check + + https://bugzilla.gnome.org/show_bug.cgi?id=711540 + + clutter/clutter-timeline.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit dd034cccada9aff4c16cfb98ee14a6017034ee7d +Author: Emmanuele Bassi +Date: Mon Feb 10 17:39:01 2014 +0000 + + x11: Fix bad logic in axis check + + https://bugzilla.gnome.org/show_bug.cgi?id=711540 + + clutter/x11/clutter-backend-x11.c | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +commit a1378e083348588411559173cec2ad182e32e93d +Author: Jorge Pérez Pérez +Date: Sun Feb 9 13:28:11 2014 +0100 + + Updated Aragonese translation + + po/an.po | 876 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 462 insertions(+), 414 deletions(-) + +commit 54ac92bd83d22564cfdb11c73c28a9a5709d0001 +Author: Milo Casagrande +Date: Sun Feb 9 12:33:16 2014 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 169 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 99 insertions(+), 70 deletions(-) + +commit 33244709169a6de0d85ed38873346a5dd55c6b02 +Author: Andika Triwidada +Date: Sun Feb 9 03:39:40 2014 +0000 + + Updated Indonesian translation + + po/id.po | 884 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 469 insertions(+), 415 deletions(-) + +commit 9e3b355a70932fb7daa2928ef4dc56bc8e902e01 +Author: Fran Diéguez +Date: Fri Feb 7 01:32:28 2014 +0100 + + Updated Galician translations + + po/gl.po | 138 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 81 insertions(+), 57 deletions(-) + +commit 419da5f0350ae3f3545ad394bb1e8b2a98a4d5ca +Author: Мирослав Николић +Date: Mon Feb 3 21:21:48 2014 +0100 + + Updated Serbian translation + + po/sr.po | 892 ++++++++++++++++++++++++++++++--------------------------- + po/sr@latin.po | 892 ++++++++++++++++++++++++++++++--------------------------- + 2 files changed, 944 insertions(+), 840 deletions(-) + +commit edc155a74d6e96da12289ae0657f44bf71f32d3e +Author: Chao-Hsiung Liao +Date: Sun Feb 2 20:05:16 2014 +0800 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + + po/zh_HK.po | 912 ++++++++++++++++++++++++++++++++---------------------------- + po/zh_TW.po | 912 ++++++++++++++++++++++++++++++++---------------------------- + 2 files changed, 966 insertions(+), 858 deletions(-) + +commit b9bc36e72e9eacb8b480f2a2c78734febb9ce7e1 +Author: Rafael Ferreira +Date: Sun Feb 2 00:43:18 2014 -0200 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 142 +++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 83 insertions(+), 59 deletions(-) + +commit 692f39ad57ea0e1056968e857ffb917c6087c200 +Author: Marek Černocký +Date: Sun Jan 26 17:31:29 2014 +0100 + + Updated Czech translation + + po/cs.po | 136 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 80 insertions(+), 56 deletions(-) + +commit f6b5a0450781813370eb64908028de1b084a6dd8 +Author: Yosef Or Boczko +Date: Sun Jan 26 04:33:03 2014 +0200 + + Updated Hebrew translation + + Signed-off-by: Yosef Or Boczko + + po/he.po | 138 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 81 insertions(+), 57 deletions(-) + +commit 0dc4986f666edb067f43f328756df9103d840086 +Author: Emmanuele Bassi +Date: Fri Jan 24 18:49:18 2014 +0000 + + text: Fix the implementation of delete_chars() + + The internal delete_text() implementation takes a start and an end + position, whereas the public delete_chars() method takes a number of + characters to delete starting from the current cursor position. + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c2324849fc4aa7d15abdc343f2c5afc3d7f6b4c9 +Author: Emmanuele Bassi +Date: Fri Jan 24 18:49:00 2014 +0000 + + conform/text: Add verbose output + + tests/conform/text.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit 67e4636f892baab9ebecdd33967b3eeecd0f1766 +Author: Emmanuele Bassi +Date: Fri Jan 24 18:48:34 2014 +0000 + + conform: Re-enable text tests + + The ClutterText tests were ported to the new testing API, but they were + not enabled. + + tests/conform/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c76e63f0c72369bdab3f9530caedc76cc9df3176 +Author: Emmanuele Bassi +Date: Fri Jan 24 12:10:14 2014 +0000 + + build: Fix rules for examples data + + Apparenly we need to EXTRA_DIST the image and JSON data. + + doc/cookbook/examples/Makefile.am | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +commit 796c869c13270ca90b132f5f1fcf9edced278241 +Author: Daniel Mustieles +Date: Thu Jan 23 18:17:50 2014 +0100 + + Updated Spanish translation + + po/es.po | 144 ++++++++++++++++++++++++++++++++++++++------------------------- + 1 file changed, 86 insertions(+), 58 deletions(-) + +commit 75155b9d9685e093d08b3cf16824ee1f357b9b06 +Author: Emmanuele Bassi +Date: Thu Jan 23 12:46:51 2014 +0000 + + Revert "cookbook: Temporarily disable the scribbler example" + + This reverts commit 515a8fcfb50df8981d568e7a075ecb5c94984825. + + The exported symbols regexp used by Cogl-Path has been fixed. + + doc/cookbook/examples/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 762e9a05e493ad9e7e14c452e9289344bbae3362 +Author: Emmanuele Bassi +Date: Thu Jan 23 12:45:48 2014 +0000 + + Bump the Cogl dependency + + In order to build the cookbook examples, we need a version of Cogl-Path + that correctly exports all its symbols; this has been fixed in Cogl only + after the 1.17.2 snapshot was made. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f1ffbd50b79a8eb700bd521524be0c6bfbfe8f98 +Author: Emmanuele Bassi +Date: Thu Jan 23 12:45:20 2014 +0000 + + Post-release version bump to 1.17.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a5b04f58a00f9ef5bfb323c07cb713692e9e1d68 +Author: Emmanuele Bassi +Date: Thu Jan 23 12:05:17 2014 +0000 + + Release Clutter 1.17.2 + + NEWS | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + README.in | 19 +++++++++++++++ + configure.ac | 2 +- + 3 files changed, 96 insertions(+), 1 deletion(-) + +commit 07efb5d9bbc82742039e2cf95d21b2db41f3866f +Author: Emmanuele Bassi +Date: Thu Jan 23 12:27:39 2014 +0000 + + build: Remove .gitignore on distclean + + Fixes distcheck. + + tests/conform/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 773e544c511f38d521a6735e065f0526c2ebe95b +Author: Emmanuele Bassi +Date: Thu Jan 23 11:30:49 2014 +0000 + + settings: Make unscaled-font-dpi override font-dpi + + The :unscaled-font-dpi property is used to override the existing + :font-dpi value when running on high DPI density displays; since it's a + write-only property we don't need to have a separate storage, nor we + need to choose between :font-dpi and :unscaled-font-dpi depending on + whether or not either has been set. If we select which one to use + between :font-dpi and :unscaled-font-dpi when computing the font + resolution, we end up breaking the code that relies on changing + :font-dpi directly on a per-Settings basis. + + clutter/clutter-settings.c | 15 ++------------- + 1 file changed, 2 insertions(+), 13 deletions(-) + +commit 696a536b26ea50ab63217e0f3829e7edcc553a4b +Author: Emmanuele Bassi +Date: Wed Jan 22 01:24:16 2014 +0000 + + settings: Add CLUTTER_DPI_SCALE + + Like we do for the windowing surfaces, we should have a run time knob + (in the form of an environment variable) to allow changing the scaling + factor of the font resolution. + + clutter/clutter-settings.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit 30d1e47c4e945990f6ff4f1fa992fb63fe697a6e +Author: Emmanuele Bassi +Date: Wed Jan 22 01:22:42 2014 +0000 + + x11/stage: Store new size on unrealized resize() + + If the StageX11 is asked to resize itself while not being realized, then + we just need to store the new size and return. + + clutter/x11/clutter-stage-x11.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 515a8fcfb50df8981d568e7a075ecb5c94984825 +Author: Emmanuele Bassi +Date: Tue Jan 21 21:12:55 2014 +0000 + + cookbook: Temporarily disable the scribbler example + + The exported symbols regular expression in cogl-path is broken, and does + not include cogl_set_path() and cogl_get_path(), which means that we + cannot link this example. In order to distcheck Clutter, we temporarily + disable the example, with the intent of reverting this commit once Cogl + is fixed. + + doc/cookbook/examples/Makefile.am | 2 -- + 1 file changed, 2 deletions(-) + +commit 027e1a717f2378a7a9f9b273bec6128cdb984989 +Author: Emmanuele Bassi +Date: Tue Jan 21 21:07:43 2014 +0000 + + cookbook: Fix build of the examples + + We don't have a tests/data directory any more since the test suites + reorganization; the cookbook examples, though, rely on the existence of + the redhand.png image. In order to fix them, we copy the file in the + examples directory, and we reference it directly. Since we need it for + the examples, and we install the example code, it's also necessary to + add the image to the EXTRA_DIST rule. + + doc/cookbook/examples/Makefile.am | 15 +++++++++------ + doc/cookbook/examples/animations-rotating.c | 2 +- + doc/cookbook/examples/events-mouse-scroll.c | 2 +- + doc/cookbook/examples/events-pointer-motion-scribbler.c | 1 + + doc/cookbook/examples/layouts-bind-constraint-overlay.c | 2 +- + doc/cookbook/examples/layouts-stacking.c | 2 +- + doc/cookbook/examples/redhand.png | Bin 0 -> 8250 bytes + doc/cookbook/examples/textures-reflection.c | 2 +- + 8 files changed, 15 insertions(+), 11 deletions(-) + +commit e20c8dede6ced7d6bd260ea72328f58577279c2a +Author: Emmanuele Bassi +Date: Fri Jan 17 12:07:58 2014 +0000 + + docs: Update the test-related documentation + + The test suite layout and usage have been changed, so the documentation + needs to be updated to reflect the change. + + README.in | 4 ++-- + tests/README | 18 ++++++++---------- + 2 files changed, 10 insertions(+), 12 deletions(-) + +commit 857f53f42d4a7a14f7035c7055b532e3d6d4f64d +Author: Emmanuele Bassi +Date: Fri Jan 17 11:03:15 2014 +0000 + + canvas: Add scale-factor property + + We need to provide an escape hatch to ClutterCanvas so that it's + possible to override the window-scaling-factor ClutterSetting. This is + going to be useful in the future in case the user has better knowledge + of the window scaling factor that is going to be used with a specific + set of ClutterCanvas contents (e.g. on different outputs or stages). + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/clutter-canvas.c | 151 ++++++++++++++++++++++++++++- + clutter/clutter-canvas.h | 5 + + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 157 insertions(+), 3 deletions(-) + +commit c1d6194d24ba04ebb8fe15aacea5017f8b49ce37 +Author: Emmanuele Bassi +Date: Thu Jan 16 12:24:57 2014 +0000 + + canvas: Use the window-scaling-factor setting + + ClutterCanvas is a ClutterContent interface implementation; this means + that it can be created and modified regardless of whether it is + associated to a specific actor or a stage. For this reason, we cannot + walk the hierarchy and get the window scaling factor for high DPI + density displays out of the ClutterStage when we create the Cairo + surface that we will use to draw the canvas contents on. + + We can use ClutterSettings:window-scaling-factor instead, since it's + what each ClutterStage will use anyway. + + This will get slightly more complicated when we support per-output + window scaling factors (like on Wayland), but that will require changes + in the entire settings architecture anyway. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/clutter-canvas.c | 32 ++++++++++++++++++++++++++------ + 1 file changed, 26 insertions(+), 6 deletions(-) + +commit ed0633468f43c8821d24cd4a24c3cbab6d6840d3 +Author: Emmanuele Bassi +Date: Thu Jan 16 12:24:05 2014 +0000 + + settings: Remove explicit stage scaling factor update + + We can rely on the window-scaling-factor property notification instead. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/clutter-settings.c | 21 +-------------------- + 1 file changed, 1 insertion(+), 20 deletions(-) + +commit c1c59bd898e1eb2e2643d6f19bc8bd6413fad70e +Author: Emmanuele Bassi +Date: Thu Jan 16 12:20:36 2014 +0000 + + x11/stage: Resize on window-scaling-factor changes + + If we get a change in the window scaling factor we want to resize the + backing store of each stage, so we use the notification on the + ClutterSettings:window-scaling-factor property to do so. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/x11/clutter-stage-x11.c | 31 ++++++++++++++++++++++++++----- + 1 file changed, 26 insertions(+), 5 deletions(-) + +commit 2c8a19b8c1cec4bfdaa48a8a746209165c52479f +Author: Emmanuele Bassi +Date: Thu Jan 16 12:13:29 2014 +0000 + + x11/stage: Remove CLUTTER_SCALE handling + + Use the ClutterSettings:window-scaling-factor property instead. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/x11/clutter-stage-x11.c | 23 +++++------------------ + clutter/x11/clutter-stage-x11.h | 1 - + 2 files changed, 5 insertions(+), 19 deletions(-) + +commit afd87abb702ccb08fc23ca23de2e10afbae11e8e +Author: Emmanuele Bassi +Date: Thu Jan 16 12:11:22 2014 +0000 + + settings: Handle window scaling factor internally + + We want the settings object to handle setting and getting the + window scaling factor value, both through backend-specific settings and + through the CLUTTER_SCALE environment variable. This means turning the + ClutterSettings:window-scaling-factor property into a readwrite one, + instead of write-only, so that ClutterStage implementations will be able + to query the window scaling factor on construction. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/clutter-settings.c | 28 +++++++++++++++++++++++++--- + 1 file changed, 25 insertions(+), 3 deletions(-) + +commit b7b09bd0ce4c96972fb9570555cc24d219089f98 +Author: Emmanuele Bassi +Date: Thu Jan 16 12:08:09 2014 +0000 + + Check for cairo_surface_set_device_scale() + + Like gtk+, we don't want to bump the dependency of Clutter for that + function alone. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + configure.ac | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit 69eb2e5f3b9be7c73013dcaefd46668787e2bb30 +Author: Emmanuele Bassi +Date: Wed Aug 14 11:28:39 2013 +0100 + + settings: Add window scaling related settings + + We share two settings with GDK, so we can pick the window scaling factor + and the unscaled font resolution when we initialize Clutter. + + https://bugzilla.gnome.org/show_bug.cgi?id=705915 + + clutter/clutter-settings.c | 78 +++++++++++++++++++++++++++++++++++--- + clutter/x11/clutter-settings-x11.h | 2 + + 2 files changed, 74 insertions(+), 6 deletions(-) + +commit 33316ce168e7d6b51407ffedad7b0249611f1fce +Author: Emmanuele Bassi +Date: Wed Jan 15 16:39:35 2014 +0000 + + stage: Check coordinate validity in do_pick() + + We do some argument validation inside _clutter_stage_do_pick(), which is + the internal version of clutter_stage_get_actor_at_pos(), but we don't + do coordinate space validation, and instead we rely on call sites doing + the right thing. + + We should, instead, remove the argument validation from the internal + function, which is pointless and against the coding practices, but do + coordinate space validation internally. + + https://bugzilla.gnome.org/show_bug.cgi?id=722322 + + clutter/clutter-stage.c | 42 ++++++++++++++++++++---------------------- + 1 file changed, 20 insertions(+), 22 deletions(-) + +commit da66dd01ef07a2d89df5de224069ded8d7e248a6 +Author: Marek Černocký +Date: Fri Jan 17 19:04:25 2014 +0100 + + Updated Czech translation + + po/cs.po | 1366 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 695 insertions(+), 671 deletions(-) + +commit cadbeceff0a729cdeafd84db237ed44ad782e820 +Author: Alejandro Piñeiro +Date: Thu Jan 16 18:04:22 2014 +0100 + + clutter-text: emitting ClutterText::insert-text before actual changes on the text + + https://bugzilla.gnome.org/show_bug.cgi?id=722220 + + clutter/clutter-text.c | 38 ++++++++++++++++++++++++++++++-------- + 1 file changed, 30 insertions(+), 8 deletions(-) + +commit bbc7d20f5ecff80f4000557b976e3153f6286252 +Author: Alejandro Piñeiro +Date: Thu Jan 16 17:39:02 2014 +0100 + + clutter-text: emitting ClutterText::delete-text before actual changes on the text + + https://bugzilla.gnome.org/show_bug.cgi?id=722220 + + clutter/clutter-text.c | 29 +++++++++++++++++++++++++---- + 1 file changed, 25 insertions(+), 4 deletions(-) + +commit c681e901e4516ea2ceafd7f5c491e3bce7d82e2f +Author: Alejandro Piñeiro +Date: Tue Jan 14 18:43:48 2014 +0100 + + a11y: compute properly if there is text selected + + https://bugzilla.gnome.org/show_bug.cgi?id=722188 + + clutter/cally/cally-text.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 4f5698199f3971006f025ae81e691786aeecb60f +Author: Dimitris Spingos +Date: Mon Jan 13 10:19:29 2014 +0200 + + Updated Greek translation + + po/el.po | 1376 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 701 insertions(+), 675 deletions(-) + +commit f3172d25c334e1572eb6feed29b2717b9ca7c9f8 +Author: Yosef Or Boczko +Date: Mon Jan 13 09:01:49 2014 +0200 + + Updated Hebrew translation + + po/he.po | 756 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 390 insertions(+), 366 deletions(-) + +commit 9104c72677376d4df152e50e372477de40bba6ae +Author: Sphinx Jiang +Date: Thu Jan 2 09:54:17 2014 +0800 + + Update Chinese simplified translation + + po/zh_CN.po | 2970 +++++++++++++++++++++++++++++++++++------------------------ + 1 file changed, 1785 insertions(+), 1185 deletions(-) + +commit 813892c7f1a6e511c95830782afbf95213606917 +Author: Rafael Ferreira +Date: Fri Dec 27 00:04:21 2013 -0200 + + Updated Brazilian Portuguese translation (what is going on? :| ) + + po/pt_BR.po | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +commit 498a8c938787763d59bc1711df2df6d7ae3089a6 +Author: Rafael Ferreira +Date: Fri Dec 27 00:01:12 2013 -0200 + + Updated Brazilian Portuguese translation (fixed something from previous commit) + + po/pt_BR.po | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 6b83d849fcdc22634e6495fe573d9a68a25b0870 +Author: Enrico Nicoletto +Date: Thu Dec 26 23:53:11 2013 -0200 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 833 +++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 428 insertions(+), 405 deletions(-) + +commit dc39b295bb20e86d1a2d8fe8126f339236f77d22 +Author: Fran Diéguez +Date: Thu Dec 19 01:44:37 2013 +0100 + + Updated Galician translations + + po/gl.po | 1364 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 694 insertions(+), 670 deletions(-) + +commit 74c01cdd0fbdd0c0423c9ce91337c94c090902f7 +Author: Chun-wei Fan +Date: Mon Dec 16 09:27:41 2013 +0800 + + Visual C++ Projects: Don't build conformance tests + + ...and drop these project files, as the way how the conformance + tests are built has been totally reworked. Instead, in the future, + use NMake Makefiles to build them, which will be proposed later. + + build/win32/vs10/Makefile.am | 4 - + build/win32/vs10/clutter.sln | 18 --- + build/win32/vs10/install.vcxproj | 4 - + .../test-conformance-clutter.vcxproj.filtersin | 12 -- + .../win32/vs10/test-conformance-clutter.vcxprojin | 168 --------------------- + build/win32/vs9/Makefile.am | 2 - + build/win32/vs9/clutter.sln | 22 --- + build/win32/vs9/test-conformance-clutter.vcprojin | 161 -------------------- + 8 files changed, 391 deletions(-) + +commit ad39d3d1aedf842b1c7d98a677e36d4e0f7a0df6 +Author: Emmanuele Bassi +Date: Thu Dec 12 18:50:24 2013 +0000 + + Make abicheck.sh output TAP + + So that we can run it under the TAP harness like the rest of the + conformance test suite. + + .gitignore | 7 +++++-- + clutter/Makefile.am | 1 + + clutter/abicheck.sh | 18 +++++++++++++++++- + 3 files changed, 23 insertions(+), 3 deletions(-) + +commit b4044292d30ea36c89557111ef64198271215447 +Author: Emmanuele Bassi +Date: Thu Dec 12 18:32:37 2013 +0000 + + build: Ignore *.test files + + Generated when enabling installed tests. + + tests/conform/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit b1eb412c2307c6eb31792ed1b387bdcf04fd027f +Author: Emmanuele Bassi +Date: Thu Dec 12 18:11:03 2013 +0000 + + tests: Use an internal setter for disabling vblank sync + + Instead of using g_setenv(). + + clutter/clutter-main.c | 6 ++++++ + clutter/clutter-private.h | 1 + + clutter/clutter-test-utils.c | 8 ++++---- + 3 files changed, 11 insertions(+), 4 deletions(-) + +commit 526d0ea884434a6d9f53af7435547426f0dd90b1 +Author: Emmanuele Bassi +Date: Thu Dec 12 15:05:16 2013 +0000 + + conformance: Add more tests + + Add back some deprecated and general purpose API tests. These are the + ones that were written already pretty much conforming to the GTest API + and style, and thus require minimal porting. + + tests/conform/Makefile.am | 33 +++++++++ + tests/conform/animator.c | 51 +++++++------- + tests/conform/behaviours.c | 64 ++++++++--------- + tests/conform/binding-pool.c | 92 +++++++++++------------- + tests/conform/color.c | 158 +++++++++++++++++++++--------------------- + tests/conform/events-touch.c | 13 ++-- + tests/conform/group.c | 11 +-- + tests/conform/interval.c | 63 ++++++++++++++--- + tests/conform/model.c | 43 ++++++------ + tests/conform/rectangle.c | 23 +++--- + tests/conform/script-parser.c | 142 ++++++++++++------------------------- + tests/conform/text.c | 69 +++++++++++++----- + tests/conform/texture.c | 21 +++--- + tests/conform/units.c | 24 +++---- + 14 files changed, 420 insertions(+), 387 deletions(-) + +commit 7ec337f26f242db18039c67c5e0b046f818434cc +Author: Emmanuele Bassi +Date: Thu Dec 12 14:51:00 2013 +0000 + + conformance: Add actor tests + + Port the ClutterActor tests to the test API, and ensure they run under + the new TAP harness. + + tests/conform/Makefile.am | 13 ++ + tests/conform/actor-anchors.c | 53 +++++- + tests/conform/actor-destroy.c | 17 +- + tests/conform/actor-graph.c | 119 +++++++++--- + tests/conform/actor-invariants.c | 206 +++++---------------- + tests/conform/actor-iter.c | 22 +-- + tests/conform/actor-layout.c | 239 +++---------------------- + tests/conform/actor-meta.c | 15 +- + tests/conform/actor-offscreen-limit-max-size.c | 128 ++++++------- + tests/conform/actor-offscreen-redirect.c | 25 ++- + tests/conform/actor-paint-opacity.c | 43 +++-- + tests/conform/actor-pick.c | 40 ++--- + tests/conform/actor-shader-effect.c | 41 +++-- + tests/conform/actor-size.c | 13 +- + 14 files changed, 412 insertions(+), 562 deletions(-) + +commit 2a660fa298702111c192a7b51e2120799c9393de +Author: Emmanuele Bassi +Date: Thu Dec 12 14:36:16 2013 +0000 + + Fully rework the conformance test suite + + The current conformance test suite is suboptimal in many ways. + + All tests are built into the same binary, which makes adding new tests, + builting tests, and running groups of tests much more awkward than it + needs to be. The first issue, especially, raises the bar of contribution + in a significant way, while the other two take their toll on the + maintainer. All of these changes were introduced back when we had both + Clutter and Cogl tests in tree, and because we were building the test + suite for every single change; since then, Cogl moved out of tree with + all its tests, and we build the conformance test suite only when running + the `check` make target. + + This admittedly large-ish commit changes the way the conformance test + suite works, taking advantage of the changes in the GTest API and test + harness. + + First of all, all tests are now built separately, using their own test + suite as defined by each separate file. All tests run under the TAP + harness provided by GTest and Automake, to gather a proper report using + the Test Anything Protocol without using the `gtester` harness and the + `gtester-report` script. We also use the Makefile rules provided by GLib + to vastly simplify the build environment for the conformance test suite. + + On top of the changes for the build and harness, we also provide new API + for creating and running test suites for Clutter. The API is public, + because the test suite has to use it, but it's minimal and mostly + provides convenience wrappers around GTest that make writing test units + for Clutter easier. + + This commit disables all tests in the conformance test suite, as well as + moving the data files outside of the tests/data directory; the next few + commits will re-establish the conformance test suite separately so we + can check that everything works in a reliable way. + + Makefile.am | 6 +- + build/autotools/Makefile.am | 4 + + build/autotools/glib-tap.mk | 134 +++++ + build/autotools/glibtests.m4 | 28 + + build/autotools/tap-driver.sh | 652 +++++++++++++++++++++ + build/autotools/tap-test | 5 + + clutter/Makefile.am | 2 + + clutter/clutter-test-utils.c | 422 +++++++++++++ + clutter/clutter-test-utils.h | 164 ++++++ + clutter/clutter.h | 1 + + clutter/clutter.symbols | 8 + + configure.ac | 24 +- + examples/Makefile.am | 3 +- + examples/bin-layout.c | 2 +- + examples/image-content.c | 2 +- + examples/pan-action.c | 2 +- + {tests/data => examples}/redhand.png | Bin + tests/Makefile.am | 4 +- + tests/{data => }/clutter-1.0.suppressions | 0 + tests/conform/ADDING_NEW_TESTS | 65 -- + tests/conform/Makefile.am | 345 ++--------- + tests/conform/run-tests.sh | 12 - + .../{data => conform/scripts}/test-animator-1.json | 0 + .../{data => conform/scripts}/test-animator-2.json | 0 + .../{data => conform/scripts}/test-animator-3.json | 0 + .../scripts}/test-script-animation.json | 0 + .../scripts}/test-script-child.json | 0 + .../scripts}/test-script-implicit-alpha.json | 0 + .../scripts}/test-script-interval.json | 0 + .../scripts}/test-script-layout-property.json | 0 + .../scripts}/test-script-margin.json | 0 + .../scripts}/test-script-model.json | 0 + .../scripts}/test-script-named-object.json | 0 + .../scripts}/test-script-object-property.json | 0 + .../scripts}/test-script-single.json | 0 + .../scripts}/test-script-timeline-markers.json | 0 + tests/{data => conform/scripts}/test-state-1.json | 0 + tests/conform/test-conform-common.c | 105 ---- + tests/conform/test-conform-common.h | 52 -- + tests/conform/test-conform-main.c | 217 ------- + tests/conform/test-launcher.sh.in | 25 - + tests/data/Makefile.am | 39 -- + tests/data/light0.png | Bin 5674 -> 0 bytes + tests/data/redhand_alpha.png | Bin 4539 -> 0 bytes + tests/interactive/Makefile.am | 9 +- + tests/interactive/redhand.png | Bin 0 -> 8250 bytes + .../{data => interactive}/test-script-signals.json | 0 + tests/{data => interactive}/test-script.json | 0 + tests/interactive/test-state-script.c | 2 +- + 49 files changed, 1476 insertions(+), 858 deletions(-) + +commit cee38c167281a349297daf8d700c6ef793c499a8 +Author: Milo Casagrande +Date: Thu Dec 12 09:36:01 2013 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 1365 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 695 insertions(+), 670 deletions(-) + +commit d4aed66821b5f2a040b40895dfbdca507e96bf7a +Author: Robert Bragg +Date: Wed Nov 27 21:32:59 2013 +0000 + + Check for cogl-path as a separate package + + In Cogl 1.17 libcogl-path has been split out from libcogl and now has + its own corresponding cogl-path-1.0 pkg-config file which we check for + during build configuration. + + Note: this bumps the required cogl version up to 1.17.1 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit af446a68033bd3811017bd4c49f2199fa7c2f7fe +Author: Daniel Mustieles +Date: Mon Dec 9 16:05:11 2013 +0100 + + Updated Spanish translation + + po/es.po | 1375 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 701 insertions(+), 674 deletions(-) + +commit ed2fdf85f6f30452531722dbfd045298b6359458 +Author: Emmanuele Bassi +Date: Thu Dec 5 14:04:10 2013 +0000 + + gesture: Make threshold-trigger-edge public + + When the threshold-trigger-edge property was introduced in + GestureAction, it was late in the cycle and I elected to keep it + private, given the fact that nobody was subclassing GestureAction + outside of Clutter itself. + + These days, people are experimenting more with the GestureAction API, so + they will need access to the various knobs that control the class + default behaviour. + + https://bugzilla.gnome.org/show_bug.cgi?id=710227 + + clutter/clutter-enums.h | 23 +++++++ + clutter/clutter-gesture-action-private.h | 28 -------- + clutter/clutter-gesture-action.c | 107 ++++++++++++++++++++--------- + clutter/clutter-gesture-action.h | 6 ++ + clutter/clutter.symbols | 3 + + doc/reference/clutter/clutter-sections.txt | 2 + + 6 files changed, 107 insertions(+), 62 deletions(-) + +commit b0227644ffe3e857784fa09f5c1d4d5edfac1915 +Author: Lionel Landwerlin +Date: Tue Oct 15 18:24:31 2013 +0100 + + gesture-action: set default edge value to NONE to restore initial behavior + + https://bugzilla.gnome.org/show_bug.cgi?id=710229 + + https://bugzilla.gnome.org/show_bug.cgi?id=710227 + + clutter/clutter-gesture-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8cb326dc54e7b4abe33bf88874203d9e2729ec2b +Author: Emmanuele Bassi +Date: Thu Dec 5 11:51:07 2013 +0000 + + Explicitly set the trigger edge in GestureAction subclasses + + Each GestureAction subclass has its own trigger edge handling, so we + want to be resilient in case of changes in the super-class. + + https://bugzilla.gnome.org/show_bug.cgi?id=710227 + + clutter/clutter-pan-action.c | 6 ++++++ + clutter/clutter-rotate-action.c | 7 ++++++- + clutter/clutter-swipe-action.c | 4 ++++ + clutter/clutter-zoom-action.c | 7 ++++++- + 4 files changed, 22 insertions(+), 2 deletions(-) + +commit 154ca6ef99655e1b8187176076b42ccd5cd01c52 +Author: Emmanuele Bassi +Date: Thu Dec 5 11:49:53 2013 +0000 + + gesture: Clean up trigger edge accessors + + Use G_GNUC_INTERNAL instead of the leading underscore, as we may make + the accessor functions public at some point. Also, clean up the + documentation. + + https://bugzilla.gnome.org/show_bug.cgi?id=710227 + + clutter/clutter-gesture-action-private.h | 18 +++++++++--------- + clutter/clutter-gesture-action.c | 26 ++++++++++++++++++++------ + clutter/clutter-tap-action.c | 4 ++-- + 3 files changed, 31 insertions(+), 17 deletions(-) + +commit 97724939c8de004d7fa230f3ff64862d957f93a9 +Author: Lionel Landwerlin +Date: Tue Oct 15 18:23:46 2013 +0100 + + gesture-action: fix memory corruption + + abcf1d589f29ba7914d5648bb9814ad26c13cd83 introduced a crasher because + the 'point' variable points to a piece of memory that is being + reallocated by the begin_gesture (by a g_array_set_size) call 5 lines + before. + + https://bugzilla.gnome.org/show_bug.cgi?id=710227 + + clutter/clutter-gesture-action.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit cbb9d1e0629f4aa2955291a509d3fba6880b73b9 +Author: Owen W. Taylor +Date: Wed Dec 4 23:54:27 2013 -0500 + + ClutterStageCogl: Ignore a clip the size of the stage + + If the clip region includes the entire stage, ignore it - we aren't + actually clipped. + + https://bugzilla.gnome.org/show_bug.cgi?id=719901 + + clutter/cogl/clutter-stage-cogl.c | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +commit 97dcb108d09b1b40a0444ab09a6e659287d52d0c +Author: Owen W. Taylor +Date: Thu Dec 5 07:57:17 2013 -0500 + + ClutterStageCogl: Clip in the right coordinate system + + Our clip coordinates are relative to the stage, not model-view + transformed. cogl_framebuffer_push_rectangle_clip() was accidentally + used instead of cogl_framebuffer_push_scissor_clip() when porting + to the framebuffer clip API. + + https://bugzilla.gnome.org/show_bug.cgi?id=719900 + + clutter/cogl/clutter-stage-cogl.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit a2551dfa602f938b168fdf23fb4d2fcef4f1d892 +Author: Owen W. Taylor +Date: Tue Dec 3 00:32:14 2013 -0500 + + ClutterStage: Don't add empty actors to the stage clip + + Currently, if an actor with an empty paint volume is queued for redraw, it + will union in the box +0+0x1x1 to the stage clip bounds - avoid that + by special casing empty paint volumes. + + https://bugzilla.gnome.org/show_bug.cgi?id=719747 + + clutter/clutter-stage.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 3fdee4efe9689f1eeac53ef5667dc998b40243ab +Author: Emmanuele Bassi +Date: Wed Dec 4 16:09:09 2013 +0000 + + docs: Fix syntax errors in annotations + + clutter/clutter-actor-box.c | 2 +- + clutter/clutter-actor.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 1d7f3260a6a7c375d1214e6205f2356b2df0b976 +Author: Emmanuele Bassi +Date: Wed Dec 4 16:02:41 2013 +0000 + + conform: Run texture tests only on -m=slow + + I don't want to remove them altogether, but they need to be ported to a + more reliable system, otherwise they end up failing at random depending + on the whims of the compositor and the windowing system. + + tests/conform/test-conform-main.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit a64742f3e4cadf754405be274b4ca0a6750c410e +Author: Emmanuele Bassi +Date: Tue Dec 3 12:50:39 2013 +0000 + + paint-node: Get the framebuffer from the root node + + The PaintNode hierarchy should have the ability to retrieve the + current active framebuffer by itself, instead of asking Cogl using the + global state API. + + In order to do this, we ask the root node of a PaintNode graph for the + active framebuffer. In the current, 1.x-compatibility mode we have two + potential root node types: ClutterRootNode, used by ClutterStage; and + ClutterDummyNode, used a local root for each actor. The former takes a + framebuffer as part of its construction; the latter takes the actor that + acts as the local top-level during the actor's paint sequence, which + means we can get the active framebuffer from the stage associated to the + actor. + + By keeping track of the active framebuffer on the node themselves we can + drop the usage of cogl_get_draw_framebuffer() in their implementation. + + clutter/clutter-paint-node-private.h | 4 ++++ + clutter/clutter-paint-node.c | 28 ++++++++++++++++++++++++ + clutter/clutter-paint-nodes.c | 42 +++++++++++++++++++++++++++--------- + 3 files changed, 64 insertions(+), 10 deletions(-) + +commit e619de20d83cbd072125e52247fbbaf4841dea41 +Author: Emmanuele Bassi +Date: Tue Dec 3 13:01:52 2013 +0000 + + text: Add a hacky fallback for the framebuffer + + The text-cache conformance test breaks because ClutterText gets a paint + without an active framebuffer associated to the ClutterStage. Keep a + fallback while we investigate the issue. + + clutter/clutter-text.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 705640367a5c2ae21405806bfadbf56214b23f0f +Author: Emmanuele Bassi +Date: Tue Dec 3 12:12:52 2013 +0000 + + Use the non-deprecated Cogl clipping API + + Cogl 1.18 deprecated the global clipping API in favour of the + per-framebuffer one, but since we're using the 2.0 API internally we + don't have access to the deprecated symbols any more. + + This is pretty much a mechanical port for all the places where we're + still using the old 1.x API. + + clutter/clutter-actor.c | 39 +++++++++++++++++++++------------- + clutter/clutter-paint-nodes.c | 14 ++++++++----- + clutter/clutter-stage.c | 7 ++++--- + clutter/clutter-text.c | 44 ++++++++++++++++++++------------------- + clutter/cogl/clutter-stage-cogl.c | 13 +++++++----- + 5 files changed, 69 insertions(+), 48 deletions(-) + +commit 1b45841414ad92a63ace2d7376a6682d39d9b20c +Author: Emmanuele Bassi +Date: Tue Dec 3 12:11:43 2013 +0000 + + actor: Add private getter for the active framebuffer + + Instead of asking every internal user to get the stage and get the + active framebuffer from it, we can wrap it up ourselves, and do some + sanity checks as well. + + clutter/clutter-actor-private.h | 2 ++ + clutter/clutter-actor.c | 26 ++++++++++++++++++++++++++ + 2 files changed, 28 insertions(+) + +commit 00ef6e29ce68495dc9f10de680f020d7b46d6e6c +Author: Neil Roberts +Date: Mon Dec 2 19:13:55 2013 +0000 + + Make test-clip friendly for people with only one mouse button + + The various shapes can now be drawn by holding down modifier keys + instead of requiring a three-button mouse. + + https://bugzilla.gnome.org/show_bug.cgi?id=719716 + + tests/interactive/test-clip.c | 32 ++++++++++++++++++++++++++------ + 1 file changed, 26 insertions(+), 6 deletions(-) + +commit 992f2ca7b58a9164b8a77e962d37b315947bace2 +Author: Florian Müllner +Date: Fri Nov 29 15:43:45 2013 +0000 + + input-device: Guard against double free + + Dispose() may be called more than once, so calling g_free directly + on the device name is unsafe. Instead, use g_clear_pointer() to + make sure we don't attempt to free the memory again. + + https://bugzilla.gnome.org/show_bug.cgi?id=719563 + + clutter/clutter-input-device.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2e85269368a815435f107f1b7dfbc15c7e806fa6 +Author: Owen W. Taylor +Date: Tue Nov 26 11:04:27 2013 -0500 + + Don't queue redraws when reallocating actor that haven't moved + + When support for implicit animation of actor position was added, + the optimization for not queueing when allocating an actor back + to the same location was lost. This optimization is important + since when we are hierarchically allocating down from the top of + the stage we constantly reallocate the actors at the top of the + hierarchy back to the same place. + + https://bugzilla.gnome.org/show_bug.cgi?id=719368 + + clutter/clutter-actor.c | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +commit 0b536c02f97d7adfa8c4af4a4214f02d4ac9f716 +Author: Owen W. Taylor +Date: Fri Nov 22 10:30:21 2013 -0500 + + Bind constraints: Don't force redraws on source relayout + + When the source actor potentially changes size, that shouldn't + necessarily result in the target actor being redrawn - it should + be like when a child of a container is reallocated due to changes + in its siblings or parent - it should redraw only to the extent + that it is moved and resized. Privately export an internal function + from clutter-actor.c to allow getting this right. + + https://bugzilla.gnome.org/show_bug.cgi?id=719367 + + clutter/clutter-actor-private.h | 1 + + clutter/clutter-actor.c | 4 +--- + clutter/clutter-bind-constraint.c | 2 +- + clutter/clutter-snap-constraint.c | 2 +- + 4 files changed, 4 insertions(+), 5 deletions(-) + +commit 3cd9a70fea1ccf795419a1726c7c279b0aaf237e +Author: Rui Matos +Date: Tue Nov 19 17:02:58 2013 +0100 + + device-manager-evdev: Stop using deprecated libevdev API + + Fixes compiler warnings with libevdev >= 0.4 and makes use of a new + function to set the clock id instead of doing the ioctl directly. + + https://bugzilla.gnome.org/show_bug.cgi?id=712816 + + README.in | 2 +- + clutter/evdev/clutter-device-manager-evdev.c | 16 +++++++--------- + configure.ac | 4 +++- + 3 files changed, 11 insertions(+), 11 deletions(-) + +commit 05e6bcc666e345ed4619c1a40a298212d1075b99 +Author: Rui Matos +Date: Thu Nov 21 14:51:26 2013 +0100 + + device-manager-evdev: Fix a segfault on device removal + + Master devices have a NULL sysfs path so use g_strcmp0 to handle them + without crashing. + + https://bugzilla.gnome.org/show_bug.cgi?id=712812 + + clutter/evdev/clutter-device-manager-evdev.c | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +commit 7d8f72a60e4087a4d9e48d3f0e38b669b3717243 +Author: Rui Matos +Date: Thu Nov 21 14:50:40 2013 +0100 + + device-manager-evdev: Unref devices on removal + + https://bugzilla.gnome.org/show_bug.cgi?id=712812 + + clutter/evdev/clutter-device-manager-evdev.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit ce1f8f1dd027302e58aa2a58430eac1794f7e124 +Author: Rui Matos +Date: Thu Nov 21 14:48:40 2013 +0100 + + device-manager-xi2: Fix device instances leaking on removal + + Don't add an extra reference when adding to the devices hash table. We + already own the initial reference. + + https://bugzilla.gnome.org/show_bug.cgi?id=712812 + + clutter/x11/clutter-device-manager-xi2.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 18b9384e66c3af2de56eba85f4e688967c99b5ff +Author: Rui Matos +Date: Thu Nov 21 14:48:00 2013 +0100 + + input-device: Fix a GArray leak + + https://bugzilla.gnome.org/show_bug.cgi?id=712812 + + clutter/clutter-input-device.c | 1 + + 1 file changed, 1 insertion(+) + +commit 507d8b1cef4dfbe9489b44ff3f68cd9265c9ddf6 +Author: Rui Matos +Date: Thu Nov 21 16:23:00 2013 +0100 + + input-device: Use g_clear_pointer + + https://bugzilla.gnome.org/show_bug.cgi?id=712812 + + clutter/clutter-input-device.c | 20 +++----------------- + 1 file changed, 3 insertions(+), 17 deletions(-) + +commit 1d11cc324e8ce1741528c61af92ca27e9f4bcfa0 +Author: Rui Matos +Date: Thu Nov 21 14:46:04 2013 +0100 + + device-manager: Don't emit device-removed with a finalized instance + + https://bugzilla.gnome.org/show_bug.cgi?id=712812 + + clutter/clutter-device-manager.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 45f30d221fda106c640aba69fa020dec365e57e4 +Author: Emmanuele Bassi +Date: Thu Nov 21 00:25:37 2013 +0000 + + New release cycle, new interface age + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 492291d62979e68f964227bf224b89efc10574db +Author: Emmanuele Bassi +Date: Thu Nov 21 00:25:28 2013 +0000 + + Bump up the dependency on Cogl + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 09c06d08ca82154868ac13ff656d7f8219c9fefd +Author: Emmanuele Bassi +Date: Tue Nov 19 16:38:28 2013 +0000 + + docs: Remove mentions of XFixes dependency + + Clutter does not use nor depend on XFixes any more. + + README.in | 1 - + README.md | 1 - + configure.ac | 2 -- + 3 files changed, 4 deletions(-) + +commit 6dee60a7dbbbbbcd0c0ed897da029f40c539c616 +Author: Piotr Drąg +Date: Thu Nov 21 01:01:47 2013 +0100 + + Updated POTFILES.in + + po/POTFILES.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a427c120c239a471024375277d5e03e9b8863835 +Author: Jasper St. Pierre +Date: Mon Nov 18 00:18:32 2013 -0500 + + stage: Remove the pick buffer caching + + Since the journal is flushed on context switches, trying to use a cached + buffer means that we will use glReadPixels when picking, which isn't what + we want. Instead, always use a clipped draw, and remove the logic for + caching the pick buffer. + + https://bugzilla.gnome.org/show_bug.cgi?id=712563 + + clutter/clutter-stage.c | 125 ++++++------------------------------------------ + 1 file changed, 15 insertions(+), 110 deletions(-) + +commit 9082ccc30bfd7cf8e94f696013a10b817021b7dc +Author: Jasper St. Pierre +Date: Mon Nov 18 00:15:48 2013 -0500 + + stage: Fix indentation in pick methods + + https://bugzilla.gnome.org/show_bug.cgi?id=712563 + + clutter/clutter-stage.c | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +commit 7af55d23e4a24689eba6e3f994e7b96b7495c614 +Author: Emmanuele Bassi +Date: Tue Nov 19 00:26:37 2013 +0000 + + Deprecate ClutterTableLayout + + The table layout manager has various issues: + + • no support for RTL flipping + • most of the layout API is legacy, and has been replaced by the + alignment and expansion flags on ClutterActor + • the animation API is legacy, and has been replaced by the + implicitly animatable allocation + • the spanning cells handling is a bit awkward, as is its API + + On top of that, we imported the grid layout management policy from GTK+ + into ClutterGridLayout, which provides all the required features in a + more well-designed API. + + Instead of wasting time and resources updating TableLayout, we should + deprecate it and point developers of the GridLayout. + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-table-layout.c | 30 +++++++++++++++++++++++++ + clutter/{ => deprecated}/clutter-table-layout.h | 15 +++++++++++++ + doc/reference/clutter/clutter-docs.xml.in | 4 ++-- + 6 files changed, 50 insertions(+), 5 deletions(-) + +commit 56b579248e0d3db56c258cc8a40c28f1e266d778 +Author: Emmanuele Bassi +Date: Tue Nov 19 00:31:46 2013 +0000 + + Update symbols file + + clutter/clutter.symbols | 2 ++ + 1 file changed, 2 insertions(+) + +commit 70292672c4381c3039bd88255c4f57d45e142599 +Author: Neil Roberts +Date: Thu Aug 29 17:10:56 2013 +0100 + + Add API to install an event filter + + This adds clutter_event_add/remove_filter which adds a callback + function which will receive all Clutter events just before the event + signal is emitted for them. The event filter will be invoked + regardless of any grabs or captures. This will be used by Mutter which + wants to access the events at a lower level then the event bubbling + mechanism. It needs to see all mouse motion events even if there is a + grab in place. + + https://bugzilla.gnome.org/show_bug.cgi?id=707560 + + clutter/clutter-event-private.h | 2 + + clutter/clutter-event.c | 106 +++++++++++++++++++++++++++++ + clutter/clutter-event.h | 26 +++++++ + clutter/clutter-main.c | 22 +++++- + clutter/clutter-private.h | 4 ++ + doc/reference/clutter/clutter-sections.txt | 3 + + 6 files changed, 162 insertions(+), 1 deletion(-) + +commit c2b0b9aace969ecb19e703c8d53d157eb1072559 +Author: Jasper St. Pierre +Date: Tue Nov 12 15:10:22 2013 -0500 + + input-device-xi2: Calculate the correct state for button events + + The state that the X server sends for button events, by specification, + contains the button state before the event. We need to synthesize in + the result of the event in order to determine what the current button + state is. + + https://bugzilla.gnome.org/show_bug.cgi?id=712322 + + clutter/x11/clutter-input-device-xi2.c | 63 ++++++++++++++++++++-------------- + 1 file changed, 38 insertions(+), 25 deletions(-) + +commit 0fda81feabed58cf285ba313b393c9f24412b648 +Author: Jasper St. Pierre +Date: Thu Aug 29 13:14:13 2013 -0400 + + Remove use of XFixes for showing/hiding the cursor + + XFixesShowCursor / XFixesHideCursor does not actually take the suppled + window argument into account -- the effect is actually global. Use + XDefineCursor instead. + + https://bugzilla.gnome.org/show_bug.cgi?id=707071 + + clutter/config.h.win32.in | 3 --- + clutter/x11/clutter-stage-x11.c | 38 -------------------------------------- + clutter/x11/clutter-stage-x11.h | 1 - + configure.ac | 16 ---------------- + 4 files changed, 58 deletions(-) + +commit 98e03fc03f1a688995b4b568ddd3ad2283fefd4d +Author: Jasper St. Pierre +Date: Mon Oct 7 12:13:41 2013 -0400 + + device-manager-xi2: Clamp coordinates of events to the stage coordinates + + The X server can sometimes send us coordinates in the negatives or above + our window in extreme cases. Ensure that the user never sees this. + + clutter/x11/clutter-device-manager-xi2.c | 41 +++++++++++++++----------------- + 1 file changed, 19 insertions(+), 22 deletions(-) + +commit 1de024b5fa84a40af04b0305e4d985644daf9f1c +Author: Jasper St. Pierre +Date: Mon Oct 7 11:56:15 2013 -0400 + + device-manager-xi2: Don't divide by the scale factor twice + + The coordinates we pass into translate_axes are already scaled. + + clutter/x11/clutter-device-manager-xi2.c | 10 ++-------- + 1 file changed, 2 insertions(+), 8 deletions(-) + +commit 354c3c79779181a8c1931c2fa2ef027efce3409c +Author: Bastian Winkler +Date: Thu Nov 7 17:26:28 2013 +0100 + + interval: Call g_object_set_property in set_custom_property() + + Otherwise it would prevent potential subclasses of ClutterInterval from + having own scriptable properties. + + clutter/clutter-interval.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit e56785501b5cd5bf12b4d14b98718851fafbe740 +Author: Bastian Winkler +Date: Fri Jan 18 10:55:59 2013 +0200 + + interval: Implement ClutterScriptable interface + + This allows the creation of ClutterTransition objects in ClutterScript: + { + "id" : "scripted-transition", + "type" : "ClutterPropertyTransition", + "property-name" : "background-color", + "interval" : { + "type" : "ClutterInterval", + "value-type" : "ClutterColor", + "initial" : "red", + "final" : "blue" + } + } + + clutter/clutter-interval.c | 50 +++++++++++++++++++++++++++++++++++- + tests/conform/script-parser.c | 35 +++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + tests/data/Makefile.am | 1 + + tests/data/test-script-interval.json | 16 ++++++++++++ + 5 files changed, 102 insertions(+), 1 deletion(-) + +commit 46c22de01e9981d71044128a7bbef07777362b10 +Author: Jasper St. Pierre +Date: Wed Sep 18 23:19:39 2013 -0400 + + stage: Destroy all children when we dispose + + Destroying an actor is supposed to destroy all of its children, so + it makes sense to reason that destroying the stage should destroy all + of its children, too. + + Unfortunately, it seems that the stage removed all of its children + without destroying them before chaining up to what would destroy all + of its children, for whatever reason. Change this to a destroy so + resources get cleaned up. + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f70eee07483389733981df710ab1a1b80fee620d +Author: Lionel Landwerlin +Date: Wed Oct 9 18:39:59 2013 +0100 + + drag-action: don't mix touch and pointer events + + https://bugzilla.gnome.org/show_bug.cgi?id=709762 + + clutter/clutter-drag-action.c | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit 7c2b88f73b378575536dfafcb979a01a183328e6 +Author: Jonas Ådahl +Date: Sat Oct 5 22:58:19 2013 +0900 + + wayland: Implement support for 'cursor-visible' stage property + + This will allow clutter Wayland clients to either not draw any pointer + cursor or draw its own. + + Signed-off-by: Jonas Ådahl + + https://bugzilla.gnome.org/show_bug.cgi?id=709590 + + clutter/wayland/clutter-backend-wayland-priv.h | 2 + + clutter/wayland/clutter-backend-wayland.c | 9 +--- + clutter/wayland/clutter-input-device-wayland.c | 58 ++++++++++++++++---------- + clutter/wayland/clutter-stage-wayland.c | 11 +++++ + clutter/wayland/clutter-stage-wayland.h | 1 + + 5 files changed, 51 insertions(+), 30 deletions(-) + +commit ef7ad913dafdeec4760dc4a53a166c0a0efe2e21 +Author: Emmanuele Bassi +Date: Thu Nov 14 18:34:28 2013 +0000 + + Bump up version to 1.17.1 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit bceca34ef9948ed1d0f3c1ee6793d8c97b291ac1 +Author: Emmanuele Bassi +Date: Thu Oct 10 13:37:11 2013 +0100 + + paint-nodes: Clarify color handling for TextureNode + + The TextureNode premultiplies the blend color passed to the node + constructor, so we need to document the fact properly to avoid + causing premultiplication twice. + + We can also allow passing NULL for a color, and use a fully opaque + white, to make the code slightly more friendly. + + clutter/clutter-paint-nodes.c | 24 +++++++++++++++++------- + 1 file changed, 17 insertions(+), 7 deletions(-) + +commit 0c391382008158f3578698fb597edf6e10d90124 +Author: Emmanuele Bassi +Date: Thu Oct 10 13:31:28 2013 +0100 + + Add 1.18 version macros + + We're still going to do a 1.x release cycle. + + clutter/clutter-macros.h | 14 ++++++++++++++ + clutter/clutter-version.h.in | 12 +++++++++++- + 2 files changed, 25 insertions(+), 1 deletion(-) + +commit 32ccff85254f731cef6dab88d302eb3dcba93887 +Author: Emmanuele Bassi +Date: Thu Oct 10 13:31:50 2013 +0100 + + image: Do not premultiply the blend color + + ClutterTextureNode will do that for us when converting the ClutterColor + to a CoglColor, so we can simply pass a white color with the correct + alpha channel. + + clutter/clutter-image.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit c87b794739d93df6547cf40aba93b2efbf70c22f +Author: Lionel Landwerlin +Date: Wed Oct 9 18:35:59 2013 +0100 + + stage: implement touch event throttling + + https://bugzilla.gnome.org/show_bug.cgi?id=709761 + + clutter/clutter-stage.c | 38 +++++++++++++++++++++++++------------- + 1 file changed, 25 insertions(+), 13 deletions(-) + +commit 1546e48e04002560ede5589578891d6b287a9c35 +Author: Pavol Klačanský +Date: Tue Oct 8 23:34:19 2013 +0200 + + Updated slovak translation + + po/sk.po | 613 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 322 insertions(+), 291 deletions(-) + +commit 676a7cdc946887ed745606be21bc3ead14079339 +Author: Bastien Nocera +Date: Tue Oct 8 11:40:23 2013 +0200 + + ClutterEvent: Mention _get_source_device() in docs + + It's too easy getting bitten by the ->device red herring, thinking + that it's the original input device the event originated from. + + https://bugzilla.gnome.org/show_bug.cgi?id=709620 + + clutter/clutter-event.c | 2 ++ + clutter/clutter-event.h | 18 ++++++++++++------ + 2 files changed, 14 insertions(+), 6 deletions(-) + +commit d7814cf63eab1cf95625b06face9f914133d7eaa +Author: Bastien Nocera +Date: Fri Sep 27 15:00:57 2013 +0200 + + actor: Correct setting the offscreen-redirect property + + It's a flags property, not an enum one. + + https://bugzilla.gnome.org/show_bug.cgi?id=708922 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3435d017e27755353123ca8f65bfe3c051102b48 +Author: Florian Müllner +Date: Fri Oct 4 21:41:46 2013 +0200 + + table-layout: Base space calculations on visible children + + This is what we already do in the actual size requests, it makes + sense to do the same in the space calculations. + + https://bugzilla.gnome.org/show_bug.cgi?id=709434 + + clutter/clutter-table-layout.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 44b1a808c8a74fd3b97367f4819fabcc46a1eb23 +Author: Florian Müllner +Date: Fri Oct 4 21:32:30 2013 +0200 + + table-layout: Fix size request when there are no visible rows/cols + + The calculation (n - 1) * spacing to compute the total spacing is + only correct for n >= 1 - if there are no visible rows/cols, the + required spacing is 0 rather than negative. + + https://bugzilla.gnome.org/show_bug.cgi?id=709434 + + clutter/clutter-table-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 067fcc3690b0a354bf0a7b0692aab47fb68a0817 +Author: Lionel Landwerlin +Date: Thu Sep 26 16:49:45 2013 +0100 + + drag-action: fix warning when setting drag-handle to null + + https://bugzilla.gnome.org/show_bug.cgi?id=708850 + + clutter/clutter-drag-action.c | 16 ++++++++++------ + 1 file changed, 10 insertions(+), 6 deletions(-) + +commit e87c470220582b5aec63d83dea9c34447a577f7a +Author: Balázs Úr +Date: Thu Sep 26 00:18:38 2013 +0200 + + Initial Hungarian translation + + po/hu.po | 2798 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2798 insertions(+) + +commit 18f71891cef9212a79e80f34f83fde47130360a0 +Author: Emmanuele Bassi +Date: Tue Sep 24 00:56:40 2013 +0100 + + Post-release version bump to 1.16.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.pre-1.2 b/ChangeLog.pre-1.2 new file mode 100644 index 0000000..752902b --- /dev/null +++ b/ChangeLog.pre-1.2 @@ -0,0 +1,15333 @@ +commit ab6184298083541d37356f1f5656380d0cda047c +Author: Emmanuele Bassi +Date: Tue Mar 2 18:03:23 2010 +0000 + + Release 1.2.0 (stable) + + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 3c9a24f4a78cd676e635ad32df639b57e65e3be7 +Author: Emmanuele Bassi +Date: Tue Mar 2 18:03:13 2010 +0000 + + Update the NEWS file + + NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 42 insertions(+) + +commit 9e4c008117da6b36237608bd896fb164577ef314 +Author: Emmanuele Bassi +Date: Tue Mar 2 19:17:28 2010 +0000 + + build: Include test-script-model.json + + The Model conformance test for ClutterScript parsing requires the file + to be inside the dist. + + tests/data/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 2d51432e52745d9484cf2d54567c2f95670ea5ae +Author: Emmanuele Bassi +Date: Tue Mar 2 19:29:22 2010 +0000 + + build: Add test-animator-3.json to EXTRA_DIST + + tests/data/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 2f68949962d964e38a640581e232c4b673ce3023 +Author: Emmanuele Bassi +Date: Tue Mar 2 19:09:20 2010 +0000 + + conformance: Use g_assert_no_error() if available + + GLib 2.20 has a nice g_assert() wrapper which will print out the GError + if it's not NULL. + + tests/conform/test-animator.c | 15 +++++++++++++++ + tests/conform/test-model.c | 5 +++++ + tests/conform/test-script-parser.c | 30 ++++++++++++++++++++++++++++++ + 3 files changed, 50 insertions(+) + +commit 048fcea988446af1ce18356eb1718f85088e73c8 +Author: Neil Roberts +Date: Tue Mar 2 18:30:31 2010 +0000 + + clutter-actor: Initialize with the identity matrix in get_transform + + The documentation and name of the get_transformation_matrix function + implies that 'matrix' is purely an out parameter. However it wasn't + initializing the matrix before calling the 'apply_transform' virtual + so it was basically just a wrapper for the virtual. The virtual + assumes the matrix parameter is in/out and applies the actor's + transformation on top of any existing transformations. This causes + unexpected semantics that are inconsistent with the documentation. + + clutter/clutter-actor.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit e550755f3dc13f11a9d956bb9b52294ea33c8da6 +Author: Emmanuele Bassi +Date: Tue Mar 2 17:47:13 2010 +0000 + + text-field: Cast GString->len to integer before printing + + The compiler will warn on 64bit architectures when using %d for + printing a gsize field. + + http://bugzilla.openedhand.com/show_bug.cgi?id=2019 + + tests/interactive/test-text-field.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 38a24144980bd0c6d717f39eb5d215d3abc30ef5 +Author: Robert Bragg +Date: Tue Mar 2 14:04:54 2010 +0000 + + glx tfp: make clutter_glx_texture_pixmap_update_area cheap + + This changes clutter_glx_texture_pixmap_update_area so it defers the + call to glXBindTexImageEXT until our pre "paint" signal handler which + makes clutter_glx_texture_pixmap_update_area cheap to call. + + The hope is that mutter can switch to reporting raw damage updates to + ClutterGLXTexturePixmap and we can use these to queue clipped redraws. + + clutter/glx/clutter-glx-texture-pixmap.c | 186 +++++++++++++++---------------- + 1 file changed, 89 insertions(+), 97 deletions(-) + +commit c0d5af5de5bcc504abeb81a7f7a1ec0f696b574d +Author: Robert Bragg +Date: Mon Nov 30 17:47:55 2009 +0000 + + Adds initial clipped redraw support to Clutter + + A new (internal only currently) API, _clutter_actor_queue_clipped_redraw + can be used to queue a redraw along with a clip rectangle in actor + coordinates. This clip rectangle propagates up to the stage and clutter + backend which may optionally use the information to optimize stage + redraws. The GLX backend in particular may scissor the next redraw to + the clip rectangle and use GLX_MESA_copy_sub_buffer to present the stage + subregion. + + The intention is that any actors that can naturally determine the bounds + of updates should queue clipped redraws to reduce the cost of updating + small regions of the screen. + + Notes: + » If GLX_MESA_copy_sub_buffer isn't available then the GLX backend + ignores any clip rectangles. + + » queuing multiple clipped redraws will result in the bounding box of + each clip rectangle being used. + + » If a clipped redraw has a height > 300 pixels then it's promoted into + a full stage redraw, so that the GPU doesn't end up blocking too long + waiting for the vsync to reach the optimal position to avoid tearing. + + » Note: no empirical data was used to come up with this threshold so + we may need to tune this. + + » Currently only ClutterX11TexturePixmap makes use of this new API. This + is done via a new "queue-damage-redraw" signal that is emitted when + the pixmap is updated. The default handler queues a clipped redraw + with the assumption that the pixmap is being painted as a rectangle + covering the actors transformed allocation. If you subclass + ClutterX11TexturePixmap and change how it's painted you now also + need to override the signal handler and queue your own redraw. + + Technically this is a semantic break, but it's assumed that no one + is currently doing this. + + This still leaves a few unsolved issues with regards to optimizing sub + stage redraws that need to be addressed in further work so this can only + be considered a stepping stone a this point: + + » Because we have no reliable way to determine if the painting of any + given actor is being modified any optimizations implemented using + _clutter_actor_queue_redraw_with_clip must be overridable by a + subclass, and technically must be opt-in for existing classes to avoid + a change in semantics. E.g. consider that a user connects to the paint + signal for ClutterTexture and paints a circle instead of a rectangle. + In this case any original logic to queue clipped redraws would be + incorrect. + + » Currently only the implementation of an actor has enough information + with which to queue clipped redraws. E.g. It is not possible for + generic code in clutter-actor.c to queue a clipped redraw when hiding + an actor because actors have no way to report a "paint box". (remember + actors can draw outside their allocation and actors with depth may + also be projected outside of their allocation) + + » The current plan is to add a actor_class->get_paint_cuboid() + virtual so actors can report a bounding cube for everything they + would draw in their current state and use that to queue clipped + redraws against the stage by projecting the paint cube into stage + coordinates. + + » Our heuristics for promoting clipped redraws into full redraws to + avoid blocking the GPU while we wait for the vsync need improving: + + » vsync issues aren't relevant for redirected/composited applications + so they should use different heuristics. In this case we instead + need to trade off the cost of blitting when using glXCopySubBuffer + vs promoting to a full redraw and flipping instead. + + clutter/clutter-actor.c | 402 ++++++++++++++++++++++------- + clutter/clutter-actor.h | 20 ++ + clutter/clutter-debug.h | 6 +- + clutter/clutter-main.c | 4 +- + clutter/clutter-private.h | 39 ++- + clutter/clutter-stage-window.c | 29 +++ + clutter/clutter-stage-window.h | 82 +++--- + clutter/clutter-stage.c | 64 +++++ + clutter/glx/clutter-backend-glx.c | 185 ++------------ + clutter/glx/clutter-backend-glx.h | 5 + + clutter/glx/clutter-glx-texture-pixmap.c | 14 +- + clutter/glx/clutter-stage-glx.c | 426 +++++++++++++++++++++++++++++++ + clutter/glx/clutter-stage-glx.h | 8 +- + clutter/x11/clutter-x11-texture-pixmap.c | 172 ++++++++++--- + 14 files changed, 1116 insertions(+), 340 deletions(-) + +commit 09d8460a5c3f905573378172ed553fd57d49913e +Author: Øyvind Kolås +Date: Tue Mar 2 17:03:03 2010 +0000 + + animator: s/clutter_animator_run/clutter_animator_start/ + + This is consistent with choice of words in clutter_timeline_start and + makes the API less surprising. + + clutter/clutter-animator.c | 4 ++-- + clutter/clutter-animator.h | 2 +- + doc/reference/clutter/clutter-sections.txt | 2 +- + tests/interactive/test-animator.c | 2 +- + 4 files changed, 5 insertions(+), 5 deletions(-) + +commit 9d1ea81dc51464e86d7a4eee27874136e9e34cad +Author: Robert Bragg +Date: Tue Mar 2 02:07:40 2010 +0000 + + cogl debug: Adds missing guards around debug cogl_args[] + + commit 511e5ceb516dc accidentally removed the #ifdef COGL_ENABLE_DEBUG + guards around the "cogl-debug" and "cogl-no-debug" cogl_args[] which + this patch restores. + + clutter/cogl/cogl/cogl-debug.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit aba6c5acc7f1cb15f92666d1681a95b5a805efaf +Author: Emmanuele Bassi +Date: Tue Mar 2 15:08:01 2010 +0000 + + flow-layout: Provide a preferred size + + The FlowLayout fails to provide a preferred size in case no sizing is + specified on one axis. It should, instead, have the preferred size of + the sum of its children, depending on the orientation property. + + http://bugzilla.openedhand.com/show_bug.cgi?id=2013 + + clutter/clutter-flow-layout.c | 92 +++++++++++++++++++++++++++--------- + tests/interactive/test-flow-layout.c | 20 ++++---- + 2 files changed, 82 insertions(+), 30 deletions(-) + +commit e3fba5f2e80a4c72cc4ef0c193a0b6569e1d8cbf +Author: Emmanuele Bassi +Date: Tue Mar 2 13:32:46 2010 +0000 + + build: Require libtool >= 2.2.6 + + Update the configure.ac to use the LT_INIT() instead of the deprecated + AC_PROG_LIBTOOL. This also allows us to depend on a specific libtool + version, namely one that doesn't thoroughly suck. + + configure.ac | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 9a55ddc7c36185b31120b5c5275dac60f5926d8d +Author: Øyvind Kolås +Date: Tue Mar 2 12:38:51 2010 +0000 + + animator: restore accidentally removed break + + In 505e5966 a break statement was removed by accident, causing the + animator to enter infinite loops if no initial key is present. + + clutter/clutter-animator.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 3a84af0106522e46d930fc81013c86465357dc89 +Merge: 0baeabc2a a2573ad2a +Author: Emmanuele Bassi +Date: Tue Mar 2 12:25:45 2010 +0000 + + Merge branch 'eglnative-update' + + * eglnative-update: + eglnative: Add CLUTTER_FB_DEVICE + eglnative: Update implementation + +commit a2573ad2ad39931d2a817d4585d87b70c3f86526 +Author: Emmanuele Bassi +Date: Mon Mar 1 11:38:41 2010 +0000 + + eglnative: Add CLUTTER_FB_DEVICE + + Some EGL drivers for embedded devices require a specific framebuffer + device to be opened and passed to eglCreateWindowSurface(). Since it's + optional, we can provide an environment variabled called + CLUTTER_FB_DEVICE that can be used to specify the path of the device + to be opened. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1997 + + clutter/eglnative/clutter-backend-egl.c | 59 ++++++++++++++++++++++++++++++--- + clutter/eglnative/clutter-backend-egl.h | 3 ++ + 2 files changed, 57 insertions(+), 5 deletions(-) + +commit b4e9f40394fb2e4d63bccc9f9d932a5da87cc2a2 +Author: Emmanuele Bassi +Date: Sat Feb 27 09:42:42 2010 +0000 + + eglnative: Update implementation + + Update the EGL native framebuffer backend to be 1.2-ready: + + » create the EGL context and the surface inside the create_context() + implementation so that a context is always available + + » simplify the StageWindow implementation + + » clean up old code + + http://bugzilla.openedhand.com/show_bug.cgi?id=1997 + + clutter/eglnative/clutter-backend-egl.c | 186 +++++++++++++++++++++-- + clutter/eglnative/clutter-backend-egl.h | 20 ++- + clutter/eglnative/clutter-event-egl.c | 60 +++++--- + clutter/eglnative/clutter-stage-egl.c | 259 +++++++------------------------- + clutter/eglnative/clutter-stage-egl.h | 8 +- + 5 files changed, 275 insertions(+), 258 deletions(-) + +commit 0baeabc2aa1a4b2a1908b7acd15f947cb8b1eb4d +Author: Owen W. Taylor +Date: Mon Mar 1 13:54:03 2010 -0500 + + Fall back in _cogl_texture_2d_new_from_bitmap() + + Just like _cogl_texture_2d_new_with_size(), + _cogl_texture_2d_new_from_bitmap() needs to check if an unsliced + texture can be created at the given size, or if hardware + limitations prevent this. + + http://bugzilla.openedhand.com/show_bug.cgi?id=2014 + + Signed-off-by: Neil Roberts + + clutter/cogl/cogl/cogl-texture-2d.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 74a27bbb1c0ae12ba937d215323d5a716781cb1b +Author: Emmanuele Bassi +Date: Tue Mar 2 09:53:55 2010 +0000 + + docs: Documentation fixes + + Let's see if we can get a 100% coverage for Clutter too. + + clutter/clutter-animatable.h | 9 +++++ + clutter/clutter-animator.c | 5 +-- + clutter/clutter-box.c | 3 ++ + clutter/clutter-box.h | 49 +++++++++++++++++++++++++++ + clutter/clutter-container.h | 9 +++++ + clutter/clutter-device-manager.h | 13 ++++++-- + clutter/clutter-media.h | 9 +++++ + clutter/clutter-scriptable.h | 9 +++++ + clutter/clutter-version.h.in | 38 +++++++++++++++++++++ + clutter/eglnative/clutter-backend-egl.c | 7 ++++ + clutter/glx/clutter-glx-texture-pixmap.c | 53 +++++++++++++++--------------- + clutter/glx/clutter-glx-texture-pixmap.h | 16 +++++++++ + clutter/x11/clutter-backend-x11.c | 8 +++++ + clutter/x11/clutter-x11-texture-pixmap.c | 36 +++++++++++++++----- + clutter/x11/clutter-x11-texture-pixmap.h | 20 ++++++++++- + clutter/x11/clutter-x11.h | 8 ++++- + doc/reference/clutter/Makefile.am | 4 --- + doc/reference/clutter/clutter-sections.txt | 4 +-- + 18 files changed, 252 insertions(+), 48 deletions(-) + +commit c0a553163b5e82cb70e956e802d7f9b61bb13948 +Author: Neil Roberts +Date: Mon Mar 1 18:08:41 2010 +0000 + + cogl: Support any format in cogl_read_pixels + + cogl_read_pixels() no longer asserts that the format passed in is + RGBA_8888 but instead accepts any format. The appropriate GL enums for + the format are passed to glReadPixels so OpenGL should be perform a + conversion if neccessary. + + It currently assumes glReadPixels will always give us premultiplied + data. This will usually be correct because the result of the default + blending operations for Cogl ends up with premultiplied data in the + framebuffer. However it is possible for the framebuffer to be in + whatever format depending on what CoglMaterial is used to render to + it. Eventually we may want to add a way for an application to inform + Cogl that the framebuffer is not premultiplied in case it is being + used for some special purpose. + + If the requested format is not premultiplied then Cogl will convert + it. The tests have been changed to read the data as premultiplied so + that they won't be affected by the conversion. Picking in Clutter has + been changed to use COGL_PIXEL_FORMAT_RGB_888 because it doesn't need + the alpha component. clutter_stage_read_pixels is left unchanged + because the application can't specify a format for that so it seems to + make most sense to store unpremultiplied values. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1959 + + clutter/clutter-main.c | 10 +-- + clutter/cogl/cogl/cogl.c | 84 +++++++++++++++------- + clutter/cogl/cogl/cogl.h | 8 ++- + tests/conform/test-cogl-backface-culling.c | 2 +- + tests/conform/test-cogl-blend-strings.c | 4 +- + tests/conform/test-cogl-materials.c | 2 +- + tests/conform/test-cogl-multitexture.c | 2 +- + tests/conform/test-cogl-offscreen.c | 8 +-- + tests/conform/test-cogl-premult.c | 2 +- + tests/conform/test-cogl-readpixels.c | 26 ++++++- + tests/conform/test-cogl-texture-mipmaps.c | 2 +- + tests/conform/test-cogl-vertex-buffer-contiguous.c | 10 +-- + tests/conform/test-cogl-vertex-buffer-interleved.c | 2 +- + tests/conform/test-cogl-vertex-buffer-mutability.c | 4 +- + tests/conform/test-cogl-viewport.c | 2 +- + 15 files changed, 113 insertions(+), 55 deletions(-) + +commit 505e5966e4ee649b7528cdf0410a4e52d59a25ec +Author: Øyvind Kolås +Date: Mon Mar 1 18:35:01 2010 +0000 + + Do not overwrite the initial key, making ease-in work as expected. + + Fixes bug #2008, where a property with ease-in would jump instead of + start at the properties initial value. + + clutter/clutter-animator.c | 9 --------- + 1 file changed, 9 deletions(-) + +commit 7d0ad7ac1b8f6b8a92d0c97180d2885a3a18bcdd +Author: Bastian Winkler +Date: Mon Mar 1 17:00:41 2010 +0100 + + animator: Remove redundant declaration in header file + + clutter_animator_property_set_interpolation was declared twice in + clutter-animator.h + + http://bugzilla.openedhand.com/show_bug.cgi?id=2012 + + clutter/clutter-animator.h | 5 ----- + 1 file changed, 5 deletions(-) + +commit 53eecb8469855d17e863c2113a58f0b6e9c26729 +Author: Emmanuele Bassi +Date: Mon Mar 1 17:47:52 2010 +0000 + + docs: Add Animator.compute_value() + + The clutter_animator_compute_value() has been added to the API, but it + is missing from the API reference. + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 1d9ddad9a3ee79d32091b12197bd18e0b283da22 +Author: Emmanuele Bassi +Date: Mon Mar 1 17:45:00 2010 +0000 + + docs: Fix syntax error in Model's documentation + + A missing opening quote sign is breaking gtk-doc for ClutterModel. + + clutter/clutter-model.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1777a69f2f036e2ead5986a5c91f18480a14e4fd +Merge: 8146d8d08 7ffb62eab +Author: Emmanuele Bassi +Date: Mon Mar 1 15:37:12 2010 +0000 + + Merge branch 'stage-min-size-rework' + + * stage-min-size-rework: + docs: Update minimum size accessors + actor: Use the TOPLEVEL flag instead of a type check + [stage] Use min-width/height props for min size + +commit 8146d8d08deafd6cf86238a4a8c2fa6149e5c691 +Author: Robert Bragg +Date: Fri Feb 26 09:44:29 2010 +0000 + + profile: avoid segfault generating reports with no stats + + The clutter-profile.c print_report() code would crash if no stats had + been gathered because uprof would return NULL for the "Redrawing" timer + which we then dereferenced. + + This changes the code to start by checking for the "Mainloop", + "Redrawing" and "Do Pick" timers and if none are present it returns + immediately without generating any report. + + clutter/clutter-profile.c | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit b9a91594f4b37388222b587eaea7618ea8c78381 +Author: Robert Bragg +Date: Fri Feb 26 09:48:43 2010 +0000 + + build: Fixes out of tree builds + + When building the gobject introspection data the build wasn't able to + find clutter/clutter-json.h so this adds $(top_builddir) to INCLUDES. + + clutter/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 79acb088e7f6916fb77a6341c22f9022c0f50208 +Author: Emmanuele Bassi +Date: Mon Mar 1 12:56:10 2010 +0000 + + Remove mentions of the FSF address + + Since using addresses that might change is something that finally + the FSF acknowledge as a plausible scenario (after changing address + twice), the license blurb in the source files should use the URI + for getting the license in case the library did not come with it. + + Not that URIs cannot possibly change, but at least it's easier to + set up a redirection at the same place. + + As a side note: this commit closes the oldes bug in Clutter's bug + report tool. + + http://bugzilla.openedhand.com/show_bug.cgi?id=521 + + clutter/clutter-actor.c | 7 +++---- + clutter/clutter-actor.h | 3 ++- + clutter/clutter-alpha.c | 6 ++---- + clutter/clutter-backend.c | 11 ++++++----- + clutter/clutter-behaviour-depth.c | 4 +--- + clutter/clutter-behaviour-ellipse.c | 10 +--------- + clutter/clutter-behaviour-opacity.c | 4 +--- + clutter/clutter-behaviour-path.c | 11 ++++++----- + clutter/clutter-behaviour-rotate.c | 4 +--- + clutter/clutter-behaviour-scale.c | 4 +--- + clutter/clutter-behaviour.c | 4 +--- + clutter/clutter-bezier.c | 4 +--- + clutter/clutter-cairo-texture.c | 6 ++---- + clutter/clutter-cairo-texture.h | 7 +++---- + clutter/clutter-child-meta.c | 4 +--- + clutter/clutter-color.c | 4 +--- + clutter/clutter-container.c | 6 +++--- + clutter/clutter-event.c | 6 +++--- + clutter/clutter-feature.c | 6 +++--- + clutter/clutter-fixed.c | 6 +++--- + clutter/clutter-frame-source.c | 6 +++--- + clutter/clutter-group.c | 6 +++--- + clutter/clutter-id-pool.c | 6 +++--- + clutter/clutter-keysyms.h | 6 +++--- + clutter/clutter-list-model.c | 6 +++--- + clutter/clutter-main.c | 6 +++--- + clutter/clutter-model.c | 6 +++--- + clutter/clutter-private.h | 6 +++--- + clutter/clutter-rectangle.c | 6 +++--- + clutter/clutter-score.c | 6 +++--- + clutter/clutter-script-parser.c | 6 +++--- + clutter/clutter-script-private.h | 6 +++--- + clutter/clutter-script.c | 6 +++--- + clutter/clutter-scriptable.c | 6 +++--- + clutter/clutter-shader-types.c | 6 +++--- + clutter/clutter-shader.c | 6 +++--- + clutter/clutter-stage.c | 6 +++--- + clutter/clutter-texture.c | 6 +++--- + clutter/clutter-timeline.c | 6 +++--- + clutter/clutter-timeout-pool.c | 6 +++--- + clutter/clutter-units.c | 6 +++--- + clutter/clutter-util.c | 6 +++--- + clutter/clutter-version.h.in | 6 +++--- + clutter/clutter.h | 6 +++--- + clutter/cogl/cogl/cogl-atlas-texture-private.h | 6 +++--- + clutter/cogl/cogl/cogl-atlas-texture.c | 6 +++--- + clutter/cogl/cogl/cogl-atlas.c | 6 +++--- + clutter/cogl/cogl/cogl-atlas.h | 6 +++--- + clutter/cogl/cogl/cogl-bitmap-fallback.c | 6 +++--- + clutter/cogl/cogl/cogl-bitmap-pixbuf.c | 6 +++--- + clutter/cogl/cogl/cogl-bitmap-private.h | 6 +++--- + clutter/cogl/cogl/cogl-bitmap.c | 6 +++--- + clutter/cogl/cogl/cogl-bitmap.h | 6 +++--- + clutter/cogl/cogl/cogl-blend-string.c | 6 +++--- + clutter/cogl/cogl/cogl-blend-string.h | 6 +++--- + clutter/cogl/cogl/cogl-buffer-private.h | 6 +++--- + clutter/cogl/cogl/cogl-buffer.c | 6 +++--- + clutter/cogl/cogl/cogl-buffer.h | 6 +++--- + clutter/cogl/cogl/cogl-clip-stack.c | 6 +++--- + clutter/cogl/cogl/cogl-clip-stack.h | 6 +++--- + clutter/cogl/cogl/cogl-color.c | 6 +++--- + clutter/cogl/cogl/cogl-color.h | 6 +++--- + clutter/cogl/cogl/cogl-context.c | 6 +++--- + clutter/cogl/cogl/cogl-context.h | 6 +++--- + clutter/cogl/cogl/cogl-debug.c | 6 +++--- + clutter/cogl/cogl/cogl-debug.h | 6 +++--- + clutter/cogl/cogl/cogl-deprecated.h | 6 +++--- + clutter/cogl/cogl/cogl-feature-private.c | 6 +++--- + clutter/cogl/cogl/cogl-feature-private.h | 6 +++--- + clutter/cogl/cogl/cogl-fixed.c | 6 +++--- + clutter/cogl/cogl/cogl-fixed.h | 6 +++--- + clutter/cogl/cogl/cogl-framebuffer-private.h | 6 +++--- + clutter/cogl/cogl/cogl-framebuffer.c | 6 +++--- + clutter/cogl/cogl/cogl-handle.h | 6 +++--- + clutter/cogl/cogl/cogl-internal.h | 6 +++--- + clutter/cogl/cogl/cogl-journal-private.h | 6 +++--- + clutter/cogl/cogl/cogl-journal.c | 6 +++--- + clutter/cogl/cogl/cogl-material-private.h | 6 +++--- + clutter/cogl/cogl/cogl-material.c | 6 +++--- + clutter/cogl/cogl/cogl-material.h | 6 +++--- + clutter/cogl/cogl/cogl-matrix-mesa.c | 6 +++--- + clutter/cogl/cogl/cogl-matrix-mesa.h | 6 +++--- + clutter/cogl/cogl/cogl-matrix-private.h | 6 +++--- + clutter/cogl/cogl/cogl-matrix-stack.c | 6 +++--- + clutter/cogl/cogl/cogl-matrix-stack.h | 6 +++--- + clutter/cogl/cogl/cogl-matrix.c | 6 +++--- + clutter/cogl/cogl/cogl-matrix.h | 6 +++--- + clutter/cogl/cogl/cogl-offscreen.h | 6 +++--- + clutter/cogl/cogl/cogl-path.c | 6 +++--- + clutter/cogl/cogl/cogl-path.h | 6 +++--- + clutter/cogl/cogl/cogl-pixel-buffer-private.h | 6 +++--- + clutter/cogl/cogl/cogl-pixel-buffer.c | 6 +++--- + clutter/cogl/cogl/cogl-pixel-buffer.h | 6 +++--- + clutter/cogl/cogl/cogl-primitives.c | 6 +++--- + clutter/cogl/cogl/cogl-primitives.h | 6 +++--- + clutter/cogl/cogl/cogl-profile.h | 6 +++--- + clutter/cogl/cogl/cogl-shader.h | 6 +++--- + clutter/cogl/cogl/cogl-spans.c | 6 +++--- + clutter/cogl/cogl/cogl-spans.h | 6 +++--- + clutter/cogl/cogl/cogl-sub-texture-private.h | 6 +++--- + clutter/cogl/cogl/cogl-sub-texture.c | 6 +++--- + clutter/cogl/cogl/cogl-texture-2d-private.h | 6 +++--- + clutter/cogl/cogl/cogl-texture-2d-sliced-private.h | 6 +++--- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 6 +++--- + clutter/cogl/cogl/cogl-texture-2d.c | 6 +++--- + clutter/cogl/cogl/cogl-texture-driver.h | 6 +++--- + clutter/cogl/cogl/cogl-texture-private.h | 6 +++--- + clutter/cogl/cogl/cogl-texture.c | 6 +++--- + clutter/cogl/cogl/cogl-texture.h | 6 +++--- + clutter/cogl/cogl/cogl-types.h | 6 +++--- + clutter/cogl/cogl/cogl-util.c | 6 +++--- + clutter/cogl/cogl/cogl-util.h | 6 +++--- + clutter/cogl/cogl/cogl-vertex-buffer-private.h | 6 +++--- + clutter/cogl/cogl/cogl-vertex-buffer.c | 6 +++--- + clutter/cogl/cogl/cogl-vertex-buffer.h | 6 +++--- + clutter/cogl/cogl/cogl.c | 6 +++--- + clutter/cogl/cogl/cogl.h | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-context-driver.c | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-context-driver.h | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-defines.h.in | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-feature-functions.h | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-program.c | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-program.h | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-shader-private.h | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-shader.c | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 6 +++--- + clutter/cogl/cogl/driver/gl/cogl.c | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-context-driver.c | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-context-driver.h | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-defines.h.in | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-feature-functions.h | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-program.c | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-program.h | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-shader-private.h | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-shader.c | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl-texture-driver.c | 6 +++--- + clutter/cogl/cogl/driver/gles/cogl.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-eglnative.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-eglx.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-fruity.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-glx.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-osx.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-sdl.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-win32.c | 6 +++--- + clutter/cogl/cogl/winsys/cogl-winsys.h | 6 +++--- + clutter/eglnative/clutter-backend-egl.h | 6 +++--- + clutter/eglnative/clutter-egl-headers.h | 6 +++--- + clutter/eglnative/clutter-egl.h | 6 +++--- + clutter/eglnative/clutter-event-egl.c | 6 +++--- + clutter/eglx/clutter-backend-egl.h | 6 +++--- + clutter/eglx/clutter-egl-headers.h | 6 +++--- + clutter/eglx/clutter-eglx.h | 6 +++--- + clutter/fruity/clutter-backend-fruity.h | 6 +++--- + clutter/fruity/clutter-fruity.h | 6 +++--- + clutter/glx/clutter-backend-glx.c | 6 +++--- + clutter/glx/clutter-backend-glx.h | 6 +++--- + clutter/glx/clutter-event-glx.c | 6 +++--- + clutter/glx/clutter-event-glx.h | 6 +++--- + clutter/glx/clutter-glx-texture-pixmap.c | 6 +++--- + clutter/glx/clutter-glx-texture-pixmap.h | 6 +++--- + clutter/glx/clutter-glx.h | 6 +++--- + clutter/glx/clutter-stage-glx.c | 6 +++--- + clutter/glx/clutter-stage-glx.h | 6 +++--- + clutter/osx/clutter-backend-osx.c | 6 +++--- + clutter/osx/clutter-backend-osx.h | 6 +++--- + clutter/osx/clutter-event-osx.c | 6 +++--- + clutter/osx/clutter-osx.h | 6 +++--- + clutter/osx/clutter-stage-osx.c | 6 +++--- + clutter/osx/clutter-stage-osx.h | 6 +++--- + clutter/win32/clutter-backend-win32.c | 6 +++--- + clutter/win32/clutter-backend-win32.h | 6 +++--- + clutter/win32/clutter-event-win32.c | 6 +++--- + clutter/win32/clutter-stage-win32.c | 6 +++--- + clutter/win32/clutter-stage-win32.h | 6 +++--- + clutter/win32/clutter-win32.h | 6 +++--- + clutter/x11/clutter-backend-x11-private.h | 6 +++--- + clutter/x11/clutter-backend-x11.c | 6 +++--- + clutter/x11/clutter-backend-x11.h | 6 +++--- + clutter/x11/clutter-event-x11.c | 6 +++--- + clutter/x11/clutter-stage-x11.c | 6 +++--- + clutter/x11/clutter-stage-x11.h | 6 +++--- + clutter/x11/clutter-x11-texture-pixmap.c | 6 +++--- + clutter/x11/clutter-x11-texture-pixmap.h | 6 +++--- + clutter/x11/clutter-x11.h | 6 +++--- + 186 files changed, 543 insertions(+), 570 deletions(-) + +commit 23867875a14ab6d7288d6a67c67b20a1f136be94 +Author: Emmanuele Bassi +Date: Mon Mar 1 11:12:16 2010 +0000 + + build: Remove unused checks on platform functions + + There is no need for us to check for low-level functions and header + files, especially since we haven't been checking the results until + now. This makes cross-compiling slightly more bearable. + + clutter/clutter-private.h | 8 ++------ + clutter/x11/clutter-backend-x11.c | 9 +++++---- + clutter/x11/clutter-stage-x11.c | 4 ++++ + configure.ac | 12 +++--------- + 4 files changed, 14 insertions(+), 19 deletions(-) + +commit ce6a24eb2b5eaba4b60f82855af7a24d0f5afdad +Author: Emmanuele Bassi +Date: Sun Feb 28 10:59:29 2010 +0000 + + actor: Call unparent() in destroy + + If the actor is an internal child of another actor then we should call + unparent() when destroying it, like clutter_actor_reparent() does; + otherwise we'll leak the actor, since the parent holds a reference to + it. + + http://bugzilla.openedhand.com/show_bug.cgi?id=2009 + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 7ffb62eab939de46b8234243cab6f6c4b40d60ec +Author: Emmanuele Bassi +Date: Sat Feb 27 18:56:34 2010 +0000 + + docs: Update minimum size accessors + + Expand the documentation for set_minimum_size() and get_minimum_size(), + and add introspection annotations for get_minimum_size(). + + clutter/clutter-stage.c | 41 +++++++++++++++++++++++++++++------------ + 1 file changed, 29 insertions(+), 12 deletions(-) + +commit 52ba9a1800302f887ebe6d2e7aa7ab4503ea6e5e +Author: Emmanuele Bassi +Date: Sat Feb 27 18:24:17 2010 +0000 + + actor: Use the TOPLEVEL flag instead of a type check + + We can use the internal private CLUTTER_ACTOR_IS_TOPLEVEL flag, which is + set only on Stages. + + clutter/clutter-actor.c | 19 +++++++++++++++---- + 1 file changed, 15 insertions(+), 4 deletions(-) + +commit cd62dfbd1419870fb6792bcab87ea8e7d0e760f5 +Author: Chris Lord +Date: Fri Feb 26 18:36:38 2010 +0000 + + [stage] Use min-width/height props for min size + + Instead of shadowing these properties with different properties with the + same names on stage, actually use them. Behaviour should be identical, + except the minimum stage size can now be enforced by setting the + min-width/height properties as well as using the set_minimum_size + function. + + clutter/clutter-actor.c | 13 ++++-- + clutter/clutter-stage.c | 102 ++++++++++++++++++++++++++++++++---------------- + 2 files changed, 77 insertions(+), 38 deletions(-) + +commit 9f67e4826c9880732e4f2a74ac42f729e7e80042 +Author: Emmanuele Bassi +Date: Fri Feb 26 16:43:02 2010 +0000 + + docs: Update --enable-cogl-debug description + + The 'no' value is not the default any more. The 'minimum' value is + always the default, regardless of the release status. + + README | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 62f2961f8a9b2974e0a7a11ea534f0b14f8fef1a +Author: Emmanuele Bassi +Date: Fri Feb 26 15:12:27 2010 +0000 + + docs: Unicode-ify NEWS + + NEWS | 1302 +++++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 651 insertions(+), 651 deletions(-) + +commit c8c62af0cf5d33f3fe3e4aab44ed49363263252c +Author: Emmanuele Bassi +Date: Fri Feb 26 15:00:47 2010 +0000 + + build: More options for Automake + + Require automake >= 1.10, and add the following options: + + » dist-bzip2: create a bz2 tarball in the dist process + » check-news: check that we changed the NEWS file prior to dist, + to avoid another release without NEWS updates, like 1.1.10 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e0f04efa411c0987db32c056958ad2c7cf5b6736 +Author: Emmanuele Bassi +Date: Fri Feb 26 10:36:17 2010 +0000 + + device: When changing the stage, unset the pointer actor + + If we do not unset the Stage we will have stale data, and the Crossing + event when re-entering a Stage will not be emitted, as the actor under + the pointer might be the same as before. + + clutter/clutter-input-device.c | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +commit 5d8346829585bb4b6d4617a232f87e3dab4eee5f +Author: Neil Roberts +Date: Tue Feb 23 14:45:44 2010 +0000 + + cogl-vertex-buffer: Add support for unsigned int indices + + This adds a COGL_INDICES_TYPE_UNSIGNED_INT enum value so that unsigned + ints can be used with cogl_vertex_buffer_indices_new. Unsigned ints + are not supported in core on GLES so a feature flag has also been + added to advertise this. GLES only sets the feature if the + GL_OES_element_index_uint extension is available. It is an error to + call indices_new() with unsigned ints unless the feature is + advertised. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1998 + + clutter/cogl/cogl/cogl-types.h | 6 +++++- + clutter/cogl/cogl/cogl-vertex-buffer.c | 17 ++++++++++++++++- + clutter/cogl/cogl/cogl-vertex-buffer.h | 8 ++++++++ + clutter/cogl/cogl/driver/gl/cogl.c | 3 ++- + clutter/cogl/cogl/driver/gles/cogl-feature-functions.h | 6 ++++++ + 5 files changed, 37 insertions(+), 3 deletions(-) + +commit 67d9d928147aa59905960480a5d0b4c19c9d1920 +Author: Emmanuele Bassi +Date: Thu Feb 25 23:23:53 2010 +0000 + + docs: Document the "columns" syntax for ClutterModel + + Like we do for other classes implementing custom properties, we should + document the syntax of the "columns" scriptable property of ClutterModel. + + clutter/clutter-model.c | 24 ++++++++++++++++++++++++ + 1 file changed, 24 insertions(+) + +commit 70d7bad98ba50a657204ee356fd5ac5ccf4e8bea +Author: Emmanuele Bassi +Date: Thu Feb 25 23:15:59 2010 +0000 + + conformance: Use g_test_verbose() for logging + + Protect g_print() calls behind the g_test_verbose() check, to avoid + unwanted output during the conformance test run. + + tests/conform/test-model.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 96c31bbf0ea14c7cb6eaa824a6d5cf66d58b8d5b +Author: Bastian Winkler +Date: Thu Feb 25 23:47:49 2010 +0100 + + model: Implement ClutterScriptable interface + + Allow a ClutterModel to be constructed through the ClutterScript API. + Currently this allows a model to be generated like like this: + + { + "id" : "test-model", + "type" : "ClutterListModel", + "columns" : [ + [ "text-column", "gchararray" ], + [ "int-column", "gint" ], + [ "actor-column", "ClutterRectangle" ] + ] + } + + where 'columns' is an array containing arrays of column-name, + column-type pairs. + + http://bugzilla.openedhand.com/show_bug.cgi?id=2007 + + .gitignore | 1 + + clutter/clutter-model.c | 105 +++++++++++++++++++++++++++++++++++++- + tests/conform/test-conform-main.c | 1 + + tests/conform/test-model.c | 34 ++++++++++++ + tests/data/test-script-model.json | 9 ++++ + 5 files changed, 149 insertions(+), 1 deletion(-) + +commit 63279f827e9d4e517c3dc88633a8b5ed47fbd74e +Author: Emmanuele Bassi +Date: Thu Feb 25 22:50:38 2010 +0000 + + docs: gtk-doc fixes for Animator + + Fix the syntax for: + + → enumeration values + → return values + → @since tags + + Also, fix the introspection annotations. + + clutter/clutter-animator.c | 40 +++++++++++++++++++++++++++------------- + 1 file changed, 27 insertions(+), 13 deletions(-) + +commit 9db135c4eff97a3d3520cc05c9c3e85c153e8cc4 +Author: Emmanuele Bassi +Date: Thu Feb 25 18:28:37 2010 +0000 + + glx: Clean up sync-to-vblank mechanism discovery + + The code has gotten really complicated to follow. + + As soon as we have a sync-to-vblank mechanism we should just bail out. + + Also, __GL_SYNC_TO_VBLANK (which is used by nVidia) should be assumed + equivalent to a CLUTTER_VBLANK_GLX_SWAP. + + clutter/glx/clutter-backend-glx.c | 169 +++++++++++++++++++++----------------- + 1 file changed, 92 insertions(+), 77 deletions(-) + +commit 655cb966c08b0ec3a0b73ed1b18fc9ebbe9a93b8 +Author: Emmanuele Bassi +Date: Thu Feb 25 17:09:55 2010 +0000 + + docs: Add visual cue for Animator's key frames + + We should explain what a "key frame" is for ClutterAnimator, possibly + with some sort of visual cue. + + This allows me to demonstrate my poor skills at using Inkscape, as well + as my overall bad taste for graphics design. + + clutter/clutter-animator.c | 21 ++ + doc/reference/clutter/Makefile.am | 3 + + doc/reference/clutter/animator-key-frames.png | Bin 0 -> 11936 bytes + doc/reference/clutter/animator-key-frames.svg | 271 ++++++++++++++++++++++++++ + 4 files changed, 295 insertions(+) + +commit d3d05261e6a394736757cebb5aad9b9267e7cf53 +Author: Emmanuele Bassi +Date: Thu Feb 25 14:22:08 2010 +0000 + + script-parser: Remove top-level types list + + The top-level types list was comically out of date, and it was only + determining whether the type we were constructing was initially unowned + or a full object. We can safely replace it with a simple type check. + + clutter/clutter-script-parser.c | 36 ++++-------------------------------- + 1 file changed, 4 insertions(+), 32 deletions(-) + +commit c0be19eff65c4c72aa5c934cee3b582903db40f6 +Author: Emmanuele Bassi +Date: Thu Feb 25 14:20:05 2010 +0000 + + script-parser: Be more strict with "children" members + + The "children" member for Container definitions should only reference + actors, and warn about any other type. + + clutter/clutter-script-parser.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit c291d5a660f4ebac3dc57acad79b8153686a47f0 +Author: Emmanuele Bassi +Date: Thu Feb 25 14:08:57 2010 +0000 + + animator: Add a :timeline property + + It would be useful to be able to share the Timeline across different + animator instances, or with different animation constructs. Also this + allows sharing definitions of Timelines in ClutterScript. + + clutter/clutter-animator.c | 26 +++++++++++++++++++++++++- + 1 file changed, 25 insertions(+), 1 deletion(-) + +commit 641582533952c91576fb53724b70cbe6afb119db +Author: Emmanuele Bassi +Date: Thu Feb 25 14:02:29 2010 +0000 + + animator: Remove NULL check in remove_key() + + The arguments for remove_key() can be NULL, but there is an extraneous + assertion that fails if they are. The pre-conditions should match the + documentation, in this case. + + clutter/clutter-animator.c | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit 4bc4c604e926b07af9ef4c02fd5f000fc939259b +Author: Emmanuele Bassi +Date: Thu Feb 25 12:45:02 2010 +0000 + + box: Let pack_at() create the ChildMeta, if any + + A sub-class of ClutterBox might add ChildMeta support, and since + pack_at() does not go through clutter_container_add_actor(), we + need to manually call the create_child_meta() ourselves. + + clutter/clutter-box.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 543e2d3f0609864cebb1f1eaf258108abab50770 +Author: Emmanuele Bassi +Date: Thu Feb 25 12:39:24 2010 +0000 + + container: Expose create and destroy ChildMeta methods + + It is conceivable that Container implementations might add children + outside of the Container::add() implementation - e.g. for packing at + a specific index. Since the addition (and removal) might happen outside + the common path we need to expose all the API that is implicitly called + by ClutterContainer when adding and removing a child - namely the + ChildMeta creation and destruction. + + clutter/clutter-container.c | 44 ++++++++++++++++++++++-------- + clutter/clutter-container.h | 4 +++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + 3 files changed, 38 insertions(+), 12 deletions(-) + +commit 31b5856d69e8d53de17270da7ab59dd290e2868a +Author: Neil Roberts +Date: Wed Feb 24 23:04:39 2010 +0000 + + test-cogl-blend-strings: Add some more tests + + The adds tests for the remaining layer combine functions, the 1 minus + value operator and the TEXTURE_N source. Note however that Cogl + currently fails when parsing a TEXTURE_N source so the test is + commented out. + + tests/conform/test-cogl-blend-strings.c | 46 +++++++++++++++++++++++++++++++++ + 1 file changed, 46 insertions(+) + +commit 14999bec5e6b3d0aab057ef544f233d968e5cf67 +Author: Neil Roberts +Date: Wed Feb 24 11:13:55 2010 +0000 + + gles2: Remove the special wrapper for glBindTexture + + Previously the GLES2 backend needed a special wrapper for + glBindTexture because it needed to know the internal GL format of the + texture in order to correctly implement the GL_MODULATE texture env + mode. When GL_MODULATE is used then the RGB values are taken from the + previous texture layer rather than being fetched from the + texture. However since the material API was added Cogl no longer uses + the GL_MODULATE texture env mode but instead always uses GL_COMBINE. + + Compiling the GLES2 backend broke since the more-texture-backends + branch merge because the cogl_get_internal_gl_format function was + removed and there was one place in GLES2 specific code that was using + this to bind the texture. + + clutter/cogl/cogl/cogl-material.c | 10 ---------- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 5 ++--- + clutter/cogl/cogl/cogl-texture-driver.h | 7 ------- + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 12 ------------ + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 22 ---------------------- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 12 ------------ + .../cogl/cogl/driver/gles/cogl-texture-driver.c | 13 ------------- + 7 files changed, 2 insertions(+), 79 deletions(-) + +commit eba07020c549ff0ede9982c6d911d67e353ca5a3 +Author: Neil Roberts +Date: Wed Feb 24 16:50:32 2010 +0000 + + cogl-gles2-wrapper: Add support for the layer combine operations + + The texture layer combine functions are now hard coded to GL_COMBINE + instead of GL_MODULATE. The combine function can be customized with + all the parameters of GL_COMBINE. A shader is generated to implement + the given parameters. + + Currently it will try to generate code for the constant color but it + will use a uniform which does not exist. + + clutter/cogl/cogl/cogl-blend-string.c | 9 - + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 382 +++++++++++++++++++-- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 16 + + 3 files changed, 371 insertions(+), 36 deletions(-) + +commit 02b952394ae9efe9e80b803e671bca1b1f711a9a +Author: Neil Roberts +Date: Wed Feb 24 10:42:59 2010 +0000 + + gles2: Implement a wrapper for glGetIntegerv(GL_MAX_TEXTURE_UNITS) + + The GLES2 backend for Cogl is failing to compile because + GL_MAX_TEXTURE_UNITS is not defined. Let's define it and provide a + wrapper which uses GL_MAX_TEXTURE_IMAGE_UNITS or + COGL_GLES2_MAX_TEXTURE_UNITS, whichever is the smallest. + + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 6 ++++++ + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 2 ++ + 2 files changed, 8 insertions(+) + +commit 3bc0672feff7c58326c4d50612bedf15aa9c02cb +Author: Øyvind Kolås +Date: Thu Feb 25 12:30:07 2010 +0000 + + animator: handle no initial key + + Fixing the crasher reported in bug #1995. + + clutter/clutter-animator.c | 108 +++++++++++++++++++++++++++------------------ + 1 file changed, 65 insertions(+), 43 deletions(-) + +commit d2db512788aac496a3741cb424caea41cf4357a1 +Author: Øyvind Kolås +Date: Thu Feb 25 11:48:44 2010 +0000 + + animator: added clutter_animator_compute_value + + Allow querying the computed values of properties managed by a + ClutterAnimator. + + clutter/clutter-animator.c | 212 ++++++++++++++++++++++++++++++++++++++++++--- + clutter/clutter-animator.h | 12 +++ + 2 files changed, 211 insertions(+), 13 deletions(-) + +commit e8d32fd153268c653c1adc5c66f30f0ee624b432 +Author: Øyvind Kolås +Date: Thu Feb 25 11:28:32 2010 +0000 + + animator: removed bogus arg in keys interpolation accessor + + A bogus ClutterInterpolation argument had been carried from + clutter_animator_set_interpolation to clutter_animator_get_interpolation + in copy and paste. + + clutter/clutter-animator.c | 16 +++++++--------- + clutter/clutter-animator.h | 3 +-- + 2 files changed, 8 insertions(+), 11 deletions(-) + +commit be8f53f229397e72fcf5a1bed245d555ea4747e9 +Author: Emmanuele Bassi +Date: Thu Feb 25 12:01:03 2010 +0000 + + animation: Fix a typo + + This will teach me to check before compiling a version-dependent branch + that I'm actually using my jhbuild environment and not the system + libraries. + + clutter/clutter-animation.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 26e22b2ede0eb0fdfbe3d96189cb2aa196da83f8 +Author: Emmanuele Bassi +Date: Thu Feb 25 10:22:36 2010 +0000 + + Conditionally use G_VALUE_COLLECT_INIT() macro + + GLib 2.24 (but starting from the 2.23.2 unstable release) added a new + macro for collecting GValues from a va_list. + + The newly added G_VALUE_COLLECT_INIT() macro should be used in place + of initializing the GValue and calling G_VALUE_COLLECT(), and improves + the collection performances by avoiding multiple checks, free and + initialization calls. + + clutter/clutter-animation.c | 8 ++++++++ + clutter/clutter-animator.c | 7 ++++++- + clutter/clutter-box.c | 7 +++++++ + clutter/clutter-container.c | 7 +++++++ + clutter/clutter-interval.c | 10 ++++++++++ + clutter/clutter-layout-manager.c | 7 +++++++ + 6 files changed, 45 insertions(+), 1 deletion(-) + +commit bd303d6efb7dfddbdf671f7c66ff5b73bb216f3f +Author: Emmanuele Bassi +Date: Wed Feb 24 16:43:17 2010 +0000 + + conform: Verify parsing of multiple properties + + The ClutterAnimator support for parsing multiple properties should be + verified in the conformance test suite. + + http://bugzilla.openedhand.com/show_bug.cgi?id=2003 + + .gitignore | 1 + + tests/conform/test-animator.c | 98 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + tests/data/test-animator-3.json | 40 ++++++++++++++++ + 4 files changed, 140 insertions(+) + +commit 59fd7e4a810f51bad31c2eafb609d545557ef264 +Author: Bastian Winkler +Date: Wed Feb 24 16:32:19 2010 +0100 + + animator: Append parsed animator keys to previously parsed ones + + Reuse the GSList of the previously parsed property when building a + ClutterAnimator from script, otherwise only the last used property will + be used + + http://bugzilla.openedhand.com/show_bug.cgi?id=2003 + + clutter/clutter-animator.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit fd6f6707433a8ab57c8232afee65038213d4120c +Author: Emmanuele Bassi +Date: Wed Feb 24 14:40:22 2010 +0000 + + Post-release version bump to 1.1.15 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 18659b008c800b2dde6e5a2453fba04f5990f2b7 +Author: Emmanuele Bassi +Date: Wed Feb 24 14:26:46 2010 +0000 + + Release 1.1.14 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ec0c7fcd9bb734c3fd488b4b3ec3d469ba5e967f +Author: Emmanuele Bassi +Date: Wed Feb 24 14:23:58 2010 +0000 + + build: Use the right headers when enumerating them + + The installed _HEADERS should be the public ones and the enumeration + types; repeating clutter-x11-texture-pixmap.h breaks with automake 1.11 + and doesn't strictly make any sense. + + http://bugzilla.openedhand.com/show_bug.cgi?id=2002 + + clutter/x11/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1370d72a7a1490c1ed60f02634f146995482116d +Author: Emmanuele Bassi +Date: Wed Feb 24 14:20:14 2010 +0000 + + Update NEWS file + + NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 44 insertions(+) + +commit d1ca0e1b8f3dc6f5b5fec0ce3fba4702b9e75386 +Author: Emmanuele Bassi +Date: Wed Feb 24 12:23:46 2010 +0000 + + fixed layout: Store a back pointer to the Container + + When set_container() is called with a NULL container we cannot use the + passed pointer to unset the CLUTTER_ACTOR_NO_LAYOUT flag. We should + store a back pointer to the container as object data (there's no need + to add a Private data structure in this case) and unset the flag on the + back pointer instead. + + clutter/clutter-fixed-layout.c | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +commit 3a9d842164708baa8fe877d829f9e9cdcbde3831 +Author: Emmanuele Bassi +Date: Wed Feb 24 12:09:13 2010 +0000 + + conformance: Show the Stage to test invariants + + We need to make the Stage set the MAPPED flag on itself if we want to + verify the MAPPED state. That was always the case - it just worked + before because the Stage was shown at least once. + + tests/conform/test-actor-invariants.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit aa8c8127059326c2d13d9f8dd6a294e787e3760e +Author: Emmanuele Bassi +Date: Wed Feb 24 12:08:07 2010 +0000 + + box: Do not short-circuit size negotiation for empty Boxes + + The LayoutManager used might decide to have a default allocation or a + default preferred size when empty. + + clutter/clutter-box.c | 31 ------------------------------- + 1 file changed, 31 deletions(-) + +commit 523bab0868255e3f2b2910a60a868bffeb5bf64a +Author: Robert Bragg +Date: Thu Feb 11 11:45:36 2010 +0000 + + layout: allow wider use of the CLUTTER_ACTOR_NO_LAYOUT flag + + Previously only ClutterGroup was able to set the CLUTTER_ACTOR_NO_LAYOUT + flag which allows clutter-actor.c to avoid a relayout when showing or + hiding fixed layout containers. Instead of it being the responsibility + of the container to set this flag this patch makes the layout manager + itself decide in the ::set_container method. This way both ClutterBox + and ClutterGroup can take advantage of the optimization. + + clutter/clutter-fixed-layout.c | 17 +++++++++++++++++ + clutter/clutter-group.c | 8 +++----- + 2 files changed, 20 insertions(+), 5 deletions(-) + +commit f21e649c80a3e0db5db7dc1128f7828535dbebc2 +Author: Emmanuele Bassi +Date: Wed Feb 24 11:28:44 2010 +0000 + + docs: Detail replacement for cogl_check_extension() + + The cogl_check_extension() function has been deprecated, but it's easily + replaceable with a simple strstr() call. + + clutter/cogl/cogl/cogl.h | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 829d3f4bc5d083320f7f1b70d25e0115e1b6512f +Author: Emmanuele Bassi +Date: Wed Feb 24 11:27:51 2010 +0000 + + docs: Update NEWS and README + + The NEWS file was not updated for the 1.1.12 release, so we need to + update it now. + + The Release Notes section for Clutter and Cogl also needs some more + entries that escaped previous releases. + + NEWS | 33 +++++++++++++++++++++++++++++++++ + README | 21 +++++++++++++++++++++ + 2 files changed, 54 insertions(+) + +commit d54af2363d390bf598aaa931821a46604d4f192a +Author: Emmanuele Bassi +Date: Wed Feb 24 10:20:10 2010 +0000 + + build: Use template for ClutterX11 enumerationt types + + Clutter and Cogl use the template Makefile.am.enums for building the + enumeration GTypes from public headers, but ClutterX11 is not. + + .gitignore | 13 ++++----- + clutter/x11/Makefile.am | 77 ++++++++++++++++++++----------------------------- + 2 files changed, 37 insertions(+), 53 deletions(-) + +commit eb35c446b119274658ba45937e02b5cfd1ec27fe +Author: Neil Roberts +Date: Tue Feb 23 22:06:59 2010 +0000 + + clutter-box: Layer new actors on top of all others at the same depth + + g_list_insert_sorted inserts the new actor before all others that + compare equal so for the normal case when all actors have depth==0 + this has the surprising behaviour of layering the actors in reverse + order. To fix this it now manually inserts the actor in the right + place by searching until it finds an actor at a higher depth and + inserting before that. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1988 + + clutter/clutter-box.c | 25 ++++++++++++++++++++++--- + 1 file changed, 22 insertions(+), 3 deletions(-) + +commit da0315e4d666cc7cbfcfe7dab63d731df2a02338 +Author: Neil Roberts +Date: Tue Feb 23 22:10:30 2010 +0000 + + box: Revert "Tweak the depth sorting function" + + This reverts commit 939e56e2b12e5c96fa1173be33c2786ddfe57c25. + + Changing the depth sort function to have inconsistent behaviour for + nodes that compare equal breaks the stability of g_list_sort. It ends + up so that every time clutter_container_sort_depth_order is called the + order of all actors with the same depth is reversed. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1988 + + clutter/clutter-box.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1c65f2ee1e4595d3044d05cadb4f33fc2d03a6f3 +Author: Robert Bragg +Date: Wed Feb 17 18:45:08 2010 +0000 + + cogl debug: Adds glViewport call tracing + + To aid in the debugging of Clutter stage resize issues this adds a + COGL_DEBUG=opengl option that will trace "some select OpenGL calls" + (currently just glViewport calls) + + clutter/cogl/cogl/cogl-debug.c | 2 ++ + clutter/cogl/cogl/cogl-debug.h | 3 ++- + clutter/cogl/cogl/cogl-framebuffer.c | 6 ++++++ + 3 files changed, 10 insertions(+), 1 deletion(-) + +commit fa3830ff20962dc72b676a5411a7fa1829a870cd +Author: Robert Bragg +Date: Wed Feb 17 17:53:28 2010 +0000 + + cogl debug: hint that all debugging paths are G_UNLIKELY + + Most Cogl debugging code conditions are marked as G_UNLIKELY with the + intention of having the CPU branch prediction always assume the + path is disabled so having debugging support in release binaries has + negligible overhead. + + This patch simply fixes a few cases where we weren't using G_UNLIKELY. + + clutter/cogl/cogl/cogl-journal.c | 9 +++++---- + clutter/cogl/cogl/cogl.c | 2 +- + 2 files changed, 6 insertions(+), 5 deletions(-) + +commit a58d6e8ee5e26185ff090845df68b61076275c21 +Author: Robert Bragg +Date: Wed Feb 17 17:40:57 2010 +0000 + + cogl debug: Support "minimum" level debugging by default + + We basically want all Clutter applications out in the wild to at least + have the basic set of COGL_DEBUG/--cogl-debug options available for + investigating issues. + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 511e5ceb516dcbf2c406a7c2e8e0e56d2135fb0d +Author: Robert Bragg +Date: Wed Feb 17 14:38:11 2010 +0000 + + cogl debug: Makes COGL_DEBUG=all|verbose|help more useful + + COGL_DEBUG=all wasn't previously useful as there are several options + that change the behaviour of Cogl and all together wouldn't help anyone + debug anything. + + This patch makes it so COGL_DEBUG=all|verbose now only enables options + that don't change the behaviour of Cogl, i.e. they only affect the + amount of noise we'll print to a terminal. + + In addition to that this patch also improves the output from + COGL_DEBUG=help so we now print a table of options including one liner + descriptions of what each option enables. + + clutter/cogl/cogl/cogl-debug.c | 121 ++++++++++++++++++++++------- + clutter/cogl/cogl/cogl-debug.h | 37 ++++----- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 2 +- + 3 files changed, 111 insertions(+), 49 deletions(-) + +commit 939e56e2b12e5c96fa1173be33c2786ddfe57c25 +Author: Emmanuele Bassi +Date: Tue Feb 23 17:59:09 2010 +0000 + + box: Tweak the depth sorting function + + By changing the depth sorting function we can achieve the same effect as + ClutterGroup but without the costly append+sort. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1988 + + clutter/clutter-box.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 95960ab902852e9c4830815b89d0a315fb9e4c50 +Author: Emmanuele Bassi +Date: Tue Feb 23 16:51:26 2010 +0000 + + cogl: Add deprecation annotation to CoglMaterial ref/unref + + The G_GNUC_DEPRECATED annotation was missing from the material ref and + unref functions. + + clutter/cogl/cogl/cogl-material.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a9941e94995d2701783f055e69fba52a64f609e0 +Author: Emmanuele Bassi +Date: Tue Feb 16 20:08:35 2010 +0000 + + debug: Split debugging notes from behavioural modifiers + + Some of the ClutterDebugFlags are not meant as a logging facility: they + actually change Clutter's behaviour at run-time. + + It would be useful to have this distinction ratified, and thus split + ClutterDebugFlags into two: one DebugFlags for logging facilities and + another set of flags for behavioural changes. + + This split is warranted because: + + • it should be possible to do "CLUTTER_DEBUG=all" and only have + log messages on the output + + • it should be possible to use behavioural modifiers even on a + Clutter that has been compiled without debugging messages + support + + The commit adds two new debugging flags: + + ClutterPickDebugFlags - controlled by the CLUTTER_PICK environment + variable + + ClutterPaintDebugFlags - controlled by the CLUTTER_PAINT environment + variable + + The PickDebugFlags are: + + nop-picking + dump-pick-buffers + + While the PaintDebugFlags is: + + disable-swap-events + + The mechanism is equivalent to the CLUTTER_DEBUG environment variable, + but it does not depend on the debug level selected when configuring and + compiling Clutter. The picking and painting debugging flags are + initialized at clutter_init() time. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1991 + + clutter/clutter-debug.h | 14 ++++++++--- + clutter/clutter-main.c | 49 +++++++++++++++++++++++++++++++-------- + clutter/glx/clutter-backend-glx.c | 6 +++-- + 3 files changed, 54 insertions(+), 15 deletions(-) + +commit a9c307ff5d94489b30d7398ac80072fe7222a434 +Author: Neil Roberts +Date: Wed Feb 17 22:16:17 2010 +0000 + + cogl-vertex-buffer: Fix the malloc fallback for indices + + The size of the malloc'd buffer for indices when VBOs are not + available was too small so memory corruption would result if it was + used. + + http://bugzilla.o-hand.com/show_bug.cgi?id=1996 + + clutter/cogl/cogl/cogl-vertex-buffer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 14669657737cc1547fb0db261232e63bdd2755d9 +Author: Emmanuele Bassi +Date: Mon Feb 22 11:34:04 2010 +0000 + + device: Motion events compression should honour the device + + The motion event compression should be affected by the device field of + the event; that is: we should compress motion events coming from the + same device. + + clutter/clutter-stage.c | 29 ++++++++++++++++++++++------- + 1 file changed, 22 insertions(+), 7 deletions(-) + +commit 5ed4732737202c3051044455a91dc70c213fb800 +Author: Emmanuele Bassi +Date: Mon Feb 22 11:30:14 2010 +0000 + + device: Force ENTER on Stage with overlapping Actors + + If an actor is on the boundary of a Stage and the pointer for a device + enters the Stage over that actor, the sequence of events currently is: + + ➔ ENTER (source: actor, related: NULL) + ➔ MOTION + + Thus the Stage never gets an ENTER event. This is a regression from + Clutter 1.0. + + The correct sequence is: + + ➔ ENTER (source: stage, related: NULL) + ➔ ENTER (source: actor, related: stage) + ➔ MOTION + + This also maps to the sequence of events sythesized by Clutter when + leaving the Stage through an actor overlapping the Stage boundary. + + http://bugzilla.moblin.org/show_bug.cgi?id=9781 + + clutter/clutter-input-device.c | 27 +++++++++++++++++++++++---- + 1 file changed, 23 insertions(+), 4 deletions(-) + +commit ee33357fd5d08be824a5ecb3161a79568afa4e5c +Author: Emmanuele Bassi +Date: Thu Feb 18 16:58:29 2010 +0000 + + stage: Only clutter_stage_get_default() creates the default stage + + The introduction of the StageManager in 0.8 implied that the first Stage + instance to be created was automatically assigned the status of "default + stage". This was all well and good, since the default stage was created + behind the curtains by the initialization sequence. + + Now that the initialization sequence does not create a default stage any + longer, it means that the first stage created using clutter_stage_new() + gets to be the default, and all special and warm and fuzzy - which also + means that the first stage created by clutter_stage_new() cannot be + destroyed or handled as any other stage. Whoopsie. + + Let's go back to the old semantics: the stage created by the first + invocation of clutter_stage_get_default() is the default stage, and + nothing else can be set as default. One day we'll be able to break the + API and the whole default stage business will be a thing of the past. + + clutter/clutter-private.h | 10 ++++++---- + clutter/clutter-stage-manager.c | 32 +++++++++++++++++++++++++------- + clutter/clutter-stage.c | 1 + + 3 files changed, 32 insertions(+), 11 deletions(-) + +commit 9a6de8757f27ff8a8cf9f89209f9366e03b7aadf +Author: Emmanuele Bassi +Date: Thu Feb 18 11:34:06 2010 +0000 + + docs: Document the InputDevice update method + + Embedding toolkits should benefit from a proper documentation of + clutter_input_device_update_from_event(): its meaning, its use and + the caveats for the "update_stage" argument. + + clutter/clutter-input-device.c | 49 ++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 49 insertions(+) + +commit a2afc9d7ba0a80733044b97498a7df26de5a4ab2 +Author: Neil Roberts +Date: Wed Feb 17 18:18:38 2010 +0000 + + win32: Fixup compilation errors from b398292089b0f7 + + That commit added some Win32 code which breaks compilation. + + Thanks to Samuel Degrande for help with this. + + clutter/win32/clutter-backend-win32.c | 5 ++--- + clutter/win32/clutter-device-manager-win32.c | 18 ++++++------------ + clutter/win32/clutter-event-win32.c | 2 +- + 3 files changed, 9 insertions(+), 16 deletions(-) + +commit 5de743de705ba9bb9a2061a66045b32091165ad5 +Author: Robert Bragg +Date: Tue Feb 16 14:53:10 2010 +0000 + + cogl_texture_new_from_foreign: improve docs + + Improve the explanation of what the x_pot_waste and y_pot_waste + arguments can be used for. + + clutter/cogl/cogl/cogl-texture.h | 15 +++++++++++---- + 1 file changed, 11 insertions(+), 4 deletions(-) + +commit 9c06c94374c61c019ca49fa6fd80679e6ad2f29a +Author: Robert Bragg +Date: Tue Feb 16 14:23:11 2010 +0000 + + cogl-texture: for foreign textures; always trust user geom + + We now never query the width and height of the given texture object + from OpenGL. The problem is that the user may be creating a Cogl + texture from a texture_from_pixmap object where glTexImage2D was + never called and the texture_from_pixmap spec doesn't clarify that + it's reliable to query the width from OpenGL. + + This should address: + http://bugzilla.openedhand.com/show_bug.cgi?id=1502 + + Thanks to Johan Bilien for reporting + + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 24 +++++++++--------------- + 1 file changed, 9 insertions(+), 15 deletions(-) + +commit 8b040cac4dfaaa9d91635d31d93a79d00f637772 +Author: Emmanuele Bassi +Date: Wed Feb 17 19:02:43 2010 +0000 + + docs: Fixes for DeviceManager + + clutter/clutter-device-manager.h | 12 ++++++------ + doc/reference/clutter/clutter-sections.txt | 6 ++++++ + 2 files changed, 12 insertions(+), 6 deletions(-) + +commit 51a3e49c8228a22c1fbcd42971ad27d26d83991b +Author: Emmanuele Bassi +Date: Wed Feb 17 18:21:50 2010 +0000 + + device: Allow updating devices from embedding toolkits + + Embedding toolkits most likely will disable the event handling, so all + the input device code will not be executed. Unfortunately, the newly + added synthetic event generation of ENTER and LEAVE event pairs depends + on having input devices. + + In order to unbreak things without reintroducing the madness of the + previous code we should allow embedding toolkits to just update the + state of an InputDevice by using the data contained inside the + ClutterEvent. This strategy has two obvious reasons: + + • the embedding toolkit is creating a ClutterEvent by translating + a toolkit-native event anyway + + • this is exactly what ClutterStage does when processing events + + We are, essentially, deferring input device handling to the embedding + toolkits, just like we're deferring event handling to them. + + clutter/clutter-event.h | 2 - + clutter/clutter-input-device.c | 59 ++++++++++++++++++++++++++++++ + clutter/clutter-input-device.h | 5 +++ + clutter/clutter-types.h | 2 + + doc/reference/clutter/clutter-sections.txt | 2 + + 5 files changed, 68 insertions(+), 2 deletions(-) + +commit b398292089b0f70b9457985426d6b962d9179fa7 +Author: Emmanuele Bassi +Date: Wed Feb 17 17:06:25 2010 +0000 + + device: Impose per-backend DeviceManager + + The DeviceManager class should be abstract in Clutter, and implemented + by each backend, as different backends will have different ways to + detect, initialize and list devices; the X11 backend alone has *two* + ways of dealing with devices. + + This commit makes DeviceManager an abstract class and delegates the + device initialization and enumeration to per-backend sub-classes. + + The responsible for creating the device manager is, obviously, the + backend singleton. + + The X11 and Win32 backends have been updated to the new layout; the + Win32 backend has been updated blindly, so it might require additional + testing. + + clutter/clutter-backend.h | 38 +-- + clutter/clutter-device-manager.c | 166 +++++++++---- + clutter/clutter-device-manager.h | 51 +++- + clutter/clutter-private.h | 7 - + clutter/win32/Makefile.am | 2 + + clutter/win32/clutter-backend-win32.c | 38 +-- + clutter/win32/clutter-backend-win32.h | 3 +- + clutter/win32/clutter-device-manager-win32.c | 173 +++++++++++++ + clutter/win32/clutter-device-manager-win32.h | 60 +++++ + clutter/win32/clutter-event-win32.c | 34 ++- + clutter/x11/Makefile.am | 2 + + clutter/x11/clutter-backend-x11.c | 168 +++---------- + clutter/x11/clutter-backend-x11.h | 3 +- + clutter/x11/clutter-device-manager-x11.c | 349 +++++++++++++++++++++++++++ + clutter/x11/clutter-device-manager-x11.h | 68 ++++++ + clutter/x11/clutter-event-x11.c | 14 +- + 16 files changed, 930 insertions(+), 246 deletions(-) + +commit 0bf6d57ab128f301588695d011a9ab5d1b1dce1a +Author: Chris Lord +Date: Wed Feb 17 16:56:30 2010 +0000 + + [event-x11] Don't relayout on window move + + ConfigureNotify is delivered on window movements too, but there is no + need to queue a relayout on these as the viewport hasn't changed size. + Check for the window actually changing size on ConfigureNotify before + queueing a relayout. + + This fixes laggy window movement when moving a window in response to + Clutter mouse motion events. + + clutter/x11/clutter-event-x11.c | 26 ++++++++++++++++---------- + 1 file changed, 16 insertions(+), 10 deletions(-) + +commit 05054bed87866d10c927642fe6273c5bd8f89a95 +Author: Neil Roberts +Date: Wed Feb 17 15:58:32 2010 +0000 + + cogl-clip-stack: Round the coords when clipping to a window rect + + The size and position of the window rectangle for clipping in + try_pushing_rect_as_window_rect is calculated by projecting the + rectangle coordinates. Due to rounding errors, this can end up with + slightly off numbers like 34.999999. These were then being cast + directly to an integer so it could end up off by one. + + This uses a new macro called COGL_UTIL_NEARBYINT which is a + replacement for the C99 nearbyint function. + + clutter/cogl/cogl/cogl-clip-stack.c | 6 +++++- + clutter/cogl/cogl/cogl-util.h | 8 ++++++++ + 2 files changed, 13 insertions(+), 1 deletion(-) + +commit a726ef32aa4721070b57df2e08c304096cb24736 +Author: Neil Roberts +Date: Wed Feb 17 14:38:45 2010 +0000 + + test-cogl-vertex-buffer: Fix the maximum index number + + It was passing the number of vertices to + cogl_vertex_buffer_draw_elements but instead it should take the + maximum index which would be the number of vertices minus one. This + was causing errors to be reported with the checks filterset of Bugle. + + tests/interactive/test-cogl-vertex-buffer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fbcaf1e0b34f68934e0c84b01adfa5ea920c6c6a +Author: Emmanuele Bassi +Date: Wed Feb 17 10:46:16 2010 +0000 + + Improve LEAVE events for border actors + + If an actor is lying on the border of the Stage it might miss the LEAVE + event when the pointer of a device leaves the Stage window. Since the + backend is unsetting the Stage back pointer on the InputDevice we can + queue the emission of a LEAVE event on the pointer actor as well. + + http://bugzilla.moblin.org/show_bug.cgi?id=9677 + + clutter/clutter-input-device.c | 23 ++++++++++++++++++++++- + tests/interactive/test-events.c | 22 +++++++++++++++++----- + 2 files changed, 39 insertions(+), 6 deletions(-) + +commit 719e314b8e364955b046c990ddc1c9f07b0cc55f +Author: Chris Lord +Date: Tue Feb 16 18:25:46 2010 +0000 + + [stage-x11] Fix a warning due to a missing cast + + I stupidly forgot to cast a ClutterStage to a ClutterActor and somehow + missed or didn't get the compiler warning. Fix. + + clutter/x11/clutter-stage-x11.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f9f03894a691cfb8f791f34c684d82f8a6d5b5b8 +Author: Chris Lord +Date: Tue Feb 16 18:17:55 2010 +0000 + + [stage-x11] Fix resizing for foreign windows + + As well as manually setting the geometry size, we needed to queue a + relayout. This is what the ConfigureNotify handler would normally do, + but we don't get this event when using a foreign window (obviously). + + This should fix resizing in things like gtk-clutter. + + clutter/x11/clutter-stage-x11.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit df6e7aee73a3c3818acab8218732659eb77a3cdc +Author: Chris Lord +Date: Tue Feb 16 17:46:52 2010 +0000 + + [stage-x11] Set the geometry size for foreign wins + + If we get into the resize function and it's a foreign window, set the + geometry size so that the allocate will set the backend size and call + glViewport. + + clutter/x11/clutter-stage-x11.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit c2d016471258c529d7829ed807e76a4e029b614b +Author: Emmanuele Bassi +Date: Tue Feb 16 16:31:20 2010 +0000 + + Add test-stage-sizing to the ignore file + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit d42f928c43994331017bca7145b7b06fd5848909 +Author: Chris Lord +Date: Tue Feb 16 15:39:08 2010 +0000 + + [test-interactive] Add a stage sizing test + + Add an interactive stage sizing test to test the interaction of + fullscreening/resizing/expanding/shrinking a visible stage. + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-stage-sizing.c | 113 ++++++++++++++++++++++++++++++++++ + 2 files changed, 115 insertions(+), 1 deletion(-) + +commit 1117b6a9ac974dd5855c5e76965c15329c608ff4 +Author: Chris Lord +Date: Tue Feb 16 14:50:14 2010 +0000 + + [stage-x11] Fix switching fullscreen mode + + Setting/unsetting fullscreen on a mapped or unmapped window now works + correctly. + + If you unfullscreen a window that was initially full-screened, it will + unset the fullscreen hint and the WM will likely push the size down to + the largest valid size. + + If the window was previously un-fullscreened, Clutter will restore the + previous size. + + Fullscreening also now works if the WM switches the hint without the + application's knowledge (as happens when you resize a window to the size + of the screen, for example, with stock metacity). + + clutter/clutter-stage.c | 3 +- + clutter/x11/clutter-event-x11.c | 13 ++++++-- + clutter/x11/clutter-stage-x11.c | 71 +++++++++++++++++++++++------------------ + clutter/x11/clutter-stage-x11.h | 2 +- + 4 files changed, 54 insertions(+), 35 deletions(-) + +commit dd36c3ad5c4f3d25d0286cf1c2a9a25abf7d2ea4 +Author: Emmanuele Bassi +Date: Tue Feb 16 12:32:37 2010 +0000 + + Post-release version bump to 1.1.13 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 21354b2b7518c9518fa8405f07ed1f929736d4a2 +Author: Emmanuele Bassi +Date: Tue Feb 16 12:21:15 2010 +0000 + + Release 1.1.12 (developers snapshot) + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 7a3eb452b802e5b38542d224da179c4267706e7b +Author: Emmanuele Bassi +Date: Tue Feb 16 12:16:02 2010 +0000 + + conform: Do not resize the stage + + Since all conformance tests share the same state we should not touch + stuff like the stage size; sharing is already fairly complex and adds a + lot of caveats on the implementation of a conformance test unit, and if + we make tests influence later ones then we might slip in bugs or false + negatives - thus defeating the whole point of a conformance test suite. + + tests/conform/test-cogl-offscreen.c | 1 - + tests/conform/test-cogl-readpixels.c | 1 - + tests/conform/test-cogl-viewport.c | 1 - + tests/conform/test-pick.c | 1 - + 4 files changed, 4 deletions(-) + +commit 4cadc7300504828fa0db8cb21e1b9d8e23be6319 +Author: Emmanuele Bassi +Date: Tue Feb 16 12:15:23 2010 +0000 + + conform: Use a 640x480 stage in test-pick + + Do not resize the stage to a smaller size: the default size is perfectly + fine. + + tests/conform/test-pick.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 958545aa70e526a12720bf2dd0d9b9a24d273b8d +Author: Neil Roberts +Date: Tue Feb 16 12:01:18 2010 +0000 + + cogl-atlas-texture: Don't use the atlas if FBOs aren't supported + + If FBOs aren't supported then it will end up very slow to reorganize + the atlas. Also currently the CoglTexture2D backend will refuse to + create any textures anyway so the full atlas texture won't be created. + + clutter/cogl/cogl/cogl-atlas-texture.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit a5021ba30f553d641399545d9777eb5b4b385ac1 +Author: Neil Roberts +Date: Tue Feb 16 11:58:47 2010 +0000 + + cogl-atlas-texture: Check for errors when creating the atlas texture + + cogl_texture_2d_new may fail in certain circumstances so + cogl_atlas_texture_reserve_space should detect this and also + fail. This will cause cogl_texture_new to fallback to a sliced + texture. + + Thanks to Vladimir Ivakin for reporting this problem. + + clutter/cogl/cogl/cogl-atlas-texture.c | 19 ++++++++++++------- + 1 file changed, 12 insertions(+), 7 deletions(-) + +commit e65bb38720c8990684ce24bda08b78d8da49cc1b +Author: Emmanuele Bassi +Date: Tue Feb 16 11:38:51 2010 +0000 + + conform: Use g_assert_cmpint() in cogl-readpixels test + + The g_assert_cmpint() macro prints out not just the assertion condition + but also the assertion contents; this is useful to catch wrong values + without incrementing the verbosity of the test itself. + + tests/conform/test-cogl-readpixels.c | 18 ++++++++---------- + 1 file changed, 8 insertions(+), 10 deletions(-) + +commit 56f164f8a1c634e2d0ba6ffb5879672d456e1488 +Author: Emmanuele Bassi +Date: Mon Feb 15 19:03:37 2010 +0000 + + docs: Document SWAP_EVENTS feature flag + + clutter/clutter-feature.h | 1 + + 1 file changed, 1 insertion(+) + +commit 2fcb644e4fb02375bdf8b1f54677bcde7abdceba +Author: Chris Lord +Date: Mon Feb 15 18:53:58 2010 +0000 + + [stage] Fix some races to do with window resizing + + When we resize, we relied on the stage's allocate to re-initialise the + GL viewport. Unfortunately, if we resized within Clutter, the new size + was cached before the window is actually resized, so glViewport wasn't + being called after resizing (some of the time, it's a race condition). + + Change the way resizing works slightly so that we only resize when the + geometry size doesn't match our preferred size, and queue a relayout on + ConfigureNotify so the glViewport gets called. + + Also change window creation slightly so that setting the size of a + window before it's realized works correctly. + + clutter/clutter-stage.c | 36 +++++++++++++++--------------------- + clutter/glx/clutter-stage-glx.c | 19 +++++++++++++++++-- + clutter/x11/clutter-event-x11.c | 13 +++++++++++++ + clutter/x11/clutter-stage-x11.c | 24 ++++++++++-------------- + 4 files changed, 55 insertions(+), 37 deletions(-) + +commit 0d428655e23c18064176aa823db0d7165581ba02 +Author: Emmanuele Bassi +Date: Mon Feb 15 16:09:26 2010 +0000 + + actor: Turn push/pop_internal into Actor methods + + Since the "internal" state is global, it will leak onto actors that you + didn't intend for it to, because it applies not just to the actors you + create, but also to any actors *they* create. Eg, if you have a dialog + box class, you might push/pop_internal around creating its buttons, so + that those buttons get marked as internal to the dialog box. But + ctx->internal_child will still be set during the *button*'s constructor + as well, and so, eg, the label and icon inside the button actor will + *also* be marked as internal children, even if that isn't what the + button class wanted. + + The least intrusive change at this point is to make push_internal() and + pop_internal() two methods of the Actor class, and take a ClutterActor + pointer as the argument - thus moving the locality of the internal_child + counter to the Actor itself. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1990 + + clutter/clutter-actor.c | 31 ++++++++++++++++++------------- + clutter/clutter-actor.h | 4 ++-- + clutter/clutter-private.h | 2 -- + tests/conform/test-actor-destroy.c | 4 ++-- + 4 files changed, 22 insertions(+), 19 deletions(-) + +commit 2229cafc3833a017b3a107b4f6b207f0a95908f5 +Author: Emmanuele Bassi +Date: Mon Feb 15 12:04:50 2010 +0000 + + stage: Add sanity checks for get_pending_swaps() + + The master clock might have a Stage during its destruction phase, + without a StageWindow attached to it. If this happens and we try + to dereference the StageWindow to get its class and call a virtual + function we might experience some slight turbulence and... then... + explode. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1987 + + clutter/clutter-master-clock.c | 21 +++++++++++++-------- + clutter/clutter-stage.c | 10 +++++++++- + 2 files changed, 22 insertions(+), 9 deletions(-) + +commit fef82fae5c716f15cd345fcfbc37f01578a82580 +Author: Emmanuele Bassi +Date: Mon Feb 15 11:58:55 2010 +0000 + + build: Enable experimental COGL API in tests/conform + + Enable the experimental API when building the conformance test suite. + + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-pixel-buffer.c | 3 --- + 2 files changed, 1 insertion(+), 3 deletions(-) + +commit 032121ce17fb825592ba435cf260107b52f8196c +Author: Emmanuele Bassi +Date: Mon Feb 15 11:57:48 2010 +0000 + + build: Disable deprecated API in tests/conform + + We should not be using deprecated API in the conformance test suite. + + tests/conform/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit c3354cb2c0acc7d80b2cea3f970a1d83a47d585c +Author: Emmanuele Bassi +Date: Mon Feb 15 11:56:34 2010 +0000 + + conform: Do not use deprecated API + + There is no more type-specific ref/unref pairs: it is all under + CoglHandle now. + + tests/conform/test-cogl-blend-strings.c | 6 +++--- + tests/conform/test-cogl-multitexture.c | 2 +- + tests/conform/test-cogl-texture-mipmaps.c | 2 +- + 3 files changed, 5 insertions(+), 5 deletions(-) + +commit d607400f01be1c1e26f54b3d83794e0d246e8db0 +Author: Emmanuele Bassi +Date: Mon Feb 15 11:45:35 2010 +0000 + + x11: Do not set pid or title on foreign windows + + If a StageX11 is using a foreign window we should not need to set the + _NET_WM_PID or the WM_TITLE properies. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1989 + + clutter/x11/clutter-stage-x11.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 89191e8bbc591f33dd0f45e2317f31eeaa7d4023 +Author: Emmanuele Bassi +Date: Mon Feb 15 11:44:02 2010 +0000 + + docs: Mention signal-swapped-after modifier + + The signal-swapped-after:: modifier for signal connection inside the + clutter_actor_animate* variadic arguments functions is not mentioned in + the documentation. + + clutter/clutter-animation.c | 34 ++++++++++++++++++++++++---------- + 1 file changed, 24 insertions(+), 10 deletions(-) + +commit 262782feae4e8130321be414f7aac9141ae22eab +Author: Damien Lespiau +Date: Mon Feb 8 19:18:36 2010 +0000 + + docs: Add 2010 in COGL's Copyright notice + + While at it, fix the usage of in to let the + stylesheet do the collation when having several years. + + doc/reference/clutter/clutter-docs.xml.in | 7 +++++-- + doc/reference/cogl/cogl-docs.xml.in | 1 + + 2 files changed, 6 insertions(+), 2 deletions(-) + +commit 01bf50905689b363877f85942403cdc947f8c82c +Author: Damien Lespiau +Date: Fri Feb 12 17:24:15 2010 +0000 + + cogl-buffer: fix compilation for GL ES + + In the frenzy of the last 10mins before API freeze, I obviously forgot + to update the OpenGL path for _cogl_buffer_hints_to_gl_enum(). This + commit fixes this. + + clutter/cogl/cogl/cogl-buffer.c | 15 +++++---------- + 1 file changed, 5 insertions(+), 10 deletions(-) + +commit e668a2f228acb1f38853eea4245f87e10e82fe23 +Author: Neil Roberts +Date: Fri Feb 12 15:33:56 2010 +0000 + + cogl-atlas-texture: Flush the journal before adding a new texture + + When the atlas is reorganised we could potentially be moving around + textures that are already referenced in the journal. We therefore need + to flush the journal otherwise they will be rendered with incorrect + texture coordinates. We also need to flush the journal even if we are + not reorganizing so that we can rely on the old texture contents + remaining in the atlas after migrating a texture out. + + clutter/cogl/cogl/cogl-atlas-texture.c | 26 +++++++++++++++++++++++++- + 1 file changed, 25 insertions(+), 1 deletion(-) + +commit 4be4f56bdf463ccac89c7068b47ba1450bee95ee +Author: Neil Roberts +Date: Fri Feb 12 10:08:51 2010 +0000 + + cogl-sub-texture: Optimise taking a sub texture of a sub texture + + When creating a Cogl sub-texture, if the full texture is also a sub + texture it will now just offset the x and y and reference the full + texture instead. This avoids one level of indirection when rendering + the texture which reduces the chances of getting rounding errors in + the calculations. + + clutter/cogl/cogl/cogl-sub-texture-private.h | 17 +++++- + clutter/cogl/cogl/cogl-sub-texture.c | 29 +++++++-- + clutter/cogl/cogl/cogl-texture.h | 4 ++ + tests/conform/test-cogl-sub-texture.c | 89 ++++++++++++++++++---------- + 4 files changed, 99 insertions(+), 40 deletions(-) + +commit 2018b5b16750b090c5592ebd5262fc66d809183e +Author: Emmanuele Bassi +Date: Fri Feb 12 16:24:27 2010 +0000 + + actor: Split get_paint_opacity() from the type check + + Since get_paint_opacity() recurses through the hierarchy it might lead + to a lot of type checks while we walk the parent-child chain. We can + split the recursive function from the public entry point and perform the + type check just once. + + clutter/clutter-actor.c | 55 +++++++++++++++++++++++++++++++------------------ + 1 file changed, 35 insertions(+), 20 deletions(-) + +commit 37d51cb78e41ea36f01c049eda6163bddc84ce33 +Author: Emmanuele Bassi +Date: Fri Feb 12 16:18:12 2010 +0000 + + actor: Do not call get_opacity() from get_paint_opacity() + + We already have access to the opacity private field, there's no need to + go through the public API. + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 124f30cccef75feabb0933c074753b392f373e82 +Author: Emmanuele Bassi +Date: Fri Feb 12 15:52:07 2010 +0000 + + docs: Fixes for Cogl + + clutter/cogl/cogl/cogl-material.h | 1 + + clutter/cogl/cogl/cogl-pixel-buffer.h | 2 +- + doc/reference/cogl/Makefile.am | 3 ++- + doc/reference/cogl/cogl-sections.txt | 8 ++++---- + 4 files changed, 8 insertions(+), 6 deletions(-) + +commit 27e6c3b1e0db6fcb36a8f7e44e457b672ee34565 +Author: Emmanuele Bassi +Date: Fri Feb 12 14:46:43 2010 +0000 + + build: Use -Wuninitialized instead of -Wno-uninitialized + + We want to be warned about uninitialized variables. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 00c4bfc3c69ba1c1c37852392b46c0fe601a98a1 +Author: Emmanuele Bassi +Date: Fri Feb 12 14:45:49 2010 +0000 + + analysis: Interactive tests + + Abort if test-behave was passed the wrong type of behaviour to test. + + tests/interactive/test-behave.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 46182233c031c480b5d4d1f6109ab28a6199d369 +Author: Emmanuele Bassi +Date: Fri Feb 12 14:45:04 2010 +0000 + + analysis: Conformance tests + + Initialize ClutterPathNote members to 0 using "{ 0, }". + + tests/conform/test-path.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit 78f1f508af88ccd9652d38811a4ebc6662c566dd +Author: Emmanuele Bassi +Date: Thu Feb 11 15:24:41 2010 +0000 + + analysis: x11: ClutterEvent + + Remove an unused variable. + + clutter/x11/clutter-event-x11.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 081696fdb5d83c41ed201277db272572eb534db2 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:24:17 2010 +0000 + + analysis: CoglPangoRenderer + + Remove unused variables. + + clutter/cogl/pango/cogl-pango-render.c | 17 +++++++---------- + 1 file changed, 7 insertions(+), 10 deletions(-) + +commit 2d8bdf9e5ebd101b40854e0066b06037dd261ea5 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:20:25 2010 +0000 + + analysis: ClutterTimeoutPool + + Do not pre-initialize the list iterator, the for loop will do it for us. + + clutter/clutter-timeout-pool.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9c8f8818784ba7c709c70ead6d8e103ee28d0c8c +Author: Emmanuele Bassi +Date: Thu Feb 11 15:20:07 2010 +0000 + + analysis: ClutterTimeline + + Remove an unused variable. + + clutter/clutter-timeline.c | 4 ---- + 1 file changed, 4 deletions(-) + +commit 65af411cb4675eab722fe16acc93fa6e7183e3c8 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:19:46 2010 +0000 + + analysis: ClutterTexture + + Remove unused variables. + + clutter/clutter-texture.c | 25 +++++++++---------------- + 1 file changed, 9 insertions(+), 16 deletions(-) + +commit 09644e4bb6cff70d2c9a59bbe9b461b7e53676e2 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:19:32 2010 +0000 + + analysis: ClutterText + + Remove unused variables. + + clutter/clutter-text.c | 2 -- + 1 file changed, 2 deletions(-) + +commit c2d434e3af3d3b862866273a7dd15541ecbebcd5 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:19:18 2010 +0000 + + analysis: ClutterStage + + Remove unused variables. + + clutter/clutter-stage.c | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +commit 136e8c1acb15c078c0898a834f55666c6f0ef384 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:17:53 2010 +0000 + + analysis: ClutterScriptParser + + We parse a JSON value depending on the initial state of an uninitialized + variable. Ouch. + + clutter/clutter-script-parser.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4d9010dd5e9c5a69ba5f7a0c3969ce5ac337c08d +Author: Emmanuele Bassi +Date: Thu Feb 11 15:17:32 2010 +0000 + + analysis: ClutterRectangle + + Remove unused variables. + + clutter/clutter-rectangle.c | 10 +++------- + 1 file changed, 3 insertions(+), 7 deletions(-) + +commit 8ba65cfd4aba677530b25d9ab1323d2b1b281282 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:17:07 2010 +0000 + + analysis: ClutterModel + + Remove unused variables. + + clutter/clutter-model.c | 10 ---------- + 1 file changed, 10 deletions(-) + +commit bea1a0a6a22ecd0ed96720bcecb3919d3fbb2757 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:13:40 2010 +0000 + + analysis: ClutterMain + + • Remove unused variables. + + • Do not pre-initialize ClutterActor's GType; pre-emptive optimizations + like these are more black magic than real optimization. + + clutter/clutter-main.c | 21 ++++++--------------- + 1 file changed, 6 insertions(+), 15 deletions(-) + +commit 66920ea540834c0264434f64a0dcfae4150e625f +Author: Emmanuele Bassi +Date: Thu Feb 11 15:13:20 2010 +0000 + + analysis: ClutterInterval + + Remove unused variables. + + clutter/clutter-interval.c | 8 -------- + 1 file changed, 8 deletions(-) + +commit 853f9941da5f40b936307ce45f67265f978d9c2b +Author: Emmanuele Bassi +Date: Thu Feb 11 15:11:51 2010 +0000 + + analysis: ClutterBoxLayout + + Remove an useless assignment. The n_expand_children is not used outside + the extra_space check, and if n_expand_children is 0 then the extra + space we allocate is 0. + + clutter/clutter-box-layout.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit cd058562538633962089cd30787b7a98d9733144 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:11:25 2010 +0000 + + analysis: ClutterBehaviour + + Remove an unused variable. + + clutter/clutter-behaviour.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +commit 6dc0e9632cc2597240d9e42c98cd567dbcc1dbec +Author: Emmanuele Bassi +Date: Thu Feb 11 15:09:51 2010 +0000 + + analysis: ClutterAnimation + + • Remove one unused variable. + + • We ignore the result of get_timeline_internal() so we need to tell + the compiler that - though a better solution would be to split the + timeline implicit creation into its own function. + + clutter/clutter-animation.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit a287ca7a2824efef2608877555711c408122a400 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:09:12 2010 +0000 + + analysis: ClutterAnimator/2 + + Clean up an unused variable. + + clutter/clutter-animator.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 667222c301ca0f19c570938055208e564e4d02ef +Author: Emmanuele Bassi +Date: Thu Feb 11 15:08:19 2010 +0000 + + analysis: ClutterAnimator/1 + + Do not de-reference a void*; use a temporary variable -- after + checking the contents of the pointer. This actually simplifies + the readability and avoids pulling a Lisp with the parentheses. + + clutter/clutter-animator.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit fcd3cfc0bfc656d63088a443355b30e7b50d2850 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:07:38 2010 +0000 + + analysis: ClutterAlpha + + Clean up unused variables. + + clutter/clutter-alpha.c | 12 ++---------- + 1 file changed, 2 insertions(+), 10 deletions(-) + +commit aa6d7a30291c199fc1d26a93574d88c027367bf0 +Author: Emmanuele Bassi +Date: Thu Feb 11 15:05:18 2010 +0000 + + analysis: ClutterActor + + Clean up ClutterActor for unused variables. + + clutter/clutter-actor.c | 12 +----------- + 1 file changed, 1 insertion(+), 11 deletions(-) + +commit 7a372bc0011b6301cc8b46767493a23218a67cff +Author: Neil Roberts +Date: Fri Feb 12 14:26:33 2010 +0000 + + cogl: Cache the value for GL_MAX_TEXTURE_UNITS + + The function _cogl_get_max_texture_units is called quite often while + rendering and it returns a constant value so we might as well cache + the result. Calling glGetInteger on Mesa can be expensive because it + flushes a lot of state. + + clutter/cogl/cogl/cogl-context.c | 2 ++ + clutter/cogl/cogl/cogl-context.h | 4 ++++ + clutter/cogl/cogl/cogl.c | 12 +++++++++--- + 3 files changed, 15 insertions(+), 3 deletions(-) + +commit 22c33b2fea1fd60239280aa1f4fd112f533688aa +Author: Robert Bragg +Date: Thu Feb 11 16:12:26 2010 +0000 + + cogl: resolves some low hanging issues flagged by clang + + An initial pass over the Cogl source code using the Clang static + analysis tool flagged a few low hanging issues such as un-used variables + or redundant initializing of variables which this patch fixes. + + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 9 ++------- + clutter/cogl/cogl/cogl-texture.c | 8 ++++---- + 2 files changed, 6 insertions(+), 11 deletions(-) + +commit 18305cbd98e02ab139beef769cbc90a2121bd1f5 +Author: Robert Bragg +Date: Thu Feb 11 15:33:01 2010 +0000 + + cogl_rectangle: avoid redundant copy of geometry + + All the cogl_rectangle* APIs normalize their input into into an array of + _CoglMutiTexturedRect rectangles and pass these on to our work horse; + _cogl_rectangles_with_multitexture_coords. The definition of + _CoglMutiTexturedRect had 4 separate float members, x_1, y_1, x_2 and + y_2 which meant for some common cases we were having to copy out from an + array into these members. We are now able to simply point into the users + array avoiding a copy which seems desirable when submiting lots of + rectangles. + + clutter/cogl/cogl/cogl-journal-private.h | 5 +- + clutter/cogl/cogl/cogl-journal.c | 31 ++++--- + clutter/cogl/cogl/cogl-primitives.c | 135 ++++++++++++++++--------------- + 3 files changed, 91 insertions(+), 80 deletions(-) + +commit 5f18fc928d85499d6ee2ac433dde247286e2de4e +Author: Robert Bragg +Date: Wed Feb 10 22:47:49 2010 +0000 + + cogl: explicitly mark cogl__ref/unref APIs as deprecated + + This uses the G_GNUC_DEPRECATED macros to mark the + cogl_{texture,vertex_buffer,shader}_ref and unref APIs as deprecated. + Since this flagged that cogl-pango-display-list.c and + clutter-glx-texture-pixmap.c were still using deprecated _ref/_unref + APIs they have now been changed to use the cogl_handle_ref/unref API + instead. + + clutter/cogl/cogl/cogl-shader.h | 8 ++++++-- + clutter/cogl/cogl/cogl-texture.h | 4 ++-- + clutter/cogl/cogl/cogl-vertex-buffer.h | 4 ++-- + clutter/cogl/pango/cogl-pango-display-list.c | 8 ++++---- + clutter/glx/clutter-glx-texture-pixmap.c | 2 +- + 5 files changed, 15 insertions(+), 11 deletions(-) + +commit 48660349dbcabdde05fc9e1334734bcc62bb790e +Author: Robert Bragg +Date: Wed Feb 10 22:30:37 2010 +0000 + + cogl: cleanly separate primitives + paths code + + The function prototypes for the primitives API were spread between + cogl-path.h and cogl-texture.h and should have been in a + cogl-primitives.h. + + As well as shuffling the prototypes around into more sensible places + this commit splits the cogl-path API out from cogl-primitives.c into + a cogl-path.c + + clutter/cogl/cogl/Makefile.am | 3 + + clutter/cogl/cogl/cogl-internal.h | 28 + + clutter/cogl/cogl/cogl-path.c | 1121 +++++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-path.h | 33 +- + clutter/cogl/cogl/cogl-primitives.c | 1078 --------------------------------- + clutter/cogl/cogl/cogl-primitives.h | 188 +++++- + clutter/cogl/cogl/cogl-texture.h | 133 ----- + clutter/cogl/cogl/cogl.h | 1 + + 8 files changed, 1316 insertions(+), 1269 deletions(-) + +commit 9f5a3e14451ed77f47260bbd6a1b2271e8003361 +Author: Robert Bragg +Date: Wed Feb 10 18:18:30 2010 +0000 + + cogl: remove redundant _cogl_journal_flush prototype + + There was a redundant _cogl_journal_flush function prototype in + cogl-primitives.h + + clutter/cogl/cogl/cogl-clip-stack.c | 1 + + clutter/cogl/cogl/cogl-framebuffer.c | 1 + + clutter/cogl/cogl/cogl-journal-private.h | 5 +++-- + clutter/cogl/cogl/cogl-material.c | 1 + + clutter/cogl/cogl/cogl-primitives.h | 3 --- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 1 + + clutter/cogl/cogl/cogl-texture-2d.c | 1 + + clutter/cogl/cogl/cogl-vertex-buffer.c | 1 + + clutter/cogl/cogl/driver/gl/cogl-program.c | 1 + + 9 files changed, 10 insertions(+), 5 deletions(-) + +commit 7edcbaa1f9444848fcaac052557f7c444e3905e0 +Author: Robert Bragg +Date: Wed Feb 10 01:57:32 2010 +0000 + + cogl: improves header and coding style consistency + + We've had complaints that our Cogl code/headers are a bit "special" so + this is a first pass at tidying things up by giving them some + consistency. These changes are all consistent with how new code in Cogl + is being written, but the style isn't consistently applied across all + code yet. + + There are two parts to this patch; but since each one required a large + amount of effort to maintain tidy indenting it made sense to combine the + changes to reduce the time spent re indenting the same lines. + + The first change is to use a consistent style for declaring function + prototypes in headers. Cogl headers now consistently use this style for + prototypes: + + return_type + cogl_function_name (CoglType arg0, + CoglType arg1); + + Not everyone likes this style, but it seems that most of the currently + active Cogl developers agree on it. + + The second change is to constrain the use of redundant glib data types + in Cogl. Uses of gint, guint, gfloat, glong, gulong and gchar have all + been replaced with int, unsigned int, float, long, unsigned long and char + respectively. When talking about pixel data; use of guchar has been + replaced with guint8, otherwise unsigned char can be used. + + The glib types that we continue to use for portability are gboolean, + gint{8,16,32,64}, guint{8,16,32,64} and gsize. + + The general intention is that Cogl should look palatable to the widest + range of C programmers including those outside the Gnome community so + - especially for the public API - we want to minimize the number of + foreign looking typedefs. + + clutter/cogl/cogl/cogl-atlas-texture.c | 52 ++-- + clutter/cogl/cogl/cogl-atlas.c | 22 +- + clutter/cogl/cogl/cogl-atlas.h | 18 +- + clutter/cogl/cogl/cogl-bitmap-fallback.c | 82 +++--- + clutter/cogl/cogl/cogl-bitmap-pixbuf.c | 60 ++-- + clutter/cogl/cogl/cogl-bitmap-private.h | 30 +- + clutter/cogl/cogl/cogl-bitmap.c | 34 +-- + clutter/cogl/cogl/cogl-bitmap.h | 15 +- + clutter/cogl/cogl/cogl-blend-string.c | 12 +- + clutter/cogl/cogl/cogl-blend-string.h | 4 +- + clutter/cogl/cogl/cogl-buffer-private.h | 14 +- + clutter/cogl/cogl/cogl-buffer.c | 8 +- + clutter/cogl/cogl/cogl-buffer.h | 26 +- + clutter/cogl/cogl/cogl-clip-stack.c | 16 +- + clutter/cogl/cogl/cogl-clip-stack.h | 14 +- + clutter/cogl/cogl/cogl-color.h | 75 +++-- + clutter/cogl/cogl/cogl-context.c | 2 +- + clutter/cogl/cogl/cogl-context.h | 10 +- + clutter/cogl/cogl/cogl-debug.c | 8 +- + clutter/cogl/cogl/cogl-debug.h | 4 +- + clutter/cogl/cogl/cogl-feature-private.c | 19 +- + clutter/cogl/cogl/cogl-feature-private.h | 14 +- + clutter/cogl/cogl/cogl-fixed.c | 24 +- + clutter/cogl/cogl/cogl-fixed.h | 72 +++-- + clutter/cogl/cogl/cogl-handle.h | 2 +- + clutter/cogl/cogl/cogl-internal.h | 32 ++- + clutter/cogl/cogl/cogl-journal.c | 26 +- + clutter/cogl/cogl/cogl-material-private.h | 67 +++-- + clutter/cogl/cogl/cogl-material.c | 22 +- + clutter/cogl/cogl/cogl-material.h | 175 +++++++----- + clutter/cogl/cogl/cogl-matrix.h | 110 ++++---- + clutter/cogl/cogl/cogl-path.h | 138 +++++---- + clutter/cogl/cogl/cogl-pixel-buffer-private.h | 9 +- + clutter/cogl/cogl/cogl-pixel-buffer.c | 53 ++-- + clutter/cogl/cogl/cogl-pixel-buffer.h | 46 +-- + clutter/cogl/cogl/cogl-primitives.c | 48 ++-- + clutter/cogl/cogl/cogl-primitives.h | 13 +- + clutter/cogl/cogl/cogl-shader.h | 96 ++++--- + clutter/cogl/cogl/cogl-sub-texture-private.h | 14 +- + clutter/cogl/cogl/cogl-sub-texture.c | 70 ++--- + clutter/cogl/cogl/cogl-texture-2d-private.h | 4 +- + clutter/cogl/cogl/cogl-texture-2d-sliced-private.h | 6 +- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 163 +++++------ + clutter/cogl/cogl/cogl-texture-2d.c | 34 +-- + clutter/cogl/cogl/cogl-texture-private.h | 6 +- + clutter/cogl/cogl/cogl-texture.c | 106 +++---- + clutter/cogl/cogl/cogl-texture.h | 220 ++++++++------- + clutter/cogl/cogl/cogl-types.h | 15 +- + clutter/cogl/cogl/cogl-util.c | 30 +- + clutter/cogl/cogl/cogl-vertex-buffer-private.h | 2 +- + clutter/cogl/cogl/cogl-vertex-buffer.c | 18 +- + clutter/cogl/cogl/cogl-vertex-buffer.h | 6 +- + clutter/cogl/cogl/cogl.c | 52 ++-- + clutter/cogl/cogl/cogl.h | 310 +++++++++++++-------- + clutter/cogl/cogl/driver/gl/cogl-program.c | 18 +- + clutter/cogl/cogl/driver/gl/cogl-shader.c | 2 +- + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 2 +- + clutter/cogl/cogl/driver/gl/cogl.c | 8 +- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 6 +- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 12 +- + clutter/cogl/cogl/driver/gles/cogl-program.c | 42 +-- + clutter/cogl/cogl/driver/gles/cogl-shader.c | 4 +- + .../cogl/cogl/driver/gles/cogl-texture-driver.c | 4 +- + clutter/cogl/doc/CODING_STYLE | 49 ++++ + 64 files changed, 1491 insertions(+), 1184 deletions(-) + +commit 8c9472bc4c0350bc28f6ca152e82a0a507063d19 +Author: Robert Bragg +Date: Fri Feb 5 16:32:19 2010 +0000 + + cogl: deprecates cogl_check_extension + + OpenGL is an implementation detail for Cogl so it's not appropriate to + expose OpenGL extensions through the Cogl API. + + Note: Clutter is currently still using this API, because it is still + doing raw GL calls in ClutterGLXTexturePixmap, so this introduces a + couple of (legitimate) build warnings while compiling Clutter. + + clutter/cogl/cogl/cogl-feature-private.c | 4 ++-- + clutter/cogl/cogl/cogl-internal.h | 1 + + clutter/cogl/cogl/cogl.c | 32 ++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl.h | 11 ++++++++++- + clutter/cogl/cogl/driver/gl/cogl.c | 31 +++---------------------------- + clutter/cogl/cogl/driver/gles/cogl.c | 25 ------------------------- + clutter/glx/clutter-backend-glx.c | 6 +++--- + clutter/glx/clutter-glx-texture-pixmap.c | 5 +++-- + 8 files changed, 54 insertions(+), 61 deletions(-) + +commit b898f0e227aeabeb0513d1228a8f432c467d95b9 +Author: Robert Bragg +Date: Tue Feb 9 19:34:32 2010 +0000 + + never presume queuing redraws on invisible actors is redundant + + This replaces code like this: + if (CLUTTER_ACTOR_IS_VISIBLE (self)) + clutter_actor_queue_redraw (self); + with: + clutter_actor_queue_redraw (self); + + clutter_actor_queue_redraw internally knows what can be optimized when + the actor is not visible, but it also knows that the queue_redraw signal + must always be sent in case a ClutterClone is cloning a hidden actor. + + clutter/clutter-actor.c | 11 ++++------- + clutter/clutter-group.c | 12 ++++-------- + clutter/clutter-rectangle.c | 9 +++------ + clutter/clutter-stage.c | 8 +++----- + clutter/clutter-text.c | 30 ++++++++++-------------------- + clutter/clutter-texture.c | 9 +++------ + 6 files changed, 27 insertions(+), 52 deletions(-) + +commit bfb271b40332240f40c79dabf8f78f7a68293286 +Author: Robert Bragg +Date: Tue Feb 9 19:19:44 2010 +0000 + + box: port a ClutterGroup::foreach fix to ClutterBox + + ClutterGroup::foreach was recently changed (ref: ce030a3fce) to use + g_list_foreach() to iterate the children instead of manually iterating + the list so it would safely handle calls like: + + clutter_container_foreach (container, clutter_actor_destroy); + + (In this example clutter_actor_destroy will result in the current + list item being iterated being freed.) + + clutter/clutter-box.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 60a4664d6e4f67b5e527cc2ecd190a538ed994ec +Author: Robert Bragg +Date: Tue Feb 9 19:06:59 2010 +0000 + + box: Adds missing copyright header + + Adds a Copyright (C) 2009,2010 Intel Corporation header + + clutter/clutter-box.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit 4355621aebb075bc34b50a89f8ba99e8b8e12ff7 +Author: Robert Bragg +Date: Tue Feb 9 18:54:28 2010 +0000 + + group: make it comparable to ClutterBox + + There is a lot of duplication between ClutterGroup and ClutterBox so + this makes the two files diff-able so that new fixes can easily be + ported to both and bug fixes missing in one or the other can be spotted + more easily. This doesn't change the behaviour of either actor; it's + really just a shuffle around of code and normalizes the coding style to + make the files comparable. + + This has already uncovered one bug in ClutterBox, and also highlights + a bug in ClutterGroup + many other actors: + + 1) ClutterGroup::real_foreach was recently changed to use + g_list_foreach instead of manually iterating the child list so it can + safely handle calls like: + clutter_container_foreach (container, clutter_actor_destroy); + ClutterBox is still manually iterating the list. + + 2) In ClutterGroup we guard _queue_redraw() calls like this: + if (CLUTTER_ACTOR_IS_VISIBLE (container)) + clutter_actor_queue_redraw (CLUTTER_ACTOR (container)); + In ClutterBox we don't: + I think ClutterBox is correct here because + clutter_actor_queue_redraw already optimizes the case where the + actor's not visible, but it also considers that the actor may be + cloned and so the guard in ClutterGroup could break clones. This + actually highlights a wider clutter bug since the same kinds of + guards can be found in all other clutter actors. + + clutter/clutter-box.c | 1 - + clutter/clutter-group.c | 366 ++++++++++++++++++++++-------------------------- + 2 files changed, 167 insertions(+), 200 deletions(-) + +commit 34c7611407154fcbb61c82c959c2a38972c2534f +Author: Emmanuele Bassi +Date: Fri Feb 12 11:38:47 2010 +0000 + + docs: Update the backend HACKING file + + Clarify the Backend::create_context() vfunc role, and the + Stage::realize() vfunc with regards to creating the GL/GLES + context. + + doc/HACKING.backends | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 44818a48273baa7dabfbb9370ac218ae8b0cf38e +Author: Neil Roberts +Date: Thu Feb 11 14:20:48 2010 +0000 + + cogl: Add a fallback for when the signbit macro is missing + + The signbit macro is defined in C99 so it should be available but some + versions of GCC don't appear to define it by default. If it's not + available we can use a hack to test the bit directly. + + clutter/cogl/cogl/cogl-sub-texture.c | 2 +- + clutter/cogl/cogl/cogl-texture-2d.c | 2 +- + clutter/cogl/cogl/cogl-util.h | 27 ++++++++++++++++++++++++++- + 3 files changed, 28 insertions(+), 3 deletions(-) + +commit 59463c2213b79a553d3d7999bb56106fb7c5a4ad +Author: Emmanuele Bassi +Date: Wed Feb 10 17:20:31 2010 +0000 + + Do a sanity check on _clutter_do_pick() arguments + + We should check that the passed ClutterStage pointer is indeed: a) still + valid and b) a Stage. + + clutter/clutter-main.c | 1 + + 1 file changed, 1 insertion(+) + +commit d0734bc4741d77e7c239cf860b73b49e9564aa91 +Author: Emmanuele Bassi +Date: Wed Feb 10 17:12:27 2010 +0000 + + input-device: Do not pick() on NULL stages + + If the stage associated to the InputDevice is not set we should + short-circuit out and return NULL. This will result in a pick() + done on the event's stage - if applicable. + + http://bugzilla.moblin.org/show_bug.cgi?id=9602 + + clutter/clutter-input-device.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 4208169ab48795ca8f10287bd67031e161bf1f82 +Author: Emmanuele Bassi +Date: Wed Feb 10 15:38:41 2010 +0000 + + text: Bump up the preferred height + + Instead of returning a sub-pixel height round up the preferred height to + the nearest integral value that is not less than the size reported by + Pango, once converted in pixels. + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f54b29a0c0c182f1396abd9df7d46d99b81a133d +Author: Emmanuele Bassi +Date: Wed Feb 10 15:38:07 2010 +0000 + + test-text-field: Tone down the border + + Use a low opacity for the text field border. + + tests/interactive/test-text-field.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2670fc58710b1d9d1ad5afae7b6ac397e1dc54dd +Author: Emmanuele Bassi +Date: Wed Feb 10 15:37:26 2010 +0000 + + test-text-field: Use ActorBox methods for the border + + Clamp to pixel and use get_size() when painting the border of the text + field. + + tests/interactive/test-text-field.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 3fdb0a59509aeaeb07c276ebd09df355626cfb92 +Author: Robert Bragg +Date: Wed Feb 10 11:57:58 2010 +0000 + + uprof: make the Redrawing timer a child of the Master Clock + + Previously it was a child of the Mainloop, but it's more closely + a child of the Master Clock. + + clutter/clutter-backend.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1899dbdc270e0bd494d174dd6bfbb9c5d18e174f +Author: Robert Bragg +Date: Wed Feb 10 12:18:41 2010 +0000 + + backend-glx: Fix glXQueryVersion test + + This fixes some backwards logic for asserting that we have a GLX major + version == 1 and a minor version >= 2. (NB: Although we technically + depend on GLX 1.3 features, we still have to support drivers that report + GLX 1.2 because there are a lot of mesa drivers out there incorrectly + report GLX 1.2 even though they export extensions that depend on GLX + 1.3) + + clutter/glx/clutter-backend-glx.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ce1bb3d858fd02d6bcfb94b2b8999cfd7d0a4535 +Author: Neil Roberts +Date: Wed Feb 10 12:41:09 2010 +0000 + + cogl-material: Layers are not equal if the filters aren't equal + + A material layer can not be considered equal if it is using different + texture filtering modes. This was causing problems where rectangles + with different filters would end up batched together and then rendered + with the wrong filter mode. + + clutter/cogl/cogl/cogl-material.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit b61c2b510b5f5a72ae6181cdce646d7018fbd996 +Author: Emmanuele Bassi +Date: Wed Feb 10 10:58:14 2010 +0000 + + build: Tweak internal defines for building Clutter + + When building Clutter we should: + + • disable Cogl deprecated API; + • enable experimental API. + + clutter/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4a9f08639f7127719f5b59ee9287641ba4912063 +Author: Robert Bragg +Date: Wed Jan 20 18:53:36 2010 +0000 + + debug: Adds CLUTTER_DEBUG=disable-swap-events option + + This allows us to forcibly disable the use of the GLX_INTEL_swap_events + extension for testing or debugging purposes. + + clutter/clutter-debug.h | 37 +++++++++++++++++++------------------ + clutter/clutter-main.c | 3 ++- + clutter/glx/clutter-backend-glx.c | 3 ++- + 3 files changed, 23 insertions(+), 20 deletions(-) + +commit 5d702853b814445590aafe448bfc8f7993b06638 +Author: Robert Bragg +Date: Thu Nov 12 20:37:01 2009 +0000 + + glx backend: Adds support for GLX_INTEL_swap_event + + If your OpenGL driver supports GLX_INTEL_swap_event that means when + glXSwapBuffers is called it returns immediatly and an XEvent is sent when + the actual swap has finished. + + Clutter can use the events that notify swap completion as a means to + throttle rendering in the master clock without blocking the CPU and so it + should help improve the performance of CPU bound applications. + + clutter/clutter-feature.h | 3 +- + clutter/clutter-master-clock.c | 72 +++++++++++++++++++++++++---- + clutter/clutter-private.h | 2 + + clutter/clutter-stage-window.c | 13 ++++++ + clutter/clutter-stage-window.h | 3 ++ + clutter/clutter-stage.c | 8 ++++ + clutter/glx/Makefile.am | 2 + + clutter/glx/clutter-backend-glx.c | 56 ++++++++++++++++++----- + clutter/glx/clutter-backend-glx.h | 3 ++ + clutter/glx/clutter-event-glx.c | 96 +++++++++++++++++++++++++++++++++++++++ + clutter/glx/clutter-event-glx.h | 38 ++++++++++++++++ + clutter/glx/clutter-stage-glx.c | 21 +++++++++ + clutter/glx/clutter-stage-glx.h | 2 + + clutter/x11/clutter-backend-x11.c | 10 ++++ + clutter/x11/clutter-backend-x11.h | 7 +++ + clutter/x11/clutter-event-x11.c | 5 ++ + doc/HACKING.backends | 8 ++++ + 17 files changed, 327 insertions(+), 22 deletions(-) + +commit 848db1ee4cc910542435bbcd3a57933bdf70269e +Author: Robert Bragg +Date: Thu Jan 14 14:03:23 2010 +0000 + + glx backend: when running with GLX 1.3 then create GLXWindows for stages + + Some extensions only support GLX versions > 1.3 and may not support + old style X Windows as GLXDrawables, so we now create GLXWindows for + stages when possible. + + clutter/glx/clutter-backend-glx.c | 72 ++++++++++++++++++++++++++++++--------- + clutter/glx/clutter-backend-glx.h | 1 + + clutter/glx/clutter-stage-glx.c | 28 +++++++++++++++ + clutter/glx/clutter-stage-glx.h | 1 + + 4 files changed, 86 insertions(+), 16 deletions(-) + +commit ca3ab41a1b12f661fe6eecddfaf5e03b0d94d682 +Author: Neil Roberts +Date: Tue Feb 9 18:33:09 2010 +0000 + + clutter-backend: Fix the error check in _clutter_backend_create_stage + + Commit d2bdd3cb62 fixed some compiler warnings but also broke the + ability to create a stage. Although not having warnings from the + compiler is nice, it is also nice to be able to create a stage so lets + not invert the meaning of the error check. + + clutter/clutter-backend.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7b1925df82fa92fd68623c9a999ece6bf4ddfde3 +Author: Emmanuele Bassi +Date: Tue Feb 9 17:07:08 2010 +0000 + + cogl: Move material_copy() out of the deprecated section + + We strongly suggest people should be using cogl_material_copy(), but it + was hidden behind the deprecation guards. + + clutter/cogl/cogl/cogl-material.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit d2bdd3cb62c1cba24619ae843cf087709a02643d +Author: Emmanuele Bassi +Date: Tue Feb 9 16:57:14 2010 +0000 + + Fix some compiler warnings + + GCC complains that some variable might be used uninitialized. + + clutter/clutter-backend.c | 6 ++++-- + clutter/clutter-bin-layout.c | 1 + + clutter/clutter-flow-layout.c | 6 ++++++ + clutter/clutter-text.c | 6 ++---- + clutter/cogl/cogl/cogl-matrix-stack.c | 6 +++++- + 5 files changed, 18 insertions(+), 7 deletions(-) + +commit 193c477495488446d2f3d8ab0184f882f3255f48 +Author: Neil Roberts +Date: Tue Feb 9 16:30:28 2010 +0000 + + cogl-bitmap: Remove const from premult_alpha_last_four_pixels_sse2 + + The function modifies the pixels pointed by p in-place so the pointer + can not be constant. The compiler was accepting this because the + modification is done from inline assembler. + + clutter/cogl/cogl/cogl-bitmap-fallback.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f5d2f58b03bf03b69f6cb92b3bdddb92b8a8ecc2 +Author: Emmanuele Bassi +Date: Tue Feb 9 15:29:29 2010 +0000 + + docs: Clean up the unused symbols for Cogl + + Gtk-doc is reporting a lot of false positives in the unused text file, + mostly because of new private files that have been added to Cogl but not + to the gtk-doc ignore list for the Cogl API reference. + + Once the false positives have been removed we have a couple of really + missing symbols that should be added to the cogl-sections.txt file. + + doc/reference/cogl/Makefile.am | 54 ++++++++++++++++++++---------------- + doc/reference/cogl/cogl-sections.txt | 7 +++++ + 2 files changed, 37 insertions(+), 24 deletions(-) + +commit ecc5ffe91ace38c9d288251807e721a4cd71b052 +Author: Bastian Winkler +Date: Tue Feb 9 15:19:03 2010 +0100 + + cogl-buffer: Use correct argument types in cogl_buffer_set_data_EXP + + offset and size arguments are gsize in cogl-buffer.h + + http://bugzilla.openedhand.com/show_bug.cgi?id=1980 + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/cogl/cogl-buffer.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 9aac36b47e43e95d12c8d28bd3671e6f5e000d32 +Author: Emmanuele Bassi +Date: Tue Feb 9 14:48:11 2010 +0000 + + docs: Move some Cogl defines in the private section + + The PixelFormat bit and mask #defines should not be used and are there + mostly for convenience, so we can push them to the "private" sub-section + of the API reference. + + This pushed Cogl's API reference coverage to 100%. + + doc/reference/cogl/cogl-sections.txt | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 7ebb1e7157ab5d3efbeb37d7879d851adc7da40e +Author: Emmanuele Bassi +Date: Tue Feb 9 14:41:37 2010 +0000 + + docs: Fixes for Cogl API reference + + 98% symbol docs coverage. + 335 symbols documented. + 0 symbols incomplete. + 8 not documented. + + Not bad, if I may say so. + + clutter/cogl/cogl/cogl-buffer.h | 12 ++++++--- + clutter/cogl/cogl/cogl-color.h | 41 +++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-fixed.h | 2 +- + clutter/cogl/cogl/cogl-material-private.h | 2 +- + clutter/cogl/cogl/cogl-matrix.h | 3 ++- + clutter/cogl/cogl/cogl-types.h | 23 ++++++++++++++++- + doc/reference/cogl/cogl-sections.txt | 16 +++--------- + 7 files changed, 80 insertions(+), 19 deletions(-) + +commit 1d28ed035f360b14cfbf5b01db4ffe2979172cf0 +Author: Emmanuele Bassi +Date: Tue Feb 9 13:39:08 2010 +0000 + + Post-release bump to 1.1.11 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a24d4d21a0eeca771476705ef407d55fdb32e68f +Author: Emmanuele Bassi +Date: Tue Feb 9 12:31:42 2010 +0000 + + Release 1.1.10 + + Brown paper bag release. + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 738e73873dd0c05a44f7cb0ad40c8a854e0c75a6 +Author: Emmanuele Bassi +Date: Tue Feb 9 12:59:18 2010 +0000 + + Update NEWS file + + NEWS | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +commit cccf23caa481a239b747d1fdd5e0ca5ae7f6682c +Author: Emmanuele Bassi +Date: Tue Feb 9 11:29:39 2010 +0000 + + build: Always build conformance tests with debug symbols + + Having the conformance test suite build without debug symbols doesn't + make any sense. + + tests/conform/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e46db37c03b6adae1594729c2c5c86e65701d95b +Author: Robert Bragg +Date: Tue Feb 9 13:00:39 2010 +0000 + + conform: fix stack corruption in test-behaviours.c + + The test was calling g_object_get to fetch the "opacity-start" property + (unsigned int) into a guint8 local variable. It's a bit of a mean trap + given that the getter function returns guint8 values so this also adds a + comment explaining what's going on. + + tests/conform/test-behaviours.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit a02253f19a722dcfbf0a32543dd563127dd7b80e +Author: Neil Roberts +Date: Tue Feb 9 12:21:10 2010 +0000 + + cogl-texture-2d: Use _cogl_texture_driver_gen to generate the GL tex + + _cogl_texture_driver_gen is needed to set the texture minification + mode to Cogl's default of GL_LINEAR. There was also a line to set this + in _cogl_texture_2d_new_with_size but it wasn't working because it was + called *before* the texture was bound. If the texture was later + rendered with the default material it then it would end up with GL's + default mipmap filtering mode but without mipmaps so it would render + white squares instead. + + clutter/cogl/cogl/cogl-texture-2d.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 1b2ff7eff7e97d8542e35514bfa010be706973ee +Author: Neil Roberts +Date: Fri Dec 18 21:17:21 2009 +0000 + + cogl: Use SSE2 when possible for premultiplying + + This adds a fast path for premultiplying an RGBA image using SSE2 + instructions. SSE registers are 128-bit and we need at least 16-bits + per component for the intermediate result of the multiplication so we + can do two pixels in parallel with one register. The function + interleaves 2 SSE registers to multiply 4 pixels in one function call + with the hope that this will pipeline better. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1939 + Signed-off-by: Emmanuele Bassi + + clutter/cogl/cogl/cogl-bitmap-fallback.c | 104 ++++++++++++++++++++++++++++++- + 1 file changed, 103 insertions(+), 1 deletion(-) + +commit bbb058df40a5e1acf7b8e42049c3cd5d966f762d +Author: Emmanuele Bassi +Date: Tue Feb 9 10:34:41 2010 +0000 + + actor: Improve readability of raise/lower warnings + + • Add the function name in the warning, since the text is the same in + both clutter_actor_raise() and clutter_actor_lower(). + + • If an actor has a name then prefer it to the type name. + + clutter/clutter-actor.c | 46 +++++++++++++++++++++++++++++----------------- + 1 file changed, 29 insertions(+), 17 deletions(-) + +commit 7664568fff63501339d2cb1682ae1a9f1c27e068 +Author: Halton Huo +Date: Tue Feb 9 10:21:37 2010 +0000 + + Remove return from void functions + + This patch fixes compilation on suncc. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1978 + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/cogl/cogl-buffer.c | 2 +- + clutter/cogl/cogl/cogl-sub-texture.c | 2 +- + clutter/cogl/cogl/cogl-texture.c | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +commit a23ce8606860075e35fca28eb82e57e340f2b9b9 +Author: Emmanuele Bassi +Date: Mon Feb 8 18:09:14 2010 +0000 + + Post-release bump to 1.1.9 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a2889ed0772503dce504ab260fbbf662a0ad25d8 +Author: Emmanuele Bassi +Date: Mon Feb 8 17:57:48 2010 +0000 + + Release Clutter 1.1.8 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a139bf9c40f88b46055e4cd9754ba51acca97c87 +Author: Emmanuele Bassi +Date: Mon Feb 8 17:56:35 2010 +0000 + + test-animator: Do not use mid-function blocks + + The test_animator_properties unit is so small that declaring a + mid-function block for two variables is not that clever. + + tests/conform/test-animator.c | 57 +++++++++++++++++++++---------------------- + 1 file changed, 28 insertions(+), 29 deletions(-) + +commit 4d9327bbe14c2771896999844df3eac28da75347 +Author: Emmanuele Bassi +Date: Mon Feb 8 17:55:29 2010 +0000 + + animator: Zero the AnimatorKey:value member + + The test suite is showing random segfaults because the GValue member of + AnimatorKey is not zero-ed on creation. + + clutter/clutter-animator.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit d62ddc374f88448fbde6db11ed4b10a594ecc5c4 +Author: Emmanuele Bassi +Date: Mon Feb 8 17:37:00 2010 +0000 + + docs: Fixes for ClutterAnimator + + clutter/clutter-animator.c | 2 +- + clutter/clutter-animator.h | 16 ++++++++-------- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 10 insertions(+), 9 deletions(-) + +commit 9806f78905eea6e7c3b5b1f35b35650a823cb295 +Author: Emmanuele Bassi +Date: Mon Feb 8 17:34:11 2010 +0000 + + Merge me + + NEWS | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 814d3acd0730f2e418ccc44d550e1fa369c142fe +Author: Emmanuele Bassi +Date: Mon Feb 8 17:27:20 2010 +0000 + + docs: Update NEWS + + NEWS | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 53 insertions(+) + +commit 419afc01e8f2c96f7cf5c0962e5c421f8f3a476f +Author: Emmanuele Bassi +Date: Mon Feb 8 17:27:13 2010 +0000 + + docs: Update the release notes + + README | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit c02dded0f6793ad377b566360371c23dbe61b4bc +Author: Damien Lespiau +Date: Mon Feb 8 17:11:43 2010 +0000 + + cogl-buffer: Use TEXTURE as the only value for CoglBufferUsageHint + + We should try to use more explicit defines than GL for our hints. For + now we only support using a CoglBuffer to generate textures. + + clutter/cogl/cogl/cogl-buffer.c | 38 ++++++++-------------------------- + clutter/cogl/cogl/cogl-buffer.h | 12 +++-------- + clutter/cogl/cogl/cogl-pixel-buffer.c | 2 +- + tests/conform/test-cogl-pixel-buffer.c | 12 +++++------ + 4 files changed, 19 insertions(+), 45 deletions(-) + +commit 54a6df22b038b047931dc108df35bc9e097d4e5e +Author: Damien Lespiau +Date: Tue Feb 2 16:44:16 2010 +0000 + + cogl-buffer: make sure the code compiles on GL ES + + OpenGL ES has no PBO extension, so we fallback to using a malloc'ed + buffer. Make sure the OpenGL-only defines don't leak into the OpenGL ES + compilation. + + clutter/cogl/cogl/cogl-buffer.c | 28 ++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-pixel-buffer.c | 7 +++++++ + clutter/cogl/cogl/cogl-texture.c | 5 ++++- + 3 files changed, 39 insertions(+), 1 deletion(-) + +commit d0fe4795368ddc55411fb081832bfcdfdfeb4314 +Author: Damien Lespiau +Date: Tue Feb 2 12:59:51 2010 +0000 + + cogl-pixel-buffer: Add a fallback path + + First, let's add a new public feature called, surprisingly, + COGL_FEATURE_PBOS to check the availability of PBOs and provide a + fallback path when running on older GL implementations or on OpenGL ES + + In case the underlying OpenGL implementation does not provide PBOs, we + need a fallback path (a malloc'ed buffer). The CoglPixelBufer + constructors will instanciate a subclass of CoglBuffer that handles + map/unmap and set_data() with a malloc'ed buffer. + + The public feature is useful to check before using set_data() on a + buffer as it will mean doing a memcpy() when not supporting PBOs (in + that case, it's better to create the texture directly instead of using a + CoglBuffer). + + clutter/cogl/cogl/cogl-pixel-buffer.c | 56 ++++++++++++++++++++-- + clutter/cogl/cogl/cogl-texture.c | 38 ++++++++++----- + clutter/cogl/cogl/cogl-types.h | 4 +- + .../cogl/cogl/driver/gl/cogl-feature-functions.h | 5 ++ + 4 files changed, 88 insertions(+), 15 deletions(-) + +commit b5d5821304e8ca15ee4411bf7ff8f26a6a23c855 +Author: Damien Lespiau +Date: Fri Jan 22 15:38:31 2010 +0000 + + tests: Add a test for CoglPixelBuffers + + Exercise the whole public CoglBuffer / CoglPixelBuffer and + cogl_texture_new_from_buffer API. + + .gitignore | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-pixel-buffer.c | 337 +++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 3 + + 4 files changed, 342 insertions(+) + +commit b7f049495b527547d093ca337588ceb289c9cb2b +Author: Damien Lespiau +Date: Fri Jan 22 15:07:27 2010 +0000 + + cogl-texture: Add a new constructor to turn CoglBuffers into textures + + The only goal of using COGL buffers is to use them to create + textures. cogl_texture_new_from_buffer() is the new symbol to create + textures out of buffers. + + clutter/cogl/cogl/cogl-texture.c | 55 +++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-texture.h | 60 ++++++++++++++++++++++++++++++++++++ + doc/reference/cogl/cogl-sections.txt | 3 ++ + 3 files changed, 118 insertions(+) + +commit abbb668163537598790cb3eca564ea19b1e010ad +Author: Damien Lespiau +Date: Sun Jan 10 18:04:29 2010 +0000 + + cogl-pixel-buffer: add a pixel buffer object class + + This subclass of CoglBuffer aims at wrapping PBOs or other system + surfaces like DRM buffer objects. Two constructors are available: + + cogl_pixel_buffer_new() with a size when you only care about the size of + the buffer (such a buffer can be used to store several texture data such + as the three planes of a I420 frame). + + cogl_pixel_buffer_new_full() is more a 1:1 mapping between the data and + an underlying surface, with the possibility of having access to a low + level memory buffer that may have a stride. + + clutter/cogl/cogl/Makefile.am | 3 + + clutter/cogl/cogl/cogl-pixel-buffer-private.h | 72 ++++++ + clutter/cogl/cogl/cogl-pixel-buffer.c | 317 ++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-pixel-buffer.h | 165 ++++++++++++++ + clutter/cogl/cogl/cogl.h | 1 + + doc/reference/cogl/cogl-sections.txt | 6 + + 6 files changed, 564 insertions(+) + +commit b5e9710cdf5795f532fe46b9dfcc704a07d99ac9 +Author: Damien Lespiau +Date: Sun Jan 10 17:28:24 2010 +0000 + + cogl-buffer: add an abstract class around openGL's buffer objects + + Buffer objects are cool! This abstracts the buffer API first introduced + by GL_ARB_vertex_buffer_object and then extended to other objects. + + The coglBuffer abstract class is intended to be the base class of all + the buffer objects, letting the user map() buffers. If the underlying + implementation does not support buffer objects (or only support VBO but + not FBO for instance), fallback paths should be provided. + + clutter/cogl/cogl/Makefile.am | 3 + + clutter/cogl/cogl/cogl-buffer-private.h | 102 ++++++++++++ + clutter/cogl/cogl/cogl-buffer.c | 282 +++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-buffer.h | 287 ++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-context.c | 2 + + clutter/cogl/cogl/cogl-context.h | 5 + + clutter/cogl/cogl/cogl.h | 4 + + doc/reference/cogl/cogl-docs.xml.in | 21 +++ + doc/reference/cogl/cogl-sections.txt | 17 ++ + 9 files changed, 723 insertions(+) + +commit de8a6314f12854e748de515afb487af56eaac845 +Author: Damien Lespiau +Date: Mon Jan 25 11:21:05 2010 +0000 + + cogl: new textures sould have GL_TEXTURE_MIN_FILTER set to GL_LINEAR + + The only way the user has to set the mipmap filters is through the + material/layer API. This API defaults to GL_LINEAR/GL_LINEAR for the max + and min filters. With the main use case of cogl being 2D interfaces, it + makes sense do default to GL_LINEAR for the min filter. + + When creating new textures, we did not set any filter on them, using + OpenGL defaults': GL_NEAREST_MIPMAP_LINEAR for the min filter and + GL_LINEAR for the max filter. This will make the driver allocate memory + for the mipmap tree, memory that will not be used in the nominal case + (as the material API defaults to GL_LINEAR). + + This patch tries to ensure that the min filter is set to GL_LINEAR + before any glTexImage*() call is done on the texture by setting the + filter when generating new OpenGL handles. + + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 9 ++++---- + clutter/cogl/cogl/cogl-texture-2d.c | 9 ++++---- + clutter/cogl/cogl/cogl-texture-driver.h | 9 ++++++++ + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 27 ++++++++++++++++++++++ + .../cogl/cogl/driver/gles/cogl-texture-driver.c | 27 ++++++++++++++++++++++ + 5 files changed, 72 insertions(+), 9 deletions(-) + +commit c0f65212baee25dd4e66f4366a54bd847c782eb3 +Author: Damien Lespiau +Date: Mon Jan 11 00:15:25 2010 +0000 + + cogl: Introduce the GE_RET() debug macro + + Some GL functions have a return value that the GE() macro is not able to + handle. Let's define a new Ge_RET() macro which will be able to handle + functions such as glMapBuffer(). + + While at it, removed the unused variadic dots to the GE() macro. + + clutter/cogl/cogl/cogl-internal.h | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit 069ba6daf9d39b471eb5c1de6e621f1343d5f00c +Merge: cc6aefad3 6ab90899b +Author: Emmanuele Bassi +Date: Mon Feb 8 16:53:11 2010 +0000 + + Merge branch 'animator-parser' + + * animator-parser: + docs: Describe the Animation definition syntax + animator: Provide a ClutterScript parser + animator: Allow retrieving type property type from a key + script: Use a node when resolving an animation mode + +commit 6ab90899badf7820ffc4f40f23bf18c979762577 +Author: Emmanuele Bassi +Date: Mon Feb 8 16:50:29 2010 +0000 + + docs: Describe the Animation definition syntax + + The ClutterAnimator documentation needs a section on the syntax of its + ClutterScript definition, possibly with an example. + + clutter/clutter-animator.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 59 insertions(+) + +commit 4dd11d6915f75ba62b8292c3138d4cc11a28fb21 +Author: Emmanuele Bassi +Date: Mon Feb 8 15:52:18 2010 +0000 + + animator: Provide a ClutterScript parser + + The whole point of having the Animator class is that the developer can + describe a complex animation using ClutterScript. Hence, ClutterAnimator + should hook into the Script machinery and parse a specific description + format for its keys. + + .gitignore | 2 + + clutter/clutter-animator.c | 303 +++++++++++++++++++++++++++++++++++--- + tests/conform/Makefile.am | 1 + + tests/conform/test-animator.c | 88 +++++++++++ + tests/conform/test-conform-main.c | 2 + + tests/data/Makefile.am | 2 + + tests/data/test-animator-1.json | 5 + + tests/data/test-animator-2.json | 29 ++++ + 8 files changed, 409 insertions(+), 23 deletions(-) + +commit 790a13c0d9d2249747cfb81dcb13f83c6cc2cec1 +Author: Emmanuele Bassi +Date: Mon Feb 8 15:47:46 2010 +0000 + + animator: Allow retrieving type property type from a key + + When asking a key for its target value we also ask the developer to pass + in an initialized GValue - but we don't make it easy to know the type of + the GValue. A developer has to ask the GObject class for the GParamSpec + and then initialize the GValue, instead. + + Since we know the type of the GValue we should provide a getter for it. + + We should also allow developers to throw at us GValue with compatible and + transformable types. + + Finally, all the accessors should be constified. + + clutter/clutter-animator.c | 93 +++++++++++++++++++++++++++++++++------------- + clutter/clutter-animator.h | 13 ++++--- + 2 files changed, 75 insertions(+), 31 deletions(-) + +commit 09f91ff6eab3d617be88e11bd17c226fa4d23aed +Author: Emmanuele Bassi +Date: Mon Feb 8 15:45:43 2010 +0000 + + script: Use a node when resolving an animation mode + + Instead of taking a string and duplicating the "is it a string or an + integer" check in both Alpha and Animation, the function in + ClutterScript that resolves the animation mode values should take a + JsonNode and do all the checks it needs. + + clutter/clutter-alpha.c | 21 +++++------------- + clutter/clutter-animation.c | 25 +++++---------------- + clutter/clutter-script-parser.c | 47 +++++++++++++++++++++++++--------------- + clutter/clutter-script-private.h | 2 +- + 4 files changed, 41 insertions(+), 54 deletions(-) + +commit cc6aefad345f4490f59f33eaef6f7589de1f3f9b +Author: Robert Bragg +Date: Thu Jan 14 18:11:57 2010 +0000 + + cogl path: make sure marking the clip state dirty takes affect + + When we trashed the contents of the stencil buffer during + _cogl_path_fill_nodes we marked the clip stack state as dirty and expected + the clip stack code would clean up our glStencilFunc state. + + The problem is that we only try and update the clip state during + _cogl_journal_init (when we flush the framebuffer state) which is only + called when the journal first gets something logged in it. + + To make sure the stencil state is cleaned up we now also flush the journal + so _cogl_journal_init will be called for the next logged rectangle. + + clutter/cogl/cogl/cogl-primitives.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 24338a7511cd09298695f0a0b51ea6a97fa6786a +Author: Neil Roberts +Date: Fri Feb 5 21:56:31 2010 +0000 + + clutter-master-clock: Don't wait for a frame if time goes backwards + + If we aren't syncing to vblank or if the last dispatch didn't cause a + redraw then the master clock will try to wait at least a small amount + of time before dispatching again. However if time goes backwards then + it would not do a dispatch until time catches up again. To fix this it + know just runs a dispatch immediately if time goes backwards. + + This is related to Moblin bug #3839. There was a similar fix for this + in 9dc012c07, however that only fixed the case where timelines + wouldn't update. If there are no animations running then the master + clock won't even try updating timelines until time catches up. + + http://bugzilla.o-hand.com/show_bug.cgi?id=1974 + + clutter/clutter-master-clock.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit 8ac27e60707b2dfd13ba978b81421423e37ebf98 +Author: Emmanuele Bassi +Date: Mon Feb 8 10:40:39 2010 +0000 + + test-flow-layout: Remove unneeded Stage sizing + + The bug with resizable stages getting a 1, 1 window on X11 has been + fixed by Chris. + + tests/interactive/test-flow-layout.c | 1 - + 1 file changed, 1 deletion(-) + +commit 6106010b6f20980fc51d1431b623567eed10853d +Merge: 4cc269a46 c82c94e62 +Author: Emmanuele Bassi +Date: Mon Feb 8 10:34:22 2010 +0000 + + Merge remote branch 'origin/cwiiis-stage-resize' + + * origin/cwiiis-stage-resize: + [stage-x11] Set the default size differently + [stage] Set default size correctly + Revert "[x11] Don't set actor size on ConfigureNotify" + [x11] Don't set actor size on ConfigureNotify + [stage] Now that get_geometry works, use it + [stage-x11] make get_geometry always get geometry + [stage] Get the current size correctly + [stage] Set minimum width/height to 1x1 + [stage] Add set/get_minumum_size + +commit 4cc269a4687f6ca4fcd88ada134cfa00e2b13a1a +Author: Øyvind Kolås +Date: Fri Feb 5 12:32:00 2010 +0000 + + Add ClutterAnimator + + ClutterAnimator is a class for managing the animation of multiple + properties of multiple actors over time with keyframing of values. + + The Animator class is meant to be used to effectively describe + animations using the ClutterScript definition format, and to construct + complex implicit animations from the ground up. + + Signed-off-by: Emmanuele Bassi + + .gitignore | 1 + + clutter/Makefile.am | 2 + + clutter/clutter-animator.c | 1435 ++++++++++++++++++++++++++++ + clutter/clutter-animator.h | 166 ++++ + clutter/clutter-types.h | 1 + + clutter/clutter.h | 1 + + doc/reference/clutter/clutter-docs.xml.in | 4 +- + doc/reference/clutter/clutter-sections.txt | 48 + + doc/reference/clutter/clutter.types | 1 + + tests/interactive/Makefile.am | 1 + + tests/interactive/test-animator.c | 134 +++ + 11 files changed, 1793 insertions(+), 1 deletion(-) + +commit c82c94e6205eda962faf5a51e663680c313be062 +Author: Chris Lord +Date: Sun Feb 7 19:17:43 2010 +0100 + + [stage-x11] Set the default size differently + + We want to set the default size without triggering the layout machinary, + so change the window creation process slightly so we start with a + 640x480 window. + + clutter/clutter-stage.c | 3 --- + clutter/glx/clutter-stage-glx.c | 4 +++- + clutter/x11/clutter-stage-x11.c | 4 ++-- + 3 files changed, 5 insertions(+), 6 deletions(-) + +commit b968defae92f3fbd5a4a762b4c817ab58989ee82 +Author: Chris Lord +Date: Sun Feb 7 14:18:14 2010 +0100 + + [stage] Set default size correctly + + Due to the way the new sizing works, clutter stage must set its size in + init (to maintain old behaviour) and the properties on the X11 stage + must be initialised to 1x1 so that it actually goes ahead with the + resize. + + Fixes stages that aren't user resizable and have no size set from + appearing at 1x1. + + clutter/clutter-stage.c | 3 +++ + clutter/x11/clutter-stage-x11.c | 4 ++-- + 2 files changed, 5 insertions(+), 2 deletions(-) + +commit 8083dc418b3c2b069a9b0db9323650050a3f63b1 +Author: Chris Lord +Date: Sat Feb 6 16:57:37 2010 +0100 + + Revert "[x11] Don't set actor size on ConfigureNotify" + + This reverts commit 29cc027f069c9ad900b9044cd40075c2d17be736. + + I misunderstood the problem, this commit breaks resizes coming from + outside of Clutter. + + clutter/x11/clutter-event-x11.c | 4 ++++ + clutter/x11/clutter-stage-x11.c | 5 +---- + clutter/x11/clutter-stage-x11.h | 1 - + 3 files changed, 5 insertions(+), 5 deletions(-) + +commit 29cc027f069c9ad900b9044cd40075c2d17be736 +Author: Chris Lord +Date: Sat Feb 6 16:47:22 2010 +0100 + + [x11] Don't set actor size on ConfigureNotify + + Calling clutter_actor_set_size in response to ConfigureNotify makes + setting the size of the stage racy - the most common result of which + seems to be that you can't set the stage dimensions to anything less + than 640x480. + + Instead, add a first_allocation bit to the private structure of the X11 + stage and force the first resize (necessary or the default stage will be + a 1x1 window). + + clutter/x11/clutter-event-x11.c | 4 ---- + clutter/x11/clutter-stage-x11.c | 5 ++++- + clutter/x11/clutter-stage-x11.h | 1 + + 3 files changed, 5 insertions(+), 5 deletions(-) + +commit cea9de7f047cb8c2b1d54f41ca1d77c3aff882e0 +Author: Chris Lord +Date: Sat Feb 6 15:41:01 2010 +0100 + + [stage] Now that get_geometry works, use it + + We want the actual window geometry in clutter_stage_set_minimum_size, + not the set size. Now that the geometry function has been changed to do + what it says, use it. + + clutter/clutter-stage.c | 14 ++++++-------- + 1 file changed, 6 insertions(+), 8 deletions(-) + +commit 4887707bb34faca0d7ad92f6628d18345163f5e0 +Author: Chris Lord +Date: Sat Feb 6 15:34:55 2010 +0100 + + [stage-x11] make get_geometry always get geometry + + Now that we have a minimum size getter on the stage object, change + get_geometry to actually always return the geometry. This fixes stages + that are set as user-resizable appearing at 1x1 size. + + This will need changing in other back-ends too. + + clutter/x11/clutter-stage-x11.c | 57 +++++++++++++++++------------------------ + 1 file changed, 23 insertions(+), 34 deletions(-) + +commit 27e33aa14ff5d14f6066da74922c960a037b5089 +Author: Chris Lord +Date: Sat Feb 6 14:59:51 2010 +0100 + + [stage] Get the current size correctly + + Get the current size of the stage correctly in + clutter_stage_set_minimum_size. The get_geometry StageWindow function is + not equivalent of the current size, use clutter_actor_get_size(). + + clutter/clutter-stage.c | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +commit be11564b556a1b1c08b7b9e7a0a94bc00c4e6550 +Author: Chris Lord +Date: Sat Feb 6 14:04:47 2010 +0100 + + [stage] Set minimum width/height to 1x1 + + Whoops, to maintain the old behaviour, make sure the default minimum + width/height are 1x1. + + clutter/clutter-stage.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit fd11d3098f0182f24666ed77973269111cb0a8f5 +Author: Chris Lord +Date: Sat Feb 6 11:23:37 2010 +0000 + + [stage] Add set/get_minumum_size + + Add two functions to set/get the minimum stage size. This takes effect + when a stage is set to user resizable. + + clutter/clutter-stage.c | 75 ++++++++++++++++++++++++++++++ + clutter/clutter-stage.h | 7 +++ + clutter/x11/clutter-stage-x11.c | 6 +-- + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 87 insertions(+), 3 deletions(-) + +commit f973b73208bad266a2362e22e5aed1a0780d096d +Author: Emmanuele Bassi +Date: Sat Feb 6 11:00:50 2010 +0000 + + Add cogl-subtexture test to the Git ignore file + + .gitignore | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit e55966d675e57d516ea5aff36b03fde63d4839d3 +Author: Emmanuele Bassi +Date: Fri Feb 5 16:22:09 2010 +0000 + + Deprecate clutter_util_next_p2() + + The next_p2() function should have never been publicly exposed by + Clutter. + + clutter/clutter-util.c | 15 ++++++++------- + clutter/clutter-util.h | 9 ++++++--- + tests/interactive/test-shader.c | 19 +++++++++++++++++-- + 3 files changed, 31 insertions(+), 12 deletions(-) + +commit bbaf6b233d0120e3199d779eeb2829e56ecc279b +Author: Emmanuele Bassi +Date: Fri Feb 5 15:31:18 2010 +0000 + + docs: Fix whitespace in the App manual stub + + doc/manual/clutter-manual.xml.in | 185 +++++++++++++++++---------------------- + 1 file changed, 81 insertions(+), 104 deletions(-) + +commit dcdb97006b563407d43f19779ac47f0330052541 +Author: Emmanuele Bassi +Date: Fri Feb 5 14:47:39 2010 +0000 + + build: Add suppressions file to EXTRA_DIST + + tests/data/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 830f2402d4f49b7173eb7fa0bda5762a4c430c9a +Merge: 1bdc3db9a 6b1b27d4f +Author: Neil Roberts +Date: Sat Feb 6 00:20:07 2010 +0000 + + Merge branch 'more-texture-backends' + + This adds three new texture backends. + + - CoglTexture2D: This is a trimmed down version of CoglTexture2DSliced + which only supports a single texture and only works with the + GL_TEXTURE_2D target. The code is a lot simpler so it has a less + overheads than dealing with slices. Cogl will use this wherever + possible. + + - CoglSubTexture: This is used to get a CoglHandle to represent a + subregion of another texture. The texture can be used as if it was a + standalone texture but it does not need to copy the resources. + + - CoglAtlasTexture: This collects RGB and RGBA textures into a single + GL texture with the aim of reducing texture state changes and + increasing batching. The backend will try to manage the atlas and + may move the textures around to close gaps in the texture. By + default all textures will be placed in the atlas. + +commit 6b1b27d4f894cbefc90601eaf6214b55a71834b7 +Author: Neil Roberts +Date: Sat Feb 6 00:12:10 2010 +0000 + + cogl-bitmap: Update the format after (un)premultiplying + + The pixel format of the bitmap needs to have its premult flag cleared + or set after the premult conversion otherwise it may get converted + again. + + clutter/cogl/cogl/cogl-bitmap-fallback.c | 4 ++++ + clutter/cogl/cogl/cogl-texture.c | 3 +-- + 2 files changed, 5 insertions(+), 2 deletions(-) + +commit 191d20eb56f31786660cd04aacc710344eb8df7a +Author: Neil Roberts +Date: Fri Feb 5 17:03:04 2010 +0000 + + cogl-atlas-texture: Fix a cut and paste error when getting the height + + There was a typo in getting the height of the full texture to check + whether the sub region fits so that it was using the width + instead. This was causing crashes when debugging is enabled for some + apps. + + clutter/cogl/cogl/cogl-sub-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1bdc3db9ab54316f5f313dc3e991f3a621e83586 +Author: Damien Lespiau +Date: Thu Feb 4 21:10:02 2010 +0000 + + docs: Use % for defines not # + + Some links to defines in the gtk-doc annotations were using '#' instead + of '%'. + + clutter/clutter-actor.c | 4 ++-- + clutter/clutter-path.c | 10 +++++----- + clutter/cogl/cogl/cogl-fixed.c | 4 ++-- + 3 files changed, 9 insertions(+), 9 deletions(-) + +commit 1b94cc9268e57cc49e3bac914c4b979aec955f77 +Author: Damien Lespiau +Date: Wed Jan 27 16:03:28 2010 +0000 + + docs: fix new line in the cogl xml top level document + + A comma in the FSF address is wrong. Supreme Offence. + + doc/reference/cogl/cogl-docs.xml.in | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 0ea25d661b887c27beaf0bd848dfda994d88782f +Author: Emmanuele Bassi +Date: Thu Feb 4 18:29:47 2010 +0000 + + event: Do not generate click count for SCROLL events + + The ClutterScrollEvent structure does not have a click count field, + so Clutter should not generate the click count for events of type + CLUTTER_SCROLL. + + clutter/clutter-main.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 15c6fef7e3e426764bafc316794a195a086e0d03 +Author: Emmanuele Bassi +Date: Thu Feb 4 16:49:06 2010 +0000 + + tests: Add a Valgrind suppression file + + When running tests under Valgrind it would be useful to pass a + suppression file for the known one-off allocations done by Clutter + and by its dependencies. This trims the output of Valgrind and + improves the ability to actually spot leaks. + + tests/README | 35 ++++++-- + tests/data/clutter-1.0.suppressions | 173 ++++++++++++++++++++++++++++++++++++ + 2 files changed, 203 insertions(+), 5 deletions(-) + +commit 1f70da62a73e3a10fe1ceb33d11f79fc29586fcf +Author: Neil Roberts +Date: Thu Feb 4 16:28:29 2010 +0000 + + glx: Create a colormap for the dummy window + + Otherwise X will fail to create the window and throw a BadMatch error + at least on NVidia. + + clutter/glx/clutter-backend-glx.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 466b00a8064ad09f0574f8f46c6df0390d7c7d00 +Author: Emmanuele Bassi +Date: Thu Feb 4 13:59:39 2010 +0000 + + glx: Clarify *why* we need the dummy window + + The reason why we have a dummy, offscreen Window when we create the + GLX context is that GLX does not like it when you ask the context for + features if it's not made current to a Drawable. Maybe in the future + it will allow us to do so, but right now we have to make do with what + GLX offers us. + + clutter/glx/clutter-backend-glx.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit ea5e33cf3a38edddef88ec30131c35bb8ab4bfaf +Author: Emmanuele Bassi +Date: Thu Feb 4 13:56:33 2010 +0000 + + glx: Do not leak a XVisualInfo + + The XVisualInfo we retrieve for the dummy window should be freed after + we used it. + + clutter/glx/clutter-backend-glx.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit e6a3b6ebe75a2c0c3709fbe12cf04c4357b54fdd +Author: Neil Roberts +Date: Wed Feb 3 23:08:30 2010 +0000 + + cogl-texture: Avoid copying the bitmap when premultiplying from a file + + In cogl_texture_new_from_file we create and own a temporary + bitmap. There's no need to copy this data if we need to do a premult + conversion so instead it just does conversion before passing it on to + cogl_texture_new_from_bitmap. + + clutter/cogl/cogl/cogl-texture.c | 23 ++++++++++++++++++----- + 1 file changed, 18 insertions(+), 5 deletions(-) + +commit 59198b8ab8a6a7c1c3dbfa5c72abf36f8d66c543 +Author: Neil Roberts +Date: Wed Feb 3 22:54:44 2010 +0000 + + cogl-texture: Split out _cogl_texture_prepare_for_upload + + The Cogl atlas code was using _cogl_texture_prepare_for_upload with a + NULL pointer for the dst_bmp to determine the internal format of the + texture without converting the bitmap. It needs to do this to decide + whether the texture will go in the atlas before wasting time on the + conversion. This use of the function is a little confusing so that + part of it has been split out into a new function called + _cogl_texture_determine_internal_format. The code to decide whether a + premult conversion is needed has also been split out. + + clutter/cogl/cogl/cogl-atlas-texture.c | 11 +---- + clutter/cogl/cogl/cogl-texture-private.h | 7 +++ + clutter/cogl/cogl/cogl-texture.c | 81 +++++++++++++++++++------------- + 3 files changed, 57 insertions(+), 42 deletions(-) + +commit 5063f4669c2c94d7288405005f4df14e73a4f578 +Author: Neil Roberts +Date: Wed Feb 3 19:54:12 2010 +0000 + + cogl-atlas: Make the cogl_atlas_* API internal + + This just adds an underscore to every entry point for the CoglAtlas + API so that it's not exported. + + clutter/cogl/cogl/cogl-atlas-texture.c | 89 ++++++++++----------- + clutter/cogl/cogl/cogl-atlas.c | 140 ++++++++++++++++----------------- + clutter/cogl/cogl/cogl-atlas.h | 32 ++++---- + clutter/cogl/cogl/cogl-context.c | 2 +- + 4 files changed, 132 insertions(+), 131 deletions(-) + +commit cd3c5155d879782a6e6e1d7fa56043e03712b727 +Author: Jussi Kukkonen +Date: Wed Feb 3 17:04:38 2010 +0000 + + text: implement del_word_next/del_word_prev() + + Bind ctrl-backspace and ctrl-del to functions that delete a word before + or after the cursor, respectively. + + Selection does not affect the deletion, but current selection is + preserved. This mimicks GTK+ functionality in GtkTextView and GtkEntry. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1767 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 95 insertions(+) + +commit d8d728a8d7ac4bc56f058379d76f4539d01189de +Author: Emmanuele Bassi +Date: Wed Dec 9 00:50:33 2009 +0000 + + Remove the SDL backend + + The SDL API is far too limited for the windowing system needs of + Clutter; the status of the SDL backend was always experimental, and + since the Windows platform is supported by a native backend there is + no point in having the SDL backend around any more. + + README | 8 +- + clutter/Makefile.am | 2 +- + clutter/sdl/Makefile.am | 26 --- + clutter/sdl/clutter-backend-sdl.c | 207 --------------------- + clutter/sdl/clutter-backend-sdl.h | 70 ------- + clutter/sdl/clutter-event-sdl.c | 377 -------------------------------------- + clutter/sdl/clutter-sdl.h | 39 ---- + clutter/sdl/clutter-stage-sdl.c | 197 -------------------- + clutter/sdl/clutter-stage-sdl.h | 34 ---- + configure.ac | 41 +---- + 10 files changed, 5 insertions(+), 996 deletions(-) + +commit ae188d203c63d680dc58ba1e19f333719a6916d4 +Author: Neil Roberts +Date: Wed Jan 20 16:41:25 2010 +0000 + + win32: Use a dummy window to support delayed stage creation + + The Win32 backend now implements the create_context method which + creates a context and binds it to a 1x1 invisible window. That way + there will always be a context bound and the features can be retrieved + without creating the default stage. This reflects the changes in + 1c6ffc8..b245d55 to the GLX backend. + + clutter/win32/clutter-backend-win32.c | 194 ++++++++++++++++++++++++++++++++-- + clutter/win32/clutter-backend-win32.h | 2 + + clutter/win32/clutter-stage-win32.c | 84 +++------------ + 3 files changed, 198 insertions(+), 82 deletions(-) + +commit 479fdffc7d4f37f9ff104403dd7de685df97e0d5 +Author: Emmanuele Bassi +Date: Sun Dec 6 18:56:14 2009 +0000 + + glx: Fix error messages and debug notes + + Instead of using g_critical() inside the create_context() implementation + of the ClutterBackendGLX we should use the passed GError, so that the + error message can bubble up to the caller. + + clutter/glx/clutter-backend-glx.c | 31 +++++++++++++++++++------------ + 1 file changed, 19 insertions(+), 12 deletions(-) + +commit ede2cbfab05035247b2a6a2ca837cb8f71871c5d +Author: Emmanuele Bassi +Date: Thu Dec 3 21:07:45 2009 +0000 + + stage: Create the default stage on demand + + Instead of creating the default stage during initialization we can + now safely create it whenever clutter_stage_get_default() is called. + + To maintain the invariant, the default stage is immediately realized + by Clutter itself. + + clutter/clutter-main.c | 28 ---------------------------- + clutter/clutter-stage.c | 15 ++++++++++----- + 2 files changed, 10 insertions(+), 33 deletions(-) + +commit d2c091e62d4b9e897e8f8ef5de99f20417cc6682 +Author: Emmanuele Bassi +Date: Thu Dec 3 20:49:54 2009 +0000 + + glx: Create the dummy Window with the GLX context + + Since we must guarantee that Cogl has a GL context to query, it is too + late to use the "dummy Window" trick from within the get_features() + virtual function implementation. + + Instead, we can create a dummy Window from create_context() itself and + leave it around - basically trading a default stage with a dummy X + window. + + We need to have the dummy X window around all the time so that the + GLX context can be selected and made current. + + clutter/clutter-main.c | 16 ++-- + clutter/glx/clutter-backend-glx.c | 169 +++++++++++++++++++------------------- + clutter/glx/clutter-backend-glx.h | 1 + + 3 files changed, 95 insertions(+), 91 deletions(-) + +commit 5eb6fb74b660d22e7f31867b16997ee9f63bef4b +Author: Emmanuele Bassi +Date: Thu Dec 3 20:48:55 2009 +0000 + + feature: Make sure we have a GL context + + Before asking Cogl and ClutterBackend for the list of features we must + have a GL backend ready. + + clutter/clutter-feature.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit a8daaa8222c9b4aaf7e46b1bb13a2ce8097153f1 +Author: Emmanuele Bassi +Date: Thu Dec 3 20:47:48 2009 +0000 + + stage: Move default title in Stage.init + + The default title should be set from within clutter_stage_init(); at + that point clutter_init() must have been called. + + clutter/clutter-main.c | 2 -- + clutter/clutter-stage.c | 1 + + 2 files changed, 1 insertion(+), 2 deletions(-) + +commit 38f26634eec3c81d61bb3b88b24563d7e4719f67 +Author: Emmanuele Bassi +Date: Thu Dec 3 17:36:03 2009 +0000 + + Lazily create the Pango fontmap + + The Pango fontmap needed by Clutter should be initialized the first + time we need a PangoContext, not on initialization. + + clutter/clutter-main.c | 35 ++++++++++++++++------------------- + 1 file changed, 16 insertions(+), 19 deletions(-) + +commit 6fbed66add4b8c03a0ba0f4edc1c2f0044608998 +Author: Emmanuele Bassi +Date: Thu Dec 3 17:13:44 2009 +0000 + + Delay default stage creation + + The default stage creation should be delayed as much as possible, + ideally at the end of the init() process. + + clutter/clutter-backend.c | 8 ++++ + clutter/clutter-main.c | 67 +++++++++++++------------- + clutter/clutter-stage.c | 6 +-- + clutter/cogl/cogl/cogl-journal.c | 3 ++ + clutter/glx/clutter-backend-glx.c | 98 +++++++++++++++++++++++++++++---------- + clutter/glx/clutter-stage-glx.c | 5 ++ + 6 files changed, 126 insertions(+), 61 deletions(-) + +commit 3191ea1195d5e1d55facc147760b273efca76867 +Author: Emmanuele Bassi +Date: Thu Dec 3 17:35:19 2009 +0000 + + cogl-debug: Remove redundant newlines + + The debugging notes wrapping g_debug() already have an implicit newline + at the end of the passed message. + + clutter/cogl/cogl/cogl-handle.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 16a5911cff90a2bba1b283ccd9a9ce6d0f435924 +Author: Emmanuele Bassi +Date: Wed Feb 3 15:05:37 2010 +0000 + + tests: Clean up the cairo-flowers interactive test + + tests/interactive/test-clutter-cairo-flowers.c | 14 ++++++-------- + 1 file changed, 6 insertions(+), 8 deletions(-) + +commit cb52581a24c157e2bedb74c32d522dc56d9a91a2 +Author: Emmanuele Bassi +Date: Wed Feb 3 14:35:45 2010 +0000 + + text: Add :font-description + + High level toolkits might wish to construct a PangoFontDescription and + then set it directly on a ClutterText actor proxy or sub-class. + ClutterText should have a :font-description property to set (and get) + the PangoFontDescription. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1960 + + clutter/clutter-text.c | 131 +++++++++++++++-- + clutter/clutter-text.h | 225 +++++++++++++++-------------- + doc/reference/clutter/clutter-sections.txt | 2 + + 3 files changed, 234 insertions(+), 124 deletions(-) + +commit 74c0170ccc80504018f2aab849a6a311c64052a6 +Author: Neil Roberts +Date: Wed Feb 3 14:31:12 2010 +0000 + + cogl-vertex-buffer: Refix disabling texture coord arrays + + Commit 92a375ab4 changed the initial value of max_texcoord_attrib_unit + to -1 so that it could disable the texture coord array for the first + texture unit when there are no texture coords used in the vbo. However + max_texcoord_attrib_unit was an unsigned value so this actually became + G_MAXUINT. The disabling loop at the bottom still worked because + G_MAXUINT+1==0 but the check for whether any texture unit is greater + than max_texcoord_attrib_unit was failing so it would always end up + disabling all texture units. This is now fixed by changing + max_texcoord_attrib_unit to be signed. + + clutter/cogl/cogl/cogl-vertex-buffer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 301863d43bc79e792f8fe3ea5e9185d87cb74069 +Author: Emmanuele Bassi +Date: Tue Feb 2 17:07:22 2010 +0000 + + text: Fixes for selection bound + + The commit ecbb7ce41a1a759e246fce07f146b8bed5e3d730 exposed some issues + when positioning the cursor with the mouse pointer: the selection is + not moved along with the cursor when inserting a single character or a + string. + + Also, some freeze_notify() are called too early, leading to decoupling + from their respective thaw_notify(). + + http://bugzilla.openedhand.com/show_bug.cgi?id=1955 + + clutter/clutter-text.c | 44 +++++++++++++++++++------------------------- + 1 file changed, 19 insertions(+), 25 deletions(-) + +commit 5bec49aea931e6835b97e549e23458a6214548ce +Author: Kristian Høgsberg +Date: Wed Jan 27 12:55:18 2010 -0500 + + Use ClutterTimeline in test-clutter-cairo-flowers.c + + http://bugzilla.openedhand.com/show_bug.cgi?id=1969 + Signed-off-by: Emmanuele Bassi + + tests/interactive/test-clutter-cairo-flowers.c | 24 +++++++++++++++++------- + 1 file changed, 17 insertions(+), 7 deletions(-) + +commit c9a6e63fa4d1d710d9efeb850f3fc336933ee2a8 +Author: Emmanuele Bassi +Date: Tue Feb 2 14:50:03 2010 +0000 + + docs: Clarify Group's sizing semantics + + The documentation for ClutterGroup behaviour when setting an explicit + size is not accurate - or, actually, it was accurate by the time + ClutterGroup was first written but has been neglected in the following + release cycles. + + To avoid confusion for new users of Clutter the documentation should be + slightly expanded, mentioning the exact semantics of ClutterGroup with + regards to: preferred size, explicitly set size and how to constrain the + visible area of a ClutterGroup to an explicitly set size. + + Based on a patch by: Neil Roberts + + clutter/clutter-group.c | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +commit 12b004b0e7e13ca64d7d35cd3fe083f582b7aa09 +Author: Emmanuele Bassi +Date: Tue Feb 2 12:56:04 2010 +0000 + + tests: Add an initial Behaviour conformance suite + + The coverage of the Behaviour sub-classes is currently abysmal. An + initial test suite for Behaviours should at least verify that the + accessors and the constructors are doing the right thing. + + This initial test suite just verifies the BehaviourOpacity sub-class, + but it already bumps up the overall coverage by 2%. + + .gitignore | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-behaviours.c | 87 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 + + 4 files changed, 91 insertions(+) + +commit f94e6911510b5376dd490c1f8724e616aaf2e5dc +Author: Emmanuele Bassi +Date: Tue Feb 2 12:54:51 2010 +0000 + + behaviour: Clean up BehaviourOpacity + + • Use a consistent coding style + + • Call set_bounds() from set_property(), because we need proper + notification on the modified property + + clutter/clutter-behaviour-opacity.c | 56 +++++++++++++++++++++---------------- + 1 file changed, 32 insertions(+), 24 deletions(-) + +commit 521d71d4bc4ca4b06343365c71c9520b1ebfdc7f +Author: Emmanuele Bassi +Date: Mon Feb 1 15:47:50 2010 +0000 + + event: Unify the off-stage motion events delivery behaviour + + When we disable the per-actor events delivery Clutter replicates the X11 + implicit soft grab for motion events with off-stage. The implicit grab + is done whenever the pointer of a device leaves a window with a button + still pressed; with the implicit grab in place the window still receives + motion events even after the LeaveNotify - until the button is released. + + The implicit grab is not honoured in the per-actor event deliver case, + though, so we have a mismatch between two in theory equivalent cases. + + Luckily, the fix is pretty trivial: when we check for a motion event + with a stage set but without an actor set, and that has off-stage + coordinates, we arbitrarily set the source to be the stage of the event + and emit the pointer event. + + clutter/clutter-main.c | 40 ++++++++++++++++++++++++++++++++++------ + 1 file changed, 34 insertions(+), 6 deletions(-) + +commit 46d6697b9170ba110439cbf61d152890b35a3837 +Author: Emmanuele Bassi +Date: Mon Feb 1 14:53:13 2010 +0000 + + build: -Wformat is required for -Wformat-security + + GCC will ignore -Wformat-security without -Wformat on the same compiler + flags. + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 157a0cf9364a9e60b29e5e88ca1783d9e174a635 +Author: Emmanuele Bassi +Date: Mon Feb 1 14:48:50 2010 +0000 + + build: Retrieve X11 cflags and libraries + + When using pkg-config to check for the x11 package compiler flags and + libraries we actually need to retrieve those values from the pc file. + + This should also fix the issue with non-canonical installations of the + X11 headers and shared objects. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1966 + + configure.ac | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 145cc9d3dfd1dc51f254eefde35042fc20a6375e +Merge: aa6731e33 5f1c8a17e +Author: Neil Roberts +Date: Mon Feb 1 13:37:19 2010 +0000 + + Merge remote branch 'master' into texture-debugging + + Conflicts: + clutter/cogl/cogl/cogl-context.h + +commit aa6731e338a88d03e718980604ac8f2393391a9f +Author: Neil Roberts +Date: Mon Feb 1 13:25:19 2010 +0000 + + cogl-material: Compare GL texture numbers for material layer textures + + When deciding if a material layer is equal it now compares the GL + target and texture number if the textures are not sliced. This is + needed to get batching across atlased textures. + + clutter/cogl/cogl/cogl-material.c | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +commit abe91784c4ba98417eabe0649bf73381afbd6fc7 +Author: Neil Roberts +Date: Mon Feb 1 12:11:58 2010 +0000 + + cogl: Let GL do the format conversion when uploading texture data + + Cogl accepts a pixel format for both the data in memory and the + internal format to be used for the texture. If they do not match then + it would convert them using the CoglBitmap functions before uploading + the data. However, GL also lets you specify both formats so it makes + more sense to let GL do the conversion. The driver may need the + texture in a specific format so it may end up being converted anyway. + + The cogl_texture_upload_data functions have been removed and replaced + with a single function to prepare the bitmap. This will only do the + premultiplication conversion because that is the only part that GL + can't do directly. + + clutter/cogl/cogl/cogl-atlas-texture.c | 111 +++++++-------- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 220 ++++++++++++++++------------- + clutter/cogl/cogl/cogl-texture-2d.c | 92 ++++++------ + clutter/cogl/cogl/cogl-texture-private.h | 44 ++---- + clutter/cogl/cogl/cogl-texture.c | 136 ++++++++---------- + 5 files changed, 290 insertions(+), 313 deletions(-) + +commit e83ffb1fa3436bf1506c32856b2a3ba23254e068 +Author: Neil Roberts +Date: Fri Jan 29 15:15:08 2010 +0000 + + cogl: Do the premult conversion in-place rather than copying to a new buffer + + The premult part of _cogl_convert_premult has now been split out as + _cogl_convert_premult_status. _cogl_convert_premult has been renamed + to _cogl_convert_format to make it less confusing. The premult + conversion is now done in-place instead of copying the + buffer. Previously it was copying the buffer once for the format + conversion and then copying it again for the premult conversion. The + premult conversion never changes the size of the buffer so it's quite + easy to do in place. We can also use the separated out function + independently. + + clutter/cogl/cogl/cogl-atlas-texture.c | 6 +- + clutter/cogl/cogl/cogl-bitmap-fallback.c | 142 +++++++++++------------------ + clutter/cogl/cogl/cogl-bitmap-pixbuf.c | 6 +- + clutter/cogl/cogl/cogl-bitmap-private.h | 22 ++--- + clutter/cogl/cogl/cogl-bitmap.c | 102 ++++++++------------- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 12 +-- + clutter/cogl/cogl/cogl-texture-2d.c | 12 +-- + clutter/cogl/cogl/cogl-texture.c | 6 +- + 8 files changed, 123 insertions(+), 185 deletions(-) + +commit 72fba19eac68ffa30c3f60aeecfdbfa6a2da7bd4 +Author: Neil Roberts +Date: Fri Jan 29 12:19:42 2010 +0000 + + cogl-atlas-texture: Use a single atlas for both RGB and RGBA textures + + The internal format of the atlas texture is still set to the + appropriate format so Cogl will disable blending for textures that are + intended to be RGB. This should end up ignoring the alpha channel from + the texture in the atlas. This makes the code slightly easier to + maintain and should also improve the chances of batching. + + clutter/cogl/cogl/cogl-atlas-texture.c | 134 ++++++++++++--------------------- + clutter/cogl/cogl/cogl-context.c | 18 ++--- + clutter/cogl/cogl/cogl-context.h | 8 +- + 3 files changed, 57 insertions(+), 103 deletions(-) + +commit ad6bd2ee88770c2ce86f81f7a64b6b121c3418d6 +Author: Emmanuele Bassi +Date: Mon Feb 1 12:18:10 2010 +0000 + + actor: Reword the allocation cycle warning + + Since we're allowing allocation cycles saying that calling + queue_relayout() inside an allocation cycle "is not allowed" is kind of + confusing. We should say that "it is not recommended". + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5f1c8a17e4f81ead1747b47939d593c80246bf06 +Merge: ecbb7ce41 8a4b64715 +Author: Emmanuele Bassi +Date: Mon Feb 1 11:26:56 2010 +0000 + + Merge branch 'device-manager' + + * device-manager: (37 commits) + x11: Re-enable XI1 extension keyboards + x11: Always handle core device events before XI events + docs: Documentation fixes for DeviceManager + device-manager: Fix the signals definition + docs: Add sections for InputDevice and DeviceManager + docs: Add clutter_input_device_get_device_name() + tests: Print out the device details on motion + Always register core devices + device: Remove unused is_default member + win32: Experimental implementation of device support + tests: Print the device name, as well as its Id + x11: Fill out the :name property of the InputDevices + device: Add the :name property to InputDevice + x11: Store core devices on the X11 Backend singleton + device: Unset the cursor actor when leaving the stage + device: Add pointer actor getter + x11: Discard the LeaveNotify for off-stage ButtonRelease + device: Do not overwrite the stage for an InputDevice + event: Off-stage button releases have a click count of 1 + event: Scroll events do not have click count + ... + +commit ecbb7ce41a1a759e246fce07f146b8bed5e3d730 +Author: Alejandro Piñeiro +Date: Mon Jan 25 16:13:58 2010 +0100 + + Fix problems with "position" and "selection-bound" change notification + + Added a "selection-bound" notify on clutter_text_clear_selection as it + changes the value. + + Added utility function clutter_text_set_positions, in order to + change both cursor position and selection bound inside a + g_object_[freeze/thaw]_notify block + + Added g_object_[freeze/thaw]_notify in other functions that changes + both cursor position and selection bound + + Solves http://bugzilla.openedhand.com/show_bug.cgi?id=1955 + + clutter/clutter-text.c | 77 ++++++++++++++++++++++++++++++++++---------------- + 1 file changed, 53 insertions(+), 24 deletions(-) + +commit 579a9a2665b402405820585dacba137984700110 +Author: Emmanuele Bassi +Date: Mon Feb 1 11:04:59 2010 +0000 + + stage: Add :key-focus property + + ClutterStage has both set_key_focus() and get_key_focus() methods, but + there is no :key-focus property. This means that it is not possible to + get notifications when the key-focus has changes except by connecting to + both the ::key-focus-in and ::key-focus-out signals and do additional + bookkeeping. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1956 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-stage.c | 30 +++++++++++++++++++++++++++++- + 1 file changed, 29 insertions(+), 1 deletion(-) + +commit 95712f9897db7f06a6ca34661f20b388dd5a5f77 +Author: Emmanuele Bassi +Date: Fri Jan 29 10:13:57 2010 +0000 + + docs: Update the README + + Clean up the grammar and some wrinkles in the text. + + README | 91 ++++++++++++++++++++++++++++++++++++++++++------------------------ + 1 file changed, 58 insertions(+), 33 deletions(-) + +commit 5b9259ba807f4151d08bf2ea868c2cdeed97e975 +Author: Emmanuele Bassi +Date: Fri Jan 29 09:31:13 2010 +0000 + + docs: Update the configure switches in the README + + README | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +commit 763fcabd8b287445d32eadb6086b0438e3962294 +Author: Emmanuele Bassi +Date: Fri Jan 29 09:29:53 2010 +0000 + + build: Warn with --disable-conformance and --enable-gcov + + When building Clutter without conformance test suite we ought to warn + the user that the coverage report is not going to be accurate. + + configure.ac | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +commit 21d21adbc45a6e0023e4a21b357fbf392b469fb2 +Author: Emmanuele Bassi +Date: Fri Jan 29 09:29:37 2010 +0000 + + Remove tabs from configure.ac + + configure.ac | 51 ++++++++++++++++++++++++++++----------------------- + 1 file changed, 28 insertions(+), 23 deletions(-) + +commit 5f5f6d825f6460f532f0c0448fc403cdb95e4697 +Author: Emmanuele Bassi +Date: Fri Jan 29 09:26:47 2010 +0000 + + build: Allow disabling the conformance test suite + + When building Clutter for packaging on headless boxes it's pointless to + allow building the conformance test to be built (and run on 'make + check'). + + configure.ac | 14 +++++++++++++- + tests/Makefile.am | 25 ++++++++++++++++++++----- + 2 files changed, 33 insertions(+), 6 deletions(-) + +commit 7a1ebcbced45c21937c4407e28274fdb4a92af52 +Author: Emmanuele Bassi +Date: Wed Jan 27 21:26:26 2010 +0000 + + Whitespace fixes in cogl-util + + clutter/cogl/cogl/cogl-util.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 578e83e463d4d681de27f1b4e5d64dea8161f0f7 +Author: Emmanuele Bassi +Date: Wed Jan 27 21:16:28 2010 +0000 + + Whitespace fixes + + clutter/clutter-frame-source.c | 3 ++- + clutter/clutter-timeout-interval.c | 38 +++++++++++++++++++++++--------------- + clutter/clutter-timeout-pool.c | 5 +++-- + 3 files changed, 28 insertions(+), 18 deletions(-) + +commit 2d5eeba5d89c129f991f367f0e80c3a152f19e52 +Author: Emmanuele Bassi +Date: Wed Jan 27 21:14:43 2010 +0000 + + docs: Fixes for TimeoutPool and Frame sources + + The TimeoutPool is not used by ClutterTimeline any more, so we need to + remove a sentence from its description. We also need to fix the gtk-doc + syntax errors. + + clutter/clutter-frame-source.c | 25 +++++++++++++------------ + clutter/clutter-timeout-pool.c | 8 +------- + 2 files changed, 14 insertions(+), 19 deletions(-) + +commit 046a4b80476794bebdfd9005c826a64b7c8c9f81 +Author: Neil Roberts +Date: Fri Jan 22 18:14:57 2010 +0000 + + cogl: Use the colours of COGL_DEBUG=rectangles to debug batching + + Instead of assigning a new colour to each quad of a batch, the + rectangle debugging code now assigns a new colour to each batch so + that it can be used to visually see what is being batched. The colour + is stored in a global variable that is reset during cogl_clear. This + improves the chances that the same colour will be used for a batch in + the next frames to avoid flickering. + + clutter/cogl/cogl/cogl-context.h | 6 +++++ + clutter/cogl/cogl/cogl-journal.c | 54 +++++++++++++++++++++++++++------------- + clutter/cogl/cogl/cogl.c | 11 ++++++++ + 3 files changed, 54 insertions(+), 17 deletions(-) + +commit 92a375ab47296a81d739ca29b0972c7abe6eda16 +Author: Neil Roberts +Date: Tue Jan 26 13:46:27 2010 +0000 + + cogl-vertex-buffer: Fix disabling the texture arrays from previous prim + + When setting up the state for the vertex buffer, + enable_state_for_drawing_buffer tries to keep track of the highest + numbered texture unit in use. It then disables any texture arrays for + units that were previously enabled if they are greater than that + number. However if there is no texturing in the VBO then the max used + unit would be left at 0 which it would later think meant unit 0 is + still in use so it wouldn't disable it. To fix this it now initialises + the max used unit to -1 which it should interpret as ‘no units are in + use’ so it will later disable the arrays for all units. + + Thanks to Jon Mayo for reporting the bug. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1957 + + clutter/cogl/cogl/cogl-vertex-buffer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f288eae0fc454876c2beb87b1205681a338d7f65 +Author: Neil Roberts +Date: Wed Jan 27 12:06:22 2010 +0000 + + docs: Add some notes about the CoglPixelFormat enums + + The pixel format enums didn't explain what order in memory the + components should be so it was difficult to use them. + + clutter/cogl/cogl/cogl-types.h | 22 +++++++++++++++++++--- + 1 file changed, 19 insertions(+), 3 deletions(-) + +commit da392e24a55ad34bdc8fe9ac0841eca574f76194 +Author: Neil Roberts +Date: Wed Jan 27 11:02:34 2010 +0000 + + docs: Fix some of the examples for the animation docs + + In the example for clutter_actor_animate the "x" and "y" properties + are floats so they need to be passed float values in the var args + otherwise it will crash. There was also a missing comma. + + There were some other minor problems with the behaviours example which + would cause it not to compile. + + doc/reference/clutter/clutter-animation-tutorial.xml | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + +commit 52cb54f5fa665fdf06270fc58121617b44877639 +Author: Damien Lespiau +Date: Tue Jan 26 18:47:25 2010 +0000 + + cogl: Fix checks of the number of available texture units + + We were checking the number of texture units against the GL enum that is + used in glGetInteger() to query that number. Let's abstract this in a + little function. + + Took the opportunity to dig a bit on the usage of GL limits for the + number of texture (image) units and document our use of them. We'll need + something finer grained if we want to fully exploit texture image units + with a programmable pipeline. + + clutter/cogl/cogl/cogl-internal.h | 2 ++ + clutter/cogl/cogl/cogl-material.c | 10 ++-------- + clutter/cogl/cogl/cogl.c | 30 ++++++++++++++++++++++++++++++ + 3 files changed, 34 insertions(+), 8 deletions(-) + +commit 87d19b8d182c2524a5d3c30921fe2c3d4d120606 +Author: Damien Lespiau +Date: Sun Nov 15 20:17:47 2009 +0000 + + cogl: Fix gl equivalent of blend string + + An example of what could be the equivalent of + "RBG = REPLACE(TEXTURE) + A = MODULATE(PREVIOUS,TEXTURE)" + using the ARB_texture_env_combine extension was given, but it seems that + a few typo were left: + * remove a spurius GL_COMBINE_ALPHA + * use the _ALPHA variant of SRCN and OPERANDN when setting up the + alpha combiner + + doc/reference/cogl/blend-strings.xml | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +commit afb30f4013fdcb58ee35af919fdb739ab587683c +Author: Damien Lespiau +Date: Wed Nov 18 01:13:11 2009 +0000 + + tests: blend-string: use g_assert_cmpint + + It's very useful to see the actual number the reference value is + compared too when the test fails. GTest has g_assert_cmp$type() + functions for that, so make good use of them. + + tests/conform/test-cogl-blend-strings.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit de31cbf4f7932f8d48583a476c5af9f6eed6adbd +Author: Damien Lespiau +Date: Tue Jan 26 16:59:50 2010 +0000 + + test-cogl-multitexture: use several materials with texture matrices + + A small doubt has risen about the use of CoglTextureUnit in materials: + will texture matrices still work if we have several materials, each of + them having at texture on the same texture unit? The answer is yes! + + test-cogl-multitexture has been extended to use 2 materials with about + the same setup except a little difference: the texture matrices for the + lightmaps rotate in opposite directions. + + While at it, changed the rotation behaviour by an implicit animation + with a small additional bonus bling. + + tests/interactive/test-cogl-multitexture.c | 143 ++++++++++++++++++++--------- + 1 file changed, 102 insertions(+), 41 deletions(-) + +commit 06d8ebb0ba2d468d492eeb94dede095a14eec909 +Author: Damien Lespiau +Date: Sun Nov 15 19:54:17 2009 +0000 + + cogl: Create CoglTextureUnit with its associated unit number + + The index field of CoglTextureUnit was never set, leading to the + creation of units with index set to 0. When trying to retrieve a texture + unit by its index (!= 0) with _cogl_get_texture_unit(), a new one was + created as it could not find it back in the list of textures units: + ctx->texture_units. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1958 + + clutter/cogl/cogl/cogl.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 8fc07c51a9c71aec77e4b76416ffedc72da309e2 +Author: Emmanuele Bassi +Date: Thu Jan 21 17:41:10 2010 +0000 + + actor: Use GParamSpecUint for :opacity + + The :opacity property is defined using a GParamSpecUchar. This usually + leads to issues with language bindings that don't have an 'unsigned + char' type and that need to explicitly handle the conversion between + G_TYPE_UCHAR and G_TYPE_INT or G_TYPE_UINT. + + The property definition already specifies an interval size of [0, 255] + on the values; more importantly, GObject already implicitly transforms + between G_TYPE_UCHAR and G_TYPE_UINT (the GValue transformation + functions are registered at type system initialization time) so + switching between a GParamSpecUchar and a GParamSpecUint should not be + an ABI break. + + I have tested a simple program using the opacity property before and + after the change and I cannot see any run-time warnings related to this + issue. + + clutter/clutter-actor.c | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit d0f7debfba4879c3df20c0067789b063e18d93ce +Author: Emmanuele Bassi +Date: Fri Jan 22 21:44:28 2010 +0000 + + test-easing: Do not reconnect signals multiple times + + The test should keep track of the last animation and avoid reconnecting + signals to the same instance in case the -r argument has been passed. + + tests/interactive/test-easing.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 7073e69b4e504ddbaffad4a6139e93ddbd40b9f8 +Author: Emmanuele Bassi +Date: Fri Jan 22 21:42:55 2010 +0000 + + animation: Verify internal state + + Be more drastic if the internal state is broken, and assert() if the + expected Alpha and Timeline instances we need are not valid. This + usually implies a library bug or a massive heap corruption. + + clutter/clutter-animation.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 8daa3035e563870fc614813fd6329c63542b129e +Author: Emmanuele Bassi +Date: Fri Jan 22 21:42:10 2010 +0000 + + docs: Fix the Animation:object property + + There is a typo in the Animation:object property gtk-doc declaration. + + clutter/clutter-animation.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0788aa43b29454efed3f60160b87881a1c84f603 +Author: Emmanuele Bassi +Date: Fri Jan 22 21:41:33 2010 +0000 + + animation: Add more debug annotations + + We need some better tracking of the Animation's lifetime. + + clutter/clutter-animation.c | 16 ++++++++++++++-- + 1 file changed, 14 insertions(+), 2 deletions(-) + +commit 7fa7c4a1b621eff0533ff70b1b6c9be001f62e2a +Author: Emmanuele Bassi +Date: Fri Jan 22 21:36:41 2010 +0000 + + animation: Transform if necessary + + The Animation code does transformation of values between type A and A' + after checking for compatibility using g_value_type_compatible(). This + is incorrect: compatibility means that the two types can be copied. The + correct conversion should follow: + + if (compatible (type (A), type (A'))) + copy (A, A'); + else + if (transformable (type (A), type (A'))) + transform (A, A'); + else + error("Unable to trasform type A in A'"); + + The transformation might still fail, so we need to check for errors + there as well as a fall-through case. + + clutter/clutter-animation.c | 42 ++++++++++++++++++++++-------------------- + 1 file changed, 22 insertions(+), 20 deletions(-) + +commit 94249efff7ec46bbeaac04800d5a9a30c05dcde3 +Author: Emmanuele Bassi +Date: Fri Jan 22 21:33:28 2010 +0000 + + animation: Check for value transformability + + We should not just check for compatibility, but also for the ability to + transform a GValue of type A into another of type A'. + + Usually compatibility is enough, especially if types can be + introspected beforehand; some times, though, we also need to check for + transformability as a type can provide the transformation functions + necessary for the operation. + + clutter/clutter-animation.c | 29 ++++++++++++++++++++--------- + 1 file changed, 20 insertions(+), 9 deletions(-) + +commit 996614cfaf582bbfbf86874a95b4a7eef3c50630 +Author: Neil Roberts +Date: Thu Jan 21 15:34:19 2010 +0000 + + cogl-atlas-texture: Add a debug option to disable the atlas + + If the user specifies the 'disable-atlas' debug option then no texture + will be put in the atlas. + + clutter/cogl/cogl/cogl-atlas-texture.c | 5 +++++ + clutter/cogl/cogl/cogl-debug.c | 3 ++- + clutter/cogl/cogl/cogl-debug.h | 3 ++- + 3 files changed, 9 insertions(+), 2 deletions(-) + +commit 4695383281d4b74baa10d78253a27b2eb541eef3 +Author: Emmanuele Bassi +Date: Fri Jan 22 00:06:17 2010 +0000 + + build: Use no-define + + We don't need the PACKAGE and VERSION defines in the config.h. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f7e7985344420caf4897777ced6f04cddb7052ee +Author: Emmanuele Bassi +Date: Thu Jan 21 23:57:38 2010 +0000 + + build: Add no-portability option to automake + + We require the GNU version of make for some of our rules, and it's been + so for a while now. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a545f66a5c34b66d1a31387105d114ca3edd3a46 +Author: Emmanuele Bassi +Date: Thu Jan 21 23:41:18 2010 +0000 + + master clock: Improve the timeline advancement protection + + The commit 1c69c61745ed510f0b6ab16cb963ca01994cb9fc which improved the + protection against timeline removals during the master clock advancement + was only doing half the job - and actually broke the chaining of + animations inside the ::completed signal. + + We cannot simply take a reference on the timelines and still use the list + held by the master clock because the do_tick() might result in the + creation of a new timeline, which gets added at the end of the list with + no reference increase and thus gets disposed at the end of the iteration. + + We also cannot steal the master clock timelines list because a timeline + might be removed as the direct result of do_tick() and remove_timeline() + would not find the timeline, failing and leaving a dangling pointer + behind. + + For this reason we copy the list of timelines out of the one that the + Master Clock holds, take a reference on each timeline, advance them all, + release the reference and free the list. + + clutter/clutter-master-clock.c | 39 +++++++++++++++++++++++++++------------ + 1 file changed, 27 insertions(+), 12 deletions(-) + +commit 8a4b64715486699dd8d0ea2146d0adea37d2a6c7 +Author: Emmanuele Bassi +Date: Wed Jan 20 19:40:58 2010 +0000 + + x11: Re-enable XI1 extension keyboards + + The extension keyboard support in XInput 1.x is hopelessly broken. + + Nevertheless, it's possible to use some bits of it, as we prefer the + core keyboard events to the XInput events, thus at least having proper + handling for X11 key events on the Stage window. + + clutter/x11/clutter-backend-x11.c | 2 -- + clutter/x11/clutter-event-x11.c | 28 ++++++++++++++++++++++++++-- + clutter/x11/clutter-input-device-x11.c | 21 ++++++++++++++------- + tests/interactive/test-devices.c | 12 +++++++----- + 4 files changed, 47 insertions(+), 16 deletions(-) + +commit 94f9f3bd9345d8eb1551c429615473134e3f4e8f +Author: Emmanuele Bassi +Date: Fri Jan 15 16:28:00 2010 +0000 + + x11: Always handle core device events before XI events + + The XI 1.0 layer is complementary to the X11 core devices handling; this + means that core events will still be emitted for the core pointer and + keyboard devices, and that secondary (floating) devices should be + handled on top of that. + + Thus, the XI event handling code should be executed (if explicitly + compiled in and enabled) if the core device events have not been parsed. + + Note: this is going away with XI2, which completely replaces both core and + XI1 events. + + clutter/x11/clutter-event-x11.c | 499 ++++++++++++++++++---------------------- + 1 file changed, 224 insertions(+), 275 deletions(-) + +commit dc39e9eff9de0797086ea1a505855724296981f7 +Author: Emmanuele Bassi +Date: Fri Jan 15 15:29:52 2010 +0000 + + docs: Documentation fixes for DeviceManager + + clutter/clutter-device-manager.c | 7 ++++++- + doc/reference/clutter/clutter-sections.txt | 2 -- + doc/reference/clutter/clutter.types | 2 ++ + 3 files changed, 8 insertions(+), 3 deletions(-) + +commit 65c7ff7d05389a10eed1d881ca572082f03932fe +Author: Emmanuele Bassi +Date: Fri Jan 15 15:29:14 2010 +0000 + + device-manager: Fix the signals definition + + Add documentation for the signals, as well as using the correct type for + the marshallers. + + clutter/clutter-device-manager.c | 26 +++++++++++++++++++++++--- + 1 file changed, 23 insertions(+), 3 deletions(-) + +commit 0b47acf60b46b64ae838471765d86e1c65c01cc0 +Author: Emmanuele Bassi +Date: Fri Jan 15 14:56:43 2010 +0000 + + docs: Add sections for InputDevice and DeviceManager + + doc/reference/clutter/clutter-docs.xml.in | 2 ++ + 1 file changed, 2 insertions(+) + +commit 8ead5abba0ebe9c5b5c1b749bb28f7879d63aa49 +Author: Emmanuele Bassi +Date: Fri Jan 15 14:42:19 2010 +0000 + + docs: Add clutter_input_device_get_device_name() + + doc/reference/clutter/clutter-sections.txt | 1 + + 1 file changed, 1 insertion(+) + +commit 1f5a7b61b761bf8426b1229c481574c273a5964f +Author: Emmanuele Bassi +Date: Fri Jan 15 12:24:21 2010 +0000 + + tests: Print out the device details on motion + + The test-device interactive test should print out the device name and id + when it detects a motion event. + + tests/interactive/test-devices.c | 31 ++++++++++++++++++++++++++++++- + 1 file changed, 30 insertions(+), 1 deletion(-) + +commit d8e167f1519499a27ee04a9a0d167b5ffed3ce8e +Author: Emmanuele Bassi +Date: Fri Jan 15 12:22:29 2010 +0000 + + Always register core devices + + Even with XInput support we should always register core devices. This + allows us to handle enter and leave events correctly on the Stage and + to have a working XInput 1.x support in Clutter. + + clutter/x11/clutter-backend-x11.c | 87 +++++++++++----------------------- + clutter/x11/clutter-backend-x11.h | 1 + + clutter/x11/clutter-event-x11.c | 47 +++++++++++++++++- + clutter/x11/clutter-input-device-x11.c | 14 +++--- + 4 files changed, 82 insertions(+), 67 deletions(-) + +commit e0b8d631593c0539c47de0158d5425391d7cdbc0 +Author: Emmanuele Bassi +Date: Fri Jan 15 11:52:27 2010 +0000 + + device: Remove unused is_default member + + The is_default member of the InputDevice structure was not used + anywhere. + + clutter/clutter-private.h | 2 -- + clutter/x11/clutter-backend-x11.c | 11 ++--------- + 2 files changed, 2 insertions(+), 11 deletions(-) + +commit 74dbcede25c9dee5b40cb057a26263d580800e7e +Author: Emmanuele Bassi +Date: Fri Jan 15 11:47:05 2010 +0000 + + win32: Experimental implementation of device support + + Mostly lifted from the core pointer and keyboard X11 backend support. + + The win32 backend registers two devices (a core pointer and a core + keyboard) and assigns them to the event structure when doing the + translation from native events to Clutter events. + + Thanks to: Samuel Degrande for testing this + patch. + + clutter/win32/clutter-backend-win32.c | 23 +++++++++++++++ + clutter/win32/clutter-backend-win32.h | 3 ++ + clutter/win32/clutter-event-win32.c | 55 ++++++++++++++++++++++------------- + 3 files changed, 61 insertions(+), 20 deletions(-) + +commit 850dd5a38fe17e82b16e19144db4ac516e349dbb +Author: Emmanuele Bassi +Date: Fri Jan 15 11:40:01 2010 +0000 + + tests: Print the device name, as well as its Id + + The test-devices interactive test should display the device name along + with the id. + + tests/interactive/test-devices.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 66740e8000ea92b04da663a0d2ce890271d2af2f +Author: Emmanuele Bassi +Date: Fri Jan 15 11:38:58 2010 +0000 + + x11: Fill out the :name property of the InputDevices + + For the core pointer and keyboard we assign the names ourselves; for + devices coming from XI we can use the XDeviceInfo.name member. + + clutter/x11/clutter-backend-x11.c | 5 ++++- + clutter/x11/clutter-event-x11.c | 9 ++++++--- + 2 files changed, 10 insertions(+), 4 deletions(-) + +commit cf4e05930a1243f9b58617a4a50833d5bab705b1 +Author: Emmanuele Bassi +Date: Fri Jan 15 11:37:43 2010 +0000 + + device: Add the :name property to InputDevice + + The InputDevice should have a name, possibly user readable, coming from + the backend. + + clutter/clutter-input-device.c | 46 +++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-input-device.h | 6 +++--- + clutter/clutter-private.h | 9 +++++++++ + 3 files changed, 57 insertions(+), 4 deletions(-) + +commit 79ad2b6a72bd91273e139e72af36d9b6db264001 +Author: Emmanuele Bassi +Date: Fri Jan 15 11:21:52 2010 +0000 + + x11: Store core devices on the X11 Backend singleton + + Instead of overloading the device id of 0 and 1 we should treat the core + devices as special, and have a pointer inside the X11 backend singleton + structure, for fast access. + + clutter/x11/clutter-backend-x11.c | 8 +++-- + clutter/x11/clutter-backend-x11.h | 3 ++ + clutter/x11/clutter-event-x11.c | 13 +++---- + clutter/x11/clutter-input-device-x11.c | 63 ++++++++++++++++++++++++++++++++++ + 4 files changed, 77 insertions(+), 10 deletions(-) + +commit 8a579838d54d2b6f552fd32d9772f6e04f178179 +Author: Emmanuele Bassi +Date: Thu Jan 14 17:14:33 2010 +0000 + + device: Unset the cursor actor when leaving the stage + + When an InputDevice leaves a stage we set the stage member of + InputDevice to NULL. We should also unset the cursor_actor (as the + device is obviously not on an actor any more). + + When the device re-enters the Stage the ENTER/LEAVE event generation + machinery will then be able to emit the ENTER event on the Stage. + + clutter/clutter-input-device.c | 43 +++++++++++++++++++++++++++--------------- + 1 file changed, 28 insertions(+), 15 deletions(-) + +commit 55e4315aa5889185a055f3ab2d5b5d4c9cae4dc4 +Author: Emmanuele Bassi +Date: Tue Jan 12 11:53:12 2010 +0000 + + device: Add pointer actor getter + + ClutterInputDevice should have a getter method for retrieving the + reactive actor underneath the pointer. + + clutter/clutter-input-device.c | 37 ++++++++++++++++++++++++++++++ + clutter/clutter-input-device.h | 3 ++- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 40 insertions(+), 1 deletion(-) + +commit 25c6ebbb2c70af7f268036b10dcd8d4a965c34c3 +Author: Emmanuele Bassi +Date: Wed Dec 9 00:03:13 2009 +0000 + + x11: Discard the LeaveNotify for off-stage ButtonRelease + + If the user presses a button on a pointer device and then moves out the + Stage X11 will emit the following events: + + LeaveNotify ➔ MotionNotify ... ➔ ButtonRelease ➔ LeaveNotify + + The second LeaveNotify differs from the first by the state field. + + Unfortunately, ClutterCrossingEvent doesn't have a modifier_state field + like other events, so we cannot provide a way for programmatically + distinguishing them from a Clutter perspective. This is also an X11-ism + we might not even want to replicate on every backend with sane + enter/leave semantics. + + For this reason we should check inside the X11 event processing if the + pointer device has already left the Stage and ignore the second + LeaveNotify. + + clutter/x11/clutter-event-x11.c | 58 ++++++++++++++++++++++++----------------- + 1 file changed, 34 insertions(+), 24 deletions(-) + +commit 8736b53d7cc6fd2b53649c076ef09cb69f9b37d6 +Author: Emmanuele Bassi +Date: Wed Dec 9 00:01:50 2009 +0000 + + device: Do not overwrite the stage for an InputDevice + + The Stage field of an InputDevice is set by the backend, whenever the + pointer enters or leaves the Stage. The Stage should not overwrite the + stage field for every event it processes. + + clutter/clutter-stage.c | 1 - + 1 file changed, 1 deletion(-) + +commit cf287db2048eae5eaa58a9cbffd42c703f345ff5 +Author: Emmanuele Bassi +Date: Wed Dec 9 00:00:49 2009 +0000 + + event: Off-stage button releases have a click count of 1 + + The ButtonRelease off-stage should not have a click count of 0 but a + click count initialized to 1. + + clutter/clutter-main.c | 1 + + 1 file changed, 1 insertion(+) + +commit bddabf6d2ca100f4d91461129d4bb097c59ac666 +Author: Emmanuele Bassi +Date: Tue Dec 8 23:59:56 2009 +0000 + + event: Scroll events do not have click count + + Remove the unneeded CLUTTER_SCROLL case from the click count checks. + + clutter/clutter-main.c | 1 - + 1 file changed, 1 deletion(-) + +commit e30856a54d5d1e012cd2de30e519a487fd0b4f46 +Author: Emmanuele Bassi +Date: Tue Dec 8 18:33:01 2009 +0000 + + Whitespace and indentation fixes + + clutter/x11/clutter-event-x11.c | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit 0f9cfd9911c21933b34c07a9616f79022bcc01e3 +Author: Emmanuele Bassi +Date: Mon Dec 7 23:13:52 2009 +0000 + + event: Clean up click-count detection + + Avoid a few indirections and direct access to the Event and InputDevice + structures. + + clutter/clutter-main.c | 65 ++++++++++++++++++++++++++++++++++---------------- + 1 file changed, 45 insertions(+), 20 deletions(-) + +commit cf8a06f0186e44b3437b06c56c088e8dc465402b +Author: Emmanuele Bassi +Date: Mon Dec 7 23:05:20 2009 +0000 + + device: Store the current state, not the previous + + The previous state for the device is used by the click count machinery + and we should not be overwriting it at every event; instead, we should + use a parallel storage for the current state coming from the windowing + system. + + clutter/clutter-input-device.c | 34 +++++++++++++++++----------------- + clutter/clutter-private.h | 7 +++++++ + 2 files changed, 24 insertions(+), 17 deletions(-) + +commit 68b47e3ed479242a94f7a8d302a2900f7e28c840 +Author: Emmanuele Bassi +Date: Mon Dec 7 23:02:48 2009 +0000 + + tests: Fix test-events output + + • The enter/leave event line should take into account the case where + the related field is set to NULL (meaning entering from off-stage + and leaving the stage). + + • The ButtonRelease line shows the click count but uses the button; the + button *and* the click count should be displayed for both ButtonPress + and ButtonRelease, to verify they match. + + tests/interactive/test-events.c | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +commit b3a42c3b09e256732395f7c63c4a39956d32d3da +Author: Emmanuele Bassi +Date: Mon Dec 7 18:38:18 2009 +0000 + + docs: Update the API reference + + Add the new symbols for InputDevice and DeviceManager + + clutter/clutter-device-manager.c | 2 +- + clutter/clutter-device-manager.h | 2 +- + clutter/clutter-main.c | 4 +-- + doc/reference/clutter/clutter-sections.txt | 49 +++++++++++++++++++++++++++--- + 4 files changed, 49 insertions(+), 8 deletions(-) + +commit 130286979d04128b51fa8662aa13b6bbd1867ca2 +Author: Emmanuele Bassi +Date: Tue Nov 24 17:54:02 2009 +0000 + + Do not pick when motion event delivery is disabled + + The device manager does not need to update the state of the devices + when the user has disabled the delivery of motion events to actors: + the events will always be delivered as they are to the stage. + + clutter/clutter-device-manager.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 687c70dffa70a3256e9f734b090cb4a088e97bb1 +Author: Emmanuele Bassi +Date: Tue Nov 24 16:33:03 2009 +0000 + + Rework the emission of LEAVE/ENTER event pairs + + The LEAVE/ENTER event pairs should be queued during the InputDevice + update process, when we change the actor under the device pointer. + + This commit cleans up the event emission code inside clutter-main.c + and the logic of the event processing. + + clutter/clutter-device-manager.c | 4 +- + clutter/clutter-input-device.c | 81 +++++++++++++++-- + clutter/clutter-main.c | 190 ++++++--------------------------------- + clutter/clutter-private.h | 2 - + 4 files changed, 104 insertions(+), 173 deletions(-) + +commit 75f05646fa117b8096e033f9fad0ba9de1ee01ac +Author: Emmanuele Bassi +Date: Tue Nov 24 16:31:14 2009 +0000 + + tests: Clean up test-events + + The output of test-events is a bit of a mess; this patch should clean + it up a little bit - at least enough for it to be useful again during + visual inspection. + + tests/interactive/test-events.c | 101 ++++++++++++++++++++++++---------------- + 1 file changed, 60 insertions(+), 41 deletions(-) + +commit a056ae716442e07e50ebd07cbca030776a5b3c28 +Author: Emmanuele Bassi +Date: Tue Nov 24 16:22:44 2009 +0000 + + Add docs and licensing notices + + clutter/clutter-device-manager.c | 125 ++++++++++++++++++++++++++++++++++++++- + clutter/clutter-device-manager.h | 29 +++++++++ + clutter/clutter-input-device.c | 109 +++++++++++++++++++++++++++++++++- + clutter/clutter-input-device.h | 31 ++++++++++ + 4 files changed, 288 insertions(+), 6 deletions(-) + +commit 9506510d1cf794ef530f6c4db45103efb60cca63 +Author: Emmanuele Bassi +Date: Fri Jan 8 17:51:00 2010 +0000 + + Move all picking-related operations inside InputDevice + + The InputDevice objects stores pointer coordinates, state, stage and + the actor under the cursor, so if the current backend provides us with + one attached to the Event structure then we want the InputDevice itself + to update its state and give us the ClutterActor underneath the + pointer's cursor. + + clutter/clutter-device-manager.c | 24 +++++++++++ + clutter/clutter-event.c | 36 ---------------- + clutter/clutter-input-device.c | 91 ++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-input-device.h | 7 +++- + clutter/clutter-main.c | 60 +++++++++++++++----------- + clutter/clutter-master-clock.c | 7 ++-- + clutter/clutter-private.h | 36 ++++++++++------ + clutter/clutter-stage.c | 28 +++++++++++-- + clutter/x11/clutter-event-x11.c | 36 ++++++++++------ + 9 files changed, 225 insertions(+), 100 deletions(-) + +commit 1f87cac0695dc95be4ed0219752d454d9a285e50 +Author: Emmanuele Bassi +Date: Tue Nov 24 12:53:57 2009 +0000 + + actor: Add :has-pointer property + + ClutterActor should be able to tell whether a pointer is within + its area or not. + + clutter/clutter-actor.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 1 + + clutter/clutter-private.h | 3 +++ + 3 files changed, 63 insertions(+), 1 deletion(-) + +commit d23dd9af6bf48c3c02f685505a5a34b477d4d2b3 +Author: Emmanuele Bassi +Date: Mon Nov 23 16:07:16 2009 +0000 + + device: Make InputDevice an object and subclass it for X11 + + ClutterInputDevice should be a type that we can subclass per-backend + to add functionality. + + clutter/Makefile.am | 2 + + clutter/clutter-event.h | 35 +------ + clutter/clutter-input-device.c | 175 +++++++++++++++++++++++++++++++++ + clutter/clutter-input-device.h | 64 ++++++++++++ + clutter/clutter-main.c | 34 +++---- + clutter/clutter-private.h | 19 +++- + clutter/clutter.h | 1 + + clutter/x11/Makefile.am | 2 + + clutter/x11/clutter-backend-x11.c | 141 ++++++-------------------- + clutter/x11/clutter-input-device-x11.c | 151 ++++++++++++++++++++++++++++ + clutter/x11/clutter-input-device-x11.h | 25 +++++ + 11 files changed, 484 insertions(+), 165 deletions(-) + +commit d5331bfb5786b496cfcab925319711853db2f1d3 +Author: Emmanuele Bassi +Date: Fri Nov 20 16:37:58 2009 +0000 + + tests: Update the devices test + + Use the DeviceManager API instead of the X11 specific API. + + tests/interactive/test-devices.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 157da20e86f88bf906f0b59bafbea171a2e5e678 +Author: Emmanuele Bassi +Date: Fri Nov 20 16:24:16 2009 +0000 + + x11: Always assign a device to pointer and key events + + Even when we are not using XInput we now have fallback devices; the + X11 backend should always assign the default devices when translating + the X events to Clutter events. + + clutter/x11/clutter-event-x11.c | 37 ++++++++++++++++++++++++++++--------- + 1 file changed, 28 insertions(+), 9 deletions(-) + +commit ca16446319b6281cf63edf3b1b6d7d4f8d41e499 +Author: Emmanuele Bassi +Date: Fri Nov 20 15:43:50 2009 +0000 + + Add :is-default flag to InputDevice + + clutter/clutter-private.h | 2 ++ + clutter/x11/clutter-backend-x11.c | 9 ++++++++- + 2 files changed, 10 insertions(+), 1 deletion(-) + +commit 3027d4327ae0c5d9bb7cc831f24d5ee5e8fb107f +Author: Emmanuele Bassi +Date: Fri Nov 20 15:36:43 2009 +0000 + + Port the X11 backend to the Device Manager + + Use the device manager to store the input devices. Also, provide + two fallback devices when initializing the X11 backend: device 0 + for the pointer and device 1 for the keyboard. + + clutter/clutter-private.h | 3 - + clutter/x11/clutter-backend-x11.c | 514 +++++++++++++++++++------------------- + clutter/x11/clutter-backend-x11.h | 6 - + clutter/x11/clutter-event-x11.c | 5 +- + clutter/x11/clutter-x11.h | 2 + + 5 files changed, 256 insertions(+), 274 deletions(-) + +commit d34f1aa775e8a66bd0e599b32c761869b319c639 +Author: Emmanuele Bassi +Date: Fri Nov 20 15:35:40 2009 +0000 + + Add ClutterDeviceManager + + The ClutterDeviceManager is a singleton object that behaves like the + StageManager: it holds all input devices and notifies on addition and + removal. + + clutter/Makefile.am | 6 +- + clutter/clutter-device-manager.c | 146 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-device-manager.h | 30 ++++++++ + clutter/clutter-main.c | 30 ++++---- + clutter/clutter-marshal.list | 1 + + clutter/clutter-private.h | 43 ++++++++---- + clutter/clutter.h | 1 + + 7 files changed, 224 insertions(+), 33 deletions(-) + +commit 1ef40b882349820d5edb2f1ed8885c3386d2cdf7 +Author: Neil Roberts +Date: Tue Jan 19 17:14:58 2010 +0000 + + test-cogl-npot-texture: Use the COGL_TEXTURE_NO_ATLAS flag + + If the texture is put in the atlas it won't be sliced whatever size it + is so it negates the test. We can avoid this with the NO_ATLAS flag. + + tests/conform/test-cogl-npot-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 08b8b2791f91770d1a6e7aff163167d003b0fad3 +Author: Neil Roberts +Date: Tue Jan 19 17:06:28 2010 +0000 + + cogl-atlas-texture: Don't create atlas textures with the premult bit + + Previously the atlas textures were being created with whatever format + the first sub texture is in. Only three formats are supported so this + only matters if the first texture is a premultiplied alpha + texture. Instead it now masks out the premultiplied bit so that the + textures are always either RGB_888 or RGBA_8888. + + clutter/cogl/cogl/cogl-atlas-texture.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 14a28620ae13ef041696e2e3747ec00738cfd2bd +Author: Neil Roberts +Date: Fri Jan 15 22:56:37 2010 +0000 + + win32: Use an invisible cursor when cursor-visible is FALSE + + The win32 backend now handles the WM_SETCURSOR message and sets a + fully transparent cursor if the cursor-visible property has been + cleared on the stage. The icon is stored in the library via a resource + file. The instance handle for the DLL is needed to load the resource + so there is now a DllMain function to grab the handle. + + clutter/Makefile.am | 21 +++++++++++++++- + clutter/win32/Makefile.am | 2 +- + clutter/win32/clutter-backend-win32.c | 25 +++++++++++++++++++ + clutter/win32/clutter-backend-win32.h | 4 ++++ + clutter/win32/clutter-event-win32.c | 14 +++++++++++ + clutter/win32/clutter-stage-win32.c | 44 ++++++++++++++++++++++++++++++---- + clutter/win32/clutter-stage-win32.h | 2 ++ + clutter/win32/invisible-cursor.cur | Bin 0 -> 86 bytes + clutter/win32/resources.rc | 1 + + configure.ac | 7 ++++++ + 10 files changed, 113 insertions(+), 7 deletions(-) + +commit 4db89759a0aa91b353ac0bb41562addfff6d76c9 +Author: Neil Roberts +Date: Mon Jan 18 17:33:08 2010 +0000 + + Post-release version bump to 1.1.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 07ff8d26f8097a00757e6e3cfcd587bce188ae0d +Author: Neil Roberts +Date: Mon Jan 18 15:44:58 2010 +0000 + + Release Clutter 1.1.6 + + NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 50 insertions(+), 1 deletion(-) + +commit 8daff42b3bcc9d59d7c87801b3926d8ed7c105a4 +Author: Neil Roberts +Date: Mon Jan 18 15:43:25 2010 +0000 + + README: Clarify the required OpenGL version + + Cogl will not allow OpenGL 1.2 if it doesn't have the multitexturing + extension so we should make this clear in the README. + + README | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit fa51ff25d3555ce938922d7bbd64acb12140a774 +Author: Neil Roberts +Date: Mon Jan 18 13:56:56 2010 +0000 + + Add build/mingw/{README,mingw-cross-compile.sh} to the dist tarball + + It's quite difficult to get git working on Windows so it makes sense + to put the build instructions somewhere accessible. + + build/Makefile.am | 2 +- + build/mingw/Makefile.am | 1 + + configure.ac | 1 + + 3 files changed, 3 insertions(+), 1 deletion(-) + +commit ff1d9cf090aef74efa1ec04b8cd490a45b148ae4 +Author: Neil Roberts +Date: Mon Jan 18 12:42:20 2010 +0000 + + test-texture-fbo: Disconnect the paint handler for the stage + + Otherwise the paint handler will still be run for the subsequent + tests. This ends up writing to the ‘state’ variable which used to be + on the stack so it will end up corrupting some stack variable. This + was causing test-cogl-premult to fail. + + tests/conform/test-texture-fbo.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit ce030a3fce362cf4238d361743aaf9027ceed95a +Author: Neil Roberts +Date: Mon Jan 18 12:35:05 2010 +0000 + + clutter-group: Use g_list_foreach in clutter_group_real_foreach + + g_list_foreach has better protection against the current node being + removed. This will happen for example if someone calls + clutter_container_foreach(container, clutter_actor_destroy). This was + causing valgrind errors for the conformance tests which do just that. + + clutter/clutter-group.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit c4adefffd34d91fdf72365a6d11641f3c9f751cc +Author: Neil Roberts +Date: Mon Jan 18 10:53:00 2010 +0000 + + cogl-atlas-texture: Fix premultiplied texture formats + + When uploading texture data it was just calling cogl_texture_set_data + on the large texture. This would attempt to convert the data to the + format of the large texture. All of the textures with alpha channels + are stored together regardless of whether they are premultiplied so + this was causing premultiplied textures to be unpremultiplied + again. It now just uploads the data ignoring the premult bit of the + format so that it only gets converted once. + + clutter/cogl/cogl/cogl-atlas-texture.c | 232 ++++++++++++++++++++++----------- + 1 file changed, 158 insertions(+), 74 deletions(-) + +commit b78024bd2dbf39cb86a1c1458e477af9c9353d9e +Author: Neil Roberts +Date: Thu Jan 14 17:57:43 2010 +0000 + + cogl-primitives: Ensure the mipmaps for a layer before logging quads + + With the atlas texture backend ensuring the mipmaps can make it become + a completely different texture which will have different texture + coordinates or may even be sliced. Therefore we need to ensure the + mipmaps before deciding which quads to log in the journal. This adds a + new private function to cogl-material which ensures the mipmaps if + needed. + + clutter/cogl/cogl/cogl-material-private.h | 6 ++++++ + clutter/cogl/cogl/cogl-material.c | 19 +++++++++++++++---- + clutter/cogl/cogl/cogl-primitives.c | 6 ++++++ + 3 files changed, 27 insertions(+), 4 deletions(-) + +commit 36f18e5ac57e068c3987d5b705f68fcc6f18d472 +Author: Neil Roberts +Date: Mon Jan 18 09:22:04 2010 +0000 + + cogl: Make CoglSubTexture only work for quad rendering + + The sub texture backend doesn't work well as a completely general + texture backend because for example when rendering with cogl_polygon + it needs to be able to tranform arbitrary texture coordinates without + reference to the other coordintes. This can't be done when the texture + coordinates are a multiple of one because sometimes the coordinate + should represent the left or top edge and sometimes it should + represent the bottom or top edge. For example if the s coordinates are + 0 and 1 then 1 represents the right edge but if they are 1 and 2 then + 1 represents the left edge. + + Instead the sub-textures are now documented not to support coordinates + outside the range [0,1]. The coordinates for the sub-region are now + represented as integers as this helps avoid rounding issues. The + region can no longer be a super-region of the texture as this + simplifies the code quite a lot. + + There are two new texture virtual functions: + + transform_quad_coords_to_gl - This transforms two pairs of coordinates + representing a quad. It will return FALSE if the coordinates can + not be transformed. The sub texture backend uses this to detect + coordinates that require repeating which causes cogl-primitives + to use manual repeating. + + ensure_non_quad_rendering - This is used in cogl_polygon and + cogl_vertex_buffer to inform the texture backend that + transform_quad_to_gl is going to be used. The atlas backend + migrates the texture out of the atlas when it hits this. + + clutter/cogl/cogl/cogl-atlas-texture.c | 57 ++- + clutter/cogl/cogl/cogl-primitives.c | 21 +- + clutter/cogl/cogl/cogl-sub-texture-private.h | 15 +- + clutter/cogl/cogl/cogl-sub-texture.c | 498 +++++++++------------------ + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 21 ++ + clutter/cogl/cogl/cogl-texture-2d.c | 17 + + clutter/cogl/cogl/cogl-texture-private.h | 10 + + clutter/cogl/cogl/cogl-texture.c | 33 +- + clutter/cogl/cogl/cogl-texture.h | 22 +- + clutter/cogl/cogl/cogl-vertex-buffer.c | 5 + + tests/conform/test-cogl-sub-texture.c | 81 ++--- + tests/conform/test-conform-main.c | 2 +- + 12 files changed, 348 insertions(+), 434 deletions(-) + +commit 3d373c7278c47b18576edc8c8a0074654ce4a60e +Author: Samuel Degrande +Date: Fri Nov 27 16:53:50 2009 +0100 + + win32: Fix computation of the fullscreen size during stage realization + + http://bugzilla.openedhand.com/show_bug.cgi?id=1905 + + Signed-off-by: Neil Roberts + + clutter/win32/clutter-stage-win32.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 12a9150f5b455e5700c745de4ad1ac5f2e43631f +Author: Emmanuele Bassi +Date: Fri Jan 15 17:32:46 2010 +0000 + + docs: Clarify usage of UTF-8 or ASCII art in commit messages + + doc/HACKING | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ea662b9ecaf1dd956f0cdc79ce04880270bf99de +Author: Emmanuele Bassi +Date: Fri Jan 15 17:06:56 2010 +0000 + + docs: Display the features section + + The features section of the API reference is built but not used, and it + has some copy-and-paste errors. + + clutter/clutter-feature.c | 11 +++++++++-- + clutter/clutter-feature.h | 8 -------- + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 2 +- + 4 files changed, 11 insertions(+), 11 deletions(-) + +commit cdfd9eb212829df0408431673bedfbe6b566fefe +Author: Emmanuele Bassi +Date: Fri Jan 15 14:50:06 2010 +0000 + + Add test-cogl-texture-mipmaps to the Git ignore file + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit e019547e8c7d110332a9ba071737736a059f5b4b +Author: Emmanuele Bassi +Date: Fri Jan 15 14:48:42 2010 +0000 + + x11: Fix typo in clutter_x11_set_use_argb_visual() declaration + + The function should have a lowercase x11, not an uppercase X11 in its + name. + + clutter/x11/clutter-x11.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 148145ea1ad24fb1ceca3229c4cae9c7c5755f75 +Author: Emmanuele Bassi +Date: Fri Jan 15 14:47:20 2010 +0000 + + docs: Ignore clutter-profile.h + + doc/reference/clutter/Makefile.am | 57 ++++++++++++++++++++------------------- + 1 file changed, 29 insertions(+), 28 deletions(-) + +commit b844653c649277eed63b6a85d29b84aab8abe641 +Author: Neil Roberts +Date: Mon Jan 11 16:23:38 2010 +0000 + + cogl-texture: Fix manual repeating for negative coordinates + + When calculating the next integer position for negative coordinates it + would not increment if the position is already a multiple of one so we + need to manually add one. + + clutter/cogl/cogl/cogl-texture.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit a01b4eefceb1d490d918eba1729c87354695d1ca +Author: Neil Roberts +Date: Mon Jan 11 16:21:56 2010 +0000 + + cogl-texture-2d: Fix the coordinate wrapping for negative coordinates + + The formula to wrap the coordinates to the [0,1] range was broken when + the coordinates were negative. + + clutter/cogl/cogl/cogl-texture-2d.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ead43995364bb8865ca5bab15d1bfd295578fff4 +Merge: 34b50934b a70ebe4f5 +Author: Neil Roberts +Date: Fri Jan 15 12:15:46 2010 +0000 + + Merge branch 'master' into more-texture-backends + +commit a70ebe4f52e192c11f8db6a4fa1f419a5b175ab3 +Author: Neil Roberts +Date: Fri Jan 15 12:02:09 2010 +0000 + + tests: Add a simple conformance test for texture mipmaps + + This adds a test which renders a texture into a 1x1 pixel quad with + and without filters that use mipmaps. The pixel without mipmaps will + be one of the colors from the texture and the one with will be the + average of all the pixels in the texture. + + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-texture-mipmaps.c | 147 ++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 149 insertions(+) + +commit ba4622ff8bd1abde577fa26637fd1afec1b3abd6 +Author: Emmanuele Bassi +Date: Thu Jan 14 15:23:41 2010 +0000 + + Add a notice of deprecation in the pre-Git ChangeLog + + ChangeLog.pre-git-import | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 8247bdf4f9b940fe69165ae6556511fcc9ca3a5d +Author: Neil Roberts +Date: Tue Jan 12 21:44:40 2010 +0000 + + cogl-framebuffer: Return gboolean from try_creating_fbo + + When try_creating_fbo fails it returns 0 to report the error and if it + succeeds it returns ‘flags’. However cogl_offscreen_new_to_texture + also passes in 0 for the flags as the last fallback to create the fbo + with nothing but the color buffer. In that case it will return 0 + regardless of whether it succeeded so the last fallback will always be + considered a failure. + + To fix this it now just returns a gboolean to indicate whether it + succeeded and the flags used for each attempt is assigned when passing + the argument rather than from the return value of the function. + + Also if the only configuration that succeeded was with flags==0 then + it would always try all combinations because last_working_flags would + also be zero. To avoid this it now uses a separate gboolean to mark + whether we found a successful set of flags. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1873 + + clutter/cogl/cogl/cogl-framebuffer.c | 56 ++++++++++++++++++------------------ + 1 file changed, 28 insertions(+), 28 deletions(-) + +commit c6ce9c338966188248c3c1ae7b10480205fe20bf +Author: Emmanuele Bassi +Date: Thu Jan 14 14:07:04 2010 +0000 + + conform: Add operators tests for ClutterColor + + The clutter_color_add() and clutter_color_subtract() functions are + lacking unit testing to catch eventual regressions. + + .gitignore | 1 + + tests/conform/test-color.c | 57 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 59 insertions(+) + +commit 4388509a1589dbac7aae0ebe5995ca0e06f7c70c +Author: Emmanuele Bassi +Date: Thu Jan 14 12:28:07 2010 +0000 + + master-clock: Add profiling timers + + Use the newly-added profiling timers inside the master clock dispatch + function to see how much time we spend: + + • in the whole function + • in the event processing for each stage + • in the timeline advancement + + clutter/clutter-master-clock.c | 31 +++++++++++++++++++++++++++++++ + 1 file changed, 31 insertions(+) + +commit 6e82d11daf8b1d7259c26e6a0816392a71c726f3 +Author: Emmanuele Bassi +Date: Wed Jan 13 17:31:13 2010 +0000 + + units: Improve coverage of clutter_units_from_string() + + Add a unit for an empty string as well as units for the missing unit + types like cm, mm and px. + + tests/conform/test-clutter-units.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit ed735ae730ea2140ef4d1be9d1947dbdce8b1f28 +Author: Emmanuele Bassi +Date: Wed Jan 13 16:57:55 2010 +0000 + + Add test-cogl-multitexture to the Git ignore file + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit a076e0e11d222ca17dbdbadb3aa2c762d32a5730 +Author: Emmanuele Bassi +Date: Wed Jan 13 16:35:53 2010 +0000 + + build: Add a script to format gcov report lines + + Instead of using echo let's try Perl and the format() built-in. + + build/Makefile.am | 2 ++ + build/autotools/Makefile.am.gcov | 2 +- + build/gen-gcov.pl | 44 ++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 47 insertions(+), 1 deletion(-) + +commit 948db40c875f8eb7032582a32515737be6587067 +Author: Emmanuele Bassi +Date: Mon Jan 4 14:53:03 2010 +0000 + + Add gcov support to the build + + Using gcov it's possible to get a coverage report, that is a break down + of how much the exposed API is exercised by the conformance test suite. + + .gitignore | 2 ++ + Makefile.am | 3 +++ + build/autotools/Makefile.am | 1 + + build/autotools/Makefile.am.gcov | 33 +++++++++++++++++++++++++++++++++ + clutter/Makefile.am | 20 +++++++++++--------- + configure.ac | 26 ++++++++++++++++++++++++++ + 6 files changed, 76 insertions(+), 9 deletions(-) + +commit 5322546a4e2100bcec8aba651f8de7d849d67711 +Author: Emmanuele Bassi +Date: Wed Jan 13 15:40:36 2010 +0000 + + build: Clean up COGL build flags + + clutter/cogl/cogl/Makefile.am | 53 +++++++++++++++++++++---------------------- + 1 file changed, 26 insertions(+), 27 deletions(-) + +commit 18d96005ec4d1395d70d71f2bef6cc378f4afb43 +Author: Damien Lespiau +Date: Mon Nov 2 17:08:55 2009 +0000 + + texture: Remove reading the texture data back in ::unrealize() + + Reading back the texture data in unrealize does not seem like a + desirable feature any more, clutter has evolved a lot since it was + implemented. + + What's wrong with it now: + + * It takes *a lot* of time to read the data back with glReadPixel(), + * When several textures share the same CoglTexture, the same data can + be read back multiple times, + * If the underlying material uses multiple texture units, only the + first one was copied back, + * In ClutterCairoTexture, we end up having two separate copies of the + data, + * GL actually manages texture memory accross system/video memory + for us! + + For all the reasons above, let's get rid of the glReadPixel() in + Texture::unrealize() + + Fixes: OHB#1842 + + clutter/clutter-texture.c | 163 +++------------------------------------------- + 1 file changed, 8 insertions(+), 155 deletions(-) + +commit 778e08e4e24822b0875e6aeaf168cb5cecfc8a7f +Author: Neil Roberts +Date: Tue Jan 12 14:49:55 2010 +0000 + + cogl-framebuffer: Add some missing GL defines + + Since 755cce33a7 the framebuffer code is using the GL enums + GL_DEPTH_ATTACHMENT and GL_DEPTH_COMPONENT16. These aren't available + directly under GLES except with the OES suffix so we need to define + them manually as we do with the other framebuffer constants. + + clutter/cogl/cogl/cogl-framebuffer.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit bb8352ca95f18ca5582abb97e20e78f69300adde +Author: Neil Roberts +Date: Tue Jan 12 14:43:36 2010 +0000 + + cogl: Remove the CGL_* defines + + These macros used to define Cogl wrappers for the GLenum values. There are + now Cogl enums everywhere in the API where these were required so we + shouldn't need them anymore. They were in the public headers but as + they are not neccessary and were not in the API docs for Clutter 1.0 + it should be safe to remove them. + + clutter/cogl/cogl/cogl-material.c | 10 +- + clutter/cogl/cogl/cogl-primitives.c | 2 +- + clutter/cogl/cogl/cogl-shader.h | 2 +- + clutter/cogl/cogl/cogl-texture.h | 7 +- + clutter/cogl/cogl/driver/gl/cogl-defines.h.in | 655 --------------------- + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 2 +- + clutter/cogl/cogl/driver/gles/cogl-defines.h.in | 597 ------------------- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 4 +- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 65 +- + clutter/glx/clutter-glx-texture-pixmap.c | 8 +- + 10 files changed, 55 insertions(+), 1297 deletions(-) + +commit 1c6ffc8a238e5e7de429f35f7653695d91d9d26d +Author: Emmanuele Bassi +Date: Tue Jan 12 15:44:28 2010 +0000 + + stage: Add the delete-event signal + + Using the ::event signal to match the CLUTTER_DELETE event type (and + block the stage destruction) can be costly, since it means checking + every single event. + + The ::delete-event signal is similar in spirit to any other specialized + signal handler dealing with events, and retains the same semantics. + + clutter/clutter-main.c | 9 +-------- + clutter/clutter-stage.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-stage.h | 6 +++++- + 3 files changed, 54 insertions(+), 10 deletions(-) + +commit 8b950bdc87fae2626af8a96916b7f51fdea40a17 +Author: Robert Bragg +Date: Tue Jan 12 11:02:09 2010 +0000 + + journal: Fixes logging of multiple sets of texture coordinates + + If a user supplied multiple groups of texture coordinates with + cogl_rectangle_with_multitexture_coords() then we would repeatedly log only + the first group in the journal. This fixes that bug and adds a conformance + test to verify the fix. + + Thanks to Gord Allott for reporting this bug. + + clutter/cogl/cogl/cogl-journal.c | 8 +- + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-multitexture.c | 209 +++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 4 files changed, 215 insertions(+), 4 deletions(-) + +commit bc8a80fee53c9eed17fab6d821846c1a0fa3460f +Author: Emmanuele Bassi +Date: Mon Jan 11 17:08:42 2010 +0000 + + text: Zero out the cursor_pos member + + Do not trust the zero-ing done by GObject on the private data structure, + and use memset() instead to zero the ClutterGeometry structure. + + clutter/clutter-text.c | 1 + + 1 file changed, 1 insertion(+) + +commit 5c14538c1406b1358a2747428c73fe0cf1198e94 +Author: Emmanuele Bassi +Date: Mon Jan 11 17:06:52 2010 +0000 + + Remove obsolete code from test-text + + The test-text "fake scrolling" code stopped working somewhere between + 0.8 and 0.9, with the new layout code. Instead of the ::cursor-event + signal it should use an approach similar to the Scrollable interface in + the Moblin User Experience toolkit. + + Right now, it makes sense to ignore this code entirely. + + tests/interactive/test-text.c | 26 ++------------------------ + 1 file changed, 2 insertions(+), 24 deletions(-) + +commit 755cce33a729817aebe4cf5c08d97c31a327c863 +Author: Robert Bragg +Date: Mon Nov 30 20:04:41 2009 +0000 + + cogl: Support multiple fallbacks in cogl_offscreen_new_to_texture() + + The Intel drivers in Mesa 7.6 (and possibly earlier versions) don't + support creating FBOs with a stencil buffer but without a depth + buffer. This reworks framebuffer allocation so that we try a number + of fallback options before failing. + + The options we try in order are: + - the same options that were sucessful last time if available + - combined depth and stencil + - separate depth and stencil + - just stencil, no depth + - just depth, no stencil + - neither depth or stencil + + clutter/cogl/cogl/cogl-framebuffer-private.h | 2 +- + clutter/cogl/cogl/cogl-framebuffer.c | 238 +++++++++++++++++---------- + 2 files changed, 156 insertions(+), 84 deletions(-) + +commit 4c1231c7fe545a7764d06754d7d6be0906686e0a +Author: Damien Lespiau +Date: Wed Jan 6 11:48:46 2010 +0000 + + media: Add an API to specify which font should be used for subtitles + + Allow the user of the ClutterMedia interface to specify a Pango font + description to display subtitles. Even if the underlying implementation + of the interface does not natively use Pange, it must be capable of + parsing the grammar that pango_font_description_from_string() accepts. + + clutter/clutter-media.c | 64 ++++++++++++++++++++++++++++++ + clutter/clutter-media.h | 45 +++++++++++---------- + doc/reference/clutter/clutter-sections.txt | 2 + + 3 files changed, 90 insertions(+), 21 deletions(-) + +commit 8e9f56c41160452166be68202227b206a690472d +Author: Emmanuele Bassi +Date: Sun Jan 10 11:35:26 2010 +0000 + + build: Clean up private header/source files + + Some source files should not be passed through the introspection parser, + as they are fully private and do not expose any valuable API. + + Also the clutter-profile.h header is private and should not be + installed. + + clutter/Makefile.am | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +commit d9b91d61f5730e9ce29627f467c89070b78fb6b6 +Author: Robert Bragg +Date: Wed Nov 25 14:26:32 2009 +0000 + + framebuffers: cogl_offscreen_new_to_texture should take a ref on the texture + + We weren't taking a reference on the texture to be used as the color buffer + for offscreen rendering, so it was possible to free the texture leaving the + framebuffer in an inconsistent state. + + clutter/cogl/cogl/cogl-framebuffer-private.h | 1 + + clutter/cogl/cogl/cogl-framebuffer.c | 3 +++ + 2 files changed, 4 insertions(+) + +commit 30b557c4653d15eeb1311b516ab1f4c0035a5e83 +Author: Robert Bragg +Date: Fri Jul 3 16:22:35 2009 +0100 + + profiling: Adds initial UProf accounting to Cogl + + This adds gives Cogl a dedicated UProf context which will be linked together + with Clutter's context during clutter_init_real(). + + Initial timers cover _cogl_journal_flush and _cogl_journal_log_quad + + You can explicitly ask for a report of Cogl statistics by exporting + COGL_PROFILE_OUTPUT_REPORT=1 but since the context is linked with Clutter's + the statisitcs will also be shown in the automatic Clutter reports. + + clutter/clutter-main.c | 7 ++++++ + clutter/cogl/cogl/Makefile.am | 2 ++ + clutter/cogl/cogl/cogl-journal.c | 19 ++++++++++++++ + clutter/cogl/cogl/cogl-profile.c | 30 ++++++++++++++++++++++ + clutter/cogl/cogl/cogl-profile.h | 54 ++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 6 files changed, 113 insertions(+), 1 deletion(-) + +commit 0b6515a1d53571fea13417d47e7bf0f4749321f8 +Author: Robert Bragg +Date: Fri Apr 17 12:15:56 2009 +0100 + + profiling: Allow limiting statisics just to picking + + This suspends and resumes all uprof timers and counters except while dealing + with picking, so as to give more focused statistics. + + Be aware that there are still some issues with this profile option since + there are a few special case counters and timers that shouldn't be + suspended; noteably the frame counters are incorrect so the per frame stats + can't be trusted. + + clutter/clutter-main.c | 22 ++++++++++++++++++++-- + clutter/clutter-profile.c | 29 +++++++++++++++++++++++++++++ + clutter/clutter-profile.h | 9 +++++++++ + 3 files changed, 58 insertions(+), 2 deletions(-) + +commit 9cb530d42e7860d1a44f441b97910fd3903480f1 +Author: Robert Bragg +Date: Wed Jan 6 18:15:13 2010 +0000 + + profiling: Parse --clutter-profile and CLUTTER_PROFILE= options + + As we have for debugging, this adds the ability to control profiling flags + either via the command line or an environment variable. + + The first option added is CLUTTER_PROFILE=disable-report + + This also changes the reporting to be opt-out so you don't need to export + CLUTTER_PROFILE_OUTPUT_REPORT=1 to see a report but you can use + CLUTTER_PROFILE=disable-report to disable it if desired. + + clutter/clutter-main.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-profile.c | 2 +- + clutter/clutter-profile.h | 8 ++++++++ + 3 files changed, 60 insertions(+), 1 deletion(-) + +commit 00577558540db2c9f7bf24e870ff6231abb2b99d +Author: Robert Bragg +Date: Mon Mar 30 16:41:02 2009 +0100 + + profiling: Adds initial UProf support across clutter + + UProf is a small library that aims to help applications/libraries provide + domain specific reports about performance. It currently provides high + precision timer primitives (rdtsc on x86) and simple counters, the ability + to link statistics between optional components at runtime and makes report + generation easy. + + This adds initial accounting for: + - Total mainloop time + - Painting + - Picking + - Layouting + - Idle time + + The timing done by uprof is of wall clock time. It's not based on stochastic + samples we simply sample a counter at the start and end. When dealing with + the complexities of GPU drivers and with various kinds of IO this form of + profiling can be quite enlightening as it will be able to represent where + your application is blocking unlike tools such as sysprof. + + To enable uprof accounting you must configure Clutter with --enable-profile + and have uprof-0.2 installed from git://git.moblin.org/uprof + + If you want to see a report of statistics when Clutter applications exit you + should export CLUTTER_PROFILE_OUTPUT_REPORT=1 before running them. + + Just a final word of caution; this stuff is new and the manual nature of + adding uprof instrumentation means it is prone to some errors when modifying + code. This just means that when you question strange results don't rule out + a mistake in the instrumentation. Obviously though we hope the benfits out + weigh e.g. by focusing on very key stats and by having automatic reporting. + + clutter/Makefile.am | 2 + + clutter/clutter-actor.c | 14 ++++ + clutter/clutter-backend.c | 15 ++++ + clutter/clutter-main.c | 94 ++++++++++++++++++++- + clutter/clutter-profile.c | 170 ++++++++++++++++++++++++++++++++++++++ + clutter/clutter-profile.h | 57 +++++++++++++ + clutter/clutter-stage.c | 9 ++ + clutter/glx/clutter-backend-glx.c | 17 ++++ + 8 files changed, 376 insertions(+), 2 deletions(-) + +commit bd41db7c00fc54aa8077f53177ff33bd33a19c83 +Author: Robert Bragg +Date: Tue Mar 17 13:07:46 2009 +0000 + + Adds a --enable-profile option to configure.ac + + There is nothing else hooked up to this option so far + + README | 4 ++++ + configure.ac | 58 +++++++++++++++++++++++++++++++++++++++++++++------------- + 2 files changed, 49 insertions(+), 13 deletions(-) + +commit 5157da9fc8340cebdd29989a4ea02ccf607d3c52 +Author: Emmanuele Bassi +Date: Fri Jan 8 15:04:56 2010 +0000 + + x11: Switch back to RGB visuals by default + + Since asking for ARGB by default is still somewhat experimental on X11 + and not every toolkit or complex widgets (like WebKit) still do not like + dealing with ARGB visuals, we should switch back to RGB by default - now + that at least we know it works. + + For applications (and toolkit integration libraries) that want to enable + the ClutterStage:use-alpha property there is a new function: + + void clutter_x11_set_use_argb_visual (gboolean use_argb); + + which needs to be called before clutter_init(). + + The CLUTTER_DISABLE_ARGB_VISUAL environment variable can still be used + to force this value off at run-time. + + clutter/glx/clutter-backend-glx.c | 2 +- + clutter/x11/clutter-backend-x11.c | 70 +++++++++++++++++++++++++++++- + clutter/x11/clutter-stage-x11.c | 6 ++- + clutter/x11/clutter-x11.h | 9 +++- + doc/reference/clutter/clutter-sections.txt | 3 ++ + 5 files changed, 83 insertions(+), 7 deletions(-) + +commit 9599adbd820db7526d77790d8b611a6b61cb2dc7 +Author: Damien Lespiau +Date: Wed Jan 6 00:44:24 2010 +0000 + + doc: Fix media::{get,set}_subtitle_uri() symbol names + + At first, those symbols were called {get,set}_subtitles_uri() but were + renamed to {get,set}_subtitle_uri() without updating the + clutter-section.txt file. + + This fix makes gtk-doc document those symbols again. + + doc/reference/clutter/clutter-sections.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit bf4818bd759f612a9cec62c2e072544d54cc104c +Author: Emmanuele Bassi +Date: Thu Jan 7 11:08:52 2010 +0000 + + actor: Just emit a relayout cycle warning + + Currently, ClutterActor detects a relayout cycle (an actor causing a + relayout to be queued from within an allocate() function) and aborts + after printing out a warning. This might be a little bit too anal + retentive, and it currently breaks GTK+ embedding inside clutter-gtk + so we should probably relax the behaviour a bit. Now we just emit the + warning but we still go ahead with the relayout. + + clutter/clutter-actor.c | 1 - + 1 file changed, 1 deletion(-) + +commit 821e622de671ad4e18a55e9dbd33aee004e822df +Author: Neil Roberts +Date: Thu Jan 7 15:58:53 2010 +0000 + + Don't set the GLX_TRANSPARENT_TYPE attribute to choose an FBConfig + + When Clutter tries to pick an ARGB visual it tried to set the + GLX_TRANSPARENT_TYPE attribute of the FBConfig to + GLX_TRANSPARENT_RGB. However the code to do this was broken so that it + was actually trying to set the non-existant attribute number 0x8008 + instead. Mesa silently ignored this so it appeared as if it was + working but the Nvidia drivers do not like it. + + It appears that the TRANSPARENT_TYPE attribute is not neccessary for + getting an ARGB visual anyway and instead it is intended to support + color-key transparency. Therefore we can just remove it and get all of + the FBConfigs. Then if we need an ARGB visual we can just walk the + list to look for one with depth == 32. + + The fbconfig is now stored in a single variable instead of having a + separate variable for the rgb and rgba configs because the old code + only ever retrieved one of them anyway. + + clutter/glx/clutter-backend-glx.c | 145 +++++++++++++++----------------------- + clutter/glx/clutter-backend-glx.h | 5 +- + 2 files changed, 57 insertions(+), 93 deletions(-) + +commit 8b59573190907da97c2af5a5be2e563fc66f8d51 +Author: Emmanuele Bassi +Date: Tue Jan 5 18:02:29 2010 +0000 + + Covert stb_image.c to Unix format + + The file is still in DOS format (CRLF instead of LF) and this confuses + the hell out of some versions of Git. + + clutter/cogl/cogl/stb_image.c | 7544 ++++++++++++++++++++--------------------- + 1 file changed, 3772 insertions(+), 3772 deletions(-) + +commit 58b5a46e0e6b263bd32808e4a9a46bbdd81eedfe +Author: Emmanuele Bassi +Date: Tue Jan 5 17:54:45 2010 +0000 + + Include cogl-defines.h before using GL types + + If we are using GL* types we should also be including cogl-defines.h, as + that will include the right GL header. + + clutter/cogl/cogl/cogl-shader.h | 1 + + clutter/cogl/cogl/cogl-texture.h | 1 + + 2 files changed, 2 insertions(+) + +commit 793fec8138b478ba1f1ea419f9ef8bed4f453e77 +Author: Emmanuele Bassi +Date: Tue Jan 5 16:11:45 2010 +0000 + + cogl: Fix array annotations + + The arrays in the cogl_program_set_uniform_* API should be marked as + such, and have their length arguments specified. + + clutter/cogl/cogl/cogl-shader.h | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 59105341bce12b2ec009ff953facbb7f7b10e85f +Author: Neil Roberts +Date: Tue Jan 5 11:58:12 2010 +0000 + + text: Store the markup attributes separately + + Previously when the markup property is set it would generate an + attribute list from the markup and then merge it with the attributes + from the attribute property and store it as the effective + attributes. The markup attributes and the marked up text would then be + forgotten. This breaks if the application then later changes the + attributes property because it would try to regenerate the effective + attributes from the markup text but the stored text no longer contains + any markup. If the original markup text happened to contain entities + like '<' they would end up causing parse errors because they would + be converted to the actual symbols. + + To fix this the attributes from the markup are now stored + independently from the effective attributes. The effective attributes + are now regenerated if either set of attributes changes right before a + layout is created. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1940 + + clutter/clutter-text.c | 134 ++++++++++++++++++++++++++++++------------------- + 1 file changed, 82 insertions(+), 52 deletions(-) + +commit 32b456fc8c4e8743c1b2c32164f7e9f67188a60e +Author: Neil Roberts +Date: Tue Jan 5 11:44:17 2010 +0000 + + text: Free the Pango attribute list resources + + The ClutterText owns three PangoAttrList resources which were not + being unref'd. This adds the unref calls to the finalize method. + + clutter/clutter-text.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 64c1294cc26e034fbf8a9a05b4413f63b9cd882d +Author: Emmanuele Bassi +Date: Tue Jan 5 14:10:19 2010 +0000 + + x11 tfp: Plug a leak + + Destroy the dummy XImage we create even on success. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1918 + + Based on a patch by: Carlos Martín Nieto + + Signed-off-by: Emmanuele Bassi + + clutter/x11/clutter-x11-texture-pixmap.c | 22 +++++++++++++--------- + 1 file changed, 13 insertions(+), 9 deletions(-) + +commit fa298b45b530c6b6821e73b011c3c7d226950ce0 +Merge: 4207524e9 4adc2c2d8 +Author: Emmanuele Bassi +Date: Tue Jan 5 11:04:50 2010 +0000 + + Merge branch 'matrix-mode' + + * matrix-mode: + build: Move CoglMatrixMode to cogl-matrix-stack.h + +commit 4207524e950efd3f1fa5334f6d0b9b374a0b3f93 +Author: Emmanuele Bassi +Date: Tue Jan 5 11:02:39 2010 +0000 + + Remove trailing comma from test UI definition + + The animation definition test has a trailing comma at the end of an + array item. + + tests/data/test-script-animation.json | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2aa9d7bdc78703fc9a6354d2e54f880fde96db39 +Author: Emmanuele Bassi +Date: Tue Jan 5 10:55:28 2010 +0000 + + script: Copy the JSON node in PropertyInfo + + PropertyInfo should store a copy of the JsonNodes it references, so + that property_info_free() can safely dispose them, and we can reference + values across different UI definition data. + + The implicit timeline parsing code is not copying the JsonNode; this + leads to a double free in some cases, which is masked by the GSlice + allocator and produces a heap corruption later on. + + clutter/clutter-script-parser.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 10963d1ae03920e202ccbd0107854f489117f89b +Author: Damien Lespiau +Date: Mon Dec 28 17:52:43 2009 +0100 + + [media] Add an API to play a subtitle file along with the media + + Allow the user of the ClutterMedia interface to specify an external (as + in not multiplexed with the audio/video streams) location of a subtitle + stream. + + clutter/clutter-media.c | 55 ++++++++++++++++++++++++++++++ + clutter/clutter-media.h | 3 ++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + 3 files changed, 60 insertions(+) + +commit 5d5c7142f7fa2447e13bcb80a272b0d9dfc28f06 +Author: Emmanuele Bassi +Date: Mon Jan 4 12:03:47 2010 +0000 + + text: Use G_SIGNAL_ACTION for ::insert-text and ::delete-text + + Both the ::insert-text and ::delete-text are "action" signals, that is + signals that are safe to (and should) be emitted using g_signal_emit() + directly. + + clutter/clutter-text.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit bf43cb6cdc84e646add7adc592487274331d4930 +Author: Alejandro Piñeiro +Date: Fri Nov 20 15:17:41 2009 +0100 + + Added ClutterText::insert-text and ClutterText::delete-text signals + + * clutter/clutter-marshal.list: added new marshaller + * clutter/clutter-text.c + (clutter_text_class_init): added insert-text and delete-text signals + (clutter_text_insert_unichar): emits insert-text signal + (clutter_text_insert_text): emits insert-text signal + (clutter_text_delete_text): emits delete-text signal + (clutter_text_delete_chars): emits delete-text signal + (clutter_text_set_markup_internal): emits delete-text and insert-text signals + (clutter_text_set_text): emits delete-text and insert-text signals + + http://bugzilla.openedhand.com/show_bug.cgi?id=1894 + + clutter/clutter-marshal.list | 1 + + clutter/clutter-text.c | 87 ++++++++++++++++++++++++++++++++++++++++++-- + 2 files changed, 84 insertions(+), 4 deletions(-) + +commit 4adc2c2d839c42eccc7187735ddcce061d25f14b +Author: Emmanuele Bassi +Date: Mon Jan 4 11:58:32 2010 +0000 + + build: Move CoglMatrixMode to cogl-matrix-stack.h + + This avoids a redeclaration of _cogl_matrix_stack_flush_to_gl() from + using GLenum to CoglMatrixMode. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1928 + + clutter/cogl/cogl/cogl-internal.h | 7 ------- + clutter/cogl/cogl/cogl-matrix-stack.h | 9 +++++++-- + 2 files changed, 7 insertions(+), 9 deletions(-) + +commit eb9029504124daf4c032f027c2f068ec25548f3f +Author: Halton Huo +Date: Mon Jan 4 11:49:50 2010 +0000 + + cogl-texture: Remove return in void functions + + http://bugzilla.o-hand.com/show_bug.cgi?id=1929 + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/cogl/cogl-texture.c | 8 +++----- + 1 file changed, 3 insertions(+), 5 deletions(-) + +commit b98d486fc99fd46626877be728961190dbf831dc +Author: Emmanuele Bassi +Date: Mon Jan 4 11:49:13 2010 +0000 + + build: Maintainer cflags go in the _CFLAGS target + + The maintainer compiler flags are not pre-processor flags. + + clutter/cogl/cogl/Makefile.am | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 0fb51658fdba886fd5d9cb53cfca6df13aa1f7a0 +Author: Emmanuele Bassi +Date: Mon Jan 4 11:43:00 2010 +0000 + + cogl: Const-ify vertices in cogl_polygon() + + The CoglTextureVertex array passed to cogl_polygon() is a pure + in-argument and should be const-ified. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1917 + + clutter/cogl/cogl/cogl-primitives.c | 27 ++++++++++++++------------- + clutter/cogl/cogl/cogl-texture.h | 6 +++--- + 2 files changed, 17 insertions(+), 16 deletions(-) + +commit 1c69c61745ed510f0b6ab16cb963ca01994cb9fc +Author: Emmanuele Bassi +Date: Wed Nov 11 11:00:29 2009 +0000 + + master-clock: Take a reference before advancing timelines + + A timeline advancement might cause another timeline to be + destroyed, which will likely lead to a segmentation fault. + + Before advancing the timelines we should take a reference + on them - just like we do for the stages before doing + event processing. This will prevent dispose() from running + until the end of the advancement. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1854 + + clutter/clutter-master-clock.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 5ae88f5777c5ed0663937f990350f145b254692c +Author: Emmanuele Bassi +Date: Sun Jan 3 20:41:17 2010 +0000 + + Post-release version bump to 1.1.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6d7e1e5434d3da27cf23a9c16f9990523eedba4e +Author: Emmanuele Bassi +Date: Sun Jan 3 20:11:43 2010 +0000 + + Release Clutter 1.1.4 + + NEWS | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 58 insertions(+), 2 deletions(-) + +commit 3355c2ab2518711d7ab79f3ffe1f4a8ce105af84 +Author: Emmanuele Bassi +Date: Sun Jan 3 20:24:39 2010 +0000 + + build: Remove dist rule for non-existing image files + + doc/cookbook/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8d40cb947031f90a7b8cf459720278c6a6fe295d +Author: Emmanuele Bassi +Date: Sun Jan 3 20:12:49 2010 +0000 + + Disable g_set_prgname() + + Apparently, calling g_set_prgname() multiple times is not allowed + anymore, and hence clutter_init_* calls should not do that. Though this + is really GLib's fault - and a massive nuisance for us - we should + prolly comply to avoid the test suite dying on us. + + clutter/clutter-main.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 3d350078a8aa6f1bdf38c12de62e2708c5369247 +Merge: a09ac0b27 934eee17a +Author: Emmanuele Bassi +Date: Wed Dec 23 10:38:02 2009 +0000 + + Merge branch 'animate-layout-manager' into ebassi-next + + * animate-layout-manager: + layout-manager: Document the animation support + layout-manager: Rewind the timeline in begin_animation() + box-layout: Remove the allocations hash table + docs: Clean up the README file + layout: Let begin_animation() return the Alpha + box-layout: Add knobs for controlling animations + box-layout: Animate layout properties + layout: Add animation support to LayoutManager + Add ActorBox animation methods + +commit 934eee17ae34098773ff5876747061b5a1d1f1a5 +Author: Emmanuele Bassi +Date: Wed Dec 23 10:35:16 2009 +0000 + + layout-manager: Document the animation support + + Add a section inside the LayoutManager class API reference documenting, + with examples, how to implement animation support inside a layout + manager sub-class. + + clutter/clutter-layout-manager.c | 213 ++++++++++++++++++++++++++++++++++----- + 1 file changed, 190 insertions(+), 23 deletions(-) + +commit 713c2952410e99e681825dac51da3e0b575ef2cf +Author: Emmanuele Bassi +Date: Wed Dec 23 08:39:16 2009 +0000 + + layout-manager: Rewind the timeline in begin_animation() + + If the default implementation begin_animation() is called twice then we + should rewind the timeline, as well as updating its duration and the + easing mode of the alpha. + + clutter/clutter-layout-manager.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit b9c1de0ec7001ce6a6b62dbd8d1fd9ee15539093 +Author: Emmanuele Bassi +Date: Wed Dec 23 08:34:08 2009 +0000 + + box-layout: Remove the allocations hash table + + The BoxLayout uses a HashTable to map the latest stable allocation of + each child, in order to use that as the initial value during an + animation; this in spite of already having a perfectly valid per-child + storage as part of the layout manager: ClutterBoxChild. + + The last stable allocation should be stored inside the ClutterBoxChild + instead of having it in the private data for ClutterBoxLayout. The + access remains O(1), since there is a 1:1 mapping between child and + BoxChild instances, but we save a little bit of memory and we avoid + keeping aroud allocations for old children. + + clutter/clutter-box-layout.c | 47 ++++++++++++++++++++------------------------ + 1 file changed, 21 insertions(+), 26 deletions(-) + +commit c8c5e0ee39626d434c2d3e5486c6520eff17f519 +Author: Emmanuele Bassi +Date: Tue Dec 22 18:10:39 2009 +0000 + + docs: Clean up the README file + + README | 137 +++++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 83 insertions(+), 54 deletions(-) + +commit a09ac0b27ccb4a9c08a4e42e00776bf627f0e163 +Merge: b6bd8be6c 34913378f +Author: Emmanuele Bassi +Date: Sun Dec 20 17:39:12 2009 +0000 + + Merge branch 'stage-use-alpha' into ebassi-next + + * stage-use-alpha: + tests: Use accessor methods for :use-alpha + stage: Add accessors for :use-alpha + tests: Allow setting the stage opacity in test-paint-wrapper + stage: Premultiply the stage color + stage: Composite the opacity with the alpha channel + glx: Always request an ARGB visual + stage: Add :use-alpha property + materials: Get the right blend function for alpha + +commit b6bd8be6cb0fabf2ddf3eedadce68c8d3a60c3d9 +Merge: 7b53aa751 c7e8ddb7a +Author: Emmanuele Bassi +Date: Sun Dec 20 17:33:51 2009 +0000 + + Merge branch 'internal-flag' into ebassi-next + + * internal-flag: + conform: Add test unit for the destruction of Containers + actor: Add internal child flag + Clean up whitespace, indentation and comments + +commit c7e8ddb7a60dd76d5f62027383693575f30e2473 +Author: Emmanuele Bassi +Date: Fri Dec 18 23:29:11 2009 +0000 + + conform: Add test unit for the destruction of Containers + + Verify that internal children do not go through the remove() + implementation, and that non-internal children do. + + .gitignore | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-actor-destroy.c | 168 +++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 4 files changed, 171 insertions(+) + +commit 1520ba6190165dc8902b622833efbccf23716751 +Author: Emmanuele Bassi +Date: Fri Dec 18 23:20:04 2009 +0000 + + actor: Add internal child flag + + ClutterActor checks, when destroying and reparenting, if the parent + actor implements the Container interface, and automatically calls the + remove() method to perform a clean removal. + + Actors implementing Container, though, might have internal children; + that is, children that are not added through the Container API. It is + already possible to iterate through them using the Container API to + avoid breaking invariants - but calling clutter_actor_destroy() on + these children (even from the Container implementation, and thus outside + of Clutter's control) will either lead to leaks or to segmentation + faults. + + Clutter needs a way to distinguish a clutter_actor_set_parent() done on + an internal child from one done on a "public" child; for this reason, a + push/pop pair of functions should be available to Actor implementations + to mark the section where they wish to add internal children: + + ➔ clutter_actor_push_internal (); + ... + clutter_actor_set_parent (child1, parent); + clutter_actor_set_parent (child2, parent); + ... + ➔ clutter_actor_pop_internal (); + + The set_parent() call will automatically set the newly added + INTERNAL_CHILD private flag on each child, and both + clutter_actor_destroy() and clutter_actor_unparent() will check for the + flag before deciding whether to call the Container's remove method. + + clutter/clutter-actor.c | 110 +++++++++++++++++++++++++++-- + clutter/clutter-actor.h | 3 + + clutter/clutter-private.h | 29 ++++++-- + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 132 insertions(+), 12 deletions(-) + +commit 4a21425f4837798d01f4435b68582faf9029c61c +Author: Emmanuele Bassi +Date: Sun Dec 13 01:23:54 2009 +0000 + + layout: Let begin_animation() return the Alpha + + When beginning a new animation for a LayoutManager, the implementation + should return the ClutterAlpha used. This allows controlling the + timeline and/or modifying the animation parameters on the fly. + + clutter/clutter-box-layout.c | 5 +++-- + clutter/clutter-layout-manager.c | 30 ++++++++++++++++++++++-------- + clutter/clutter-layout-manager.h | 5 +++-- + 3 files changed, 28 insertions(+), 12 deletions(-) + +commit 2e6397c39132007e79f5f87743fe9378fd8d5387 +Author: Emmanuele Bassi +Date: Sun Dec 13 01:07:44 2009 +0000 + + box-layout: Add knobs for controlling animations + + ClutterLayoutManager does not have any state associated with it, and + defers all the state to its sub-classes. + + The BoxLayout is thus in charge of controlling: + + • whether or not animations should be used + • the duration of the animation + • the easing mode of the animation + + By adding three new properties: + + • ClutterBoxLayout:use-animations + • ClutterBoxLayout:easing-duration + • ClutterBoxLayout:easing-mode + + And their relative accessors pairs we can make BoxLayout decide whether + or not, and with which parameters, call the begin_animation() method of + ClutterLayoutManager. + + The test-box-layout has been modified to reflect this new functionality, + by checking the key-press event for the 'a' key symbol to toggle the use + of animations. + + clutter/clutter-box-layout.c | 320 +++++++++++++++++++++++++++-- + clutter/clutter-box-layout.h | 90 ++++---- + doc/reference/clutter/clutter-sections.txt | 8 + + tests/interactive/test-box-layout.c | 6 + + 4 files changed, 370 insertions(+), 54 deletions(-) + +commit 3c2e91aef586de5521aa9674b80d449cf96da0e1 +Author: Emmanuele Bassi +Date: Sat Dec 12 00:13:05 2009 +0000 + + box-layout: Animate layout properties + + Use the newly added animation support inside LayoutManager to animate + between state changes of the BoxLayout properties. + + The implementation is based on equivalent code from Mx, written by: + + Thomas Wood + + clutter/clutter-box-layout.c | 130 +++++++++++++++++++++++++++++++++++++------ + 1 file changed, 113 insertions(+), 17 deletions(-) + +commit f94a903d9ebdbc055010bb4a4c6fe7e76f418bd8 +Author: Emmanuele Bassi +Date: Sat Dec 12 00:02:43 2009 +0000 + + layout: Add animation support to LayoutManager + + In order to animate a fluid layout we cannot use the common animation + code paths as they will override the size request and allocation paths + that are handled by the layout manager itself. + + One way to introduce animations in the allocation sequence is to use a + Timeline and an Alpha to compute a progress value and then use that + value to interpolate an ActorBox between the initial and final states of + the animation - with the initial state being the last allocation of the + child prior to the animation start, and the final state the allocation + of the child at the end; for every frame of the Timeline we then queue a + relayout on the layout manager's container, which will result in an + animation. + + ClutterLayoutManager is the most likely place to add a generic API for + beginning and ending an animation, as well as the place to provide a + default code path to create the ancillary Timeline and Alpha instances + needed to drive the animation. + + A LayoutManager sub-class will need to: + + • call clutter_layout_manager_begin_animation() whenever it should + animate between two states, for instance: whenever a layout property + changes value; + • eventually override begin_animation() and end_animation() in case + further state needs to be set up, and then chain up to the default + implementation provided by LayoutManager; + • if a completely different implementation is required, the layout + manager sub-class should override begin_animation(), end_animation() + and get_animation_progress(). + + Inside the allocate() implementation the sub-class should also + interpolate between the last known allocation of a child and the newly + computed allocation. + + clutter/clutter-layout-manager.c | 159 ++++++++++++++++++++++++++++- + clutter/clutter-layout-manager.h | 68 +++++++----- + doc/reference/clutter/clutter-sections.txt | 5 + + 3 files changed, 207 insertions(+), 25 deletions(-) + +commit 999359d64ccfbdbcc952662c14fa47441d6a5225 +Author: Emmanuele Bassi +Date: Fri Dec 11 23:48:58 2009 +0000 + + Add ActorBox animation methods + + ClutterActorBox should have an interpolate() method that allows to + compute the intermediate values between two states, given a progress + value, e.g.: + + clutter_actor_box_interpolate (start, end, alpha, &result); + + Another utility method, useful for layout managers, is a modifier + that clamps the members of the actor box to the nearest integer + value. + + clutter/clutter-actor.c | 47 ++++++++++++++++++++++++++++++ + clutter/clutter-types.h | 5 ++++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + 3 files changed, 54 insertions(+) + +commit d2ea7cd6a8a1eb4ff04f11cb53aa387458a8e128 +Author: Emmanuele Bassi +Date: Fri Dec 11 20:17:58 2009 +0000 + + Clean up whitespace, indentation and comments + + clutter/clutter-main.c | 70 ++++++++++++++++++++++++++------------------------ + 1 file changed, 36 insertions(+), 34 deletions(-) + +commit 7b53aa7510adc60d3287740772ec97117ce78ab9 +Merge: 60a6bff31 1374b5aac +Author: Emmanuele Bassi +Date: Thu Dec 10 23:36:04 2009 +0000 + + Merge branch 'get-current-event' into ebassi-next + + * get-current-event: + Add clutter_get_current_event + +commit 1374b5aac9398852cf3f3482fdf925b52aa31338 +Author: Colin Walters +Date: Thu Nov 12 17:33:15 2009 -0500 + + Add clutter_get_current_event + + When getting signals from higher level toolkits, occasionally + one wants access to the underlying event; say for a Button + widget's "clicked" signal, to get the keyboard state. + + Rather than having all of the highlevel widgets emit + ClutterEvent just for the more unusual use cases, + add a global function to access the event state. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1888 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-event.c | 23 +++++++++++ + clutter/clutter-event.h | 1 + + clutter/clutter-main.c | 62 +++++++++++++++++------------- + clutter/clutter-private.h | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 5 files changed, 61 insertions(+), 27 deletions(-) + +commit 60a6bff3136c21c5ff6d4c5bb6614716853620f0 +Merge: dc47550bc c4f27b155 +Author: Emmanuele Bassi +Date: Wed Dec 9 23:32:41 2009 +0000 + + Merge branch 'no-layout-flag' into ebassi-next + + * no-layout-flag: + actor: Add a NO_LAYOUT flag for actors + +commit dc47550bc8eabc2c6e6e99364c1cb536a9adc973 +Merge: 86ce92eec b33b6287a +Author: Emmanuele Bassi +Date: Wed Dec 9 23:32:18 2009 +0000 + + Merge branch 'size-cache' into ebassi-next + + * size-cache: + tests: Clean up the BoxLayout interactive test + actor: Add debugging notes for size cache + Add a cache of size requests + +commit 86ce92eec14aa1aaf7c9ab14a520b66690488213 +Author: Emmanuele Bassi +Date: Wed Dec 9 18:46:25 2009 +0000 + + x11: Emulate XKB's detectable key auto-repeat + + Old-style X11 terminals require that even modern X11 send KeyPress + and KeyRelease pairs when auto-repeating. For this reason modern(-ish) + API like XKB has a way to detect auto-repeat and do a single KeyRelease + at the end of a KeyPress sequence. + + The newly added check emulates XKB's detectable auto-repeat by peeking + the next event after a KeyRelease and checking if it's a KeyPress for + the same key and timestamp - and then ignoring the KeyRelease if it + matches. + + clutter/x11/clutter-event-x11.c | 26 ++++++++++++++++++++++++++ + 1 file changed, 26 insertions(+) + +commit 9242d6b934710ca4001e8dc2a0f1f4bc4a738a63 +Author: Emmanuele Bassi +Date: Wed Dec 9 18:10:52 2009 +0000 + + docs: Move RELEASING under docs/ + + RELEASING => doc/RELEASING | 0 + 1 file changed, 0 insertions(+), 0 deletions(-) + +commit 1ffd2ccb87a570733647e655e5e608ee05661c74 +Author: Emmanuele Bassi +Date: Wed Dec 9 01:52:09 2009 +0000 + + stage: Deprecate default stage size macros + + The macros for getting the size of the default stage are a relic of the + past and they should be deprecated. + + clutter/clutter-stage.h | 36 ++++++++++++++---------------------- + 1 file changed, 14 insertions(+), 22 deletions(-) + +commit 34913378fb7aa84874bfda63648e9e0e02e40d8c +Author: Emmanuele Bassi +Date: Wed Dec 9 17:17:33 2009 +0000 + + tests: Use accessor methods for :use-alpha + + Instead of using g_object_set(). + + tests/interactive/test-paint-wrapper.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit 1208e47198ea981b644bca2ce9beab3b59f05d0b +Author: Emmanuele Bassi +Date: Wed Dec 9 02:04:56 2009 +0000 + + stage: Add accessors for :use-alpha + + Use real accessors for the :use-alpha property. + + clutter/clutter-stage.c | 53 ++++++++++++++++++++++++++++-- + clutter/clutter-stage.h | 4 +++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + 3 files changed, 57 insertions(+), 2 deletions(-) + +commit 3b075b6dc4197ed78f6386ee7e9a6e307839590f +Author: Emmanuele Bassi +Date: Wed Dec 9 01:46:52 2009 +0000 + + tests: Allow setting the stage opacity in test-paint-wrapper + + This allows testing the Stage:use-alpha property and the blending done + by a compositor. + + tests/interactive/test-paint-wrapper.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit 3a3c815286daa55761787a49d7a33c6eb8c3d74d +Author: Emmanuele Bassi +Date: Wed Dec 9 01:46:09 2009 +0000 + + stage: Premultiply the stage color + + In case we are using Stage:use-alpha then we need to premultiply the + stage color to get the correct blending from the compositor. + + clutter/clutter-stage.c | 1 + + 1 file changed, 1 insertion(+) + +commit e957e277b8a4893ce8c99e94402036d42a8b3748 +Author: Emmanuele Bassi +Date: Tue Dec 8 18:24:30 2009 +0000 + + x11: Do not manage a foreign window + + If a Stage has been set to use a foreign Window then Clutter should not + be managing it; calling XWithdrawWindow and XMapWindow should be + reserved to the windows we manage ourselves. + + clutter/x11/clutter-stage-x11.c | 23 ++++++++++++++--------- + 1 file changed, 14 insertions(+), 9 deletions(-) + +commit 28cb2cdab588ac361544538d4bb70a3e9bf24c81 +Author: Emmanuele Bassi +Date: Mon Dec 7 19:00:55 2009 +0000 + + Remove clutter_set_default_text_direction() + + Setting the default text direction programmatically is wrong: it is a + value dependent on the locale or by the environment. + + clutter/clutter-actor.c | 3 ++- + clutter/clutter-main.c | 32 +++++++++++++----------------- + clutter/clutter-main.h | 1 - + doc/reference/clutter/clutter-sections.txt | 1 - + 4 files changed, 16 insertions(+), 21 deletions(-) + +commit 3b9575baf8d254b7ba8b5faf56b14fbc6c3fde74 +Author: Emmanuele Bassi +Date: Mon Dec 7 18:41:15 2009 +0000 + + Queue a relayout when the default text direction changes + + We need a relayout cycle if the default direction for the text changes + while the main loop is running. + + clutter/clutter-main.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit 6a3f6a460e730b0067adfa1eac455246c8d6e8d8 +Author: Emmanuele Bassi +Date: Mon Dec 7 17:35:17 2009 +0000 + + stage: Composite the opacity with the alpha channel + + The Stage's opacity should be composited with the alpha component of the + Stage's background color. + + clutter/clutter-stage.c | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +commit c4f27b1556b65464fd1f53749d32db9adab97942 +Author: Emmanuele Bassi +Date: Wed Oct 7 16:41:25 2009 +0100 + + actor: Add a NO_LAYOUT flag for actors + + Some actor implementation might avoid imposing any layout on their + children. The Actor base class usually assumes some sort of layout + management is in place, so it will queue relayouts when, for instance, + an actor is shown or is hidden. If the parent of the actor does not + impose any layout, though, showing or hiding one of its children will + not affect the layout of the others. + + An example of this kind of container is ClutterGroup. + + By adding a new Actor flag, CLUTTER_ACTOR_NO_LAYOUT, and by making + the Group actor set it on itself, the Actor base class can now decide + whether or not to queue a relayout. The flag is not meant to be used + by application code, and should only be set when implementing a new + container. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1838 + + clutter/clutter-actor.c | 37 +++++++++++++++++++++++++++---------- + clutter/clutter-actor.h | 15 ++++++++++----- + clutter/clutter-group.c | 6 ++++++ + 3 files changed, 43 insertions(+), 15 deletions(-) + +commit 34b50934be581cde0ef2eba75f45aa36b1add14d +Author: Neil Roberts +Date: Sat Dec 5 14:20:00 2009 +0000 + + cogl-material: Ensure mipmaps before doing anything else on a texture + + When the texture is in the atlas, ensuring the mipmaps can effectively + make it become a completely different texture so we should do this + before getting the GL handle. + + clutter/cogl/cogl/cogl-material.c | 19 +++++++++++-------- + 1 file changed, 11 insertions(+), 8 deletions(-) + +commit 231cfffa1871806713928f7b4c599d904a813fb9 +Author: Neil Roberts +Date: Sat Dec 5 13:48:03 2009 +0000 + + cogl-atlas-texture: Remove textures from the atlas when mipmapping is required + + Mipmaps don't work very well in the current atlas because there is not + enough padding between the textures. If ensure_mipmaps is called it + will now create a new texture and migrate the atlased texture to + it. It will use the same blit mechanism as when migrating so it will + try to use an FBO for a fast blit. However if this is not possible it + will end up downloading the data for the entire atlas which is not + ideal. + + clutter/cogl/cogl/cogl-atlas-texture.c | 66 +++++++++++++++++++++++++++++----- + 1 file changed, 57 insertions(+), 9 deletions(-) + +commit 6cf5ee2cbdad4bb71a065bb7e49a534ca7ba78ac +Author: Neil Roberts +Date: Sat Dec 5 13:24:01 2009 +0000 + + cogl-atlas-texture: Try to do texture blits using an FBO + + When reorganizing the textures, we can avoid downloading the entire + texture data if we bind the source texture in a framebuffer object and + copy the destination using glCopyTexSubImage2D. This is also + implemented using a much faster path in Mesa. + + Currently it is calling the GL framebuffer API directly but ideally it + would use the Cogl offscreen API. However there is no way to tell Cogl + not to create a stencil renderbuffer which seems like a waste in this + situation. + + If FBOs are not available it will fallback to reading back the entire + texture data as before. + + clutter/cogl/cogl/cogl-atlas-texture.c | 198 ++++++++++++++++++++++++++++----- + 1 file changed, 168 insertions(+), 30 deletions(-) + +commit c51a31a2fc3f0f087a44cbccf1726c40fa581746 +Author: Neil Roberts +Date: Fri Dec 4 19:43:39 2009 +0000 + + cogl-atlas: Add a debug option to visualize the atlas + + This adds a 'dump-atlas-image' debug category. When enabled, CoglAtlas + will use Cairo to create a png which visualizes the leaf rectangles of + the atlas. + + clutter/cogl/cogl/cogl-atlas.c | 76 ++++++++++++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-debug.c | 3 +- + clutter/cogl/cogl/cogl-debug.h | 3 +- + 3 files changed, 80 insertions(+), 2 deletions(-) + +commit 032d6e8aa00cd04a8084303a4942760ef5651a0c +Author: Neil Roberts +Date: Fri Dec 4 18:55:53 2009 +0000 + + cogl-texture-atlas: Add some debugging notes + + This adds an 'atlas' category to the COGL_DEBUG environment + variable. When enabled Cogl will display messages when textures are + added to the atlas and when the atlas is reorganized. + + clutter/cogl/cogl/cogl-atlas-texture.c | 62 ++++++++++++++++++++++++++++++---- + clutter/cogl/cogl/cogl-debug.c | 3 +- + clutter/cogl/cogl/cogl-debug.h | 3 +- + 3 files changed, 60 insertions(+), 8 deletions(-) + +commit bc845e26d9cab75ecba69d12a937cf7d42bcaf71 +Author: Neil Roberts +Date: Fri Dec 4 18:24:15 2009 +0000 + + cogl-atlas-texture: Support reorganizing the atlas when it is full + + When space can't be found in the atlas for a new texture it will now + try to reorganize the atlas to make space. A new CoglAtlas is created + and all of the textures are readded in decreasing size order. If the + textures still don't fit then the size of the atlas is doubled until + either we find a space or we reach the texture size limits. If we + successfully find an organization that fits then all of the textures + will be migrated to a new texture. This involves copying the texture + data into CPU memory and then uploading it again. Potentially it could + eventually use a PBO or an FBO to transfer the image without going + through the CPU. + + The algorithm for laying out the textures works a lot better if the + rectangles are added in order so we might eventually want some API for + creating multiple textures in one go to avoid reorganizing the atlas + as far as possible. + + clutter/cogl/cogl/cogl-atlas-texture.c | 315 +++++++++++++++++++++++++++++---- + 1 file changed, 280 insertions(+), 35 deletions(-) + +commit 1fb32167ec37f7b3bc8193258faa5963fe49569e +Author: Neil Roberts +Date: Fri Dec 4 13:06:32 2009 +0000 + + cogl: Add an atlased texture backend + + This adds a CoglAtlas type which is a data structure that keeps track + of unused sub rectangles of a larger rectangle. There is a new atlased + texture backend which uses this to put multiple textures into a single + larger texture. + + Currently the atlas is always sized 256x256 and the textures are never + moved once they are put in. Eventually it needs to be able to + reorganise the atlas and grow it if necessary. It also needs to + migrate the textures out of the atlas if mipmaps are required. + + clutter/cogl/cogl/Makefile.am | 4 + + clutter/cogl/cogl/cogl-atlas-texture-private.h | 64 +++ + clutter/cogl/cogl/cogl-atlas-texture.c | 488 +++++++++++++++++++++++ + clutter/cogl/cogl/cogl-atlas.c | 520 +++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-atlas.h | 76 ++++ + clutter/cogl/cogl/cogl-context.c | 14 + + clutter/cogl/cogl/cogl-context.h | 8 + + clutter/cogl/cogl/cogl-texture.c | 30 +- + clutter/cogl/cogl/cogl-types.h | 3 +- + 9 files changed, 1194 insertions(+), 13 deletions(-) + +commit b33b6287a1d3d3b07bbb845e79dfc4e2162c5c77 +Author: Emmanuele Bassi +Date: Fri Dec 4 17:39:04 2009 +0000 + + tests: Clean up the BoxLayout interactive test + + tests/interactive/test-box-layout.c | 27 ++++++++++++++++----------- + 1 file changed, 16 insertions(+), 11 deletions(-) + +commit cf62b8fe4ab0d7cca360077843a9e213540e2c4d +Author: Emmanuele Bassi +Date: Fri Dec 4 17:38:26 2009 +0000 + + actor: Add debugging notes for size cache + + Add a note for cache hits, and another one for cache misses. + + clutter/clutter-actor.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 9ccdf2eb02a0d0155e27d5f9270bca6b72c08359 +Author: Emmanuele Bassi +Date: Fri Dec 4 16:54:22 2009 +0000 + + box: Add relative packing methods + + ClutterBox should provide some convenience functions to pack a new child + at a given position, either an absolute index or relative to a sibling. + + clutter/clutter-box.c | 221 ++++++++++++++++++++++++----- + clutter/clutter-box.h | 16 +++ + doc/reference/clutter/clutter-sections.txt | 3 + + tests/interactive/test-bin-layout.c | 1 - + 4 files changed, 203 insertions(+), 38 deletions(-) + +commit c9b7efec96636e9368a8dfb76440d1b89c618c99 +Author: Johan Bilien +Date: Wed Nov 11 20:40:57 2009 -0500 + + Add a cache of size requests + + clutter_actor_get_preferred_width/height currently caches only one size + requests, for a given height / width. + + It's common for a layout manager to call get_preferred_width with 2 + different heights during the same allocation cycle. Typically once in + the size request, once in the allocation. If + clutter_actor_get_preferred_width is called + alternatively with 2 different for_height, the cache is totally + inefficient, and we end up always querying the actor size even + when the actor does not need a re-allocation. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1876 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 137 +++++++++++++++++++++++++++++++++++++++++------- + 1 file changed, 117 insertions(+), 20 deletions(-) + +commit 18860eb16f36eb62b94aee353b4e2ace76e2fffa +Author: Bastian Winkler +Date: Thu Dec 3 15:38:05 2009 +0000 + + flow-layout: Use the natural size + + Fix a copy-and-paste thinko where the cell size was computed using the + minimum size instead of the natural size. For actors with a minimum size + of zero, like Textures, this implied always a zero allocation. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-flow-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 6c3e1989e47b17f826d25704b2433ffecc6e83b9 +Author: Neil Roberts +Date: Thu Dec 3 14:46:20 2009 +0000 + + cogl-sub-texture: Fix the height of sub textures + + The code which is used to get the texture height was accidentally + using the width due to a cut-and-paste fail. + + clutter/cogl/cogl/cogl-sub-texture.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 97f8eed11917fa0d545dcb08d20841f6b501c878 +Author: Neil Roberts +Date: Fri Nov 27 18:45:36 2009 +0000 + + cogl: Add a CoglTexture2D backend + + This is an optimised version of CoglTexture2DSliced that always deals + with a single texture and always uses the GL_TEXTURE_2D + target. cogl_texture_new_from_bitmap now tries to use this backend + first. If it can't create a texture with that size then it falls back + the sliced backend. + + cogl_texture_upload_data_prepare has been split into two functions + because the sliced backend needs to know the real internal format + before the conversion is performed. Otherwise the converted bitmap + will be wasted if the backend can't support the size. + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-texture-2d-private.h | 69 +++ + clutter/cogl/cogl/cogl-texture-2d.c | 623 ++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-texture-private.h | 9 + + clutter/cogl/cogl/cogl-texture.c | 75 +++- + 5 files changed, 755 insertions(+), 23 deletions(-) + +commit f3df76d5129ba0ed7014c6aa52be7bee67c3f7aa +Author: Neil Roberts +Date: Mon Nov 30 12:15:05 2009 +0000 + + cogl: Add _cogl_texture_driver_upload_to_gl + + This provides a way to upload the entire data for a texture without + having to first call glTexImage and then glTexSubImage. This should be + faster especially with indirect rendering where it would needlessy + send the data for the texture twice. + + clutter/cogl/cogl/cogl-texture-driver.h | 14 +++++++ + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 26 ++++++++++++ + .../cogl/cogl/driver/gles/cogl-texture-driver.c | 47 ++++++++++++++++++++++ + 3 files changed, 87 insertions(+) + +commit 19a19579ba72ea9ca4f6d406c035c3ad074fd442 +Author: Neil Roberts +Date: Fri Nov 27 16:59:51 2009 +0000 + + cogl: Move some of the texture_2d_sliced_new_* functions into cogl-texture + + new_from_data and new_from_file can be implemented in terms of + new_from_bitmap so it makes sense to move these to cogl-texture rather + than having to implement them in every texture backend. + + clutter/cogl/cogl/cogl-texture-2d-sliced-private.h | 16 ----- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 84 ---------------------- + clutter/cogl/cogl/cogl-texture.c | 44 +++++++++--- + 3 files changed, 33 insertions(+), 111 deletions(-) + +commit 27c4eb483d0ce219d80000613357c20fc25724e3 +Author: Neil Roberts +Date: Fri Nov 27 16:40:31 2009 +0000 + + cogl: Add a conformance test for sub textures + + This tests creating a sub texture from a larger texture using various + different texture coordinates. It also tries to read back the texture + data using cogl_texture_get_data. + + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-sub-texture.c | 388 ++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 390 insertions(+) + +commit 9752493272b39e6a8aeb1b8d667667d53de439fb +Author: Neil Roberts +Date: Fri Nov 27 16:39:16 2009 +0000 + + cogl: Add a sub texture backend + + This adds a new texture backend which represents a sub texture of a + larger texture. The texture is created with a reference to the full + texture and a set of coordinates describing the region. The backend + simply defers to the full texture for all operations and maps the + coordinates to the other range. You can also use coordinates outside + the range [0,1] to create a repeated version of the full texture. + + A new public API function called cogl_texture_new_from_sub_texture is + available to create the sub texture. + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-sub-texture-private.h | 56 +++ + clutter/cogl/cogl/cogl-sub-texture.c | 699 +++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-texture.c | 15 +- + clutter/cogl/cogl/cogl-texture.h | 27 ++ + doc/reference/cogl/cogl-sections.txt | 1 + + 6 files changed, 798 insertions(+), 2 deletions(-) + +commit 070a91f31176eb304031fc6dc2c374ef25f92a92 +Author: Neil Roberts +Date: Wed Dec 2 17:17:24 2009 +0000 + + cogl: Make the callback for foreach_sub_texture_in_region use const + + The CoglTextureSliceCallback function pointer now takes const pointers + for the texture coordinates. This makes it clearer that the callback + should not modify the array and therefore the backend can use the same + array for both sets of coords. + + clutter/cogl/cogl/cogl-journal-private.h | 2 +- + clutter/cogl/cogl/cogl-journal.c | 2 +- + clutter/cogl/cogl/cogl-primitives.c | 14 +++++++------- + clutter/cogl/cogl/cogl-texture-private.h | 4 ++-- + 4 files changed, 11 insertions(+), 11 deletions(-) + +commit 1a1de0e278de7c06b528ae74a31580dfd576d041 +Author: Neil Roberts +Date: Wed Dec 2 13:41:49 2009 +0000 + + cogl: Add a texture utility function for manually repeating + + Given a region of texture coordinates this utility invokes a callback + enough times to cover the region with a subregion that spans the + texture at most once. Eg, if called with tx1 and tx2 as 0.5 and 3.0 it + it would invoke the callback with: + + 0.5,1.0 1.0,2.0 2.0,3.0 + + Manual repeating is needed by all texture backends regardless of + whether they can support hardware repeating because when Cogl calls + the foreach_sub_texture_in_region method then it sets the wrap mode to + GL_CLAMP_TO_EDGE and no hardware repeating is possible. + + clutter/cogl/cogl/cogl-texture-private.h | 14 +++++ + clutter/cogl/cogl/cogl-texture.c | 102 +++++++++++++++++++++++++++++++ + 2 files changed, 116 insertions(+) + +commit 5fcb29c91695bdbb2aec418ba1d2956ff23612a0 +Author: Neil Roberts +Date: Fri Nov 27 15:47:22 2009 +0000 + + cogl-primitives: Check for repeating after the coordinate transform + + In _cogl_multitexture_quad_single_primitive we use a wrap mode of + GL_CLAMP_TO_EDGE if the texture coordinates are all in the range [0,1] + or GL_REPEAT otherwise. This is to avoid pulling in pixels from either + side when using GL_LINEAR filter mode and rendering the entire + texture. Previously it was checking using the unconverted texture + coordinates. This is ok unless the texture backend is radically + transforming the texture coordinates, such as in the sub texture + backend where the coordinates may map to something completely + different. We now check whether the coordinates are in range after + converting them. + + clutter/cogl/cogl/cogl-primitives.c | 87 ++++++++++++++++--------------------- + 1 file changed, 37 insertions(+), 50 deletions(-) + +commit 812d4d25bb28d8512c101701cf7cd06dc2dd95eb +Author: Neil Roberts +Date: Thu Nov 26 18:58:17 2009 +0000 + + cogl: Move all of the fields from CoglTexture to CoglTexture2DSliced + + Most of the fields that were previously in CoglTexture are specific to + the implementation of CoglTexture2DSliced so they should be placed + there instead. For example, the 'mipmaps_dirty' flag is an + implementation detail of the ensure_mipmaps function so it doesn't + make sense to force all texture backends to have this function. + + Other fields such as width, height, gl_format and format may make + sense for all textures but I've added them as virtual functions + instead. This may make more sense for a sub-texture backend for + example where it can calculate these based on the full texture. + + clutter/cogl/cogl/cogl-texture-2d-sliced-private.h | 25 ++- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 204 ++++++++++++--------- + clutter/cogl/cogl/cogl-texture-private.h | 21 +-- + clutter/cogl/cogl/cogl-texture.c | 19 +- + 4 files changed, 149 insertions(+), 120 deletions(-) + +commit 071dea2fbc307eca949f5f44c4ccb6c4dd73f789 +Author: Neil Roberts +Date: Thu Nov 26 17:32:52 2009 +0000 + + cogl: Move data only used for upload out of CoglTexture + + The CoglTexture struct previously contained some fields which are only + used to upload data such as the CoglBitmap and the source GL + format. These are now moved to a separate CoglTextureUploadData struct + which only exists for the duration of one of the cogl_texture_*_new + functions. In cogl-texture there are utility functions which operate + on this new struct rather than on CoglTexture directly. + + Some of the fields that were previously stored in the CoglBitmap + struct are now copied to the CoglTexture such as the width, height, + format and internal GL format. + + The rowstride was previously stored in CoglTexture and this was + publicly accessible with the cogl_texture_get_rowstride + function. However this doesn't seem to be a useful function because + there is no need to use the same rowstride again when uploading or + downloading new data. Instead cogl_texture_get_rowstride now just + calculates a suitable rowstride from the format and width of the + texture. + + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 344 ++++++++++----------- + clutter/cogl/cogl/cogl-texture-driver.h | 6 +- + clutter/cogl/cogl/cogl-texture-private.h | 51 +-- + clutter/cogl/cogl/cogl-texture.c | 93 +++--- + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 14 +- + .../cogl/cogl/driver/gles/cogl-texture-driver.c | 16 +- + 6 files changed, 262 insertions(+), 262 deletions(-) + +commit 7f58c14dcdbb5a6a24f17aacb784702dbaa468fb +Author: Neil Roberts +Date: Wed Dec 2 21:54:22 2009 +0000 + + cogl: Use #ifdef GL around GL_TEXTURE_RECTANGLE_ARB + + Commit 558b17ee1e added support for rectangle textures to the + framebuffer code. Under GLES there is no GL_TEXTURE_RECTANGLE_ARB + definition so this was breaking the build. The rest of Cogl uses + ifdef's around that constant so we should do the same here. + + clutter/cogl/cogl/cogl-framebuffer.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 59d84f7806e16b3d1fea5eed44a5d06d9772be23 +Author: Emmanuele Bassi +Date: Wed Dec 2 16:03:55 2009 +0000 + + build: Fix CPP and LD flags + + • The debug flags are pre-processor ones, so they should be listed + inside AM_CPPFLAGS. + + • Clutter's publicly exported symbols match the following regular + expression: + + ^(clutter|cogl|json)_* + + The old one also listed "pango" as a possible prefix, but the + Pango API is now under the Cogl namespace. + + clutter/Makefile.am | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 17e3b526d569b6c8f33cd050acce107d5f1b057b +Author: Emmanuele Bassi +Date: Wed Dec 2 14:15:43 2009 +0000 + + docs: Document Clutter's threading model + + Be explicit on how to deal with threads and Clutter. + + clutter/clutter-main.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 56 insertions(+) + +commit fc7bbf1abf732ba37fee8f12b5ed36e0b9a5fb95 +Author: Emmanuele Bassi +Date: Wed Dec 2 14:15:19 2009 +0000 + + docs: Fix docbook syntax + + The tag is really called in DocBook. + + clutter/clutter-layout-manager.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +commit 3c08c411d2ccd1523439c4f35427d266d1ef67dd +Author: Emmanuele Bassi +Date: Wed Dec 2 11:38:04 2009 +0000 + + docs: Annotate StageManager + + The ClutterStageManager instance structure is private, so we need a + "floating" annotation. + + clutter/clutter-stage-manager.h | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 7a33b706a40719e1d123ccfa71c3d5c5d864fdea +Author: Emmanuele Bassi +Date: Wed Dec 2 11:37:13 2009 +0000 + + Remove a gtk-doc annotation + + The Mesa matrix code still has a comment that looks like a gtk-doc + annotation. + + clutter/cogl/cogl/cogl-matrix-mesa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0270313121e9a02cb1f59de134ed724e6f8c0ae6 +Author: Emmanuele Bassi +Date: Wed Dec 2 11:36:25 2009 +0000 + + layout: Add padding to LayoutMeta + + Add some padding to the LayoutMeta and LayoutMetaClass structures. + + clutter/clutter-layout-meta.h | 18 +++++++++++++++++- + 1 file changed, 17 insertions(+), 1 deletion(-) + +commit 02398c0cf13f8326a8fadf0536ce1ac1994901ee +Author: Emmanuele Bassi +Date: Tue Dec 1 18:16:48 2009 +0000 + + Remove unused variable 'lang' + + Fix a compiler warning. + + clutter/clutter-main.c | 1 - + 1 file changed, 1 deletion(-) + +commit cdba8cc220a8ef026ade2dfaa542ff94c92cd5ef +Author: Rob Bradford +Date: Tue Dec 1 17:44:42 2009 +0000 + + flow-layout: Include the first line when calculating number of lines + + This ensures that the preferred height / width height takes into consideration + the correct amount of padding + + clutter/clutter-flow-layout.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit c564303601f6cabdc3314070d225f74a3c6df174 +Author: Rob Bradford +Date: Tue Dec 1 17:11:08 2009 +0000 + + flow-layout: Respect row-spacing/col-spacine in horizontal/vertical flows + + We need to add the row-spacing value when calculating the y position for lines + of actors in horizontal flowing layouts. + + Similarly we need to add the col-spacing value when calculating the x posution + for actors in vertical flowing layouts. + + clutter/clutter-flow-layout.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit e6ca2d891a2c48c91db45a0c2f5ce84d5e6621e1 +Author: Emmanuele Bassi +Date: Tue Dec 1 16:18:39 2009 +0000 + + glx: Always request an ARGB visual + + When requesting the GLXFBConfig for creating the GLX context, we should + always request one that links to an ARGB visual instead of a plain RGB + one. + + By using an ARGB visual we allow the ClutterStage:use-alpha property to + work as intended when running Clutter under a compositing manager. + + The default behaviour of requesting an ARGB visual can be disabled by + using the: + + CLUTTER_DISABLE_ARGB_VISUAL + + Environment variable. + + clutter/glx/clutter-backend-glx.c | 128 ++++++++++++++++++++++++++++++-------- + clutter/glx/clutter-backend-glx.h | 5 +- + clutter/glx/clutter-glx.h | 5 -- + clutter/glx/clutter-stage-glx.c | 13 +--- + clutter/x11/clutter-backend-x11.c | 15 ++++- + clutter/x11/clutter-x11.h | 2 + + 6 files changed, 125 insertions(+), 43 deletions(-) + +commit 2f7ff4d3e363a0568e4051ab67c0df6f745d06d2 +Author: Emmanuele Bassi +Date: Tue Dec 1 16:16:18 2009 +0000 + + stage: Add :use-alpha property + + The ClutterStage:use-alpha property is used to let a stage know that it + should honour the alpha component of the ClutterStage:color property. + + If :use-alpha is set to FALSE the stage always uses the full opacity + when clearing itself before a paint(); otherwise, the alpha value is + used. + + clutter/clutter-stage.c | 38 +++++++++++++++++++++++++++++++++++--- + 1 file changed, 35 insertions(+), 3 deletions(-) + +commit 1d87ecc6a1be73e7d72c8c5ecb2b8268d5a0cd5e +Author: Emmanuele Bassi +Date: Tue Dec 1 16:22:45 2009 +0000 + + materials: Get the right blend function for alpha + + The correct blend function for the alpha channel is: + + GL_ONE, GL_ONE_MINUS_SRC_ALPHA + + As per bug 1406. This fix was dropped when the switch to premultiplied + alpha was merged. + + clutter/cogl/cogl/cogl-material.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b43e804c078578e54b0ef9680a5d7b4bf53cafe8 +Author: Emmanuele Bassi +Date: Tue Dec 1 16:06:57 2009 +0000 + + actor: Fix a pre-condition check in set_text_direction() + + The check is failing because the condition should be: + + text_dir != CLUTTER_TEXT_DIRECTION_DEFAULT + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3e034cda58776a0fbc6812cd8d859ad58b5cab54 +Author: Emmanuele Bassi +Date: Tue Dec 1 15:17:49 2009 +0000 + + build: More cleanups for the configure summary + + Document each section, and add some more items to the summary like what + JSON-GLib are we using, and which version of the GLES API is COGL + wrapping. + + configure.ac | 27 ++++++++++++++++++++++----- + 1 file changed, 22 insertions(+), 5 deletions(-) + +commit e3b409529e9000cff6aabac8efdaccc0eaecf83f +Author: Emmanuele Bassi +Date: Tue Dec 1 15:17:16 2009 +0000 + + build: Require a stable JSON-GLib version + + The 0.7 version is the development cycle for JSON-GLib 0.8. + + configure.ac | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 1c47638db4ac741f4bae9ede860d16b4e1693a36 +Author: Emmanuele Bassi +Date: Tue Dec 1 14:59:44 2009 +0000 + + docs: Add missing symbols to clutter-sections.txt + + doc/reference/clutter/clutter-sections.txt | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 586750751a60b76e2f398be28d596009b6587c52 +Merge: c2332a5d2 6e99c1aef +Author: Emmanuele Bassi +Date: Tue Dec 1 14:55:19 2009 +0000 + + Merge branch 'text-direction' + + * text-direction: + docs: Add text-direction accessors + Set the default language on the Pango context + actor: Set text direction on parenting + tests: Display the index inside text-box-layout + box-layout: Honour :text-direction + text: Dirty layout cache on text direction changes + actor: Add :text-direction property + Use the newly added ClutterTextDirection enumeration + Add ClutterTextDirection enumeration + +commit 6e99c1aefe8f76cb3004a8cc89ae6f8b95d1f597 +Author: Emmanuele Bassi +Date: Tue Dec 1 14:55:01 2009 +0000 + + docs: Add text-direction accessors + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit c2332a5d26d854dcb4223088904305988b35a906 +Author: Bastian Winkler +Date: Tue Dec 1 12:31:07 2009 +0000 + + build: Fix the SUBDIRS ordering + + Signed-off-by: Emmanuele Bassi + + Makefile.am | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 220a8fbfda5bda38e6c7689176fd876c57074ab5 +Author: Emmanuele Bassi +Date: Tue Dec 1 10:16:25 2009 +0000 + + docs: Move documentation under doc/ + + Clean up the root directory of the project and try to keep the + documentation all together. + + Makefile.am | 3 --- + CODING_STYLE => doc/CODING_STYLE | 0 + HACKING => doc/HACKING | 0 + HACKING.backends => doc/HACKING.backends | 0 + doc/Makefile.am | 5 +++++ + 5 files changed, 5 insertions(+), 3 deletions(-) + +commit 348f5bfec8b8c0c682384001ac39b4e656b9c526 +Author: Emmanuele Bassi +Date: Tue Dec 1 10:11:33 2009 +0000 + + cookbook: Clean up the text + + • Remove the empty sections. + + • Add the description for the "overriding the paint sequence" recipe. + + doc/cookbook/clutter-cookbook.xml.in | 124 ++++++++++++++++++++++++----------- + 1 file changed, 86 insertions(+), 38 deletions(-) + +commit 52db14b78d848f0f876d4721895ccc2c83e06aba +Author: Emmanuele Bassi +Date: Mon Nov 30 21:51:46 2009 +0000 + + docs: Fix recursion into doc/ directory + + We should always recurse into the doc/ directory; whether we should then + recurse into reference/, cookbook/ and manual/ is a matter of specific + configure-time flags. + + Makefile.am | 6 +----- + doc/Makefile.am | 6 +++++- + 2 files changed, 6 insertions(+), 6 deletions(-) + +commit 5e1ccaeb603fb9f9b2b11cad13bbcf8682b33504 +Author: Emmanuele Bassi +Date: Thu Sep 3 13:04:59 2009 +0100 + + docs: Clean up the additional documentation build + + • Make the manual a DevHelp book + + • Make the generation of PDFs of the cookbook and the manual optional + + • Consequently, make the hard dependency on jw optional + + • Clean up the checks and build for the additional documentation + + .gitignore | 9 +-- + configure.ac | 41 +++++------ + doc/Makefile.am | 8 ++- + doc/common/Makefile.am | 9 +++ + doc/{cookbook => common}/common.xsl | 0 + doc/{cookbook => common}/devhelp.xsl | 0 + doc/{cookbook => common}/html.xsl | 0 + doc/{cookbook => common}/ref-html-style.xsl | 0 + doc/{cookbook => common}/style.css | 0 + doc/cookbook/Makefile.am | 30 ++++---- + ...lutter-cookbook.xml => clutter-cookbook.xml.in} | 7 +- + doc/cookbook/cookbook.xsl | 14 ---- + doc/manual/Makefile.am | 84 ++++++++++++---------- + doc/manual/clutter-manual.xml.in | 9 ++- + 14 files changed, 112 insertions(+), 99 deletions(-) + +commit ee9d358c452c8da879e7f40e4a2e701472067c04 +Author: Emmanuele Bassi +Date: Wed Sep 2 18:11:06 2009 +0100 + + [cookbook] Build the Cookbook as a devhelp document + + Instead of creating stand-alone HTML files, use XSLT to transform the + DocBook into a DevHelp file, so that we can read the Cookbook inside + DevHelp -- just like the API reference. + + configure.ac | 9 +- + doc/cookbook/Makefile.am | 83 ++++++------ + doc/cookbook/common.xsl | 19 +++ + doc/cookbook/devhelp.xsl | 154 ++++++++++++++++++++++ + doc/cookbook/html.xsl | 285 ++++++++++++++++++++++++++++++++++++++++ + doc/cookbook/ref-html-style.xsl | 54 ++++++++ + 6 files changed, 564 insertions(+), 40 deletions(-) + +commit 9485ef81a61d8950b7f04e01c749964c6a64922c +Author: Emmanuele Bassi +Date: Wed Sep 2 13:13:44 2009 +0100 + + [cookbook] Fix folds + + doc/cookbook/clutter-cookbook.xml | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 2675b829990eb0b6fb9bae848bd64fc4461324d2 +Author: Emmanuele Bassi +Date: Thu Dec 11 17:03:10 2008 +0000 + + Update the ignore file + + Add the temporary and output files of the cookbook. + + .gitignore | 5 +++++ + 1 file changed, 5 insertions(+) + +commit a7f7bfbc876a256f40fc0c3a43691b07bffeae96 +Author: Emmanuele Bassi +Date: Thu Dec 11 17:02:05 2008 +0000 + + Add the secon recipe to the Actors chapter + + The second recipe shows how to use the ::paint signal to override + the paint sequence of a pre-existing actor. + + doc/cookbook/clutter-cookbook.xml | 153 ++++++++++++++++++++++++++++++-------- + 1 file changed, 122 insertions(+), 31 deletions(-) + +commit 26b35e657f3fcf3ae8b919c4c315337f2261003f +Author: Emmanuele Bassi +Date: Thu Dec 11 17:00:16 2008 +0000 + + Add the first recipe to the Actors chapter + + The first recipe shows how to be notified when the relative position + and size of an actor changes using the notify:: signal on the actor's + dimensional and positional properties. + + doc/cookbook/clutter-cookbook.xml | 128 +++++++++++++++++++++++++++++++++++--- + 1 file changed, 120 insertions(+), 8 deletions(-) + +commit 135cb5c6e21200162939dc5a42f0a34c4daf8a39 +Author: Emmanuele Bassi +Date: Thu Dec 11 16:58:07 2008 +0000 + + Add a preface instead of an introduction + + Make the Cookbook look more like a book than a tutorial. + + doc/cookbook/clutter-cookbook.xml | 64 +++++++++++++++++++++++++++++++++++---- + 1 file changed, 58 insertions(+), 6 deletions(-) + +commit 35627f240fa498656492e437c130ffe34674ca54 +Author: Emmanuele Bassi +Date: Thu Dec 11 16:57:46 2008 +0000 + + Add the Clutter Cookbook to the build + + The "Clutter Cookbook" is a document designed to contain solutions + to common problems applications developers might encounter when using + Clutter. It is meant as a companion to the API reference but it + requires knowledge of the Clutter API and framework. + + .gitignore | 1 + + configure.ac | 2 + + doc/cookbook/Makefile.am | 71 ++++++++++++++ + doc/cookbook/clutter-cookbook.xml | 200 ++++++++++++++++++++++++++++++++++++++ + doc/cookbook/cookbook.xsl | 14 +++ + doc/cookbook/style.css | 97 ++++++++++++++++++ + doc/cookbook/version.xml.in | 1 + + 7 files changed, 386 insertions(+) + +commit 15a04a1dd39fd19f28132cbd3c22b49c05c0773b +Author: Emmanuele Bassi +Date: Mon Nov 30 19:03:11 2009 +0000 + + layout-manager: Create LayoutMeta on demand + + The ClutterLayoutMeta instances should be created on demand, whenever + the layout manager needs them - if the layout manager supports layout + properties. + + This removes the requirement to call add_child_meta() and + remove_child_meta() on add and remove respectively; it also simplifies + the implementation of LayoutManager sub-classes since we can add + fallback code in the base abstract class. + + Eventually, this will also lead to an easier to implement ClutterScript + parser for layout properties. + + With the new scheme, the ClutterLayoutMeta instance is created whenever + the layout manager tries to access it; if there isn't an instance + already attached to the container's child, one is created -- assuming + that the LayoutManager sub-class has overridden the + get_child_meta_type() virtual function and it's returning a valid GType. + + We can also provide a default implementation for create_child_meta(), + by getting the GType and instantiating a ClutterLayoutMeta with all the + fields already set. If the layout manager requires more work then it can + obviously override the default implementation (and even chain up to it). + + The ClutterBox actor has been updated, as well as the ClutterBoxLayout + layout manager, to take advantage of the changes of LayoutManager. + + clutter/clutter-box-layout.c | 13 -- + clutter/clutter-box.c | 10 -- + clutter/clutter-layout-manager.c | 221 +++++++++-------------------- + clutter/clutter-layout-manager.h | 8 +- + doc/reference/clutter/clutter-sections.txt | 2 - + 5 files changed, 70 insertions(+), 184 deletions(-) + +commit 7d842079ca7521332b98e7cc06480a3f7e23110f +Author: Emmanuele Bassi +Date: Mon Nov 30 18:22:26 2009 +0000 + + conform: Add named object property unit for ClutterScript + + We should exercise the resolution of the object properties containing a + string pointing to an object previously defined using ClutterScript. + + .gitignore | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-script-parser.c | 28 ++++++++++++++++++++++++++++ + tests/data/Makefile.am | 18 ++++++++++++++---- + tests/data/test-script-named-object.json | 22 ++++++++++++++++++++++ + 5 files changed, 66 insertions(+), 4 deletions(-) + +commit c3e640e6e36d3d3c72c1e340efa78817308a4283 +Author: Neil Roberts +Date: Mon Nov 30 19:06:05 2009 +0000 + + Use the correct colour when clearing the stage for picking + + The colour test for the stage in _clutter_do_pick checks for white to + determine whether the stage was picked but since 47db7af4d we were + setting the colur to black. This usually worked because the id of the + default stage ends up being 0 which equates to black. However if a + second stage is created then it will always end up picking the first + stage. + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1bb034fbd75bb7153f35c88b05ed0fb9544d0c8b +Author: Neil Roberts +Date: Sun Nov 29 20:06:36 2009 +0000 + + cogl: Enable blending if a lighting colour is semi-transparent + + We currently enable blending if the material colour has + transparency. This patch makes it also enable blending if any of the + lighting colours have transparency. Arguably this isn't neccessary + because we don't expose any API to enable lighting so there is no + bug. However it is currently possible to enable lighting with a direct + call to glEnable and this otherwise works so it is a shame not to have + it. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1907 + + clutter/cogl/cogl/cogl-material.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit 3cb974ee8be182944848b5e64dd4724f118bc8fa +Author: Emmanuele Bassi +Date: Mon Nov 30 16:15:19 2009 +0000 + + Set the default language on the Pango context + + When creating the Pango context we should also set the language + to be the default Pango language. + + clutter/clutter-main.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit daeb3b2fecb3d740b6d84215928fc4477396dc71 +Author: Emmanuele Bassi +Date: Mon Nov 30 16:14:09 2009 +0000 + + actor: Set text direction on parenting + + When setting the parent on an actor we should set the text direction to + be the same as the parent's. + + clutter/clutter-actor.c | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +commit 0ce5c7d350c8b904ed8cc15c911e6433619c6a2d +Author: Damien Lespiau +Date: Mon Nov 30 13:26:45 2009 +0100 + + gitignore: update gitignore files to match the latest cogl tests + + Some cogl tests were renamed in c1247066 to have 'cogl' in their names. + It's a good excuse to merge .gitigore and tests/.gitignore. + + .gitignore | 21 +++++++++++++-------- + tests/.gitignore | 52 ---------------------------------------------------- + 2 files changed, 13 insertions(+), 60 deletions(-) + +commit 4f06d035a2895b2839ba0e97109e8a44c1ad07e2 +Author: Damien Lespiau +Date: Wed Nov 25 13:29:26 2009 +0100 + + tests: fix argument parsing of test-texture-quality + + This test did not open redhand.png as argc/argv should be handled + normally (argv[0] being the name of the exectutable). + + Reviewed-by: Emmanuele Bassi + + tests/interactive/test-texture-quality.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit e4180b283836ccd665d23d1e19d35a8911c40436 +Author: Damien Lespiau +Date: Wed Nov 25 13:25:14 2009 +0100 + + tests: give all the arguments to the wrapper + + Some tests can be given extra arguments. The test-interactive dispatch + mechanism handles that but the small shell scripts around the wrapper + do not forward the arguments to the wrapper. + + Reviewed-by: Emmanuele Bassi + + tests/interactive/Makefile.am | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 934eb5d251ad9d9987d0ff1f0f9878fffc2484f1 +Author: Robert Bragg +Date: Fri Nov 27 15:24:09 2009 +0000 + + primitives: Don't use dynamic arrays since VS2008 can't cope with them :-( + + This changes _cogl_path_fill_nodes_scanlines to use g_alloca instead of + using a variable to declare an array length. + + clutter/cogl/cogl/cogl-primitives.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 47db7af4d3001387a3c7adc60f6c3166c149ab5d +Author: Robert Bragg +Date: Wed Nov 25 20:37:01 2009 +0000 + + picking: avoid redundant picking geometry for the stage. + + The stage's pick id can be written to the framebuffer when we call + cogl_clear so there's no need for the stage to also chain up in it's pick + function resulting in clutter-actor.c also emitting a rectangle for the + stage. + + clutter/clutter-main.c | 6 +++--- + clutter/clutter-stage.c | 12 +++++++----- + 2 files changed, 10 insertions(+), 8 deletions(-) + +commit c12470666e6bd63024437a389cd2c1202df93c33 +Author: Robert Bragg +Date: Fri Nov 27 00:28:39 2009 +0000 + + tests: rename cogl conformance tests so they can be clearly identified + + All Cogl conformance tests are now prefixed 'test-cogl-' + + tests/conform/Makefile.am | 24 +++++++-------- + ...face-culling.c => test-cogl-backface-culling.c} | 4 +-- + ...t-blend-strings.c => test-cogl-blend-strings.c} | 4 +-- + .../{test-clutter-fixed.c => test-cogl-fixed.c} | 4 +-- + .../{test-materials.c => test-cogl-materials.c} | 4 +-- + ...est-npot-texture.c => test-cogl-npot-texture.c} | 4 +-- + .../{test-premult.c => test-cogl-premult.c} | 4 +-- + ...uous.c => test-cogl-vertex-buffer-contiguous.c} | 4 +-- + ...eved.c => test-cogl-vertex-buffer-interleved.c} | 4 +-- + ...lity.c => test-cogl-vertex-buffer-mutability.c} | 4 +-- + tests/conform/test-conform-main.c | 34 ++++++++++++---------- + 11 files changed, 48 insertions(+), 46 deletions(-) + +commit 439f8c62b0e2651b9afeb08cb5166ed9e7f49521 +Author: Robert Bragg +Date: Thu Nov 26 19:06:35 2009 +0000 + + cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API + + cogl_push_draw_buffer, cogl_set_draw_buffer and cogl_pop_draw_buffer are now + deprecated and new code should use the new cogl_framebuffer_* API instead. + + Code that previously did: + cogl_push_draw_buffer (); + cogl_set_draw_buffer (COGL_OFFSCREEN_BUFFER, buffer); + /* draw */ + cogl_pop_draw_buffer (); + should now be re-written as: + cogl_push_framebuffer (buffer); + /* draw */ + cogl_pop_framebuffer (); + + As can be seen from the example above the rename has been used as an + opportunity to remove the redundant target argument from + cogl_set_draw_buffer; it now only takes one call to redirect to an offscreen + buffer, and finally the term framebuffer may be a bit more familiar to + anyone coming from an OpenGL background. + + README | 13 + + clutter/clutter-texture.c | 15 +- + clutter/cogl/cogl/Makefile.am | 4 +- + clutter/cogl/cogl/cogl-clip-stack.c | 74 ++--- + clutter/cogl/cogl/cogl-context.c | 13 +- + clutter/cogl/cogl/cogl-context.h | 4 +- + ...buffer-private.h => cogl-framebuffer-private.h} | 75 ++--- + .../{cogl-draw-buffer.c => cogl-framebuffer.c} | 367 +++++++++++---------- + clutter/cogl/cogl/cogl-journal.c | 12 +- + clutter/cogl/cogl/cogl-matrix-stack.c | 6 +- + clutter/cogl/cogl/cogl-primitives.c | 30 +- + clutter/cogl/cogl/cogl-texture.c | 12 +- + clutter/cogl/cogl/cogl-vertex-buffer.c | 6 +- + clutter/cogl/cogl/cogl.c | 80 ++--- + clutter/cogl/cogl/cogl.h | 73 +++- + doc/reference/cogl/cogl-sections.txt | 3 + + tests/conform/test-backface-culling.c | 7 +- + tests/conform/test-cogl-offscreen.c | 33 +- + tests/conform/test-cogl-readpixels.c | 45 ++- + tests/conform/test-cogl-viewport.c | 90 +++-- + tests/interactive/test-cogl-offscreen.c | 4 +- + 21 files changed, 517 insertions(+), 449 deletions(-) + +commit b598210e011f6711848e649217ac7a35770bfe8e +Author: Robert Bragg +Date: Thu Nov 26 17:47:17 2009 +0000 + + cogl_offscreen: deprecate cogl_offscreen_ref/unref. + + New code should use cogl_handle_ref/unref + + clutter/cogl/cogl/cogl-offscreen.h | 34 +++++++++++++++++++++------------- + 1 file changed, 21 insertions(+), 13 deletions(-) + +commit e12a691187a7dbbcfe5b46b94fe2975fd0927966 +Author: Neil Roberts +Date: Wed Nov 25 13:39:45 2009 +0000 + + cogl: Use a vtable for the texture backends instead of a type and switch + + Instead of storing an enum with the backend type for each texture and + then using a switch statement to decide which function to call, we + should store pointers to all of the functions in a struct and have + each texture point to that struct. This is potentially slightly faster + when there are more backends and it makes implementing new backends + easier because it's more obvious which functions have to be + implemented. + + clutter/cogl/cogl/cogl-texture-2d-sliced-private.h | 62 ----------- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 122 ++++++++++---------- + clutter/cogl/cogl/cogl-texture-private.h | 97 ++++++++++++---- + clutter/cogl/cogl/cogl-texture.c | 124 ++++----------------- + 4 files changed, 154 insertions(+), 251 deletions(-) + +commit 558b17ee1e71fb0fe7aea35e13cd5a73b18130dc +Author: Robert Bragg +Date: Wed Nov 25 02:47:52 2009 +0000 + + offscreen: cogl_offscreen_new_to_texture now supports GL_TEXTURE_RECTANGLE_ARB + + cogl_offscreen_new_to_texture previously bailed out if the given texture's + GL target was anything but GL_TEXTURE_2D, but it now also allows + foreign GL_TEXTURE_RECTANGLE_ARB textures. + + Thanks to Owen for reporting this issue, ref: + https://bugzilla.gnome.org/show_bug.cgi?id=601032 + + clutter/cogl/cogl/cogl-draw-buffer.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit d3a01e0c96237ca060e3451d2b80e692dfb3b8f6 +Author: Robert Bragg +Date: Tue Nov 24 18:24:07 2009 +0000 + + debug: remove the COGL_DEBUG=client-side-matrices option + + Cogl only supports client side matrices so this debug option is no longer + useful. + + clutter/cogl/cogl/cogl-debug.c | 1 - + clutter/cogl/cogl/cogl-debug.h | 13 ++++++------- + 2 files changed, 6 insertions(+), 8 deletions(-) + +commit b38c6b420f0ae1f118189bd0a8994fce479aef7b +Author: Robert Bragg +Date: Wed Nov 11 12:50:48 2009 +0000 + + [cogl-material] Adds cogl_material_copy() API + + cogl_material_copy can be used to create a new CoglHandle referencing a copy + of some given material. + + From now on we will advise that developers always aim to use this function + instead of cogl_material_new() when creating a material that is in any way + derived from another. + + By using cogl_material_copy, Cogl can maintain an ancestry for each material + and keep track of "similar" materials. The plan is that Cogl will use this + information to minimize the cost of GPU state transitions. + + README | 5 +++ + clutter/cogl/cogl/cogl-context.c | 13 +++++-- + clutter/cogl/cogl/cogl-context.h | 4 +- + clutter/cogl/cogl/cogl-material-private.h | 9 +++++ + clutter/cogl/cogl/cogl-material.c | 62 ++++++++++++++++++++++++++----- + clutter/cogl/cogl/cogl-material.h | 18 +++++++++ + clutter/cogl/cogl/cogl.c | 6 +-- + 7 files changed, 100 insertions(+), 17 deletions(-) + +commit 70ca3bfe4173aabd352fd0aed484c0bab57a8d02 +Author: Robert Bragg +Date: Wed Nov 11 12:52:08 2009 +0000 + + [cogl] remove unused gles/cogl-utils.[c,h] + + The only function in gles/cogl-utils.c was cogl_util_next_p2() and it's + redundant since we also have a cogl/cogl-utils.[c,h] + + clutter/cogl/cogl/driver/gles/cogl-util.c | 49 ------------------------------- + clutter/cogl/cogl/driver/gles/cogl-util.h | 30 ------------------- + 2 files changed, 79 deletions(-) + +commit 4a63af0c631cd9391a6b3cef6fdb545e36a68730 +Author: Robert Bragg +Date: Mon Nov 23 11:30:32 2009 +0000 + + docs: Don't document cogl_flush_gl_state as public API + + This function was #if 0'd before we released Clutter 1.0 so there's no + implementation of it. At some point we thought it might assist with + developers breaking out into raw OpenGL. Breaking out to raw GL is a + difficult problem though so we decided instead we will wait for a specific + use case to arrise before trying to support it. + + clutter/cogl/cogl/cogl.c | 8 -------- + clutter/cogl/cogl/cogl.h | 22 ---------------------- + doc/reference/cogl/cogl-sections.txt | 1 - + 3 files changed, 31 deletions(-) + +commit 328ce370e7a7f155f63ee8206e8b6cd4e66a6c94 +Author: Emmanuele Bassi +Date: Tue Nov 24 16:59:24 2009 +0000 + + animation: Keep a weak reference on actors + + Actors, unlike objects, can effectively go away whilst being + animated - usually because of an explicit destoy(). + + The Animation created by clutter_actor_animate() and friends + should keep a weak reference on the actor and eventually + get rid of the animation itself in case the actor goes away + whilst being animated. + + clutter/clutter-animation.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit 1107fa8797b0d2475097c20b50065dbc3ae014a1 +Author: Neil Roberts +Date: Thu Nov 19 16:07:38 2009 +0000 + + Minor fix to cogl material + + _cogl_material_get_layer expects a CoglMaterial* pointer but it was + being called with a CoglHandle. This doesn't matter because the + CoglHandle is actually just the CoglMaterial* pointer anyway but it + breaks the ability to change the _cogl_material_pointer_from_handle + macro. + + clutter/cogl/cogl/cogl-material.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6fd80ffbd926318413296112871891706867cd78 +Author: Emmanuele Bassi +Date: Thu Nov 19 14:30:01 2009 +0000 + + docs: Add indices to the Cogl API reference + + The Clutter API reference has an index of the symbols for each minor + version, and a list of deprecated symbols. The Cogl API reference + should have the same layout. + + doc/reference/cogl/cogl-docs.xml.in | 23 ++++++++++++++++++++++- + 1 file changed, 22 insertions(+), 1 deletion(-) + +commit 8d64c4641dbf9dfb09d2719872911263d2b758dc +Author: Emmanuele Bassi +Date: Thu Nov 19 13:55:10 2009 +0000 + + docs: Increase consistency in Cogl documentation + + clutter/cogl/cogl/cogl-texture.h | 66 +++++++++------- + clutter/cogl/cogl/cogl-vertex-buffer.h | 134 +++++++++++++++++---------------- + clutter/cogl/cogl/cogl.h | 90 +++++++++++----------- + 3 files changed, 157 insertions(+), 133 deletions(-) + +commit 550c14449e090f7921cdddc6acedb1bd72552663 +Author: Emmanuele Bassi +Date: Thu Nov 19 13:33:26 2009 +0000 + + docs: Documentation fixes for CoglMatrix + + Clean up the references, the docbook tags, and the style to fit in + with the rest of the API references for Cogl and Clutter. + + clutter/cogl/cogl/cogl-matrix.h | 136 ++++++++++++++++++++-------------------- + 1 file changed, 68 insertions(+), 68 deletions(-) + +commit 056cfcffc312f9508f07c82e41d96c606559db97 +Author: Emmanuele Bassi +Date: Thu Nov 19 13:33:08 2009 +0000 + + Whitespace fix for cogl-color.h + + clutter/cogl/cogl/cogl-color.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 851d628cf8fe89ab28d66f790ad98db766831e37 +Author: Emmanuele Bassi +Date: Thu Nov 19 13:31:38 2009 +0000 + + docs: Documentation fixes for CoglMaterial + + Clean up the references, the docbook tags, and the style to fit in + with the rest of the API references for Cogl and Clutter. + + clutter/cogl/cogl/cogl-material.h | 404 +++++++++++++++++++------------------- + 1 file changed, 205 insertions(+), 199 deletions(-) + +commit fe804f1d023b50801d400971bf311545727921e9 +Author: Emmanuele Bassi +Date: Thu Nov 19 13:29:02 2009 +0000 + + docs: Documentation fixes for CoglBitmap + + • Use the same style for the Cogl API reference as the one used for + the Clutter API reference. + + • Fix the introspection annotations for cogl_bitmap_get_size_from_file() + + clutter/cogl/cogl/cogl-bitmap.h | 25 +++++++++++++------------ + 1 file changed, 13 insertions(+), 12 deletions(-) + +commit 1bf8db9e75c6155bb852980cb40a9117c6190500 +Author: Emmanuele Bassi +Date: Thu Nov 19 12:34:06 2009 +0000 + + docs: Fix Cogl API reference build + + • Ignore all the private header files + + • Add all missing/unused symbols + + • Remove deprecated symbols from 0.* + + doc/reference/cogl/Makefile.am | 30 ++++++++++++++++++++++-------- + doc/reference/cogl/cogl-sections.txt | 29 ++++++++++++++++++++++++----- + 2 files changed, 46 insertions(+), 13 deletions(-) + +commit 05a5a7e759455a98233ea86016edf86d6d17be36 +Author: Emmanuele Bassi +Date: Thu Nov 19 12:32:59 2009 +0000 + + docs: Remove non-gtk-doc annotations + + The imported Mesa matrix code has some documentation annotations + that make gtk-doc very angry. Since it's all private anyway we + can safely make gtk-doc ignore the offending stuff. + + clutter/cogl/cogl/cogl-matrix-mesa.c | 136 +++++++++++++++++------------------ + clutter/cogl/cogl/cogl-matrix-mesa.h | 12 ++-- + 2 files changed, 74 insertions(+), 74 deletions(-) + +commit 7a011af97406c0075cc32eb2fbe4a07dc3d828c2 +Author: Neil Roberts +Date: Thu Nov 19 11:51:21 2009 +0000 + + docs: Fix the 'Since' annotation for some functions + + The 'Since' annotation needs to have a colon after it or gtk-doc won't + pick it up. + + clutter/clutter-behaviour-path.h | 2 +- + clutter/clutter-text.c | 2 +- + clutter/cogl/cogl/cogl-material.h | 40 ++++++++++++++++---------------- + clutter/cogl/cogl/cogl-texture.h | 6 ++--- + clutter/cogl/cogl/cogl.h | 4 ++-- + clutter/x11/clutter-x11-texture-pixmap.c | 4 ++-- + 6 files changed, 29 insertions(+), 29 deletions(-) + +commit 8ef57898ad66af345946a1f69172fc8be7038def +Author: Neil Roberts +Date: Wed Nov 18 19:09:10 2009 +0000 + + cogl: Use APIENTRY for GL function pointer declarations + + This matters for platforms such as Windows that use a different + calling covention from the default for GL functions. + + clutter/cogl/cogl/driver/gl/cogl-context-driver.h | 6 +++++- + clutter/cogl/cogl/driver/gles/cogl-context-driver.h | 6 +++++- + 2 files changed, 10 insertions(+), 2 deletions(-) + +commit be58e5261f3b0c6a760577f67f2859511d6e52f2 +Author: Neil Roberts +Date: Wed Nov 18 19:23:57 2009 +0000 + + build: Fix out-of-tree builds for cogl-defines.h + + $(COGL_DRIVER)/cogl-defines.h is generated in the configure script so + it ends up in the build directory. Therefore the build rule for + cogl/cogl-defines.h should depend on the file in $(builddir) not + $(srcdir). + + clutter/cogl/cogl/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 19e485325faa59d44556dd6dac9543fb616e680b +Author: Emmanuele Bassi +Date: Wed Nov 18 18:04:13 2009 +0000 + + docs: Clean up deprecation notices + + The deprecation notices in gtk-doc should also refer to the + release that added the deprecation, and if the deprecated + symbol has been replaced by something else then the new symbol + should be correctly referenced. + + clutter/cogl/cogl/cogl.h | 46 +++++++++++++++++++++++----------------------- + 1 file changed, 23 insertions(+), 23 deletions(-) + +commit 5f28c8b654094e27112426c206cf8294428515f9 +Author: Emmanuele Bassi +Date: Wed Nov 18 17:35:07 2009 +0000 + + build: Make cogl.h not conditional on driver defines + + The main COGL header cogl.h is currently created at configure time + because it conditionally includes the driver-dependent defines. This + sometimes leads to a stale cogl.h with old definitions which can + break the build until you clean out the whole tree and start from + scratch. + + We can generate a stable cogl-defines.h at build time from the + equivalent driver-dependent header and let cogl.h include that + file instead. + + .gitignore | 7 +++---- + clutter/cogl/cogl/Makefile.am | 18 ++++++++++++------ + clutter/cogl/cogl/{cogl.h.in => cogl.h} | 2 +- + configure.ac | 5 ++--- + 4 files changed, 18 insertions(+), 14 deletions(-) + +commit b869e87c86b73a8c09c5f509955a120978da7604 +Author: Neil Roberts +Date: Wed Nov 18 17:16:38 2009 +0000 + + test-npot-texture: Add some verbose notes + + This just adds some verbose output stating whether Cogl thinks that + NPOT textures are supported. + + tests/conform/test-npot-texture.c | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +commit 8f1edcb6eda89405286b7b1cdab3b8d8b899a778 +Author: Neil Roberts +Date: Wed Nov 18 14:21:22 2009 +0000 + + disable-npots: Don't allow the GL version to be 2.0 + + Cogl now assumes non-power-of-two textures are supported if the GL + version is >= 2.0 so the disable-npots utility should also change the + GL version. + + tests/tools/disable-npots.c | 79 +++++++++++++++++++++++++++++++++++++++++---- + 1 file changed, 72 insertions(+), 7 deletions(-) + +commit e80030755e37df28b30903bad63dc776b546abc3 +Author: Emmanuele Bassi +Date: Wed Nov 18 15:21:09 2009 +0000 + + build: Fix EXTRA_DIST and MAINTAINERCLEANFILES rules + + Makefile.am | 19 +++++++------------ + 1 file changed, 7 insertions(+), 12 deletions(-) + +commit ed4f0beac944a036839cd860f8aad223ffc101f2 +Author: Emmanuele Bassi +Date: Wed Nov 18 15:11:56 2009 +0000 + + Update README file + + README | 36 ++++++++++++++++++------------------ + 1 file changed, 18 insertions(+), 18 deletions(-) + +commit 44f926556d98737fd10b18fdb6951a41672c46db +Author: Emmanuele Bassi +Date: Wed Nov 18 15:06:37 2009 +0000 + + docs: Update the "writing a backend" documentation + + The documentation on how a ClutterBackend and stage are implemented + is a wee bit out of date. + + HACKING.backends | 39 +++++++++++++++++++++++---------------- + 1 file changed, 23 insertions(+), 16 deletions(-) + +commit f8e4e6727290aa63d2ec7dc30ca46913c98cb7ea +Author: Emmanuele Bassi +Date: Wed Nov 18 14:56:59 2009 +0000 + + Remove clutter.symbols + + The symbols file is unused since Clutter 0.6, and the win32 backend + does not depend on it anymore. + + clutter.symbols | 611 -------------------------------------------------------- + 1 file changed, 611 deletions(-) + +commit a4f1d1d6cc12b7007ac467673cf8d98dba132c87 +Author: Emmanuele Bassi +Date: Wed Nov 18 14:56:25 2009 +0000 + + Rename ChangeLog.SVN + + ChangeLog.SVN => ChangeLog.pre-git-import | 0 + 1 file changed, 0 insertions(+), 0 deletions(-) + +commit 60fae6a92eff5b61e4074f40161aa7b0b40bf2b9 +Author: Emmanuele Bassi +Date: Wed Nov 18 14:37:43 2009 +0000 + + build: Add cogl-matrix-private.h to the dist + + clutter/cogl/cogl/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 425f3b466041f46d1faed06da1cc46665bad60c6 +Author: Emmanuele Bassi +Date: Wed Nov 18 14:34:33 2009 +0000 + + build: Add cogl-feature-functions.h to the dist + + clutter/cogl/cogl/driver/gl/Makefile.am | 1 + + clutter/cogl/cogl/driver/gles/Makefile.am | 3 ++- + 2 files changed, 3 insertions(+), 1 deletion(-) + +commit d11343532d813cf9b16e5c1ac92c0f0bc56e8850 +Author: Emmanuele Bassi +Date: Wed Nov 18 14:21:08 2009 +0000 + + build: Generate per-cycle ChangeLog files + + We should generate a ChangeLog for each minor version cycle, starting + from the Git import date (since before that we used ChangeLog-style + commit messages that don't really look good with the Git ones). + + For this reason we can take Cairo's Makefile.am.changelog file and, + after tweaking it to fit our use case, let it generate the correct + ChangeLogs on dist. + + ChangeLog | 5 -- + Makefile.am | 3 +- + build/autotools/Makefile.am.changelog | 91 +++++++++++++++++++++++++++++------ + configure.ac | 8 +-- + 4 files changed, 82 insertions(+), 25 deletions(-) + +commit 18e9d0db6fc9e120a63485d1ecbc8b5514d66c77 +Author: Emmanuele Bassi +Date: Wed Nov 18 12:20:53 2009 +0000 + + build: Move ChangeLog rules in a separate file + + The ChangeLog creation rules should be moved to their own file, to + make it easier to fix or change them in the future. + + Makefile.am | 20 +------------------- + build/autotools/Makefile.am | 1 + + build/autotools/Makefile.am.changelog | 19 +++++++++++++++++++ + 3 files changed, 21 insertions(+), 19 deletions(-) + +commit 142305b1d51e9a3c69e8e2e224480297e43f79ea +Author: Neil Roberts +Date: Wed Nov 18 13:23:10 2009 +0000 + + cogl: Add the missing terminators for the arrays of feature functions + + _cogl_feature_check expects the array of function names to be + terminated with a NULL pointer but I forgot to add this. This was + causing crashes depending on what happened to be in memory after the + array. + + clutter/cogl/cogl/driver/gl/cogl.c | 1 + + clutter/cogl/cogl/driver/gles/cogl.c | 1 + + 2 files changed, 2 insertions(+) + +commit 70aeb1c64216d75ba63f1cbae1c824b69305bd73 +Author: Christian Persch +Date: Tue Nov 17 20:43:39 2009 +0100 + + Pass the interned string value to the binding callback + + http://bugzilla.openedhand.com/show_bug.cgi?id=1891 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-binding-pool.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2832940603733873a76cb4c890f4a3d656d07112 +Author: Neil Roberts +Date: Tue Nov 17 18:06:31 2009 +0000 + + cogl: Use the GL_EXT_blend_{func,equation}_separate extensions + + We should use these extensions to check for glBlendFuncSeparate and + glBlendEquationSeparate as well as checking the GL version number. + + clutter/cogl/cogl/driver/gl/cogl-feature-functions.h | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 6e0877507e00016cac1136c4e0dbab67e6a3e9ba +Author: Neil Roberts +Date: Tue Nov 17 17:22:22 2009 +0000 + + cogl: Don't bother checking for NPOTs or VBOs on later GLs + + For VBOs, we don't need to check for the extension if the GL version + is greater than 1.5. Non-power-of-two textures are given in 2.0. + + We could also assume shader support in GL 2.0 except that the function + names are different from those in the extension so it wouldn't work + well with the current mechanism. + + clutter/cogl/cogl/driver/gl/cogl-feature-functions.h | 4 +++- + clutter/cogl/cogl/driver/gl/cogl.c | 3 ++- + 2 files changed, 5 insertions(+), 2 deletions(-) + +commit 4a8c1ff8fa6244cad0b0e770ab6f68e319271675 +Author: Emmanuele Bassi +Date: Tue Nov 17 15:32:00 2009 +0000 + + build: Clean up the configure summary + + Split out into section the configuration report, and clean + up the reported settings - including when experimental features + have been enabled. + + configure.ac | 97 +++++++++++++++++++++++++++++++++++++++--------------------- + 1 file changed, 64 insertions(+), 33 deletions(-) + +commit 91cde78a7023d728ebb33c73684fc3702ad87963 +Author: Neil Roberts +Date: Tue Nov 17 13:52:40 2009 +0000 + + cogl: Make it easier to add checks for GL extensions + + Previously if you need to depend on a new GL feature you had to: + + - Add typedefs for all of the functions in cogl-defines.h.in + + - Add function pointers for each of the functions in + cogl-context-driver.h + + - Add an initializer for the function pointers in + cogl-context-driver.c + + - Add a check for the extension and all of the functions in + cogl_features_init. If the extension is available under multiple + names then you have to duplicate the checks. + + This is quite tedious and error prone. This patch moves all of the + features and their functions into a list of macro invocations in + cogl-feature-functions.h. The macros can be redefined to implement all + of the above tasks from the same header. + + The features are described in a struct with a pointer to a table of + functions. A new function takes the feature description from this + struct and checks for its availability. The feature can take a list of + extension names with a list of alternate namespaces (such as "EXT" or + "ARB"). It can also detect the feature from a particular version of + GL. + + The typedefs are now gone and instead the function pointer in the Cogl + context just directly contains the type. + + Some of the functions in the context were previously declared with the + 'ARB' extension. This has been removed so that now all the functions + have no suffix. This makes more sense when the extension could + potentially be merged into GL core as well. + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-feature-private.c | 141 ++++++++ + clutter/cogl/cogl/cogl-feature-private.h | 71 ++++ + clutter/cogl/cogl/cogl-journal.c | 10 +- + clutter/cogl/cogl/cogl-vertex-buffer.c | 21 +- + clutter/cogl/cogl/driver/gl/cogl-context-driver.c | 58 +--- + clutter/cogl/cogl/driver/gl/cogl-context-driver.h | 81 +---- + clutter/cogl/cogl/driver/gl/cogl-defines.h.in | 361 -------------------- + .../cogl/cogl/driver/gl/cogl-feature-functions.h | 326 ++++++++++++++++++ + clutter/cogl/cogl/driver/gl/cogl-program.c | 89 +++-- + clutter/cogl/cogl/driver/gl/cogl-shader.c | 27 +- + clutter/cogl/cogl/driver/gl/cogl.c | 369 ++------------------- + .../cogl/cogl/driver/gles/cogl-context-driver.c | 19 +- + .../cogl/cogl/driver/gles/cogl-context-driver.h | 25 +- + clutter/cogl/cogl/driver/gles/cogl-defines.h.in | 70 ---- + .../cogl/cogl/driver/gles/cogl-feature-functions.h | 72 ++++ + clutter/cogl/cogl/driver/gles/cogl.c | 82 ++--- + 17 files changed, 794 insertions(+), 1030 deletions(-) + +commit 4734b7be418274cf00390c805b472b9493100157 +Author: Emmanuele Bassi +Date: Sat Nov 14 13:03:59 2009 +0000 + + docs: Detail the Clutter debugging flags + + doc/reference/clutter/running-clutter.xml | 56 +++++++++++++++++++++++++++++++ + 1 file changed, 56 insertions(+) + +commit 037192552ed126c35e430c11f030f16e984ac0b4 +Author: Neil Roberts +Date: Fri Nov 13 17:23:13 2009 +0000 + + win32: Remove the check for GL 1.2 + + Since 568c29ba4 the GL version is now validated further up in + ClutterStage via Cogl so there is no need for the Win32 backend to do + it. + + clutter/win32/clutter-stage-win32.c | 42 ------------------------------------- + 1 file changed, 42 deletions(-) + +commit 62a37d8e538abc6d0c67bd69b4eb2a724668cce0 +Author: Neil Roberts +Date: Wed Nov 11 16:42:53 2009 +0000 + + Use the GL_ARB_multitexture extension on GL 1.2 + + Cogl requires multi-texturing support. This is only available as an + extension in GL 1.2 so we should check for it before accepting the + driver. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1875 + + clutter/cogl/cogl/driver/gl/cogl.c | 46 ++++++++++++++++++++++++++++++++------ + 1 file changed, 39 insertions(+), 7 deletions(-) + +commit 2e99b276a4d312d6123426e2c88adf621a427c86 +Author: Neil Roberts +Date: Wed Nov 11 13:38:52 2009 +0000 + + cogl-material: Fallback to BlendFunc if BlendFuncSeparate is unavailable + + glBlendFuncSeparate is only available in OpenGL 1.4. If we + conditionally check for this then Clutter will work with OpenGL 1.2. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1875 + + clutter/cogl/cogl/cogl-material.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit 568c29ba491e4a6b3bef426be528d7246110011c +Author: Neil Roberts +Date: Wed Nov 11 13:26:54 2009 +0000 + + Validate that the GL version is >= 1.2 + + There is a new internal Cogl function called _cogl_check_driver_valid + which looks at the value of the GL_VERSION string to determine whether + the driver is supported. Clutter now calls this after the stage is + realized. If it fails then the stage is marked as unrealized and a + warning is shown. + + _cogl_features_init now also checks the version number before getting + the function pointers for glBlendFuncSeparate and + glBlendEquationSeparate. It is not safe to just check for the presence + of the functions because some drivers may define the function without + fully implementing the spec. + + The GLES version of _cogl_check_driver_valid just always returns TRUE + because there are no version requirements yet. + + Eventually the function could also check for mandatory extensions if + there were any. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1875 + + clutter/clutter-backend.c | 14 ++++-- + clutter/clutter-private.h | 3 ++ + clutter/clutter-stage.c | 22 ++++++++- + clutter/cogl/cogl/cogl.c | 5 +++ + clutter/cogl/cogl/cogl.h.in | 9 ++++ + clutter/cogl/cogl/driver/gl/cogl.c | 87 +++++++++++++++++++++++++++++++++--- + clutter/cogl/cogl/driver/gles/cogl.c | 6 +++ + 7 files changed, 133 insertions(+), 13 deletions(-) + +commit 677ff9fb30a99b850eb1b41c34f80e5e01f8e43e +Author: Samuel Degrande +Date: Tue Oct 27 11:18:49 2009 +0100 + + Can no more include clutter-stage.h inside clutter-win32.h + + http://bugzilla.openedhand.com/show_bug.cgi?id=1847 + + Signed-off-by: Neil Roberts + + clutter/win32/clutter-win32.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 26ce94eda071cc133ab2b469cae0b19aae727279 +Author: Samuel Degrande +Date: Mon Oct 26 16:28:36 2009 +0100 + + Adapt win32 backend to the semantic change of StageWindow + + http://bugzilla.openedhand.com/show_bug.cgi?id=1847 + + Signed-off-by: Neil Roberts + + clutter/win32/clutter-backend-win32.c | 34 ++-- + clutter/win32/clutter-stage-win32.c | 345 +++++++++++++++++----------------- + clutter/win32/clutter-stage-win32.h | 2 + + 3 files changed, 194 insertions(+), 187 deletions(-) + +commit b69ee0989b3ec4b588a1e80ea933b3b8997f6898 +Author: Emmanuele Bassi +Date: Fri Nov 13 15:27:18 2009 +0000 + + tests: Add instructions to test-box-layout + + tests/interactive/test-box-layout.c | 17 ++++++++++++++++- + 1 file changed, 16 insertions(+), 1 deletion(-) + +commit 568ad044eba38198ecdb32f671047bffa27353a9 +Author: Neil Roberts +Date: Fri Nov 13 13:39:24 2009 +0000 + + Clear pending events for a stage when it is destroyed + + We can not process events for a stage that has been destroyed so we + should make sure that the events for the stage are removed from the + global event queue during dispose. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1882 + + clutter/clutter-stage.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +commit 49cd887aabf7ff8cbfb147ceacfc82e3c75c0c9b +Author: Emmanuele Bassi +Date: Fri Nov 13 14:43:57 2009 +0000 + + docs: Document the AnimationMode definition + + Both ClutterAlpha:mode and ClutterAnimation:mode can be defined using: + + • an integer id + • the "nick" field of the AnimationMode GEnumValue + • a custom, tweener-like string + + All these methods should be documented. + + clutter/clutter-alpha.c | 8 ++++-- + clutter/clutter-animation.c | 61 +++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 67 insertions(+), 2 deletions(-) + +commit c8d57037882729a7ea0117726f2e8e48b10416ac +Author: Emmanuele Bassi +Date: Fri Nov 13 14:10:29 2009 +0000 + + tests: Add unit for Animation definitions + + Verify that an Animation can be defined using ClutterScript. + + No initial/final state of the animation, yet. + + .gitignore | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-script-parser.c | 22 ++++++++++++++++++++++ + tests/data/test-script-animation.json | 14 ++++++++++++++ + 4 files changed, 38 insertions(+) + +commit d54f4e944c8725c84a5534d519fb3f9de7b95430 +Author: Emmanuele Bassi +Date: Fri Nov 13 14:08:49 2009 +0000 + + Whitespace fixes + + clutter/clutter-animation.c | 7 +++---- + clutter/clutter-script-parser.c | 3 +-- + 2 files changed, 4 insertions(+), 6 deletions(-) + +commit 95b55588ad6c57cbeb7cda50886e709aa1ae1c00 +Author: Emmanuele Bassi +Date: Fri Nov 13 14:07:25 2009 +0000 + + tests: Print out parser errors if present + + If the conformance test for the Script parser throws an error + and we've enabled verbosity then we should print out the error + message before aborting. + + tests/conform/test-script-parser.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit 9bae5535646b64e7c43f3a628942531d14e5a0f1 +Author: Emmanuele Bassi +Date: Fri Nov 13 13:21:47 2009 +0000 + + animation: Override parsing :mode + + Like in ClutterAlpha, ClutterAnimation:mode must be overridden when + parsing a Script definition, as we accept both a numeric id and the + string id for easing modes. + + clutter/clutter-animation.c | 51 ++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 50 insertions(+), 1 deletion(-) + +commit dab1da20ae144afe56f48c0a3be5865d84245658 +Author: Neil Roberts +Date: Mon Oct 5 13:37:11 2009 +0100 + + [cogl-primitives] Don't clear the whole stencil buffer + + When _cogl_add_path_to_stencil_buffer is used to draw a path we don't + need to clear the entire stencil buffer. Instead it can clear just the + bounding box of the path. This adds an extra parameter called + 'need_clear' which is only set if the stencil buffer is being used for + clipping. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1829 + + clutter/cogl/cogl/cogl-clip-stack.c | 6 ++++-- + clutter/cogl/cogl/cogl-primitives.c | 37 ++++++++++++++++++++++++++++++------- + 2 files changed, 34 insertions(+), 9 deletions(-) + +commit bc8faf52f4a817d7d023f554dcd7ace0efac9942 +Author: Neil Roberts +Date: Thu Nov 12 17:00:15 2009 +0000 + + Remove _cogl_flush_matrix_stacks from cogl-internal.h + + The definition for this function was removed in f7d64e5abvoid so it + should be removed from the header too. + + clutter/cogl/cogl/cogl-internal.h | 2 -- + 1 file changed, 2 deletions(-) + +commit 9fa562ad216d516d1cd66f72aa39eaad0a5c40b9 +Author: Emmanuele Bassi +Date: Wed Nov 11 10:32:39 2009 +0000 + + cogl: Declare cogl_is_bitmap() + + The function is automatically defined by the CoglHandle type + definition macro, but it still requires to be declared in the + header file to be used. + + clutter/cogl/cogl/cogl-bitmap.h | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit 482e4e8d111fa76194a20ccd120eac41afa277d8 +Author: Emmanuele Bassi +Date: Tue Nov 10 12:21:26 2009 +0000 + + tests: Display the index inside text-box-layout + + Since the rectangles packed inside the BoxLayout interactive test + have random colors it's not easy to verify the ordering. By using + the CoglPango API to print out the index in the middle of each + rectangle. + + tests/interactive/test-box-layout.c | 41 ++++++++++++++++++++++++++++++++++--- + 1 file changed, 38 insertions(+), 3 deletions(-) + +commit 4bc3d02ebd928b4bc7c59811b9e90aae36750cfb +Author: Emmanuele Bassi +Date: Tue Nov 10 12:20:14 2009 +0000 + + box-layout: Honour :text-direction + + During size request and allocation a ClutterBoxLayout should honour + the ClutterActor:text-direction property, and change the order of + the children. + + clutter/clutter-box-layout.c | 206 +++++++++++++++++++++++++++++-------------- + 1 file changed, 142 insertions(+), 64 deletions(-) + +commit adab87b520699892e012d601821a5aee11410125 +Author: Emmanuele Bassi +Date: Tue Nov 10 12:18:32 2009 +0000 + + text: Dirty layout cache on text direction changes + + When the text direction changes we should evict the cached layouts + to avoid stale entries in case the direction change produces a layout + with the same size. + + clutter/clutter-text.c | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + +commit f94f7692a6836ed4a5f039e4c2a44966b47c77fc +Author: Emmanuele Bassi +Date: Fri Nov 6 16:55:46 2009 +0000 + + actor: Add :text-direction property + + Every actor should have a property for retrieving (and setting) the + text direction. + + The text direction is used to provide a consisten behaviour in both + left-to-right and right-to-left languages. For instance, ClutterText + should perform key navigation following text direction. Layout + managers should also take into account text direction to derive the + right packing order for their children. + + clutter/clutter-actor.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++- + clutter/clutter-actor.h | 4 ++ + 2 files changed, 119 insertions(+), 1 deletion(-) + +commit 53a9d0c637ee1ef07e9251b77f86f0cd42ab611e +Author: Emmanuele Bassi +Date: Fri Nov 6 16:50:53 2009 +0000 + + Use the newly added ClutterTextDirection enumeration + + Instead of using PangoDirection directly we should use the + ClutterTextDirection enumeration. + + We also need a pair of accessor functions for setting and + getting the default text direction. + + clutter/clutter-main.c | 43 +++++++++++++++++++++++++++++++++---------- + clutter/clutter-main.h | 3 +++ + 2 files changed, 36 insertions(+), 10 deletions(-) + +commit 3958df4ff9b3aa800df2e0f1695fd143439d870a +Author: Emmanuele Bassi +Date: Fri Nov 6 16:49:55 2009 +0000 + + Add ClutterTextDirection enumeration + + The ClutterTextDirection is composed of three values: + + DEFAULT: a flag for returning the default text direction + LTR: left to right + RTL: right to left + + clutter/clutter-types.h | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 2671c425894c89a4afd415b70e8ebbc4f057e02b +Author: Neil Roberts +Date: Mon Nov 9 12:12:27 2009 +0000 + + Revert changes to test-cogl-primitives.c from 272e227109 + + These changes caused the test to try to load redhand.png but this no + longer works since the TESTS_DATADIR changes in 0b4899ef23. The only + use of the hand is commented out anyway so it looks like the changes + were intended for temporary debugging. + + tests/interactive/test-cogl-primitives.c | 14 -------------- + 1 file changed, 14 deletions(-) + +commit ac9f65cb92196e2eafd4b1e25dabd9cb6a428db3 +Author: Damien Lespiau +Date: Mon Nov 9 13:05:40 2009 +0000 + + build: Make the glib-mkenums generated files depend on their templates + + With this, if one changes the underlying template files, we run + glib-mkenums again to generate updated glib_enum_[ch] files. + + Reviewed-by: Emmanuele Bassi + + build/autotools/Makefile.am.enums | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 1be23c0cc9741cbe68a54cd84de772bd120254b6 +Author: Emmanuele Bassi +Date: Mon Nov 9 16:44:34 2009 +0000 + + build: Fix --with-imagebackend configure switch + + An overeager search and replace broke the image backend command + line switch for the configure script. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1ce25ffbb2561ab5eb3f6b07b74ec49587f44d32 +Author: Neil Roberts +Date: Mon Nov 9 11:50:16 2009 +0000 + + cogl: Add an initialiser for enable_flags in cogl_begin_gl + + This fixes a warning about an uninitialised value. It could also + potentially fix some crashes for example if the enable_flags value + happened to include a bit for enabling a vertex array if no vertex + buffer pointer was set. + + clutter/cogl/cogl/cogl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 09c04d4c67ea8d3ebeb3ee5adfc3752562cae3cc +Author: Emmanuele Bassi +Date: Mon Nov 9 11:07:27 2009 +0000 + + text: Add a NULL preedit string check + + This commit avoids a critical warning introduced by commit + bc51b8ca47ac90e52ab6a27ff791ea97d53f4648 + + clutter/clutter-text.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit bc51b8ca47ac90e52ab6a27ff791ea97d53f4648 +Author: Raymond Liu +Date: Mon Nov 9 16:42:15 2009 +0800 + + Fix cursor position in preedit status + + http://bugzilla.openedhand.com/show_bug.cgi?id=1871 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +commit 7e17822cfd860fd694735fbf550013f7f8b7a915 +Author: Emmanuele Bassi +Date: Fri Nov 6 15:06:39 2009 +0000 + + Clean up cogl.h template + + The inclusion order is mostly random, and it should really be + in alphabetic order, just like clutter.h. + + Also, cogl-vertex-buffer.h is included twice. + + clutter/cogl/cogl/cogl.h.in | 17 +++++++++-------- + 1 file changed, 9 insertions(+), 8 deletions(-) + +commit fcd8237ac5f5dc7bc485b8b5726824129215beea +Author: Tim Horton +Date: Fri Nov 6 11:57:43 2009 +0000 + + osx: CGBitmapContextCreate can't make 24bpp, alphaless offscreen pixmaps + + While loading a JPEG from disk (with clutter_texture_new_from_file), + I got the following: + + : CGBitmapContextCreate: unsupported parameter combination: 8 + integer bits/component; 24 bits/pixel; 3-component colorspace; + kCGImageAlphaNone; 3072 bytes/row. + : CGContextDrawImage: invalid context + + Looking around, I found that CGBitmapContextCreate can't make 24bpp + offscreen pixmaps without an alpha channel... + + This fixes the bug, and seems to not break other things... + + http://bugzilla.openedhand.com/show_bug.cgi?id=1159 + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/cogl/cogl-bitmap-pixbuf.c | 18 +++--------------- + 1 file changed, 3 insertions(+), 15 deletions(-) + +commit 5c67e8e0c09c83c470f999c86091181cc373d5b6 +Author: Emmanuele Bassi +Date: Fri Nov 6 14:07:46 2009 +0000 + + script: Coding style clean-ups + + clutter/clutter-script.c | 38 +++++++++++++++++++------------------- + 1 file changed, 19 insertions(+), 19 deletions(-) + +commit 179a66c922f85fdfc8968f7f60a5b76154696ad4 +Author: Emmanuele Bassi +Date: Fri Nov 6 14:07:26 2009 +0000 + + script: Document private functions + + clutter/clutter-script.c | 71 +++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 67 insertions(+), 4 deletions(-) + +commit 30bc36082e2922b11b98907fde12f64fd4f7399d +Author: Emmanuele Bassi +Date: Fri Nov 6 14:04:36 2009 +0000 + + Do not pass flags to g_module_open(NULL) + + The flags are ignored when opening the main module, so we + should pass 0 to avoid confusion when reading the source. + + clutter/clutter-alpha.c | 2 +- + clutter/clutter-script-parser.c | 6 +++--- + clutter/clutter-script.c | 2 +- + clutter/cogl/cogl/cogl.c | 4 ++-- + 4 files changed, 7 insertions(+), 7 deletions(-) + +commit 4262f79f34c35a8eb620fb82eb0e36d5ac191600 +Merge: b9e519c3b 031d4d620 +Author: Emmanuele Bassi +Date: Fri Nov 6 11:50:22 2009 +0000 + + Merge branch 'josh-osx-fixes' + + * josh-osx-fixes: + osx: Fix a warning on Snow Leopard + docs: Fix OS X docs to install Ports in correct order + osx: Implement the updated ClutterStageWindow interface + +commit b9e519c3b2bc5fc01743568a2a37029c61fdf6ef +Author: Joshua Lock +Date: Thu Nov 5 15:50:21 2009 +0000 + + tests: Remove a spurious #include + + The test-backface-culling has what looks like a stray #include in which + stops the test compiling for backends without GdkPixbuf. Remove it. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1867 + + tests/conform/test-backface-culling.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 031d4d6203f007fea2b95ca883c7113d0160372d +Author: Joshua Lock +Date: Thu Nov 5 15:48:25 2009 +0000 + + osx: Fix a warning on Snow Leopard + + Apple where nice and changed API between releases. This patch checks the + version of the compilation environment and tries to use the right parameter + type. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1866 + + clutter/osx/clutter-backend-osx.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 58f1dfcf35626b8b1ea896dfbd27623b15779fce +Author: Joshua Lock +Date: Thu Nov 5 15:31:56 2009 +0000 + + docs: Fix OS X docs to install Ports in correct order + + The order in which the MacPorts are installed is important otherwise we open + the user up to a world of pain. + This patch also tweaks the OS X docs to follow the formatting of the rest of + the docs and to discuss the option of GtkDoc. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1865 + + doc/reference/clutter/building-clutter.xml | 67 +++++++++++++++++------------- + 1 file changed, 37 insertions(+), 30 deletions(-) + +commit 4533e37744f8751e254741104d27b7b37e2fdfd7 +Author: Joshua Lock +Date: Thu Nov 5 15:44:32 2009 +0000 + + osx: Implement the updated ClutterStageWindow interface + + In the new Clutter world backend stage implementations should be lightweight + objects implementing the ClutterStageWindow interface and not ClutterActor + subclasses. + + This patch performs various cut-n-pastes to acheive that for the OSX backend + + http://bugzilla.openedhand.com/show_bug.cgi?id=1864 + + clutter/osx/clutter-backend-osx.c | 4 +- + clutter/osx/clutter-stage-osx.c | 196 ++++++++++++++++---------------------- + clutter/osx/clutter-stage-osx.h | 8 +- + 3 files changed, 89 insertions(+), 119 deletions(-) + +commit cb60c038acb0de9178d0aee22e3a9847653c9627 +Author: Emmanuele Bassi +Date: Fri Nov 6 11:33:32 2009 +0000 + + behaviour: Implement the implicit alpha parsing + + ClutterBehaviour should implement the Scriptable interface + and parse ClutterAlpha when implicitly defined, instead of + having this ad hoc code inside ClutterScriptParser itself. + + After all, only ClutterBehaviour supports Alpha defined + implicitly. + + clutter/clutter-behaviour.c | 46 +++++++++++++++++++++++++++++++++++----- + clutter/clutter-script-parser.c | 19 ++--------------- + clutter/clutter-script-private.h | 4 ++-- + 3 files changed, 45 insertions(+), 24 deletions(-) + +commit f1ed8be066a7c5f16e2e876cc76ef1f5348bc14e +Author: Emmanuele Bassi +Date: Fri Nov 6 11:32:28 2009 +0000 + + conform: Add unit for properties holding objects + + Exercise the definition of GObjects for properties defined using + GParamSpecObject. + + .gitignore | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-script-parser.c | 25 +++++++++++++++++++++++++ + tests/data/test-script-object-property.json | 13 +++++++++++++ + 4 files changed, 40 insertions(+) + +commit 7279afd28c1bc47e1b47f0c2f8d53e5ea75df832 +Author: Emmanuele Bassi +Date: Fri Nov 6 11:17:42 2009 +0000 + + script: Generic assignment of properties requiring objects + + The ClutterScriptParser should do most of the heavy-lifting for + parsing a JSON object member defining another JSON object into + a GObject property defined using a GParamSpecObject. + + clutter/clutter-script-parser.c | 62 ++++++++++++++++++++++++++++++++++------- + 1 file changed, 52 insertions(+), 10 deletions(-) + +commit 185107c6cfe174ed829ce26241bf0e2f532a4394 +Author: Emmanuele Bassi +Date: Fri Nov 6 10:53:43 2009 +0000 + + conformance: Add unit on the implicit alpha definition + + Exercise the implicit alpha and timeline definition to catch + regressions in the ClutterScript parser code. + + .gitignore | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-script-parser.c | 32 ++++++++++++++++++++++++++++++ + tests/data/test-script-implicit-alpha.json | 8 ++++++++ + 4 files changed, 42 insertions(+) + +commit f9581ca5ce87437df40e27bc0228fdb6c6897619 +Author: Emmanuele Bassi +Date: Fri Nov 6 10:17:30 2009 +0000 + + script: Apply properties when constructing implicit timelines + + The object construction is done in two passes, now, so we must do both + passes when parsing implicit timelines from a fake ObjectInfo. + + clutter/clutter-script-parser.c | 1 + + 1 file changed, 1 insertion(+) + +commit abae6013e10e08cc67be53d5d067ca5ed4ad7ee3 +Author: Robert Bragg +Date: Thu Nov 5 16:50:24 2009 +0000 + + Remove all internal use of deprecated cogl_clip_* API + + cogl_clip_push, and cogl_clip_push_window_rect which are now deprecated were + used in various places internally so this just switches to using the + replacement functions. + + clutter/clutter-actor.c | 10 +++++----- + clutter/clutter-main.c | 2 +- + clutter/clutter-text.c | 6 +++--- + tests/conform/test-cogl-viewport.c | 10 ++++++---- + tests/interactive/test-clip.c | 8 ++++---- + 5 files changed, 19 insertions(+), 17 deletions(-) + +commit c1d9e09d38bcf61eb7e6f88f5a052870d8abdc5e +Author: Robert Bragg +Date: Thu Nov 5 10:56:24 2009 +0000 + + [clip-stack] stop using deprecated cogl_clip_push_window_rect API + + try_pushing_rect_as_window_rect now uses the new + cogl_clip_push_window_rectangle API. + + clutter/cogl/cogl/cogl-clip-stack.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 272e227109387c9287081e9dad467290e4e93faf +Author: Robert Bragg +Date: Wed Nov 4 19:31:43 2009 +0000 + + [cogl-clip] deprecate parts and cleanup the API + + cogl_clip_push() which accepts a rectangle in model space shouldn't have + been defined to take x,y,width,height arguments because this isn't consistant + with other Cogl API dealing with model space rectangles. If you are using a + coordinate system with the origin at the center and the y+ extending up, + then x,y,width,height isn't as natural as (x0,y0)(x1,y1). This API has + now been replace with cogl_clip_push_rectangle() + + (As a general note: the Cogl API should only use the x,y,width,height style + when the appropriate coordinate space is defined by Cogl to have a top left + origin. E.g. window coordinates, or potentially texture coordinates) + + cogl_clip_push_window_rect() shouldn't have been defined to take float + arguments since we only clip with integral pixel precision. We also + shouldn't have abbreviated "rectangle". This API has been replaced with + cogl_clip_push_window_rectangle() + + cogl_clip_ensure() wasn't documented at all in Clutter 1.0 and probably + no one even knew it existed. This API isn't useful, and so it's now + deprecated. If no one complains we may remove the API altogether for + Clutter 1.2. + + cogl_clip_stack_save() and cogl_clip_stack_restore() were originally added + to allow us to save/restore the clip when switching to/from offscreen + rendering. Now that offscreen draw buffers are defined to own their clip + state and the state will be automatically saved and restored this API is now + redundant and so deprecated. + + README | 13 +++++ + clutter/cogl/cogl/cogl-clip-stack.c | 44 ++++++++------- + clutter/cogl/cogl/cogl.h.in | 92 ++++++++++++++++++++++++++++++-- + doc/reference/cogl/cogl-sections.txt | 9 ++-- + tests/interactive/test-cogl-primitives.c | 14 +++++ + 5 files changed, 144 insertions(+), 28 deletions(-) + +commit 6cd49fdd40bd20716365e399c3dfa039e3b6f377 +Author: Robert Bragg +Date: Wed Nov 4 20:17:56 2009 +0000 + + [clip-stack] Internally track model space clip rects as (x0,y0)(x1,y1) pairs + + Don't track the rectangles as x0,y0,width,height. This is in preparation + for some API tidy up. + + clutter/cogl/cogl/cogl-clip-stack.c | 113 +++++++++++++++++++----------------- + 1 file changed, 59 insertions(+), 54 deletions(-) + +commit 7752ed98f1eafa9bd65fbdd2e018b0026430b579 +Author: Robert Bragg +Date: Wed Nov 4 19:42:17 2009 +0000 + + [clip-stack] move lots of supporting code from cogl.c to cogl-clip-stack.c + + There was quite a bit of code in cogl.c that was only used to support + cogl-clip-stack.c, so this has now been moved to cogl-clip-stack.c + + clutter/cogl/cogl/cogl-clip-stack.c | 277 ++++++++++++++++++++++++++++++++---- + clutter/cogl/cogl/cogl.c | 237 ------------------------------ + 2 files changed, 250 insertions(+), 264 deletions(-) + +commit 864e12df056ccbd116eb0a0992a82e5194c26787 +Author: Robert Bragg +Date: Wed Nov 4 16:55:18 2009 +0000 + + [debug] Adds a COGL_DEBUG=force-scanline-paths + + For a long time now the GLES driver for Cogl has supported a fallback + scanline rasterizer for filling paths when no stencil buffer is available, + but now that we build the same cogl-primitives code for GL and GLES I + thought it may sometimes be useful for debugging to force Cogl to use the + scanline rasterizer instead of the current stencil buffer approach. + + clutter/cogl/cogl/cogl-debug.c | 3 ++- + clutter/cogl/cogl/cogl-debug.h | 3 ++- + clutter/cogl/cogl/cogl-primitives.c | 3 ++- + 3 files changed, 6 insertions(+), 3 deletions(-) + +commit 0b4899ef23e4979326439613dfba814bd49aeb2e +Author: Emmanuele Bassi +Date: Thu Nov 5 17:30:33 2009 +0000 + + tests: Clean up interactive test build + + The build for interactive tests creates symbolic links for the data + under tests/data; it also uses symbolic links for creating "binaries" + for each interactive test. This is less than ideal, though. + + Instead, the tests should build a path to the data files by using + a pre-processor define like TESTS_DATADIR; both g_build_filename() and + pre-processor string concatenation can be used to generate a valid + file name with the full path to the files. + + The build system should also create wrapper scripts, just like we + do inside the conformance test suite, to be able to launch single + tests. + + .gitignore | 1 + + tests/interactive/Makefile.am | 59 ++++++++++++--------- + tests/interactive/test-actor-clone.c | 27 +++++----- + tests/interactive/test-actors.c | 11 ++-- + tests/interactive/test-behave.c | 14 ++--- + tests/interactive/test-bin-layout.c | 6 ++- + tests/interactive/test-clip.c | 5 +- + tests/interactive/test-cogl-multitexture.c | 15 ++++-- + tests/interactive/test-cogl-offscreen.c | 6 ++- + tests/interactive/test-cogl-tex-convert.c | 28 ++++++---- + tests/interactive/test-cogl-tex-getset.c | 12 +++-- + tests/interactive/test-cogl-tex-polygon.c | 9 +++- + tests/interactive/test-cogl-tex-tile.c | 6 ++- + tests/interactive/test-depth.c | 5 +- + tests/interactive/test-devices.c | 5 +- + tests/interactive/test-fbo.c | 11 ++-- + tests/interactive/test-layout.c | 5 +- + tests/interactive/test-multistage.c | 5 +- + tests/interactive/test-paint-wrapper.c | 5 +- + tests/interactive/test-pixmap.c | 2 +- + tests/interactive/test-rotate.c | 8 ++- + tests/interactive/test-script.c | 9 +++- + tests/interactive/test-shader.c | 84 ++++++++++++++++-------------- + tests/interactive/test-texture-async.c | 57 +++++++++----------- + tests/interactive/test-texture-quality.c | 15 ++++-- + tests/interactive/test-viewport.c | 8 ++- + tests/interactive/wrapper.sh | 4 +- + 27 files changed, 260 insertions(+), 162 deletions(-) + +commit c3368c0d157c5fa28a4e29e6caaed4323e82990d +Author: Emmanuele Bassi +Date: Thu Nov 5 12:24:37 2009 +0000 + + layout: Add layout properties introspection + + In order to know if a layout property exists and retrieve its + description in form of a GParamSpec, we need a wrapper API inside + ClutterLayoutManager. This allows introspecting a LayoutManager + sub-class and eventually serialize and deserialize it. + + clutter/clutter-layout-manager.c | 76 +++++++++++++++++++++++++++++ + clutter/clutter-layout-manager.h | 103 ++++++++++++++++++++------------------- + 2 files changed, 130 insertions(+), 49 deletions(-) + +commit b0c9de273096d8949c8eafa3d5da017bb551e3f0 +Author: Emmanuele Bassi +Date: Thu Nov 5 12:23:49 2009 +0000 + + box-layout: Add get_child_meta_type() override + + Return the GType of ClutterBoxChild. + + clutter/clutter-box-layout.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit eea00d280549641403dbaae27e370e16fe9f975b +Author: Emmanuele Bassi +Date: Thu Nov 5 12:23:22 2009 +0000 + + bin-layout: Add get_child_meta_type() override + + Return the GType of ClutterBinLayer. + + clutter/clutter-bin-layout.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit e6dff59b27d7eb6d9fca51f6ddf74fcb7d8253e3 +Author: Emmanuele Bassi +Date: Thu Nov 5 11:57:06 2009 +0000 + + layout: Add LayoutManager::get_child_meta_type() + + In order to inspect a LayoutManager using LayoutMeta we need a + virtual function that returns the GType of the LayoutMeta used. + + clutter/clutter-layout-manager.c | 7 +++++++ + clutter/clutter-layout-manager.h | 3 +++ + 2 files changed, 10 insertions(+) + +commit 95d78acb4ca72951fc9552c9fcffa645b1be739a +Author: Emmanuele Bassi +Date: Wed Nov 4 16:45:44 2009 +0000 + + script: Allow parsing child properties + + The ClutterScript parser needs to be extended to parse child properties + and apply them after an actor has been added to a container. In order to + distinguish child properties from regular GObject properties we can use + the "child::" prefix, e.g.: + + { + "type" : "ClutterRectangle", + "id" : "child-01", + "child::has-focus" : true, + ... + } + + Parsing child properties can be deferred to the ClutterScriptable + interface, just like regular properties. + + .gitignore | 1 + + clutter/clutter-script-parser.c | 115 ++++++++++++++++++++++++++- + clutter/clutter-script-private.h | 2 + + tests/conform/Makefile.am | 2 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-script-parser.c | 156 +++++++++++++++++++++++++++++++++++++ + tests/data/test-script-child.json | 21 +++++ + 7 files changed, 297 insertions(+), 1 deletion(-) + +commit c52d8780325a0077f7fc6e898d902462ffbe3c8c +Author: Robert Bragg +Date: Sat Oct 17 04:06:56 2009 +0100 + + [cogl-primitives] Get rid of driver specific cogl-primitives code + + These files were practically identical, except the gles code had additional + support for filling paths without a stencil buffer. All the driver code has + now been moved into cogl/cogl-primitives.c + + clutter/cogl/cogl/cogl-primitives.c | 488 +++++++++++++++++++++- + clutter/cogl/cogl/driver/gl/Makefile.am | 1 - + clutter/cogl/cogl/driver/gl/cogl-primitives.c | 313 -------------- + clutter/cogl/cogl/driver/gles/Makefile.am | 1 - + clutter/cogl/cogl/driver/gles/cogl-primitives.c | 516 ------------------------ + 5 files changed, 482 insertions(+), 837 deletions(-) + +commit 8ba13d6495d00885380db3a23f552633c5c43c0a +Author: Emmanuele Bassi +Date: Wed Nov 4 15:21:03 2009 +0000 + + script: Clean up Color parsing rules + + All the ClutterColor parsing rules should be coalesced inside + clutter_script_parse_color(): object, array and string notations + are the canonical ways of defining a ClutterColor inside a + ClutterScript definition. Having a single function in charge of + the parsing cleans up the code. + + clutter/clutter-script-parser.c | 17 +++++++---------- + tests/conform/test-script-parser.c | 6 ++++++ + 2 files changed, 13 insertions(+), 10 deletions(-) + +commit 3e815de32b2aa525365b80fb7d2f5d5dc9d2fb72 +Author: Emmanuele Bassi +Date: Wed Nov 4 15:20:12 2009 +0000 + + script: Simplify boxed types parsing + + We should use the typed accessors for complex JSON types, and + be more liberal in what we accept. + + clutter/clutter-script-parser.c | 147 ++++++++++++++++------------------------ + 1 file changed, 57 insertions(+), 90 deletions(-) + +commit 4df59d330ca4ba7ffcff830001ddbc4fe64167ee +Author: Emmanuele Bassi +Date: Wed Nov 4 14:05:13 2009 +0000 + + script: Separate construction from properties application + + Currently, ClutterScriptParser will construct the object (using the + construct-only and construct parameters), apply the properties from + the ClutterScript definition, and eventuall will add children and + behaviours. + + The construction phase should be more compartimentalized: the objects + should be constructed first and eventual children and behaviours + added. Then, once an object is requested or when the parsing process + has terminated, all the properties should be applied. + + This change allows us to set up the actors before setting their + non-construct properties. + + clutter/clutter-script-parser.c | 137 +++++++++++++++++++-------------------- + clutter/clutter-script-private.h | 8 ++- + clutter/clutter-script.c | 22 +++++-- + 3 files changed, 88 insertions(+), 79 deletions(-) + +commit 31e5dadb68cf285d57935573e16713201f24503e +Author: Emmanuele Bassi +Date: Wed Nov 4 13:32:26 2009 +0000 + + script: Move all parser code inside ClutterScriptParser + + ClutterScript is currently a mix of parser-related code and + the ClutterScript object. All the parser-related code should + be moved inside a private class, ClutterScriptParser, inheriting + from JsonParser. + + clutter/clutter-script-parser.c | 1288 ++++++++++++++++++++++++++++++++- + clutter/clutter-script-private.h | 38 +- + clutter/clutter-script.c | 1485 +++----------------------------------- + 3 files changed, 1438 insertions(+), 1373 deletions(-) + +commit d7cfa158513263a5f75934a8f9ddceea9a6b8800 +Author: Emmanuele Bassi +Date: Wed Nov 4 11:50:45 2009 +0000 + + conform: Add the beginnings of a ClutterScript test suite + + ClutterScript is a very complicated piece of machinery, with a + parser that has custom variations on top of the basic JSON + format; it could also be extended in the future, so if we don't + want to introduce regressions or break existing ClutterScript + definitions, we'd better have a conformance test suite. + + .gitignore | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 2 ++ + tests/conform/test-script-parser.c | 33 +++++++++++++++++++++++++++++++++ + tests/data/Makefile.am | 13 ++++++++----- + tests/data/test-script-single.json | 10 ++++++++++ + 6 files changed, 55 insertions(+), 5 deletions(-) + +commit 7d891d9dd4acbaedc5b2a2f95445a1e93fd1529f +Author: Emmanuele Bassi +Date: Wed Nov 4 11:47:09 2009 +0000 + + tests: Allow getting data files from the tests/data directory + + The units under the conformance test suite should be able to use + external files. Linking the files in tests/conform like the + interactive tests do seems like a hack piled on top of a hack, so + instead we should provide a programmatic way for a conformance + test unit to get the full path of a file, regardless of where the + tests/data directory is. + + We can use a define to get the full path of tests/data and then + a function using g_build_filename() to construct the path to the + file we want. + + tests/conform/Makefile.am | 14 +++++++++----- + tests/conform/test-conform-common.h | 1 + + tests/conform/test-conform-main.c | 6 ++++++ + 3 files changed, 16 insertions(+), 5 deletions(-) + +commit 3e20468c6bd982eb8be0e3cbf9c9b72df38eaeeb +Author: Emmanuele Bassi +Date: Wed Nov 4 11:05:25 2009 +0000 + + Add new conformance tests to the ignore list + + .gitignore | 3 +++ + 1 file changed, 3 insertions(+) + +commit 6e571928a49641f353f31e1f69328e1466b6ac66 +Author: Emmanuele Bassi +Date: Tue Nov 3 18:30:28 2009 +0000 + + script: Take a copy of property nodes + + Instead of counting on a JsonNode pointer to survive we should take + a copy. This allows keeping unresolved properties across different + ClutterScript passes. + + clutter/clutter-script.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 4ad57aa3e4caedd89e9c60c60aadbc239290cfe3 +Author: Emmanuele Bassi +Date: Tue Nov 3 18:29:52 2009 +0000 + + script: Use JsonObject direct accessors + + Instead of getting the JsonNode for a member of which we mandate + the type we can use the typed accessors of JsonObject. + + clutter/clutter-script.c | 16 ++++++++++------ + 1 file changed, 10 insertions(+), 6 deletions(-) + +commit 0ff420fab59221fccf711893c363145607b40898 +Merge: f6e0e48ac 4258214e5 +Author: Robert Bragg +Date: Wed Nov 4 03:46:45 2009 +0000 + + Merge commit 'cogl-reorg-draw-buffers' + + * cogl-reorg-draw-buffers: (38 commits) + [test-fbo] greatly simplify the test + [tests] test-backface-culling: test culling with offscreen rendering + [tests] Adds test-cogl-readpixels.c for very basic cogl_read_pixels testing + [tests] Adds test-cogl-offscreen to validate offscreen draw buffer + [tests] test-cogl-viewport tests semantics of over/under size viewports + [test-texture-fbo] comment the colors defined in corner_colors + Add a conformance test for clutter_texture_new_from_actor + [cogl-texture-2d-sliced] allow COGL_FORMAT_ANY with _new_with_size() + [texture] fix rounding when calculating update_fbo viewport offset + [texture] switch to a new design for handling offscreen rendering + [texture] split out fbo update code from cluter_texture_paint + [texture] push/pop draw buffer when painting actors to a texture + [texture] Avoid redundant use of cogl_clip_stack_save when drawing offscreen + [cogl-draw-buffer] fix Cogl -> GL viewport coord conversion + [cogl_clip_push_window_rect] fix Cogl -> GL coordinate conversion + [matrix] Adds cogl_matrix_get_inverse API + [debug] Adds a COGL_DEBUG=matrices debug option + [cogl-matrix] Import Mesa's matrix manipulation code + [cogl] avoid any state changes when cogl_set_backface_culling_enable is a nop + [cogl] Use clockwise face winding for offscreen buffers with culling enabled + ... + +commit 4258214e509edbc4ff82de418ffc9662088fa835 +Author: Robert Bragg +Date: Wed Oct 7 10:40:15 2009 +0100 + + [test-fbo] greatly simplify the test + + This test tried to do too much, and I can't remember the last time I saw this + test work. + + It no longer tries to create a texture from an offscreen actor and it no + longer tries to use shaders. + + It does though show that chaining of clutter_texture_new_from_actor now + works, and that animating the source actor is reflected in textures created + from it. + + When run you should see three actors: + - on the left is the pristine source actor rotating around the y-axis + - in the middle is the first texture created from the source actor + - and on the right a texture created from the middle actor + + Note: the somewhat strange bobbing of the middle and right textures is + actually correct given how it was decided long ago to map the transformed + (to screen space) allocation of the source actor to the texture. When the + hand spins around the perspective projection of the top of the hand results + in the origin of the texture bobbing up to a higher stage position, but the + position of the textures is fixed. This design also means we end up + reallocating our offscreen draw buffer every frame that the actors + transformed size changes, which isn't ideal. + + tests/interactive/test-fbo.c | 192 ++++++++----------------------------------- + 1 file changed, 34 insertions(+), 158 deletions(-) + +commit ffb592de5908d844b527cb4fe75b7195eb0dc55d +Author: Robert Bragg +Date: Thu Oct 22 19:01:27 2009 +0100 + + [tests] test-backface-culling: test culling with offscreen rendering + + Since offscreen rendering is internally forced to be upside down Cogl + needs to reverse the glFrontFace winding order so as not to interfere + with the use of cogl_set_backface_culling_enabled() + + This ensures we test that mechanism. + + tests/conform/test-backface-culling.c | 172 ++++++++++++++++++++++------------ + 1 file changed, 111 insertions(+), 61 deletions(-) + +commit 60b642f5d6aada0d237cfb7d81f6b78299c29e73 +Author: Robert Bragg +Date: Thu Oct 22 16:56:01 2009 +0100 + + [tests] Adds test-cogl-readpixels.c for very basic cogl_read_pixels testing + + Mostly this was written to verify that we don't flip the data read back from + an offscreen draw buffer. (since all offscreen rendering is done upside + down) + + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-readpixels.c | 153 +++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 155 insertions(+) + +commit 2ff7f2d287f8dc80f0e6e02bdc388d4fee99d878 +Author: Robert Bragg +Date: Thu Oct 22 12:36:17 2009 +0100 + + [tests] Adds test-cogl-offscreen to validate offscreen draw buffer + + This adds a basic test to check that rendering a few colored rectangles + offscreen works and that the modelview gets restored when switching back to + the previous buffer. + + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-offscreen.c | 169 ++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 3 files changed, 171 insertions(+) + +commit 369e68630daf7f833da986a19ad17043b43d61e3 +Author: Robert Bragg +Date: Wed Oct 21 16:06:43 2009 +0100 + + [tests] test-cogl-viewport tests semantics of over/under size viewports + + Unlike OpenGL Cogl puts the origin of windows/viewports at the top left + instead of bottom left. This test verifies that we correctly translate Cogl + viewports to OpenGL viewports for the awkward cases where the given viewport + has an offset and/or the viewport has a different size to the current draw + buffer. + + tests/conform/Makefile.am | 1 + + tests/conform/test-cogl-viewport.c | 417 +++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 + + 3 files changed, 420 insertions(+) + +commit bc24190b9ac32405d4be24d84968357921c7f7e2 +Author: Robert Bragg +Date: Mon Nov 2 01:23:25 2009 +0000 + + [test-texture-fbo] comment the colors defined in corner_colors + + It helps to be able to quickly glance at the definition to see which + quadrant of the test actor should be which color, so when debugging a + problem and looking at the visual output you can easily verify if it's being + flipped upside down/left to right. + + tests/conform/test-texture-fbo.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit b41a81fb0868e51bf03d25446f8cc9748fcd6bc7 +Author: Neil Roberts +Date: Thu Sep 17 14:25:29 2009 +0100 + + Add a conformance test for clutter_texture_new_from_actor + + This contains four tests :- + + - A regular onscreen source with a clone next to it + + - An offscreen source with a clone. This is currently commented out + because it no longer works. + + - An onscreen source with a rectangular clip and a clone. + + - An onscreen source with a clip from a path and a clone. + + The sources are all a 2x2 grid of colors. Each clone is tested that it + either contains the color that should be at that grid position or that + the stage color is showing through if the source is clipped. + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 1 + + tests/conform/test-texture-fbo.c | 255 ++++++++++++++++++++++++++++++++++++++ + 3 files changed, 257 insertions(+) + +commit fec13f6202067f0700514db6676d3984b78a26df +Author: Robert Bragg +Date: Sat Oct 31 00:01:44 2009 +0000 + + [cogl-texture-2d-sliced] allow COGL_FORMAT_ANY with _new_with_size() + + It's useful when initialzing offscreen draw buffers to be able to ask + Cogl to create a texture of a given size and with the default internal + pixel format. + + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ae57c30e937d90eb1e541edd36ae9f81aedc2854 +Author: Robert Bragg +Date: Sun Nov 1 23:56:03 2009 +0000 + + [texture] fix rounding when calculating update_fbo viewport offset + + When rendering to an fbo for supporting clutter_texture_new_from_actor we + render to an fbo with the same size as the source actor, but with a viewport + the same size as the stage. We offset the viewport so when we render the + source actor in its normal transformed stage position it lands on the fbo. + Previously we were rounding the transformed position given as a float by + truncating the fraction (just using a C cast) but that resulted in an + incorrect pixel offset when rendering offscreen depending on the source + position. + + We now simply + 0.5 before casting (or -0.5 for negative numbers) + + clutter/clutter-texture.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit 309f852efbde6a3e025225d01293509c28989d0c +Author: Robert Bragg +Date: Mon Nov 2 01:14:50 2009 +0000 + + [texture] switch to a new design for handling offscreen rendering + + For supporting clutter_texture_new_from_actor(): when updating a + ClutterTexture's fbo we previously set up an offset frustum in the + perspective matrix before rendering source actors to an offscreen draw + buffer so as to give a perspective as if it were being drawn at its + original stage location. + + Now that Cogl supports offset viewports there is a simpler way... + + When we come to render the source actor to our offscreen draw buffer we + now copy the projection matrix from the stage; we create a viewport + that's also the same size as the stage (though larger than the offscreen + draw buffer) and as before we apply the modelview transformations of + the source actors ancestry before painting it. + + The only trick we need now is to offset the viewport according to the + transformed (to screen space) allocation of the source actor (something we + required previously too). We negatively offset the stage sized viewport + such that the smaller offscreen draw buffer is positioned to sit underneath + the source actor in stage coordinates. + + clutter/clutter-texture.c | 100 ++++++++++++++++------------------------------ + 1 file changed, 35 insertions(+), 65 deletions(-) + +commit 94a6028358caed32dba7ba37db9784c95d4690f2 +Author: Robert Bragg +Date: Thu Sep 24 14:34:09 2009 +0100 + + [texture] split out fbo update code from cluter_texture_paint + + To help keep clutter_texture_paint maintainable this splits out a big + chunk of standalone code that's responsible for updating the fbo when + clutter_texture_new_from_actor has been used. + + clutter/clutter-texture.c | 156 ++++++++++++++++++++++++---------------------- + 1 file changed, 81 insertions(+), 75 deletions(-) + +commit 2762e6d9b90731fd05b46aac407cebd3ba372027 +Author: Robert Bragg +Date: Tue Oct 13 22:22:39 2009 +0100 + + [texture] push/pop draw buffer when painting actors to a texture + + When updating the FBO for a source actor (to support + clutter_texture_new_from_actor()) we used to simply set an offscreen draw + buffer to be current, paint the source actor and then explicitly set the + window to be current again. This precluded chaining texture_new_from_actor + though because updating another FBO associated with a source actor would end + up restoring the window as the current buffer instead of the previous + offscreen buffer. Now that we use Cogl's draw buffer stack; chaining + clutter_texture_new_from_actor() should be possible. + + clutter/clutter-texture.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit c7d229585f2e8dec30162cbad955230c25e16718 +Author: Robert Bragg +Date: Fri Oct 23 00:16:30 2009 +0100 + + [texture] Avoid redundant use of cogl_clip_stack_save when drawing offscreen + + Since cogl draw buffers now own their clip state the stage's clip state will + automatically be saved and restored via the cogl_set_draw_buffer API. + + clutter/clutter-texture.c | 6 ------ + 1 file changed, 6 deletions(-) + +commit 90dbae5aa9a31688f2dd73b75df67607795fa60e +Author: Robert Bragg +Date: Sat Oct 31 00:00:33 2009 +0000 + + [cogl-draw-buffer] fix Cogl -> GL viewport coord conversion + + Before we call glViewport we need to convert Cogl viewport coordinates + (where the origin is defined to be top left) to OpenGL coordinates + (where the origin is defined to be bottom left) + + We weren't considering that offscreen rendering is always upside down + and in this case Cogl coordinates == OpenGL coordinates. + + clutter/cogl/cogl/cogl-draw-buffer.c | 15 +++++++++++---- + 1 file changed, 11 insertions(+), 4 deletions(-) + +commit 149e3e168a14049bb496a6438b711caa1fbe8129 +Author: Robert Bragg +Date: Fri Oct 30 23:57:56 2009 +0000 + + [cogl_clip_push_window_rect] fix Cogl -> GL coordinate conversion + + Firstly this now uses the draw buffer height not the viewport height + when we need to perform a y = height - y conversion, since (as the + name suggests) we are dealing with window coordinates not viewport + coordinates. + + Secondly this skips any conversion when the current draw buffer is an + offscreen draw buffer since offscreen rendering is always forced to be + upside down and in this case Cogl window coordinates == GL window + coordinates. + + clutter/cogl/cogl/cogl-clip-stack.c | 32 ++++++++++++++++++++++++++------ + 1 file changed, 26 insertions(+), 6 deletions(-) + +commit 0369a1b84d725c6dbd90f9a9dd1753bea1f9c3e1 +Author: Robert Bragg +Date: Mon Oct 26 17:51:34 2009 +0000 + + [matrix] Adds cogl_matrix_get_inverse API + + This new API takes advantage of the recently imported Mesa code to support + inverse matrix calculation. The matrix code keeps track (via internal + flags) of the transformations a matrix represents so that it can select an + optimized inversion function. + + Note: although other aspects of the Cogl matrix API have followed a similar + style to Cairo's matrix API we haven't added a cogl_matrix_invert API + because the inverse of a CoglMatrix is actually cached as part of the + CoglMatrix structure meaning a destructive API like cogl_matrix_invert + doesn't let users take advantage of this caching design. + + clutter/cogl/cogl/cogl-context.h | 3 --- + clutter/cogl/cogl/cogl-matrix-stack.c | 11 ++++++++ + clutter/cogl/cogl/cogl-matrix-stack.h | 3 +++ + clutter/cogl/cogl/cogl-matrix.c | 33 +++++++++++++++--------- + clutter/cogl/cogl/cogl-matrix.h | 21 ++++++++++++++++ + clutter/cogl/cogl/cogl.c | 47 +++++++---------------------------- + 6 files changed, 65 insertions(+), 53 deletions(-) + +commit 8051596e96a296cf30887f6e522a288895b628f8 +Author: Robert Bragg +Date: Mon Oct 26 11:01:33 2009 +0000 + + [debug] Adds a COGL_DEBUG=matrices debug option + + This adds a COGL_DEBUG=matrices debug option that can be used to trace all + matrix manipulation done using the Cogl API. This can be handy when you + break something in such a way that a trace is still comparable with a + previous working version since you can simply diff a log of the broken + version vs the working version to home in on the bug. + + clutter/cogl/cogl/cogl-debug.c | 3 ++- + clutter/cogl/cogl/cogl-debug.h | 3 ++- + clutter/cogl/cogl/cogl-matrix-private.h | 47 +++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-matrix.c | 20 ++++++++++++++ + clutter/cogl/cogl/cogl.c | 5 ++++ + 5 files changed, 76 insertions(+), 2 deletions(-) + +commit eb438dd499c002a7d770d5e3d0c1fb1c84da933e +Author: Robert Bragg +Date: Mon Oct 26 08:23:21 2009 +0000 + + [cogl-matrix] Import Mesa's matrix manipulation code + + This pulls in code from Mesa to improve our matrix manipulation support. It + includes support for calculating the inverse of matrices based on top of a + matrix categorizing system that allows optimizing certain matrix types. + (the main thing we were after) but also adds some optimisations for + rotations. + + Changes compared to the original code from Mesa: + + - Coding style is consistent with the rest of Cogl + - Instead of allocating matrix->m and matrix->inv using malloc, our public + CoglMatrix typedef is large enough to directly contain the matrix, its + inverse, a type and a set of flags. + - Instead of having a _math_matrix_analyse which updates the type, flags and + inverse, we have _math_matrix_update_inverse which essentially does the + same thing (internally making use of _math_matrix_update_type_and_flags()) + but with additional guards in place to bail out when the inverse matrix is + still valid. + - When initializing a matrix with the identity matrix we don't immediately + initialize the inverse matrix; rather we just set the dirty flag for the + inverse (since it's likely the user won't request the inverse of the + identity matrix) + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-matrix-mesa.c | 1698 ++++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-matrix-mesa.h | 226 +++++ + clutter/cogl/cogl/cogl-matrix.c | 39 +- + clutter/cogl/cogl/cogl-matrix.h | 6 +- + 5 files changed, 1967 insertions(+), 4 deletions(-) + +commit d38d888f786f3be03778bcc10f20389e6c7ff1ff +Author: Robert Bragg +Date: Thu Oct 22 19:09:20 2009 +0100 + + [cogl] avoid any state changes when cogl_set_backface_culling_enable is a nop + + This is a simple optimization to bail out of cogl_set_backface_culling_enable + if it's not resulting in a change of state. + + clutter/cogl/cogl/cogl.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 764cca75b4ee6bb269097445cb5220f0e044a57c +Author: Robert Bragg +Date: Thu Oct 22 19:01:52 2009 +0100 + + [cogl] Use clockwise face winding for offscreen buffers with culling enabled + + Because Cogl defines the origin for texture as top left and offscreen draw + buffers can be used to render to textures, we (internally) force all + offscreen rendering to be upside down. (because OpenGL defines the origin + to be bottom left) + + By forcing the users scene to be rendered upside down though we also reverse + the winding order of all the drawn triangles which may interfere with the + users use of backface culling. This patch ensures that we reverse the + winding order for a front face (if culling is in use) while rendering + offscreen so we don't conflict with the users back face culling. + + clutter/cogl/cogl/cogl-context.c | 2 ++ + clutter/cogl/cogl/cogl-context.h | 1 + + clutter/cogl/cogl/cogl-internal.h | 9 +++++++++ + clutter/cogl/cogl/cogl-journal.c | 1 + + clutter/cogl/cogl/cogl-primitives.c | 1 + + clutter/cogl/cogl/cogl-vertex-buffer.c | 1 + + clutter/cogl/cogl/cogl.c | 33 +++++++++++++++++++++++++++++++++ + 7 files changed, 48 insertions(+) + +commit b2ebb7db485d0a58bcb642fe9e4584c85ac9a503 +Author: Robert Bragg +Date: Fri Oct 30 23:54:13 2009 +0000 + + [main] Use cogl_read_pixels not glReadPixels in clutter-main.c + + The debugging function read_pixels_to_file() and _clutter_do_pick were both + directly calling glReadPixels, but we don't wan't Clutter making direct + OpenGL calls and Cogl provides a suitable alternative. It also means + read_pixels_to_file() doesn't need to manually flip the data read due to + differences in Clutter/Cogl coordinate systems. + + clutter/clutter-main.c | 31 +++++++++++++++---------------- + 1 file changed, 15 insertions(+), 16 deletions(-) + +commit 40b8399d49f6b0383b9eebcdf1ca501b5edb4f39 +Author: Robert Bragg +Date: Tue Nov 3 12:54:45 2009 +0000 + + [cogl_read_pixels] don't force a 4 byte pack alignment + + Technically this change shouldn't make a difference since we are + calling glReadPixels with GL_RGBA GL_UNSIGNED_BYTE which is a 4 + byte format and it should always result in the same value according + to how OpenGL calculates the location of sequential rows. + + i.e. k = a/s * ceil(snl/a) where: + a = alignment + s = component size (1) + n = number of components per pixel (4) + l = number of pixels in a row + gives: + k = 4/1 * ceil(4l/4) and k = 1/1 * ceil(4l/1) which are equivalent + + I'm changing it because I've seen i915 driver code that bails out of + hardware accelerated paths if the alignment isn't 1, and because + conceptually we have no alignment constraints here so even if the current + value has no effect, when we start reading back other formats it may upset + things. + + clutter/cogl/cogl/cogl.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit a222ee22f9dd35c5e0671914206759699e63750d +Author: Robert Bragg +Date: Mon Nov 2 01:11:21 2009 +0000 + + [cogl_read_pixels] call cogl_flush() before changing glPixelStore state + + We were previously calling cogl_flush() after setting up the glPixelStore + state for calling glReadPixels, but flushing the journal could itself + change the glPixelStore state. + + clutter/cogl/cogl/cogl.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit ed431a3c65507b3e3da4760eae6e2b22be1f27f5 +Author: Robert Bragg +Date: Mon Nov 2 01:10:02 2009 +0000 + + [cogl_read_pixels] ensure we flush the current draw buffer state before reading + + Make sure we call _cogl_draw_buffer_flush_state() before glReadPixels() to + be sure we have bound the correct framebuffer. + + clutter/cogl/cogl/cogl.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit b47404c91d6fac264840a0dafb5dd2dd5567c6a9 +Author: Robert Bragg +Date: Mon Nov 2 01:12:10 2009 +0000 + + [cogl_read_pixels] fixes for calculating the y offset when rendering offscreen + + Since offscreen rendering is forced to be upside down we don't need to do + any conversion of the users coordinates to go from Cogl window coordinates + to OpenGL window coordinates. + + clutter/cogl/cogl/cogl.c | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +commit 426197f51da9c4351b36812276f0caee06965cb1 +Author: Robert Bragg +Date: Thu Oct 22 16:55:07 2009 +0100 + + [read-pixels] don't flip data when reading from offscreen draw buffers + + Since we do all offscreen rendering upside down (so that we can have the + origin for texture coordinates be the top left of textures for the cases + where offscreen draw buffers are bound to textures) we don't need to flip + data read back from an offscreen framebuffer before we we return it to the + user. + + clutter/cogl/cogl/cogl.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 21322848e0094a025dc0b5461eff30e0d66542da +Author: Robert Bragg +Date: Wed Oct 21 23:22:45 2009 +0100 + + [clip-stack] tidy up transform_point() code + + I was originally expecting the code not to handle offset viewports or + viewports with a different size to the framebuffer, but it turns out the + code worked fine. In the process though I think I made the code slightly + more readable. + + clutter/cogl/cogl/cogl-clip-stack.c | 32 +++++++++++++++++++++----------- + 1 file changed, 21 insertions(+), 11 deletions(-) + +commit 8c3a132ecb3ce805c45dad70c05417713ed9d05d +Author: Robert Bragg +Date: Tue Nov 3 13:26:58 2009 +0000 + + [cogl] deprecate cogl_viewport() in favour of cogl_set_viewport() + + cogl_viewport only accepted a viewport width and height, but there are times + when it's also desireable to have a viewport offset so that a scene can be + translated after projection but before hitting the framebuffer. + + README | 6 ++++++ + clutter/clutter-texture.c | 2 +- + clutter/cogl/cogl/cogl.c | 12 ++++++------ + clutter/cogl/cogl/cogl.h.in | 22 +++++++++++++++++++++- + 4 files changed, 34 insertions(+), 8 deletions(-) + +commit 1e2d88e7891a02b26d0143e28788072e8731be6b +Author: Robert Bragg +Date: Wed Oct 21 23:24:28 2009 +0100 + + [cogl_read_pixels] use buffer not viewport height to calculate y offset + + glReadPixel takes window coordinates not viewport coordinates so we + shouldn't have been assuming that the viewport height == window height. + + clutter/cogl/cogl/cogl.c | 8 +++----- + 1 file changed, 3 insertions(+), 5 deletions(-) + +commit e1630be35a912125b1f493c7d1007b65eaecd048 +Author: Robert Bragg +Date: Wed Oct 21 23:20:44 2009 +0100 + + [draw-buffer] Adds cogl_draw_buffer_get_{width,height} API + + Simply adds missing API to query the width and height of any Cogl draw buffer. + + clutter/cogl/cogl/cogl-draw-buffer-private.h | 4 ++++ + clutter/cogl/cogl/cogl-draw-buffer.c | 14 ++++++++++++++ + 2 files changed, 18 insertions(+) + +commit 12af2751392ea53959fa41dd7cb19e07358655f2 +Author: Robert Bragg +Date: Wed Oct 21 23:24:49 2009 +0100 + + [cogl] Make sure Cogl always knows the current window geometry + + Because Cogl defines the origin of viewport and window coordinates to be + top-left it always needs to know the size of the current window so that Cogl + window/viewport coordinates can be transformed into OpenGL coordinates. + + This also fixes cogl_read_pixels to use the current draw buffer height + instead of the viewport height to determine the OpenGL y coordinate to use + for glReadPixels. + + clutter/clutter-backend.c | 19 ++++++++++++++++++- + clutter/clutter-stage.c | 8 ++++++++ + clutter/cogl/cogl/cogl-context.c | 2 +- + clutter/cogl/cogl/cogl-context.h | 2 +- + clutter/cogl/cogl/cogl-draw-buffer.c | 36 +++++++++++++++++++++++++++++++----- + clutter/cogl/cogl/cogl.h.in | 3 +++ + 6 files changed, 62 insertions(+), 8 deletions(-) + +commit e3391b0173479b9ba3b01321ab606d83999bee1a +Author: Robert Bragg +Date: Thu Oct 22 16:13:01 2009 +0100 + + [cogl] Make sure we draw upside down to offscreen draw buffers + + First a few notes about Cogl coordinate systems: + - Cogl defines the window origin, viewport origin and texture coordinates + origin to be top left unlike OpenGL which defines them as bottom left. + - Cogl defines the modelview and projection identity matrices in exactly the + same way as OpenGL. + - I.e. we believe that for 2D centric constructs: windows/framebuffers, + viewports and textures developers are more used to dealing with a top left + origin, but when modeling objects in 3D; an origin at the center with y + going up is quite natural. + + The way Cogl handles textures is by uploading data upside down in OpenGL + terms so that bottom left becomes top left. (Note: This also has the + benefit that we don't need to flip the data we get from image decoding + libraries since they typically also consider top left to be the image + origin.) + + The viewport and window coords are mostly handled with various y = + height - y tweaks before we pass y coordinates to OpenGL. + + Generally speaking though the handling of coordinate spaces in Cogl is a bit + fragile. I guess partly because none of it was design to be, it just + evolved from how Clutter defines its coordinates without much consideration + or testing. I hope to improve this over a number of commits; starting here. + + This commit deals with the fact that offscreen draw buffers may be bound to + textures but we don't "upload" the texture data upside down, and so if you + texture from an offscreen draw buffer you need to manually flip the texture + coordinates to get it the right way around. We now force offscreen + rendering to be flipped upside down by tweaking the projection matrix right + before we submit it to OpenGL to scale y by -1. The tweak is entirely + hidden from the user such that if you call cogl_get_projection you will not + see this scale. + + clutter/cogl/cogl/cogl-context.c | 4 ++++ + clutter/cogl/cogl/cogl-context.h | 4 ++++ + clutter/cogl/cogl/cogl-draw-buffer-private.h | 3 +++ + clutter/cogl/cogl/cogl-matrix-stack.c | 36 ++++++++++++++++++++-------- + 4 files changed, 37 insertions(+), 10 deletions(-) + +commit 8b4c496f2a0291eb202d775e210b5901b6b73940 +Author: Robert Bragg +Date: Thu Oct 22 12:35:33 2009 +0100 + + [cogl] Ensure features are initialized first in cogl_create_context + + Previously some context initializing was being done without valid feature + flags. + + clutter/cogl/cogl/cogl-context.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 419db4dcfbef74475e155f8dd060bc1c526d5643 +Author: Robert Bragg +Date: Sat Oct 17 00:31:26 2009 +0100 + + [clip-stack] Handle flipped rectangles in try_pushing_rect_as_window_rect() + + We were ignoring the possibility that the current modelview matrix may flip + the incoming rectangle in which case we didn't calculate a valid scissor + rectangle for clipping. + + This fixes: http://bugzilla.o-hand.com/show_bug.cgi?id=1809 + (Clipping doesn't work within an FBO) + + clutter/cogl/cogl/cogl-clip-stack.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +commit f7d64e5abd5717bb522d28b7565ecccae63271fc +Author: Robert Bragg +Date: Fri Sep 25 14:34:34 2009 +0100 + + [draw-buffers] First pass at overhauling Cogl's framebuffer management + + Cogl's support for offscreen rendering was originally written just to support + the clutter_texture_new_from_actor API and due to lack of documentation and + several confusing - non orthogonal - side effects of using the API it wasn't + really possible to use directly. + + This commit does a number of things: + - It removes {gl,gles}/cogl-fbo.{c,h} and adds shared cogl-draw-buffer.{c,h} + files instead which should be easier to maintain. + - internally CoglFbo objects are now called CoglDrawBuffers. A + CoglDrawBuffer is an abstract base class that is inherited from to + implement CoglOnscreen and CoglOffscreen draw buffers. CoglOffscreen draw + buffers will initially be used to support the + cogl_offscreen_new_to_texture API, and CoglOnscreen draw buffers will + start to be used internally to represent windows as we aim to migrate some + of Clutter's backend code to Cogl. + - It makes draw buffer objects the owners of the following state: + - viewport + - projection matrix stack + - modelview matrix stack + - clip state + (This means when you switch between draw buffers you will automatically be + switching to their associated viewport, matrix and clip state) + + Aside from hopefully making cogl_offscreen_new_to_texture be more useful + short term by having simpler and well defined semantics for + cogl_set_draw_buffer, as mentioned above this is the first step for a couple + of other things: + - Its a step toward moving ownership for windows down from Clutter backends + into Cogl, by (internally at least) introducing the CoglOnscreen draw + buffer. Note: the plan is that cogl_set_draw_buffer will accept on or + offscreen draw buffer handles, and the "target" argument will become + redundant since we will instead query the type of the given draw buffer + handle. + - Because we have a common type for on and offscreen framebuffers we can + provide a unified API for framebuffer management. Things like: + - blitting between buffers + - managing ancillary buffers (e.g. attaching depth and stencil buffers) + - size requisition + - clearing + + clutter/clutter-main.c | 5 +- + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-clip-stack.c | 199 ++++++-- + clutter/cogl/cogl/cogl-clip-stack.h | 9 +- + clutter/cogl/cogl/cogl-context.c | 34 +- + clutter/cogl/cogl/cogl-context.h | 20 +- + clutter/cogl/cogl/cogl-draw-buffer-private.h | 126 +++++ + clutter/cogl/cogl/cogl-draw-buffer.c | 555 +++++++++++++++++++++ + clutter/cogl/cogl/cogl-journal.c | 33 +- + clutter/cogl/cogl/cogl-primitives.c | 19 +- + clutter/cogl/cogl/cogl-texture.c | 19 +- + clutter/cogl/cogl/cogl-vertex-buffer.c | 14 +- + clutter/cogl/cogl/cogl.c | 220 +++++--- + clutter/cogl/cogl/cogl.h.in | 1 + + clutter/cogl/cogl/driver/gl/Makefile.am | 2 - + clutter/cogl/cogl/driver/gl/cogl-context-driver.c | 19 +- + clutter/cogl/cogl/driver/gl/cogl-context-driver.h | 23 +- + clutter/cogl/cogl/driver/gl/cogl-defines.h.in | 28 +- + clutter/cogl/cogl/driver/gl/cogl-fbo.c | 315 ------------ + clutter/cogl/cogl/driver/gl/cogl-fbo.h | 39 -- + clutter/cogl/cogl/driver/gl/cogl-primitives.c | 99 ++-- + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 2 +- + clutter/cogl/cogl/driver/gl/cogl.c | 114 ++--- + clutter/cogl/cogl/driver/gles/Makefile.am | 2 - + .../cogl/cogl/driver/gles/cogl-context-driver.c | 10 + + .../cogl/cogl/driver/gles/cogl-context-driver.h | 17 +- + clutter/cogl/cogl/driver/gles/cogl-defines.h.in | 70 +++ + clutter/cogl/cogl/driver/gles/cogl-fbo.c | 328 ------------ + clutter/cogl/cogl/driver/gles/cogl-fbo.h | 39 -- + clutter/cogl/cogl/driver/gles/cogl-primitives.c | 121 ++++- + clutter/cogl/cogl/driver/gles/cogl.c | 75 +++ + 31 files changed, 1471 insertions(+), 1088 deletions(-) + +commit f8f8873714043efbcbf92718493a94ac9ddf303f +Author: Robert Bragg +Date: Tue Oct 20 16:55:10 2009 +0100 + + [stage-x11] Ensure viewport is initialized before first stage paint + + This ensures that glViewport is called before the first stage paint. + Previously _clutter_stage_maybe_setup_viewport (which is done before we + start painting) was bailing out without calling cogl_setup_viewport because + the CLUTTER_STAGE_IN_RESIZE flag may be set if the stage was resized before + the first paint. (NB: The CLUTTER_STAGE_IN_RESIZE flag isn't removed until + we get an explicit event back from the X server since the window manager may + choose to deny/alter the resize.) + + We now special case the first resize - where the viewport hasn't previously + been initialized and use the requested geometry to initialize the + glViewport without waiting for a reply from the server. + + clutter/x11/clutter-stage-x11.c | 18 ++++++++++++++++++ + clutter/x11/clutter-stage-x11.h | 7 ++++--- + 2 files changed, 22 insertions(+), 3 deletions(-) + +commit ad98e96d977e43a882b8a2f680e59ed281c90baf +Author: Robert Bragg +Date: Tue Sep 15 22:19:01 2009 +0100 + + [cogl-fbo] Bring the gles code more in line with gl code + + Over time the two cogl-fbo.c files have needlessly diverged as bug fixes or + cleanups went into one version but not the other. This tries to bring them + back in line with each other. It should actually be simple enough to move + cogl-fbo.c to be a common file, and simply not build it for GLES 1.1, so + maybe I'll follow up with such a patch soon. + + clutter/cogl/cogl/driver/gles/cogl-fbo.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 613977f7108efb8897bffb2e47bfcf29bce29ddc +Author: Robert Bragg +Date: Tue Sep 15 22:15:03 2009 +0100 + + [cogl-fbo] Remove poorly documented workaround for unknown driver/hardware + + The comment just said: "Some implementation require a clear before drawing + to an fbo. Luckily it is affected by scissor test." and did a scissored + clear, which is clearly a driver bug workaround, but for what driver? The + fact that it was copied into the gles backend (or vica versa is also + suspicious since it seems unlikely that the workaround is necessary for both + backends.) + + We can easily restore the workaround with a better comment if this problem + really still exists on current drivers, but for now I'd rather minimize + hand-wavey workaround code that can't be tested. + + clutter/cogl/cogl/driver/gl/cogl-fbo.c | 10 ---------- + clutter/cogl/cogl/driver/gles/cogl-fbo.c | 19 ------------------- + 2 files changed, 29 deletions(-) + +commit 0599d12ec94344174c947310bddb5658f1b9db58 +Author: Damien Lespiau +Date: Sun Nov 1 14:36:05 2009 +0000 + + texture: Don't compare fbo_source with COGL_INVALID_HANDLE + + fbo_source is a ClutterActor, it should be compared to NULL instead of + COGL_INVALID_HANDLE. + + clutter/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f6e0e48ac613d10d02d27182ebd48be1aeb8b474 +Author: Emmanuele Bassi +Date: Fri Oct 30 12:11:19 2009 +0000 + + build: Add missing gles/cogl-context-driver.h to dist + + The gles/cogl-context-driver.h header file is missing from the + dist target, which means it's not in the tarballs. + + clutter/cogl/cogl/driver/gles/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit f551cbfb61adb1c454fa36477ad5847b6238e17b +Author: Emmanuele Bassi +Date: Fri Oct 30 11:02:35 2009 +0000 + + Add run-time version checks + + Just like CLUTTER_CHECK_VERSION does version checking at compile + time, we need a way to verify the version of the library that we + are linking against. This is mostly needed for language bindings + and for run-time loadable modules -- when we'll get those. + + clutter/clutter-main.c | 34 ++++++++++++++++++++++++++++++ + clutter/clutter-version.h.in | 15 ++++++++++++- + doc/reference/clutter/clutter-sections.txt | 7 ++++++ + 3 files changed, 55 insertions(+), 1 deletion(-) + +commit f8e6727e74c80b80bba3ccb9201e1afd23349c35 +Author: Neil Roberts +Date: Tue Oct 27 13:18:51 2009 +0000 + + [cogl_polygon] Enable COGL_ENABLE_BLEND when use_color is set + + Otherwise you can't use the alpha channel of the vertex colors unless + the material has a texture with alpha or the material's color has + alpha less than 255. + + clutter/cogl/cogl/cogl-primitives.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0c32573ffa980fffc966cf35768233a3ff1ed076 +Author: Neil Roberts +Date: Tue Oct 27 12:38:10 2009 +0000 + + build: Add $(top_buiddir)/clutter/cogl to the include path in clutter/cogl/cogl + + Some files try to include "cogl/cogl-defines-gl.h" so + $(top_builddir)/clutter/cogl needs to be in the include path for out of + tree builds to work. + + clutter/cogl/cogl/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit c387513a5fd5293cb8cf60e9c1334ceeff905852 +Author: Emmanuele Bassi +Date: Mon Oct 26 16:29:31 2009 +0000 + + color: Fix HLS-to-RGB conversion + + Apparently, on 64bit systems the floating point noise is enough + to screw up the float-to-int truncation. + + The solution is to round up by 0.5 and then use floorf(). This + gives predictable and correct results on both 32bit and 64bit + systems. + + clutter/clutter-color.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 5a14db50891196a9d17a0df49bf0858551e5a0af +Author: Emmanuele Bassi +Date: Mon Oct 26 16:02:06 2009 +0000 + + layout: Do not create a LayoutMeta on remove + + When calling remove_child_meta() we check if there is a LayoutMeta + already attached to the Actor, and if that LayoutMeta matches the + (manager, container, actor) tuple. If the LayoutMeta does not match, + though, we create a new LayoutMeta instance -- in order to remove it + right afterwards. + + Instead of doing this, we can simply check for a matching LayoutMeta + and if present, remove it. + + In case of an existing, non-matching LayoutMeta, we're left with a + dangling instance, but it does not matter: the removal happens in the + unparenting phase of a ClutterContainer, so either the Actor will be + destroyed and thus the LayoutMeta will be disposed along with it; or + it will be parented to another container, and thus the LayoutMeta + will be replaced. + + clutter/clutter-layout-manager.c | 23 ++++++++++++++++++++++- + 1 file changed, 22 insertions(+), 1 deletion(-) + +commit 5a63e8af8f715c3fe6ded8a9432c999aab73311a +Author: Emmanuele Bassi +Date: Mon Oct 26 15:10:20 2009 +0000 + + tests: Use the right key symbol for adding children + + The test-box-layout should be using CLUTTER_plus instead of a + literal '+'. + + tests/interactive/test-box-layout.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a5a0171cb02dcbd67efbf87480aa5cea215c128d +Author: Emmanuele Bassi +Date: Mon Oct 26 15:09:07 2009 +0000 + + box: Depth level changes should queue a relayout + + ClutterBox is not ClutterGroup: a change in the level of an actor + through raise, lower or depth sorting must trigger a relayout. + + clutter/clutter-box.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 2cad7e24f00e2f8fccfdc75086dd9e1071d71c18 +Author: Emmanuele Bassi +Date: Mon Oct 26 15:08:03 2009 +0000 + + box: Check before using the LayoutManager instance + + A ClutterBox might not have a ClutterLayoutManager instance + associated -- for instance, during destruction. We should check + for one before calling methods on it. + + clutter/clutter-box.c | 23 +++++++++++++---------- + 1 file changed, 13 insertions(+), 10 deletions(-) + +commit 81c8cf3e6d839b13e106ab346feaccf1f2f9d3fd +Author: Emmanuele Bassi +Date: Mon Oct 26 11:51:30 2009 +0000 + + texture: Error handling fix + + When cogl_texture_new_from_data() fails in clutter_texture_set_from_data() + and no GError is provided, the clutter app will segfault when dereferencing + the GError ** and emitting LOAD_FINISHED signal. + + Based on a patch by: Haakon Sporsheim + + http://bugzilla.openedhand.com/show_bug.cgi?id=1806 + + clutter/clutter-texture.c | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +commit 00748f66560f3105ff9c636cd01428d8b5e30e9e +Author: Emmanuele Bassi +Date: Mon Oct 26 11:42:16 2009 +0000 + + tests: Print out the captured event type + + The ::captured-event signal on the Stage is not printing out the + event type. + + tests/interactive/test-events.c | 31 ++++++++++++++++++++++++++++++- + 1 file changed, 30 insertions(+), 1 deletion(-) + +commit f0b434918bcdb0d77467d66d28448672940f6a90 +Author: Emmanuele Bassi +Date: Fri Oct 23 17:32:18 2009 +0100 + + docs: Add images for layout managers + + It's easier to show the layout manager policy with a simple + screen shot coming from our interactive tests. + + clutter/clutter-bin-layout.c | 10 ++++++++++ + clutter/clutter-box-layout.c | 7 +++++++ + clutter/clutter-flow-layout.c | 16 ++++++++++++++++ + doc/reference/clutter/Makefile.am | 8 ++++++++ + doc/reference/clutter/bin-layout.png | Bin 0 -> 12890 bytes + doc/reference/clutter/box-layout.png | Bin 0 -> 5119 bytes + doc/reference/clutter/flow-layout-horizontal.png | Bin 0 -> 5888 bytes + doc/reference/clutter/flow-layout-vertical.png | Bin 0 -> 5333 bytes + 8 files changed, 41 insertions(+) + +commit 924780ce3511ba9bc9e2a6b955836eaaa4d0a216 +Author: Emmanuele Bassi +Date: Fri Oct 23 16:44:28 2009 +0100 + + cogl: Avoid C99-isms + + Do not declare variables after statements. + + clutter/cogl/cogl/cogl.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit b56b26cc62a851ee4a851a27ce0d6b76936afc6a +Author: Emmanuele Bassi +Date: Fri Oct 23 15:46:25 2009 +0100 + + cogl: Remove cogl-current-matrix.c + + The cogl-current-matrix.c file is unused since commit + 5e5d94dfbed18bf2b4c8c7a7ff9847952b2c4ae2 and it's not compiled + or distributed anymore. + + clutter/cogl/cogl/cogl-current-matrix.c | 409 -------------------------------- + 1 file changed, 409 deletions(-) + +commit 1c43c195098b4705b59891b6b98bc24407cb3264 +Author: Emmanuele Bassi +Date: Fri Oct 23 14:30:15 2009 +0100 + + Update Git ignore rules + + .gitignore | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 0d5af4c24932b5e468fa21e8ddd1c85d9c807320 +Author: Emmanuele Bassi +Date: Fri Oct 23 13:55:50 2009 +0100 + + Post-release bump to 1.1.3 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit dec06979b911ca410cc289f12e053a2d49c49abb +Author: Emmanuele Bassi +Date: Fri Oct 23 13:38:28 2009 +0100 + + Release 1.1.2 developers snapshot + + .gitignore | 2 +- + NEWS | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + README | 8 +++++ + configure.ac | 2 +- + 4 files changed, 105 insertions(+), 2 deletions(-) + +commit 24594bcde40cc282efa94f9076a1b687c9e9827e +Author: Emmanuele Bassi +Date: Fri Oct 23 12:15:25 2009 +0100 + + build: Make COGL pass distcheck + + Some changes to make COGL pass distcheck with Automake 1.11 and + anal-retentiveness turned up to 11. + + The "major" change is the flattening of the winsys/ part of COGL, + which is built directly inside libclutter-cogl.la instead of an + intermediate libclutter-cogl-winsys.la object. + + Ideally, the whole COGL should be flattened out using a + quasi-non-recursive Automake layout; unfortunately, the driver/ + sub-section ships with identical targets and Automake cannot + distinguish GL and GLES objects. + + clutter/cogl/cogl/Makefile.am | 196 +++++++++++++++++------------------ + clutter/cogl/cogl/winsys/Makefile.am | 43 -------- + configure.ac | 1 - + 3 files changed, 98 insertions(+), 142 deletions(-) + +commit c882893e91b1b3ec42be8d790a8210c17de58666 +Author: Emmanuele Bassi +Date: Fri Oct 23 10:17:40 2009 +0100 + + actor: Identify allocation cycles + + If an actor calls directly or indirectly clutter_actor_queue_relayout() + on itself from within the allocate() implementation it will cause a + relayout cycle. This is usually a condition that should be checked by + ClutterActor and we should emit a warning if it is verified. + + clutter/clutter-actor.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit ca15143d1fbb09d5dbe0daeb09d7765b7cf0dfe3 +Author: Emmanuele Bassi +Date: Fri Oct 23 10:08:02 2009 +0100 + + actor: Add checks for IN_DESTRUCTION flag + + ClutterActor should check whether the current instance is being + destroyed and avoid performing operations like: + + • queueing redraws + • queueing relayouts + + It should also warn if the actor is being parented to an actor + currently being destroyed. + + clutter/clutter-actor.c | 28 ++++++++++++++++++++++++---- + 1 file changed, 24 insertions(+), 4 deletions(-) + +commit 7de47e74bda68c5d4dde82f2cbba6782fcf69d27 +Author: Emmanuele Bassi +Date: Fri Oct 23 09:48:35 2009 +0100 + + actor: Show actor name or type in the state checks warnings + + When showing a warning in the state checks we perform to verify that + the invariants are maintained when showing, mapping and realizing, we + should also print out the name of the actor failing the checks. If the + actor has no name, the GType name should be used as a fallback. + + clutter/clutter-actor.c | 69 +++++++++++++++++++++++++++++++++---------------- + 1 file changed, 47 insertions(+), 22 deletions(-) + +commit f02874470682f819766055f3976a2d6c74988dc7 +Author: Neil Roberts +Date: Thu Oct 22 16:55:29 2009 +0100 + + Fix some compilation errors in cogl-gles2-wrapper.c + + The changes in 74f2122b6 introduced some syntax errors which were + preventing the GLES2 backend from compiling. + + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 27 ++++++++++------------ + 1 file changed, 12 insertions(+), 15 deletions(-) + +commit 8727c3127cc049bf22e3b7cb89041b104ae4fea7 +Author: Emmanuele Bassi +Date: Thu Oct 22 13:48:49 2009 +0100 + + clone: Set :source as CONSTRUCT + + The :source property for ClutterClone is a constructor property, but + it most definitely is not a constructor-only one. + + clutter/clutter-clone.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b82f874b464b252c5f3bbb5e903197a048034430 +Author: Neil Roberts +Date: Thu Oct 22 15:39:30 2009 +0100 + + Remove cogl/{gl,gles}/Makefile.am + + These are no longer used anywhere. + + clutter/cogl/gl/Makefile.am | 62 ------------------------------ + clutter/cogl/gles/Makefile.am | 88 ------------------------------------------- + 2 files changed, 150 deletions(-) + +commit bd809f690a447c813bba02d83ba3c8b22a825b38 +Author: Emmanuele Bassi +Date: Wed Oct 21 17:44:44 2009 +0100 + + docs: Close the right tag to avoid XML errors + + clutter/clutter-alpha.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4996b2224a54efeddce776cade725ec1cd7fca69 +Author: Emmanuele Bassi +Date: Wed Oct 21 17:43:34 2009 +0100 + + docs: Rename the Shader and StageManager sections + + doc/reference/clutter/clutter-sections.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 673199b6e0399e8f1fcd52662429287f92cb95e9 +Author: Emmanuele Bassi +Date: Wed Oct 21 16:15:18 2009 +0100 + + tests: Update test-script + + Use explicit alpha definition and custom alpha functions. + + tests/interactive/test-script.c | 41 +++++++++++++++++++++++++++++++++++------ + 1 file changed, 35 insertions(+), 6 deletions(-) + +commit 7a52fddcd673c4aa14faf2396a0a74db644ba64d +Author: Emmanuele Bassi +Date: Wed Oct 21 16:04:12 2009 +0100 + + alpha: Manually parse the :mode property in ClutterScript + + The :mode property for a ClutterAlpha can either be an integer, for + an easing mode logical id, or a string for the easing mode "nickname". + + clutter/clutter-alpha.c | 33 ++++++++++++++++++++++++++++++++- + clutter/clutter-script-private.h | 2 ++ + clutter/clutter-script.c | 12 +++++++++--- + 3 files changed, 43 insertions(+), 4 deletions(-) + +commit 01bc3fa2c80e9c965222b88ad20b470ae00028ec +Author: Emmanuele Bassi +Date: Wed Oct 21 15:43:01 2009 +0100 + + script, docs: Update documentation for alphas + + It is now possible to have Alpha instances defined explicitly for + behaviours, so we need to fix the documentation. + + clutter/clutter-script.c | 40 +++++++++++++++++++++++++++++++--------- + 1 file changed, 31 insertions(+), 9 deletions(-) + +commit f0ed71c77dd94e6bf644aba84f2e1cdc2d874fc1 +Author: Emmanuele Bassi +Date: Wed Oct 21 15:29:25 2009 +0100 + + alpha: Allow setting the function in ClutterScript + + When defining an Alpha in ClutterScript we should allow setting + the alpha function by using a custom property. This makes it + possible to have both: + + { + "id" : "behaviour-1", + "type" : "ClutterBehaviourDepth", + "alpha" : { "timeline" : "timeline-1", "function" : "alpha_func" }, + ... + } + + And: + + { + "id" : "alpha-1", + "type" : "ClutterAlpha", + "timeline" : "timeline-1", + "function" : "alpha_func" + }, + { + "id" : "behaviour-1", + "type" : "ClutterBehaviourDepth", + "alpha" : "alpha-1", + ... + } + + The latter allows defining a single alpha function for multiple + behaviours. + + clutter/clutter-alpha.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 101 insertions(+), 1 deletion(-) + +commit 50aec3c540d6609d9980fab6a26ba14869982c8b +Author: Emmanuele Bassi +Date: Wed Oct 21 15:17:50 2009 +0100 + + script: Always allow setting object properties by id reference + + The block that allows setting a GObject property holding an object + instance is conditionally depending on the USE_PIXBUF define. This + makes it impossible to reference an object inside ClutterScript on + platforms not using GdkPixbuf. + + clutter/clutter-script.c | 25 +++++++++++++++---------- + 1 file changed, 15 insertions(+), 10 deletions(-) + +commit ef8ae7d72f752e10552e254c1ff9e76d19430aac +Author: Emmanuele Bassi +Date: Wed Oct 21 15:16:43 2009 +0100 + + behaviour: Notify changes of the :alpha property + + The set_alpha() setter of ClutterBehaviour is not emitting notifications + for the alpha property. + + clutter/clutter-behaviour.c | 12 +++++++----- + 1 file changed, 7 insertions(+), 5 deletions(-) + +commit c13701052497b4cdb009f95ad8ccce9f4a7d825e +Author: Owen W. Taylor +Date: Mon Oct 5 23:20:07 2009 -0400 + + Force a relayout when showing an actor + + When an actor is hidden, the parent actor is not required to + size request or allocate it. (ClutterGroup does, but, for example, + NbtkBoxLayout doesn't.) This means that the + needs_width_request/needs_height_request/needs_allocate can be + stale when we go to show it again - they are set for the actor + but not the parent. Explicitly setting them to FALSE avoids + clutter_actor_relayout() improperly short-circuiting. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1831 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 571df43b6d2348fd4db4b0275c8ed55e760ab353 +Author: Emmanuele Bassi +Date: Tue Oct 20 22:05:04 2009 +0100 + + text: Invalidate caches and sizes in set_text_internal() + + The change in commit 3bbc96e17e5a03ba931c86a5cd2a0ecaa2a3b77b moved the + :text property setter to use set_text_internal(); this function does not + invalidate the Layout cache and does not queue a relayout, thus breaking + the behaviour of ClutterText when setting the contents of the actor using + the property. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1851 + + clutter/clutter-text.c | 12 ++++-------- + 1 file changed, 4 insertions(+), 8 deletions(-) + +commit 91c38f877fe0a6224c648ec9f6ecbab8190b536e +Author: Robert Bragg +Date: Tue Oct 20 14:57:40 2009 +0100 + + [group] Fix copy & paste error from 857b0239e (Use FixedLayout inside Group) + + clutter_group_get_preferred_height was calling + clutter_layout_manager_get_preferred_width which e.g. broke + test-actor-clone. + + clutter/clutter-group.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 74f2122b68547ac6228c1a8d49765aa71638fa1b +Author: Robert Bragg +Date: Tue Sep 29 02:56:23 2009 +0100 + + [gles2] remove lots of redundant matrix stack code + + Since we no longer depend on the GL matrix API in Cogl we can remove a lot + of wrapper code from the GLES 2 backend. This is particularly nice given + that there was no code shared between the cogl-matrix-stack API and gles2 + wrappers so we had a lot of duplicated logic. + + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 287 +++------------------ + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 9 +- + 2 files changed, 34 insertions(+), 262 deletions(-) + +commit 5e5d94dfbed18bf2b4c8c7a7ff9847952b2c4ae2 +Author: Robert Bragg +Date: Tue Oct 13 23:09:42 2009 +0100 + + [cogl] Removes the cogl-current-matrix abstraction + + The indirection through this API isn't necessary since we no longer + arbitrate between the OpenGL matrix API and Cogl's client side API. Also it + doesn't help to maintain an OpenGL style matrix mode API for internal use + since it's awkward to keep restoring the MODELVIEW mode and easy enough to + directly work with the matrix stacks of interest. + + This replaces use of the _cogl_current_matrix API with direct use of the + _cogl_matrix_stack API. All the unused cogl_current_matrix API is removed + and the matrix utility code left in cogl-current-matrix.c was moved to + cogl.c. + + clutter/cogl/cogl/Makefile.am | 2 - + clutter/cogl/cogl/cogl-clip-stack.c | 15 +- + clutter/cogl/cogl/cogl-context.c | 8 +- + clutter/cogl/cogl/cogl-context.h | 4 +- + clutter/cogl/cogl/cogl-current-matrix.h | 95 ---------- + clutter/cogl/cogl/cogl-internal.h | 14 +- + clutter/cogl/cogl/cogl-material.c | 2 + + clutter/cogl/cogl/cogl-texture.c | 28 ++- + clutter/cogl/cogl/cogl-util.c | 1 - + clutter/cogl/cogl/cogl.c | 228 ++++++++++++++++++++---- + clutter/cogl/cogl/driver/gl/cogl-fbo.c | 26 ++- + clutter/cogl/cogl/driver/gl/cogl-primitives.c | 24 +-- + clutter/cogl/cogl/driver/gles/cogl-fbo.c | 27 ++- + clutter/cogl/cogl/driver/gles/cogl-primitives.c | 24 +-- + doc/reference/cogl/Makefile.am | 1 - + 15 files changed, 271 insertions(+), 228 deletions(-) + +commit 9f7bf9fb4d234a25aba03266a286bc8c2d41f3fd +Author: Robert Bragg +Date: Wed Oct 14 10:53:48 2009 +0100 + + [matrix-stack] Adds ctx->flushed_matrix_mode to cache the gl matrix mode + + This cache of the gl matrix mode lets us avoid repeat calls to glMatrixMode + in _cogl_matrix_stack_flush_to_gl when we have lots of sequential modelview + matrix modifications. + + clutter/cogl/cogl/cogl-context.c | 1 + + clutter/cogl/cogl/cogl-context.h | 1 + + clutter/cogl/cogl/cogl-matrix-stack.c | 30 ++++++++++++++++++------------ + 3 files changed, 20 insertions(+), 12 deletions(-) + +commit b1f9f0a97d1abd4465ed7c7bed1da4ed366491ad +Author: Robert Bragg +Date: Tue Oct 6 12:36:32 2009 +0100 + + matrix-stack: more optimization for load_identity case + + This goes a bit further than the previous patch, and as a special case + we now simply represent identity matrices using a boolean, and only + lazily initialize them when they need to be modified. + + clutter/cogl/cogl/cogl-matrix-stack.c | 82 ++++++++++++++++++++++++++++++----- + 1 file changed, 71 insertions(+), 11 deletions(-) + +commit 460025d60348e3346cfd864b81d9867ea8474eee +Author: Robert Bragg +Date: Tue Oct 6 10:52:07 2009 +0100 + + [matrix-stack] avoid redundant clearing of matrix when using load_identity + + The journal always uses an identity matrix since it uses software + transformation. Currently it manually uses glLoadMatrix since previous + experimentation showed that the cogl-matrix-stack gave bad performance, but + it would be nice to fix performance so we only have to care about one path + for loading matrices. + + For the common case where we do: + cogl_matrix_stack_push() + cogl_matrix_stack_load_identity() + we were effectively initializing the matrix 3 times. Once due to use of + g_slice_new0, then we had a cogl_matrix_init_identity in + _cogl_matrix_state_new for good measure, and then finally in + cogl_matrix_stack_load_identity we did another cogl_matrix_init_identity. + + We don't use g_slice_new0 anymore, _cogl_matrix_state_new is documented as + not initializing the matrix (instead _cogl_matrix_stack_top_mutable now + takes a boolean to choose if new stack entries should be initialised) and so + we now only initialize once in cogl_matrix_stack_load_identity. + + clutter/cogl/cogl/cogl-matrix-stack.c | 54 +++++++++++++++++------------------ + 1 file changed, 26 insertions(+), 28 deletions(-) + +commit 2656b569b9911b8aa427a5a02c8b1f4095de6ed7 +Author: Robert Bragg +Date: Tue Sep 29 02:58:27 2009 +0100 + + [current-matrix] Adds texture matrix stacks + removes GL matrix API usage + + This relates back to an earlier commitment to stop using the OpenGL matrix + API which is considered deprecated. (ref 54159f5a1d029db) + + The new texture matrix stacks are hung from a list of (internal only) + CoglTextureUnit structures which the CoglMaterial code internally references + via _cogl_get_texure_unit (). + + So we would be left with only the cogl-matrix-stack code being responsible + for glMatrixMode, glLoadMatrix and glLoadIdentity this commit updates the + journal code so it now uses the matrix-stack API instead of GL directly. + + clutter/cogl/cogl/cogl-context.c | 4 + + clutter/cogl/cogl/cogl-context.h | 5 +- + clutter/cogl/cogl/cogl-current-matrix.c | 236 +++++++------------------------- + clutter/cogl/cogl/cogl-internal.h | 12 ++ + clutter/cogl/cogl/cogl-journal.c | 33 +++-- + clutter/cogl/cogl/cogl-material.c | 22 +-- + clutter/cogl/cogl/cogl-matrix-stack.c | 15 +- + clutter/cogl/cogl/cogl.c | 59 ++++++++ + 8 files changed, 174 insertions(+), 212 deletions(-) + +commit 473f7ee31ebd6d52126978ba4e155a3bebc4cac1 +Author: Emmanuele Bassi +Date: Mon Oct 19 15:31:29 2009 +0100 + + text: Take pre-edit cursor position into account + + When determining the cursor position we also need to take into account + the pre-edit cursor position as set by the set_preedit_string() + function. + + clutter/clutter-text.c | 16 ++++++++++++++-- + 1 file changed, 14 insertions(+), 2 deletions(-) + +commit 23cd0b79254acd2b97467a62010244328e210a87 +Author: Emmanuele Bassi +Date: Mon Oct 19 12:01:38 2009 +0100 + + docs: Documentation fixes + + • Fix list_stages() and peek_stages() documentation + + • Fix clutter_text_set_preedit_string() arguments in the header + to match source and documentation + + • Add clutter_units_cm() to the private section for Units + + • Rename the LayoutManager section + + • Add FlowLayout:homogeneous accessors + + clutter/clutter-stage-manager.c | 4 ++-- + clutter/clutter-text.h | 4 ++-- + doc/reference/clutter/clutter-sections.txt | 9 ++++++--- + 3 files changed, 10 insertions(+), 7 deletions(-) + +commit ba25571c8e34593f99ba302edf381a0151c98bbb +Merge: 936779fd9 8ce8b9138 +Author: Emmanuele Bassi +Date: Mon Oct 19 11:45:15 2009 +0100 + + Merge branch 'layout-manager' + + * layout-manager: (50 commits) + docs: Reword a link + layout, docs: Add more documentation to LayoutManager + layout, docs: Fix description of Bin properties + layout, bin: Use ceilf() instead of casting to int + layout, docs: Add long description for FlowLayout + layout, box: Clean up + layout, box: Write long description for Box + layout, docs: Remove unused functions + layout: Document BoxLayout + layout: Add BoxLayout, a single line layout manager + layout: Report the correct size of FlowLayout + layout: Resizing the stage resizes the FlowLayout box + layout: Use the get_request_mode() getter in BinLayout + layout: Change the request-mode along with the orientation + actor: Add set_request_mode() method + [layout] Remove FlowLayout:wrap + [layout] Rename BinLayout and FlowLayout interactive tests + [layout] Skip invisible children in FlowLayout + [layout] Clean up and document FlowLayout + [layout] Snap children of FlowLayout to column/row + ... + +commit 8ce8b91383390482efe56d982d945a384766ca8c +Author: Emmanuele Bassi +Date: Mon Oct 19 11:44:29 2009 +0100 + + docs: Reword a link + + clutter/clutter-layout-manager.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit cd3c85f7ba9094a250ec03f0380428fadafef0df +Author: Emmanuele Bassi +Date: Mon Oct 19 11:00:23 2009 +0100 + + layout, docs: Add more documentation to LayoutManager + + The layout manager reference should have some documentation on how + to use a LayoutManager object inside a container and how to implement + a LayoutManager sub-class correctly. + + clutter/clutter-layout-manager.c | 41 ++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 41 insertions(+) + +commit 936779fd96cc0d8d6713c5cb4c5dc9240cc04d97 +Author: Emmanuele Bassi +Date: Sun Oct 18 17:49:00 2009 +0100 + + build: Add back QUIET_GEN to the GIR generation + + clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit bc8a7bd5b4c70247e4bc8cccc194c12e5b6a9a2f +Author: Emmanuele Bassi +Date: Sun Oct 18 17:15:04 2009 +0100 + + Update ignore file + + .gitignore | 13 ++++++------- + 1 file changed, 6 insertions(+), 7 deletions(-) + +commit ab376d961fee066f809169f32946a32700ea0e53 +Author: Emmanuele Bassi +Date: Sun Oct 18 17:12:12 2009 +0100 + + build: De-nest the JSON from the introspection rules + + The JSON conditional rules can be moved outside the introspection + conditional ones to avoid a nested check, as all the JSON rules do + is setting up variables that may or may not be used. + + clutter/Makefile.am | 26 ++++++++++++-------------- + 1 file changed, 12 insertions(+), 14 deletions(-) + +commit 5c162d904bbbbd5ae0f66885497dd0658d27e87f +Author: Emmanuele Bassi +Date: Sun Oct 18 17:11:42 2009 +0100 + + build: Use QUIET_GEN when building ClutterJson GIR + + clutter/json/Makefile.am | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 8f11b3ca48fde34f5bc214f1ff122e5ed6298eac +Author: Emmanuele Bassi +Date: Sun Oct 18 17:00:24 2009 +0100 + + build: Fix up the GIR generation rules + + The rules for generating Clutter's introspection data are + still referencing the old COGL layout. + + clutter/Makefile.am | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit ad5c0af6399353ad49663954c6abd7305ecc9ad6 +Author: Emmanuele Bassi +Date: Sat Oct 17 00:30:37 2009 +0100 + + build: Add CPPFLAGS for the g-ir-scanner command line + + When I moved all CPP flags to AM_CPPFLAGS from the INCLUDES directive + I forgot that g-ir-scanner needs those defines as well. + + clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit ef9ea9e2377f63e8bbf22f4829b8a51953a434ef +Author: Robert Bragg +Date: Wed Sep 16 14:01:57 2009 +0100 + + [cogl-primitives] Split the journal out from cogl-primitives.c + + The Journal can be considered a standalone component, so even though + it's currently only used to log quads, it seems better to split it + out into its own file. + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-context.c | 1 + + clutter/cogl/cogl/cogl-journal-private.h | 57 +++ + clutter/cogl/cogl/cogl-journal.c | 744 +++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-primitives.c | 705 +---------------------------- + clutter/cogl/cogl/cogl-texture-private.h | 14 - + 6 files changed, 805 insertions(+), 718 deletions(-) + +commit 8790306629f8186bba7998b5567c2a45aafb87d9 +Author: Robert Bragg +Date: Sun Sep 6 21:47:46 2009 +0100 + + [test-backface-culling] Check that inverted tex coords don't affect culling + + The additional check draws another front facing rectangle but this time with + the texture coords flipped on the x axis. The code that handles sliced + textures in cogl-primitives.c makes some suspicious changes to the geometry + when the texture coords are inverted. + + tests/conform/test-backface-culling.c | 28 ++++++++++++++++++++-------- + 1 file changed, 20 insertions(+), 8 deletions(-) + +commit 2f628b1a8a405d2e4c08f2b2d125002ded0d8981 +Author: Robert Bragg +Date: Wed Sep 23 15:11:55 2009 +0100 + + [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced + + When we implement atlas textures we will probably want to use the spans API + to handle texture repeating so it doesn't make sense to leave the code in + cogl-texture-2d-sliced.c. Since it's a standalone set of data structures + and algorithms it also seems reasonable to split out from cogl-texture. + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-spans.c | 132 ++++++++++++++ + clutter/cogl/cogl/cogl-spans.h | 70 ++++++++ + clutter/cogl/cogl/cogl-texture-2d-sliced-private.h | 27 --- + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 195 +++++---------------- + 5 files changed, 248 insertions(+), 178 deletions(-) + +commit 568d6841871bdfea5d49d2a8143a49a0a7664a7b +Author: Vladimir Nadvornik +Date: Sun Aug 30 12:36:11 2009 +0200 + + [cogl-texture] Split CoglTexture into an abstract class + CoglTexture2dSliced + + cogl-texture-2d-sliced provides an implementation of CoglTexture and this + seperation lays the foundation for potentially supporting atlas textures, + pixmap textures (as in GLX_EXT_texture_from_pixmap) and fast-path + GL_TEXTURE_{1D,2D,3D,RECTANGLE} textures in a maintainable fashion. + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-context.c | 2 + + clutter/cogl/cogl/cogl-context.h | 2 + + clutter/cogl/cogl/cogl-handle.h | 4 +- + clutter/cogl/cogl/cogl-texture-2d-sliced-private.h | 191 ++ + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 1871 +++++++++++++++++++ + clutter/cogl/cogl/cogl-texture-driver.h | 12 + + clutter/cogl/cogl/cogl-texture-private.h | 80 +- + clutter/cogl/cogl/cogl-texture.c | 1926 +++++--------------- + clutter/cogl/cogl/driver/gl/cogl-texture-driver.c | 97 +- + .../cogl/cogl/driver/gles/cogl-context-driver.c | 2 - + .../cogl/cogl/driver/gles/cogl-context-driver.h | 2 - + .../cogl/cogl/driver/gles/cogl-texture-driver.c | 217 +-- + 13 files changed, 2551 insertions(+), 1857 deletions(-) + +commit 9da26fc1ca820d12d325df400e6e02d7cd25423a +Author: Robert Bragg +Date: Wed Sep 16 11:56:17 2009 +0100 + + [cogl-texture] Seal CoglTexture internals from cogl-primitives.c + + cogl-primitives.c was previously digging right into CoglTextures so it could + manually iterate the texture slices for texturing quads and polygons and + because we were missing some state getters we were lazily just poking into + the structures directly. + + This adds some extra state getter functions, and adds a higher level + _cogl_texture_foreach_slice () API that hopefully simplifies the way in + which sliced textures may be used to render primitives. This lets you + specify a rectangle in "virtual" texture coords and it will call a given + callback for each slice that intersects that rectangle giving the virtual + coords of the current slice and corresponding "real" texture coordinates for + the underlying gl texture. + + At the same time a noteable bug in how we previously iterated sliced + textures was fixed, whereby we weren't correctly handling inverted texture + coordinates. E.g. with the previous code if you supplied texture coords of + tx1=100,ty1=0,tx2=0,ty2=100 (inverted along y axis) that would result in a + back-facing quad, which could be discarded if using back-face culling. + + clutter/cogl/cogl/cogl-material.c | 9 +- + clutter/cogl/cogl/cogl-primitives.c | 736 +++++++++++++++---------------- + clutter/cogl/cogl/cogl-texture-private.h | 47 +- + clutter/cogl/cogl/cogl-texture.c | 239 +++++++++- + clutter/cogl/cogl/cogl-vertex-buffer.c | 6 +- + clutter/cogl/cogl/driver/gl/cogl-fbo.c | 29 +- + clutter/cogl/cogl/driver/gles/cogl-fbo.c | 29 +- + 7 files changed, 640 insertions(+), 455 deletions(-) + +commit 52cecd50ec87b617cc20dbc3ba4f843340fb5d63 +Author: Robert Bragg +Date: Thu Jul 30 12:06:02 2009 +0100 + + [docs] switch gl_handle+gl_target docs for cogl_texture_new_from_foreign + + The descriptions for gl_handle and gl_target were inverted. + + Thanks to Young-Ho Cha for spotting that. + + Signed-off-by: Robert Bragg + + clutter/cogl/cogl/cogl-texture.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 95a869dab1b893f74c5b880e7be43e134eeb706f +Author: Robert Bragg +Date: Wed Jul 29 17:21:07 2009 +0100 + + [cogl] move clutter/pango to clutter/cogl/pango + + As part of the re-organisation of Cogl; move clutter/pango to be part of the + cogl sub-project. + + clutter/Makefile.am | 22 +++++++++++----------- + clutter/cogl/Makefile.am | 2 +- + clutter/{ => cogl}/pango/Makefile.am | 0 + clutter/{ => cogl}/pango/cogl-pango-display-list.c | 0 + clutter/{ => cogl}/pango/cogl-pango-display-list.h | 0 + clutter/{ => cogl}/pango/cogl-pango-fontmap.c | 0 + clutter/{ => cogl}/pango/cogl-pango-glyph-cache.c | 0 + clutter/{ => cogl}/pango/cogl-pango-glyph-cache.h | 0 + clutter/{ => cogl}/pango/cogl-pango-private.h | 0 + clutter/{ => cogl}/pango/cogl-pango-render.c | 0 + clutter/{ => cogl}/pango/cogl-pango.h | 0 + configure.ac | 2 +- + 12 files changed, 13 insertions(+), 13 deletions(-) + +commit 43efab46bcf88c14cc429c6c7b659bdbc84f1f71 +Author: Robert Bragg +Date: Tue Jul 28 02:02:02 2009 +0100 + + Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys + + As part of an incremental process to have Cogl be a standalone project we + want to re-consider how we organise the Cogl source code. + + Currently this is the structure I'm aiming for: + cogl/ + cogl/ + + winsys/ + cogl-glx.c + cogl-wgl.c + driver/ + gl/ + gles/ + os/ ? + utils/ + cogl-fixed + cogl-matrix-stack? + cogl-journal? + cogl-primitives? + pango/ + + The new winsys component is a starting point for migrating window system + code (i.e. x11,glx,wgl,osx,egl etc) from Clutter to Cogl. + + The utils/ and pango/ directories aren't added by this commit, but they are + noted because I plan to add them soon. + + Overview of the planned structure: + + * The winsys/ API is the API that binds OpenGL to a specific window system, + be that X11 or win32 etc. Example are glx, wgl and egl. Much of the logic + under clutter/{glx,osx,win32 etc} should migrate here. + + * Note there is also the idea of a winsys-base that may represent a window + system for which there are multiple winsys APIs. An example of this is + x11, since glx and egl may both be used with x11. (currently only Clutter + has the idea of a winsys-base) + + * The driver/ represents a specific varient of OpenGL. Currently we have "gl" + representing OpenGL 1.4-2.1 (mostly fixed function) and "gles" representing + GLES 1.1 (fixed funciton) and 2.0 (fully shader based) + + * Everything under cogl/ should fundamentally be supporting access to the + GPU. Essentially Cogl's most basic requirement is to provide a nice GPU + Graphics API and drawing a line between this and the utility functionality + we add to support Clutter should help keep this lean and maintainable. + + * Code under utils/ as suggested builds on cogl/ adding more convenient + APIs or mechanism to optimize special cases. Broadly speaking you can + compare cogl/ to OpenGL and utils/ to GLU. + + * clutter/pango will be moved to clutter/cogl/pango + + How some of the internal configure.ac/pkg-config terminology has changed: + backendextra -> CLUTTER_WINSYS_BASE # e.g. "x11" + backendextralib -> CLUTTER_WINSYS_BASE_LIB # e.g. "x11/libclutter-x11.la" + clutterbackend -> {CLUTTER,COGL}_WINSYS # e.g. "glx" + CLUTTER_FLAVOUR -> {CLUTTER,COGL}_WINSYS + clutterbackendlib -> CLUTTER_WINSYS_LIB + CLUTTER_COGL -> COGL_DRIVER # e.g. "gl" + + Note: The CLUTTER_FLAVOUR and CLUTTER_COGL defines are kept for apps + + As the first thing to take advantage of the new winsys component in Cogl; + cogl_get_proc_address() has been moved from cogl/{gl,gles}/cogl.c into + cogl/common/cogl.c and this common implementation first trys + _cogl_winsys_get_proc_address() but if that fails then it falls back to + gmodule. + + Makefile.am | 8 +- + clutter.pc.in | 10 +- + clutter/Makefile.am | 38 ++--- + clutter/cogl/Makefile.am | 89 +----------- + clutter/cogl/TODO | 25 ---- + clutter/cogl/cogl.pc.in | 15 -- + clutter/cogl/cogl/Makefile.am | 161 +++++++++++++++++++++ + .../cogl/{common => cogl}/cogl-bitmap-fallback.c | 0 + clutter/cogl/{common => cogl}/cogl-bitmap-pixbuf.c | 0 + .../cogl/{common => cogl}/cogl-bitmap-private.h | 0 + clutter/cogl/{common => cogl}/cogl-bitmap.c | 0 + clutter/cogl/{ => cogl}/cogl-bitmap.h | 0 + clutter/cogl/{common => cogl}/cogl-blend-string.c | 0 + clutter/cogl/{common => cogl}/cogl-blend-string.h | 0 + clutter/cogl/{common => cogl}/cogl-clip-stack.c | 0 + clutter/cogl/{common => cogl}/cogl-clip-stack.h | 0 + clutter/cogl/{common => cogl}/cogl-color.c | 0 + clutter/cogl/{ => cogl}/cogl-color.h | 0 + clutter/cogl/{common => cogl}/cogl-context.c | 0 + clutter/cogl/{common => cogl}/cogl-context.h | 0 + .../cogl/{common => cogl}/cogl-current-matrix.c | 0 + .../cogl/{common => cogl}/cogl-current-matrix.h | 0 + clutter/cogl/{common => cogl}/cogl-debug.c | 0 + clutter/cogl/{ => cogl}/cogl-debug.h | 0 + clutter/cogl/{ => cogl}/cogl-deprecated.h | 0 + clutter/cogl/{common => cogl}/cogl-enum-types.c.in | 0 + clutter/cogl/{common => cogl}/cogl-enum-types.h.in | 0 + clutter/cogl/{common => cogl}/cogl-fixed.c | 0 + clutter/cogl/{ => cogl}/cogl-fixed.h | 0 + clutter/cogl/{common => cogl}/cogl-handle.h | 0 + clutter/cogl/{common => cogl}/cogl-internal.h | 0 + .../cogl/{common => cogl}/cogl-material-private.h | 0 + clutter/cogl/{common => cogl}/cogl-material.c | 0 + clutter/cogl/{ => cogl}/cogl-material.h | 0 + clutter/cogl/{common => cogl}/cogl-matrix-stack.c | 0 + clutter/cogl/{common => cogl}/cogl-matrix-stack.h | 3 +- + clutter/cogl/{common => cogl}/cogl-matrix.c | 0 + clutter/cogl/{ => cogl}/cogl-matrix.h | 0 + clutter/cogl/{ => cogl}/cogl-offscreen.h | 0 + clutter/cogl/{ => cogl}/cogl-path.h | 0 + clutter/cogl/{common => cogl}/cogl-primitives.c | 0 + clutter/cogl/{common => cogl}/cogl-primitives.h | 6 +- + clutter/cogl/{ => cogl}/cogl-shader.h | 0 + .../cogl/{common => cogl}/cogl-texture-driver.h | 0 + .../cogl/{common => cogl}/cogl-texture-private.h | 0 + clutter/cogl/{common => cogl}/cogl-texture.c | 0 + clutter/cogl/{ => cogl}/cogl-texture.h | 0 + clutter/cogl/{ => cogl}/cogl-types.h | 0 + clutter/cogl/{common => cogl}/cogl-util.c | 0 + clutter/cogl/{common => cogl}/cogl-util.h | 0 + .../{common => cogl}/cogl-vertex-buffer-private.h | 0 + clutter/cogl/{common => cogl}/cogl-vertex-buffer.c | 0 + clutter/cogl/{ => cogl}/cogl-vertex-buffer.h | 0 + clutter/cogl/{common => cogl}/cogl.c | 35 ++++- + clutter/cogl/{ => cogl}/cogl.h.in | 2 +- + clutter/cogl/cogl/cogl.pc.in | 17 +++ + clutter/cogl/cogl/driver/Makefile.am | 7 + + clutter/cogl/cogl/driver/gl/Makefile.am | 39 +++++ + .../{ => cogl/driver}/gl/cogl-context-driver.c | 0 + .../{ => cogl/driver}/gl/cogl-context-driver.h | 0 + .../cogl/{ => cogl/driver}/gl/cogl-defines.h.in | 0 + clutter/cogl/{ => cogl/driver}/gl/cogl-fbo.c | 0 + clutter/cogl/{ => cogl/driver}/gl/cogl-fbo.h | 0 + .../cogl/{ => cogl/driver}/gl/cogl-primitives.c | 0 + clutter/cogl/{ => cogl/driver}/gl/cogl-program.c | 0 + clutter/cogl/{ => cogl/driver}/gl/cogl-program.h | 0 + .../{ => cogl/driver}/gl/cogl-shader-private.h | 0 + clutter/cogl/{ => cogl/driver}/gl/cogl-shader.c | 0 + .../{ => cogl/driver}/gl/cogl-texture-driver.c | 0 + clutter/cogl/{ => cogl/driver}/gl/cogl.c | 72 --------- + clutter/cogl/cogl/driver/gles/Makefile.am | 62 ++++++++ + .../{ => cogl/driver}/gles/cogl-context-driver.c | 0 + .../{ => cogl/driver}/gles/cogl-context-driver.h | 0 + .../cogl/{ => cogl/driver}/gles/cogl-defines.h.in | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl-fbo.c | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl-fbo.h | 0 + .../driver}/gles/cogl-fixed-fragment-shader.glsl | 0 + .../driver}/gles/cogl-fixed-vertex-shader.glsl | 0 + .../{ => cogl/driver}/gles/cogl-gles2-wrapper.c | 0 + .../{ => cogl/driver}/gles/cogl-gles2-wrapper.h | 0 + .../cogl/{ => cogl/driver}/gles/cogl-primitives.c | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl-program.c | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl-program.h | 0 + .../{ => cogl/driver}/gles/cogl-shader-private.h | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl-shader.c | 0 + .../{ => cogl/driver}/gles/cogl-texture-driver.c | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl-util.c | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl-util.h | 0 + clutter/cogl/{ => cogl/driver}/gles/cogl.c | 10 -- + clutter/cogl/{ => cogl/driver}/gles/stringify.sh | 0 + clutter/cogl/{common => cogl}/stb_image.c | 0 + clutter/cogl/cogl/winsys/Makefile.am | 43 ++++++ + clutter/cogl/cogl/winsys/cogl-eglnative.c | 35 +++++ + clutter/cogl/cogl/winsys/cogl-eglx.c | 35 +++++ + clutter/cogl/cogl/winsys/cogl-fruity.c | 35 +++++ + clutter/cogl/cogl/winsys/cogl-glx.c | 78 ++++++++++ + clutter/cogl/cogl/winsys/cogl-osx.c | 35 +++++ + clutter/cogl/cogl/winsys/cogl-sdl.c | 35 +++++ + clutter/cogl/cogl/winsys/cogl-win32.c | 35 +++++ + clutter/cogl/cogl/winsys/cogl-winsys.h | 30 ++++ + clutter/cogl/common/Makefile.am | 96 ------------ + clutter/eglnative/Makefile.am | 12 +- + clutter/eglx/Makefile.am | 2 + + clutter/fruity/Makefile.am | 8 +- + clutter/glx/Makefile.am | 2 + + clutter/osx/Makefile.am | 6 +- + clutter/sdl/Makefile.am | 2 + + clutter/win32/Makefile.am | 2 + + clutter/win32/clutter-win32.pc.in | 8 +- + clutter/x11/Makefile.am | 2 + + clutter/x11/clutter-x11.pc.in | 10 +- + configure.ac | 119 ++++++++------- + doc/reference/clutter/Makefile.am | 6 +- + doc/reference/cogl/Makefile.am | 11 +- + tests/conform/Makefile.am | 4 +- + tests/interactive/Makefile.am | 4 +- + tests/micro-bench/Makefile.am | 9 +- + tests/tools/Makefile.am | 2 + + 118 files changed, 834 insertions(+), 431 deletions(-) + +commit 2eea83de75cec3dbc334feecd004a180a7f5b1e5 +Author: Robert Bragg +Date: Tue Jul 28 01:34:33 2009 +0100 + + Make the CoglContext structure a bit more maintainable + + This moves most of cogl-context.{c.h} to cogl/common with some driver + specific members now living in a CoglContextDriver struct. Driver specific + context initialization and typedefs now live in + cogl/{gl,gles}/cogl-context-driver.{c,h} + + Driver specific members can be found under ctx->drv.stuff + + clutter/cogl/common/Makefile.am | 2 + + clutter/cogl/common/cogl-blend-string.c | 2 +- + clutter/cogl/{gles => common}/cogl-context.c | 45 ++-- + clutter/cogl/{gles => common}/cogl-context.h | 23 +- + clutter/cogl/common/cogl-material.c | 14 +- + clutter/cogl/common/cogl-primitives.c | 12 +- + clutter/cogl/common/cogl-vertex-buffer.c | 26 +-- + clutter/cogl/common/cogl.c | 2 +- + clutter/cogl/gl/Makefile.am | 2 +- + clutter/cogl/gl/cogl-context-driver.c | 84 +++++++ + .../gl/{cogl-context.h => cogl-context-driver.h} | 106 +-------- + clutter/cogl/gl/cogl-context.c | 259 --------------------- + clutter/cogl/gl/cogl-fbo.c | 24 +- + clutter/cogl/gl/cogl-primitives.c | 2 +- + clutter/cogl/gl/cogl-program.c | 50 ++-- + clutter/cogl/gl/cogl-shader.c | 12 +- + clutter/cogl/gl/cogl-texture-driver.c | 2 +- + clutter/cogl/gl/cogl.c | 224 +++++++++--------- + clutter/cogl/gles/Makefile.am | 2 +- + clutter/cogl/gles/cogl-context-driver.c | 41 ++++ + clutter/cogl/gles/cogl-context-driver.h | 44 ++++ + clutter/cogl/gles/cogl-fbo.c | 8 +- + clutter/cogl/gles/cogl-gles2-wrapper.c | 2 +- + clutter/cogl/gles/cogl-program.c | 16 +- + clutter/cogl/gles/cogl-texture-driver.c | 14 +- + 25 files changed, 417 insertions(+), 601 deletions(-) + +commit 157eb437bac38d7a61991f47bd943cb9f6d84ad7 +Author: Robert Bragg +Date: Tue Jul 28 00:37:11 2009 +0100 + + Improve cogl-texture maintainability by moving 90% into cogl/common + + This splits the limited components that differed between + cogl/{gl,gles}/cogl-texture.c into new {gl,gles}/cogl-texture-driver.c files + and the rest that can now be shared into cogl/common/cogl-texture.c + + clutter/cogl/common/Makefile.am | 3 + + clutter/cogl/common/cogl-internal.h | 1 + + clutter/cogl/common/cogl-texture-driver.h | 157 ++ + clutter/cogl/{gl => common}/cogl-texture-private.h | 12 +- + clutter/cogl/{gl => common}/cogl-texture.c | 474 +---- + clutter/cogl/gl/Makefile.am | 3 +- + clutter/cogl/gl/cogl-texture-driver.c | 454 +++++ + clutter/cogl/gles/Makefile.am | 3 +- + clutter/cogl/gles/cogl-gles2-wrapper.h | 1 + + clutter/cogl/gles/cogl-texture-driver.c | 481 +++++ + clutter/cogl/gles/cogl-texture-private.h | 144 -- + clutter/cogl/gles/cogl-texture.c | 2066 -------------------- + 12 files changed, 1188 insertions(+), 2611 deletions(-) + +commit fe01ec6323967614c6404bc193503adb5bda1624 +Author: Robert Bragg +Date: Thu Aug 20 11:54:41 2009 +0100 + + [stage-egl] support fallbacks in clutter_stage_egl_realize + + Most of clutter_stage_egl_realize was renamed to + _clutter_stage_egl_try_realize which now takes a cookie indicating which + fallback number should tried next. clutter_stage_egl_realize now keeps + trying to realize with successive fallback numbers until it succeeds or runs + out of fallbacks. + + The only fallback supported for now is for hardware with no stencil buffer + support. + + clutter/eglx/clutter-stage-egl.c | 112 ++++++++++++++++++++++++++++----------- + 1 file changed, 82 insertions(+), 30 deletions(-) + +commit 3187e1964279b3fb93703fe6c67df5b6025729c9 +Author: Robert Bragg +Date: Mon Aug 3 14:50:10 2009 +0100 + + [x11 backend] remove data duplicated between backends and stages + + Make backends the canonical point of reference for the xdisplay, the xscreen + number, the x root window and the xvisinfo for creating foreign stages. + + clutter/eglx/clutter-backend-egl.c | 10 +-- + clutter/eglx/clutter-stage-egl.c | 18 ++-- + clutter/glx/clutter-backend-glx.c | 59 +++++++------ + clutter/glx/clutter-backend-glx.h | 6 ++ + clutter/glx/clutter-stage-glx.c | 58 ++++++------ + clutter/x11/clutter-backend-x11.c | 1 + + clutter/x11/clutter-backend-x11.h | 5 ++ + clutter/x11/clutter-stage-x11.c | 177 +++++++++++++++++++++++-------------- + clutter/x11/clutter-stage-x11.h | 8 +- + 9 files changed, 200 insertions(+), 142 deletions(-) + +commit 63414ab233522b0da8462b32c4e36e74be891475 +Author: Robert Bragg +Date: Fri Jul 31 20:39:28 2009 +0100 + + [glx backend] white space fixes + + Simply removes lots of trailing white spaces + + clutter/glx/clutter-backend-glx.c | 40 +++++++++++++++++++-------------------- + 1 file changed, 20 insertions(+), 20 deletions(-) + +commit 45a668bef855b8564236a3153bf07e1ea0148d16 +Author: Robert Bragg +Date: Fri Jul 31 17:07:10 2009 +0100 + + [glx backend] use FBConfigs instead of Visuals for GL context creation + + This replaces calls to the old (glx 1.2) functions glXChooseVisual, + glXCreateContext, glXMakeCurrent with the 1.3+ fbconfig varients + glXChooseFBConfig, glXCreateNewContext, glXMakeContextCurrent. + + clutter/glx/clutter-backend-glx.c | 122 +++++++++++++++++++++++--------------- + 1 file changed, 75 insertions(+), 47 deletions(-) + +commit 15d7a86621f3fc80d3d50e7f5a3a141412163e7f +Author: Robert Bragg +Date: Fri Jul 31 18:34:51 2009 +0100 + + [backends] Remove the idea of offscreen stages from all backends + + The only backend that tried to implement offscreen stages was the GLX backend + and even this has apparently be broken for some time without anyone noticing. + + The property still remains and since the property already clearly states that + it may not work I don't expect anyone to notice. + + This simplifies quite a bit of the GLX code which is very desireable from the + POV that we want to start migrating window system code down to Cogl and the + simpler the code is the more straight forward this work will be. + + In the future when Cogl has a nicely designed API for framebuffer objects then + re-implementing offscreen stages cleanly for *all* backends should be quite + straightforward. + + clutter/clutter-backend.c | 3 +- + clutter/clutter-backend.h | 1 - + clutter/clutter-private.h | 1 - + clutter/clutter-stage.c | 33 +--- + clutter/eglnative/clutter-stage-egl.c | 217 +++++++++++------------- + clutter/eglx/clutter-backend-egl.c | 3 +- + clutter/eglx/clutter-stage-egl.c | 307 +++++++++++++++------------------- + clutter/fruity/clutter-stage-fruity.c | 175 +++++++++---------- + clutter/glx/clutter-backend-glx.c | 59 ++----- + clutter/glx/clutter-stage-glx.c | 224 ++++++++----------------- + clutter/osx/clutter-stage-osx.c | 10 -- + clutter/sdl/clutter-stage-sdl.c | 39 ++--- + clutter/x11/clutter-backend-x11.c | 5 +- + clutter/x11/clutter-backend-x11.h | 8 +- + clutter/x11/clutter-stage-x11.c | 5 +- + 15 files changed, 435 insertions(+), 655 deletions(-) + +commit 35f11d863c4ac66136df9846c898ed88ff8ffb34 +Author: Robert Bragg +Date: Fri Oct 16 17:15:47 2009 +0100 + + [build] more Makefile.am.{enums,marshal} fixes for out of tree builds + + for the marshal files $(srcdir) was getting prefixed twice since my last + commit (2cc88f1140) since it was already being prefixed including + Makefile.am. The problem with prefixing it in the includer file though is + that the Make variable substitutions like :.list=.h mean we end up + generating into the $(srcdir). This removes the prefix added in + clutter/Makefile.am + + We were also missing a $(srcdir) prefix when setting EXTRA_DIST + + build/autotools/Makefile.am.enums | 2 +- + build/autotools/Makefile.am.marshal | 3 ++- + clutter/Makefile.am | 2 +- + 3 files changed, 4 insertions(+), 3 deletions(-) + +commit f1acc91f3704bfff45652aea4f14355485f34df0 +Author: Emmanuele Bassi +Date: Fri Oct 16 15:57:21 2009 +0100 + + Simple coding style fix for commit c5551184 + + clutter/clutter-interval.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit a9d2c0f6903fff5a5b445265040f8bb689c10750 +Merge: b5adbf89b 70c812845 +Author: Emmanuele Bassi +Date: Fri Oct 16 15:55:05 2009 +0100 + + Merge branch 'bug-1846' + + * bug-1846: + Fix warning message in the ParamSpec validation + +commit b5adbf89b851baa9fb833b00ad6137cc5e6547cb +Merge: ee9f8c3bd c5551184b +Author: Emmanuele Bassi +Date: Fri Oct 16 15:55:04 2009 +0100 + + Merge branch 'bug-1845' + + * bug-1845: + Add a warning when ClutterInterval can't compute progress + +commit 70c8128457d49bf9dde0838470f1b4b363f9aafb +Author: Damien Lespiau +Date: Mon Oct 12 17:05:05 2009 +0100 + + Fix warning message in the ParamSpec validation + + When validating a new GValue against the ClutterParamSpecUnits, we issue + a warning when the units do not match with both the new value and the + unit we expect to have. Unfortunately we were printing the unit of the + new value twice and not the unit of the ParamSpec. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1846 + + clutter/clutter-units.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c5551184b0337ea8a990b14e52eb15e855a27ca9 +Author: Damien Lespiau +Date: Mon Oct 12 16:45:39 2009 +0100 + + Add a warning when ClutterInterval can't compute progress + + This is really useful when trying to animate GTypes that haven't + registered any progress function. Instead of silently not working it + will warn the developer. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1845 + + clutter/clutter-interval.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit ee9f8c3bdf9672e0d79598eed8f73569190888dc +Author: Damien Lespiau +Date: Mon Oct 12 16:28:10 2009 +0100 + + Add ClutterInterval integration + + To be able to animate CLUTTER_TYPE_UNITS properties we need to register + the GType and its progress function against the ClutterInterval code. + + The two ClutterUnits defining the interval can use different units, the + resulting unit will always be in pixels, so calculating a progress + between 10px and 4cm is valid. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1844 + + clutter/clutter-units.c | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + +commit 83b4ec7a12ea279b59a80f6008e1bece25de3a8c +Author: Emmanuele Bassi +Date: Fri Oct 16 15:25:37 2009 +0100 + + units: Cache the pixels value inside Units + + When computing the pixels value of a ClutterUnits value we should + be caching the value to avoid recomputing for every call of + clutter_units_to_pixels(). We already have a flag telling us to + return the cached value, but we miss the mechanism to evict the + cache whenever the Backend settings affecting the conversion, that + is default font and resolution, change. + + In order to implement the eviction we can use a "serial"; the + Backend will have an internal serial field which we retrieve and + put inside the ClutterUnits structure (we split one of the two + 64 bit padding fields into two 32 bit fields to maintain ABI); every + time we call clutter_units_to_pixels() we compare the units serial + with that of the Backend; if they match and pixels_set is set to + TRUE then we just return the stored pixels value. If the serials + do not match then we unset the pixels_set flag and recompute the + pixels value. + + We can verify this by adding a simple test unit checking that + by changing the resolution of ClutterBackend we get different + pixel values for 1 em. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1843 + + .gitignore | 1 + + clutter/clutter-backend.c | 21 ++++++++++++++++-- + clutter/clutter-private.h | 2 ++ + clutter/clutter-units.c | 45 ++++++++++++++++++++++++++++++++++++++ + clutter/clutter-units.h | 9 +++++++- + tests/conform/test-clutter-units.c | 23 +++++++++++++++++++ + tests/conform/test-conform-main.c | 1 + + 7 files changed, 99 insertions(+), 3 deletions(-) + +commit 2ff31dfbaaad3056265b05efe57eac63f8e3ce61 +Author: Emmanuele Bassi +Date: Fri Oct 16 14:22:15 2009 +0100 + + text: Notify :position when it changes + + The :position property is not notified when changed. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1830 + + clutter/clutter-text.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit bc424fb56c3a75a822b22c0e5b284b5775f76abe +Author: Emmanuele Bassi +Date: Sat Sep 19 09:19:06 2009 +0100 + + [text] NULL-ify strings to avoid double-frees + + clutter/clutter-text.c | 1 + + 1 file changed, 1 insertion(+) + +commit 6f43f4b805387e0cac054d7b002634da3b00b106 +Author: Emmanuele Bassi +Date: Sat Sep 19 09:18:06 2009 +0100 + + [text] Do not apply unset preedit attributes + + The pre-edit attributes are optional and thus should only be applied + if they have been set to avoid assertion failures. + + clutter/clutter-text.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 28837283877c11f26565d79e6bcd4b171203a9b0 +Author: Emmanuele Bassi +Date: Wed Sep 9 12:15:23 2009 +0100 + + [text] Add pre-edit string to ClutterText + + Input Methods require to be able to set a "pre-edit string", that is + a string that it's just displayed into the Text actor without being + committed to the actor's buffer. The string might require custom Pango + attributes, and an update of the cursor position. + + clutter/clutter-text.c | 193 ++++++++++++++++++++++++----- + clutter/clutter-text.h | 5 + + doc/reference/clutter/clutter-sections.txt | 1 + + tests/interactive/test-text-field.c | 179 ++++++++++++++++++++++++++ + 4 files changed, 346 insertions(+), 32 deletions(-) + +commit 2cc88f1140ffa774371b877d723dfaf9e33a6ce5 +Author: Robert Bragg +Date: Thu Oct 15 19:12:34 2009 +0100 + + [build] fix Makefile.am.{enums,marshal} to support out of tree builds + + Out of tree builds were broken in commit 46b736f42e1165 since we didn't + explicitly use $(srcdir) to find the input files for glib-mkenums and + glib-genmarshal. + + build/autotools/Makefile.am.enums | 4 ++-- + build/autotools/Makefile.am.marshal | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 87f0b94df7524400b233cd1acca871fa6f8f0a02 +Author: Emmanuele Bassi +Date: Thu Oct 15 14:20:44 2009 +0100 + + layout, docs: Fix description of Bin properties + + The BinLayer and BinLayout properties name and blurb for introspection + should be slightly more descriptive. + + clutter/clutter-bin-layout.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 852abbb138898467fb6497508e99fb1a92203c78 +Author: Emmanuele Bassi +Date: Thu Oct 15 14:12:37 2009 +0100 + + layout, bin: Use ceilf() instead of casting to int + + Casting a float to int to truncate it before assigning the value + to a float again is wrong. We should use ceilf() instead which + does what we want to achieve (rounding up the size to avoid + sub-pixel positioning of children). + + clutter/clutter-bin-layout.c | 26 ++++++++++++++------------ + 1 file changed, 14 insertions(+), 12 deletions(-) + +commit 308c930f37c7c00eb6791d53fced7d1c2ac9600e +Author: Emmanuele Bassi +Date: Thu Oct 15 14:11:36 2009 +0100 + + layout, docs: Add long description for FlowLayout + + Add the full description of the layout policy + + clutter/clutter-flow-layout.c | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +commit 4d153e4507fdd8fc135998f771e1826a9b02e658 +Author: Emmanuele Bassi +Date: Thu Oct 15 12:15:49 2009 +0100 + + layout, box: Clean up + + * Use g_list_foreach() instead of iterating over the list inside + the destruction sequence, since we are causing the widgets to be + implicitly removed from the list via the destroy() call. + + * Use g_signal_connect_swapped() and spare us from a callback. + + clutter/clutter-box.c | 20 ++++++-------------- + 1 file changed, 6 insertions(+), 14 deletions(-) + +commit adca939101e3a25309c29e6a263c1c7ac7b0d877 +Author: Emmanuele Bassi +Date: Thu Oct 15 12:04:50 2009 +0100 + + layout, box: Write long description for Box + + Also have an example of how to create a Box with a layout manager + and how to use the pack() method. + + clutter/clutter-box.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 44 insertions(+), 1 deletion(-) + +commit 9f06f726d409d0ac948179b9771350147c5e699b +Author: Emmanuele Bassi +Date: Tue Oct 13 16:52:57 2009 +0100 + + layout, docs: Remove unused functions + + The :wrap property and its accessor functions were removed from + ClutterFlowLayout. + + doc/reference/clutter/clutter-sections.txt | 2 -- + 1 file changed, 2 deletions(-) + +commit cd3dce1d5d957046934062780d21558e182ceb1a +Author: Emmanuele Bassi +Date: Tue Oct 13 12:15:25 2009 +0100 + + layout: Document BoxLayout + + Add BoxLayout to the API reference. + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 38 ++++++++++++++++++++++++++++++ + doc/reference/clutter/clutter.types | 1 + + 3 files changed, 40 insertions(+) + +commit b526b765931bcf4e44feac4ab1b72763eb68f264 +Author: Emmanuele Bassi +Date: Tue Oct 13 12:14:05 2009 +0100 + + layout: Add BoxLayout, a single line layout manager + + The BoxLayout layout manager implements a layout policy for arranging + children on a single line, either alongside the X axis or alongside the + Y axis. + + .gitignore | 1 + + clutter/Makefile.am | 2 + + clutter/clutter-box-layout.c | 1496 +++++++++++++++++++++++++++++++++++ + clutter/clutter-box-layout.h | 143 ++++ + clutter/clutter.h | 1 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-box-layout.c | 207 +++++ + 7 files changed, 1852 insertions(+), 1 deletion(-) + +commit c4b2d4ce797b5ac4c61865d4249badcfb85657f0 +Author: Emmanuele Bassi +Date: Thu Oct 8 15:45:29 2009 +0100 + + layout: Report the correct size of FlowLayout + + FlowLayout should compute the correct height for the assigned width when + in horizontal flow, and the correct width for the assigned height when + in vertical flow. This means pre-computing the number of lines inside + the get_preferred_width() and get_preferred_height(). We can then cache + the computed column width and row height, cache them inside the layout + and then use them when allocating the children. + + clutter/clutter-flow-layout.c | 457 ++++++++++++++++++++++++++++------- + tests/interactive/test-flow-layout.c | 4 +- + 2 files changed, 369 insertions(+), 92 deletions(-) + +commit 6f19666b13ac9bde44996620df714484dbe4bd67 +Author: Emmanuele Bassi +Date: Wed Oct 7 15:30:29 2009 +0100 + + layout: Resizing the stage resizes the FlowLayout box + + Add some user interaction to verify the dynamic reflowing. + + tests/interactive/test-flow-layout.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit 0876575a9549acd54fbc3c70b4e7178e9e4e1e65 +Author: Emmanuele Bassi +Date: Wed Oct 7 15:29:47 2009 +0100 + + layout: Use the get_request_mode() getter in BinLayout + + Instead of using g_object_get(child, "request-mode", ...). + + clutter/clutter-bin-layout.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit eb40e856e1a687c27d047ee6069b6ec84e1e1237 +Author: Emmanuele Bassi +Date: Wed Oct 7 15:28:01 2009 +0100 + + layout: Change the request-mode along with the orientation + + When changing the orientation of a FlowLayout, the associated + container should also change its request mode. A horizontally + flowing layout has a height depending on the width, since it + will reflow vertically; similarly, a vertically reflowing layout + will have a width depending on the height. + + clutter/clutter-flow-layout.c | 30 ++++++++++++++++++++++++++++-- + 1 file changed, 28 insertions(+), 2 deletions(-) + +commit b5895335ab2d6975665426693fb1b96d7ca86f74 +Author: Emmanuele Bassi +Date: Wed Oct 7 15:15:02 2009 +0100 + + actor: Add set_request_mode() method + + We should not require the use g_object_set()/_get() for accessing + the :request-mode property. A proper accessors pair should be + preferred. + + clutter/clutter-actor.c | 48 +++++++++++++++++++++++++----- + clutter/clutter-actor.h | 3 ++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + 3 files changed, 46 insertions(+), 7 deletions(-) + +commit 19317520b57461b505751411cf9d9f39bbf12ad5 +Author: Emmanuele Bassi +Date: Wed Oct 7 12:35:39 2009 +0100 + + [layout] Remove FlowLayout:wrap + + The :wrap property is not implemented, and mostly useless: the + FlowLayout is a reflowing grid. This means that if it receives + less than the preferred width or height in the flow direction + then it should always reflow. + + clutter/clutter-flow-layout.c | 107 ++++-------------------------------------- + clutter/clutter-flow-layout.h | 3 -- + 2 files changed, 8 insertions(+), 102 deletions(-) + +commit 6d954ec0742bad823c8c474873a21ab990a56c7f +Author: Emmanuele Bassi +Date: Wed Oct 7 11:42:09 2009 +0100 + + [layout] Rename BinLayout and FlowLayout interactive tests + + The BinLayout and FlowLayout interactive tests should be named more + explicitly. + + .gitignore | 4 ++-- + tests/interactive/Makefile.am | 4 ++-- + tests/interactive/{test-box.c => test-bin-layout.c} | 2 +- + tests/interactive/{test-flow.c => test-flow-layout.c} | 2 +- + 4 files changed, 6 insertions(+), 6 deletions(-) + +commit 4ea57bc685abeea9273b2b8427a9199980cc2f40 +Author: Emmanuele Bassi +Date: Wed Oct 7 11:39:18 2009 +0100 + + [layout] Skip invisible children in FlowLayout + + Skip hidden actors when computing the preferred size and when + allocating. + + clutter/clutter-flow-layout.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit b1bae4d66afc8420209f72dabcbf2fe81b461ff3 +Author: Emmanuele Bassi +Date: Wed Oct 7 11:08:51 2009 +0100 + + [layout] Clean up and document FlowLayout + + clutter/clutter-flow-layout.c | 177 +++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 168 insertions(+), 9 deletions(-) + +commit db3ef971705485b1000def688635daaac99f79cd +Author: Emmanuele Bassi +Date: Tue Oct 6 17:30:49 2009 +0100 + + [layout] Snap children of FlowLayout to column/row + + Use the column and row size to align each child; with :homogeneous + set to TRUE, or with children with the same size, the FlowLayout + will behave like a reflowing grid. + + clutter/clutter-flow-layout.c | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +commit e5a074fd9e487444db9114c2970a4d83c1661c7f +Author: Emmanuele Bassi +Date: Tue Oct 6 16:17:16 2009 +0100 + + [layout] Add :homogeneous to FlowLayout + + clutter/clutter-flow-layout.c | 90 +++++++++++++++++++++++++++++++++++++------ + clutter/clutter-flow-layout.h | 3 ++ + tests/interactive/test-flow.c | 37 ++++++++++++++++-- + 3 files changed, 115 insertions(+), 15 deletions(-) + +commit 5737cf869f162f5539ae00f86db7923502c38dab +Author: Emmanuele Bassi +Date: Fri Sep 18 17:28:02 2009 +0100 + + [layout] Initial implementation of FlowLayout + + FlowLayout is a layout manager that arranges its children in a + reflowing line; the orientation controls the major axis for the + layout: horizontal, for reflow on the Y axis, and vertical, for + reflow on the X axis. + + .gitignore | 1 + + clutter/Makefile.am | 2 + + clutter/clutter-flow-layout.c | 855 +++++++++++++++++++++++++++++ + clutter/clutter-flow-layout.h | 127 +++++ + clutter/clutter.h | 1 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 34 ++ + doc/reference/clutter/clutter.types | 1 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-flow.c | 117 ++++ + 10 files changed, 1141 insertions(+), 1 deletion(-) + +commit 857b0239e906b0e5eb1a2fec8703eb675a70675f +Author: Emmanuele Bassi +Date: Mon Oct 5 17:21:41 2009 +0100 + + [layout] Use FixedLayout inside Group + + The Group actor should use the FixedLayout layout manager object + to avoid duplicating code. + + clutter/clutter-group.c | 138 ++++++++++-------------------------------------- + 1 file changed, 29 insertions(+), 109 deletions(-) + +commit 62db72cf4106f498a041d02d67de72460130acdd +Author: Emmanuele Bassi +Date: Mon Oct 5 17:09:04 2009 +0100 + + [layout] Update FixedLayout + + The behaviour of ClutterGroup has been fixed with regards to the + preferred size request; the fixed layout manager should use the + same behaviour. + + clutter/clutter-fixed-layout.c | 116 +++++++---------------------------------- + 1 file changed, 20 insertions(+), 96 deletions(-) + +commit 4663552a0017f85c818a664b3528fab617e6e15c +Author: Emmanuele Bassi +Date: Fri Sep 18 15:29:09 2009 +0100 + + [layout] Typo and whitespace fixes + + clutter/clutter-box.c | 2 +- + clutter/clutter-box.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit c98388bb0166fedd4e72bca42b99782a9b2fb52c +Author: Emmanuele Bassi +Date: Thu Sep 17 18:21:51 2009 +0100 + + [layout, box] Add Box:color + + Allow setting the background color of a ClutterBox + + clutter/clutter-box.c | 136 ++++++++++++++++++++++++++++- + clutter/clutter-box.h | 5 ++ + doc/reference/clutter/clutter-sections.txt | 4 + + 3 files changed, 144 insertions(+), 1 deletion(-) + +commit df6ca3d171a6a8d1a18cbf0fe70f4e4572e54479 +Author: Emmanuele Bassi +Date: Thu Sep 17 11:38:43 2009 +0100 + + [layout, docs] Clean up BinLayout documentation + + Documentation and code style fixes for BinLayout. + + clutter/clutter-bin-layout.c | 120 +++++++++++++++++++++++++++++++------------ + clutter/clutter-bin-layout.h | 24 +++++++++ + 2 files changed, 112 insertions(+), 32 deletions(-) + +commit 8b2088a91787562c01d5b8184f1f2b2f1d225371 +Author: Emmanuele Bassi +Date: Wed Sep 16 15:55:30 2009 +0100 + + [layout, tests] Use variants for child packing in Box + + There are three potential variants to add a child inside a Box + with a BinLayout: + + - clutter_box_pack(), a variadic argument function which + allows passing arbitrary LayoutMeta properties and values; + + - clutter_bin_layout_add(), which uses the backpointer to + the container from the LayoutManager and sets the layout + properties directly without GValue (de)marshalling + + - clutter_container_add_actor() and + clutter_bin_layout_set_alignment(), similar to the + clutter_bin_layout_add() function above, but split in two + + The test-box interactive test should exercise all three variants. + + tests/interactive/test-box.c | 24 ++++++++++++++++-------- + 1 file changed, 16 insertions(+), 8 deletions(-) + +commit 431a63d04adc40dfd719563c4f9978324f618b4e +Author: Emmanuele Bassi +Date: Wed Sep 16 15:51:13 2009 +0100 + + [layout] Store and use the container inside BinLayout + + The BinLayout should store a pointer to the Container that it is + using it as the layout manager. + + This allows us to fix the API and drop the additional Container + arguments from set_alignment() and get_alignment(). + + This also allows us to add a ClutterBinLayout::add() method which + adds an actor and sets the alignment policies without dealing with + variadic arguments functions and GValue (de)marshalling. + + clutter/clutter-bin-layout.c | 120 ++++++++++++++++++++++++++--- + clutter/clutter-bin-layout.h | 7 +- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 114 insertions(+), 14 deletions(-) + +commit 755896664f7efc4bbfce0bfb6ea3249b6c526a59 +Author: Emmanuele Bassi +Date: Wed Sep 16 15:48:28 2009 +0100 + + [layout] Set a back pointer to Box inside the layout + + Use the LayoutManager API to set a back pointer to the Box actor + inside the LayoutManager used by the box. + + This also allows us to replace the LayoutManager on a Box, since + the LayoutManager will be able to replace all the metadata if + needed. + + clutter/clutter-box.c | 37 ++++++++++++++++++++++++++++-- + clutter/clutter-box.h | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 38 insertions(+), 2 deletions(-) + +commit 22bb243ec24821cd18e7dba791e793884ffe2a63 +Author: Emmanuele Bassi +Date: Wed Sep 16 15:47:26 2009 +0100 + + [layout] Replace stale LayoutMeta + + If a LayoutMeta references a different container and/or layout manager + then we should simply replace it and discard the previous one. + + clutter/clutter-layout-manager.c | 17 ++++++++++++++++- + 1 file changed, 16 insertions(+), 1 deletion(-) + +commit 9117ee205691a5bb1a3bb65e1963ed5b8826b79f +Author: Emmanuele Bassi +Date: Wed Sep 16 14:58:30 2009 +0100 + + [layout] Allow taking a back pointer to the Container + + The LayoutManager implementation might opt to take a back pointer + to the Container that is using the layout instance; this allows + direct access to the container itself from within the implementation. + + clutter/clutter-layout-manager.c | 28 ++++++++++++++++++++++++++++ + clutter/clutter-layout-manager.h | 12 ++++++++++++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 41 insertions(+) + +commit f58bdbad15206f4369589f50789b9db9585f6e03 +Author: Emmanuele Bassi +Date: Wed Sep 16 11:10:45 2009 +0100 + + [layout] Rename Box::add to Box::pack + + Since ClutterBox is a ClutterContainer we should avoid naming + collisions between methods. + + clutter/clutter-box.c | 24 ++++++++++++------------ + clutter/clutter-box.h | 4 ++-- + doc/reference/clutter/clutter-sections.txt | 4 ++-- + tests/interactive/test-box.c | 24 ++++++++++++------------ + 4 files changed, 28 insertions(+), 28 deletions(-) + +commit c6f67bf872ec2b51951a554e0351e6d7615d28ce +Author: Emmanuele Bassi +Date: Wed Sep 16 11:10:38 2009 +0100 + + [layout, docs] Document FixedLayout + + clutter/clutter-fixed-layout.c | 45 ++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-fixed-layout.h | 42 +++++++++++++++++++++++++++++++++++++++ + 2 files changed, 87 insertions(+) + +commit aaae60e17837d6f0b330c04345f1e2c2be9f24b9 +Author: Emmanuele Bassi +Date: Tue Sep 15 23:20:51 2009 +0100 + + [layout] Implement ClutterBox::add + + The ClutterBox::add method is a simple wrapper around the Container + add_actor() method and the LayoutManager layout properties API. It + allows adding an actor to a Box and setting the layout properties in + one call. + + If the LayoutManager used by the Box does not support layout properties + then the add() method short-circuits out. + + Along with the varargs version of the method there's also a vector-based + variant, for language bindings to use. + + clutter/clutter-box.c | 186 +++++++++++++++++++++++++++++ + clutter/clutter-box.h | 10 ++ + doc/reference/clutter/clutter-sections.txt | 2 + + tests/interactive/test-box.c | 31 ++--- + 4 files changed, 210 insertions(+), 19 deletions(-) + +commit a2086f1178fa3aed7fdc6f94d09efbc0e1bc2c11 +Author: Emmanuele Bassi +Date: Tue Sep 15 17:37:11 2009 +0100 + + [layout] Add LayoutMeta + + Instead of overloading ClutterChildMeta with both container and layout + metadata and delegate to every LayoutManager implementation to keep a + backpointer to the layout manager instance, we can simply subclass + ChildMeta into LayoutMeta and presto! everything works out pretty well + for everyone. + + clutter/Makefile.am | 2 + + clutter/clutter-bin-layout.c | 35 ++++--- + clutter/clutter-layout-manager.c | 58 ++++++------ + clutter/clutter-layout-manager.h | 133 +++++++++++++-------------- + clutter/clutter-layout-meta.c | 142 +++++++++++++++++++++++++++++ + clutter/clutter-layout-meta.h | 85 +++++++++++++++++ + clutter/clutter-types.h | 1 + + clutter/clutter.h | 1 + + doc/reference/clutter/clutter-docs.xml.in | 5 +- + doc/reference/clutter/clutter-sections.txt | 19 ++++ + doc/reference/clutter/clutter.types | 1 + + 11 files changed, 369 insertions(+), 113 deletions(-) + +commit 899db6f226864614350d6aa07d8313dccf7d652f +Author: Emmanuele Bassi +Date: Tue Sep 15 16:24:47 2009 +0100 + + [layout, docs] Add layout managers sections + + Add LayoutManager and its subclasses, and the Box actor to the + gtk-doc machinery needed to generate the API reference. + + clutter/clutter-bin-layout.c | 6 +- + clutter/clutter-bin-layout.h | 4 +- + clutter/clutter-layout-manager.c | 145 ++++++++++++++++++++++++++++- + clutter/clutter-layout-manager.h | 16 +++- + doc/reference/clutter/clutter-docs.xml.in | 9 ++ + doc/reference/clutter/clutter-sections.txt | 94 +++++++++++++++++++ + doc/reference/clutter/clutter.types | 4 + + 7 files changed, 269 insertions(+), 9 deletions(-) + +commit 9cccff504a40706e70b11878572d7e7db7430792 +Author: Emmanuele Bassi +Date: Mon Sep 14 21:51:49 2009 +0100 + + [layout] Add layers to BinLayout + + Each actor managed by a BinLayout policy should reside inside its + own "layer", with horizontal and vertical alignment. The :x-align + and :y-align properties of the BinLayout are the default alignment + policies, which are copied to each new "layer" when it is created. + + The set_alignment() and get_alignment() methods of BinLayout can + be changed to operate on a specific "layer". + + The whole machinery uses the new ChildMeta support inside the + LayoutManager base abstract class. + + clutter/clutter-bin-layout.c | 265 ++++++++++++++++++++++++++++++++++++++----- + clutter/clutter-bin-layout.h | 4 + + tests/interactive/test-box.c | 147 +++++++++++++++++++++++- + 3 files changed, 385 insertions(+), 31 deletions(-) + +commit 98474076a1310494fec252fb6bfce8001bca78da +Author: Emmanuele Bassi +Date: Mon Sep 14 21:50:20 2009 +0100 + + [layout] Bind the layout ChildMeta inside Box + + The ClutterBox container actor should add and remove ChildMeta to + each actor that has been added and removed to the list of children, + respectively. + + clutter/clutter-box.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 7051fe275d9d052ce42e8237080844aa18ee927c +Author: Emmanuele Bassi +Date: Mon Sep 14 21:48:06 2009 +0100 + + [layout] Bind ChildMeta to LayoutManager + + The ChildMeta object is a storage for child-container properties, + that is properties that exist only when an actor is inside a specific + container. The LayoutManager delegate class should also have + layout-specific properties -- so, for this job, we can "recycle" + ChildMeta as the storage. + + clutter/clutter-layout-manager.c | 372 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-layout-manager.h | 92 ++++++---- + 2 files changed, 432 insertions(+), 32 deletions(-) + +commit 83a4e9626772453804c61d7aa022eacf540bf0ce +Author: Emmanuele Bassi +Date: Mon Sep 14 12:04:42 2009 +0100 + + [layout] Document BinLayout + + clutter/clutter-bin-layout.c | 93 ++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-bin-layout.h | 46 +++++++++++++++++++++- + 2 files changed, 137 insertions(+), 2 deletions(-) + +commit b06a3293fe3d065369d9f97ad8bfa77051414fec +Author: Emmanuele Bassi +Date: Mon Sep 14 12:03:38 2009 +0100 + + [layout] Notify of alignment changes in BinLayout + + Emit the ::layout-changed when the BinLayout alignment policies change. + + This will result in a queue_relayout() on the containers using the + BinLayout layout manager. + + clutter/clutter-bin-layout.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 4e8d8bbc15f26e95adfd59469306b7098f9fd491 +Author: Emmanuele Bassi +Date: Mon Sep 14 11:28:34 2009 +0100 + + [layout] Update Box + + * Use ::layout-changed to queue a relayout when the layout changes + + * Destroy the Box children when destroying the Box + + * Allow getting the layout manager from the Box + + clutter/clutter-box.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++---- + clutter/clutter-box.h | 4 ++- + 2 files changed, 70 insertions(+), 6 deletions(-) + +commit d096a3c791ab5b105d55a19ab316cd8b2fff878b +Author: Emmanuele Bassi +Date: Mon Sep 14 11:04:11 2009 +0100 + + [layout] Add LayoutManager::layout-changed signal + + If a sub-class of LayoutManager wishes to implement a parametrized + layout policy it also needs a way to notify the container using the + layout manager that the layout has changed. We cannot do it directly + and automatically from the LayoutManager because a) it has no back + link to the actor that it is using it and b) it can be attached to + multiple actors. + + This is a job for signals! + + By adding ClutterLayoutManager::layout-changed (and its relative + emitted function) we can notify actors using the layout manager that + the layout parameters have been changed, and thus they should queue + a relayout. + + clutter/clutter-layout-manager.c | 103 ++++++++++++++++++++++++++++++++++++++- + clutter/clutter-layout-manager.h | 44 +++++++++++++++++ + 2 files changed, 146 insertions(+), 1 deletion(-) + +commit a1853892bae7c54d28a86e253e04c3753d65e159 +Author: Emmanuele Bassi +Date: Fri Sep 11 15:34:13 2009 +0100 + + [tests] Add a Box interactive test + + .gitignore | 1 + + tests/interactive/Makefile.am | 3 ++- + tests/interactive/test-box.c | 47 +++++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 50 insertions(+), 1 deletion(-) + +commit 1061ebeac90a5b03a172aa649aa5a8b8cfb5b293 +Author: Emmanuele Bassi +Date: Fri Sep 11 13:51:23 2009 +0100 + + [layout] Add BinLayout + + A BinLayout is a simple layout manager that allocates a single cell, + providing alignment on both the horizontal and vertical axis. + + If the container associated to the BinLayout has more than one child, + the preferred size returned by the layout manager will be as big as + the maximum of the children preferred sizes; the allocation will be + applied to all children - but it will still depend on each child + preferred size and the BinLayout horizontal and vertical alignment + properties. + + The supported alignment properties are: + + * center: align the child by centering it + * start: align the child at the top or left border of the layout + * end: align the child at the bottom or right border of the layout + * fill: expand the child to fill the size of the layout + * fixed: let the child position itself + + clutter/Makefile.am | 2 + + clutter/clutter-bin-layout.c | 397 +++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-bin-layout.h | 50 ++++++ + clutter/clutter.h | 1 + + 4 files changed, 450 insertions(+) + +commit 6d4cc13f7c7047a609dd8055ce63048da294af39 +Author: Emmanuele Bassi +Date: Wed Sep 2 12:37:16 2009 +0100 + + [layout] Add Fixed layout manager + + The FixedLayout layout manager object implements the same layout + policy of ClutterGroup. + + clutter/Makefile.am | 2 + + clutter/clutter-fixed-layout.c | 217 +++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-fixed-layout.h | 38 ++++++++ + clutter/clutter.h | 1 + + 4 files changed, 258 insertions(+) + +commit 141a1556908749236c90e69fc2388f4fc40c6d8f +Author: Emmanuele Bassi +Date: Wed Sep 2 11:55:22 2009 +0100 + + [layout] Make LayoutManager a floating object + + A layout manager instance makes only sense if it's owned by a + container. For this reason, it should have a floating reference + instead of a full reference on construction; this allows constructing + Boxes like: + + box = clutter_box_new (clutter_fixed_layout_new ()); + + without leaking the layout manager instance. + + clutter/clutter-box.c | 3 ++- + clutter/clutter-layout-manager.c | 4 +++- + clutter/clutter-layout-manager.h | 4 ++-- + 3 files changed, 7 insertions(+), 4 deletions(-) + +commit 0340f656346d80696305218897720e28c88f367a +Author: Emmanuele Bassi +Date: Tue Sep 1 17:42:50 2009 +0100 + + [box] Add ClutterBox + + ClutterBox is an actor with no layout management. It relies on + a ClutterLayoutManager to perform size requisition and allocation + of its children. + + clutter/Makefile.am | 2 + + clutter/clutter-box.c | 368 ++++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-box.h | 43 ++++++ + clutter/clutter.h | 1 + + 4 files changed, 414 insertions(+) + +commit d6183e95e51d1e3807ed5150768de2426b6b8e65 +Author: Emmanuele Bassi +Date: Tue Sep 1 16:34:28 2009 +0100 + + [layout] Add initial implementation of LayoutManager + + The LayoutManager class is an abstract proxy for the size requesition + and size allocation process in ClutterActor. + + A ClutterLayoutManager sub-class must implement get_preferred_width(), + get_preferred_height() and allocate(); a ClutterContainer using the + LayoutManager API will then proxy the corresponding Actor virtual + functions to the LayoutManager instance. This allows having a generic + "blank" ClutterActor sub-class, implementing the ClutterContainer + interface, which leaves only the layout management implementation to + the application developers. + + clutter/Makefile.am | 2 + + clutter/clutter-layout-manager.c | 180 +++++++++++++++++++++++++++++++++++++++ + clutter/clutter-layout-manager.h | 92 ++++++++++++++++++++ + clutter/clutter.h | 1 + + 4 files changed, 275 insertions(+) + +commit 4f2bfc003ad0f5b0b9d69693eed1bdbc9655f947 +Author: Emmanuele Bassi +Date: Tue Oct 13 19:27:03 2009 +0100 + + build: Clean up main Makefile.am + + clutter/Makefile.am | 55 ++++++++++++++++++++++++++++------------------------- + 1 file changed, 29 insertions(+), 26 deletions(-) + +commit 46b736f42e1165420796ed2afe4fc791d82381da +Author: Emmanuele Bassi +Date: Tue Oct 13 17:27:19 2009 +0100 + + build: Move marshallers and enum types rules out + + The rules to create signal marshallers and enumeration GTypes are + usually copied and pasted all over different projects, though they + are pretty generic and, given a little bit of parametrization, can + be put in separate Makefile.am files and included whenever needed. + + build/autotools/Makefile.am | 2 + + build/autotools/Makefile.am.enums | 43 +++++++++++++++++++++ + build/autotools/Makefile.am.marshal | 44 ++++++++++++++++++++++ + clutter/Makefile.am | 75 +++++++++---------------------------- + 4 files changed, 107 insertions(+), 57 deletions(-) + +commit 0e33c10048dd3cba33644fd51ae3e1ea18dcc357 +Author: Emmanuele Bassi +Date: Tue Oct 13 17:00:15 2009 +0100 + + docs: Allow XInclude fallback for the annotation glossary + + doc/reference/clutter/clutter-docs.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a99f693c85cee6e389892b271f8aa25532bd7a6f +Author: Emmanuele Bassi +Date: Sat Oct 10 13:52:46 2009 +0100 + + docs: Make StageManager a public class + + The StageManager API is useful to track the stages of an application. + It will also be useful when we land the modules API. + + doc/reference/clutter/Makefile.am | 1 - + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 23 +++++++++++++++++++++++ + doc/reference/clutter/clutter.types | 2 ++ + 4 files changed, 26 insertions(+), 1 deletion(-) + +commit c3d056533c8733160227b790388723a4c8a16123 +Author: Emmanuele Bassi +Date: Sat Oct 10 13:51:47 2009 +0100 + + stage/manager: Set :default-stage as read-only + + The StageManager:default-stage property should be read-only, since + the default stage is owned by Clutter itself. + + clutter/clutter-stage-manager.c | 23 ++--------------------- + 1 file changed, 2 insertions(+), 21 deletions(-) + +commit 74eaa2941327d3ee7762a93136b647979b6e094a +Author: Emmanuele Bassi +Date: Sat Oct 10 13:50:25 2009 +0100 + + stage/manager: Deprecate set_default_stage() + + The set_default_stage() method of StageManager should not be used + by application code; technically, nothing in Clutter uses it, and + StageManager's API is not considered public anyway. + + clutter/clutter-stage-manager.c | 52 ++++++++++++++++++++++++++++++++--------- + clutter/clutter-stage-manager.h | 23 ++++++++++++++---- + 2 files changed, 60 insertions(+), 15 deletions(-) + +commit a7ff5385a5071824e996eae6b92486ef07bd143e +Author: Damien Lespiau +Date: Fri Oct 9 17:18:34 2009 +0100 + + [actor] Unset the IN_DESTRUCTION flag when leaving ::destroy() + + The IN_DESTRUCTION flag is set around the unrealization and disposal of + the actor in clutter_actor_destroy() but is never unset (it's set twice + instead). + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3bbc96e17e5a03ba931c86a5cd2a0ecaa2a3b77b +Author: Emmanuele Bassi +Date: Wed Oct 7 21:44:17 2009 +0100 + + text: Make the :text property not set the :use-markup one + + Currently, setting the :text property has the side-effect of + setting the :use-markup property to FALSE. This prevents + constructing a Text actor, or setting its properties, like: + + g_object_set (text, + "use-markup", TRUE, + "text", some_string, + NULL); + + as the ordering becomes important. Unfortunately, the ordering + of the properties cannot be enforced with ClutterScript or + with language bindings. + + The documentation of the clutter_text_set_text() method should + be expanded to properly specify that the set_text() method will + change the :use-markup property to FALSE as a side effect. + + clutter/clutter-text.c | 283 +++++++++++++++++++++++++------------------------ + 1 file changed, 144 insertions(+), 139 deletions(-) + +commit 1f207c00d96e08141f6b998269732d9e65d4cf14 +Author: Emmanuele Bassi +Date: Wed Oct 7 17:35:11 2009 +0100 + + docs: Add the "clipping" section to the COGL API reference + + All the clip-related API in COGL is missing from the API reference + because the cogl-clipping section is not included inside the main + index file. + + doc/reference/cogl/cogl-docs.xml.in | 1 + + doc/reference/cogl/cogl-sections.txt | 3 ++- + 2 files changed, 3 insertions(+), 1 deletion(-) + +commit 80b3a8d3283fcc8af89bc83b2266ccd894cc50a6 +Author: Damien Lespiau +Date: Wed Oct 7 17:09:41 2009 +0100 + + [units] Ensure we don't have ponies + + The documentation states we should not parse ponies. Even with those + with exclamation marks. + + Reviewed-by: Emmanuele Bassi + + tests/conform/test-clutter-units.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 19c68799608910635b70c9befb92c1a6a21c15f3 +Author: Damien Lespiau +Date: Tue Oct 6 00:49:40 2009 +0100 + + [path] Add GValue transform functions from and to G_TYPE_STRING + + Transform functions allow the use of g_value_transform() to cast + GValues. It's very handy to have casts to and from G_TYPE_STRING as it + allows generic serialization and parsing of GTypes. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-path.c | 36 +++++++++++++++++++++++++++++++++++- + 1 file changed, 35 insertions(+), 1 deletion(-) + +commit 8605073edb7a1e830696632a6de5ad694f1af98d +Author: Damien Lespiau +Date: Tue Oct 6 17:47:34 2009 +0100 + + [units] Add support for centimeters + + The only tricky part of the patch is to remember that 1cm is 10mm. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-units.c | 48 ++++++++++++++++++++++++++++-- + clutter/clutter-units.h | 7 ++++- + doc/reference/clutter/clutter-sections.txt | 1 + + tests/conform/test-clutter-units.c | 17 +++++++++-- + 4 files changed, 67 insertions(+), 6 deletions(-) + +commit 96859959bd24d99f51d5dea3b5ec7bc4bf7071f3 +Author: Damien Lespiau +Date: Tue Oct 6 12:02:15 2009 +0100 + + [units] Be more strict in the grammar we are parsing + + Current parsing of units has a number of shortcomings: + * a number followed by trailing space (without any unit specified) was + not recognized, + * "5 emeralds" was parsed as 5em, + * the way we parse the digits after the separator makes us lose + precision for no good reason (5.0 is parsed as 5.00010014...f which + makes g_assert_cmpfloat() fail) + + Let's define a stricter grammar we can recognize and try to do so. The + description is in EBNF form, removing the optional <> which is a pain + when having to write DocBook, and using '' for the terminal symbols. + + Last step, add more ClutterUnits unit test to get a better coverage of + the grammar we want to parse. + + Reviewed-by: Emmanuele Bassi + + clutter/clutter-units.c | 76 ++++++++++++++++++++++++-------------- + tests/conform/test-clutter-units.c | 22 +++++++++++ + 2 files changed, 70 insertions(+), 28 deletions(-) + +commit 4d481e03f3534cb703a276cd430056d3ec27fcb0 +Author: Emmanuele Bassi +Date: Wed Oct 7 13:00:57 2009 +0100 + + color: Measure the string just once when parsing + + Instead of measuring the color hexadecimal string for each case, just + measure it once and then use a switch() to go to the right case. + + clutter/clutter-color.c | 40 ++++++++++++++++++++++------------------ + 1 file changed, 22 insertions(+), 18 deletions(-) + +commit c7d50083ec1d1209dd8653bc30ba4f3bec09e976 +Author: Thomas Wood +Date: Wed Oct 7 12:27:38 2009 +0100 + + [color] allow alpha to be omitted when converting to color from string + + Parse #rgb and #rrggbb in addition to forms with the alpha channel + specified. This allows conversion of colour strings from documents such as + CSS where the alpha channel is not specified when using '#' notation. + + This patch also adds the relevant conformance test. + + clutter/clutter-color.c | 22 ++++++++++++++++++++++ + tests/conform/test-color.c | 28 ++++++++++++++++++++++++++++ + 2 files changed, 50 insertions(+) + +commit 13ac1fe75bec418f4e37e04540e6d16af55413f5 +Author: Neil Roberts +Date: Wed Oct 7 11:31:44 2009 +0100 + + [clutter-id-pool] Also warn if the ID refers to a deleted actor + + We should also warn if the glReadPixels happens to generate an ID that + is within the range of the ID array but no longer points to an + existing actor. + + clutter/clutter-id-pool.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit a4ff4d37a40b60ce7f7029c6fe12181c0e1e89e5 +Author: Neil Roberts +Date: Wed Oct 7 12:46:43 2009 +0100 + + [clutter-id-pool] Fix the check for out-of-range IDs + + If id == the length of the array then it is also invalid and could + cause a crash. + + clutter/clutter-id-pool.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 142f8865181e92fb405ae0d2b2bc65468a9d2262 +Author: Thomas Wood +Date: Wed Oct 7 12:15:26 2009 +0100 + + Revert "[color] allow alpha to omitted when converting from strings" + + This reverts commit eb8daac4b0726c1d9925bbbaeed7a8f39007da21. + + The original commit was incorrect and pushed accidentally. + + clutter/clutter-color.c | 22 ---------------------- + 1 file changed, 22 deletions(-) + +commit bdf7499207d3fdba440228832445b71b9f64d300 +Author: Thomas Wood +Date: Wed Oct 7 11:40:41 2009 +0100 + + [color] add a note to the documentation to specify the values of the alpha + + The alpha channel is fully opaque at 255 and fully transparent at 0. + + clutter/clutter-color.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit eb8daac4b0726c1d9925bbbaeed7a8f39007da21 +Author: Thomas Wood +Date: Wed Oct 7 11:38:08 2009 +0100 + + [color] allow alpha to omitted when converting from strings + + Parse #rgb and #rrggbb in addition to forms with the alpha channel + specified. This allows conversion of colour strings from documents such as + CSS where the alpha channel is not specified when using '#' notation. + + clutter/clutter-color.c | 22 ++++++++++++++++++++++ + 1 file changed, 22 insertions(+) + +commit 9e03d9231696160ef7d4d98cf6c1d2f2214c7172 +Author: Damien Lespiau +Date: Tue Oct 6 01:04:50 2009 +0100 + + [path] MOVE_TO and LINE_TO only use a pair of coordinates + + The documentation of ClutterPathNode had a small typo and stated that + they use 2 pairs of coordinates. + + clutter/clutter-path.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit dd8e4dcd62979bf8b7c8ad0e8898888a065ba445 +Author: Robert Bragg +Date: Mon Oct 5 16:46:24 2009 +0100 + + [debug] Guard the use of gdk_pixbuf for pick debugging by #ifdef USE_GDKPIXBUF + + gdk is an optional clutter dependency, so the pick buffer debugging option + needs some guards so we don't break, for example, the OSX builds. This also + adds a comment for the bit fiddling done on the pick colors used to ensure + the pick colors are more distinguished while debugging. (we swap the + nibbles of each color component so that pick buffers don't just look black.) + + clutter/clutter-main.c | 25 +++++++++++++++++++++++++ + 1 file changed, 25 insertions(+) + +commit f7c02642453420cf5866f9759d5f266d8ada40a5 +Author: Emmanuele Bassi +Date: Mon Oct 5 15:51:28 2009 +0100 + + [sdl] Update the SDL backend to the new StageWindow API + + The SDL backend remains experimental and not meant for public + consumption, but at least it compiles and runs successfully. + + clutter/sdl/clutter-backend-sdl.c | 8 +-- + clutter/sdl/clutter-stage-sdl.c | 130 ++++++++++++++++---------------------- + 2 files changed, 57 insertions(+), 81 deletions(-) + +commit 3fee43560d8108f9508cbb24ee98228e50b79e5d +Author: Emmanuele Bassi +Date: Mon Oct 5 15:53:06 2009 +0100 + + [eglx] Create a StageWindow, not an Actor + + The Backend should create a StageWindow instance, not an Actor. + + clutter/eglx/clutter-backend-egl.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 40222e891bec62e4e7187a3e66bdf7866a60bd38 +Author: Neil Roberts +Date: Tue Sep 29 12:11:55 2009 +0100 + + [ClutterGroup] Don't take into account the left edges when calculating the size + + ClutterGroup previously calculated the size as the distance from the + left edge of the leftmost child to the right edge of the rightmost + child except if there were any chidren left of the origin then the + left edge would be zero. + + However the group is always allocated its size relative to its + origin so if all of the children are to the right of the origin then + the preferred size would not be large enough to reach the rightmost + child. + + origin + ┼──────────┐ + │Group │ + │ ┌────────┼─┐ + │ │Child │ │ + │ │ │ │ + └─┼────────┘ │ + │ │ + └──────────┘ + group size + ╟──────────╢ + + This patch makes it so the size is always just the rightmost edge. + + origin + ┼────────────┐ + │Group │ + │ ┌──────────┤ + │ │Child │ + │ │ │ + │ │ │ + │ │ │ + └─┴──────────┘ + group size + ╟────────────╢ + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1825 + + clutter/clutter-group.c | 122 +++++++++++------------------------------------- + 1 file changed, 26 insertions(+), 96 deletions(-) + +commit 14e12ae4fd9320eeb970ff8aa7dfcd43dcfd5975 +Author: Emmanuele Bassi +Date: Mon Oct 5 14:58:08 2009 +0100 + + [eglx] Update the EGLX Stage to the new StageWindow API + + Move the ::realize and ::unrealize implementations over to the + StageWindow instead of using Actor. + + clutter/eglx/clutter-stage-egl.c | 120 +++++++++++++++++++-------------------- + 1 file changed, 60 insertions(+), 60 deletions(-) + +commit a799f6ccec0ea755c7677c5fe20c1bd52b321c05 +Author: Damien Lespiau +Date: Sat Oct 3 14:08:33 2009 +0100 + + Fix string parsing when no unit is given + + The check should really be on the character pointed by str. Added the + corresponding test case. + + clutter/clutter-units.c | 2 +- + tests/conform/test-clutter-units.c | 4 ++++ + 2 files changed, 5 insertions(+), 1 deletion(-) + +commit 4d7b8c9d4290c91ea69d992bad396d067e84b15b +Author: Damien Lespiau +Date: Sat Oct 3 12:15:13 2009 +0100 + + clutter_value_get_unit() has not be renamed + + Since the Great Rework of ClutterUnits, functions have been using + 'units' not 'unit' in their name. clutter_value_get_unit() is a left + over from a dark age, its declaration and documentation have been + updated but not the symbol itself. + + clutter/clutter-units.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 72243081b5b0bf0518951f9f5f3ae91a7d4c640f +Merge: ad83caaed 111512a2a +Author: Emmanuele Bassi +Date: Mon Oct 5 12:37:08 2009 +0100 + + Merge branch 'stage-window-object' + + * stage-window-object: + [x11] Fix Stage user-initiated resize + [x11] Remove a useless forced paint + [stage] Rework the Stage implementation class + +commit ad83caaed16a36aea0fafd4ed87cc283c30c413b +Author: Emmanuele Bassi +Date: Mon Oct 5 12:34:48 2009 +0100 + + Clarify the IdPool warning + + Instead of having an assertion failure with a message of dubious + usefulness, we should probably use a more verbose warning explaining + what is the problem and what might be the cause. + + clutter/clutter-id-pool.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 111512a2a05243a7fc6f999f18805eae9bd6bfce +Author: Emmanuele Bassi +Date: Mon Oct 5 12:24:19 2009 +0100 + + [x11] Fix Stage user-initiated resize + + The user-initiated resize is conflicting with the allocated size. This + happens because we change the size of the stage's X Window behind the + back of the size allocation machinery. + + Instead, we should change the size of the actor whenever we receive a + ConfigureNotify event to reflect the new size of the actor. + + clutter/x11/clutter-event-x11.c | 7 +++---- + clutter/x11/clutter-stage-x11.c | 6 +++++- + tests/interactive/test-actors.c | 1 + + 3 files changed, 9 insertions(+), 5 deletions(-) + +commit e3c2ed0009e2ce85e65d5a1724a807faae865494 +Author: Emmanuele Bassi +Date: Mon Oct 5 12:21:02 2009 +0100 + + [x11] Remove a useless forced paint + + We force the redraw before mapping, in the hope that when a composited + window manager maps the window it will have its contents ready; that is + not going to work: the solution for this problem requires the implementation + of a protocol for compositors, and not a hack. + + Moreover, painting before mapping will cause a paint with the wrong + GL viewport size, which is the wrong thing to do on GLX. + + clutter/x11/clutter-stage-x11.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit 6ddffac93561b5d3aa6226ee54bd8a5e1fcedeb5 +Author: Emmanuele Bassi +Date: Sun Sep 27 11:38:01 2009 +0100 + + [docs] Update the "Subclassing Actor" chapter + + The chapter on how to subclass ClutterActor inside the API reference for + Clutter is still using ClutterUnit and referencing to concepts that have + been changed since the document was written. + + doc/reference/clutter/subclassing-ClutterActor.xml | 169 +++++++++++++-------- + 1 file changed, 107 insertions(+), 62 deletions(-) + +commit ab76d64df02bc03f935e9cdf5a0a29c6ffeace72 +Author: Robert Bragg +Date: Tue Jul 28 00:40:29 2009 +0100 + + [cogl-debug] avoid warnings when using COGL_NOTE with unbraced else clauses + + When not building a debug build the compiler was warning about empty + else clauses with no braces due to code like: + if (blah) + do_foo(); + else + COGL_NOTE (DRAW, "a-wibble"); + + This simply ensures that even for non debug builds COGL_NOTE will expand to + a single statement. + + clutter/cogl/cogl-debug.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 904c495c6d3c59b34148c9a4834e4803b488997b +Author: Robert Bragg +Date: Thu Sep 24 17:34:26 2009 +0100 + + [cogl-vertex-buffer] fix n_components validation for GL's builtin attributes + + glVertexPointer expects positions with 2, 3 or 4 components, glColorPointer + expects colors with 3 or 4 components and glNormalPointer expects normals + with three components so when adding vertex buffer atributes with the names + "gl_Vertex", "gl_Color" or "gl_Normal" we assert these constraints and print + an explanation to the developer if not met. + + This also fixes the previosly incorrect constraint that gl_Normal attributes + must have n_components == 1; thanks to Cat Sidhe for reporting this: + + Bug: http://bugzilla.openedhand.com/show_bug.cgi?id=1819 + + clutter/cogl/common/cogl-vertex-buffer.c | 19 +++++++++++++++---- + 1 file changed, 15 insertions(+), 4 deletions(-) + +commit dae569b468c286ea23aa0e74e910232e025932db +Author: Robert Bragg +Date: Thu Sep 24 12:49:17 2009 +0100 + + [debug] Adds a dump-pick-buffers CLUTTER_DEBUG option + + Now if you export CLUTTER_DEBUG=dump-pick-buffers clutter will write out a + png, e.g. pick-buffer-00000.png, each time _clutter_to_pick() is called. + It's a rather crude way to debug the picking (realtime visualization in a + second stage would probably be nicer) but it we've used this approach + successfully numerous times when debugging Clutter picking issues so it + makes sense to have a debug option for it. + + clutter/clutter-debug.h | 35 +++++++++--------- + clutter/clutter-main.c | 94 +++++++++++++++++++++++++++++++++++++++++++++---- + 2 files changed, 106 insertions(+), 23 deletions(-) + +commit 27ae9722dedb5bc25415c32326ffc7ba4ef1557d +Author: Neil Roberts +Date: Tue Sep 22 17:55:04 2009 +0100 + + [container] Remove the unused 'object' variable in destroy_child_meta + + Since commit b2f958a61 this variable is no longer used so it was + causing compiler warnings. + + clutter/clutter-container.c | 1 - + 1 file changed, 1 deletion(-) + +commit 4293920a11d5216095577cdfc46b9e21bb427a12 +Author: Robert Bragg +Date: Tue Sep 22 11:27:47 2009 +0100 + + [tests] Remove test-entry.c since we don't have a ClutterEntry any more + + Removes an unused interactive unit test for the old ClutterEntry actor we + used to have. + + .gitignore | 1 - + tests/interactive/test-entry.c | 47 ------------------------------------------ + 2 files changed, 48 deletions(-) + +commit b710ed0eeace5561ccec1b1558ad26abb4af0da3 +Author: Robert Bragg +Date: Thu Aug 20 11:53:37 2009 +0100 + + [backend-egl] fix clutter_backend_egl_get_visual_info to not use Xalloc + + It looks like the intention was to duplicate an XVisualInfo in such a way + that the pointer could be returned and then later freed using XFree. But + Xalloc isn't an Xlib counterpart to XFree; Xlib doesn't provide a general + purpose malloc wrapper afik. By shuffling things about a bit, it was + possible to avoid the need for this hack. + + clutter/eglx/clutter-backend-egl.c | 46 +++++++++++++------------------------- + 1 file changed, 15 insertions(+), 31 deletions(-) + +commit 6e50e26c86af20597b118f5a71d04f70b173f733 +Author: Damien Lespiau +Date: Mon Sep 21 15:21:21 2009 +0100 + + Add a few annotations on Cogl primitives functions + + By default, float * is considered as an out argument by gobject + introspection which is wrong for quite a few Cogl symbols. Start adding + annotations to fix that for the ones in the "Primitives" gtk-doc + section. + + clutter/cogl/cogl-path.h | 8 ++++---- + clutter/cogl/cogl-texture.h | 15 ++++++++------- + 2 files changed, 12 insertions(+), 11 deletions(-) + +commit 1b37cb6cb79dc36279d40ef108576aafeb905412 +Author: Robert Bragg +Date: Mon Sep 21 18:12:02 2009 +0100 + + [container] cast actor to gobject before calling g_object_set_qdata + + A minor compiler warning fix: in destroy_child_meta we weren't casting the + first argument to g_object_set_qdata to a gobject. + + clutter/clutter-container.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b2f958a61807ca36ccc1e7b3edf112b317885528 +Author: Øyvind Kolås +Date: Mon Sep 21 15:55:58 2009 +0100 + + [container] unset the child meta qdata on the child, not the container + + In the default implementation of container::destroy_child_meta Set child + meta qdata to NULL on the child and not the container, since the child + is the object that owns the data. + + clutter/clutter-container.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d4e46bb893d41f7e9d80d3d272765e7b2779d32b +Author: Thomas Wood +Date: Mon Sep 21 15:40:53 2009 +0100 + + [container] set the child meta qdata on the child, not the container + + Set child meta qdata on the child and not the container, since the child is + the object that owns the data. + + clutter/clutter-container.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1c3d5a0e870d6a8f221577783f4c9d79dbc062c5 +Author: Neil Roberts +Date: Thu Sep 17 18:29:03 2009 +0100 + + [cogl] Remove CoglContext->journal_vbo{,_len} + + The lifetime of the journal VBO is entirely within the scope of the + cogl_journal_flush function so there is no need to store it globally + in the Cogl context. Instead, upload_vertices_to_vbo just returns the + new VBO. cogl_journal_flush stores this in a local variable and + destroys it before returning. + + This also fixes an assertion when using the GLES backend which was + caused by nothing initialising the journal_vbo variable. + + clutter/cogl/common/cogl-primitives.c | 20 ++++++++++---------- + clutter/cogl/gl/cogl-context.c | 2 -- + clutter/cogl/gl/cogl-context.h | 2 -- + clutter/cogl/gles/cogl-context.h | 1 - + 4 files changed, 10 insertions(+), 15 deletions(-) + +commit ecfa0c4f92e3a78bdc4257c62a61b47aa41e0d05 +Author: Emmanuele Bassi +Date: Wed Sep 16 17:43:58 2009 +0100 + + [build] Split out the custom silent rules + + The silent rules we use for custom targets should be moved into a + separate Makefile.am that gets included from all the others. + + Makefile.am | 2 ++ + build/autotools/Makefile.am | 1 + + build/autotools/Makefile.am.silent | 17 +++++++++++++++++ + clutter/Makefile.am | 12 +++++------- + clutter/cogl/Makefile.am | 8 ++------ + clutter/cogl/common/Makefile.am | 8 ++------ + clutter/cogl/gl/Makefile.am | 2 ++ + clutter/cogl/gles/Makefile.am | 2 ++ + clutter/glx/Makefile.am | 2 ++ + clutter/pango/Makefile.am | 2 ++ + clutter/x11/Makefile.am | 2 ++ + tests/conform/Makefile.am | 8 +++++--- + tests/data/Makefile.am | 1 - + tests/interactive/Makefile.am | 11 ++++++----- + tests/micro-bench/Makefile.am | 2 ++ + tests/tools/Makefile.am | 9 ++++++--- + 16 files changed, 58 insertions(+), 31 deletions(-) + +commit 94e60c393b6be8b69140da01835a377409f6a77b +Author: Robert Bragg +Date: Wed Sep 16 17:12:30 2009 +0100 + + [test-cogl-multitexture] Print an error if textures can't be loaded + + I just wasted a silly amount time trying to bisect an apparently broken + cogl-test-multitexture until I realized it was just silently failing to load + any textures. + + tests/interactive/test-cogl-multitexture.c | 15 ++++++++++++--- + 1 file changed, 12 insertions(+), 3 deletions(-) + +commit 3b4f46a18a1c631410b324d5f926c64f0e22ae93 +Author: Emmanuele Bassi +Date: Wed Sep 16 12:47:46 2009 +0100 + + [docs] Fix the comment on version bumps + + configure.ac | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 35c0da2b3a2558964ba74b9a213262f377aa2650 +Author: Emmanuele Bassi +Date: Wed Sep 16 11:57:45 2009 +0100 + + [gitignore] Add test-preferred-size + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 9dc012c07d1f6760d8d4cca07f5279e7b316dbd0 +Author: Emmanuele Bassi +Date: Wed Sep 16 11:55:04 2009 +0100 + + [timeline] Account for clock roll backs between frames + + If the system clock rolls back between two frames then we need + to account for the change, to avoid stopping the timeline. + + The best option, since a roll back can be any arbitrary amount + of milliseconds, is to skip a frame. + + Fixes bug: + + http://bugzilla.moblin.org/show_bug.cgi?id=3839 + + clutter/clutter-timeline.c | 33 +++++++++++++++++++++++---------- + 1 file changed, 23 insertions(+), 10 deletions(-) + +commit 0d08f6e0707c1b3274227abc8054529422206e22 +Author: Robert Bragg +Date: Tue Sep 15 16:27:45 2009 +0100 + + [cogl-fbo] Disable mipmap filters before calling glCheckFramebufferStatusEXT + + The framebuffer_object spec isn't clear in defining whether attaching a + texture as a renderbuffer with mipmap filtering enabled while the mipmaps + have not been uploaded should result in an incomplete framebuffer object. + (different drivers make different decisions) + + To avoid an error with drivers that do consider this a problem we explicitly + set non mipmapped filters before calling glCheckFramebufferStatusEXT. The + filters will later be reset when the texture is actually used for rendering + according to the filters set on the corresponding CoglMaterial. + + clutter/cogl/gl/cogl-fbo.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit 561f5868e876ec17e9a6fa66282b8dcdf3ead6b6 +Author: Emmanuele Bassi +Date: Tue Sep 15 11:09:49 2009 +0100 + + [tests] Add preferred size conformance test unit + + This unit verifies that an Actor class will invoke the get_preferred_* + virtual functions unless the caching is in effect; it also verifies + that the cached values are correctly evicted. + + tests/conform/test-actor-size.c | 136 +++++++++++++++++++++++++++++++++++++- + tests/conform/test-conform-main.c | 1 + + 2 files changed, 136 insertions(+), 1 deletion(-) + +commit 092401c01b249cd3ae9e4788ecbcce91ebb80f38 +Author: Emmanuele Bassi +Date: Mon Sep 14 21:45:51 2009 +0100 + + [tests] Add initial sizing conformance test suite + + The size requisition and allocation mechanisms should be thoroughly + tested to avoid unwanted regressions. + + For starters, we can test the explicit size setting and the side + effects of calling clutter_actor_set_size(). + + .gitignore | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-actor-size.c | 77 +++++++++++++++++++++++++++++++++++++++ + tests/conform/test-conform-main.c | 2 + + 4 files changed, 81 insertions(+) + +commit abbe2ebf8baa61edeaa2071fa850d000d565a6ce +Author: Emmanuele Bassi +Date: Mon Sep 14 15:57:31 2009 +0100 + + [container] Use a 1:1 mapping between child and ChildMeta + + Since an actor can only be parented to one container we don't need + the extra complications of maintaining a list of ChildMeta objects + attached to an actor in the default implementation of the Container + interface. + + clutter/clutter-container.c | 50 ++++++++------------------------------------- + 1 file changed, 9 insertions(+), 41 deletions(-) + +commit 6e3afa4ebed9ea4f9347e8dfd6f3cc20d1042dcd +Author: Damien Lespiau +Date: Thu Sep 10 13:27:02 2009 +0100 + + [docs] Clutter's model implementation is called ClutterListModel + + It was renamed from ClutterModelDefault to ClutterListModel a while + back. Update the reference to this class in ClutterModel documentation. + + clutter/clutter-model.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c5195dda1533e2f42514a880bb5b7d105d4fe541 +Author: Emmanuele Bassi +Date: Wed Sep 9 16:15:54 2009 +0100 + + [docs] Add fixxref for Cairo symbols + + Let gtk-doc resolve the Cairo types and symbols to the installed + Cairo documentation. + + configure.ac | 2 ++ + doc/reference/clutter/Makefile.am | 6 +++--- + 2 files changed, 5 insertions(+), 3 deletions(-) + +commit f4e272ee9b6224cddc7eca54172025c5232e37bf +Author: Emmanuele Bassi +Date: Wed Sep 9 16:01:07 2009 +0100 + + [docs] Add a Path migration guide + + ClutterBehaviourPath has been changed and ClutterBehaviourBspline has + been removed; now we use ClutterPath everywhere we need to describe a + path. This warrants a chapter in the migration guide. + + doc/reference/clutter/Makefile.am | 6 +- + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/migrating-ClutterPath.xml | 167 ++++++++++++++++++++++++ + 3 files changed, 172 insertions(+), 2 deletions(-) + +commit 3cc56b2b138ff6451ba73e088d1023705455aef7 +Author: Øyvind Kolås +Date: Tue Sep 8 13:06:51 2009 +0100 + + [text] implement get_property for "use-markup" + + clutter/clutter-text.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 6988744db750dc3430a6c8cdd6274bc7e855aaf5 +Author: Emmanuele Bassi +Date: Thu Aug 13 12:34:07 2009 +0100 + + [stage] Rework the Stage implementation class + + Instead of using ClutterActor for the base class of the Stage + implementation we should extend the StageWindow interface with + the required bits (geometry, realization) and use a simple object + class. + + This require a wee bit of changes across Backend, Stage and + StageWindow, even though it's mostly re-shuffling. + + First of all, StageWindow should get new virtual functions: + + * geometry: + - resize() + - get_geometry() + + * realization + - realize() + - unrealize() + + This covers all the bits that we use from ClutterActor currently + inside the stage implementations. + + The ClutterBackend::create_stage() virtual function should create + a StageWindow, and not an Actor (it should always have been; the + fact that it returned an Actor was a leak of the black magic going + on underneath). Since we never guaranteed ABI compatibility for + the Backend class, this is not a problem. + + Internally to ClutterStage we can finally drop the shenanigans of + setting/unsetting actor flags on the implementation: if the realization + succeeds, for instance, we set the REALIZED flag on the Stage and + we're done. + + As an initial proof of concept, the X11 and GLX stage implementations + have been ported to the New World Order(tm) and show no regressions. + + clutter/Makefile.am | 2 +- + clutter/clutter-backend.c | 14 ++-- + clutter/clutter-backend.h | 5 +- + clutter/clutter-private.h | 2 +- + clutter/clutter-stage-window.c | 79 ++++++++++++++++++- + clutter/clutter-stage-window.h | 33 ++++++++ + clutter/clutter-stage.c | 105 ++++++++++++------------- + clutter/clutter.h | 1 + + clutter/glx/clutter-backend-glx.c | 14 ++-- + clutter/glx/clutter-stage-glx.c | 50 ++++++------ + clutter/x11/clutter-stage-x11.c | 161 ++++++++++++-------------------------- + 11 files changed, 253 insertions(+), 213 deletions(-) + +commit 742cc4d95b602440c004d5af09a7fab662f03596 +Author: Emmanuele Bassi +Date: Mon Sep 7 11:44:44 2009 +0100 + + [docs] Small annotation fixes + + clutter/clutter-behaviour.c | 5 +++-- + clutter/cogl/cogl-material.h | 29 ++++++++++++++++++----------- + clutter/cogl/cogl-texture.h | 7 ++++--- + 3 files changed, 25 insertions(+), 16 deletions(-) + +commit c69209a253c7ccbfe5d2c91e6972fa3dc1deb50c +Author: Neil Roberts +Date: Mon Sep 7 11:36:05 2009 +0100 + + [animation] Move the check for the 'signal::' prefix into a separate function + + The old code checked whether the property began with 'signal-' and + then checked for 'signal-swapped' and 'signal-after'. This prevented + you from animating a property called for example 'signal-strength'. + + The check for the prefix is now in a separate function which also adds + a 'signal-swapped-after' prefix for completeness. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1798 + + clutter/clutter-animation.c | 75 +++++++++++++++++++++++++-------------------- + 1 file changed, 41 insertions(+), 34 deletions(-) + +commit 7783635af3c78cf65fcb62ccb03478f1a9556b05 +Author: Emmanuele Bassi +Date: Thu Sep 3 16:51:14 2009 +0100 + + [docs] Add more collateral documentation + + * Add the main Glossary for Clutter terms + + * Add the annotation glossary, as generated by gtk-doc + + * Add the objects index and tree + + doc/reference/clutter/Makefile.am | 2 + + doc/reference/clutter/clutter-docs.xml.in | 45 ++++++++-- + doc/reference/clutter/glossary.xml | 142 ++++++++++++++++++++++++++++++ + 3 files changed, 184 insertions(+), 5 deletions(-) + +commit 763f5a9d014656c09c4684bc69a0e45862882f43 +Author: Samuel Degrande +Date: Wed Sep 2 16:27:22 2009 +0100 + + DOT3_RGB[A] cannot be used in a Blend String + + The blend string compiler checks that the syntax of a function name is + [A-Za-z_]*, preventing the use of DOT3_RGB[A]. + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/common/cogl-blend-string.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit a5e081dc9c8f39ce66270b77f5beaa6ac53e7a91 +Author: Emmanuele Bassi +Date: Wed Sep 2 15:26:33 2009 +0100 + + [model] Do not attempt to free empty column names + + The column names are optional - ClutterModel will use the GType name + if there is no user-specified column name. Hence, the ::finalize vfunc + should not try to free an empty column names vector. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1790 + + clutter/clutter-model.c | 15 +++++++++------ + 1 file changed, 9 insertions(+), 6 deletions(-) + +commit 3686107460847d6b9333ff2149b850401590bae8 +Author: Emmanuele Bassi +Date: Mon Aug 31 15:49:39 2009 +0100 + + [docs] Make sure to document the point-release process + + Put the documentation right inside configure.ac, lest I forget. + + configure.ac | 25 ++++++++++++++++++------- + 1 file changed, 18 insertions(+), 7 deletions(-) + +commit db6b0a91e0c2aebb245ad5d382769889abbf88dd +Author: Neil Roberts +Date: Wed Aug 26 18:28:35 2009 +0100 + + Take a reference to the material in clutter_texture_set_cogl_material + + The material is unref'd in clutter_texture_finalize and the + documentation explicitly states that the function will take a ref so + it really should. + + clutter/clutter-texture.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit bad7782ab4bc0b5a96d8a97b9b32d5726343b1c2 +Author: Neil Roberts +Date: Wed Aug 26 18:24:48 2009 +0100 + + Fix the documentation for clutter_texture_set_cogl_material + + The documentation was a copy of the docs for set_cogl_texture so it + was somewhat broken. + + clutter/clutter-texture.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit b766a1cc100778c7f74acd9dcc280400eae4c55b +Author: Emmanuele Bassi +Date: Wed Aug 26 16:50:37 2009 +0100 + + [tests] Update the script test JSON + + The test-script.json UI definition still used old types, like + ClutterLabel and ClutterCloneTexture. It should move to the classes + that have replaced them. + + tests/data/test-script.json | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit bb17dc1ce5d91f68da53944b5d7565be00b179eb +Author: Emmanuele Bassi +Date: Wed Aug 26 16:49:45 2009 +0100 + + [script] Clean up the ad hoc parsing code in Actor + + The old parsing code still assumed we had integers for pixels + and floating point values for percentages; this is not the case + anymore. + + clutter/clutter-actor.c | 38 ++------------------------------------ + 1 file changed, 2 insertions(+), 36 deletions(-) + +commit 2ffebad3d9b29931c29b8cb927580f9166ab39df +Author: Emmanuele Bassi +Date: Wed Aug 26 16:48:32 2009 +0100 + + [script] Convert double to float when parsing + + The default floating point type for JSON is double precision; this means + that we need to conver to single precision when setting a property with + type G_TYPE_FLOAT. + + clutter/clutter-script.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +commit 87831b3427be959bea6a649e2718a5bda5927463 +Author: Emmanuele Bassi +Date: Tue Aug 25 17:55:51 2009 +0100 + + [tests] Add a Group actor unit + + We need to test that the depth sorting of ClutterGroup works correctly + in case we wish to change the data structure that stores the children, + and do so without changing the default behaviour. + + .gitignore | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 2 ++ + tests/conform/test-group.c | 57 +++++++++++++++++++++++++++++++++++++++ + 4 files changed, 61 insertions(+) + +commit f1d58812078e04c7db17c80b51d48bb716b868d1 +Author: Øyvind Kolås +Date: Tue Aug 25 17:32:42 2009 +0100 + + [group] Use floating point in sort_z_order + + clutter/clutter-group.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit d8d344f52930872a8eabdcc801872246b7ae61d1 +Author: Emmanuele Bassi +Date: Tue Aug 25 12:39:40 2009 +0100 + + [docs] Add Interval get_type function + + The get_type() function for ClutterInterval is missing from the + known GObject types, so gtk-doc doesn't know that it has to + introspect it for hierarchy, properties and signals. + + doc/reference/clutter/clutter.types | 1 + + 1 file changed, 1 insertion(+) + +commit 95a6e1c925c7dd24ba97a4625d1da09ff861e5c3 +Author: Emmanuele Bassi +Date: Tue Aug 25 12:18:32 2009 +0100 + + Fix the warnings for Animation::update_interval() + + The bindings for update_interval() were copied from bind(). + + clutter/clutter-animation.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit 899f051cd92fb0b5d41948897c7130b86a98dae9 +Author: Emmanuele Bassi +Date: Tue Aug 25 12:16:41 2009 +0100 + + [animation] Add Animation::update() + + Currently, to update a property inside an animation you have to + get the interval for that property and then call the set_final_value() + method. + + We can provide a simpler, bind()-like method for the convenience of + the developers that just validates everything and then calls the + Interval.set_final_value(). + + clutter/clutter-animation.c | 53 ++++++++++++++++++++++++++++++ + clutter/clutter-animation.h | 3 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 57 insertions(+) + +commit 4ca375e8fe395e375826ea795566b8af8029e09f +Author: Neil Roberts +Date: Mon Aug 24 12:50:57 2009 +0100 + + [cogl-texture] Set GL_PACK_ROW_LENGTH when downloading texture data + + Otherwise the rowstride passed in from an application is not used + correctly so you can not download to an area with a much larger + rowstride. + + clutter/cogl/gl/cogl-texture.c | 14 +++++++++++--- + 1 file changed, 11 insertions(+), 3 deletions(-) + +commit 172074fd29cd42bf2790f78aa736f854218906f0 +Author: Emmanuele Bassi +Date: Fri Aug 21 12:05:52 2009 +0100 + + [glx] Perform more checks before calling glXMakeCurrent + + Right now we just check for a NULL stage before calling glXMakeCurrent(). + + We can, though, get a valid stage without an implementation attached to + it while we are disposing a stage after a CLUTTER_DELETE event, since the + events processing is performed on a vblank-locked basis. + + clutter/glx/clutter-backend-glx.c | 17 +++++++++++------ + 1 file changed, 11 insertions(+), 6 deletions(-) + +commit 93e1d8e7a35afd0f1c08022bdf0f04154ad08ef1 +Author: Owen W. Taylor +Date: Fri Aug 7 21:16:04 2009 -0400 + + Add ::queue-relayout signal to ClutterActor for ClutterClone + + ClutterClone bases its preferred size on the preferred size of + the source actor, so it needs to invalid its cached preferred + size when the preferred size of the source actor changes. + + In order for this to work, we need to have notification when + the size of the source actor changes, so add a ::queue-relayout + signal to ClutterActor. + + Then connect to this from ClutterClone and queue a relayout + on the clone when a relayout is queued on the source. + + http://bugzilla.openedhand.com/show_bug.cgi?id=1755 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 56 ++++++++++++++++++++++++++++++++++++++++--------- + clutter/clutter-actor.h | 5 ++++- + clutter/clutter-clone.c | 12 +++++++++++ + 3 files changed, 62 insertions(+), 11 deletions(-) + +commit 56daae9d7bc49a29a4e1c4e093928efb747ed675 +Author: Robert Bragg +Date: Thu Aug 20 12:53:32 2009 +0100 + + Revert "[cogl] Allow Cogl to create NPOT textures for GLES2" + + This reverts commit 3c47a3beb51462ef8af1070b75123660059e97d0. + + Of course I remembered just after pushing the patch why we hadn't done + this before :-) If you look in the glsl spec: + http://www.khronos.org/registry/gles/specs/2.0/es_full_spec_2.0.24.pdf + Section 3.7.10 Texture Completeness and Non-Power-Of-Two Textures + you can see GLES 2.0 doesn't support mipmaps for npot textures. + + There is possibly some way we could support this in Cogl but at least + it's not as simple as or-ing in the feature flag, sadly. + + clutter/cogl/gles/cogl.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 3c47a3beb51462ef8af1070b75123660059e97d0 +Author: Robert Bragg +Date: Thu Aug 20 12:15:21 2009 +0100 + + [cogl] Allow Cogl to create NPOT textures for GLES2 + + The core GLES2 API supports NPOT textures, i.e. there is no extension as for + OpenGL, so we now add COGL_FEATURE_TEXTURE_NPOT to the feature flags in + _cogl_features_init. + + Thanks to Gordon Williams for spotting this. + + clutter/cogl/gles/cogl.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit a5fe4ae4ec5c5c43aa0898095284447095462e37 +Author: Robert Bragg +Date: Wed Aug 19 15:38:25 2009 +0100 + + [cogl] %.c: %.glsl codegen: use BUILT_SOURCES var + fix stringify.sh + + Don't let stringify.sh write to the $srcdir + use the BUILT_SOURCES var in + Makefile.am so as to ensure all .c. and .h files get generated from their + corresponding .glsl files before building other targets. + + clutter/cogl/gles/Makefile.am | 14 +++++++++----- + clutter/cogl/gles/stringify.sh | 40 +++++++++++++++++++--------------------- + 2 files changed, 28 insertions(+), 26 deletions(-) + +commit 3761e9cd47950bfade7d3b829b20b245806632a2 +Author: Jonas Bonn +Date: Wed Aug 19 13:14:10 2009 +0000 + + Check timeline direction when forcing final state + + If the timeline is running backwards, the completed signal handler should + set the final state from the interval's initial value. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-animation.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit 373b165b3f1adc556e7ee70f01cff66d4a38cd60 +Author: Emmanuele Bassi +Date: Mon Aug 10 12:45:44 2009 +0200 + + Use AM_SILENT_RULES if automake >= 1.11 is installed + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1756 + + Based on a patch by: Javier Jardón + + clutter/Makefile.am | 7 +++++-- + clutter/cogl/Makefile.am | 6 ++++-- + clutter/cogl/common/Makefile.am | 7 ++++--- + configure.ac | 18 +++++++++++++++--- + 4 files changed, 28 insertions(+), 10 deletions(-) + +commit 6a9130f10fe5ed3c78b541cf0d021857efb57cb4 +Author: Neil Roberts +Date: Tue Aug 18 18:07:37 2009 +0100 + + [pango-display-list] Don't premultiply the colour twice + + When rendering a glyph run from a texture we were premultiplying the + colour once in display_list_render() and then again in + display_list_render_texture(). This was causing the color to come out + wrong. This fixes bug #1775. + + Thanks to Pierre-Luc Beaudoin for reporting. + + clutter/pango/cogl-pango-display-list.c | 1 - + 1 file changed, 1 deletion(-) + +commit 9befb055d0dd993d1171bf5652eefdc35567e7f5 +Author: Robert Bragg +Date: Tue Aug 18 16:13:13 2009 +0100 + + [cogl-material] Fix some brackets in _layer_flush_gl_sampler_state + + The wrong part of an expression was bracketed in the test to determine + when a new texture matrix needed to be loaded which resulted in the + first pass through _cogl_material_layer_flush_gl_sampler_state + not uploading any user matrix. + + clutter/cogl/common/cogl-material.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 366e0725ce1bb804219b28a29539add1e05f73e8 +Author: Emmanuele Bassi +Date: Tue Aug 18 11:11:29 2009 +0100 + + [docs] texture_polygon() is called polygon() + + Remove the mentions to the old name of cogl_polygon(). + + clutter/cogl/cogl-types.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit f655b28e669b7aec5b3ace0d8873adeefa11b4de +Author: Emmanuele Bassi +Date: Mon Aug 17 23:27:22 2009 +0100 + + [build] Nothing can be prepended to QUIET_* rules + + Move the LD_LIBRARY_PATH override after the QUIET_GEN rule and + unbreak the typelib compilation. + + clutter/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 8c00d705c0ec009c08950f314ab896b6ff40aa37 +Author: Jussi Kukkonen +Date: Mon Aug 17 00:00:35 2009 +0300 + + [text] move_word_backward/forward fixes + + clutter_text_move_word_backward/forward() calls did not use the + start argument consistently. Also, clutter_text_move_word_forward() + bound check checked the wrong end. + + Fixes #1765 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 99437c476136ec6a735270efd8670efcd1f2c77e +Author: Neil Roberts +Date: Mon Aug 17 17:43:42 2009 +0100 + + [text] Don't interpret the unicode value when the control modifier is on + + When a letter key is pressed with the control key held down one of + three things will happen :- + + a) If the stage is embedded within a GtkClutterEmbed the unicode value + will be filled from gdk_keyval_to_unicode. This will be the same + value as if control was not pressed (so Ctrl+V will be 'v'). + + b) If the stage is not in a GtkClutterEmbed and Clutter is running on + the X11 backend then it will try to fill in the unicode value from + XLookupString. This *will* take into account the control so the + unicode value will represent a control character (Ctrl+V will be + '\x16'). + + c) Most other backends will not bother to fill in the unicode + value. Therefore clutter_keysym_to_unicode will be used which also + does not take into account the control key (so Ctrl+V will be 'v'). + + For cut and paste to work in Nbtk, the control keys need to bubble up + to the parent NbtkEntry container. This works fine for 'b' but not 'a' + and 'c'. + + This patch makes ClutterText always allow the event to bubble if the + key is not handled by the binding pool and the control modifier is + down. + + Ideally ClutterText would always get a unicode value that takes into + account the modifiers but this is probably best left up to the input + methods. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-text.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 5d7c2e7c4495b3d6f35ed3f4e50857f17b946872 +Author: Owen W. Taylor +Date: Mon Aug 17 13:57:18 2009 -0400 + + Set LD_LIBRARY_PATH when running g-ir-compiler + + g-ir-compiler currently opens the library for the .gir it is compiling; + to make that work we need to set LD_LIBRARY_PATH before running + g-ir-compiler to include .libs. + + (I think this may have been working earlier because there was a + hack that substituted .so with .la and tried opening that; that + works for the incorrect libclutter-glx-1.0.so but not for the + correct libclutter-glx-1.0.so.0) + + http://bugzilla.openedhand.com/show_bug.cgi?id=1771 + + clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 4c1248c5e9b934b23bdabbfc3d2dabdb8bab0656 +Author: Owen W. Taylor +Date: Mon Aug 17 15:41:27 2009 +0100 + + Full fix for the G-I support in Clutter + + Update the sed hack for the shared library to be more robust. + + Remove the --shared-library command line argument from g-ir-scanner, + as no distribution will ever ship the .la files. This effectively + reverts commit 68f8a98cfbf70e2b7bfcda7831907633eb08ca50. + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 68f8a98cfbf70e2b7bfcda7831907633eb08ca50 +Author: Götz Waschk +Date: Mon Aug 17 14:21:42 2009 +0100 + + Specify the shared library for g-ir-compile + + Use the --shared-library option to specify the shared object to link + against when compiling the typelib from the GIR data. + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 366e0f9cd7773433ba14cc531119bca3b9879a1e +Author: Götz Waschk +Date: Mon Aug 17 14:12:21 2009 +0100 + + Update Clutter to use G-I 0.6.4 + + Following bug #1762, the syntax of g-ir-scanner was changed in + gobject-introspection, so Clutter does not build anymore with 0.6.4. + + See the bugzilla bug: + + http://bugzilla.gnome.org/show_bug.cgi?id=591669 + + GObject-Introspection now uses a different mechanism to extract the + SONAME when building the gir file and it needs the libtool archive as + option. + + Signed-off-by: Emmanuele Bassi + + README | 2 +- + clutter/Makefile.am | 2 +- + clutter/cogl/Makefile.am | 2 +- + clutter/json/Makefile.am | 2 +- + configure.ac | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +commit 53cb86d94ba258cb917221856501c60738a143f3 +Author: Emmanuele Bassi +Date: Mon Aug 17 10:27:13 2009 +0100 + + [docs] Update the requirements section + + README | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +commit 90d8f3183193176b796ac533158e3b0c2a4c2e85 +Author: Emmanuele Bassi +Date: Fri Aug 14 15:59:29 2009 +0100 + + [units] Do not be locale-dependant on string conversion + + When dumping a ClutterUnits structure to a string we are using a bare + g_strdup_printf(), which unfortunately is locale dependant. So, for + instance, a type of CLUTTER_UNIT_EM and a value of 42 are stringified + as: + + C: 42.00 em + en_GB 42.00 em + it_IT 42,00 em + fr_FR 42,00 em + + This would not be a problem -- clutter_units_from_string() allows both + '.' and ',' as fractionary part delimiters. The test suite, on the + other hand, does not know that, and it checks for exact matches with + the C locale. + + Calling setlocale(LC_ALL,"C") at the beginning of the conformance test + suite is not a good idea, because it would prevent external testing; and + it's a lame cop out from doing exactly what we have to do -- pick a format + and stick with it. + + Like other platforms, languages and frameworks before us, we opt to + be less liberal in what we create; so, we choose to always stringify + ClutterUnits with fractionary parts using '.' as the delimiter. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1763 + + clutter/clutter-units.c | 24 ++++++++++++++---------- + 1 file changed, 14 insertions(+), 10 deletions(-) + +commit f08b583a312cd87f3263078eecdb19a9328ac79f +Author: Emmanuele Bassi +Date: Fri Aug 14 15:58:00 2009 +0100 + + [tests] Abstract GTest and Clutter initialization + + The set up process of the conformance test suite is complex enough to + warrant a split up into its own function. + + tests/conform/test-conform-main.c | 27 ++++++++++++++++++--------- + 1 file changed, 18 insertions(+), 9 deletions(-) + +commit b31e2d59bdfcc3be46f3ec87de4bcabc32747133 +Author: Emmanuele Bassi +Date: Fri Aug 14 13:08:59 2009 +0100 + + [build] Remove last user of CLUTTER_MAJORMINOR + + We should always use CLUTTER_API_VERSION instead. + + doc/manual/Makefile.am | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 5274b4e4c48dbd81c7553ef9889b5897afe932c5 +Author: Emmanuele Bassi +Date: Fri Aug 14 13:08:17 2009 +0100 + + [build] Clean up the eglnative and fruity Makefile.am + + * Do not use CLUTTER_MAJORMINOR + + * Use per-target compiler flags and libraries + + clutter/eglnative/Makefile.am | 11 +++++------ + clutter/fruity/Makefile.am | 21 ++++++++++----------- + 2 files changed, 15 insertions(+), 17 deletions(-) + +commit f7edc97d8df2f035fa81343126884b0cbfc9bc3a +Author: Xu Li +Date: Tue Aug 4 22:06:27 2009 +0800 + + Add new Atom atom_NET_WM_PID to set pid info + + Clutter advertises itself on X11 as implementing the _NET_WM_PING protocol, + which is needed to be able to detect frozen applications; this allows us to + stop the destruction of the stage by blocking the CLUTTER_DELETE event and + wait for user feedback without the Window Manager thinking that the app has + gone unresponsive. + + In order to implement the _NET_WM_PING protocol properly, though, we need + to add the _NET_WM_PID property on the Stage window, since the EWMH states: + + [_NET_WM_PID] MAY be used by the Window Manager to kill windows which + do not respond to the _NET_WM_PING protocol. + + Meaning that an unresponsive Clutter application might not be killable by + the window manager. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1748 + + Signed-off-by: Emmanuele Bassi + + clutter/x11/clutter-backend-x11.c | 22 ++++++++++++---------- + clutter/x11/clutter-backend-x11.h | 1 + + clutter/x11/clutter-stage-x11.c | 25 +++++++++++++++++++++++++ + 3 files changed, 38 insertions(+), 10 deletions(-) + +commit 3abf393b87d83211d82b161c0417d80312b8783f +Author: Emmanuele Bassi +Date: Fri Aug 14 11:29:03 2009 +0100 + + [build] Clean up cogl-pango Makefile + + * Do _not_ use CLUTTER_MAJORMINOR to define the installation path + for the headers; we must use CLUTTER_API_VERSION for that. + + * Do not put the C compiler flags in the INCLUDES directive. + + Bases on a patch by: Gary Ching-Pang Lin + + clutter/pango/Makefile.am | 9 +++------ + 1 file changed, 3 insertions(+), 6 deletions(-) + +commit 5c8ae6d2dcdb592a56f33927dcec2369a9147396 +Author: Emmanuele Bassi +Date: Thu Aug 13 18:05:38 2009 +0100 + + [json] Fix compilation of the internal JSON-GLib + + Define the symbols needed to pass the single include policy when + compiling the static object. + + clutter/json/Makefile.am | 4 +++- + clutter/json/json-glib.h | 4 ++++ + 2 files changed, 7 insertions(+), 1 deletion(-) + +commit 6e1f9ad9b65fedaa18950de712d7f6ab39b809f0 +Author: Emmanuele Bassi +Date: Thu Aug 13 16:15:04 2009 +0100 + + [docs] Remove the version number from the title + + The version number in the title made sense when we were breaking + API with every minor release. Now that we're API stable we can + drop that and make the output in Devhelp and on the website slightly + more good looking. + + doc/reference/clutter/clutter-docs.xml.in | 4 ++-- + doc/reference/cogl/cogl-docs.xml.in | 9 +++++++-- + 2 files changed, 9 insertions(+), 4 deletions(-) + +commit 8a794a85337c01a21f88a02c84bd519ed511b6c6 +Author: Emmanuele Bassi +Date: Thu Aug 13 16:13:55 2009 +0100 + + [docs] Fix the examples for animate() + + Update the examples to reference to existing easing modes and to + make sure to use floating point values for floating point properties. + + clutter/clutter-animation.c | 36 ++++++++++++++++++------------------ + 1 file changed, 18 insertions(+), 18 deletions(-) + +commit f25cdf066c023222330119a1fe8ef5204773faa7 +Author: Emmanuele Bassi +Date: Thu Aug 13 12:26:09 2009 +0100 + + [actor] Allow unsetting width and height separately + + It is possible to unset the size of an actor specified with set_width() + and set_height() by using: + + clutter_actor_set_size (actor, -1, -1); + + Which works by unsetting the :min-*-set and the :natural-*-set properties. + + Calling set_width(-1) and set_height(-1) separately, though, doesn't work + thus implicitly breaking the assumption that set_size() is nothing more + than set_width()+set_height(). This was obviously due to the face that + pre-1.0 set_width() and set_height() took an unsigned integer as an + argument. + + clutter/clutter-actor.c | 81 +++++++++++++++++++++++++++++++------------------ + 1 file changed, 52 insertions(+), 29 deletions(-) + +commit d3e06bc1e5654248d86aaa568179c5732839412e +Author: Colin Walters +Date: Thu Aug 13 10:49:39 2009 +0100 + + Add (allow-none) for clutter_stage_set_key_focus() + + The @actor argument can be NULL to unset the key focus. + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9766fb13005b04669e60befd9e0e3cddf822ac1c +Author: Emmanuele Bassi +Date: Wed Aug 12 16:02:23 2009 +0100 + + [script] Fix Actor's ad-hoc parser + + ClutterActor parses positional and dimensional properties with a + custom deserializer. We need to: + + - handle G_TYPE_INT64, the default integer type for JSON-GLib + - use G_TYPE_FLOAT for properties, since Actor switched to it + for the pixel-based ones + + This makes ClutterScript work again. + + clutter/clutter-actor.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit cfbbacb8079e2ad92d5e538195d49cfdf8818144 +Author: Emmanuele Bassi +Date: Wed Aug 12 16:01:25 2009 +0100 + + [script] Fix the default deserialization + + Properties parsed from ClutterScript should now use G_TYPE_INT64 + and automatically convert between G_TYPE_INT and G_TYPE_INT64. + + clutter/clutter-script.c | 21 +++++++++++++-------- + 1 file changed, 13 insertions(+), 8 deletions(-) + +commit 4d522456372c2394046968ce0a4b22f603023d32 +Author: Emmanuele Bassi +Date: Wed Aug 12 16:00:13 2009 +0100 + + [json] Update the internal copy of JSON-GLib + + JSON-GLib switch to 64 bit integers upstream, to avoid the undefined + integer size of the JSON RFC. All integers are automatically promoted + to gint64. + + clutter/json/json-array.c | 4 +-- + clutter/json/json-node.c | 61 +++++++++++++++++++++++++++++++++++++--------- + clutter/json/json-object.c | 41 ++++++++----------------------- + clutter/json/json-parser.c | 13 +++++----- + clutter/json/json-types.h | 16 +++++++----- + 5 files changed, 78 insertions(+), 57 deletions(-) + +commit 2b70b0d4ed791e8bc25b59eb3b2e9dbeb8201b11 +Author: Emmanuele Bassi +Date: Wed Aug 12 15:57:25 2009 +0100 + + Include clutter-json.h, not json-types.h + + The json-types.h header is found by the mere fact of it being + in the project; if we are compiling against the system JSON-GLib + this could be horribly out of date. + + We need to use clutter-json.h, which will include the right + header for us. + + clutter/clutter-script-private.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cc6aa6e4d537c5eec3fda85475f78bdf0da2ea10 +Author: Emmanuele Bassi +Date: Wed Aug 12 15:32:18 2009 +0100 + + Clutter GIR depends on ClutterJson GIR conditionally + + If we're building Clutter with a system JSON-GLib we need to skip + the typelib compilation of ClutterJson since we depend on Json-1.0.gir + directly. + + clutter/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 6fcf5c1820b29610a05e0f5022d1d6d907716df5 +Author: Emmanuele Bassi +Date: Wed Aug 12 15:31:16 2009 +0100 + + [json] Include only json-glib.h + + JSON-GLib moved to a single include scheme, so we should only include + json-glib.h. If we use the internal copy it doesn't matter, since the + header does the right thing. + + clutter/clutter-json.h.in | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 8c49e227536fabddd2cbf81aa94e1624d30ca312 +Author: Emmanuele Bassi +Date: Wed Aug 12 10:30:11 2009 +0100 + + Add copyright and license notice + + The clutter-script-parser.c does not have a copyright and license + notices; even though the LGPL is a per-project license and not a + per-file license, having those notices in every source file is a + good idea. + + clutter/clutter-script-parser.c | 32 ++++++++++++++++++++++++++++++++ + 1 file changed, 32 insertions(+) + +commit 13e055a351f83c56b895b131566a6e842d24ed2a +Author: zhou jiangwei +Date: Tue Aug 11 14:18:37 2009 +0100 + + [eglx] Update the EGLX backend + + The EGLX backend needs to be updated to the new ClutterBackendX11 + code. + + Signed-off-by: Emmanuele Bassi + + clutter/eglx/clutter-backend-egl.c | 43 ++++++++++++++++++++++++++++++++++++++ + clutter/eglx/clutter-backend-egl.h | 1 + + clutter/eglx/clutter-stage-egl.c | 4 ++-- + 3 files changed, 46 insertions(+), 2 deletions(-) + +commit 2ab9bef5873ca9d226ddf31fc65b96fe20fa72d5 +Author: zhou jiangwei +Date: Tue Aug 11 14:17:28 2009 +0100 + + [cogl] Fix the GLES 2.0 backend + + Update the GLES 2.0 backend to the new COGL API after the breakage + introduced by the journal. + + Signed-off-by: Emmanuele Bassi + + clutter/cogl/common/cogl-primitives.c | 5 +++-- + clutter/cogl/gles/cogl-context.h | 5 ++++- + clutter/cogl/gles/cogl-gles2-wrapper.h | 5 +++++ + clutter/cogl/gles/cogl-primitives.c | 10 +++++----- + clutter/cogl/gles/cogl-texture-private.h | 3 +++ + 5 files changed, 20 insertions(+), 8 deletions(-) + +commit dbfd3f0f444680d85556edc0b96dff68ea22722d +Author: Robert Bragg +Date: Tue Aug 11 13:49:12 2009 +0100 + + [cogl_clear] Also pass the alpha component of the CoglColor to glClearColor + + Previously we were passing a constant of 0.0 for the alpha component which + wasn't as flexible. + + clutter/cogl/common/cogl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f0cb337d920c46cb7ca45d80ade69057d0408ff5 +Author: Emmanuele Bassi +Date: Tue Aug 11 13:27:25 2009 +0100 + + [build] Fix LDADD -> LIBADD usage + + clutter/osx/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dfc32b60c4b1b0b83fbf70d7e02b58cbc919326a +Author: Emmanuele Bassi +Date: Tue Aug 11 13:11:34 2009 +0100 + + [osx] Clean up Makefile.am + + The OS X backend Makefile.am was missing a line concatenation, and + so the -xobjective-c directive was always ignored. + + Instead of dumping everything into INCLUDES and LDADD we should follow + what the rest of the backends do, and use per-target CFLAGS and LDADD, + and reserve the INCLUDES to -D and -I directives. + + Thanks to: Christian Hergert + + clutter/osx/Makefile.am | 30 ++++++++++++++---------------- + 1 file changed, 14 insertions(+), 16 deletions(-) + +commit d0748b3b9b34bf77ed3b813e3872cac64d6a6c35 +Merge: d263e7a78 df572d089 +Author: Emmanuele Bassi +Date: Mon Aug 10 17:21:20 2009 +0100 + + Merge branch 'system-json-glib' + + * system-json-glib: + [script] Simplify the parser code + Update JSON-GLib dependency + +commit d263e7a78b7e98b2b87a51a194b93473344b6b27 +Author: Emmanuele Bassi +Date: Mon Aug 10 17:19:04 2009 +0100 + + [build] Install JSON headers inside the right directory + + Don't install inside the clutter-MAJOR_MINOR/ directory, but use + the API_VERSION (1.0). + + Otherwise we'd have the Clutter headers for 1.x inside: + + $includedir/clutter-1.0/clutter + + And the JSON-related headers inside: + + $includedir/clutter-1./clutter + + clutter/json/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 19a53054fde3ccfac365452618e4524e3f3c7efc +Author: Emmanuele Bassi +Date: Fri Aug 7 15:27:25 2009 +0100 + + Bump to 1.1.1 after branching 1.0 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 420ed353b53bd624331bd249d7df98d14714b504 +Author: Emmanuele Bassi +Date: Fri Aug 7 08:18:17 2009 +0100 + + [x11] Do not ask to destroy an empty Window + + The fix for bug 1750 inside commit b190448e made Clutter-GTK spew + BadWindow errors. The reason for that is that we call XDestroyWindow() + without checking if the old Window is None; this happens if we call + clutter_x11_set_stage_foreign() on a new ClutterStage before it has + been realized. + + Since Clutter-GTK does not need to realize the Stage it is going to + embed anymore (the only reason for that was to obtain a proper Visual + but now there's ClutterBackendX11 API for that), the set_stage_foreign() + call is effectively setting the StageX11 Window for the first time. + + clutter/x11/clutter-stage-x11.c | 20 +++++++++++++++----- + 1 file changed, 15 insertions(+), 5 deletions(-) + +commit 335fb07ab02bc719c04bf2de115a88216f1321f7 +Author: Emmanuele Bassi +Date: Wed Aug 5 17:46:18 2009 +0100 + + [actor] Add missing return_if_fail() + + The queue_relayout() method was missing the argument check. + + Thanks to: Neil Patel + + clutter/clutter-actor.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 1434d7213487ad42626fcc4b1da180fe98192ef1 +Author: Neil Roberts +Date: Wed Aug 5 15:51:49 2009 +0100 + + Small doc fix to clutter_text_get_color + + Bug reported by Rob Bradford. + + clutter/clutter-text.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b190448ed460ae466cd6d1c7c34e47d4386fe4c4 +Author: Emmanuele Bassi +Date: Tue Aug 4 16:59:15 2009 +0100 + + [x11] Destroy the Window we own when setting a foreign one + + When we replace the stage Window using a foreign one we also need to + destroy the Window we created, if needed, to avoid leaking resources + all around. + + Fixes bug: + + http://bugzilla.openedhand.com/show_bug.cgi?id=1750 + + clutter/x11/clutter-stage-x11.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 7963254c23f42a43b64ca3f2401499b456d677ce +Author: Emmanuele Bassi +Date: Tue Aug 4 11:39:09 2009 +0100 + + [docs] Close a tag + + doc/reference/clutter/building-clutter.xml | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 79288b46ed60efe4cf3f970ef7f1cce17685cd84 +Author: Emmanuele Bassi +Date: Tue Aug 4 11:38:48 2009 +0100 + + [docs] Fix a missing parameter + + clutter/cogl/cogl-vertex-buffer.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9cda8d130f7097d8ca43ffb0e50206ab72d1892d +Author: Emmanuele Bassi +Date: Tue Aug 4 11:11:59 2009 +0100 + + [actor] Be more explicit when warning about invariants + + The "catch all" warning for a the mapped invariant violation is too + generic: it doesn't tell you why the invariant was broken in case + we are trying to map an unparented actor - e.g. through a Clone. + + clutter/clutter-actor.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit f8a964b422c195219c59a3b21d9bb3125ce215dd +Author: Emmanuele Bassi +Date: Tue Aug 4 11:10:55 2009 +0100 + + [cogl] Expose cogl_is_vertex_buffer() + + The function is public and available in the shared object, but + it's not present in the header, so this is not an API/ABI change. + + clutter/cogl/cogl-vertex-buffer.h | 14 ++++++++++++++ + doc/reference/cogl/cogl-sections.txt | 1 + + 2 files changed, 15 insertions(+) + +commit c9f57452e60c89c0b046def2f1787773545244df +Author: Robert Bragg +Date: Mon Aug 3 15:03:19 2009 +0100 + + [build] remove reference to light1.png in tests/interactive/Makefile.am + + This file doesn't exist in the repo and isn't referenced by any unit tests. + + tests/interactive/Makefile.am | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +commit 71c4fa0f73ec9a101a4dcb07a0d782e075185d4b +Author: Robert Bragg +Date: Mon Aug 3 14:53:46 2009 +0100 + + [build] dist tests/interactive/wrapper.sh + + in tests/interactive/Makefile.am add wrapper.sh to EXTRA_DIST otherwise + interactive unit tests wont be runnable when building from distributed + tarballs. + + tests/interactive/Makefile.am | 3 +++ + 1 file changed, 3 insertions(+) + +commit c9c87543e8f827ee4c3510cd0025e8653d3309b1 +Author: Damien Lespiau +Date: Mon Aug 3 14:11:33 2009 +0100 + + [debug] CLUTTER_{NOTE,MARK,DBG,GLERR,TIMESTAMP} should always be statements + + In case someone tries to do: + if (foo) + CLUTTER_NOTE(DOMAIN, "%s", blah); + + CLUTTER_NOTE () should always be a statement + + clutter/clutter-debug.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit cd35f3b384b645d171de49eee555363d4b2acc94 +Author: Damien Lespiau +Date: Mon Aug 3 13:58:52 2009 +0100 + + [debug] Fix __GNUC__ typo + + The right gcc define is __GNUC__ not __GNUC_. This typo had the side + effect that we were using the non gcc specific debug macros leading to + a less optmised CLUTTER_NOTE () than one could have dreamed of. + + clutter/clutter-debug.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 94b35a4a5ee4fa86d837b2deb06fe849a2a68977 +Author: Damien Lespiau +Date: Mon Aug 3 13:56:32 2009 +0100 + + [build] GCC_FLAGS is no more, MAINTAINER_CFLAGS is the One. + + CC_FLAGS was a left over from the 0.8.x age. Killed it and use the + newer MAINTAINER_CFLAGS variable instead. + + clutter/Makefile.am | 2 +- + clutter/eglnative/Makefile.am | 2 +- + clutter/eglx/Makefile.am | 2 +- + clutter/fruity/Makefile.am | 2 +- + clutter/glx/Makefile.am | 3 +-- + clutter/json/Makefile.am | 2 ++ + clutter/osx/Makefile.am | 2 +- + clutter/sdl/Makefile.am | 2 +- + clutter/win32/Makefile.am | 2 +- + clutter/x11/Makefile.am | 3 +-- + 10 files changed, 11 insertions(+), 11 deletions(-) + +commit 4ee49eded0561ad987b50e1b04e15a685c1c06e2 +Author: Damien Lespiau +Date: Mon Aug 3 13:58:21 2009 +0100 + + [gitignore] Ignore new test-color-hls-roundtrip test + + tests/.gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit b2ab2b953548bb9af41789e2465dfa9a588c9b2d +Author: Emmanuele Bassi +Date: Sun Aug 2 18:34:17 2009 +0100 + + [actor] Use the right vertex + + The vertex that should be used by the apply_relative_transform + is the one passed in as const, and the result should be placed + inside the non-const ClutterVertext. Currently, we are using + the latter, and thus the function is completely useless. + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit ae2a861a0b042e36393e5eb76ecb17759a933892 +Author: Emmanuele Bassi +Date: Fri Jul 31 10:29:33 2009 +0100 + + [x11] Force a redraw before mapping the stage + + Does as it says on the tin: run a paint cycle before calling + XMapWindow(). + + clutter/x11/clutter-stage-x11.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit abdcf4debbedd9f924da4db9403ecbc9a030cb20 +Author: Joshua Lock +Date: Fri Jul 31 10:16:56 2009 +0100 + + [docs] Update building instructions for OS X + + Recommend OS X users install the dependencies using MacPorts and build + Clutter themselves. + + Signed-off-by: Emmanuele Bassi + + doc/reference/clutter/building-clutter.xml | 41 +++++++++++++++++------------- + 1 file changed, 23 insertions(+), 18 deletions(-) + +commit b3842a6b62979d264b7d7057e4125602e644ccad +Author: Neil Roberts +Date: Wed Jul 29 19:06:36 2009 +0100 + + [mingw] Update the README + + The README has been updated to say that you can use the script under + MSYS and also to contain a pointer to OAH. It also contains the + updated contents of a blog post¹ about building with MSYS. + + 1. http://www.busydoingnothing.co.uk/blog/2008/07/13#ClutterWin32 + + build/mingw/README | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 127 insertions(+), 6 deletions(-) + +commit 8ad446f3e9903d2339536db4febef1cbc77db643 +Author: Neil Roberts +Date: Wed Jul 29 18:13:19 2009 +0100 + + [mingw-cross-compile.sh] Fix to use git rather than svn + + The script includes a part to automatically checkout the Clutter + source and build it but it was using the old svn repo instead of git. + + build/mingw/mingw-cross-compile.sh | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit d796d3c88c3d3044d1c1bf54c320504f4e5886eb +Author: Neil Roberts +Date: Wed Jul 29 17:59:54 2009 +0100 + + [mingw-cross-compile.sh] Add a note about MSYS in the comment + + The comment previously implied that you could only use the script to + cross compile but it works just as well under MSYS. + + build/mingw/mingw-cross-compile.sh | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 1e14d3041dc2f68d18dcd3e03d34e8d0fa7a05f4 +Author: Neil Roberts +Date: Wed Jul 29 17:58:02 2009 +0100 + + [mingw-cross-compile.sh] Update version numbers of all the dependencies + + This updates the URLs for the binary dependencies to use the latest + versions. + + build/mingw/mingw-cross-compile.sh | 23 +++++++++++++---------- + 1 file changed, 13 insertions(+), 10 deletions(-) + +commit a3c323c52c42785f93641e3603a5426bbb371876 +Author: Emmanuele Bassi +Date: Wed Jul 29 17:22:18 2009 +0100 + + [docs] Remove mentions of Clutter-Cairo + + The mingw README file still mentions Clutter-Cairo as a known issue. + + build/mingw/README | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +commit 0ec6793738085308206e028d1136cb4cd4274f11 +Author: Emmanuele Bassi +Date: Wed Jul 29 17:21:13 2009 +0100 + + [mingw/win32] Remove clutter-cairo + + The Clutter-Cairo library has been removed, so there's no point + in checking it out -- from Subversion, even. + + build/mingw/mingw-cross-compile.sh | 23 ----------------------- + 1 file changed, 23 deletions(-) + +commit fba1045bcb46da4ed04bd789b7650e985915243b +Author: Emmanuele Bassi +Date: Tue Jul 28 18:39:24 2009 +0100 + + Post-release bump to 1.0.1 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit df572d089c0811ecbc5e41d1c68d39fae47040e9 +Author: Emmanuele Bassi +Date: Mon Jun 29 16:33:36 2009 +0100 + + [script] Simplify the parser code + + JSON-GLib provides simple accessors for basic types so that we + can avoid getting the JsonNode out of a complex type. This makes + the code simpler to understand. + + clutter/clutter-script.c | 39 ++++++++++----------------------------- + 1 file changed, 10 insertions(+), 29 deletions(-) + +commit 354fa437cdc4b67ca6c2452756a261222109b289 +Author: Emmanuele Bassi +Date: Thu Jun 25 18:56:52 2009 +0100 + + Update JSON-GLib dependency + + Currently, Clutter depends on the internal copy of JSON-GLib for + the ClutterScript parser. This is done to allow building Clutter + on platforms that do not have the library installed on the system. + + Just like we use the internal PNG/JPEG loader as a fallback in + case we don't have GdkPixbuf or CoreGraphics available, we should + use the internal copy of JSON-GLib only in case the system copy + is not present. + + The change is simply to move the default for the --with-json + configure switch from "internal" to "check". + + In order to allow stricter compliance, a third setting should + be present: "system", which fails if the system copy is not + available. + + We should also change the introspection generation to avoid + breaking in case we require the installed Json-1.0.gir instead + of the generated ClutterJson.gir + + clutter/Makefile.am | 5 ++++- + configure.ac | 44 +++++++++++++++++++++++++++++++++++--------- + 2 files changed, 39 insertions(+), 10 deletions(-) diff --git a/ChangeLog.pre-1.20 b/ChangeLog.pre-1.20 new file mode 100644 index 0000000..a930e62 --- /dev/null +++ b/ChangeLog.pre-1.20 @@ -0,0 +1,1466 @@ +commit e0834bfece11fcd1543a14647555c305a7114b03 +Author: Emmanuele Bassi +Date: Mon Sep 22 11:30:30 2014 +0100 + + Release Clutter 1.20.0 + + NEWS | 12 ++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 14 insertions(+), 2 deletions(-) + +commit c55922dac18cd3548b432439948a5eab64ca4036 +Author: Emmanuele Bassi +Date: Mon Sep 22 11:11:22 2014 +0100 + + docs: Fix the examples for ClutterText.set_font_name() + + We shouldn't be using "pt": PangoFontDescription.from_string() assumes + points, and only accepts "px" for absolute font sizes. + + https://bugzilla.gnome.org/show_bug.cgi?id=736826 + + clutter/clutter-text.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 35d4baa913e142f22a2527e1b132e06fbec49306 +Author: Emmanuele Bassi +Date: Mon Sep 22 11:08:23 2014 +0100 + + docs: Update the markdown README file + + README.md | 30 +++++++++++------------------- + 1 file changed, 11 insertions(+), 19 deletions(-) + +commit e1a3a38061f8e79724466ab5188744396f0dbde9 +Author: Maria Mavridou +Date: Sun Sep 21 13:42:14 2014 +0000 + + Updated Greek translation + + po/el.po | 307 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 153 insertions(+), 154 deletions(-) + +commit ca09f58d9340b5370080c21a0ad313ee9bbb2ec5 +Author: Olav Vitters +Date: Wed Jul 30 19:38:35 2014 +0200 + + doap category core + + clutter.doap | 1 + + 1 file changed, 1 insertion(+) + +commit 3f4d5c3e47a71403b705cb4fb14af3f298817215 +Author: Emmanuele Bassi +Date: Wed Sep 17 15:07:33 2014 +0100 + + Post-release version bump to 1.19.11 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit db6938077346b635341d481636e10b7c87148cd6 +Author: Emmanuele Bassi +Date: Wed Sep 17 15:02:30 2014 +0100 + + Release Clutter 1.19.10 + + NEWS | 38 ++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 39 insertions(+), 1 deletion(-) + +commit f409671d91ef30057ebb1e4a0f12bbdc2527ce88 +Author: Emmanuele Bassi +Date: Wed Sep 17 14:59:22 2014 +0100 + + docs: Fix annotation for has_mapped_clones() method + + The Returns: stanza is missing. + + clutter/clutter-actor.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit c75a200c371aabb7b0fd781e24da259995245c81 +Author: Emmanuele Bassi +Date: Wed Sep 17 14:59:03 2014 +0100 + + docs: Remove missing symbol + + doc/reference/clutter/clutter-sections.txt | 1 - + 1 file changed, 1 deletion(-) + +commit 28a5104e11738fd04500aa8b8d964c49ba0a3c96 +Author: Emmanuele Bassi +Date: Wed Sep 17 14:58:17 2014 +0100 + + Remove gtk-doc tags from clutter_test_* API + + The API is public because we use it in the test suite, but it's not + documented. + + clutter/clutter-test-utils.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 14da1c50270f1a3a8b2cb8c95d35e87bc9a31558 +Author: Emmanuele Bassi +Date: Mon Sep 15 16:50:33 2014 +0100 + + actor: Unallocated children do not contribute to the paint volume + + Just like unmapped children. + + Apparently, layers above Clutter allow mapped children without an + allocation, instead of unmapping them. This means we need to ignore + them when computing the paint volume. + + Patch originally by: Adel Gadllah + Signed-off by: Emmanuele Bassi + + https://bugzilla.gnome.org/show_bug.cgi?id=736682 + + clutter/clutter-actor.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit acd8f8657013de63ca45294ded48ec531bc7fd64 +Author: Emmanuele Bassi +Date: Mon Sep 15 16:43:30 2014 +0100 + + actor: Default paint volume does not work without allocation + + We already check for needs_allocation before getting the default paint + volume, but explicit is better than implicit. + + clutter/clutter-actor.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit e31d7d74005d3fa628ddb2fd0cca19ccc5109aec +Author: Emmanuele Bassi +Date: Mon Sep 15 16:42:54 2014 +0100 + + build: Ignore private header while building docs + + doc/reference/clutter/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit a182d4befa5962be369373c01a66d5b42ac61b4b +Author: Jonas Ådahl +Date: Sun Sep 14 13:58:11 2014 +0200 + + ClutterInputDevice: Store the cursor coordinate state as floating point + + To support sub-pixel motion events coming from relative events, the + fraction part needs to be stored in the input device state as well. To + do this, simply change the current type from gint to gfloat. + + https://bugzilla.gnome.org/show_bug.cgi?id=736413 + + clutter/clutter-device-manager-private.h | 12 ++++++------ + clutter/clutter-input-device.c | 4 ++-- + 2 files changed, 8 insertions(+), 8 deletions(-) + +commit 281a57a6a3bd56278cf0025614c066e3cb007da8 +Author: Alejandro Piñeiro +Date: Tue Sep 2 18:22:41 2014 +0200 + + a11y: provide a way to ensure clutter accessibility + + If gtk_init is called after clutter_init, it can override clutter + AtkUtil implementation. In that situation, we can't say that + the accessibility is enabled, as the root object would be wrong. + + In order to provide a way to prevent this: + + * clutter_get_accessibility_enabled returns true of false + depending on the current AtkUtil implemented + * cally_accessibility_init always override AtkUtil implementation. + + clutter/cally/cally-util.c | 12 ++++++++++++ + clutter/cally/cally-util.h | 2 ++ + clutter/cally/cally.c | 13 +++---------- + 3 files changed, 17 insertions(+), 10 deletions(-) + +commit fe208bff29191bfa13f01b69e31e49e83c80c650 +Author: Bastien Nocera +Date: Fri Aug 8 14:50:55 2014 +0200 + + doc: Document CLUTTER_SCALE envvar + + https://bugzilla.gnome.org/show_bug.cgi?id=734480 + + doc/reference/clutter/running-clutter.xml | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 908aedbacc7cb3e6ebfdaefd5bdd93cc85f2e31e +Author: Bastien Nocera +Date: Fri Aug 8 14:43:29 2014 +0200 + + gdk: Add window-scaling-factor support + + So that we follow GDK's idea of a scaling factor for Clutter. + + https://bugzilla.gnome.org/show_bug.cgi?id=734480 + + clutter/gdk/clutter-settings-gdk.h | 1 + + 1 file changed, 1 insertion(+) + +commit b3b2af767746fd1b040ff86a15b7452ad89be765 +Author: Emmanuele Bassi +Date: Wed Sep 3 14:16:31 2014 +0100 + + Re-introduce removed GestureAction method + + The get_threshold_tigger_egde() method was renamed to fix the typo, but + it obviously broke the ABI. To be fair, nobody in the whole of Debian + was using the symbol, apparently, so it's not like we broke existing + code. Still, it's not nice to break ABI without bumping soname, so let's + put the old symbol back in — obviously, deprecated — as a wrapper to the + newly added one. + + clutter/clutter-gesture-action.c | 21 ++++++++++++++++++++- + clutter/clutter-gesture-action.h | 4 +++- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 24 insertions(+), 2 deletions(-) + +commit 98b64fec33834d5fd8534ba5ac5067fe6f398525 +Author: Emmanuele Bassi +Date: Fri Aug 29 19:35:11 2014 +0100 + + Add TestEnvironment key to the installed tests launchers + + The TestEnvironment key allows us to control the environment used by the + gnome-desktop-testing-runner harness. + + We use it to disable the diagnostic messages without having to tweak the + Exec line. + + https://bugzilla.gnome.org/show_bug.cgi?id=734115 + + build/autotools/glib-tap.mk | 1 + + 1 file changed, 1 insertion(+) + +commit 4bcf739d049f7a97e1c71cce90af0fc206f43532 +Author: Yosef Or Boczko +Date: Thu Aug 28 18:09:28 2014 +0300 + + Updated Hebrew translation + + po/he.po | 976 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 494 insertions(+), 482 deletions(-) + +commit 591d31c970e1e00c53812de2c24bef6546bcf6ae +Author: Carlos Garnacho +Date: Mon Aug 25 16:14:38 2014 +0200 + + xi2: XSync before getting the client pointer on construction + + If the device manager is created and queried for the client pointer at + a very early stage in application lifetime, the device_id returned would + be 0 as the server hasn't apparently decided yet about the client pointer. + + For these situations, doing XSync prior to fetching the client pointer + gets the server to device about the client pointer before we query it. + + https://bugzilla.gnome.org/show_bug.cgi?id=735388 + + clutter/x11/clutter-device-manager-xi2.c | 1 + + 1 file changed, 1 insertion(+) + +commit cfcba1868487fc02c9fa3e6e1d24ae69239b596b +Author: Adel Gadllah +Date: Sat Aug 23 10:10:25 2014 +0200 + + clutter-settings: Mark window-scaling-factor as fixed when set by the app + + When an application sets the scaling factor manually we should mark it as fixed + and not override it when the xsettings change. This matches GDKs behaviour. + + In order for this to work we cannot use the same path when setting the value + internally so introduce a _clutter_settings_set_property_internal and use it + for that. + + https://bugzilla.gnome.org/show_bug.cgi?id=735244 + + clutter/clutter-settings-private.h | 4 ++++ + clutter/clutter-settings.c | 23 ++++++++++++++++++++++- + clutter/gdk/clutter-backend-gdk.c | 13 +++++++------ + clutter/x11/clutter-backend-x11.c | 7 ++++--- + 4 files changed, 37 insertions(+), 10 deletions(-) + +commit ee59a458d2bc23e3977024ae54f0e2987595555d +Author: Emmanuele Bassi +Date: Thu Aug 21 15:43:35 2014 +0100 + + Forgot to commit the NEWS file prior to release + + NEWS | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +commit 5d012cba7ba13c5d184bb61b1fc0dd0705a027fd +Author: Emmanuele Bassi +Date: Thu Aug 21 15:43:06 2014 +0100 + + Post-release version bump to 1.19.9 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0ed53b629068aebbf23890abd20bf31128bbd64c +Author: Emmanuele Bassi +Date: Thu Aug 21 15:35:37 2014 +0100 + + Release Clutter 1.19.8 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9c7433dbe911588fc644b08ac862e98fb9840c8b +Author: Emmanuele Bassi +Date: Thu Aug 21 15:30:47 2014 +0100 + + docs: Add missing symbols to the section file + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit bd3e4f170932f782178819239e5b4c8b3d4d2707 +Author: Emmanuele Bassi +Date: Thu Aug 21 15:26:14 2014 +0100 + + evdev: Fix compiler warning + + clutter/evdev/clutter-device-manager-evdev.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fd59df9710a9a6645f4a3eff2d8e378d158fa3d9 +Author: Emmanuele Bassi +Date: Thu Aug 21 15:24:54 2014 +0100 + + build: Remove experimental notice for wayland/evdev + + Both backends are built via CI and used by GNOME, so they should not be + considered experimental any more. + + configure.ac | 3 --- + 1 file changed, 3 deletions(-) + +commit 158af1ff594d8984b59dcf90654ed04cd8c53e16 +Author: Sunjin Yang +Date: Thu Aug 21 15:17:34 2014 +0100 + + actor: Plug a leak in the implicit transition removal + + We need to release the temporary reference we acquired in order for the + signal emission to work. + + https://bugzilla.gnome.org/show_bug.cgi?id=734761 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 018c1665eeb44c26a7d563958b3d86dede16227b +Author: ngoswami +Date: Mon Aug 18 15:38:09 2014 +0000 + + Updated Assamese translation + + po/as.po | 1175 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 620 insertions(+), 555 deletions(-) + +commit 22827e6043f1cdb3b0545ea0d78f16186f542d6a +Author: Christian Kirbach +Date: Mon Aug 18 08:31:44 2014 +0000 + + Updated German translation + + po/de.po | 91 ++++++++++++++++++++++++++++------------------------------------ + 1 file changed, 40 insertions(+), 51 deletions(-) + +commit ad18f2a996a685962016055734121d45be581b5c +Author: Lionel Landwerlin +Date: Sat Aug 16 20:35:54 2014 +0100 + + backend: gdk: add support for foreign windows on wayland + + https://bugzilla.gnome.org/show_bug.cgi?id=734935 + + clutter/gdk/clutter-stage-gdk.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit ccd2054fdaba013a9b99b5e0471f5c94203c606d +Author: Lionel Landwerlin +Date: Sat Aug 16 19:39:46 2014 +0100 + + backend: gdk: add translation code for touch events + + https://bugzilla.gnome.org/show_bug.cgi?id=734934 + + clutter/gdk/clutter-event-gdk.c | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +commit be8602fbb491c30c1e2febb92553375b2f4ce584 +Author: Emmanuele Bassi +Date: Fri Aug 15 12:11:20 2014 +0100 + + Revert "backend: try gdk backend before x11/wayland/egl" + + This reverts commit 398a7ac71333208e31d67f3ce50514fab58ba1bb. + + We cannot really use the GDK backend without massive regressions inside + the input layer, like touch events and gestures. The GDK backend is not + entirely up to scratch, and it's late in the cycle. + + Let's land this early in 3.15, and get it up to par with X11. + + clutter/clutter-backend.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit f12c174d721f39a19beb782586665d0ce3f6e350 +Author: Emmanuele Bassi +Date: Fri Aug 15 12:07:48 2014 +0100 + + Remove unused internal 'in-resize' flag + + A remnant of days gone by. + + clutter/clutter-private.h | 11 ++--------- + clutter/gdk/clutter-stage-gdk.c | 3 --- + clutter/x11/clutter-stage-x11.c | 5 ----- + 3 files changed, 2 insertions(+), 17 deletions(-) + +commit 398a7ac71333208e31d67f3ce50514fab58ba1bb +Author: Lionel Landwerlin +Date: Sun Aug 10 20:19:30 2014 +0100 + + backend: try gdk backend before x11/wayland/egl + + Quite a few people at Guadec complained of pinpoint being broken in + speaker+fullscreen mode, with slides being half displayed. It turns + out that the X11 backend of clutter was being used and this backend + assumes the size of the current monitor is the size of the X screen + (that's not the case with multiple monitors). + + To work around the shortcomings of the X11 backend we should probably + position the GDK one before. GDK implements most of the logic the + ClutterStage needs and is probably more tested. + + https://bugzilla.gnome.org/show_bug.cgi?id=734587 + + clutter/clutter-backend.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit f95493e7bff650f7c2da4d8bfe50a498cc652ddf +Author: Rui Matos +Date: Sun Jul 6 17:43:14 2014 +0200 + + evdev: Add API to set the xkb layout index + + https://bugzilla.gnome.org/show_bug.cgi?id=733202 + + clutter/evdev/clutter-device-manager-evdev.c | 32 ++++++++++++++++++++++++++++ + clutter/evdev/clutter-evdev.h | 4 ++++ + 2 files changed, 36 insertions(+) + +commit 72aaeed3f5623e37625a6658a712e48e4394a91b +Author: Tom Beckmann +Date: Sat Jul 19 02:44:20 2014 +0200 + + canvas: assign white to paint color for texture node + + To get correct premultiplied opacity on a canvas content, white needs + to be assigned to the color that is passed to the texture node. The + content will be very dark for lower opacity values otherwise. + + https://bugzilla.gnome.org/show_bug.cgi?id=733385 + + clutter/clutter-canvas.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 8e56cef40b883d90e10b6d5169357a73233193c8 +Author: Emmanuele Bassi +Date: Thu Jul 24 00:20:26 2014 +0100 + + Post-release version bump to 1.19.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1e07fd7d7fb0eb648ff407b193ac9df1725d360c +Author: Emmanuele Bassi +Date: Thu Jul 24 00:12:47 2014 +0100 + + Release Clutter 1.19.6 (snapshot) + + NEWS | 30 ++++++++++++++++++++++++++++++ + README.in | 9 +++++++++ + configure.ac | 2 +- + 3 files changed, 40 insertions(+), 1 deletion(-) + +commit d33d2d1f472c82866a90179f89468ceb9e72eff1 +Author: Emmanuele Bassi +Date: Thu Jul 24 00:11:30 2014 +0100 + + conform: Fix actor-shader-effect + + The porting to the ::after-paint signal was missing the boolean flag + passed as a user data. + + tests/conform/actor-shader-effect.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 0c0c069b3fa1cdf003839b4581906b989f379b1a +Author: Carlos Garnacho +Date: Mon Jul 21 23:44:10 2014 +0200 + + input-device: Ensure crossing events are paired for touch sequences + + When the sequence is lifted the actor wouldn't be unset, so the corresponding + CLUTTER_LEAVE event would never be sent for the touch sequence. + + https://bugzilla.gnome.org/show_bug.cgi?id=733560 + + clutter/clutter-input-device.c | 1 + + 1 file changed, 1 insertion(+) + +commit 9e8c92d66a7dc0243f3a0a51ca46ca71c533a7d7 +Author: Carlos Garnacho +Date: Mon Jul 21 23:48:42 2014 +0200 + + evdev: Update xkb state after input is resumed + + xkb_state creation has been refactored out of clutter_evdev_set_keyboard_map(), + and used too in clutter_evdev_reclaim_devices(), so the xkb_state is fresh + clean after input is paused/resumed (and keyboard state possibly changed in + between) + + https://bugzilla.gnome.org/show_bug.cgi?id=733562 + + clutter/evdev/clutter-device-manager-evdev.c | 73 ++++++++++++++++++---------- + 1 file changed, 46 insertions(+), 27 deletions(-) + +commit 958ffd4d40de4edb46140c7a282176aa8bb734c2 +Author: Carlos Garnacho +Date: Mon Jul 21 23:46:44 2014 +0200 + + event: define a boxed type for ClutterEventSequence + + This allows for some minimal interaction from bindings. + + https://bugzilla.gnome.org/show_bug.cgi?id=733561 + + clutter/clutter-event.c | 17 +++++++++++++++++ + clutter/clutter-event.h | 4 ++++ + 2 files changed, 21 insertions(+) + +commit c167d3a4d307d759d461ddca56ebeb4bbd74dce6 +Author: Giovanni Campagna +Date: Thu Jul 17 10:53:32 2014 +0200 + + ClutterAnimation: fix memory leak + + We need to unref the timeline + + https://bugzilla.gnome.org/show_bug.cgi?id=733300 + + clutter/deprecated/clutter-animation.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit f6fd02970c29e58c217ef5563d8d5c53be81acd9 +Author: Carlos Garnacho +Date: Fri Jul 11 15:30:29 2014 +0200 + + evdev: Set button modifier state to input devices. + + Input devices must get the proper button state, in addition to keyboard + modifiers. + + https://bugzilla.gnome.org/show_bug.cgi?id=733062 + + clutter/evdev/clutter-device-manager-evdev.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 8d669ab8ceb9ad1cfb03e69d32e30033070961a6 +Author: Carlos Garnacho +Date: Tue Jul 8 18:20:26 2014 +0200 + + gesture-action: Prepare for clutter_gesture_action_cancel() within ::gesture-end + + There may be odd situations where full gesture cancellation may be wanted at once + when the first touch is lifted and ::gesture-end is emitted on a gesture action. + Although calling clutter_gesture_action_cancel() within the ::gesture-end handler + causes 2 critical warnings that are otherwise harmless. + + https://bugzilla.gnome.org/show_bug.cgi?id=732907 + + clutter/clutter-gesture-action.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit ec911dc8b96a6cceac2a6582679528f2d599cb32 +Author: Owen W. Taylor +Date: Thu Jun 5 15:21:05 2014 -0400 + + ClutterStage: Replace clutter_stage_set_paint_callback() with ::after-paint signal + + clutter_stage_set_paint_callback() has the disadvantage that it only + works for a single caller, and subsequent callers will overwrite and + break previous callers. Replace it with an ::after-paint signal that is + emitted at the same point - after all painting for the stage is + completed but before the drawing is presented to the screen. + + https://bugzilla.gnome.org/show_bug.cgi?id=732342 + + clutter/clutter-stage.c | 61 ++++++++------------------ + clutter/clutter-stage.h | 9 ---- + doc/reference/clutter/clutter-sections.txt | 1 - + tests/conform/actor-offscreen-limit-max-size.c | 6 +-- + tests/conform/actor-shader-effect.c | 6 +-- + 5 files changed, 23 insertions(+), 60 deletions(-) + +commit 9c74b983100c5eb6e4b7d5921371f66b5965a434 +Author: Emmanuele Bassi +Date: Wed Jun 25 17:09:23 2014 +0100 + + Post-release version bump to 1.19.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d541efca2f7641f79b8153e516ac9b02d03f37c3 +Author: Emmanuele Bassi +Date: Wed Jun 25 17:02:00 2014 +0100 + + Release Clutter 1.19.4 (snapshot) + + NEWS | 23 +++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 24 insertions(+), 1 deletion(-) + +commit 036c2b3764824a8980b1ae052df4becdb26d4bbb +Author: Emmanuele Bassi +Date: Wed Jun 25 16:58:18 2014 +0100 + + gesture-action: Use event type getter + + Don't use direct struct access. + + clutter/clutter-gesture-action.c | 16 ++++++++++------ + 1 file changed, 10 insertions(+), 6 deletions(-) + +commit 02590f08ac81a24c476fdf18d79ceffdfe7f1a34 +Author: Carlos Garnacho +Date: Wed Jun 25 13:14:44 2014 +0200 + + gesture-action: Ignore any other event than press/update/release ones + + CLUTTER_ENTER/LEAVE might be processed too, leading to accounting of the + NULL sequence (ie. pointer) in the gesture, and fooling the gesture with + a static extra point that wouldn't go away. + + https://bugzilla.gnome.org/show_bug.cgi?id=732235 + + clutter/clutter-gesture-action.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 4c4e72a9dc3674774a8d38054a4bb8b95fdd972b +Author: Carlos Garnacho +Date: Wed Jun 25 12:59:34 2014 +0200 + + x11: Set the input device stage on XI_TouchBegin, if not already set + + Until now, touch events sort of rely on XI_Enter/XI_Leave events accompanying + the pointer emulating touch in order to have a stage set on the device, These + events won't happen though if it's not a pointer emulating touch which happens + on the stage, causing touch events to be ignored. + + Fix this by ensuring that the input device has a stage on XI_TouchBegin itself, + but only if it's not already set, so we don't possibly steal touch events to + an already interacting stage. + + https://bugzilla.gnome.org/show_bug.cgi?id=732234 + + clutter/x11/clutter-device-manager-xi2.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 42f6828c9cf151e350dd0df47a194cf0ac63a904 +Author: Carlos Garnacho +Date: Wed Jun 25 12:52:44 2014 +0200 + + input-device: Do not unset the device stage after the last touch is lifted + + On X11 the pointer will follow a "pointer emulating" touch sequence, so the + pointer will be effectively left inside the stage after that touch is lifted, + even though the master device stage is unset. This makes pointer events get + ignored until the pointer leaves and enters again the stage. + + https://bugzilla.gnome.org/show_bug.cgi?id=732234 + + clutter/clutter-input-device.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 8d89294ef629b575caae06b2d29659ac7f154255 +Author: Emmanuele Bassi +Date: Wed Jun 25 15:16:30 2014 +0100 + + drop-action: Use the right state for events + + The 'state' field should be used for pointer events without button + information. Pointer events that have button information should use + the 'button' field. + + https://bugzilla.gnome.org/show_bug.cgi?id=732143 + + clutter/clutter-drop-action.c | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +commit acde9b1dff733d19aa729d28b6a8dbccd0be49d9 +Author: Emmanuele Bassi +Date: Wed Jun 25 12:42:58 2014 +0100 + + docs: Add missing symbols + + doc/reference/clutter/clutter-sections.txt | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 2a3498d6c9f6d28ab7042820628009c896c5c9b1 +Author: Emmanuele Bassi +Date: Wed Jun 25 12:18:37 2014 +0100 + + build: Warn for experimental input backend + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ac26dbbbe94f522438648452d262df0836f54507 +Author: Emmanuele Bassi +Date: Wed Jun 25 12:18:02 2014 +0100 + + evdev: Update after libinput API changes + + clutter/evdev/clutter-device-manager-evdev.c | 46 +++++++++++++++------------- + 1 file changed, 24 insertions(+), 22 deletions(-) + +commit 3b77e5565c0d63ceb8a2eb848aea1e69e9aa4d46 +Author: Emmanuele Bassi +Date: Wed Jun 25 12:17:37 2014 +0100 + + Bump up the requirement for libinput + + There have been API breakages in libinput since 0.3.0. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9c9b37cb210db79efc95f037d565587e3fbb7fd3 +Author: Emmanuele Bassi +Date: Wed Jun 25 12:04:44 2014 +0100 + + conform: Ensure to disable diagnostic messages + + We don't want tests to fail for deprecation messages; we already disable + deprecation warnings from the compiler for the same reason. + + tests/conform/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4cdcbcb2b1d339466911d523fb116719c94eb0eb +Author: Jasper St. Pierre +Date: Tue May 27 14:03:09 2014 -0400 + + evdev: Add clutter_evdev_warp_pointer + + https://bugzilla.gnome.org/show_bug.cgi?id=731536 + + clutter/evdev/clutter-device-manager-evdev.c | 27 +++++++++++++++++++++++++++ + clutter/evdev/clutter-evdev.h | 6 ++++++ + 2 files changed, 33 insertions(+) + +commit 31749cfa47babaf3a76292a40fabb768852dcc96 +Author: Jonas Ådahl +Date: Thu Jun 5 09:50:33 2014 +0200 + + evdev: Follow libinput enum rename + + s/libinput_pointer_button_state/libinput_button_state/ + s/LIBINPUT_POINTER_BUTTON_STATE_/LIBINPUT_BUTTON_STATE_/ + + https://bugzilla.gnome.org/show_bug.cgi?id=731254 + + clutter/evdev/clutter-device-manager-evdev.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 61929e26e1449a8cbe27086776838d09f446ea7e +Author: Jonas Ådahl +Date: Mon Jun 2 23:16:21 2014 +0200 + + evdev: Used floating point instead of fixed point numbers + + Following the API change in libinput, change the uses of fixed point + numbers to floating point numbers. + + https://bugzilla.gnome.org/show_bug.cgi?id=731178 + + clutter/evdev/clutter-device-manager-evdev.c | 40 ++++++++++------------------ + clutter/evdev/clutter-input-device-evdev.h | 2 -- + configure.ac | 2 +- + 3 files changed, 15 insertions(+), 29 deletions(-) + +commit 499f2e5831f91bdd968eaa7ace59e7cd62513edc +Author: Chun-wei Fan +Date: Mon Jun 9 18:54:58 2014 +0800 + + MSVC 2010+ Projects: Update "Installation" Process + + Currently, due to the way that Visual Studio 2010+ projects are handled, + the "install" project does not re-build upon changes to the sources, as it + does not believe that its dependencies have changed, although the changed + sources are automatically recompiled. This means that if a part or more + of the solution does not build, or if the sources need some other fixes + or enhancements, the up-to-date build is not copied automatically, which + can be misleading. + + Improve on the situation by forcing the "install" project to trigger its + rebuild, so that the updated binaries can be copied. This does trigger an + MSBuild warning, but having that warning is way better than not having an + up-to-date build, especially during testing and development. + + build/win32/vs10/clutter-install.props | 18 +++++++++++++++--- + build/win32/vs10/install.vcxproj | 28 ++++++++++++++++------------ + 2 files changed, 31 insertions(+), 15 deletions(-) + +commit fcdd222c61da457ed56bc58ef346e896776fe257 +Author: Gustavo Noronha Silva +Date: Thu Jun 5 09:42:05 2014 -0300 + + device-manager-xi2: use allocation for clamping + + The coordinates translated by the XI2 device manager were being clamped using + the X window size kept by StageX11. However, when the stage is fullscreen, + that size is not updated to the screen size, but kept the same in order to + allow going back to it when the stage goes out of fullscreen. + + https://bugzilla.gnome.org/show_bug.cgi?id=731268 + + clutter/x11/clutter-device-manager-xi2.c | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +commit eb734e8b62755b536457035e554023196f670d51 +Author: Emmanuele Bassi +Date: Wed May 28 23:09:22 2014 +0100 + + Post-release version bump to 1.19.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit be060f44808a7c8bd5c503956e9f984a7c7df8f9 +Author: Emmanuele Bassi +Date: Wed May 28 23:00:10 2014 +0100 + + Release Clutter 1.19.2 + + NEWS | 22 ++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 23 insertions(+), 1 deletion(-) + +commit 7ed92c845fbaf145e0afe9182ba564898fd734e9 +Author: Jonas Ådahl +Date: Sun Jan 5 16:03:59 2014 +0100 + + Fix scaling of pointer axis vectors + + The vector of libinput and Wayland pointer axis events are in pointer + motion coordinate space. To convert to clutter's internal representation + the vectors need to be scaled to Xi2 scroll steps. + + https://bugzilla.gnome.org/show_bug.cgi?id=723560 + + clutter/evdev/clutter-device-manager-evdev.c | 6 +++++- + clutter/wayland/clutter-input-device-wayland.c | 9 +++++++-- + 2 files changed, 12 insertions(+), 3 deletions(-) + +commit 3da27a4f084b2cf8664a3a2ba6c3ca66f20807de +Author: Jonas Ådahl +Date: Mon Feb 10 23:35:58 2014 +0100 + + wayland: Fix coding style issues + + Signed-off-by: Jonas Ådahl + + https://bugzilla.gnome.org/show_bug.cgi?id=723560 + + clutter/wayland/clutter-input-device-wayland.c | 24 ++++++++++++------------ + 1 file changed, 12 insertions(+), 12 deletions(-) + +commit ed538a6d2c4cad2dcdd00353ded049a6c371b08b +Author: Carlos Garnacho +Date: Thu May 22 13:27:43 2014 +0200 + + stage: Only compress consecutive touch events from the same sequence + + And get CLUTTER_EVENT_LEAVE out of the touch event compression logic, as + touches are always implicitly grabbed. If no sequence check is done, only + the last touch update would be emitted, even if multiple sequences got + updated. + + https://bugzilla.gnome.org/show_bug.cgi?id=730577 + + clutter/clutter-stage.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit fd8705b9c641c5e15f3120526feb6e7900c2ac8f +Author: Carlos Garnacho +Date: Wed May 21 15:15:01 2014 +0200 + + gesture-action: Fix typo in clutter_gesture_action_get_threshold_trigger_egde() + + Let's cross fingers and hope nobody notices. If this went unnoticed so far, likely + means this function has never been used. If any complain is raised about this, a + stub function should be added (and marked deprecated). + + clutter/clutter-gesture-action.c | 4 ++-- + clutter/clutter-gesture-action.h | 2 +- + doc/reference/clutter/clutter-sections.txt | 2 +- + 3 files changed, 4 insertions(+), 4 deletions(-) + +commit 9510d6ac95c5be5846c9fe626710e3ad12125a37 +Author: Carlos Garnacho +Date: Fri Apr 25 20:14:01 2014 +0200 + + evdev: Add clutter_evdev_event_sequence_get_slot() + + This function helps know the libinput slot used by a sequence. + + https://bugzilla.gnome.org/show_bug.cgi?id=728968 + + clutter/evdev/clutter-evdev.h | 3 +++ + clutter/evdev/clutter-input-device-evdev.c | 20 ++++++++++++++++++++ + 2 files changed, 23 insertions(+) + +commit 50b3d7cd9b16f4526f3944b7bb7f86961bba3e61 +Author: Carlos Garnacho +Date: Fri Apr 25 20:07:53 2014 +0200 + + evdev: Manage LIBINPUT_EVENT_TOUCH_* events + + Those are translated into CLUTTER_TOUCH_* ClutterEvents. As the + "NULL" ClutterEventSequence is special cased, the slot=0 value is + avoided. + + Frame events are ignored, as there is no Clutter equivalence, and + Cancel events are sent to all current individual touches. + + https://bugzilla.gnome.org/show_bug.cgi?id=728968 + + clutter/evdev/clutter-device-manager-evdev.c | 216 +++++++++++++++++++++++++++ + 1 file changed, 216 insertions(+) + +commit 76d48f79d655095b89afef6211a61aae834da805 +Author: Carlos Garnacho +Date: Fri Apr 25 20:03:09 2014 +0200 + + evdev: Set core device on translated events + + And ensure the core pointer shares the same stage than the slave + device when those events are set. This fixes problems on the evdev + backend where the last touch unsets the stage on the device, but + nothing sets it back afterwards. + + https://bugzilla.gnome.org/show_bug.cgi?id=728968 + + clutter/evdev/clutter-device-manager-evdev.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 8857b19d4926a153cb2317951dc5cba6c04f79f5 +Author: Carlos Garnacho +Date: Fri Apr 25 19:58:43 2014 +0200 + + evdev: Add function to get the libinput_device from a ClutterInputDevice + + This may be useful for deeper libinput integration that's not in the scope + of Clutter. + + https://bugzilla.gnome.org/show_bug.cgi?id=728967 + + clutter/evdev/clutter-evdev.h | 3 +++ + clutter/evdev/clutter-input-device-evdev.c | 24 ++++++++++++++++++++++++ + 2 files changed, 27 insertions(+) + +commit 91ee1ceca452176667708ad898cd59196712a76d +Author: Carlos Garnacho +Date: Fri Apr 25 19:54:35 2014 +0200 + + evdev: Add evdev specific event filter function + + This function can be used to intercept or translate events + that are unmanaged by clutter itself. + + https://bugzilla.gnome.org/show_bug.cgi?id=728967 + + clutter/evdev/clutter-device-manager-evdev.c | 132 +++++++++++++++++++++++++++ + clutter/evdev/clutter-evdev.h | 11 +++ + 2 files changed, 143 insertions(+) + +commit b66fec0450dc55f7221dc4e84c406ef30c4d177d +Author: Jasper St. Pierre +Date: Fri Feb 28 10:15:45 2014 -0500 + + egl: Add a way to pause the ClutterMasterClock + + When VT switched away, we need to pause the ClutterMasterClock, + stop processing events, and stop trying to flip. + + https://bugzilla.gnome.org/show_bug.cgi?id=730215 + + clutter/clutter-master-clock.c | 15 +++++++++ + clutter/clutter-master-clock.h | 2 ++ + clutter/egl/clutter-backend-eglnative.c | 54 +++++++++++++++++++++++++++++++++ + clutter/egl/clutter-egl.h | 5 +++ + 4 files changed, 76 insertions(+) + +commit 32af6a3ef4c62fabf74945ef67c0eef807298fe9 +Author: Jasper St. Pierre +Date: Mon May 19 11:46:17 2014 -0400 + + evdev: Fix a compile warning + + device_type_str is only used inside a CLUTTER_NOTE, which evaluate + to nothing when CLUTTER_ENABLE_DEBUG is off. + + clutter/evdev/clutter-device-manager-evdev.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit d708c3076550e09de146b8cf3832137f5d7ec9d0 +Author: Emmanuele Bassi +Date: Mon May 19 17:55:52 2014 +0100 + + Provide 1.20 version macros + + clutter/clutter-macros.h | 14 ++++++++++++++ + clutter/clutter-version.h.in | 10 ++++++++++ + 2 files changed, 24 insertions(+) + +commit 1eb6f2420b951157ca5ebd3d01f06a2cd0596bda +Author: Emmanuele Bassi +Date: Mon May 19 17:55:40 2014 +0100 + + Bump to 1.19.1 + + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit cbc3a41dc255081422f68928724534f7cf8ad717 +Author: Carles Ferrando +Date: Mon May 12 23:45:42 2014 +0200 + + [l10n] Updated Catalan (Valencian) translation + + po/ca@valencia.po | 1529 +++++++++++++++++++++++++++-------------------------- + 1 file changed, 793 insertions(+), 736 deletions(-) + +commit 4b430ee098cf56fbb75f5cc6c1c912ca041e3b70 +Author: Pau Iranzo +Date: Mon May 12 23:45:33 2014 +0200 + + [l10n] Update Catalan translation + + po/ca.po | 1142 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 595 insertions(+), 547 deletions(-) + +commit 812f0d9880e6666b71f1da770bd0239607a39707 +Author: Christian Kirbach +Date: Fri May 2 10:42:23 2014 +0000 + + Updated German translation + + po/de.po | 1135 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 602 insertions(+), 533 deletions(-) + +commit bf5fe70e23287bfb08872cddf86266f43ac09f4c +Author: Gustavo Noronha Silva +Date: Mon Apr 28 16:03:13 2014 -0300 + + clutter-canvas: cache the texture to avoid uploads + + When an actor carrying canvas content is repainted, it will currently reupload + the data from the buffer to a texture. While this is not a performance problem + on a desktop, some mobile environments take a big performance hit. This + change tracks data changes and only recreates the texture if necessary. + + https://bugzilla.gnome.org/show_bug.cgi?id=729144 + + clutter/clutter-canvas.c | 33 +++++++++++++++++++++++---------- + 1 file changed, 23 insertions(+), 10 deletions(-) + +commit eb94490fe41cb916132330eaab794b4e761fe25e +Author: Matej Urbančič +Date: Mon Apr 28 21:37:00 2014 +0200 + + Updated Slovenian translation + + po/sl.po | 0 + 1 file changed, 0 insertions(+), 0 deletions(-) + +commit a5ff1c45c9f04819fd4f549ba01bda6a502ddfb5 +Author: Matej Urbančič +Date: Mon Apr 28 21:36:02 2014 +0200 + + Updated Slovenian translation + + po/sl.po | 1116 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 588 insertions(+), 528 deletions(-) + +commit 0255b5a13366784a0d89bb214d8de7c37da25655 +Author: Emmanuele Bassi +Date: Sat Apr 26 20:50:43 2014 +0100 + + docs: Add an explicit example of image loading + + Using GdkPixbuf, which is what we expect people to use anyway. + + clutter/clutter-image.c | 22 ++++++++++++++++++++++ + 1 file changed, 22 insertions(+) + +commit 10ff9a4679c9644c733ee35b50e82a82af78265c +Author: Emmanuele Bassi +Date: Sat Apr 26 20:50:29 2014 +0100 + + docs: Fix the ClutterImage example URL + + clutter/clutter-image.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 86de09b58f286071c20e8a53e7f63a6528749b54 +Author: Dirgita +Date: Tue Apr 22 14:25:43 2014 +0000 + + Updated Indonesian translation + + po/id.po | 17 +++++++++-------- + 1 file changed, 9 insertions(+), 8 deletions(-) + +commit d7b183a4e3927a571e6605a5740d555e168007b7 +Author: Gustavo Noronha Silva +Date: Fri Apr 18 15:10:42 2014 -0300 + + clutter-main: start mainloop timer on clutter_init() + + By creating and starting the timer on clutter_main() an assumption is made + that that is how the main loop will be run for all clutter applications. + With more and more applications moving to GApplication, this assumption no + longer holds true. + + Moving to clutter_init() means we are starting the timer earlier than we + should, and by not stopping it when the main loop quits we are taking a + measure that is later than we should. I believe it is safe to consider + those are close enough to the actual beginning and quitting of the main + loop in practice. + + https://bugzilla.gnome.org/show_bug.cgi?id=728521 + + clutter/clutter-main.c | 21 ++++++++++----------- + 1 file changed, 10 insertions(+), 11 deletions(-) + +commit 20e619f8a68b29421463a76c87b767bdf4fd0414 +Author: Chun-wei Fan +Date: Thu Apr 17 10:52:19 2014 +0800 + + Visual Studio Builds: Avoid Implicit Linking to SDL + + Cogl, when built with the SDL winsys, will include the SDL headers when + Cogl-based programs are built, which causes the SDL's wrapper for main() + to be used on Windows, causing an implicit requirement that all Cogl-based + apps must link to SDL2.lib and SDL2main.lib. Avoid this behavior by + defining SDL_MAIN_HANDLED in the CFLAGS of the sample and interactive test + programs + + build/win32/vs10/clutter-build-defines.props | 8 ++++++-- + build/win32/vs10/test-cogl-perf.vcxproj | 8 ++++---- + build/win32/vs10/test-picking.vcxproj | 8 ++++---- + build/win32/vs10/test-random-text.vcxproj | 8 ++++---- + build/win32/vs10/test-text-perf.vcxproj | 8 ++++---- + build/win32/vs10/test-text.vcxproj | 8 ++++---- + build/win32/vs9/clutter-build-defines.vsprops | 8 ++++++-- + build/win32/vs9/test-cogl-perf.vcproj | 8 ++++---- + build/win32/vs9/test-picking.vcproj | 8 ++++---- + build/win32/vs9/test-random-text.vcproj | 8 ++++---- + build/win32/vs9/test-text-perf.vcproj | 8 ++++---- + build/win32/vs9/test-text.vcproj | 8 ++++---- + 12 files changed, 52 insertions(+), 44 deletions(-) + +commit 2e8b1606e97bd2cfdd775d47e3b5a5394b614400 +Author: Inaki Larranaga Murgoitio +Date: Wed Apr 16 17:12:16 2014 +0200 + + Updated Basque language + + po/eu.po | 2852 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2852 insertions(+) + +commit 6f370079ce9f9ab85e07c76e98a3352d0ddc8a8f +Author: Emmanuele Bassi +Date: Mon Apr 14 23:19:51 2014 +0100 + + Post-release version bump to 1.18.3 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 9cb351f39396e5b27c716a20824fce31e5e1244a +Author: Emmanuele Bassi +Date: Mon Apr 14 22:53:19 2014 +0100 + + Release Clutter 1.18.2 + + NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 43 insertions(+), 2 deletions(-) + +commit ef2a94de9352de550b7837d2474aab118bea1bd0 +Author: Emmanuele Bassi +Date: Mon Apr 14 22:23:36 2014 +0100 + + master-clock: Clean up the over-budget diagnostic + + Use the difference between the elapsed time and the available budget, so + that the message can be read more easily. + + clutter/clutter-master-clock.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit b2e8bbe9e9ce3bc1573d5dc69b8dc18c5d4538f2 +Author: Vadim Rutkovsky +Date: Mon Apr 14 09:02:05 2014 -0400 + + Add 1.10 as a valid lcov version + + https://bugzilla.gnome.org/show_bug.cgi?id=728177 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3517c11c9bfc248eb589a6c8c43bfdc6b8656029 +Author: Adel Gadllah +Date: Thu Apr 10 21:06:47 2014 +0200 + + stage-cogl: Don't mess with the damage_history list when buffer_age is not available + + clutter/cogl/clutter-stage-cogl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 79297d5c1cd0edd80aa79740b83d58025478ed12 +Author: maria thukididu +Date: Sun Apr 6 19:48:17 2014 +0300 + + Updated Greek translation + + po/el.po | 1022 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 530 insertions(+), 492 deletions(-) + +commit f9d99d1c4e573d08bdada42c0b70c984476c9541 +Author: Emmanuele Bassi +Date: Wed Apr 2 19:25:55 2014 +0100 + + test-utils: Skip tests if no DISPLAY is set + + Instead of just bailing out when initializing the test suite, we can do + a much better job and skip all the tests. This means that the TAP driver + will work correctly instead of dying a horrible death, and we get a nice + report with a proper cause of the test skipping. + + clutter/clutter-test-utils.c | 28 ++++++++++++++++++++++------ + 1 file changed, 22 insertions(+), 6 deletions(-) + +commit f065a34e4698af8e4b04a939c077d348e5294236 +Author: Emmanuele Bassi +Date: Mon Mar 24 13:20:48 2014 +0000 + + Remove clutter.symbols + + The Visual Studio build files have been updated to not use it, so we can + remove it from the repository. + + clutter/Makefile.am | 1 - + clutter/clutter.symbols | 1669 ----------------------------------------------- + 2 files changed, 1670 deletions(-) + +commit 363c0d2f7aec5ce3ce3601dbcca482a601bd86b3 +Author: Emilio Pozuelo Monfort +Date: Tue Mar 25 13:44:34 2014 +0100 + + wayland: Add missing CLUTTER_AVAILABLE annotations + + Signed-off-by: Emilio Pozuelo Monfort + + https://bugzilla.gnome.org/show_bug.cgi?id=727020 + + clutter/wayland/clutter-wayland-surface.h | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 678aaa3795be8d22b37f6d54d1478ec4428db012 +Author: Andika Triwidada +Date: Fri Mar 21 10:38:32 2014 +0000 + + Updated Indonesian translation + + po/id.po | 950 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 472 insertions(+), 478 deletions(-) + +commit 62688569a8d38e1f510e9e752789a616faea205c +Author: teuf +Date: Fri Mar 21 08:31:19 2014 +0000 + + Updated French translation + + po/fr.po | 215 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 109 insertions(+), 106 deletions(-) + +commit 5d53620bb94e428f891d1d0c143c2afd47b1466b +Author: David Warman +Date: Tue Feb 25 18:14:00 2014 +0000 + + stage: re-implement minimal paint() method to respect Z order + + Without a paint() implementation in clutter-stage, the function + from clutter-group is used. That class has its own child list, + but attempts to use sort_depth_order, which is empty in this case. + + This provides a partial fix by replacing a minimal paint(), see: + + https://bugzilla.gnome.org/show_bug.cgi?id=711645 + + clutter/clutter-stage.c | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +commit 2b3fac8b3ddc51b2bef5f294495472ce00924efa +Author: Chun-wei Fan +Date: Fri Mar 21 00:33:10 2014 +0800 + + clutter-version.h.in: Refine how CLUTTER_VAR is Defined + + Define CLUTTER_VAR like how it is done on GLib, so that the version + constants can be exported and imported appropriately on different + compilers. + + https://bugzilla.gnome.org/show_bug.cgi?id=726762 + + clutter/clutter-version.h.in | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit d42cb2a4d3027b867625dd90afe391e3cc3027fe +Author: Chun-wei Fan +Date: Thu Mar 20 22:56:07 2014 +0800 + + MSVC Build: Update Clutter DLL Build Defines + + Define DLL_EXPORT when we are building the Clutter DLL, to ensure that + constants are exported properly. + + https://bugzilla.gnome.org/show_bug.cgi?id=726762 + + build/win32/vs10/clutter-build-defines.props | 2 +- + build/win32/vs9/clutter-build-defines.vsprops | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 4c204a4f3eb70e79e3a348b6347bc9686ab9f25e +Author: Chun-wei Fan +Date: Thu Mar 20 14:32:26 2014 +0800 + + clutter-event-win32.c: Avoid a Crash + + Commit e70a0109 simplified the dispatching of events by passing the event's + owernership to ClutterStage, but it may be so that any.stage is NULL at + some point on Windows, which will either cause _clutter_stage_queue_event() + to crash or issue a critical warning. Avoid this problem by checking + whether event->any.stage is not NULL before trying to call + _clutter_stage_queue_event(). + + https://bugzilla.gnome.org/show_bug.cgi?id=726765 + + clutter/win32/clutter-event-win32.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 891d3fce0084134a6f6b725557877c3d6c7e8ad2 +Author: Chun-wei Fan +Date: Thu Mar 20 09:30:17 2014 +0800 + + Fix on Last Commit of config.h.win32.in + + Missed a /* before an #undef line, causing build warnings, oops, sorry. + + clutter/config.h.win32.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 44d688cdfbec2ca7de589bb766720d57ea513991 +Author: Chun-wei Fan +Date: Thu Mar 20 09:18:57 2014 +0800 + + Update config.h.win32.in Further + + ...so that its entries will reflect the entries that are checked by the + autotools builds on config.h.in. Also take into consideration for MinGW + builds and for newer Visual Studio versions, such as the availability for + inttypes.h. Update the layout of the file cosmetic-wise as well. + + clutter/config.h.win32.in | 66 ++++++++++++++++++++++++++++++----------------- + 1 file changed, 42 insertions(+), 24 deletions(-) + +commit 783bc64a02f1bf946606d61cf92ce683513c0838 +Author: Chun-wei Fan +Date: Thu Mar 20 08:57:06 2014 +0800 + + Visual Studio Builds: Don't Generate a .def File + + Clutter, like GTK+ and GLib, has recently switched to a visibility-based + method of exporting symbols, so update the Visual Studio build files to + do likewise, by using __declspec (dllexport). This eliminats the need to + use a .def file to export the symbols. The pre-configured + config.h.win32.in is also updated accordingly for this purpose. The + clutter.symbols file can be dropped if it is not being used otherwise. + + build/win32/vs10/clutter-gen-srcs.props | 16 ------- + build/win32/vs10/clutter.vcxproj.filtersin | 1 - + build/win32/vs10/clutter.vcxprojin | 34 -------------- + build/win32/vs9/clutter-gen-srcs.vsprops | 14 ------ + build/win32/vs9/clutter.vcprojin | 74 ------------------------------ + clutter/config.h.win32.in | 7 +++ + 6 files changed, 7 insertions(+), 139 deletions(-) + +commit 8c9b5d0568c7bb6f809b2cd6c787f48deb0a87f2 +Author: Emmanuele Bassi +Date: Wed Mar 19 22:01:53 2014 +0000 + + Bump the dependency of Cogl to 1.17.5 + + The EGL/KMS backend requires unreleased API. + + https://bugzilla.gnome.org/show_bug.cgi?id=726703 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f06400da7d7dab4c0a06db9a23d6c40941da24f6 +Author: Ask H. Larsen +Date: Wed Mar 19 22:36:14 2014 +0100 + + Updated Danish translation + + po/da.po | 1100 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 580 insertions(+), 520 deletions(-) + +commit ccc5eb9f3588a3c66c2fc1f782b78e574e7ee5a7 +Author: Emmanuele Bassi +Date: Tue Mar 18 19:06:49 2014 +0000 + + build: Resync our copy of introspection.m4 + + build/autotools/introspection.m4 | 2 ++ + 1 file changed, 2 insertions(+) + +commit 6414c017192cdbacf7f60a3df33a7e04b0c34251 +Author: Emmanuele Bassi +Date: Tue Mar 18 14:26:54 2014 +0000 + + Post-release version bump to 1.18.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.pre-1.22 b/ChangeLog.pre-1.22 new file mode 100644 index 0000000..5ea86ee --- /dev/null +++ b/ChangeLog.pre-1.22 @@ -0,0 +1,4628 @@ +commit 22f340a6c8d174ed83331cefe53bbee35af54a97 +Author: Emmanuele Bassi +Date: Mon Mar 23 11:07:05 2015 +0000 + + Release Clutter 1.22.0 (stable) + + NEWS | 27 +++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 29 insertions(+), 2 deletions(-) + +commit 4f8643cea3cf867bfbaa43e5183c144ffdf19314 +Author: Emmanuele Bassi +Date: Mon Mar 23 10:56:32 2015 +0000 + + gdk: Fix mapping between frame clock and stages + + While each stage has at most a GdkFrameClock, the same GdkFrameClock + instance may drive multiple stages per frame. This means that the + mapping between a GdkFrameClock and a ClutterStage is a 1:M one, not a + 1:1. + + We should store a list of stages associated to each frame clock + instance, so that we can iterate over it when we need to update the + stages. + + This commit fixes redraws of applications using multiple stages, + especially when using clutter-gtk. + + clutter/gdk/clutter-master-clock-gdk.c | 104 ++++++++++++++++++++++----------- + 1 file changed, 70 insertions(+), 34 deletions(-) + +commit 0bb5993b2bc9d746935243f66d0a567790fca44d +Author: Emmanuele Bassi +Date: Sun Mar 22 15:41:28 2015 +0000 + + build: Remove unused internal define + + We haven't use HAVE_CLUTTER_GLX internally for a while; the last user + was Cally, which has been ported to the correct CLUTTER_WINDOWING_X11 + symbol. + + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +commit 38c4807230ad24fd5fb1a154cdff18493fda9760 +Author: Florian Müllner +Date: Sat Mar 21 16:43:09 2015 +0100 + + cally-actor: Don't assume X11 backend is used when supported + + _cally_actor_get_top_level_origin() uses a compile time check + without runtime check, which will obviously fail when another + backend like wayland is used. + + https://bugzilla.gnome.org/show_bug.cgi?id=746575 + + clutter/cally/cally-actor.c | 81 +++++++++++++++++++++++---------------------- + 1 file changed, 41 insertions(+), 40 deletions(-) + +commit fc5fe98c3f4fb2bea8d8092a9e05c3ab85e858ad +Author: Muhammet Kara +Date: Sat Mar 21 23:39:42 2015 +0000 + + Updated Turkish translation + + po/tr.po | 824 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 417 insertions(+), 407 deletions(-) + +commit 50c1c749ba28ca69e67edabc14206e9f9e10f6fe +Author: Muhammet Kara +Date: Sat Mar 21 23:35:58 2015 +0000 + + Updated Turkish translation + + po/tr.po | 2606 ++++++++++++++++++++++++++++++++++++++++---------------------- + 1 file changed, 1674 insertions(+), 932 deletions(-) + +commit 474a7d4449a9d2c7a6d4474146c300e45b495756 +Author: Ask H. Larsen +Date: Sat Mar 21 16:26:57 2015 +0100 + + Updated Danish translation + + po/da.po | 891 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 451 insertions(+), 440 deletions(-) + +commit a7fd072c4406c18ed598be66fc8cd9cf63d8ca50 +Author: Andika Triwidada +Date: Sat Mar 21 12:32:33 2015 +0000 + + Updated Indonesian translation + + po/id.po | 890 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 447 insertions(+), 443 deletions(-) + +commit 6564016d3b9cb2d25d8050b5036d1f80bd804759 +Author: Daniel Martinez +Date: Thu Mar 19 20:46:57 2015 +0100 + + Update Aragonese translation + + po/an.po | 1149 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 589 insertions(+), 560 deletions(-) + +commit 615b0f46ae487f291f92d6373a8d4bf438f705d8 +Author: Jonas Ådahl +Date: Tue Mar 17 10:58:35 2015 +0800 + + evdev: Keep track of the pointer coordinate ourself + + When multiple relative motion events are received and queued, we can't + base the relative => absolute motion conversion off of the stage pointer + position, since that is only updated when the queue is processed at + the beginning of each frame. The effect of trying to use the stage + pointer position was that subsequent motion events were effectively + dropped. + + To improve things, switch to keeping track of the pointer position + ourselves in the evdev backend and adding to that. + + This has the side effect of making the internal function + _clutter_input_device_set_coords not effect the internal coordinate + state of the evdev stage, but AFAICS there is nothing depending on that + so that should be fine. + + https://bugzilla.gnome.org/show_bug.cgi?id=746328 + + clutter/evdev/clutter-device-manager-evdev.c | 30 ++++++++++++++++------------ + 1 file changed, 17 insertions(+), 13 deletions(-) + +commit 83caeaae9b4e3b372c943573151bd612f15fe17f +Author: Emmanuele Bassi +Date: Tue Mar 17 13:47:08 2015 +0000 + + stage-cogl: Abort realize() if there's no CoglContext + + There's no point in trying to go ahead if we don't have a context to + create the CoglOnscreen framebuffer, and Cogl will crash anyway if we + pass NULL to the constructor. + + clutter/cogl/clutter-stage-cogl.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 6355b5ab786ac7b979a4d8c2fc7b925b696febd1 +Author: Baurzhan Muftakhidinov +Date: Sun Mar 15 17:47:29 2015 +0000 + + Added Kazakh translation + + po/kk.po | 2806 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2806 insertions(+) + +commit ce8b644b7850f3d9a7d8a9645cea08e32f2699dd +Author: Emmanuele Bassi +Date: Sun Mar 15 16:15:45 2015 +0000 + + Post-release version bump to 1.21.9 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 414907983e88b83328d2e65895d09981efd16ba4 +Author: Emmanuele Bassi +Date: Sun Mar 15 16:06:30 2015 +0000 + + Release Clutter 1.21.8 + + NEWS | 27 +++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 28 insertions(+), 1 deletion(-) + +commit 5a294124da266a12213660c502ab90f776b864ae +Author: Emmanuele Bassi +Date: Sun Mar 15 16:05:10 2015 +0000 + + build: Remove unnecessary argument for gtkdoc-scan + + We don't use deprecation guards any more, in favour of compiler + annotations and gtk-doc annotations. + + doc/reference/clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ce2d86515a58042011b41066492833d189f3fd1a +Author: Emmanuele Bassi +Date: Sun Mar 15 15:10:31 2015 +0000 + + rectangle: Fix the border drawing conditions + + And reorganize the code a bit while we're at it. + + clutter/deprecated/clutter-rectangle.c | 117 +++++++++++++++++---------------- + 1 file changed, 62 insertions(+), 55 deletions(-) + +commit 239280f855db26fec93646af51bbc772478ef698 +Author: Chris Wilson +Date: Wed Jan 28 22:08:03 2015 +0000 + + stage-cogl: Fix damage tracking with varying buffer ages + + With server-side buffer allocation, buffers may be returned out of order + (e.g. they may be held onto by external references or hardware). As such + we may see older buffers the frame after we discard the history from + seeing a very young buffer. To overcome this we want to keep the history + in a ring so we can keep track of older entries without keeping an + unbounded list. After converting to a ring, the maximum buffer age + observed during testing was 5 (expected value of 4), but before we could + see ages as high as 9 due to the huge latency spikes caused by doing full + buffer redraws (compounded by external listeners doing readback on the + damaged areas, for example vnc, drm/udl, prime). For this reason, a + maximum age of 16 was chosen to be suitably large enough to prevent these + worst cases from taxing the system. + + v2: Fix off-by-one in combining the damage histroy into the clipping + rectangle, and apply copious whitespace fixes. + + Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=745512 + References: https://bugzilla.gnome.org/show_bug.cgi?id=724788 + References: https://bugzilla.gnome.org/show_bug.cgi?id=669122 + + clutter/cogl/clutter-stage-cogl.c | 108 ++++++++++++++++++-------------------- + clutter/cogl/clutter-stage-cogl.h | 5 +- + 2 files changed, 54 insertions(+), 59 deletions(-) + +commit 55c957267ef241767ebd3891d49f06deb2ff4aa9 +Author: Chris Wilson +Date: Mon Mar 2 12:11:30 2015 +0000 + + stage-cogl: Use swap buffers with damage + + cogl provides an interface to pass along damage with the swap buffers + request. This is useful for the display servers and hardware to minimise + the work done in updating the screen and also reducing the work done by + external listeners (such as vnc, drm/udl and PRIME). + + Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=745512 + + clutter/cogl/clutter-stage-cogl.c | 52 +++++++++++++++++++++++---------------- + 1 file changed, 31 insertions(+), 21 deletions(-) + +commit a82b97e00050b578e8b11e1bdd31ab05c26a4f9d +Author: Emmanuele Bassi +Date: Sat Mar 14 23:26:39 2015 +0000 + + build: The EGL backend is no longer experimental + + It's used by GNOME Shell on Wayland, and it's automatically tested on + build.gnome.org — I say we can remove the experimental backend flag. + + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +commit 6de341392126e83e098a360b2d77f6259ee09a23 +Author: Emmanuele Bassi +Date: Sat Mar 14 23:15:01 2015 +0000 + + rectangle: Do not draw the border if bigger than the allocation + + If the rectangle is allocate a size smaller than the border, drawing the + border will end up with negative coordinates, and will mess up the whole + thing. Since rectangles don't have a minimum preferred size, we cannot + rely on the allocation being big enough to contain the border and the + background color. + + If the rectangle is smaller than the border width value, we just paint + the border color as well. + + clutter/deprecated/clutter-rectangle.c | 30 ++++++++++++++++++++++-------- + 1 file changed, 22 insertions(+), 8 deletions(-) + +commit 56baa51b1a7a8d7bc30909cfc80f2886d4069e34 +Author: Samir Ribic +Date: Fri Mar 13 20:57:36 2015 +0000 + + Added Bosnian translation + + po/bs.po | 2836 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2836 insertions(+) + +commit a740366369d5c112c7aade7cb090e7088ad81dad +Author: Emmanuele Bassi +Date: Thu Mar 12 17:42:22 2015 +0000 + + ignore: Add gtkdoc-check files + + .gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit 8af4dfc8aefabe393e8e0ac5cb12eb169effdc05 +Author: Emmanuele Bassi +Date: Thu Mar 12 17:40:24 2015 +0000 + + build: Enable gtk-doc check + + This should catch missing symbols during `make check`, and hopefully + lead to their addition prior to a release. + + doc/reference/clutter/Makefile.am | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 34b03aebafb5e4b8ed816dc1536a1f4e69c24b6d +Author: Emmanuele Bassi +Date: Thu Mar 12 17:39:26 2015 +0000 + + build: Add missing Mir includes for gtk-doc + + If we don't specify the files, gtk-doc won't find the symbols even if + they are documented. + + doc/reference/clutter/Makefile.am | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 1912f28063390c06aabeacc5e0634e8f2a52a23d +Author: Emmanuele Bassi +Date: Wed Mar 11 15:39:42 2015 +0000 + + docs: Remove leftover DocBook tags + + We use markdown for the documentation. + + clutter/clutter-color.c | 7 +++---- + clutter/clutter-main.c | 2 +- + clutter/clutter-paint-node.c | 7 +++---- + clutter/clutter-paint-nodes.c | 10 +++++----- + clutter/clutter-script.c | 5 ++--- + clutter/clutter-settings.c | 2 +- + clutter/x11/clutter-backend-x11.c | 8 +++----- + 7 files changed, 18 insertions(+), 23 deletions(-) + +commit c0d01f87d451cea0811df169f20a394360a40920 +Author: Rūdolfs Mazurs +Date: Thu Mar 12 21:47:36 2015 +0200 + + Updated Latvian translation + + po/lv.po | 1077 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 540 insertions(+), 537 deletions(-) + +commit a9d60574028c679932f61a72812485391dd2c951 +Author: Dušan Kazik +Date: Mon Mar 9 11:44:53 2015 +0000 + + Updated Slovak translation + + po/sk.po | 1546 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 795 insertions(+), 751 deletions(-) + +commit fefc2b53210d18ee62153631f78a048127119e66 +Author: Emmanuele Bassi +Date: Thu Mar 5 16:39:01 2015 +0000 + + docs: Improve more deprecation notices + + clutter/deprecated/clutter-alpha.c | 38 ++++++++++++++++++------------- + clutter/deprecated/clutter-animator.c | 4 +++- + clutter/deprecated/clutter-behaviour.c | 13 ++++------- + clutter/deprecated/clutter-fixed.h | 3 ++- + clutter/deprecated/clutter-frame-source.c | 8 +++---- + clutter/deprecated/clutter-group.c | 7 ++++-- + clutter/deprecated/clutter-media.c | 3 ++- + clutter/deprecated/clutter-shader.c | 2 +- + clutter/deprecated/clutter-state.c | 5 +++- + clutter/deprecated/clutter-timeout-pool.c | 6 ++--- + 10 files changed, 51 insertions(+), 38 deletions(-) + +commit 0b32b3a96a8c93929cbd1c71951508757d58452a +Author: Milo Casagrande +Date: Sun Mar 8 15:41:58 2015 +0000 + + Updated Italian translation + + po/it.po | 1120 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 553 insertions(+), 567 deletions(-) + +commit 4a55faf36ac8515ca0a5bebf0961b43e8aa20e4a +Author: Daniel Korostil +Date: Sun Mar 8 14:25:06 2015 +0200 + + Updated Ukrainian translation + + po/uk.po | 1120 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 559 insertions(+), 561 deletions(-) + +commit fc9248b3b63a5e1deccb814209799bf54ad6e87b +Author: Chun-wei Fan +Date: Fri Mar 6 18:47:45 2015 +0800 + + MSVC Builds: Rename "Install" projects + + Rename the install projects to clutter-install so that it would be easier + to use the project file set as a part of a grand solution file, such as + one that is used to build the entire Clutter stack. + + build/win32/vs10/Makefile.am | 2 +- + build/win32/vs10/{install.vcxproj => clutter-install.vcxproj} | 2 +- + build/win32/vs10/clutter.sln | 2 +- + build/win32/vs9/Makefile.am | 2 +- + build/win32/vs9/{install.vcproj => clutter-install.vcproj} | 4 ++-- + build/win32/vs9/clutter.sln | 2 +- + 6 files changed, 7 insertions(+), 7 deletions(-) + +commit 2312d26dfe1004af97fe5d6097ccc77604e5064a +Author: Chun-wei Fan +Date: Fri Mar 6 18:45:59 2015 +0800 + + MSVC Builds: "Install" .pdb Files + + "Install" the .pdb file for the Clutter DLL, that is already built + alongside with it with all builds. This commit will disable, for now, + the "installation" of the test/sample programs. + + build/win32/vs10/clutter-install.props | 6 +++--- + build/win32/vs9/clutter-install.vsprops | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +commit ddf1962c98151ed37d886765904bb3d6d7fc0923 +Author: Chun-wei Fan +Date: Fri Mar 6 18:44:17 2015 +0800 + + MSVC 2010 Builds: Fix .pdb Generation + + In order to make the .pdb filename match the filename of the target, the + .pdb filename must be specified for Visual Studio builds, if the target + filename does not match the project name. Update the Clutter main project + accordingly. + + build/win32/vs10/clutter.vcxprojin | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit aa62a5cb7fc7845dc5f9a0aaf116c7c26d79b33b +Author: Chun-wei Fan +Date: Fri Mar 6 18:37:04 2015 +0800 + + MSVC Builds: Speed Up Release Builds + + Use the multipropcessor compilation (/MP) option, which can help cut down + build times for release builds by quite a bit. A warning will be emitted + for debug builds, due to the use of /Gm, but the build will otherwise + proceed normally. + + Also use the /d2Zi+ compiler flag for MSVC 2010 (and later) builds, so that + more useful info would be logged to the .pdb files that are generated + during the build. + + build/win32/vs10/clutter-build-defines.props | 2 ++ + build/win32/vs9/clutter-build-defines.vsprops | 1 + + 2 files changed, 3 insertions(+) + +commit 432a38722abcac5b7b33874fc712630642b36b5f +Author: Chun-wei Fan +Date: Fri Mar 6 18:26:08 2015 +0800 + + MSVC 2010 Builds: Clean Up "Install" + + Remove the empty lines from the property sheet that is really not necessary + + build/win32/vs10/clutter-install.props | 147 --------------------------------- + 1 file changed, 147 deletions(-) + +commit 133545c0e187af63d3da7e34098c73dd34983abe +Author: Chun-wei Fan +Date: Fri Mar 6 18:15:08 2015 +0800 + + MSVC Builds: Update Clutter Main Project + + There is a new source needed to build the GDK backend, so include that in + the project files. + + build/win32/vs10/clutter.vcxproj.filtersin | 3 ++- + build/win32/vs10/clutter.vcxprojin | 8 +++++++- + build/win32/vs9/clutter.vcprojin | 8 +++++++- + 3 files changed, 16 insertions(+), 3 deletions(-) + +commit 79b1253bc821fd950f415710400e88fdd08f83c5 +Author: Emmanuele Bassi +Date: Thu Mar 5 13:18:37 2015 +0000 + + docs: Improve deprecation notices for ClutterAnimation + + clutter/deprecated/clutter-animation.c | 32 +++++++++++++++++++++++++------- + 1 file changed, 25 insertions(+), 7 deletions(-) + +commit 2a5b6d87538b648e95ade58f5f0a12cf13d624e1 +Author: Emmanuele Bassi +Date: Thu Mar 5 13:16:59 2015 +0000 + + docs: Add anchors to sections in ClutterActor's description + + clutter/clutter-actor.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +commit 6bed552cfe9479f44fdad9dbbb8c23006d48324e +Author: Emmanuele Bassi +Date: Thu Mar 5 13:04:09 2015 +0000 + + docs: Improve deprecation notices for ClutterTableLayout + + clutter/deprecated/clutter-table-layout.c | 46 ++++++++++++++++++------------- + 1 file changed, 27 insertions(+), 19 deletions(-) + +commit 51b46bc093e839eac73df761e8dde75dca0e1ec1 +Author: Emmanuele Bassi +Date: Thu Mar 5 12:57:26 2015 +0000 + + docs: Improve deprecation notices for ClutterBox + + clutter/deprecated/clutter-box.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +commit 423a126c95c2318394ea511059ee74001a3ae8c9 +Author: Emmanuele Bassi +Date: Thu Mar 5 12:57:08 2015 +0000 + + docs: Improve deprecation notices for ClutterRectangle + + clutter/deprecated/clutter-rectangle.c | 33 ++++++++++++++++++++++++++++++--- + 1 file changed, 30 insertions(+), 3 deletions(-) + +commit c8f0279ad81e658b3e8e5cc1a10b7fb47aae9789 +Author: Piotr Drąg +Date: Thu Mar 5 00:09:12 2015 +0100 + + Updated Polish translation + + po/pl.po | 1013 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 509 insertions(+), 504 deletions(-) + +commit c8c5e06f1f016b4a9551210fe22d9954a3c0f20d +Author: Tom Tryfonidis +Date: Wed Mar 4 17:20:17 2015 +0000 + + Updated Greek translation + + po/el.po | 683 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 347 insertions(+), 336 deletions(-) + +commit ec26ae2b5a1f38032930e44ef6a982590504622e +Author: Emmanuele Bassi +Date: Wed Mar 4 16:08:18 2015 +0000 + + docs: Update deprecation notes for ClutterTexture + + Point to ClutterImage, ClutterContent, and ClutterActor where needed, so + that developers trying to port their code will have a chance at figuring + out how. + + clutter/deprecated/clutter-texture.c | 99 +++++++++++++++++++++++------------- + clutter/deprecated/clutter-texture.h | 18 +++---- + 2 files changed, 72 insertions(+), 45 deletions(-) + +commit 253292802cef191cf8c06ee8b337104f7e73279f +Author: Emmanuele Bassi +Date: Tue Mar 3 17:37:02 2015 +0000 + + Drop the UProf dependency + + Nobody has been compiling Clutter with profiling enabled in a long time. + + UProf itself hasn't been updated in 5 years, and it still depends on + deprecated components like dbus-glib, with no port to GDBus in sight. + + The profiling code was moderately useful in the past, but these days + it's probably better to profile Cogl than Clutter itself; timing + information can be extracted by the timestamp on each diagnostic message + that is now available by default in the CLUTTER_NOTE macro, and we can + add ad hoc counters where needed. + + README.in | 12 -- + README.md | 4 - + clutter/Makefile.am | 5 +- + clutter/clutter-actor.c | 15 -- + clutter/clutter-backend.c | 1 - + clutter/clutter-main.c | 135 ---------------- + clutter/clutter-master-clock-default.c | 31 ---- + clutter/clutter-profile.c | 283 --------------------------------- + clutter/clutter-profile.h | 74 --------- + clutter/clutter-stage.c | 119 -------------- + clutter/clutter-text.c | 28 ---- + clutter/cogl/clutter-stage-cogl.c | 27 ---- + clutter/gdk/clutter-master-clock-gdk.c | 31 ---- + configure.ac | 45 +----- + doc/reference/clutter/Makefile.am | 1 - + tests/conform/Makefile.am | 3 +- + 16 files changed, 4 insertions(+), 810 deletions(-) + +commit df15f04fc0474be09e6839618c598d43aee920e5 +Author: Emmanuele Bassi +Date: Tue Mar 3 17:23:37 2015 +0000 + + build: Use libtool macros to find libm + + Instead of using `-lm` everywhere, use LT_LIB_M inside configure.ac, and + $(LIBM) inside Makefile.am. + + clutter/Makefile.am | 19 ++++--------------- + configure.ac | 1 + + doc/cookbook/examples/Makefile.am | 2 +- + examples/Makefile.am | 8 +------- + tests/conform/Makefile.am | 2 +- + tests/interactive/Makefile.am | 2 +- + tests/micro-bench/Makefile.am | 2 +- + tests/performance/Makefile.am | 2 +- + 8 files changed, 11 insertions(+), 27 deletions(-) + +commit 4591435c35b920e21a8885e58ebd7779acc2a7a5 +Author: Emmanuele Bassi +Date: Tue Mar 3 16:25:13 2015 +0000 + + Post-release version bump to 1.21.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9b4a7a9964796150240f8b19fe4f47a769b94b83 +Author: Emmanuele Bassi +Date: Tue Mar 3 16:16:39 2015 +0000 + + Release Clutter 1.21.6 + + NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 50 insertions(+), 1 deletion(-) + +commit b33c523243eac860a0f8aaabd6980075b4fb7d58 +Author: Emmanuele Bassi +Date: Tue Mar 3 16:15:31 2015 +0000 + + docs: Add missing sections to the Clutter API reference + + doc/reference/clutter/clutter-docs.xml.in | 2 ++ + 1 file changed, 2 insertions(+) + +commit 54da12762bbcdc34fa58dc937e146d584a52a8f9 +Author: Emmanuele Bassi +Date: Tue Mar 3 16:15:14 2015 +0000 + + docs: Add missing symbols to the Clutter API reference + + doc/reference/clutter/clutter-sections.txt | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 4bfb3650b3d0792de87a44244b65b44107e775d0 +Author: Emmanuele Bassi +Date: Tue Mar 3 16:14:45 2015 +0000 + + build: Add missing files to the API reference build + + doc/reference/clutter/Makefile.am | 16 +++++++++++++++- + 1 file changed, 15 insertions(+), 1 deletion(-) + +commit faf90f5ddd98b8861b4074178fa2e257bf7100ea +Author: Emmanuele Bassi +Date: Tue Mar 3 16:14:15 2015 +0000 + + docs: Fix a gtk-doc annotation in the Mir backend + + clutter/mir/clutter-backend-mir.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 73e6f4e69df1b464c40e4652ed3cffccb003e7bb +Author: Emmanuele Bassi +Date: Tue Mar 3 15:54:36 2015 +0000 + + build: Add top_builddir to the API reference sources + + Otherwise gtk-doc won't be able to find some generated files. + + doc/reference/clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6b70343d09368b26ee8a21eb0bc51a35f3ecafcf +Author: Emmanuele Bassi +Date: Tue Mar 3 15:53:04 2015 +0000 + + docs: Minimal fixes for the API reference + + clutter/clutter-actor.c | 6 +++--- + clutter/clutter-color.c | 8 ++++---- + clutter/clutter-feature.c | 4 ++-- + clutter/clutter-group.h | 4 ++-- + clutter/clutter-main.c | 2 +- + clutter/clutter-script.c | 2 +- + clutter/clutter-stage.c | 2 +- + clutter/clutter-stage.h | 4 ++-- + clutter/clutter-test-utils.c | 18 +++++++++--------- + clutter/clutter-texture.h | 4 ++-- + clutter/deprecated/clutter-rectangle.h | 4 ++-- + clutter/evdev/clutter-device-manager-evdev.c | 4 ++-- + clutter/evdev/clutter-evdev.h | 4 +++- + 13 files changed, 34 insertions(+), 32 deletions(-) + +commit a9861b34190916413dab61f782b37396f6784361 +Author: Emmanuele Bassi +Date: Tue Mar 3 15:16:33 2015 +0000 + + docs: Note that the GDK backend is the new default + + Update the release notes with this piece of information. + + README.in | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit a3ecf37e34c02c5df3450ce2cd4ef3c224e61c4c +Author: Мирослав Николић +Date: Mon Mar 2 20:24:15 2015 +0100 + + Updated Serbian translation + + po/sr.po | 1009 ++++++++++++++++++++++++++++---------------------------- + po/sr@latin.po | 1009 ++++++++++++++++++++++++++++---------------------------- + 2 files changed, 1014 insertions(+), 1004 deletions(-) + +commit 3b98103b72b864d590d644a8ee237f63ffe373bd +Author: Emmanuele Bassi +Date: Mon Mar 2 16:08:18 2015 +0000 + + gdk/stage: Warn if CoglContext is not available + + Instead of crashing inside Cogl later on. + + https://bugzilla.gnome.org/show_bug.cgi?id=745229 + + clutter/gdk/clutter-stage-gdk.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 97ea9e973d2853032b4689c4a9cad0e0a88bccae +Author: Aurimas Černius +Date: Sat Feb 28 21:23:59 2015 +0200 + + Updated Lithuanian translation + + po/lt.po | 1009 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 505 insertions(+), 504 deletions(-) + +commit 9341035a30f1dd745a0ad6d86b10e04556cb6812 +Author: Rafael Ferreira +Date: Thu Feb 26 20:38:46 2015 +0000 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 1005 ++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 505 insertions(+), 500 deletions(-) + +commit 36780b07b19ab9da68f07ab211a3f447cae8eaab +Author: Alexandre Franke +Date: Tue Feb 24 09:48:03 2015 +0000 + + Updated French translation + + po/fr.po | 869 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 441 insertions(+), 428 deletions(-) + +commit c32dc3408092dc996178312db95d94a18b161275 +Author: Owen W. Taylor +Date: Thu May 8 18:52:09 2014 -0400 + + Allow setting up quad-buffer stereo output + + Add clutter_x11_set_use_stereo_stage() that can be called + before clutter_init() so that the CoglDisplay we create and all + stages created from that CoglDisplay will be created with a + stereo fbconfig. + + This is done in clutter-x11 because of the similarity to the + existing clutter_x11_set_use_argb_visual(), and because it's + not clear without other examples whether the need to have + stereo enabled from before clutter_init() is universal or + somethign specific to GLX. + + Cogl required version is increased to 1.20, which has the + required API. + + https://bugzilla.gnome.org/show_bug.cgi?id=732706 + + clutter/x11/clutter-backend-x11.c | 170 +++++++++++++++++++++++++++++--------- + clutter/x11/clutter-x11.h | 5 ++ + configure.ac | 2 +- + 3 files changed, 136 insertions(+), 41 deletions(-) + +commit 82926e9532e10cb8af9ab1a1dbaa1c523b68774d +Author: Chao-Hsiung Liao +Date: Sat Feb 21 11:17:52 2015 +0000 + + Updated Chinese (Taiwan) translation + + po/zh_TW.po | 873 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 441 insertions(+), 432 deletions(-) + +commit 77db9993391c8c575b5154cb4559417e2e90dd33 +Author: Marco Trevisan (Treviño) +Date: Fri Feb 20 17:41:49 2015 +0100 + + clutter: add Mir windowing/input backend + + Added support for Mir, now clutter can natively draw on MirSurfaces. + This depends on latest cogl git. + + Run your clutter apps using CLUTTER_BACKEND=mir + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 31 ++- + clutter/clutter-backend.c | 19 ++ + clutter/clutter-main.c | 9 + + clutter/mir/clutter-backend-mir-priv.h | 46 ++++ + clutter/mir/clutter-backend-mir.c | 231 ++++++++++++++++++ + clutter/mir/clutter-backend-mir.h | 55 +++++ + clutter/mir/clutter-device-manager-mir.c | 192 +++++++++++++++ + clutter/mir/clutter-device-manager-mir.h | 64 +++++ + clutter/mir/clutter-event-mir.c | 395 +++++++++++++++++++++++++++++++ + clutter/mir/clutter-event-mir.h | 40 ++++ + clutter/mir/clutter-input-device-mir.c | 55 +++++ + clutter/mir/clutter-input-device-mir.h | 45 ++++ + clutter/mir/clutter-mir.h | 57 +++++ + clutter/mir/clutter-stage-mir.c | 293 +++++++++++++++++++++++ + clutter/mir/clutter-stage-mir.h | 64 +++++ + configure.ac | 48 ++++ + 16 files changed, 1642 insertions(+), 2 deletions(-) + +commit 10cce0044006ee42e6e598f50af622ac63a324fd +Author: Giovanni Campagna +Date: Mon Jun 4 23:42:04 2012 +0200 + + ClutterActor: expose setter for the opacity override + + Toolkits may need to paint actors internally outside the normal tree + (for example to create a shadow shape), in which case they need to + control the opacity directly. + + https://bugzilla.gnome.org/show_bug.cgi?id=677412 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor-private.h | 3 --- + clutter/clutter-actor.c | 38 ++++++++++++++++++++++++++---- + clutter/clutter-actor.h | 5 ++++ + clutter/clutter-clone.c | 5 ++-- + clutter/clutter-offscreen-effect.c | 6 ++--- + doc/reference/clutter/clutter-sections.txt | 2 ++ + 6 files changed, 47 insertions(+), 12 deletions(-) + +commit 65032da551dc7400ce11e4a3e1807d77e2c3b0cf +Author: Fran Dieguez +Date: Thu Feb 19 12:21:54 2015 +0100 + + Updated Galician translations + + po/gl.po | 973 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 493 insertions(+), 480 deletions(-) + +commit a4d0b157b6ee84b3257264ce63abc843d4aa84f2 +Author: Lionel Landwerlin +Date: Tue Feb 17 23:59:59 2015 +0000 + + gdk: master-clock: force scheduling new frames for timelines alive + + As long as we have timelines alive, we need to keep asking the + GdkFrameClock for new frames. Otherwise animations might stall. + + https://bugzilla.gnome.org/show_bug.cgi?id=744684 + + clutter/gdk/clutter-master-clock-gdk.c | 40 ++++++++++++++++++++-------------- + 1 file changed, 24 insertions(+), 16 deletions(-) + +commit 018cd7bb5cd3b4a8dd4120de5d2eeb59e06b0276 +Author: Lionel Landwerlin +Date: Tue Feb 17 14:52:17 2015 +0000 + + gdk: implement a MasterClock based on GdkFrameClock + + https://bugzilla.gnome.org/show_bug.cgi?id=744668 + + clutter/Makefile.am | 2 + + clutter/clutter-master-clock.c | 13 +- + clutter/gdk/clutter-master-clock-gdk.c | 521 +++++++++++++++++++++++++++++++++ + clutter/gdk/clutter-master-clock-gdk.h | 48 +++ + clutter/gdk/clutter-stage-gdk.c | 60 ++++ + 5 files changed, 643 insertions(+), 1 deletion(-) + +commit e94285693f6f29147cb896b6975bf0c477437977 +Author: Lionel Landwerlin +Date: Tue Feb 17 14:50:13 2015 +0000 + + main: Make the MasterClock an interface + + Move the implementation of the MasterClock into MasterClockDefault, so + backends can provide their own implementation. + + https://bugzilla.gnome.org/show_bug.cgi?id=744668 + + clutter/Makefile.am | 4 +- + clutter/clutter-master-clock-default.c | 716 +++++++++++++++++++++++++++++++++ + clutter/clutter-master-clock-default.h | 48 +++ + clutter/clutter-master-clock.c | 657 +----------------------------- + clutter/clutter-master-clock.h | 25 +- + 5 files changed, 807 insertions(+), 643 deletions(-) + +commit a9f2300af1a6d15caabd3bfcdce2c998410171cf +Author: Lionel Landwerlin +Date: Mon Feb 16 16:26:53 2015 +0000 + + stage: Process state update event immediately + + The _clutter_stage_update_state() function is currently putting events + into the Clutter event queue. This leads to problems in the gdk + backend because there are assumptions upon the numbers of queued + events, and how many of them should be moved from the main event queue + to the ClutterStages' event queues. + + This change triggers the processing of the state update events on the + stage directly, so the main event queue retains the expected number of + events. + + https://bugzilla.gnome.org/show_bug.cgi?id=744604 + + clutter/clutter-stage.c | 13 +++++++------ + 1 file changed, 7 insertions(+), 6 deletions(-) + +commit 344e13844d050e9c24073747ddd0eaf113c40a94 +Author: Matej Urbančič +Date: Sun Feb 15 21:11:03 2015 +0100 + + Updated Slovenian translation + + po/sl.po | 581 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 297 insertions(+), 284 deletions(-) + +commit d94b3e39c2ef6664d7c343133c6f5f45d6e09fcf +Author: Yuri Myasoedov +Date: Sat Feb 14 17:09:50 2015 +0300 + + Updated Russian translation + + po/ru.po | 878 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 442 insertions(+), 436 deletions(-) + +commit faa386070efbf90373b3a35410d42da8dc5ecb96 +Author: Inaki Larranaga Murgoitio +Date: Sat Feb 7 11:26:16 2015 +0100 + + Updated Basque language + + po/eu.po | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +commit 6c057e3171607d3cbfa61ec57c1fff6c5d72b14c +Author: Jasper St. Pierre +Date: Wed Oct 8 12:11:51 2014 -0700 + + input-device: Reset the focused actor when it becomes unreactive + + https://bugzilla.gnome.org/show_bug.cgi?id=743865 + + clutter/clutter-input-device.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +commit b192ad1300996d382d35a2665ef76c53dd1f3ff9 +Author: Rui Matos +Date: Thu Feb 5 17:56:37 2015 +0100 + + gdk: Disable cogl wayland event dispatching if requested + + If gdk event retrieval has been disabled and gdk's backend is wayland + we must also disable cogl's wayland event dispatching otherwise cogl + will try to dispatch wayland events itself which blocks the main + loop. + + https://bugzilla.gnome.org/show_bug.cgi?id=744058 + + clutter/gdk/clutter-backend-gdk.c | 1 + + 1 file changed, 1 insertion(+) + +commit e9e9578dca773f1592b366376d5e4a75719f0bbd +Author: Jonas Ådahl +Date: Wed Jan 28 12:12:48 2015 +0800 + + evdev: Ignore non seat wide pointer button events + + Pointer button events will be received from a device where a button has + been pressed, even though an equivalent button has been pressed (same + button code) on a device connected to the same seat. notify_button() + expects to only be called as if there was only one pointer device + associated with the given seat, so to achieve this, ignore every event + where forwarding it would result in multiple 'pressed' or 'released' + notifications. + + https://bugzilla.gnome.org/show_bug.cgi?id=743615 + + clutter/evdev/clutter-device-manager-evdev.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +commit 32ce45aa894f54a3cabfac53a6733ac182a424e8 +Author: Jonas Ådahl +Date: Wed Jan 28 12:11:34 2015 +0800 + + evdev: Ignore non seat wide keyboard key events + + Keyboard key events will be received from a device where a key has + been pressed, even though an equivalent key has been pressed (same + key code) on a device connected to the same seat. notify_key() + expects to only be called as if there was only one keyboard device + associated with the given seat, so to achieve this, ignore every event + where forwarding it would result in multiple 'pressed' or 'released' + notifications. + + https://bugzilla.gnome.org/show_bug.cgi?id=743615 + + clutter/evdev/clutter-device-manager-evdev.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +commit 145d11227a43370ee228a526a66e06d8be0a5276 +Author: Marek Černocký +Date: Tue Feb 3 22:24:21 2015 +0100 + + Updated Czech translation + + po/cs.po | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit 7f5e1304077b83eecc8577239227a97b3734d949 +Author: Balázs Úr +Date: Fri Jan 30 21:32:13 2015 +0000 + + Updated Hungarian translation + + po/hu.po | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit d16365ae63f7f8eb7af3484b5d728798a3a7f7e4 +Author: Yosef Or Boczko +Date: Mon Jan 26 22:15:44 2015 +0200 + + Updated Hebrew translation + + po/he.po | 415 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 214 insertions(+), 201 deletions(-) + +commit 7bc6559519ee0dd104a75825d1c3262807556b1d +Author: Daniel Mustieles +Date: Fri Jan 23 11:42:24 2015 +0100 + + Updated Spanish translation + + po/es.po | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +commit c185d2187bc3a82eea6ad24bd2c5a9716d2a785f +Author: Lionel Landwerlin +Date: Thu Jan 22 15:38:48 2015 +0000 + + gdk: report an error when initialization fails + + https://bugzilla.gnome.org/show_bug.cgi?id=743355 + + clutter/gdk/clutter-backend-gdk.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 8a24892f2d80442b0cc075e0bc1b0cd717af2ddd +Author: Emmanuele Bassi +Date: Thu Jan 22 14:13:11 2015 +0000 + + Depend on a Cairo release with cairo_surface_set_device_scale() + + We are checking for Cairo ≥ 1.12 and then do an additional check for the + existence of the cairo_surface_set_device_scale() function because there + were no stable releases of Cairo with it. Now that Cairo 1.14 is out, we + can simply bump up the dependency. + + clutter/clutter-canvas.c | 2 -- + configure.ac | 14 +------------- + 2 files changed, 1 insertion(+), 15 deletions(-) + +commit 573536f6540903b3438cf6815f983a328de34f64 +Author: Emmanuele Bassi +Date: Thu Jan 22 14:08:33 2015 +0000 + + Post-release version bump to 1.21.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 18b7d31a08c5a31549ea6a9dbfbf79c23601c2d8 +Author: Emmanuele Bassi +Date: Thu Jan 22 13:44:01 2015 +0000 + + Release Clutter 1.21.4 + + NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 44 insertions(+), 1 deletion(-) + +commit f65792e1607071b752177eb1bf6fb594df2c9852 +Author: Emmanuele Bassi +Date: Thu Jan 22 13:42:25 2015 +0000 + + docs: Add symbols to the private section + + doc/reference/clutter/clutter-sections.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit 6ed0a7583c3ae1f3d187dca79a43efcc013868b3 +Author: Marek Černocký +Date: Wed Jan 21 10:52:32 2015 +0100 + + Updated Czech translation + + po/cs.po | 992 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 498 insertions(+), 494 deletions(-) + +commit 2fd5173ea406a625f740caf4003625774403560c +Author: Inaki Larranaga Murgoitio +Date: Sat Jan 17 17:09:25 2015 +0100 + + Updated Basque language + + po/eu.po | 581 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 295 insertions(+), 286 deletions(-) + +commit ede13b11d72a310e535f9a6f0b7e3f774f5529dc +Author: Peter Hutterer +Date: Fri Jan 16 01:03:52 2015 +0100 + + evdev: use libinput's new merged scroll events + + libinput's API changed from separate scroll events for vert/horiz scrolling to + a single event that contains both axes if they changed. + + Updated by Armin K. to use the discrete axis value for wheel events as done + in Weston. + + https://bugzilla.gnome.org/show_bug.cgi?id=742829 + + clutter/evdev/clutter-device-manager-evdev.c | 40 +++++++++++++++++++--------- + configure.ac | 2 +- + 2 files changed, 28 insertions(+), 14 deletions(-) + +commit 7eb1a3d35f7bcf517cf98b7c6067197e0f83232f +Author: Emmanuele Bassi +Date: Tue Jan 13 00:46:47 2015 +0000 + + Deprecate unused enumeration types + + Some enumerations types are only used by deprecated API, so it's better + to deprecate them as well. + + clutter/clutter-enums.h | 18 ++++++++++++++++-- + 1 file changed, 16 insertions(+), 2 deletions(-) + +commit 8859ed44e176656a54f7d75270e4ac3b498eaeae +Author: Emmanuele Bassi +Date: Mon Jan 12 17:48:04 2015 +0000 + + gdk: Support GdkWayland + + We need to set up the Wayland display when using GDK and Wayland's + client-side API. + + clutter/gdk/clutter-backend-gdk.c | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +commit 00efa5371d709c134695a3c142b310f1b630ce0a +Author: Emmanuele Bassi +Date: Mon Jan 12 15:05:02 2015 +0000 + + gdk: Compare integer values + + Stage sizes are always pixel aligned, so we can do a proper + integer comparison. + + clutter/gdk/clutter-event-gdk.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 2aac32694c85ee077aff32adef8abc207703e9c0 +Author: Emmanuele Bassi +Date: Mon Jan 12 15:04:27 2015 +0000 + + gdk: Implement get_scale_factor() + + Otherwise scaling will not work correctly. + + clutter/gdk/clutter-stage-gdk.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +commit 87c553e94f2de3f434a7d28a033203faca0245f2 +Author: Emmanuele Bassi +Date: Mon Jan 12 13:42:59 2015 +0000 + + docs: Deprecate ClutterTextureFlags + + It's pointless, now that ClutterTexture has been deprecated. + + clutter/clutter-enums.h | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit e77adac16a819001c65664f40568d57eedd8e033 +Author: Emmanuele Bassi +Date: Mon Jan 12 13:42:33 2015 +0000 + + docs: Remove a couple of FIXMEs + + Document the ClutterKeyframeTransition instance and class structures. + + clutter/clutter-keyframe-transition.h | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 4e04d2a532c816f0a1222a50a5ca28310b0b9035 +Author: Emmanuele Bassi +Date: Mon Jan 12 11:41:39 2015 +0000 + + examples/rounded: Use CLUTTER_REQUEST_CONTENT_SIZE + + Show how to use the request mode to have an actor ask for the size of + its content. + + examples/rounded-rectangle.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit c55b8fdaf8396494d5e11325966256a38ba8c524 +Author: Daniel Mustieles +Date: Mon Jan 12 12:14:52 2015 +0100 + + Updated Spanish translation + + po/es.po | 1002 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 501 insertions(+), 501 deletions(-) + +commit d56da0ace9bfcb0948d734b148e7e186eb7150b4 +Author: Emmanuele Bassi +Date: Sun Jan 11 17:00:02 2015 +0000 + + examples/layout-manager: Toggle between states + + Instead of using two specific keys, toggle between the circular and grid + layouts using a single key. + + examples/layout-manager.c | 31 ++++++++++++++++++++----------- + 1 file changed, 20 insertions(+), 11 deletions(-) + +commit 60dbeb9425f51fc602ba2fe89b2a968ef4b527ed +Author: Emmanuele Bassi +Date: Sun Jan 11 16:48:47 2015 +0000 + + Try again at using the GDK backend by default + + We tried once with commit 398a7ac7 and ended up reverting because of + regressions in the input layer and on Wayland. + + We should try again, now that those regressions have been fixed. + + https://bugzilla.gnome.org/show_bug.cgi?id=734587 + + clutter/clutter-backend.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 7b9068b976dc40be419982a7e8b0c299c21e9f51 +Author: Balázs Úr +Date: Sat Jan 10 10:51:10 2015 +0000 + + Updated Hungarian translation + + po/hu.po | 1006 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 500 insertions(+), 506 deletions(-) + +commit f5f523c63ae1f7c2fa6a4d5b097db869af0b0186 +Author: Carlos Garnacho +Date: Tue Nov 25 21:11:03 2014 +0100 + + evdev: Set vendor/product IDs on input devices + + This is fetched right away from libinput API. + + https://bugzilla.gnome.org/show_bug.cgi?id=740759 + + clutter/evdev/clutter-input-device-evdev.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit c0d5d58e8bc6d96dbd334722f6422d8270ae397f +Author: Carlos Garnacho +Date: Tue Nov 25 21:10:32 2014 +0100 + + x11: Set vendor/product IDs on input devices + + This is fetched from XInput device properties + + https://bugzilla.gnome.org/show_bug.cgi?id=740759 + + clutter/x11/clutter-device-manager-xi2.c | 41 ++++++++++++++++++++++++++++++++ + 1 file changed, 41 insertions(+) + +commit 78fdefcf0cf917f47ef18d4ea9ce1064d86ffc54 +Author: Carlos Garnacho +Date: Tue Nov 25 21:09:32 2014 +0100 + + input-device: Add vendor/product ID properties and getters + + This may be useful when trying to identify the device across sessions. + + https://bugzilla.gnome.org/show_bug.cgi?id=740759 + + clutter/clutter-device-manager-private.h | 3 ++ + clutter/clutter-input-device.c | 87 ++++++++++++++++++++++++++++++ + clutter/clutter-input-device.h | 5 ++ + doc/reference/clutter/clutter-sections.txt | 2 + + 4 files changed, 97 insertions(+) + +commit 9660b001f7ee410bcbff545989a708b103e6faaf +Author: Jonas Danielsson +Date: Fri Jan 9 05:06:32 2015 -0500 + + device-manager-xi2: Fix scaling of coordinates + + Do not CLAMP to width/height before applying the scale factor + we will lose all information we need to scale properly. + + https://bugzilla.gnome.org/show_bug.cgi?id=730815 + + clutter/x11/clutter-device-manager-xi2.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 1227f7c489e838c963aaf76328d4b381c51f9fe1 +Merge: 77ec8774a c04c631e8 +Author: Emmanuele Bassi +Date: Sat Jan 3 20:40:09 2015 +0000 + + Merge branch 'clutter-1.22' back into master + + This is the bulk of the clutter-1.22 → master merge. + + The clutter-1.22 branch is where the current development of Clutter + happens, and contains all the history of the project after the API + bump branch point. + +commit 77ec8774a08c884d8acdf6c5f36a3e5003596626 +Author: Emmanuele Bassi +Date: Sat Jan 3 20:34:20 2015 +0000 + + WARNING: Massive revert commit + + Revert all the work that happened on the master branch. + + Sadly, this is the only way to merge the current development branch back + into master. + + It is now abundantly clear that I merged the 1.99 branch far too soon, + and that Clutter 2.0 won't happen any time soon, if at all. + + Since having the development happen on a separate branch throws a lot of + people into confusion, let's undo the clutter-1.99 → master merge, and + move back the development of Clutter to the master branch. + + In order to do so, we need to do some surgery to the Git repository. + + First, we do a massive revert in a single commit of all that happened + since the switch to 1.99 and the API version bump done with the + 89a2862b057423c3c1fc666e6fa776ccacf377dd commit. The history is too long + to be reverted commit by commit without being extremely messy. + + .gitignore | 34 +- + autogen.sh | 2 +- + build/win32/vs10/clutter.props | 414 +-- + build/win32/vs10/clutter.sln | 16 +- + build/win32/vs10/clutter.vcxproj.filtersin | 5 - + build/win32/vs10/clutter.vcxprojin | 136 +- + build/win32/vs10/install.vcxproj | 84 +- + build/win32/vs9/clutter.sln | 16 +- + build/win32/vs9/clutter.vcprojin | 230 +- + build/win32/vs9/clutter.vsprops | 389 +-- + build/win32/vs9/install.vcproj | 60 +- + clutter.doap | 5 +- + clutter/Makefile.am | 125 + + clutter/abicheck.sh | 2 +- + clutter/cally/cally-clone.c | 4 +- + clutter/cally/cally-factory.h | 4 +- + clutter/cally/cally-group.c | 4 +- + clutter/cally/cally-rectangle.c | 4 +- + clutter/cally/cally-root.c | 4 +- + clutter/cally/cally-stage.c | 6 +- + clutter/cally/cally-stage.h | 4 +- + clutter/cally/cally-text.c | 4 +- + clutter/cally/cally-texture.c | 4 +- + clutter/cally/cally-util.c | 4 +- + clutter/cally/cally.c | 13 +- + clutter/cally/cally.pc.in | 2 +- + clutter/cex100/clutter-backend-cex100.c | 6 +- + clutter/clutter-action.h | 4 +- + clutter/clutter-actor-box.c | 42 +- + clutter/clutter-actor-meta.c | 18 +- + clutter/clutter-actor-meta.h | 4 +- + clutter/clutter-actor-private.h | 12 +- + clutter/clutter-actor.c | 3059 ++++++++++++++++--- + clutter/clutter-actor.h | 183 +- + clutter/clutter-align-constraint.c | 20 +- + clutter/clutter-align-constraint.h | 2 +- + clutter/clutter-animatable.c | 89 +- + clutter/clutter-animatable.h | 13 +- + clutter/clutter-backend.c | 205 +- + clutter/clutter-backend.h | 2 +- + clutter/clutter-base-types.c | 200 +- + clutter/clutter-bezier.c | 481 ++- + clutter/clutter-bezier.h | 42 +- + clutter/clutter-bin-layout.c | 674 ++++- + clutter/clutter-bin-layout.h | 7 +- + clutter/clutter-bind-constraint.c | 22 +- + clutter/clutter-bind-constraint.h | 2 +- + clutter/clutter-binding-pool.c | 26 +- + clutter/clutter-binding-pool.h | 4 +- + clutter/clutter-blur-effect.c | 2 +- + clutter/clutter-blur-effect.h | 2 +- + clutter/clutter-box-layout.c | 1171 +++++++- + clutter/clutter-box-layout.h | 65 +- + clutter/clutter-brightness-contrast-effect.c | 18 +- + clutter/clutter-brightness-contrast-effect.h | 2 +- + clutter/clutter-cairo.c | 4 +- + clutter/clutter-cairo.h | 2 +- + clutter/clutter-canvas.c | 43 +- + clutter/clutter-canvas.h | 10 +- + clutter/clutter-child-meta.c | 8 +- + clutter/clutter-child-meta.h | 4 +- + clutter/clutter-click-action.c | 22 +- + clutter/clutter-click-action.h | 4 +- + clutter/clutter-clone.c | 8 +- + clutter/clutter-clone.h | 4 +- + clutter/clutter-color.c | 28 +- + clutter/clutter-color.h | 6 +- + clutter/clutter-colorize-effect.c | 8 +- + clutter/clutter-colorize-effect.h | 2 +- + clutter/clutter-constraint.h | 4 +- + clutter/clutter-container.c | 783 ++++- + clutter/clutter-container.h | 115 +- + clutter/clutter-content.c | 8 +- + clutter/clutter-content.h | 10 +- + clutter/clutter-deform-effect.c | 16 +- + clutter/clutter-deform-effect.h | 4 +- + clutter/clutter-deprecated.h | 35 + + clutter/clutter-desaturate-effect.c | 8 +- + clutter/clutter-desaturate-effect.h | 2 +- + clutter/clutter-device-manager.c | 14 +- + clutter/clutter-device-manager.h | 4 +- + clutter/clutter-drag-action.c | 103 +- + clutter/clutter-drag-action.h | 8 +- + clutter/clutter-drop-action.c | 12 +- + clutter/clutter-drop-action.h | 4 +- + clutter/clutter-effect.c | 2 +- + clutter/clutter-effect.h | 4 +- + clutter/clutter-enums.h | 289 +- + clutter/clutter-event.c | 96 +- + clutter/clutter-event.h | 70 +- + clutter/clutter-feature.c | 4 +- + clutter/clutter-fixed-layout.c | 2 +- + clutter/clutter-fixed-layout.h | 4 +- + clutter/clutter-flow-layout.c | 252 +- + clutter/clutter-flow-layout.h | 7 +- + clutter/clutter-gesture-action-private.h | 4 +- + clutter/clutter-gesture-action.c | 248 +- + clutter/clutter-gesture-action.h | 13 +- + clutter/clutter-grid-layout.c | 42 +- + clutter/clutter-grid-layout.h | 40 +- + clutter/clutter-group.h | 95 + + clutter/clutter-image.c | 10 +- + clutter/clutter-image.h | 22 +- + clutter/clutter-input-device.c | 68 +- + clutter/clutter-input-device.h | 14 +- + clutter/clutter-interval.c | 59 +- + clutter/clutter-interval.h | 6 +- + clutter/clutter-keyframe-transition.c | 18 +- + clutter/clutter-keyframe-transition.h | 24 +- + clutter/clutter-keysyms-table.c | 2 +- + clutter/clutter-keysyms-update.pl | 35 + + clutter/clutter-layout-manager.c | 312 +- + clutter/clutter-layout-manager.h | 33 +- + clutter/clutter-layout-meta.c | 4 +- + clutter/clutter-layout-meta.h | 4 +- + clutter/clutter-list-model.c | 4 +- + clutter/clutter-list-model.h | 4 +- + clutter/clutter-macros.h | 185 +- + clutter/clutter-main.c | 604 +++- + clutter/clutter-main.h | 8 +- + clutter/clutter-master-clock.c | 4 +- + clutter/clutter-model.c | 94 +- + clutter/clutter-model.h | 14 +- + clutter/clutter-offscreen-effect.c | 32 +- + clutter/clutter-offscreen-effect.h | 6 +- + clutter/clutter-page-turn-effect.c | 20 +- + clutter/clutter-page-turn-effect.h | 2 +- + clutter/clutter-paint-node-private.h | 2 +- + clutter/clutter-paint-node.c | 46 +- + clutter/clutter-paint-node.h | 27 +- + clutter/clutter-paint-nodes.c | 22 +- + clutter/clutter-paint-nodes.h | 29 +- + clutter/clutter-paint-volume.c | 30 +- + clutter/clutter-pan-action.c | 40 + + clutter/clutter-pan-action.h | 19 +- + clutter/clutter-path-constraint.c | 18 +- + clutter/clutter-path-constraint.h | 2 +- + clutter/clutter-path.c | 210 +- + clutter/clutter-path.h | 49 +- + clutter/clutter-private.h | 1 - + clutter/clutter-property-transition.c | 8 +- + clutter/clutter-property-transition.h | 12 +- + clutter/clutter-rotate-action.c | 6 +- + clutter/clutter-rotate-action.h | 8 +- + clutter/clutter-script-parser.c | 409 ++- + clutter/clutter-script-private.h | 12 +- + clutter/clutter-script.c | 339 ++- + clutter/clutter-script.h | 25 +- + clutter/clutter-scriptable.c | 8 +- + clutter/clutter-scriptable.h | 4 +- + clutter/clutter-scroll-actor.c | 12 +- + clutter/clutter-scroll-actor.h | 16 +- + clutter/clutter-settings.c | 50 +- + clutter/clutter-shader-effect.c | 14 +- + clutter/clutter-shader-effect.h | 4 +- + clutter/clutter-shader-types.c | 12 +- + clutter/clutter-shader-types.h | 6 + + clutter/clutter-snap-constraint.c | 24 +- + clutter/clutter-snap-constraint.h | 2 +- + clutter/clutter-stage-manager.c | 33 +- + clutter/clutter-stage-manager.h | 4 +- + clutter/clutter-stage-window.h | 4 +- + clutter/clutter-stage.c | 589 +++- + clutter/clutter-stage.h | 35 +- + clutter/clutter-swipe-action.c | 50 +- + clutter/clutter-swipe-action.h | 4 +- + clutter/clutter-table-layout.c | 1028 ++++++- + clutter/clutter-table-layout.h | 51 +- + clutter/clutter-tap-action.c | 6 + + clutter/clutter-tap-action.h | 2 + + clutter/clutter-text-buffer.c | 40 +- + clutter/clutter-text-buffer.h | 36 +- + clutter/clutter-text.c | 287 +- + clutter/clutter-text.h | 15 +- + clutter/clutter-texture.h | 128 + + clutter/clutter-timeline.c | 196 +- + clutter/clutter-timeline.h | 28 +- + clutter/clutter-transition-group.c | 8 +- + clutter/clutter-transition-group.h | 14 +- + clutter/clutter-transition.c | 26 +- + clutter/clutter-transition.h | 26 +- + clutter/clutter-types.h | 187 +- + clutter/clutter-units.c | 32 +- + clutter/clutter-units.h | 6 +- + clutter/clutter-util.c | 32 +- + clutter/clutter-version.h.in | 154 +- + clutter/clutter-zoom-action.c | 60 +- + clutter/clutter-zoom-action.h | 16 +- + clutter/clutter.h | 2 + + clutter/clutter.pc.in | 7 + + clutter/clutter.symbols | 457 ++- + clutter/deprecated/clutter-actor-deprecated.c | 411 +++ + clutter/deprecated/clutter-actor.h | 161 + + clutter/deprecated/clutter-alpha.c | 959 ++++++ + clutter/deprecated/clutter-alpha.h | 144 + + clutter/deprecated/clutter-animatable.h | 47 + + clutter/deprecated/clutter-animation.c | 2663 +++++++++++++++++ + clutter/deprecated/clutter-animation.h | 206 ++ + clutter/deprecated/clutter-animator.c | 2176 ++++++++++++++ + clutter/deprecated/clutter-animator.h | 186 ++ + clutter/deprecated/clutter-backend.h | 64 + + clutter/deprecated/clutter-behaviour-depth.c | 309 ++ + clutter/deprecated/clutter-behaviour-depth.h | 101 + + clutter/deprecated/clutter-behaviour-ellipse.c | 1068 +++++++ + clutter/deprecated/clutter-behaviour-ellipse.h | 159 + + clutter/deprecated/clutter-behaviour-opacity.c | 322 ++ + clutter/deprecated/clutter-behaviour-opacity.h | 115 + + clutter/deprecated/clutter-behaviour-path.c | 477 +++ + clutter/deprecated/clutter-behaviour-path.h | 135 + + clutter/deprecated/clutter-behaviour-rotate.c | 697 +++++ + clutter/deprecated/clutter-behaviour-rotate.h | 119 + + clutter/deprecated/clutter-behaviour-scale.c | 443 +++ + clutter/deprecated/clutter-behaviour-scale.h | 107 + + clutter/deprecated/clutter-behaviour.c | 669 +++++ + clutter/deprecated/clutter-behaviour.h | 170 ++ + clutter/deprecated/clutter-bin-layout.h | 56 + + clutter/deprecated/clutter-box.c | 737 +++++ + clutter/deprecated/clutter-box.h | 143 + + clutter/deprecated/clutter-cairo-texture.c | 1177 ++++++++ + clutter/deprecated/clutter-cairo-texture.h | 139 + + clutter/deprecated/clutter-container.h | 93 + + clutter/deprecated/clutter-fixed.c | 205 ++ + clutter/deprecated/clutter-fixed.h | 97 + + clutter/deprecated/clutter-frame-source.c | 267 ++ + clutter/deprecated/clutter-frame-source.h | 49 + + clutter/deprecated/clutter-group.c | 564 ++++ + clutter/deprecated/clutter-group.h | 62 + + .../deprecated/clutter-input-device-deprecated.c | 38 + + clutter/deprecated/clutter-input-device.h | 41 + + clutter/deprecated/clutter-keysyms.h | 2306 ++++++++++++++ + .../deprecated/clutter-layout-manager-deprecated.c | 89 + + clutter/deprecated/clutter-main.h | 96 + + clutter/deprecated/clutter-media.c | 665 +++++ + clutter/deprecated/clutter-media.h | 121 + + clutter/deprecated/clutter-rectangle.c | 559 ++++ + clutter/deprecated/clutter-rectangle.h | 117 + + clutter/deprecated/clutter-score.c | 1168 ++++++++ + clutter/deprecated/clutter-score.h | 144 + + clutter/deprecated/clutter-shader.c | 942 ++++++ + clutter/deprecated/clutter-shader.h | 182 ++ + clutter/deprecated/clutter-stage-manager.h | 42 + + clutter/deprecated/clutter-stage.h | 102 + + clutter/deprecated/clutter-state.c | 2315 ++++++++++++++ + clutter/deprecated/clutter-state.h | 187 ++ + clutter/deprecated/clutter-texture.c | 3156 ++++++++++++++++++++ + clutter/deprecated/clutter-texture.h | 138 + + clutter/deprecated/clutter-timeline.h | 41 + + clutter/deprecated/clutter-timeout-interval.c | 142 + + clutter/deprecated/clutter-timeout-interval.h | 58 + + clutter/deprecated/clutter-timeout-pool.c | 500 ++++ + clutter/deprecated/clutter-timeout-pool.h | 69 + + clutter/deprecated/clutter-util.h | 40 + + clutter/egl/clutter-backend-eglnative.c | 6 +- + clutter/egl/clutter-egl.h | 4 +- + clutter/evdev/clutter-device-manager-evdev.c | 4 +- + clutter/evdev/clutter-input-device-evdev.c | 4 +- + clutter/gdk/clutter-backend-gdk.c | 6 +- + clutter/gdk/clutter-stage-gdk.c | 8 +- + clutter/gdk/clutter-stage-gdk.h | 1 + + clutter/wayland/clutter-backend-wayland.c | 67 +- + clutter/wayland/clutter-event-wayland.c | 15 +- + clutter/wayland/clutter-input-device-wayland.c | 67 +- + clutter/wayland/clutter-stage-wayland.c | 87 +- + clutter/wayland/clutter-stage-wayland.h | 2 - + clutter/wayland/clutter-wayland-surface.c | 14 +- + clutter/wayland/clutter-wayland-surface.h | 4 +- + clutter/wayland/clutter-wayland.h | 13 +- + clutter/win32/clutter-backend-win32.c | 2 +- + clutter/win32/clutter-event-win32.c | 2 +- + clutter/win32/clutter-stage-win32.c | 31 +- + clutter/x11/clutter-backend-x11.c | 61 +- + clutter/x11/clutter-device-manager-xi2.c | 8 +- + clutter/x11/clutter-event-x11.c | 8 +- + clutter/x11/clutter-glx-texture-pixmap.c | 8 +- + clutter/x11/clutter-glx-texture-pixmap.h | 4 +- + clutter/x11/clutter-stage-x11.c | 37 +- + clutter/x11/clutter-stage-x11.h | 3 + + clutter/x11/clutter-x11-texture-pixmap.c | 20 +- + clutter/x11/clutter-x11-texture-pixmap.h | 4 +- + clutter/x11/clutter-x11.h | 21 +- + configure.ac | 19 +- + doc/cookbook/examples/Makefile.am | 2 +- + .../examples/events-pointer-motion-scribbler.c | 6 +- + .../examples/events-pointer-motion-stacked.c | 2 + + doc/cookbook/introduction.xml | 6 +- + doc/reference/cally/Makefile.am | 5 +- + .../{cally2-docs.xml.in => cally-docs.xml.in} | 0 + .../{cally2-sections.txt => cally-sections.txt} | 0 + doc/reference/cally/{cally2.types => cally.types} | 3 + + doc/reference/clutter/Makefile.am | 21 +- + .../{clutter2-docs.xml.in => clutter-docs.xml.in} | 104 +- + ...{clutter2-sections.txt => clutter-sections.txt} | 974 +++++- + .../clutter/{clutter2.types => clutter.types} | 19 + + doc/reference/clutter/running-clutter.xml | 4 +- + examples/bin-layout.c | 5 +- + examples/box-layout.c | 5 +- + examples/flow-layout.c | 10 - + examples/grid-layout.c | 20 +- + po/Makevars | 2 +- + po/POTFILES.in | 19 + + po/an.po | 2793 ----------------- + po/ca.po | 1527 +++++----- + po/ca@valencia.po | 2256 +++++++------- + po/cs.po | 1539 +++++++--- + po/da.po | 2192 +++++++------- + po/de.po | 1301 ++++---- + po/es.po | 2192 ++++++++------ + po/eu.po | 2607 ---------------- + po/fr.po | 1518 +++++----- + po/he.po | 2606 ++++++++-------- + po/hu.po | 1960 ------------ + po/it.po | 1487 +++++---- + po/ko.po | 2799 ----------------- + po/lv.po | 1498 +++++----- + po/ne.po | 2189 -------------- + po/pl.po | 1226 ++++---- + po/pt.po | 2144 +++++++------ + po/pt_BR.po | 1292 ++++---- + po/ru.po | 1490 +++++---- + po/sk.po | 3060 ------------------- + po/sl.po | 672 ++--- + po/tr.po | 2736 ++++++++--------- + po/zh_CN.po | 2903 ++++++++---------- + tests/accessibility/Makefile.am | 19 +- + tests/accessibility/cally-atkcomponent-example.c | 34 +- + .../accessibility/cally-atkeditabletext-example.c | 4 +- + tests/accessibility/cally-atkevents-example.c | 4 +- + tests/accessibility/cally-atktext-example.c | 4 +- + tests/accessibility/cally-clone-example.c | 4 +- + tests/accessibility/cally-examples-util.c | 4 +- + tests/accessibility/cally-examples-util.h | 4 +- + tests/conform/Makefile.am | 66 +- + tests/conform/actor-graph.c | 8 + + tests/conform/actor-invariants.c | 106 +- + tests/conform/actor-layout.c | 4 +- + tests/conform/actor-offscreen-redirect.c | 29 +- + tests/conform/binding-pool.c | 60 +- + tests/conform/cally-text.c | 4 +- + tests/conform/path.c | 4 +- + tests/conform/test-conform-main.c | 48 +- + tests/conform/text-cache.c | 2 +- + tests/conform/timeline-interpolate.c | 2 +- + tests/conform/timeline.c | 4 +- + tests/data/Makefile.am | 7 +- + ...r-2.0.suppressions => clutter-1.0.suppressions} | 0 + tests/interactive/Makefile.am | 62 +- + tests/micro-bench/Makefile.am | 17 +- + tests/performance/Makefile.am | 23 +- + 348 files changed, 59581 insertions(+), 34445 deletions(-) + +commit c04c631e8c91b039fa7b0b56d1ef596690b7d7a0 +Author: Emmanuele Bassi +Date: Sat Jan 3 20:05:22 2015 +0000 + + keysyms: Update the list of key symbols + + clutter/clutter-keysyms.h | 5 +++++ + clutter/deprecated/clutter-keysyms.h | 5 +++++ + 2 files changed, 10 insertions(+) + +commit 96c6c0347440222e772c44c182bb6baf5bc2e201 +Author: Emmanuele Bassi +Date: Fri Jan 2 12:16:57 2015 +0000 + + build: Use `env` instead of TestEnvironment key + + We rely on having the DISPLAY environment variable set, otherwise we + default to skipping all tests automatically. The TestEnvironment key + inside the installed test launcher keyfile replaces the whole + environment, instead of just adding to it like the TESTS_ENVIRONMENT + automake variable. + + build/autotools/glib-tap.mk | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 847e3a2c553df8f0a6c78b6c6264a6c77a6e5704 +Author: Emmanuele Bassi +Date: Thu Jan 1 19:40:18 2015 +0000 + + build: Drop ad hoc gitignore generation rules + + Instead, include Makefile.am.gitignore. + + tests/interactive/Makefile.am | 17 ++++++++--------- + 1 file changed, 8 insertions(+), 9 deletions(-) + +commit 7bfd62f755410a6982a436f3edc938666fe5cdb9 +Author: Emmanuele Bassi +Date: Thu Jan 1 19:39:33 2015 +0000 + + build: Fix up gitignore generation rules + + Use more sources, and allow adding files to the ignore list when + including Makefile.am.gitignore. + + build/autotools/Makefile.am.gitignore | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 8d6cab0e71af3b9cb818cdd7b7f815505e2c9fac +Author: Emmanuele Bassi +Date: Thu Jan 1 15:18:43 2015 +0000 + + Ignore automake droppings + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 506f2c44317a782cc9dc0d44c60faf525483bd21 +Author: Emmanuele Bassi +Date: Thu Jan 1 15:16:40 2015 +0000 + + Remove unused pointer + + The PangoContext has been moved into ClutterActor. + + clutter/clutter-private.h | 1 - + 1 file changed, 1 deletion(-) + +commit 1b9650da38d0566fadfc8723598e601ddf6c3441 +Author: Emmanuele Bassi +Date: Thu Jan 1 15:10:54 2015 +0000 + + Remove global "actor id" + + It's absolutely, positively pointless. Every surviving call has long + since been deprecated, and should have not been public in the first + place. + + clutter/clutter-actor.c | 22 +++++++++------------- + clutter/clutter-main.c | 38 ++++---------------------------------- + clutter/clutter-private.h | 7 ------- + clutter/clutter-stage.c | 2 +- + 4 files changed, 14 insertions(+), 55 deletions(-) + +commit abda3ee4ce15121d3761fda5dc603f98e44b76d7 +Author: Emmanuele Bassi +Date: Thu Jan 1 15:09:23 2015 +0000 + + Improve debugging notes for main loop start/stop + + This way, we can track when we quit the main loop. + + clutter/clutter-main.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 5b9c6f49c454b94c705f259b8c6f27ded89abb91 +Author: Emmanuele Bassi +Date: Thu Jan 1 15:07:19 2015 +0000 + + Improve the warning message in clutter_main_quit() + + If you call clutter_main_quit() without calling clutter_main() + + [ South Park ski instructor] + + You're going to have a bad time. + + clutter/clutter-main.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit eb51f6cf10bec7ec8ea45761a154a8961f162ba3 +Author: Emmanuele Bassi +Date: Thu Jan 1 12:48:39 2015 +0000 + + actor: Do not restore the easing state in finalize() + + The easing state is part of the AnimationInfo structure, which is stored + inside the GObject's datalist. Each instance frees the data stored there + during finalization, so there is no point for us to restore an easing + state (which may or may not be the last one) just to have everything + cleared out once we chain up to GObject's own finalize() implementation. + + clutter/clutter-actor.c | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +commit d930bdf3fc32d5ab1d0d19bb3e94efb3963cd797 +Author: Emmanuele Bassi +Date: Thu Jan 1 12:45:11 2015 +0000 + + stage: Use the symbolic constant for event handled + + Clarifies the intent for everybody. + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2034e756582513ea3ff72213ac9d1f83336412fb +Author: Emmanuele Bassi +Date: Thu Jan 1 12:44:19 2015 +0000 + + Use the proper debug category + + Backend-related notes should use the `BACKEND` category, not `MISC`. + + clutter/x11/clutter-backend-x11.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 909569c52347fe3ae6c4ec20ce94f781a4741ac4 +Author: Emmanuele Bassi +Date: Tue Dec 16 14:00:15 2014 +0000 + + docs: Mark test utility API as private + + doc/reference/clutter/Makefile.am | 1 - + doc/reference/clutter/clutter-sections.txt | 12 ++++++++++++ + 2 files changed, 12 insertions(+), 1 deletion(-) + +commit c67dcd59c148b53c80cf72a1d33510fcb939d36c +Author: Emmanuele Bassi +Date: Tue Dec 16 13:59:41 2014 +0000 + + Add proper annotations for the test utilities + + This avoids g-ir-scanner complaining. + + clutter/clutter-test-utils.c | 43 ++++++++++++++++++++++++++++++++++++------- + 1 file changed, 36 insertions(+), 7 deletions(-) + +commit f589b6f63a2a2479a63e766f9a941a8b7820659e +Author: Emmanuele Bassi +Date: Tue Dec 16 13:33:16 2014 +0000 + + Revert "bind-constraint: Update the preferred size" + + This reverts commit fcc67e99bccc981774d59625b73118dadc75f6ea. + + It seems this causes some recursion overflow in GNOME Shell's usage of + constraints, and needs more investigation. + + clutter/clutter-bind-constraint.c | 51 --------------------------------------- + 1 file changed, 51 deletions(-) + +commit 8df2efca6b6bf36ba65ed5ac60700793b00ce278 +Author: Emmanuele Bassi +Date: Tue Dec 16 00:46:16 2014 +0000 + + constraint: Fix update_allocation()'s return value + + The update_allocation() method returns TRUE if the allocation was + changed. + + clutter/clutter-constraint.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1fe391606dff6f50eb74cf2ec8219f1a14a27695 +Author: Emmanuele Bassi +Date: Tue Dec 16 00:38:27 2014 +0000 + + docs: Add ClutterConstraintClass.update_preferred_size() + + clutter/clutter-constraint.h | 3 +++ + 1 file changed, 3 insertions(+) + +commit fcc67e99bccc981774d59625b73118dadc75f6ea +Author: Emmanuele Bassi +Date: Sun Dec 14 14:54:35 2014 +0000 + + bind-constraint: Update the preferred size + + Bind the preferred size of an actor using a BindConstraint to the + preferred size of the source of the constraint, depending on the + coordinate of the constraint. + + clutter/clutter-bind-constraint.c | 51 +++++++++++++++++++++++++++++++++++++++ + 1 file changed, 51 insertions(+) + +commit 66d48bcca07b371e3962cfa4b651e7717228db96 +Author: Emmanuele Bassi +Date: Sun Dec 14 14:44:04 2014 +0000 + + actor: Update preferred size using constraints + + If an actor has any constraint that may affect its preferred size, then + it should query them when computing its preferred size. + + clutter/clutter-actor.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 54 insertions(+) + +commit 391f1d8dd4323e825747fdab71a0d32303c7e343 +Author: Emmanuele Bassi +Date: Sun Dec 14 14:30:50 2014 +0000 + + constraint: Add the ability to update the preferred size + + Constraints can only update an existing allocation, which means they + live only halfway through the layout management system used by Clutter; + this limitation makes it impossible, for instance, to query the + preferred size of an actor, if the actor is only using constraints to + manage its own size. + + clutter/clutter-constraint-private.h | 7 +++++++ + clutter/clutter-constraint.c | 29 +++++++++++++++++++++++++++++ + clutter/clutter-constraint.h | 8 +++++++- + 3 files changed, 43 insertions(+), 1 deletion(-) + +commit 82fffaedb632bd7bf6a147d0fee41b8133cc6ad8 +Author: Emmanuele Bassi +Date: Sun Dec 14 14:20:53 2014 +0000 + + constraint: Add a private header + + And move the only private ClutterConstraint method to it. + + This commit also sneaks in a change that makes sense for the debugging + of the update_allocation() method, which checks if the allocation was + effectively changed. + + clutter/Makefile.am | 17 +++++------ + clutter/clutter-actor.c | 14 +++++---- + clutter/clutter-constraint-private.h | 35 ++++++++++++++++++++++ + clutter/clutter-constraint.c | 56 ++++++++++++++++++++++++++++++------ + clutter/clutter-constraint.h | 2 +- + clutter/clutter-private.h | 4 --- + doc/reference/clutter/Makefile.am | 1 + + 7 files changed, 102 insertions(+), 27 deletions(-) + +commit 768b5b89e2ced13c1fbaf54406868f7e39bc613e +Author: Emmanuele Bassi +Date: Tue Dec 16 00:33:23 2014 +0000 + + Post-release version bump to 1.21.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5514f1cf4289d2d85463e44de6dade86af21d129 +Author: Emmanuele Bassi +Date: Mon Dec 15 23:50:58 2014 +0000 + + Release Clutter 1.21.2 + + NEWS | 37 +++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 38 insertions(+), 1 deletion(-) + +commit 2f490c9dcc3111217ddb968054c1c0d5e475564b +Author: Emmanuele Bassi +Date: Tue Dec 16 00:15:18 2014 +0000 + + build: More out of tree build fixes + + clutter/Makefile.am | 2 +- + doc/reference/clutter/Makefile.am | 6 ++++-- + 2 files changed, 5 insertions(+), 3 deletions(-) + +commit 8e87d0417b341ca43d9399937c5946fe9cb48c32 +Author: Emmanuele Bassi +Date: Tue Dec 16 00:02:16 2014 +0000 + + build: Fix out-of-tree builds + + Add a srcdir prefix to the inspected files for glib-mkenums. + + build/autotools/Makefile.am.enums | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +commit c337100c14fbfc1a607c427424aeca9173ef8382 +Author: Emmanuele Bassi +Date: Tue Dec 3 13:43:36 2013 +0000 + + Use new introspection annotation syntax + + Instead of the deprecated one. + + clutter/cally/cally-actor.c | 4 +--- + clutter/clutter-container.c | 16 ++++------------ + clutter/clutter-interval.c | 8 ++------ + clutter/clutter-main.c | 8 ++------ + clutter/clutter-paint-node.c | 7 +------ + clutter/clutter-transition.c | 8 ++------ + clutter/deprecated/clutter-alpha.c | 4 +--- + clutter/deprecated/clutter-frame-source.c | 8 ++------ + 8 files changed, 15 insertions(+), 48 deletions(-) + +commit 270918d5c9ddf1b52fe4f8de5cc374693b02e226 +Author: Emmanuele Bassi +Date: Tue Dec 3 13:41:33 2013 +0000 + + Bump up the requirement for GLib and introspection + + The syntax for some introspection annotations has changed between 1.38 + and 1.39, so we need to bump up the dependency in order to get the new + scanner. Introspection should be updated in lock-step with GLib, so we + should also bump up the required GLib version. + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 05a940fa5e12ab065f827ed32af17e7335ca9fb6 +Author: Emmanuele Bassi +Date: Mon Dec 15 23:42:12 2014 +0000 + + docs: Mention ClutterRequestMode in the release notes + + README.in | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 4f03b32eea3cb7221eeaaf0d18e3c31cee23dda1 +Author: Emmanuele Bassi +Date: Mon Dec 15 23:39:05 2014 +0000 + + actor: Queue a relayout if we use the content's preferred size + + In case the ClutterContent changes, and the actor uses the content's + preferred size to drive its own. + + clutter/clutter-actor.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit e2eb0b0adad71bbd3bd71d5e82288bd9d9c5985d +Author: Emmanuele Bassi +Date: Mon Dec 15 23:13:30 2014 +0000 + + build: Use subdir-objects + + clutter/Makefile.am | 742 ++++++++++++++++++++++++++-------------------------- + 1 file changed, 372 insertions(+), 370 deletions(-) + +commit 3113f4521bc95a2a2db608fdcdb31cd36a536162 +Author: Emmanuele Bassi +Date: Mon Dec 15 23:12:43 2014 +0000 + + Fix the version number + + This is a development cycle. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1be019852f0a64188df3d4e45820246f21fdacbe +Author: Sjoerd Simons +Date: Mon Dec 15 17:29:52 2014 +0000 + + device-manager-xi2: Fix core pointer retrieval race + + The core pointer concept doesn't really exist anymore in an XI2 world, + so the clutter API is a bit of a mismatch with what X provides. Using + XIGetClientPointer doesn't really help, as far as i can tell the + semantics of XIGetClientPointer are essentially: Whatever the X server + picked when it had to reply with device-dependant data to a query + without a device specifier. Not very useful... + + To make matters worse, whether XIGetClientPointer returns a valid + pointer depends on whether there has been a query that forced it to pick + one in the first place, making the whole thing pretty non-deterministic. + + This patch changes things around such that instead of using + XIGetClientPointer to determine the core pointer, we simply pick the + first master pointer device. In practise this will essentially always + be the X virtual core pointer. + + https://bugzilla.gnome.org/show_bug.cgi?id=729462 + + clutter/x11/clutter-device-manager-xi2.c | 41 +++++++++++++------------------- + clutter/x11/clutter-device-manager-xi2.h | 2 -- + 2 files changed, 17 insertions(+), 26 deletions(-) + +commit 5281425a53aedaf3b03f2d658325e5d1413d36cc +Author: Jonas Ådahl +Date: Sat May 3 17:42:46 2014 +0200 + + DeviceManagerXi2: Update cached core pointer in getter if NULL + + XIGetClientPointer() may return the device id '0' when called early. + This patch makes pointer cursors work in nested mutter Wayland + sessions again. + + https://bugzilla.gnome.org/show_bug.cgi?id=729462 + + clutter/x11/clutter-device-manager-xi2.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit b5c8dae5a7cacaebf3639df56dc9bfacfac94976 +Author: Emmanuele Bassi +Date: Mon Dec 15 17:10:33 2014 +0000 + + Document CLUTTER_BACKEND and CLUTTER_INPUT_BACKEND envvars + + The allowed values are determined at configure time, but we can list all + the possible values, and assume people will actually check. + + https://bugzilla.gnome.org/show_bug.cgi?id=681300 + + doc/reference/clutter/running-clutter.xml | 38 +++++++++++++++++++++++++++++++ + 1 file changed, 38 insertions(+) + +commit cca0777b3482003b5cac7b1d08f80d9f73df7a9f +Author: Emmanuele Bassi +Date: Mon Dec 15 17:10:23 2014 +0000 + + docs: Add missing symbols + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit b7c41203992e17c3d0744aaba558b1a8b7622cc9 +Author: Emmanuele Bassi +Date: Mon Dec 15 16:51:05 2014 +0000 + + osx: Clean up installed clutter-osx.h header + + The installed header should not have private API declarations and + macros. Let's move those into the uninstalled clutter-backend-osx.h + header file instead. + + clutter/osx/clutter-backend-osx.h | 8 +++++++- + clutter/osx/clutter-event-osx.c | 1 + + clutter/osx/clutter-osx.h | 9 +-------- + 3 files changed, 9 insertions(+), 9 deletions(-) + +commit 9efda7eac7182249cf1a28020a4b3d9bcb45362f +Author: cee1 +Date: Wed Dec 4 10:43:56 2013 +0800 + + clutter/osx: add clutter_osx_disable_event_retrieval + + https://bugzilla.gnome.org/show_bug.cgi?id=719962 + + clutter/osx/clutter-backend-osx.c | 19 ++++++++++++++++++- + clutter/osx/clutter-osx.h | 4 +++- + 2 files changed, 21 insertions(+), 2 deletions(-) + +commit d005c6a8809fe48ce5c8e5a9f0f620e4f60bb7e6 +Author: Emmanuele Bassi +Date: Sun Dec 14 23:05:17 2014 +0000 + + script: Do not overwrite ObjectInfo fields + + When merging multiple definitions it's possible that the ObjectInfo + fields may get overwritten. Instead of trampling over the fields, we + should reset them only when they actually change — especially the + "is_actor" one, which controls the destruction of the objects when + unmerging happens. + + https://bugzilla.gnome.org/show_bug.cgi?id=669743 + + clutter/clutter-script-parser.c | 19 ++++++++++--------- + 1 file changed, 10 insertions(+), 9 deletions(-) + +commit e6a60f661784f3c0d8744402a0569ea47426ba02 +Author: Emmanuele Bassi +Date: Sun Dec 14 23:03:58 2014 +0000 + + conform: Drop a deprecated property + + Use the non-deprecated :orientation property, instead of the + deprecated :vertical one. + + tests/conform/scripts/test-script-named-object.json | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f851d5b98533263a8e03193b5970205d23d22843 +Author: Emmanuele Bassi +Date: Sun Dec 14 20:27:25 2014 +0000 + + docs: Add missing deprecation annotations + + https://bugzilla.gnome.org/show_bug.cgi?id=709252 + + clutter/deprecated/clutter-alpha.h | 6 ++++++ + clutter/deprecated/clutter-animation.h | 4 ++++ + clutter/deprecated/clutter-animator.h | 2 ++ + 3 files changed, 12 insertions(+) + +commit d546c0c121a967ab49773f91119dffe9d0358cdd +Author: Emmanuele Bassi +Date: Sat Dec 13 14:29:30 2014 +0000 + + actor: Reset the content box when setting a new content + + We want to recompute the content box when changing the content instance, + in case the preferred size is different and the content gravity uses the + preferred size; the change of content with different preferred size and + same gravity should also trigger an implicit transition. + + https://bugzilla.gnome.org/show_bug.cgi?id=711182 + + clutter/clutter-actor.c | 20 +++++++++++++++++++- + 1 file changed, 19 insertions(+), 1 deletion(-) + +commit 1e2132eca49347a2d8e519ab45780c52952c3e9e +Author: Emmanuele Bassi +Date: Sat Dec 13 14:28:46 2014 +0000 + + actor: Bail when setting the same content + + No need to do all the work, if the content instance is the same. + + clutter/clutter-actor.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 300aa465c7affe1ddcbfb902d402766af33bf349 +Author: Emmanuele Bassi +Date: Sat Dec 13 13:37:05 2014 +0000 + + actor: Add CLUTTER_REQUEST_CONTENT_SIZE mode + + Some actors want to have a preferred size driven by their content, not + by their children or by their fixed size. + + In order to achieve that, we can extend the ClutterRequestMode + enumeration so that clutter_actor_get_preferred_size() defers to the + ClutterContent's own preferred size. + + https://bugzilla.gnome.org/show_bug.cgi?id=676326 + + clutter/clutter-actor.c | 88 ++++++++++++++++++++++++++++++++++++++++++++----- + clutter/clutter-enums.h | 5 ++- + 2 files changed, 83 insertions(+), 10 deletions(-) + +commit e7d1458298318dad8eb046540162323dc1a76b25 +Author: Samuel Degrande +Date: Mon Dec 1 20:18:46 2014 +0100 + + Easing modes are not used when computing the value of a KeyframeTransition + + An easing mode can be set on a frame of a KeyframeTransition. + However, the progress value of the current frame is computed using using + a linear function. + This patch adds a call to clutter_easing_for_mode() to compute + the actual progress value. + Note that parametrized easing modes (bezier and 'step') are not taken + into account. + + https://bugzilla.gnome.org/show_bug.cgi?id=740997 + + clutter/clutter-keyframe-transition.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit d3dbd169d652deda3aaaf0579d85af801b877b4f +Author: Emmanuele Bassi +Date: Thu Dec 11 22:34:19 2014 +0000 + + docs: Add versioned indexes + + We have a bunch of versions to cover. + + doc/reference/clutter/clutter-docs.xml.in | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +commit d2a2e5ba9cc3ebeec6a12e84d4d3ca0c0df29874 +Author: Emmanuele Bassi +Date: Thu Dec 11 22:32:36 2014 +0000 + + Add 1.22 version macros + + The 1.22 cycle did start a while ago. + + clutter/clutter-macros.h | 14 ++++++++++++++ + clutter/clutter-version.h.in | 12 +++++++++++- + 2 files changed, 25 insertions(+), 1 deletion(-) + +commit be0679291984ff99064d38523e5e2c65a7379c6c +Author: Emmanuele Bassi +Date: Thu Dec 11 22:34:40 2014 +0000 + + Bump up the version to 1.21.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit a0e2ba62a185c2db1fb998863f3e2011aebfaf68 +Author: Carlos Garnacho +Date: Wed Dec 10 16:51:43 2014 +0100 + + x11: Resort to device name matching for non-mt touchpads + + If a touchpad is not multitouch, or does not report MT axes (eg. through + the libinput driver), resort to name matching before falling back to + CLUTTER_POINTER_DEVICE. + + https://bugzilla.gnome.org/show_bug.cgi?id=741350 + + clutter/x11/clutter-device-manager-xi2.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 1cabee8d24ad57208de7d4c4b8a34cdd93cd1d43 +Author: Carlos Garnacho +Date: Tue Nov 11 10:59:26 2014 +0100 + + evdev: Lookup config to report touchpads as such + + Check a touchpad-only setting, and if it returns an expected value there, + the device must be a CLUTTER_DEVICE_TOUCHPAD. + + https://bugzilla.gnome.org/show_bug.cgi?id=741350 + + clutter/evdev/clutter-input-device-evdev.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit a18b2f067bca19f364e2abc3105282c6a7f47fe4 +Author: Carlos Garnacho +Date: Wed Nov 26 17:15:48 2014 +0100 + + evdev: Prefer pointer/touch devices over keyboard devices + + In keyboard/mouse wireless combos, it is rather common for the mouse to + claim it contains the multimedia keys, this makes libinput enable both + the pointer and keyboard capabilities on this device, and Clutter thus + to create a keyboard ClutterInputDevice for it. + + Ideally clutter devices should be able to reflect their full capabilities, + or maybe account for the fact that certain events can be sent from + seemingly unexpected device types. But this will bring a somewhat better + behavior on such devices. + + https://bugzilla.gnome.org/show_bug.cgi?id=740518 + + clutter/evdev/clutter-input-device-evdev.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit c3c89332f6541848b5c3853858249e39b116b4fd +Author: Muhammet Kara +Date: Tue Dec 9 20:37:12 2014 +0000 + + Updated Turkish translation + + po/tr.po | 2736 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1565 insertions(+), 1171 deletions(-) + +commit 8afb499ce506b68716b4262bc16eb3d2a031bce1 +Author: Emmanuele Bassi +Date: Wed Dec 3 12:12:43 2014 +0000 + + image: Do not put large textures in the atlas + + Atlasing is fine for smaller textures, but once they get too large its + downsides outweight the benefits. At worst, the larger texture will end + up inside its own atlas, but at worst it will require copying and/or + resizing of an existing atlas. + + The cut-off at 512x512 pixels is a bit arbitrary, and we can change it + at any point; it would be nice if we could get the texture limit from + Cogl, and then use a fraction of that size as the cut-off limit. Sadly, + that's not portable, and it's not guaranteed to work either. + + clutter/clutter-image.c | 21 ++++++++++++++++++--- + 1 file changed, 18 insertions(+), 3 deletions(-) + +commit 54efcf0e903e50ce927d3b22aa1edfa7dfa1744a +Author: Emmanuele Bassi +Date: Wed Dec 3 12:11:55 2014 +0000 + + gdk: Use non-deprecated GdkCursor API + + The non-display safe variant has been deprecated in GTK+ 3.15. + + clutter/gdk/clutter-stage-gdk.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +commit 7d7eb8aabda177e502f388cbe7dd6b2b4e892bc3 +Author: Emmanuele Bassi +Date: Wed Dec 3 12:07:06 2014 +0000 + + gdk: Disable deprecation warnings + + We don't want to break the build because GDK deprecated some symbol. + + clutter/gdk/clutter-stage-gdk.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 3879bacc78246e538b5baed37c07e9d0617cdce8 +Author: Emmanuele Bassi +Date: Wed Dec 3 12:05:37 2014 +0000 + + Avoid a compiler warning + + Initialize a pointer variable. + + clutter/cogl/clutter-stage-cogl.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit acbfb2bbb5a05ce30eb51f572f0e67e19c50046a +Author: Jordi Mas +Date: Sat Nov 29 09:44:34 2014 -0500 + + Fixes to Catalan translation + + po/ca.po | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 47df16ec3b7956dd1544616ec6b959db361ce0e9 +Author: Emmanuele Bassi +Date: Wed Nov 26 12:46:51 2014 +0000 + + Revert "actor: Plug a leak in the implicit transition removal" + + This reverts commit 158af1ff594d8984b59dcf90654ed04cd8c53e16. + + This commit introduced a regression, so the leak will have to be fixed + in another way. + + clutter/clutter-actor.c | 8 -------- + 1 file changed, 8 deletions(-) + +commit d482016d7a2c210baf400ae4b15c37df17ec48aa +Author: Pawan Chitrakar +Date: Sat Nov 22 11:42:58 2014 +0000 + + Added Nepali translation + + po/ne.po | 2189 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2189 insertions(+) + +commit 46877cc2bd497ec23acfa07fedaf29f45522dc6f +Author: Jasper St. Pierre +Date: Wed Oct 22 18:44:22 2014 -0700 + + actor: Create a PangoContext per actor + + For a variety of complicated reasons, ClutterText currently sets fields + on the PangoContext when creating a layout. This causes ClutterText to + behave somewhat erratically in certain cases, since the PangoContext is + currently shared between all actors. + + GTK+ creates a PangoContext for every single GtkWidget, so it seems like + we should do the same here. + + Move the private code that was previously in clutter-main.c into + clutter-actor.c and clean it up a bit. This gives every actor its own + PangoContext it can mutilate whenever it wants, at its heart's content. + + https://bugzilla.gnome.org/show_bug.cgi?id=739050 + + clutter/clutter-actor.c | 66 ++++++++++++++++++++++++++++++++++---- + clutter/clutter-main.c | 80 ----------------------------------------------- + clutter/clutter-private.h | 2 -- + 3 files changed, 60 insertions(+), 88 deletions(-) + +commit 14d28e7908d5421f15f9b94f4f37d66f14c4222e +Author: Jasper St. Pierre +Date: Wed Oct 22 18:44:16 2014 -0700 + + main: Don't update the PangoContext in clutter_set_font_flags + + clutter_set_font_flags already calls clutter_backend_set_font_options, + which emits a signal which our PangoContext listens to, so this is just + duplicate and unneeded code. + + https://bugzilla.gnome.org/show_bug.cgi?id=739050 + + clutter/clutter-main.c | 5 ----- + 1 file changed, 5 deletions(-) + +commit 7764fd2079318fede95b4b96c72d18bd31699270 +Author: Carlos Garnacho +Date: Tue Oct 14 12:41:10 2014 +0200 + + evdev: Flush event queue before removing an input device + + libinput_suspend() will trigger the removal of input devices, but also + the emission of button/key releases pairing everything that is pressed + at that moment. These events are queued, but the ClutterInputDevice + pointers in these will point to invalid memory at the time these are + processed. + + Fix this by flushing the event queue, in order to ensure there are no + unprocessed input events after libinput_suspend(). + + https://bugzilla.gnome.org/show_bug.cgi?id=738520 + + clutter/evdev/clutter-device-manager-evdev.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +commit 084dc49a0cdadeed7de896df81e9af536f2ab678 +Author: Rico Tzschichholz +Date: Thu Oct 2 09:27:36 2014 +0200 + + x11: Add missing closure annotation to ClutterX11FilterFunc + + clutter/x11/clutter-x11.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 317a54f9fbba526233a91d4d45bf6963c97d0b0f +Author: Emmanuele Bassi +Date: Mon Sep 22 12:01:30 2014 +0100 + + build: Update the release rules + + Change the URLs for mailing lists and documentation, and re-align the + output. + + build/autotools/Makefile.am.release | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit 28cd2c56d1e902f508ea4c5571ccb17058bf915f +Author: Emmanuele Bassi +Date: Mon Sep 22 11:48:37 2014 +0100 + + Post-release version bump to 1.20.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit ddda4aec18359aa6bcdff218133c079d4733f155 +Author: Olav Vitters +Date: Wed Jul 30 19:38:35 2014 +0200 + + doap category core + + clutter.doap | 1 + + 1 file changed, 1 insertion(+) + +commit 85bde59549cfcb37e17aa1eca236ce3eb4ea45b1 +Author: Yosef Or Boczko +Date: Fri May 16 04:35:13 2014 +0300 + + Updated Hebrew translation + + po/he.po | 2606 ++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 1169 insertions(+), 1437 deletions(-) + +commit d3fc8678406081b4fa2142db13baf9e2629914c1 +Author: Carles Ferrando +Date: Mon May 12 23:45:55 2014 +0200 + + [l10n] Updated Catalan (Valencian) translation + + po/ca@valencia.po | 2256 ++++++++++++++++++++++++----------------------------- + 1 file changed, 1041 insertions(+), 1215 deletions(-) + +commit f05eac430537786e186afa25544af929ac59e85b +Author: Pau Iranzo +Date: Mon May 12 23:45:33 2014 +0200 + + [l10n] Update Catalan translation + + po/ca.po | 1142 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 595 insertions(+), 547 deletions(-) + +commit 810e16c44fb669e7b95de6c010c72caeaac04f7b +Author: Daniel Mustieles +Date: Sat May 10 19:39:59 2014 +0200 + + Updated Spanish translation + + po/es.po | 2192 ++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 992 insertions(+), 1200 deletions(-) + +commit 266eac1ebb65816ef6ce08e30a4434f0b94e4b8d +Author: Gustavo Noronha Silva +Date: Mon Apr 28 16:03:13 2014 -0300 + + clutter-canvas: cache the texture to avoid uploads + + When an actor carrying canvas content is repainted, it will currently reupload + the data from the buffer to a texture. While this is not a performance problem + on a desktop, some mobile environments take a big performance hit. This + change tracks data changes and only recreates the texture if necessary. + + https://bugzilla.gnome.org/show_bug.cgi?id=729144 + + clutter/clutter-canvas.c | 33 +++++++++++++++++++++++---------- + 1 file changed, 23 insertions(+), 10 deletions(-) + +commit bfba8cd5c84fb74e50cef35bc0befa2d1ee0c0c1 +Author: Gustavo Noronha Silva +Date: Fri Apr 18 15:10:42 2014 -0300 + + clutter-main: start mainloop timer on clutter_init() + + By creating and starting the timer on clutter_main() an assumption is made + that that is how the main loop will be run for all clutter applications. + With more and more applications moving to GApplication, this assumption no + longer holds true. + + Moving to clutter_init() means we are starting the timer earlier than we + should, and by not stopping it when the main loop quits we are taking a + measure that is later than we should. I believe it is safe to consider + those are close enough to the actual beginning and quitting of the main + loop in practice. + + https://bugzilla.gnome.org/show_bug.cgi?id=728521 + + clutter/clutter-main.c | 21 ++++++++++----------- + 1 file changed, 10 insertions(+), 11 deletions(-) + +commit 447dda82df74d035f326c8c3d053530462724e7f +Author: Inaki Larranaga Murgoitio +Date: Wed Apr 16 17:16:14 2014 +0200 + + Updated Basque language + + po/eu.po | 2607 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2607 insertions(+) + +commit 9c5d84c0fe27980aebb8df3d6b901f6b1d0fe8cc +Author: Piotr Drąg +Date: Sun Mar 30 18:35:35 2014 +0200 + + doap: update URLs + + clutter.doap | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 9e59f611339c55966e00896e6fd724b80b6df4d0 +Author: Alexandre Franke +Date: Fri Mar 21 08:35:08 2014 +0000 + + Updated French translation + + po/fr.po | 2429 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1359 insertions(+), 1070 deletions(-) + +commit df4dad55fd917bf860491601985402c8b71c982f +Author: Ask H. Larsen +Date: Wed Mar 19 22:36:31 2014 +0100 + + Updated Danish translation + + po/da.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6a3e336ee0cadcc1edd487aab0f6bd103bc0304e +Author: Ask H. Larsen +Date: Wed Mar 19 22:27:35 2014 +0100 + + Updated Danish translation + + po/da.po | 396 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 216 insertions(+), 180 deletions(-) + +commit 592e969254c36ce355ab0e2f84e4a9203ed8f2c0 +Author: Changwoo Ryu +Date: Wed Mar 12 09:38:10 2014 +0900 + + Added Korean translation + + po/ko.po | 2799 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2799 insertions(+) + +commit 25a092b604adcca3493b54f7520553de9a54f286 +Author: Bastian Winkler +Date: Tue Mar 11 12:35:03 2014 +0100 + + grid-layout: Use correct orientation when requesting preferred child size + + Otherwise width and height are swapped. + + https://bugzilla.gnome.org/show_bug.cgi?id=725722 + + clutter/clutter-grid-layout.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 408b7eb625280d1f6d039e6849bceef6e1d01f87 +Author: Yuri Myasoedov +Date: Tue Mar 11 16:20:07 2014 +0400 + + Updated Russian translation + + po/ru.po | 1118 +++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 602 insertions(+), 516 deletions(-) + +commit 17e03eb8fce70ba09024d5b6152f076bffbb03c9 +Author: Rūdolfs Mazurs +Date: Sat Mar 8 19:45:42 2014 +0200 + + Updated Latvian translation + + po/lv.po | 935 ++++++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 500 insertions(+), 435 deletions(-) + +commit ae58ad8c465f377fc769b246fb261e1cbb8d48cd +Author: Chun-wei Fan +Date: Fri Mar 7 12:28:40 2014 +0800 + + Fix The Win32 Backend for Newer Visual Studio Versions + + The GetSystemMetrics() function returns wrong values for SM_CXSIZEFRAME, + SM_CYSIZEFRAME, SM_CXFIXEDFRAME and SM_CYFIXEDFRAME when built with Visual + Studio 2012 and 2013 (unless the XP compatibility setting for the + PlatformToolset entry is turned on), causing the window of Clutter programs + to automatically shrink to a point where they become unusable. + + This patch uses AdjustWindowRectEx() for builds using Visual Studio 2012 + and later, which deduces the required height and width of the Window + properly. Unfortunately we can't use this for the VS 2008/2010 builds as + they cause the Window to continually expand as the program is run. + + https://bugzilla.gnome.org/show_bug.cgi?id=725873 + + clutter/win32/clutter-stage-win32.c | 25 ++++++++++++++++++++----- + 1 file changed, 20 insertions(+), 5 deletions(-) + +commit 45935fbe29c544b2af72c9ab5a55c1a452e20b1c +Author: Carlos Garnacho +Date: Sat Feb 22 20:35:23 2014 +0100 + + x11: Avoid invalid ClutterInputDevice pointers in the device list + + Due to the way add_device() invariably adds to the master/slave device + lists, while keeping ClutterInputDevices 1:1 with device IDs, it may + leave invalid pointers in the list if add_device() is called multiple + times for the same device ID. There are two situations where this may + happen: + + 1) If devices are disabled and later enabled: devices are added invariably + to the master/slave lists on constructed(), but then on XIDeviceEnabled + they'd get added yet again. + 2) Racy cases where the ClutterDeviceManager is created around the same time + XIHierarchyEvents are sent. When getting the XIDeviceInfo on constructed(), + these devices may already appear as enabled, even though XIDeviceEnabled + is seen through XIHierarchyEvents processed in the event loop sortly after. + + This last case can be seen when starting gnome-shell on a different tty, + and entering in the one it's been spawned on, clutter initialization + happens around the same time devices are added back because of the tty + switch, and multiple extra ClutterInputDevices are created. + + https://bugzilla.gnome.org/show_bug.cgi?id=724971 + + clutter/x11/clutter-device-manager-xi2.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 086190273b44f1decee759d610525b4a5ff04f3d +Author: Milo Casagrande +Date: Sun Feb 16 12:21:14 2014 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 57 ++++++++++++++++++++++++++++++++++++--------------------- + 1 file changed, 36 insertions(+), 21 deletions(-) + +commit dd2debfc52b1cf19d64e0ab1bf38bd35aef7ccc8 +Author: Milo Casagrande +Date: Sun Feb 9 12:33:16 2014 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 169 +++++++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 99 insertions(+), 70 deletions(-) + +commit eb96602718b835e827a962b09771a389e310ef3d +Author: Wylmer Wang +Date: Fri Jan 24 21:12:20 2014 +0800 + + Update Chinese simplified translation + + po/zh_CN.po | 2309 ++++++++++++++++++++++++++--------------------------------- + 1 file changed, 1014 insertions(+), 1295 deletions(-) + +commit 0258c72a5f2c88e4f2dc8a772fefac3a3b3cc0f0 +Author: Daniel Mustieles +Date: Thu Jan 23 12:47:12 2014 +0100 + + Updated FSF's address + + clutter/cally/cally-clone.c | 4 +--- + clutter/cally/cally-factory.h | 4 +--- + clutter/cally/cally-group.c | 4 +--- + clutter/cally/cally-rectangle.c | 4 +--- + clutter/cally/cally-root.c | 4 +--- + clutter/cally/cally-stage.c | 4 +--- + clutter/cally/cally-text.c | 4 +--- + clutter/cally/cally-texture.c | 4 +--- + clutter/cally/cally-util.c | 4 +--- + clutter/cally/cally.c | 4 +--- + clutter/clutter-text-buffer.c | 4 +--- + clutter/clutter-text-buffer.h | 4 +--- + tests/accessibility/cally-atkcomponent-example.c | 4 +--- + tests/accessibility/cally-atkeditabletext-example.c | 4 +--- + tests/accessibility/cally-atkevents-example.c | 4 +--- + tests/accessibility/cally-atktext-example.c | 4 +--- + tests/accessibility/cally-clone-example.c | 4 +--- + tests/accessibility/cally-examples-util.c | 4 +--- + tests/accessibility/cally-examples-util.h | 4 +--- + 19 files changed, 19 insertions(+), 57 deletions(-) + +commit 5be190a98a3063179492924660ec36abf8f28809 +Author: Sphinx Jiang +Date: Thu Jan 2 09:42:43 2014 +0800 + + Update Chinese simplified translation + + po/zh_CN.po | 2773 ++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1516 insertions(+), 1257 deletions(-) + +commit 7867c86c2b72c66d54e679197820f986f7821b5c +Author: Milo Casagrande +Date: Thu Dec 12 09:36:01 2013 +0100 + + [l10n] Updated Italian translation. + + po/it.po | 1365 ++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 695 insertions(+), 670 deletions(-) + +commit f6ad53d9e0b5d64ba4a476d29b81edcbb718f05c +Author: Florian Müllner +Date: Fri Nov 29 15:43:45 2013 +0000 + + input-device: Guard against double free + + Dispose() may be called more than once, so calling g_free directly + on the device name is unsafe. Instead, use g_clear_pointer() to + make sure we don't attempt to free the memory again. + + https://bugzilla.gnome.org/show_bug.cgi?id=719563 + + clutter/clutter-input-device.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9a471cf08dd362cf8b0cb864f4841995585d96c2 +Author: Owen W. Taylor +Date: Tue Nov 26 11:04:27 2013 -0500 + + Don't queue redraws when reallocating actor that haven't moved + + When support for implicit animation of actor position was added, + the optimization for not queueing when allocating an actor back + to the same location was lost. This optimization is important + since when we are hierarchically allocating down from the top of + the stage we constantly reallocate the actors at the top of the + hierarchy back to the same place. + + https://bugzilla.gnome.org/show_bug.cgi?id=719368 + + clutter/clutter-actor.c | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +commit 0d0248b31f00d08ed4d5ca334fd9f93a7c6d5eab +Author: Owen W. Taylor +Date: Fri Nov 22 10:30:21 2013 -0500 + + Bind constraints: Don't force redraws on source relayout + + When the source actor potentially changes size, that shouldn't + necessarily result in the target actor being redrawn - it should + be like when a child of a container is reallocated due to changes + in its siblings or parent - it should redraw only to the extent + that it is moved and resized. Privately export an internal function + from clutter-actor.c to allow getting this right. + + https://bugzilla.gnome.org/show_bug.cgi?id=719367 + + Conflicts: + clutter/clutter-actor.c + + clutter/clutter-actor-private.h | 1 + + clutter/clutter-actor.c | 4 +--- + clutter/clutter-bind-constraint.c | 2 +- + clutter/clutter-snap-constraint.c | 2 +- + 4 files changed, 4 insertions(+), 5 deletions(-) + +commit 90c05e98a8cbf3748758af5a11dfa129d8334c46 +Author: Lionel Landwerlin +Date: Wed Oct 9 18:35:59 2013 +0100 + + stage: implement touch event throttling + + https://bugzilla.gnome.org/show_bug.cgi?id=709761 + + clutter/clutter-stage.c | 38 +++++++++++++++++++++++++------------- + 1 file changed, 25 insertions(+), 13 deletions(-) + +commit 7ae3b32cf1ccaba6b765f263ee12bd9ffe631174 +Author: Pavol Klačanský +Date: Tue Oct 8 23:34:58 2013 +0200 + + Updated slovak translation + + po/sk.po | 613 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 322 insertions(+), 291 deletions(-) + +commit 79c2d3ede7a2e379bf110bacee92932de9793aff +Author: Bastien Nocera +Date: Tue Oct 8 11:40:23 2013 +0200 + + ClutterEvent: Mention _get_source_device() in docs + + It's too easy getting bitten by the ->device red herring, thinking + that it's the original input device the event originated from. + + https://bugzilla.gnome.org/show_bug.cgi?id=709620 + + clutter/clutter-event.c | 2 ++ + clutter/clutter-event.h | 18 ++++++++++++------ + 2 files changed, 14 insertions(+), 6 deletions(-) + +commit 09085b3fee4c512495f6740a1d32d9b8d01dd148 +Author: Bastien Nocera +Date: Fri Sep 27 15:00:57 2013 +0200 + + actor: Correct setting the offscreen-redirect property + + It's a flags property, not an enum one. + + https://bugzilla.gnome.org/show_bug.cgi?id=708922 + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit bb983d6b5dd3ef908e58e6ac36820f3a043c7980 +Author: Balázs Úr +Date: Thu Sep 26 00:20:44 2013 +0200 + + Initial Hungarian translation + + po/hu.po | 1960 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 1960 insertions(+) + +commit 935724e5384f57f6ce425bcee49b289ef51104b2 +Author: Kenneth Nielsen +Date: Mon Sep 23 19:36:40 2013 +0200 + + Updated Danish translation + + po/da.po | 2138 ++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 964 insertions(+), 1174 deletions(-) + +commit d8aecdbe787d01d8eedc70505e7d37ee4c3af87d +Author: António Lima +Date: Mon Sep 23 00:05:49 2013 +0100 + + Updated Portuguese translation + + po/pt.po | 2144 ++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 968 insertions(+), 1176 deletions(-) + +commit a690668b65949ec1027f8c1b41294eb84ac18db9 +Author: Benjamin Steinwender +Date: Mon Sep 16 18:59:53 2013 +0200 + + Updated German translation + + po/de.po | 1301 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 659 insertions(+), 642 deletions(-) + +commit e10276b26c2594f7632315eebac8359d685a5e5d +Author: Rūdolfs Mazurs +Date: Thu Sep 12 15:23:15 2013 +0300 + + Updated Latvian translation + + po/lv.po | 1291 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 653 insertions(+), 638 deletions(-) + +commit 29eef6de61157db81a6fac4dca219c0c3f4b8ce8 +Author: Rob Bradford +Date: Tue Sep 3 12:24:20 2013 +0100 + + wayland: Check for NULL surface on pointer leave events + + In the protocol this is the expected behaviour when the client has + destroyed the surface. + + https://bugzilla.gnome.org/show_bug.cgi?id=707377 + + clutter/wayland/clutter-input-device-wayland.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit c5468ddf52c893cf98756f04ffabf8980f60181a +Author: Yuri Myasoedov +Date: Fri Sep 6 13:22:45 2013 +0400 + + Updated Russian translation + + po/ru.po | 1456 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 725 insertions(+), 731 deletions(-) + +commit cf214d71da374ee7aafa5e3d4994dca45c25998a +Author: Jorge Pérez Pérez +Date: Thu Sep 5 00:02:38 2013 +0200 + + Added Aragonese translation + + po/an.po | 2793 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 2793 insertions(+) + +commit 752d932bdf943934019ed108a933ec9362c95118 +Author: Gil Forcada +Date: Sat Aug 31 22:53:04 2013 +0200 + + [l10n] Update Catalan translation + + po/ca.po | 1229 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 619 insertions(+), 610 deletions(-) + +commit e2f9841818922d5ef5f69b349c06890e7e07177a +Author: Chun-wei Fan +Date: Thu Aug 29 17:35:13 2013 +0800 + + Clean up Visual Studio Build Files + + -Combine entries in the property sheets and make it a bit more flexible, + and drop some redundant items + -Use Custom Build Rules for generating enumeration and marshalling sources, + and the .def file so that they can be wiped off when a "clean" is + requested, and regenerate automatically when the templates/.symbols + files are updated. + -Improve consistency by using ApiVersion rather than ClutterApiVersion + with the Visual Studio project for other components of the Clutter/GTK+ + stack + -Get rid of unneeded configs in the "install" project + + build/win32/vs10/clutter.props | 428 +++++++++++++---------------- + build/win32/vs10/clutter.sln | 16 +- + build/win32/vs10/clutter.vcxproj.filtersin | 5 + + build/win32/vs10/clutter.vcxprojin | 136 ++++++--- + build/win32/vs10/install.vcxproj | 84 +----- + build/win32/vs9/clutter.sln | 16 +- + build/win32/vs9/clutter.vcprojin | 230 ++++++++++++++-- + build/win32/vs9/clutter.vsprops | 398 +++++++++++++-------------- + build/win32/vs9/install.vcproj | 60 +--- + 9 files changed, 726 insertions(+), 647 deletions(-) + +commit fbd0a0b479fad5fc1e51a08ec528c15c9d239f7c +Author: Chun-wei Fan +Date: Thu Aug 29 10:52:37 2013 +0800 + + Visual C++ Builds: Update Header "Installation" + + This is taken directly from the 1.16 series, as it seems that the 1.x + development starts from here, so put this here first and make the + neccessary adjustments as we go on. + + build/win32/vs10/clutter.props | 40 +++++++++++++++++++++++++++++----------- + build/win32/vs9/clutter.vsprops | 23 ++++++++++++++++------- + 2 files changed, 45 insertions(+), 18 deletions(-) + +commit dc05363545b2bee02a0868638fba12f6a72d996c +Author: Ján Kyselica +Date: Tue Aug 27 19:09:08 2013 +0200 + + Added slovak translation + + po/sk.po | 3029 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 3029 insertions(+) + +commit 03d10a19eca14de6fd3aafd869a2658b960d0ba4 +Author: Cheng Lu +Date: Fri Aug 23 21:21:05 2013 +0800 + + Update Chinese simplified translation + + po/zh_CN.po | 2993 +++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1681 insertions(+), 1312 deletions(-) + +commit 275790f56969b4b65a9be7bf90b45d73631d06b5 +Author: Alexandre Franke +Date: Thu Aug 22 14:25:27 2013 +0200 + + Update French translation + + po/fr.po | 2163 ++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 977 insertions(+), 1186 deletions(-) + +commit aaebfc78263c06a9c493dec6c4c1f27f10f31449 +Author: Piotr Drąg +Date: Tue Aug 20 22:14:33 2013 +0200 + + Updated Polish translation + + po/pl.po | 1226 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 619 insertions(+), 607 deletions(-) + +commit 2b8fcfd75b0500156e41f303d803116f82769eaf +Author: Rob Bradford +Date: Mon Aug 12 17:29:28 2013 +0100 + + wayland: When resizing only trigger a redraw if the stage has been shown + + This is necessary to avoid a deadlock with the compositor. When setting + a stage size before the stage was shown this would trigger a redraw + inside clutter_stage_wayland_resize. This redraw would result + in a call into eglSwapBuffers which would attach a buffer to the surface + and commit. Unfortunately this would happen before the role for the + surface was set. This would result in the compositor not relaying to the + client that the desired frame was shown. + + With this change the call to wl_shell_surface_set_toplevel is always + made before the first redraw. + + https://bugzilla.gnome.org/show_bug.cgi?id=704457 + + clutter/wayland/clutter-stage-wayland.c | 8 +++++++- + clutter/wayland/clutter-stage-wayland.h | 1 + + 2 files changed, 8 insertions(+), 1 deletion(-) + +commit 4d79dd2948d915b6a82f31f34072bbfd986d369e +Author: Rafael Ferreira +Date: Mon Aug 5 23:57:26 2013 -0300 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 2240 +++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 1247 insertions(+), 993 deletions(-) + +commit b6a931c8d9aefece78866f3f5fab0c9131fa0fc4 +Author: Rob Bradford +Date: Sun Aug 4 15:38:40 2013 +0100 + + wayland: Only process enter and leave events Clutter created surfaces + + When combining with GTK we will receive enter and leave events for surfaces + from both toolkits therefore we must filter our events appropriately. + + clutter/wayland/clutter-input-device-wayland.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit 61dc824c9178df01a1c5ad43d93fac77f0d6dbca +Author: Rob Bradford +Date: Sun Aug 4 15:33:30 2013 +0100 + + wayland: Check there is valid pointer or keyboard focus for events + + clutter/wayland/clutter-input-device-wayland.c | 22 +++++++++++++++++++--- + 1 file changed, 19 insertions(+), 3 deletions(-) + +commit de933213b7c23ab8a65fbc798887f2a13bf15d2a +Author: Rob Bradford +Date: Mon Jul 15 18:36:26 2013 +0100 + + wayland: Only create and act on shell_surface for non-foreign surfaces + + We should not create a shell surface and set the role for that shell + surface if the surface was a foreign one provided through + clutter_wayland_set_wl_surface + + https://bugzilla.gnome.org/show_bug.cgi?id=699578 + + clutter/wayland/clutter-stage-wayland.c | 24 +++++++++++++----------- + 1 file changed, 13 insertions(+), 11 deletions(-) + +commit d390a44615b827bf32707e40d1edd72ed48e05d6 +Author: Chris Cummins +Date: Thu May 2 17:46:49 2013 +0100 + + wayland: Add foreign surface support to stage + + This adds support for optionally a providing a foreign Wayland surface + to a ClutterStage before it is first show. Setting a foreign surface + prevents Cogl from allocating a surface and shell surface for the stage + automatically. + + v2: add CLUTTER_AVAILABLE_IN_1_16 annotation and API reference docs + (review from Emmanuele Bassi) + v3: set a boolean to indicate that this stage is using a foreign surface + (Rob Bradford) + + https://bugzilla.gnome.org/show_bug.cgi?id=699578 + + clutter/clutter.symbols | 1 + + clutter/wayland/clutter-stage-wayland.c | 47 +++++++++++++++++++++++++++++ + clutter/wayland/clutter-stage-wayland.h | 1 + + clutter/wayland/clutter-wayland.h | 3 ++ + doc/reference/clutter/clutter2-sections.txt | 1 + + 5 files changed, 53 insertions(+) + +commit a5230278b42cc05fb6ab937bf419fa221c5feeea +Author: Rob Bradford +Date: Mon Jul 15 18:27:33 2013 +0100 + + wayland: Add API for disabling the event dispatching + + This allows the integration of Clutter with another library, like GTK+, + that is dispatching the events itself. This is implemented by calling + into the cogl_wayland_renderer_set_event_dispatch_enabled() and since + that function must be called on the newly created renderer the newly + added clutter_wayland_disable_event_retrieval must be called before + clutter_init() + + https://bugzilla.gnome.org/show_bug.cgi?id=704279 + + clutter/clutter.symbols | 1 + + clutter/wayland/clutter-backend-wayland.c | 31 +++++++++++++++++++++++++++++ + clutter/wayland/clutter-wayland.h | 3 +++ + doc/reference/clutter/clutter2-sections.txt | 1 + + 4 files changed, 36 insertions(+) + +commit 74ab8c3bdad5228f0f606b146b420f7f4df421bd +Author: Adel Gadllah +Date: Wed Jul 17 12:33:48 2013 +0200 + + clutter-actor: Make clutter_actor_has_mapped_clones public + + This allows some optimisations to be done that work when they are no clones. + + https://bugzilla.gnome.org/show_bug.cgi?id=703336 + + clutter/clutter-actor.c | 18 ++++++++++++++---- + clutter/clutter-actor.h | 7 +++++++ + 2 files changed, 21 insertions(+), 4 deletions(-) + +commit 3d646804d182d68a95fefd555ed9dbdc0898dc64 +Author: Rob Bradford +Date: Thu Jun 27 16:01:56 2013 +0100 + + wayland: Use a fake millisecond monotonic time source for event times + + The majority of Clutter input events require a time so that that the + upper levels of abstraction can identify the ordering of events and also + work out a click count. + + Although some Wayland events have microsecond timestamps not all those + that Clutter expects do have. Therefore we would need to create some + fake times for those events. Instead we always calculate our own time + using the monotonic time. + + https://bugzilla.gnome.org/show_bug.cgi?id=697285 + + clutter/wayland/clutter-input-device-wayland.c | 23 +++++++++++++++++------ + 1 file changed, 17 insertions(+), 6 deletions(-) + +commit 6521701e292d95365fc6fd620db0ae5c06ec61f6 +Author: Rob Bradford +Date: Wed Jul 3 18:49:23 2013 +0100 + + wayland: add support for connecting to a foreign display + + This allows the reuse of the display connection and hence objects with + existing code that is using Wayland. + + https://bugzilla.gnome.org/show_bug.cgi?id=703566 + + clutter/clutter.symbols | 1 + + clutter/wayland/clutter-backend-wayland.c | 36 ++++++++++++++++++++++++++++- + clutter/wayland/clutter-wayland.h | 5 +++- + doc/reference/clutter/clutter2-sections.txt | 1 + + 4 files changed, 41 insertions(+), 2 deletions(-) + +commit 5c93c0a1af1deb30ff312b38360987fec33d9d96 +Author: Rob Bradford +Date: Thu Jun 27 14:22:02 2013 +0100 + + wayland: make the surface toplevel when showing the stage + + Cogl (as of 0b2b46ce) now only sets the shell surface as toplevel when + the CoglOnscreen is shown. + + Without calling wl_shell_surface_set_toplevel the compositor will not + know what role to give to the compositor and thus the stage will not + appear. + + When we look to support multiple roles / foreign surfaces we will need + to revisit this call and ensure we only call it when we are working in + the default case. + + https://bugzilla.gnome.org/show_bug.cgi?id=703188 + + clutter/wayland/clutter-stage-wayland.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit cba63dd93f725159091e4b4b19b8e4498c3ef42c +Author: Rob Bradford +Date: Thu Jun 27 14:45:01 2013 +0100 + + wayland: Do not poll the Wayland socket for events + + Since Cogl also polls on this file descriptor we can get into situations + where our event source is woken up to handle events but those events + have instead been handled by Cogl resulting in the source sitting in + poll(). + + We can safely rely on Cogl to handle the polling on the event source and + to dispatch those events. + + https://bugzilla.gnome.org/show_bug.cgi?id=702202 + + clutter/wayland/clutter-event-wayland.c | 15 +-------------- + 1 file changed, 1 insertion(+), 14 deletions(-) + +commit c3be92a30ced66295e117eb754739ea19d95e174 +Author: Rob Bradford +Date: Thu Jun 27 17:46:35 2013 +0100 + + wayland: Remove now removed CLUTTER_AVAILABLE_ API annotations + + In 00bee5f the API annotations were removed as the API is refreshed from + the start. This change removes the annotations from the Wayland API. + + https://bugzilla.gnome.org/show_bug.cgi?id=703202 + + clutter/wayland/clutter-wayland.h | 3 --- + 1 file changed, 3 deletions(-) + +commit 2f95de91c41b1cdcdc5ab319044f4102c2a6e775 +Author: Adel Gadllah +Date: Tue Jun 25 15:04:19 2013 +0200 + + clutter-offscreen-effect: Allocate the cogl texture directly + + Cogl now lazy loads the textures so we cannot rely on getting NULL + from cogl_texture_new_with_size so we have to allocate it by ourselves. + + https://bugzilla.redhat.com/show_bug.cgi?id=975171 + + clutter/clutter-offscreen-effect.c | 18 +++++++++++++++--- + 1 file changed, 15 insertions(+), 3 deletions(-) + +commit 571eb318d2dbfd85608b3054c90137bde7831f8a +Author: Colin Walters +Date: Mon Jun 24 14:11:30 2013 -0400 + + Revert "Install a11y tests too" + + This reverts commit 2b4f47d4443bd4625dfbc02eb38faed926d0758d. + + These are presently "examples" (because they're just run + interactively, not automatable tests). + + Conflicts: + tests/accessibility/Makefile.am + + tests/accessibility/Makefile.am | 21 --------------------- + 1 file changed, 21 deletions(-) + +commit 5105edca0f3b034d5323dae77ecc0b4152c5cb5a +Author: Colin Walters +Date: Mon Jun 24 13:38:41 2013 -0400 + + build: Use tabs in rule definitions + + tests/accessibility/Makefile.am | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 2b4f47d4443bd4625dfbc02eb38faed926d0758d +Author: Matthias Clasen +Date: Sun Jun 23 23:17:25 2013 -0400 + + Install a11y tests too + + https://bugzilla.gnome.org/show_bug.cgi?id=702941 + + tests/accessibility/Makefile.am | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit e88e690d56f7e5644e342dcc710437ea966e5ccb +Author: Matthias Clasen +Date: Sun Jun 23 22:53:13 2013 -0400 + + Install conformance tests + + Install the conformance tests, and metadata to run them + with gnome-desktop-testing-runner. + + https://bugzilla.gnome.org/show_bug.cgi?id=702941 + + configure.ac | 6 ++++++ + tests/conform/Makefile.am | 27 ++++++++++++++++++++++++++- + tests/conform/test-conform-main.c | 2 +- + tests/data/Makefile.am | 5 +++++ + 4 files changed, 38 insertions(+), 2 deletions(-) + +commit 670d2357a6e78e9da7ecfde27b2eeeac1f5bac7a +Author: Cosimo Cecchi +Date: Tue Jun 18 16:37:31 2013 -0700 + + text: relayout on cursor visibility change + + When the cursor visibility changes, we have to relayout the ClutterText + actor instead of just redrawing it - as the cursor changes the + PangoLayout size, a size request cycle is needed. + + https://bugzilla.gnome.org/show_bug.cgi?id=702610 + + clutter/clutter-text.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 90243e9d887046783d1fbcac928048419fe0e8a1 +Author: Lionel Landwerlin +Date: Tue Jun 11 14:01:30 2013 +0100 + + clutter-text: prevent reset of user set font descriptions on dpi changes + + When setting the font using clutter_text_set_font_description(), the + font settings on a ClutterText actor can be reset when there is a dpi + changes signaled by the backend. + + https://bugzilla.gnome.org/show_bug.cgi?id=702016 + + clutter/clutter-text.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +commit 96cc131f70bbdfa09a1319730a5899156cadd610 +Author: Marek Černocký +Date: Tue Jun 4 12:17:02 2013 +0200 + + Updated Czeach translation + + po/cs.po | 64 ++++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 34 insertions(+), 30 deletions(-) + +commit e26963a07730c122526ea7fc38c278be336032f1 +Author: Matej Urbančič +Date: Mon Jun 3 21:39:06 2013 +0200 + + Updated Slovenian translation + + po/sl.po | 672 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 342 insertions(+), 330 deletions(-) + +commit 8a3b888226e3cbe3030e85dd8f3b0ac8428d463f +Author: Milo Casagrande +Date: Sun May 19 13:02:15 2013 +0200 + + [l10n] Updated Italian translation. + + po/it.po | 668 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 340 insertions(+), 328 deletions(-) + +commit 14ea64eb6f7f7f340d36022669de409045566fd4 +Author: Chris Cummins +Date: Mon May 13 12:07:26 2013 +0100 + + docs: Add clutter-wayland section to reference docs + + Gives this stray section a home in the reference documentation. + + doc/reference/clutter/Makefile.am | 2 ++ + doc/reference/clutter/clutter2-docs.xml.in | 1 + + doc/reference/clutter/clutter2-sections.txt | 8 ++++++++ + 3 files changed, 11 insertions(+) + +commit 8231aae3adf795cefd2d98f6801e629b2ae6691b +Author: Chris Cummins +Date: Mon May 13 12:33:27 2013 +0100 + + clutter-input-device-wayland: Update indentifier name + + Fixes a discrepancy between the function name and the gtk-doc identifier + introduced in 8f4e39b6 when the Wayland input protocol changed. + + clutter/wayland/clutter-input-device-wayland.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 188f7d688156e20a097e5c02d7f5d2a9a2cfb806 +Author: Chris Cummins +Date: Mon May 13 13:22:50 2013 +0100 + + docs: Remove empty line before parameter tags + + The gtk-doc parser has somewhat esoteric rules regarding blank lines and + paragraph breaks, causing these parameter descriptions to be missed. See: + + https://developer.gnome.org/gtk-doc-manual/stable/documenting_syntax.html.en + + clutter/wayland/clutter-input-device-wayland.c | 1 - + clutter/wayland/clutter-stage-wayland.c | 2 -- + 2 files changed, 3 deletions(-) + +commit f2918d1a0f5f33a7ada47b4fc79bc824ad4d4b16 +Author: Chris Cummins +Date: Mon Apr 29 15:59:56 2013 +0100 + + clutter-stage-wayland: Pedantic typo fix + + Je ne parle pas français + + clutter/wayland/clutter-stage-wayland.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6e6e69c84de7f0bd491b645709739cead9eb34e2 +Author: Chris Cummins +Date: Tue May 7 11:50:32 2013 +0100 + + wayland: Add API version annotations + + Version numbers have been derived from source code comment blocks. + + clutter/wayland/clutter-stage-wayland.c | 2 ++ + clutter/wayland/clutter-wayland.h | 5 +++++ + 2 files changed, 7 insertions(+) + +commit 55ec9f57db7d1291219fb7a46353683e9ae94dc9 +Author: Bastian Winkler +Date: Fri May 3 13:28:05 2013 -0400 + + flow-layout: Add :snap-to-grid property + + Add a :snap-to-grid property to FlowLayout to prevent the layout from + assigning it's children a position based on the size of the largest + child. + + https://bugzilla.gnome.org/show_bug.cgi?id=648873 + + clutter/clutter-flow-layout.c | 206 ++++++++++++++++++++++------ + clutter/clutter-flow-layout.h | 3 + + clutter/clutter.symbols | 2 + + doc/reference/clutter/clutter2-sections.txt | 2 + + examples/flow-layout.c | 10 ++ + 5 files changed, 180 insertions(+), 43 deletions(-) + +commit b6f4a8014e11ad8d45d212b6765f3fbebe10e180 +Author: Erick Pérez Castellanos +Date: Thu May 2 01:15:10 2013 -0400 + + Remove ClutterKnot: Clean clutter2-sections.txt + + doc/reference/clutter/clutter2-sections.txt | 8 -------- + 1 file changed, 8 deletions(-) + +commit d2fbe4db1b25908151e32e150352a671ada141fa +Author: Erick Pérez Castellanos +Date: Fri May 3 10:16:25 2013 -0400 + + Removed unused ClutterKnot + + Migration Complete. When you want to use ClutterKnot + use ClutterPoint instead. + Updated clutter.symbols to pass 'make check' + + clutter/clutter-path.c | 62 ------------------------------- + clutter/clutter-script-parser.c | 80 +--------------------------------------- + clutter/clutter-script-private.h | 3 -- + clutter/clutter-types.h | 22 ----------- + clutter/clutter.symbols | 4 -- + 5 files changed, 1 insertion(+), 170 deletions(-) + +commit 29271a2d73f1e918aeeaef6b693f33a1fe2858d8 +Author: Erick Pérez Castellanos +Date: Sat Apr 13 13:02:57 2013 -0400 + + Updated doc example to use ClutterPoint. + + doc/cookbook/examples/events-pointer-motion-scribbler.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit b1fa6434e1bc0f19e91479f8209a9ffa3f1846a8 +Author: Erick Pérez Castellanos +Date: Sat Apr 13 13:01:10 2013 -0400 + + Migrated ClutterPathNode to use ClutterPoint + + Removed the use of ClutterKnot almost everywhere + Updated casting to get the data from the variable arguments list + + clutter/clutter-bezier.c | 4 +- + clutter/clutter-bezier.h | 4 +- + clutter/clutter-path-constraint.c | 2 +- + clutter/clutter-path.c | 89 +++++++++++++++++++++++---------------- + clutter/clutter-path.h | 43 ++++++++++--------- + clutter/clutter-types.h | 2 +- + tests/conform/path.c | 4 +- + 7 files changed, 83 insertions(+), 65 deletions(-) + +commit 7c6d0251dd19328c911a02c3cafdac55859257ee +Author: Erick Pérez Castellanos +Date: Sat Apr 13 12:50:33 2013 -0400 + + Migrated internal ClutterBezier to float. + + Initial stage of ClutterPath migration to using float. + Naive implementation of ClutterBezier, for now the points along + the curve doesn't move at a regular speed. It is required a more + precise calculation of the length of the curve for that to happen. + Anyway the old implementation worked like this. + + clutter/clutter-bezier.c | 481 ++++++++++++++++------------------------------- + clutter/clutter-bezier.h | 42 ++--- + clutter/clutter-path.c | 3 +- + 3 files changed, 185 insertions(+), 341 deletions(-) + +commit 2be42c333ae621df085005e08b7c5c08c02dcbe5 +Author: Alban Crequy +Date: Mon Apr 29 14:59:20 2013 +0100 + + ClutterDragAction: do not dereference a NULL priv->stage + + When destroying an actor during a drag-action with a drag_handle, the + ClutterDragAction's priv->stage could be set to NULL in _set_actor(). + _dispose() must not assume that priv->stage is not NULL. + + See also https://bugzilla.gnome.org/show_bug.cgi?id=681814 + + clutter/clutter-drag-action.c | 44 +++++++++++++++++++++++++------------------ + 1 file changed, 26 insertions(+), 18 deletions(-) + +commit a0d9eaf15da5d2227bc95c6946fca5ed356fdfdb +Author: Alban Crequy +Date: Fri Apr 26 15:26:48 2013 +0100 + + fix crash when destroying an actor during a drag-action with a drag_handle + + Bug introduced by commit 59801ef8 (drag-action: fix press coords transform + with drag_handle) for bgo#681746. + + See also https://bugzilla.gnome.org/show_bug.cgi?id=681814 + + clutter/clutter-drag-action.c | 21 ++++++++++++--------- + 1 file changed, 12 insertions(+), 9 deletions(-) + +commit 5586b0deba9317a58cbc62caab295c613fdcfb44 +Author: Emilio Pozuelo Monfort +Date: Tue Mar 12 14:11:35 2013 +0100 + + GDK: fix build when the X11 backend is disabled + + https://bugzilla.gnome.org/show_bug.cgi?id=695710 + + clutter/gdk/clutter-stage-gdk.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3893448e0a8a7b9f72305ba497c7b4513c04657d +Author: Marek Černocký +Date: Sat Apr 27 01:38:13 2013 +0200 + + Updated Czech translation + + po/cs.po | 1511 ++++++++++++++------------------------------------------------ + 1 file changed, 344 insertions(+), 1167 deletions(-) + +commit 9cb62762551d0cef12b9a4de7cf93ec5d55aed3a +Author: Lionel Landwerlin +Date: Tue Apr 23 17:52:22 2013 -0700 + + zoom-action: improve zooming behavior + + https://bugzilla.gnome.org/show_bug.cgi?id=698674 + + clutter/clutter-zoom-action.c | 44 ++++++++++++++++++++++--------------------- + 1 file changed, 23 insertions(+), 21 deletions(-) + +commit 221fa225b3b3653c7c95f43736f51ced4ca3501c +Author: Lionel Landwerlin +Date: Mon Apr 22 16:20:49 2013 -0700 + + gesture-action: refactor event handling function + + https://bugzilla.gnome.org/show_bug.cgi?id=698671 + + clutter/clutter-gesture-action.c | 118 ++++++++++++++++++++++++++------------- + 1 file changed, 78 insertions(+), 40 deletions(-) + +commit 04f20909e398d3e6699f6e02d898dde7c5864429 +Author: Lionel Landwerlin +Date: Mon Apr 22 14:57:47 2013 -0700 + + gesture-action: fix trigger edge after behavior with more than 1 point + + https://bugzilla.gnome.org/show_bug.cgi?id=698669 + + clutter/clutter-gesture-action.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 2b25b056ad504e836267a747ee70a0a48c019da7 +Author: Lionel Landwerlin +Date: Sun Apr 7 16:11:42 2013 +0100 + + gesture-action: add n-touch-points property + + https://bugzilla.gnome.org/show_bug.cgi?id=698668 + + clutter/clutter-gesture-action.c | 89 ++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 89 insertions(+) + +commit ed92f63f306838abe48f3a85e574ba9405610750 +Author: Lionel Landwerlin +Date: Sun Apr 7 16:12:32 2013 +0100 + + gesture-action: avoid shadowing time() syscall function + + https://bugzilla.gnome.org/show_bug.cgi?id=698668 + + clutter/clutter-gesture-action.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +commit 1ee07e5d485b54aa9b29232afd36d32fee926320 +Author: Lionel Landwerlin +Date: Sun Apr 7 15:47:26 2013 +0100 + + gesture-action: fix typo + + https://bugzilla.gnome.org/show_bug.cgi?id=698668 + + clutter/clutter-gesture-action-private.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 06bb6f4c1800a0e5fcbc0ea934cd03bcbceac7c3 +Author: Piotr Drąg +Date: Fri Apr 5 22:50:36 2013 +0200 + + Updated POTFILES.in + + po/POTFILES.in | 1 + + 1 file changed, 1 insertion(+) + +commit 76ee3e76716f995e67f0748932145bff096aa0dd +Author: Enrico Nicoletto +Date: Fri Apr 5 16:51:15 2013 -0300 + + Updated Brazilian Portuguese translation + + po/pt_BR.po | 2158 ++++++++++++++++++++++++++--------------------------------- + 1 file changed, 958 insertions(+), 1200 deletions(-) + +commit 4d7a2cdcf4754f88345ff932e2e0e341ee4307a9 +Author: Emmanuele Bassi +Date: Mon Oct 8 00:18:11 2012 +0100 + + 2.0: Update POTFILES.in + + po/POTFILES.in | 20 -------------------- + 1 file changed, 20 deletions(-) + +commit af2f9857fef23c9c1cd4c8d44ed9d92e8c9651f7 +Author: Emmanuele Bassi +Date: Sun Oct 7 22:15:20 2012 +0100 + + 2.0: Update the symbols file + + clutter/clutter.symbols | 1 - + 1 file changed, 1 deletion(-) + +commit 25b9fad69881601dff7dfcaacf3a6fd93af295cb +Author: Emmanuele Bassi +Date: Sun Oct 7 22:14:33 2012 +0100 + + 2.0: Clean up the Clutter API reference + + doc/reference/clutter/clutter2-docs.xml.in | 3 - + doc/reference/clutter/clutter2-sections.txt | 500 ++-------------------------- + 2 files changed, 25 insertions(+), 478 deletions(-) + +commit b0f3192802e90205b6eacfcf218b9396b70ca4b1 +Author: Emmanuele Bassi +Date: Sun Oct 7 22:14:12 2012 +0100 + + 2.0: Fix up documentation annotations + + clutter/clutter-shader-types.h | 6 ------ + clutter/clutter-util.c | 7 ------- + 2 files changed, 13 deletions(-) + +commit ca3e1b4d11cd723cf4717524b34b374a0f8307a9 +Author: Emmanuele Bassi +Date: Sun Oct 7 22:06:43 2012 +0100 + + 2.0: Include clutter headers conditionally in clutter-x11.h + + We want to avoid clutter-x11.h leaking Clutter symbols (i.e. you need to + include clutter.h yourself before including clutter-x11.h), but we need + to do so conditionally, so that ancillary stuff like gtk-doc and + g-ir-scanner get the right types while building Clutter itself. + + clutter/x11/clutter-x11.h | 5 +++++ + 1 file changed, 5 insertions(+) + +commit b4758c352607d1eede26d95056314de921b4e2b1 +Author: Emmanuele Bassi +Date: Sun Oct 7 22:04:21 2012 +0100 + + 2.0: Fix up the versioning macros + + clutter/clutter-macros.h | 14 +++++++++----- + clutter/clutter-version.h.in | 2 +- + 2 files changed, 10 insertions(+), 6 deletions(-) + +commit 08a36c3e284c67c81edeb2e199fa9c6665f7ae5f +Author: Emmanuele Bassi +Date: Sun Oct 7 22:04:07 2012 +0100 + + 2.0: Remove unused enumerations + + clutter/clutter-enums.h | 18 ------------------ + 1 file changed, 18 deletions(-) + +commit 93b965f71d3da7d02e942e88aeb6ff262920788f +Author: Emmanuele Bassi +Date: Sun Oct 7 21:48:02 2012 +0100 + + 2.0: Remove deprecated symbols from the tree + + And fix the fallout. + + clutter/clutter-enums.h | 78 +- + clutter/clutter-group.h | 95 - + clutter/clutter-main.c | 27 +- + clutter/clutter-main.h | 2 - + clutter/clutter-master-clock.c | 4 +- + clutter/clutter-private.h | 1 + + clutter/clutter-script.c | 3 - + clutter/clutter-stage.h | 2 +- + clutter/clutter-texture.h | 128 - + clutter/clutter-types.h | 9 - + clutter/clutter.h | 2 - + clutter/clutter.symbols | 5 - + clutter/deprecated/clutter-actor-deprecated.c | 411 --- + clutter/deprecated/clutter-actor.h | 161 - + clutter/deprecated/clutter-alpha.c | 959 ------ + clutter/deprecated/clutter-alpha.h | 144 - + clutter/deprecated/clutter-animatable.h | 47 - + clutter/deprecated/clutter-animation.c | 2663 ----------------- + clutter/deprecated/clutter-animation.h | 206 -- + clutter/deprecated/clutter-animator.c | 2176 -------------- + clutter/deprecated/clutter-animator.h | 186 -- + clutter/deprecated/clutter-backend.h | 64 - + clutter/deprecated/clutter-behaviour-depth.c | 309 -- + clutter/deprecated/clutter-behaviour-depth.h | 101 - + clutter/deprecated/clutter-behaviour-ellipse.c | 1068 ------- + clutter/deprecated/clutter-behaviour-ellipse.h | 159 - + clutter/deprecated/clutter-behaviour-opacity.c | 322 -- + clutter/deprecated/clutter-behaviour-opacity.h | 115 - + clutter/deprecated/clutter-behaviour-path.c | 477 --- + clutter/deprecated/clutter-behaviour-path.h | 135 - + clutter/deprecated/clutter-behaviour-rotate.c | 697 ----- + clutter/deprecated/clutter-behaviour-rotate.h | 119 - + clutter/deprecated/clutter-behaviour-scale.c | 443 --- + clutter/deprecated/clutter-behaviour-scale.h | 107 - + clutter/deprecated/clutter-behaviour.c | 669 ----- + clutter/deprecated/clutter-behaviour.h | 170 -- + clutter/deprecated/clutter-bin-layout.h | 56 - + clutter/deprecated/clutter-box.c | 737 ----- + clutter/deprecated/clutter-box.h | 143 - + clutter/deprecated/clutter-cairo-texture.c | 1177 -------- + clutter/deprecated/clutter-cairo-texture.h | 139 - + clutter/deprecated/clutter-container.h | 93 - + clutter/deprecated/clutter-fixed.c | 205 -- + clutter/deprecated/clutter-fixed.h | 97 - + clutter/deprecated/clutter-frame-source.c | 267 -- + clutter/deprecated/clutter-frame-source.h | 49 - + clutter/deprecated/clutter-group.c | 564 ---- + clutter/deprecated/clutter-group.h | 62 - + .../deprecated/clutter-input-device-deprecated.c | 38 - + clutter/deprecated/clutter-input-device.h | 41 - + clutter/deprecated/clutter-keysyms.h | 2306 -------------- + .../deprecated/clutter-layout-manager-deprecated.c | 89 - + clutter/deprecated/clutter-main.h | 96 - + clutter/deprecated/clutter-media.c | 665 ----- + clutter/deprecated/clutter-media.h | 121 - + clutter/deprecated/clutter-rectangle.c | 559 ---- + clutter/deprecated/clutter-rectangle.h | 117 - + clutter/deprecated/clutter-score.c | 1168 -------- + clutter/deprecated/clutter-score.h | 144 - + clutter/deprecated/clutter-shader.c | 942 ------ + clutter/deprecated/clutter-shader.h | 182 -- + clutter/deprecated/clutter-stage-manager.h | 42 - + clutter/deprecated/clutter-stage.h | 102 - + clutter/deprecated/clutter-state.c | 2315 -------------- + clutter/deprecated/clutter-state.h | 187 -- + clutter/deprecated/clutter-texture.c | 3156 -------------------- + clutter/deprecated/clutter-texture.h | 138 - + clutter/deprecated/clutter-timeline.h | 41 - + clutter/deprecated/clutter-timeout-interval.c | 142 - + clutter/deprecated/clutter-timeout-interval.h | 58 - + clutter/deprecated/clutter-timeout-pool.c | 500 ---- + clutter/deprecated/clutter-timeout-pool.h | 69 - + clutter/deprecated/clutter-util.h | 40 - + clutter/gdk/clutter-stage-gdk.h | 1 - + clutter/x11/clutter-backend-x11.c | 28 +- + clutter/x11/clutter-device-manager-xi2.c | 1 + + clutter/x11/clutter-stage-x11.c | 31 - + clutter/x11/clutter-stage-x11.h | 3 - + clutter/x11/clutter-x11.h | 12 +- + 79 files changed, 30 insertions(+), 29157 deletions(-) + +commit 408d29bfde45b897b5c3845523a42fa97230374a +Author: Emmanuele Bassi +Date: Sun Oct 7 21:17:05 2012 +0100 + + 2.0: Update symbols file + + clutter/clutter.symbols | 439 +----------------------------------------------- + 1 file changed, 3 insertions(+), 436 deletions(-) + +commit 5e44d7de08d24f430fbfcbc9a5e4575fa4373f02 +Author: Emmanuele Bassi +Date: Sun Oct 7 20:15:36 2012 +0100 + + 2.0: Fix up the ignore file + + .gitignore | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2e8eab9db44f0f1076269de5a270cd87d9ff9fcd +Author: Emmanuele Bassi +Date: Sun Oct 7 19:18:33 2012 +0100 + + 2.0: Update cally-atkcomponent-example + + Drop the deprecated API; the test has not been re-enabled yet, to allow + for review. + + tests/accessibility/cally-atkcomponent-example.c | 30 ++++++++++++++---------- + 1 file changed, 17 insertions(+), 13 deletions(-) + +commit 0e9709f666f61f64ffea17a0e56508a8aa427b85 +Author: Emmanuele Bassi +Date: Sun Oct 7 19:17:24 2012 +0100 + + 2.0: Disable Cally tests + + tests/accessibility/Makefile.am | 19 +++++++------------ + 1 file changed, 7 insertions(+), 12 deletions(-) + +commit 2bb7cafee7d7752a08e30d8931cb2c9109be915d +Author: Emmanuele Bassi +Date: Sun Oct 7 19:52:47 2012 +0100 + + 2.0: Prune performance test suite + + tests/interactive/Makefile.am | 2 +- + tests/performance/Makefile.am | 23 ++++++++--------------- + 2 files changed, 9 insertions(+), 16 deletions(-) + +commit e7f8c27021e0165afb2663dd45d310921ac017c3 +Author: Emmanuele Bassi +Date: Sun Oct 7 19:52:14 2012 +0100 + + 2.0: Prune micro-bench test suite + + tests/micro-bench/Makefile.am | 17 ++++++----------- + 1 file changed, 6 insertions(+), 11 deletions(-) + +commit 9720a59482fa26c50ebd10be7e13f6f946ef2b8b +Author: Emmanuele Bassi +Date: Sun Oct 7 19:51:39 2012 +0100 + + 2.0: Prune interactive test suite + + tests/interactive/Makefile.am | 60 +------------------------------------------ + 1 file changed, 1 insertion(+), 59 deletions(-) + +commit 1ff3011cb7374bf8ca6eac5cd2791c4c8211b9d6 +Author: Emmanuele Bassi +Date: Sun Oct 7 19:50:42 2012 +0100 + + 2.0: Prune conformance test suite + + tests/conform/Makefile.am | 39 ------------ + tests/conform/actor-graph.c | 8 --- + tests/conform/actor-invariants.c | 106 +++---------------------------- + tests/conform/actor-layout.c | 4 +- + tests/conform/actor-offscreen-redirect.c | 29 ++++----- + tests/conform/binding-pool.c | 60 +++++++++-------- + tests/conform/cally-text.c | 4 +- + tests/conform/test-conform-main.c | 46 -------------- + tests/conform/text-cache.c | 2 +- + tests/conform/timeline-interpolate.c | 2 +- + tests/conform/timeline.c | 4 +- + 11 files changed, 59 insertions(+), 245 deletions(-) + +commit 8d181c46d91608f8dde72ffa08e6d15d0bce4330 +Author: Emmanuele Bassi +Date: Sun Oct 7 19:11:59 2012 +0100 + + 2.0: Remove unused arguments from doc annotations + + clutter/clutter-bin-layout.c | 6 ------ + 1 file changed, 6 deletions(-) + +commit 1057223227fb14f3ea43d05d963c0d92835c60e1 +Author: Emmanuele Bassi +Date: Mon Aug 27 10:16:11 2012 +0100 + + 2.0: Remove compatibility header from keysyms update script + + clutter/clutter-keysyms-update.pl | 35 ----------------------------------- + 1 file changed, 35 deletions(-) + +commit 5ec07ec8c55dcd181285962cf2dbf80d1a542450 +Author: Emmanuele Bassi +Date: Mon Aug 27 10:11:34 2012 +0100 + + 2.0: Update gitignore file + + .gitignore | 32 ++++++++++++++++---------------- + 1 file changed, 16 insertions(+), 16 deletions(-) + +commit 230f871cd66233a04dff91844735dce9643c16fa +Author: Emmanuele Bassi +Date: Mon Aug 27 10:10:42 2012 +0100 + + 2.0: Remove backward compat variables from the pkgconfig file + + clutter/clutter.pc.in | 7 ------- + 1 file changed, 7 deletions(-) + +commit 4a7ebde571ea2bfa6a862363cef33b449cd3c797 +Author: Emmanuele Bassi +Date: Mon Aug 27 10:09:57 2012 +0100 + + 2.0: Remove unnecessary symbols + + clutter/clutter-macros.h | 167 ++++++------------------------------------- + clutter/clutter-main.c | 6 +- + clutter/clutter-version.h.in | 152 +-------------------------------------- + 3 files changed, 29 insertions(+), 296 deletions(-) + +commit b4410c55239abb76330b97757116191647574139 +Author: Emmanuele Bassi +Date: Mon Aug 27 10:07:47 2012 +0100 + + 2.0: Clean up Clutter's API reference + + doc/reference/clutter/clutter2-docs.xml.in | 100 ------ + doc/reference/clutter/clutter2-sections.txt | 452 ---------------------------- + doc/reference/clutter/clutter2.types | 18 -- + 3 files changed, 570 deletions(-) + +commit 85f4e3344381acd01a5d245fc9df6ad3a27a6ed2 +Author: Emmanuele Bassi +Date: Mon Aug 27 09:59:20 2012 +0100 + + 2.0: Bump down ClutterStageClass padding + + clutter/clutter-stage.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 07630362ae266cc3b38ac1ca8fde5d875820c878 +Author: Emmanuele Bassi +Date: Mon Aug 27 09:59:03 2012 +0100 + + 2.0: Bump up ClutterActorClass padding + + clutter/clutter-actor.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3f0ac3548fc7823988ddc543337563e179b7b62f +Author: Emmanuele Bassi +Date: Mon Aug 27 09:57:05 2012 +0100 + + 2.0: Start migrating API references + + configure.ac | 4 ++-- + doc/reference/cally/Makefile.am | 5 +---- + .../cally/{cally-docs.xml.in => cally2-docs.xml.in} | 0 + .../cally/{cally-sections.txt => cally2-sections.txt} | 0 + doc/reference/cally/{cally.types => cally2.types} | 3 --- + doc/reference/clutter/Makefile.am | 19 +++---------------- + .../{clutter-docs.xml.in => clutter2-docs.xml.in} | 0 + .../{clutter-sections.txt => clutter2-sections.txt} | 0 + .../clutter/{clutter.types => clutter2.types} | 1 - + 9 files changed, 6 insertions(+), 26 deletions(-) + +commit a80da3da53c52afc1e98ef9abf2c5c0cad974159 +Author: Emmanuele Bassi +Date: Sun Oct 7 21:16:33 2012 +0100 + + 2.0: Remove unused enumeration types + + clutter/clutter-enums.h | 35 ----------------------------------- + 1 file changed, 35 deletions(-) + +commit 00bee5f1734e0bade1f711ec10362b1766e4ba53 +Author: Emmanuele Bassi +Date: Mon Aug 27 09:51:32 2012 +0100 + + 2.0: Remove CLUTTER_AVAILABLE_IN_1_* + + We are starting from scratch. + + clutter/clutter-actor.h | 172 +++++++++++++++++----------------- + clutter/clutter-box-layout.h | 4 +- + clutter/clutter-canvas.h | 6 +- + clutter/clutter-content.h | 6 +- + clutter/clutter-drag-action.h | 4 +- + clutter/clutter-event.h | 20 ++-- + clutter/clutter-gesture-action.h | 9 -- + clutter/clutter-grid-layout.h | 36 +++---- + clutter/clutter-image.h | 14 +-- + clutter/clutter-input-device.h | 14 +-- + clutter/clutter-interval.h | 2 +- + clutter/clutter-keyframe-transition.h | 20 ++-- + clutter/clutter-main.h | 2 +- + clutter/clutter-offscreen-effect.h | 2 +- + clutter/clutter-paint-node.h | 25 +++-- + clutter/clutter-paint-nodes.h | 19 ++-- + clutter/clutter-pan-action.h | 15 +-- + clutter/clutter-property-transition.h | 8 +- + clutter/clutter-rotate-action.h | 4 +- + clutter/clutter-script.h | 6 +- + clutter/clutter-scroll-actor.h | 12 +-- + clutter/clutter-text-buffer.h | 26 ++--- + clutter/clutter-text.h | 8 +- + clutter/clutter-timeline.h | 22 ++--- + clutter/clutter-transition-group.h | 10 +- + clutter/clutter-transition.h | 22 ++--- + clutter/clutter-types.h | 80 ++++++++-------- + clutter/clutter-zoom-action.h | 12 +-- + 28 files changed, 275 insertions(+), 305 deletions(-) + +commit e3259435f26fe72b6fe2849a8050abf8ffe3883b +Author: Emmanuele Bassi +Date: Mon Aug 27 09:48:36 2012 +0100 + + 2.0: Remove all Since: annotations + + We're starting from scratch. + + clutter/cex100/clutter-backend-cex100.c | 6 +- + clutter/clutter-action.h | 4 +- + clutter/clutter-actor-box.c | 42 +- + clutter/clutter-actor-meta.c | 18 +- + clutter/clutter-actor-meta.h | 4 +- + clutter/clutter-actor-private.h | 2 +- + clutter/clutter-actor.c | 526 ++++++++++----------- + clutter/clutter-actor.h | 2 +- + clutter/clutter-align-constraint.c | 20 +- + clutter/clutter-align-constraint.h | 2 +- + clutter/clutter-animatable.c | 8 +- + clutter/clutter-animatable.h | 4 +- + clutter/clutter-backend.c | 18 +- + clutter/clutter-backend.h | 2 +- + clutter/clutter-base-types.c | 92 ++-- + clutter/clutter-bin-layout.c | 2 +- + clutter/clutter-bin-layout.h | 4 +- + clutter/clutter-bind-constraint.c | 20 +- + clutter/clutter-bind-constraint.h | 2 +- + clutter/clutter-binding-pool.c | 26 +- + clutter/clutter-binding-pool.h | 4 +- + clutter/clutter-blur-effect.c | 2 +- + clutter/clutter-blur-effect.h | 2 +- + clutter/clutter-box-layout.c | 26 +- + clutter/clutter-box-layout.h | 4 +- + clutter/clutter-brightness-contrast-effect.c | 18 +- + clutter/clutter-brightness-contrast-effect.h | 2 +- + clutter/clutter-cairo.c | 4 +- + clutter/clutter-cairo.h | 2 +- + clutter/clutter-canvas.c | 10 +- + clutter/clutter-canvas.h | 4 +- + clutter/clutter-child-meta.c | 8 +- + clutter/clutter-child-meta.h | 4 +- + clutter/clutter-click-action.c | 22 +- + clutter/clutter-click-action.h | 4 +- + clutter/clutter-clone.c | 8 +- + clutter/clutter-clone.h | 4 +- + clutter/clutter-color.c | 28 +- + clutter/clutter-color.h | 6 +- + clutter/clutter-colorize-effect.c | 8 +- + clutter/clutter-colorize-effect.h | 2 +- + clutter/clutter-constraint.h | 4 +- + clutter/clutter-container.c | 26 +- + clutter/clutter-container.h | 4 +- + clutter/clutter-content.c | 8 +- + clutter/clutter-content.h | 4 +- + clutter/clutter-deform-effect.c | 16 +- + clutter/clutter-deform-effect.h | 4 +- + clutter/clutter-desaturate-effect.c | 8 +- + clutter/clutter-desaturate-effect.h | 2 +- + clutter/clutter-device-manager.c | 14 +- + clutter/clutter-device-manager.h | 4 +- + clutter/clutter-drag-action.c | 38 +- + clutter/clutter-drag-action.h | 4 +- + clutter/clutter-drop-action.c | 12 +- + clutter/clutter-drop-action.h | 4 +- + clutter/clutter-effect.c | 2 +- + clutter/clutter-effect.h | 4 +- + clutter/clutter-enums.h | 88 ++-- + clutter/clutter-event.c | 94 ++-- + clutter/clutter-event.h | 32 +- + clutter/clutter-feature.c | 4 +- + clutter/clutter-fixed-layout.c | 2 +- + clutter/clutter-fixed-layout.h | 4 +- + clutter/clutter-flow-layout.c | 42 +- + clutter/clutter-flow-layout.h | 4 +- + clutter/clutter-gesture-action-private.h | 2 - + clutter/clutter-gesture-action.c | 38 +- + clutter/clutter-gesture-action.h | 4 +- + clutter/clutter-grid-layout.c | 40 +- + clutter/clutter-grid-layout.h | 4 +- + clutter/clutter-group.h | 4 +- + clutter/clutter-image.c | 10 +- + clutter/clutter-image.h | 8 +- + clutter/clutter-input-device.c | 66 +-- + clutter/clutter-interval.c | 42 +- + clutter/clutter-interval.h | 4 +- + clutter/clutter-keyframe-transition.c | 18 +- + clutter/clutter-keyframe-transition.h | 4 +- + clutter/clutter-keysyms-table.c | 2 +- + clutter/clutter-layout-manager.c | 26 +- + clutter/clutter-layout-manager.h | 4 +- + clutter/clutter-layout-meta.c | 4 +- + clutter/clutter-layout-meta.h | 4 +- + clutter/clutter-list-model.c | 4 +- + clutter/clutter-list-model.h | 4 +- + clutter/clutter-macros.h | 10 +- + clutter/clutter-main.c | 56 ++- + clutter/clutter-main.h | 4 +- + clutter/clutter-model.c | 94 ++-- + clutter/clutter-model.h | 14 +- + clutter/clutter-offscreen-effect.c | 14 +- + clutter/clutter-offscreen-effect.h | 4 +- + clutter/clutter-page-turn-effect.c | 20 +- + clutter/clutter-page-turn-effect.h | 2 +- + clutter/clutter-paint-node-private.h | 2 +- + clutter/clutter-paint-node.c | 46 +- + clutter/clutter-paint-node.h | 2 +- + clutter/clutter-paint-nodes.c | 22 +- + clutter/clutter-paint-nodes.h | 10 +- + clutter/clutter-paint-volume.c | 30 +- + clutter/clutter-pan-action.c | 40 -- + clutter/clutter-pan-action.h | 4 - + clutter/clutter-path-constraint.c | 16 +- + clutter/clutter-path-constraint.h | 2 +- + clutter/clutter-path.c | 62 +-- + clutter/clutter-path.h | 6 +- + clutter/clutter-property-transition.c | 8 +- + clutter/clutter-property-transition.h | 4 +- + clutter/clutter-rotate-action.c | 6 +- + clutter/clutter-rotate-action.h | 4 +- + clutter/clutter-script.c | 40 +- + clutter/clutter-script.h | 10 +- + clutter/clutter-scriptable.c | 8 +- + clutter/clutter-scriptable.h | 4 +- + clutter/clutter-scroll-actor.c | 12 +- + clutter/clutter-scroll-actor.h | 4 +- + clutter/clutter-settings.c | 26 +- + clutter/clutter-shader-effect.c | 14 +- + clutter/clutter-shader-effect.h | 4 +- + clutter/clutter-shader-types.c | 12 +- + clutter/clutter-shader-types.h | 6 +- + clutter/clutter-snap-constraint.c | 22 +- + clutter/clutter-snap-constraint.h | 2 +- + clutter/clutter-stage-manager.c | 14 +- + clutter/clutter-stage-manager.h | 4 +- + clutter/clutter-stage-window.h | 4 +- + clutter/clutter-stage.c | 88 ++-- + clutter/clutter-stage.h | 6 +- + clutter/clutter-swipe-action.c | 6 +- + clutter/clutter-swipe-action.h | 4 +- + clutter/clutter-table-layout.c | 24 +- + clutter/clutter-table-layout.h | 4 +- + clutter/clutter-tap-action.c | 6 - + clutter/clutter-tap-action.h | 2 - + clutter/clutter-text-buffer.c | 36 +- + clutter/clutter-text-buffer.h | 6 +- + clutter/clutter-text.c | 206 +++----- + clutter/clutter-text.h | 4 +- + clutter/clutter-texture.h | 8 +- + clutter/clutter-timeline.c | 72 ++- + clutter/clutter-timeline.h | 6 +- + clutter/clutter-transition-group.c | 8 +- + clutter/clutter-transition-group.h | 4 +- + clutter/clutter-transition.c | 26 +- + clutter/clutter-transition.h | 4 +- + clutter/clutter-types.h | 40 +- + clutter/clutter-units.c | 32 +- + clutter/clutter-units.h | 6 +- + clutter/clutter-util.c | 2 +- + clutter/clutter-zoom-action.c | 16 +- + clutter/clutter-zoom-action.h | 4 +- + clutter/deprecated/clutter-actor-deprecated.c | 12 +- + clutter/deprecated/clutter-alpha.c | 30 +- + clutter/deprecated/clutter-alpha.h | 6 +- + clutter/deprecated/clutter-animation.c | 74 +-- + clutter/deprecated/clutter-animation.h | 4 +- + clutter/deprecated/clutter-animator.c | 46 +- + clutter/deprecated/clutter-animator.h | 6 +- + clutter/deprecated/clutter-behaviour-depth.c | 10 +- + clutter/deprecated/clutter-behaviour-depth.h | 4 +- + clutter/deprecated/clutter-behaviour-ellipse.c | 54 +-- + clutter/deprecated/clutter-behaviour-ellipse.h | 4 +- + clutter/deprecated/clutter-behaviour-opacity.c | 12 +- + clutter/deprecated/clutter-behaviour-opacity.h | 4 +- + clutter/deprecated/clutter-behaviour-path.c | 12 +- + clutter/deprecated/clutter-behaviour-path.h | 4 +- + clutter/deprecated/clutter-behaviour-rotate.c | 32 +- + clutter/deprecated/clutter-behaviour-rotate.h | 4 +- + clutter/deprecated/clutter-behaviour-scale.c | 14 +- + clutter/deprecated/clutter-behaviour-scale.h | 4 +- + clutter/deprecated/clutter-behaviour.c | 26 +- + clutter/deprecated/clutter-behaviour.h | 6 +- + clutter/deprecated/clutter-box.c | 24 +- + clutter/deprecated/clutter-box.h | 4 +- + clutter/deprecated/clutter-cairo-texture.c | 30 +- + clutter/deprecated/clutter-cairo-texture.h | 4 +- + clutter/deprecated/clutter-fixed.c | 6 +- + clutter/deprecated/clutter-fixed.h | 4 +- + clutter/deprecated/clutter-frame-source.c | 8 +- + clutter/deprecated/clutter-group.c | 4 +- + .../deprecated/clutter-input-device-deprecated.c | 2 +- + .../deprecated/clutter-layout-manager-deprecated.c | 6 +- + clutter/deprecated/clutter-media.c | 54 +-- + clutter/deprecated/clutter-media.h | 4 +- + clutter/deprecated/clutter-rectangle.c | 12 +- + clutter/deprecated/clutter-rectangle.h | 4 +- + clutter/deprecated/clutter-score.c | 40 +- + clutter/deprecated/clutter-score.h | 4 +- + clutter/deprecated/clutter-shader.c | 36 +- + clutter/deprecated/clutter-shader.h | 8 +- + clutter/deprecated/clutter-stage.h | 4 +- + clutter/deprecated/clutter-state.c | 52 +- + clutter/deprecated/clutter-state.h | 6 +- + clutter/deprecated/clutter-texture.c | 60 +-- + clutter/deprecated/clutter-timeout-pool.c | 6 +- + clutter/deprecated/clutter-timeout-pool.h | 2 +- + clutter/egl/clutter-backend-eglnative.c | 6 +- + clutter/egl/clutter-egl.h | 4 +- + clutter/evdev/clutter-device-manager-evdev.c | 4 +- + clutter/evdev/clutter-input-device-evdev.c | 4 +- + clutter/gdk/clutter-backend-gdk.c | 6 +- + clutter/gdk/clutter-stage-gdk.c | 6 +- + clutter/wayland/clutter-input-device-wayland.c | 2 +- + clutter/wayland/clutter-stage-wayland.c | 2 +- + clutter/wayland/clutter-wayland-surface.c | 14 +- + clutter/wayland/clutter-wayland-surface.h | 4 +- + clutter/win32/clutter-backend-win32.c | 2 +- + clutter/win32/clutter-event-win32.c | 2 +- + clutter/win32/clutter-stage-win32.c | 6 +- + clutter/x11/clutter-backend-x11.c | 37 +- + clutter/x11/clutter-event-x11.c | 8 +- + clutter/x11/clutter-glx-texture-pixmap.c | 8 +- + clutter/x11/clutter-glx-texture-pixmap.h | 4 +- + clutter/x11/clutter-stage-x11.c | 8 +- + clutter/x11/clutter-x11-texture-pixmap.c | 20 +- + clutter/x11/clutter-x11-texture-pixmap.h | 4 +- + clutter/x11/clutter-x11.h | 4 +- + 218 files changed, 1853 insertions(+), 2038 deletions(-) + +commit f1846bcb53bb8a86b9b62362f579fc81276ac525 +Author: Emmanuele Bassi +Date: Fri Aug 24 12:35:25 2012 +0100 + + 2.0: Remove include directives for deprecated headers + + clutter/clutter-animatable.c | 5 ----- + clutter/clutter-backend.c | 3 --- + clutter/clutter-flow-layout.c | 4 +--- + clutter/clutter-interval.c | 2 -- + clutter/clutter-layout-manager.c | 5 +---- + clutter/clutter-stage.c | 3 --- + clutter/clutter-util.c | 2 -- + 7 files changed, 2 insertions(+), 22 deletions(-) + +commit 03a8e2f7b83474057b856be5eafd97517b3f107d +Author: Emmanuele Bassi +Date: Fri Aug 24 10:55:28 2012 +0100 + + 2.0: Remove deprecated symbols from the installed headers + + clutter/clutter-box-layout.h | 57 -------------------------- + clutter/clutter-deprecated.h | 35 ---------------- + clutter/clutter-enums.h | 88 ---------------------------------------- + clutter/clutter-layout-manager.h | 9 ---- + clutter/clutter-script.h | 9 ---- + 5 files changed, 198 deletions(-) + +commit 0b03a4cb0a1ab5eaf314c700feae63cbe4b88767 +Author: Emmanuele Bassi +Date: Sat Mar 30 00:24:17 2013 +0000 + + 2.0: Remove ClutterGeometry + + clutter/clutter-base-types.c | 108 ----------------------------- + clutter/clutter-script-parser.c | 72 +++++++++---------- + clutter/clutter-script-private.h | 4 +- + clutter/clutter-types.h | 36 ---------- + clutter/clutter.symbols | 3 - + doc/reference/clutter/clutter-sections.txt | 7 -- + 6 files changed, 38 insertions(+), 192 deletions(-) + +commit 0724b3fb916d27d5ce4122763106773f696bf07d +Author: Emmanuele Bassi +Date: Sun Oct 7 21:15:49 2012 +0100 + + 2.0: Remove deprecated API from Animatable + + clutter/clutter-animatable.c | 2 -- + clutter/clutter-animatable.h | 9 --------- + 2 files changed, 11 deletions(-) + +commit 465a324ecc6869e95f45039366fbecfdd7f94821 +Author: Emmanuele Bassi +Date: Fri Aug 24 10:50:13 2012 +0100 + + 2.0: Remove deprecated API from ClutterTableLayout + + clutter/clutter-table-layout.c | 978 +---------------------------------------- + clutter/clutter-table-layout.h | 47 -- + 2 files changed, 11 insertions(+), 1014 deletions(-) + +commit af21fcc73467759729d2425eba19d30222834a4f +Author: Emmanuele Bassi +Date: Fri Aug 24 10:44:04 2012 +0100 + + 2.0: Remove deprecated API from clutter-util.c + + clutter/clutter-util.c | 21 --------------------- + 1 file changed, 21 deletions(-) + +commit 270ceebf8de324860fdd0fe546edb9f79b39d034 +Author: Emmanuele Bassi +Date: Fri Aug 24 10:43:29 2012 +0100 + + 2.0: Remove deprecated API from ClutterText + + clutter/clutter-text.c | 65 +------------------------------------------------- + clutter/clutter-text.h | 3 --- + 2 files changed, 1 insertion(+), 67 deletions(-) + +commit b3dfa71ca51a7387d638fcf81d7a563e651e3f23 +Author: Emmanuele Bassi +Date: Fri Aug 24 10:42:26 2012 +0100 + + 2.0: Remove deprecated API from ClutterBoxLayout + + clutter/clutter-bin-layout.c | 667 +----------------------- + clutter/clutter-bin-layout.h | 3 +- + clutter/clutter-box-layout.c | 1145 +----------------------------------------- + examples/bin-layout.c | 5 +- + examples/box-layout.c | 5 +- + examples/grid-layout.c | 20 +- + 6 files changed, 52 insertions(+), 1793 deletions(-) + +commit ad4d475d3a6ed9a93344e10f8052a321b745c5c4 +Author: Emmanuele Bassi +Date: Fri Aug 24 08:46:59 2012 +0100 + + 2.0: Remove deprecated ClutterContainer API + + clutter/clutter-bin-layout.c | 3 +- + clutter/clutter-box-layout.c | 2 +- + clutter/clutter-container.c | 757 +---------------------------------------- + clutter/clutter-container.h | 111 ++---- + clutter/clutter-stage.c | 70 +--- + clutter/clutter-table-layout.c | 2 +- + 6 files changed, 42 insertions(+), 903 deletions(-) + +commit 6155a1900be5382735585c5ca72671a2fdde3770 +Author: Emmanuele Bassi +Date: Fri Aug 24 08:36:35 2012 +0100 + + 2.0: Remove deprecated API from ClutterStage + + clutter/clutter-stage.c | 388 +----------------------------------------------- + clutter/clutter-stage.h | 21 --- + 2 files changed, 1 insertion(+), 408 deletions(-) + +commit 0c5e99429fb7987b9e1672c91ae52b66c5fff9ef +Author: Emmanuele Bassi +Date: Fri Aug 24 08:33:03 2012 +0100 + + 2.0: Remove deprecated API from clutter-main.c + + clutter/clutter-main.c | 494 ------------------------------------------------- + 1 file changed, 494 deletions(-) + +commit 0e1a651a1a824f717910b2ecfa56fbf346fe3302 +Author: Emmanuele Bassi +Date: Fri Aug 24 08:30:23 2012 +0100 + + 2.0: Remove deprecated API from ClutterSettings + + clutter/clutter-settings.c | 24 ------------------------ + 1 file changed, 24 deletions(-) + +commit e0aeb03b045869ae0f2c34e30315ba52edc49341 +Author: Emmanuele Bassi +Date: Fri Aug 24 08:29:03 2012 +0100 + + 2.0: Remove deprecated API from ClutterTimeline + + clutter/clutter-timeline.c | 124 --------------------------------------------- + 1 file changed, 124 deletions(-) + +commit ca2f1b68185c06f8c8a7705cf9b88f96a0923705 +Author: Emmanuele Bassi +Date: Fri Aug 24 08:27:39 2012 +0100 + + 2.0: Remove deprecated API from ClutterStageManager + + clutter/clutter-stage-manager.c | 19 ------------------- + 1 file changed, 19 deletions(-) + +commit 5f0c5447b7ccbc32b9bb576f82572965a0cab7e2 +Author: Emmanuele Bassi +Date: Fri Aug 24 08:26:26 2012 +0100 + + 2.0: Remove ClutterActor::paint and ::pick signals + + clutter/clutter-actor.c | 109 +----------------------------------------------- + 1 file changed, 2 insertions(+), 107 deletions(-) + +commit 4926e0e5c258987d8b6289548e75be395ffd2139 +Author: Emmanuele Bassi +Date: Fri Aug 24 08:22:19 2012 +0100 + + 2.0: Remove deprecated API from ClutterBackend + + clutter/clutter-backend.c | 184 ---------------------------------------------- + 1 file changed, 184 deletions(-) + +commit b7e9444c88051c292f2824c9c9cd78f5c053b24e +Author: Emmanuele Bassi +Date: Sun Oct 7 19:09:16 2012 +0100 + + 2.0: Remove deprecated headers from the build + + clutter/Makefile.am | 2 -- + 1 file changed, 2 deletions(-) + +commit c7c9ce8c9c97986d0b3b0a330b37c04588a00c9f +Author: Emmanuele Bassi +Date: Thu Aug 23 17:38:23 2012 +0100 + + 2.0: Remove deprecated sources from the build + + This drops all the deprecated sources and header files, including the + ClutterX11 and ClutterGlx symbols. + + clutter/Makefile.am | 123 ---------------------------------------------------- + 1 file changed, 123 deletions(-) + +commit a2993f5de34b999f032e973e3a495297ac25807f +Author: Emmanuele Bassi +Date: Thu Aug 23 17:37:40 2012 +0100 + + 2.0: First pass at deprecated API removal + + This is the minimum required commit to get Clutter and the examples + building. + + clutter/clutter-actor-private.h | 9 - + clutter/clutter-actor.c | 2413 ++------------------------------------ + clutter/clutter-animatable.c | 74 -- + clutter/clutter-interval.c | 15 - + clutter/clutter-layout-manager.c | 281 +---- + clutter/clutter-layout-manager.h | 20 - + clutter/clutter-script-parser.c | 259 +--- + clutter/clutter-script-private.h | 5 - + clutter/clutter-script.c | 296 ----- + clutter/clutter-stage.c | 4 +- + clutter/clutter-stage.h | 4 +- + clutter/clutter-swipe-action.c | 44 +- + 12 files changed, 123 insertions(+), 3301 deletions(-) + +commit 4da1b8b523025e7a0fe8690b98718f6db3714839 +Author: Emmanuele Bassi +Date: Thu Aug 23 17:36:22 2012 +0100 + + 2.0: Drop deprecated classes from Cally + + CallyGroup, CallyTexture, and CallyRectangle are not needed any more. + + clutter/cally/cally-stage.c | 2 +- + clutter/cally/cally-stage.h | 4 ++-- + clutter/cally/cally.c | 9 --------- + 3 files changed, 3 insertions(+), 12 deletions(-) + +commit 29c42bfe8e16dfe83b9d0e63847a86751b97c9f6 +Author: Emmanuele Bassi +Date: Sun Oct 7 20:11:43 2012 +0100 + + 2.0: Bump clutter-1.0 to clutter-2.0 + + Some places in the build system do not (or cannot) use the macro-ified + CLUTTER_API_VERSION, so we need to fix them up manually. + + autogen.sh | 2 +- + clutter/abicheck.sh | 2 +- + clutter/cally/cally.pc.in | 2 +- + clutter/clutter-main.c | 4 ++-- + configure.ac | 2 +- + doc/cookbook/examples/Makefile.am | 2 +- + doc/cookbook/examples/events-pointer-motion-stacked.c | 2 -- + doc/cookbook/introduction.xml | 6 +++--- + doc/reference/clutter/running-clutter.xml | 4 ++-- + po/Makevars | 2 +- + tests/data/Makefile.am | 2 +- + tests/data/{clutter-1.0.suppressions => clutter-2.0.suppressions} | 0 + 12 files changed, 14 insertions(+), 16 deletions(-) + +commit 27977408853a1b91c3aff934ac009aaaf2d4759b +Author: Emmanuele Bassi +Date: Sun Oct 7 19:07:27 2012 +0100 + + 2.0: Define a separate clutter_api_version_am macro + + We cannot use $CLUTTER_MAJOR_VERSION during 1.99. + + configure.ac | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 89a2862b057423c3c1fc666e6fa776ccacf377dd +Author: Emmanuele Bassi +Date: Thu Aug 23 16:23:32 2012 +0100 + + 2.0: Bump API version + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.pre-1.24 b/ChangeLog.pre-1.24 new file mode 100644 index 0000000..93bddf5 --- /dev/null +++ b/ChangeLog.pre-1.24 @@ -0,0 +1,2205 @@ +commit d490477f4e689020a2228111b39f9adb796b53fe +Author: Emmanuele Bassi +Date: Tue Sep 15 12:46:44 2015 +0100 + + Release Clutter 1.24.0 + + NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 43 insertions(+), 2 deletions(-) + +commit 0e7b18832a6c694fd2443abeecf91fefc47ee76e +Author: Lionel Landwerlin +Date: Tue Sep 15 00:32:05 2015 +0100 + + cogl: reset pending swaps counter on unrealize + + When removing the frame callback on the CoglOnscreen, we loose the ability + to get notified of swap events. This could leave us with a counter != 0 + which leads to a deadlock situation after the next realize/draw cycle. + + https://bugzilla.gnome.org/show_bug.cgi?id=755014 + + clutter/cogl/clutter-stage-cogl.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit ff1a5aae7ac374592f1a9f7ff7be6d0a4bd576c2 +Author: Lionel Landwerlin +Date: Tue Sep 15 00:30:05 2015 +0100 + + x11: stage window: reset framebuffer on foreign window unrealize + + Similarly to 13dbb74c81bec861d3a135fb53966ae5562831a7, we need to reset the + framebuffer in the x11 for foreign windows. + + https://bugzilla.gnome.org/show_bug.cgi?id=755014 + + clutter/clutter-backend-private.h | 5 +++++ + clutter/clutter-backend.c | 25 +++++++++++++++++++++++++ + clutter/gdk/clutter-backend-gdk.c | 27 --------------------------- + clutter/gdk/clutter-backend-gdk.h | 4 ---- + clutter/gdk/clutter-stage-gdk.c | 3 +-- + clutter/x11/clutter-stage-x11.c | 14 ++++++++++++++ + 6 files changed, 45 insertions(+), 33 deletions(-) + +commit 6c7f624f691415ca9ae8c1a95d41b359704d6f1b +Author: Lionel Landwerlin +Date: Mon Sep 14 23:21:29 2015 +0100 + + master-clock-default: prevent deadlock with GLX_INTEL_swap_event + + If we call _clutter_stage_do_update() on a ClutterStage that isn't + mapped/visible, no GL command will be queued, and the Mesa/DRI2 + implementation of SwapBuffers will do nothing. This causes + GLX_INTEL_swap_event to not be emitted by the X server because no swapping + has been requested through DRI2 and it eventually leads to a deadlock + situation in ClutterStageCogl because we're waiting for an event before we + start the next draw cycle. + + This patch removes the non mapped stages from the list of stages to process. + This is consistent with a previous patch for the ClutterMasterClockGdk [1]. + + [1] : 5733ad58e5a3989f5cb836d42a1cebf3884e7c36 + + https://bugzilla.gnome.org/show_bug.cgi?id=755014 + + clutter/clutter-master-clock-default.c | 20 +++++++++++++------- + 1 file changed, 13 insertions(+), 7 deletions(-) + +commit ee98a5bbe8ad21519d5e368ca5b2336e5d1da880 +Author: Lionel Landwerlin +Date: Mon Sep 14 01:00:12 2015 +0200 + + gdk: x11: notify Cogl immediately of a foreign window resize + + We want to avoid waiting for the acknowledgement event from the X + server as we might redraw the stage before that happens. + + This patch reimplements a bit of logic already in clutter-gtk [1]. + + [1] : https://git.gnome.org/browse/clutter-gtk/tree/clutter-gtk/gtk-clutter-embed.c#n723 + + https://bugzilla.gnome.org/show_bug.cgi?id=754993 + + clutter/gdk/clutter-stage-gdk.c | 42 +++++++++++++++++++++++++++++++++-------- + 1 file changed, 34 insertions(+), 8 deletions(-) + +commit aeb19f2f4dcb6d25093802aaac1878c755dc16be +Author: Lionel Landwerlin +Date: Sun Sep 13 00:38:56 2015 +0200 + + gdk: move sync_to_vblank setup from master clock to backend + + Setting up the sync_to_vblank in the MasterClock is a bit too late as + the MasterClock can be created after a StageWindow has been created + and realized (and therefore all of its Cogl/GL state setup already). + So move the setup to the backend, prior to any StageWindow creation. + + https://bugzilla.gnome.org/show_bug.cgi?id=754938 + + clutter/gdk/clutter-backend-gdk.c | 5 +++++ + clutter/gdk/clutter-master-clock-gdk.c | 4 ---- + 2 files changed, 5 insertions(+), 4 deletions(-) + +commit 9f1db3f1b828a7f2e92877b44da6204c7ad3d505 +Author: Marek Černocký +Date: Mon Sep 14 13:24:00 2015 +0200 + + Updated Czech translation + + po/cs.po | 863 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 428 insertions(+), 435 deletions(-) + +commit 53bbd4801f870608fc49f51cc4b555636df9f22e +Author: Bernd Homuth +Date: Sun Sep 13 05:27:22 2015 +0000 + + Updated German translation + + po/de.po | 938 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 476 insertions(+), 462 deletions(-) + +commit 13dbb74c81bec861d3a135fb53966ae5562831a7 +Author: Lionel Landwerlin +Date: Fri Sep 11 17:24:05 2015 +0200 + + gdk: stage window: reset framebuffer on foreign window unrealize + + Clutter still uses part of the deprecated stateful API of Cogl (in + particulart cogl_set_framebuffer). It means Cogl can keep an internal + reference to the onscreen object we rendered to. In the case of + foreign window, we want to avoid this, as we don't know what's going + to happen to that window. + + This change sets the current Cogl framebuffer to a dummy 1x1 + framebuffer if the current Cogl framebuffer is the one we're + unrealizing. + + https://bugzilla.gnome.org/show_bug.cgi?id=754890 + + clutter/gdk/clutter-backend-gdk.c | 29 ++++++++++++++++++++++++++++- + clutter/gdk/clutter-backend-gdk.h | 4 ++++ + clutter/gdk/clutter-stage-gdk.c | 21 ++++++++++++++++++++- + 3 files changed, 52 insertions(+), 2 deletions(-) + +commit cb4e88884bc811120dabcf473503d23a21044618 +Author: Lionel Landwerlin +Date: Fri Sep 11 13:15:16 2015 +0200 + + gdk: master clock: hook ourselves to the paint signal + + We're currently hooked to the "update" signal of the FrameClock. When + embedding Clutter inside GTK+ we want to have the layout phase of GTK+ + to notify us the size of our stage. + + This patch change to FrameClock signal we're listening to, to the + "paint" signal to make sure we've received the layout information from + GTK+, before painting. Otherwise we paint with a delay of one frame. + + https://bugzilla.gnome.org/show_bug.cgi?id=754889 + + clutter/gdk/clutter-master-clock-gdk.c | 6 +++--- + clutter/gdk/clutter-stage-gdk.c | 2 +- + 2 files changed, 4 insertions(+), 4 deletions(-) + +commit 5d83260b19c06f216cfdb21a57f256ebee1affef +Author: Jonas Ådahl +Date: Thu Sep 10 16:12:51 2015 +0800 + + actor: Fix transforming stage point when scale is less than 1 + + The commit 6cd24faaa54de3246ca45d1c7426d8b7a74f71db (actor: Clean up + transform_stage_point()) changed the validation of the transformation + matrix to ignore the fraction part of the determinant. This caused + clutter_actor_transform_stage_point() to fail and return FALSE for + actors which scale was less than 1. + + Previously the validation was ('det' being a float): + det = (RQ[0][0] * ST[0][0]) + + (RQ[0][1] * ST[0][1]) + + (RQ[0][2] * ST[0][2]); + if (!det) + return FALSE; + + Semantically, the if statement expression '!det' is equivalent to + 'det == 0', i.e. 'det == 0.0f'. Post cleanup patches, 'det' was turned + into a double, and the if statement was changed to: + + if (CLUTTER_NEARBYINT (det) == 0) + return FALSE; + + which, different from before, rounds the determinant to the nearest + integer value, meaning determinant in the range (-0.5, 0.5) would be + considered invalid. + + This patch reverts this part to the old behavior, while, because of the + inexact nature of floating point arithmetics, allowing a bit more liberal + meaning of "equals to 0" than '== 0.0'. + + https://bugzilla.gnome.org/show_bug.cgi?id=754766 + + clutter/clutter-actor.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 63813ad398a38d5d7f304c497a1c3f0fda92bdd7 +Author: Dušan Kazik +Date: Thu Sep 10 17:28:07 2015 +0000 + + Updated Slovak translation + + po/sk.po | 61 +++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 29 insertions(+), 32 deletions(-) + +commit 763a04e4dd140a79bad1c0c1364fd18970f4f2f3 +Author: Matej Urbančič +Date: Tue Sep 8 23:13:13 2015 +0200 + + Updated Slovenian translation + + po/sl.po | 880 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 444 insertions(+), 436 deletions(-) + +commit 9432e67ee8f5884d883b6ce1e3ac3e84dcd7cd22 +Author: Lionel Landwerlin +Date: Mon Aug 31 22:58:11 2015 +0100 + + gdk: stage: create subsurface when dealing with foreign windows on wayland + + It is safer to create our own wayland surface when rendering into + someone else GdkWindow, otherwise we might draw somewhere we didn't + intend to. + + https://bugzilla.gnome.org/show_bug.cgi?id=754697 + + clutter/gdk/clutter-event-gdk.c | 9 +++ + clutter/gdk/clutter-stage-gdk.c | 143 +++++++++++++++++++++++++++++++++++++--- + clutter/gdk/clutter-stage-gdk.h | 12 ++++ + 3 files changed, 154 insertions(+), 10 deletions(-) + +commit 3771ef2f08054770ebc6110de14efd8fa2de3a26 +Author: Lionel Landwerlin +Date: Mon Aug 31 22:55:57 2015 +0100 + + gdk: stage: report geometry of the underlying surface for foreign windows + + When running on wayland, we might have our own subsurface + desynchronized from the foreign GdkWindow. It is important that we + report the size of the actually surface we're rendering to, otherwise + the logic in ClutterStage might discard resize operation that + resynchronize the subsurface with the stage's size. + + https://bugzilla.gnome.org/show_bug.cgi?id=754697 + + clutter/gdk/clutter-stage-gdk.c | 19 ++++++++++++------- + 1 file changed, 12 insertions(+), 7 deletions(-) + +commit 55dce70440dc27d6b0e38feccbf62422cfabe499 +Author: Lionel Landwerlin +Date: Mon Aug 31 23:20:29 2015 +0100 + + gdk: stage: do not ensure native windows are created with foreign windows + + For foreign windows this should be dealt with by the embedding + framework. In particular on Wayland with foreign windows, we might + want to create a subsurface and use the foreign window only for events + and frame clock synchronization. + + https://bugzilla.gnome.org/show_bug.cgi?id=754697 + + clutter/gdk/clutter-stage-gdk.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit a9b38fefdc097427cc33ca2b8d527415ee4f157b +Author: Lionel Landwerlin +Date: Mon Sep 7 12:21:18 2015 +0100 + + gdk: stage: disable some operations for foreign windows + + Some operations like : + * resize + * show/hide + * set_title + * set_user_resizable + + should be handled by the embedding framework, so disable them for + foreign windows. + + https://bugzilla.gnome.org/show_bug.cgi?id=754671 + + clutter/gdk/clutter-stage-gdk.c | 31 ++++++++++++++++++++++--------- + 1 file changed, 22 insertions(+), 9 deletions(-) + +commit 5733ad58e5a3989f5cb836d42a1cebf3884e7c36 +Author: Lionel Landwerlin +Date: Sat Sep 5 23:08:09 2015 +0100 + + gdk: master clock: only process mapped & realized stages + + When using Clutter embed inside a Gtk application, a stage might end + up realized but not visible. In this case we might discard doing any + kind of animation processing. + + https://bugzilla.gnome.org/show_bug.cgi?id=754671 + + clutter/gdk/clutter-master-clock-gdk.c | 17 +++++++++-------- + 1 file changed, 9 insertions(+), 8 deletions(-) + +commit 6183eb363282e5143bfd52aa36b5e6a318c4c992 +Author: Lionel Landwerlin +Date: Mon Sep 7 12:27:26 2015 +0100 + + gdk: master-clock: disable vsync throttling + + When running with a master clock based on the GdkFrameClock, we get + synchronized with the compositor, so no need for throttling rendering. + + In particular when dealing with foreign windows, we run into deadlocks + in Mesa because of the way the Mesa wayland backend is implemented [1]. + + [1] : http://cgit.freedesktop.org/mesa/mesa/tree/src/egl/drivers/dri2/platform_wayland.c#n330 + + https://bugzilla.gnome.org/show_bug.cgi?id=754671 + + clutter/gdk/clutter-master-clock-gdk.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit dbec3be99686685dfb704cba468cb807a8b5760d +Author: Emmanuele Bassi +Date: Fri Sep 4 13:53:04 2015 +0100 + + grid-layout: Clarify the scope of the orientation property + + Just like GtkGrid, changing the orientation of a ClutterGridLayout does + not change the existing layout; the orientation property is only used as + a hint when adding new children. + + clutter/clutter-grid-layout.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 41e18f795a6cd090fbe2fdf039ea555a5df735b0 +Author: Milo Casagrande +Date: Fri Sep 4 07:51:39 2015 +0000 + + Updated Italian translation + + po/it.po | 556 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 279 insertions(+), 277 deletions(-) + +commit 7ed96aabd8c3703f5b0572ee7f000821a25d019d +Author: Emmanuele Bassi +Date: Thu Sep 3 14:15:11 2015 +0100 + + grid: Use the proper orientation for the request mode + + We automatically switch the request mode of the container depending on + the GridLayout's orientation, but we need to keep track of the request + mode during allocation, so that we don't get out of sync if the user + changed the request mode after adding the layout manager. + + This change also brings us closer to the code in GtkGrid. + + clutter/clutter-grid-layout.c | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +commit 8a7304ee7d86fd3649a754a059a596c39792a97d +Author: Aurimas Černius +Date: Wed Sep 2 21:13:29 2015 +0300 + + Updated Lithuanian translation + + po/lt.po | 50 ++++++++++++++++++++++++++------------------------ + 1 file changed, 26 insertions(+), 24 deletions(-) + +commit 41bde79cf65a9a4c7c93aa4e5a03f5701161d5ee +Author: Dušan Kazik +Date: Tue Sep 1 08:15:40 2015 +0000 + + Updated Slovak translation + + po/sk.po | 75 ++++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 35 insertions(+), 40 deletions(-) + +commit 5ae744c835032b75146a9869e01f5920de5c2e32 +Author: Balázs Úr +Date: Mon Aug 31 15:32:01 2015 +0000 + + Updated Hungarian translation + + po/hu.po | 871 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 438 insertions(+), 433 deletions(-) + +commit 3bb58de17064de7d9d9d209c26ccf5d8f49c5e83 +Author: Yosef Or Boczko +Date: Sun Aug 30 11:12:55 2015 +0300 + + Updated Hebrew translation + + po/he.po | 870 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 435 insertions(+), 435 deletions(-) + +commit dea5057fbd7e9e2f0199ec6df6e5716635f0e5ee +Author: Emmanuele Bassi +Date: Sat Aug 29 20:19:51 2015 +0100 + + grid: Use the orientation of the request + + We use the orientation of the grid to get the preferred size of the + layout, but we should be using the orientation of the request instead. + The preferred width has an orizontal orientation, and the preferred + height has a vertical orientation. + + This allows us to refactor the get_preferred_* implementation into a + separate function. + + clutter/clutter-grid-layout.c | 69 +++++++++++++++++++++++++------------------ + 1 file changed, 41 insertions(+), 28 deletions(-) + +commit ed80a4bebb4c271e0f3f22208b38010d9ba4a812 +Author: Dušan Kazik +Date: Sat Aug 29 15:58:00 2015 +0000 + + Updated Slovak translation + + po/sk.po | 636 +++++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 334 insertions(+), 302 deletions(-) + +commit 6b7cfceb5ee372269f22bcd3b785a245429c6998 +Author: Tom Tryfonidis +Date: Fri Aug 28 20:50:07 2015 +0000 + + Updated Greek translation + + po/el.po | 628 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 315 insertions(+), 313 deletions(-) + +commit 6bcbd1bfce75f82d95c6b15f8f4bdf1c3702f436 +Author: Andika Triwidada +Date: Fri Aug 28 13:02:13 2015 +0000 + + Updated Indonesian translation + + po/id.po | 29 +++++++++++++---------------- + 1 file changed, 13 insertions(+), 16 deletions(-) + +commit 0e4d11bcd8fca592215259568f2e816d3f501397 +Author: Lionel Landwerlin +Date: Tue Aug 25 23:28:18 2015 +0100 + + gdk: master clock: fix incorrect symbol use + + https://bugzilla.gnome.org/show_bug.cgi?id=754134 + + clutter/gdk/clutter-master-clock-gdk.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5b9c31a0cece7852a22a76e24a4738cb4c773d1d +Author: Lionel Landwerlin +Date: Tue Aug 25 00:13:49 2015 +0100 + + gdk: fix memory corruption + + g_hash_table_replace will free the list pointer we're modifying. + Let's just do memory management ourselves. + + https://bugzilla.gnome.org/show_bug.cgi?id=754134 + + clutter/gdk/clutter-master-clock-gdk.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 84ad306a6598b831c4827cb6151a7f1bde33a6ff +Author: Piotr Drąg +Date: Wed Aug 26 17:38:58 2015 +0200 + + Updated Polish translation + + po/pl.po | 656 +++++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 328 insertions(+), 328 deletions(-) + +commit 6e6d5b152b3d9c346bb6d02bd5234bf812ec325f +Author: Chao-Hsiung Liao +Date: Tue Aug 25 22:51:41 2015 +0000 + + Updated Chinese (Taiwan) translation + + po/zh_TW.po | 871 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 438 insertions(+), 433 deletions(-) + +commit e26a0c3afc82bba1226403b05d5836c6dce8c4c9 +Author: Fran Dieguez +Date: Tue Aug 25 15:51:15 2015 +0200 + + Updated Galician translations + + po/gl.po | 42 ++++++++++++++++++++---------------------- + 1 file changed, 20 insertions(+), 22 deletions(-) + +commit e10fd2d4c01d339056a30f4d3dca713147986b9e +Author: Daniel Mustieles +Date: Tue Aug 25 11:01:18 2015 +0200 + + Updated Spanish translation + + po/es.po | 30 ++++++++++++++++-------------- + 1 file changed, 16 insertions(+), 14 deletions(-) + +commit 8f20f86a80882ce3506a7feb2527c64e95045631 +Author: Pedro Albuquerque +Date: Tue Aug 25 06:20:10 2015 +0000 + + Updated Portuguese translation + + po/pt.po | 32 +++++++++++++++++--------------- + 1 file changed, 17 insertions(+), 15 deletions(-) + +commit 81a560f9bf043c54a37c947a52f149fb4d5e0064 +Author: Alexandre Franke +Date: Mon Aug 24 16:02:38 2015 +0000 + + Updated French translation + + po/fr.po | 26 +++++++++++++------------- + 1 file changed, 13 insertions(+), 13 deletions(-) + +commit 84c5846aa07080c825702af798d3bae4c888b240 +Author: Emmanuele Bassi +Date: Mon Aug 24 10:01:03 2015 +0100 + + image: Use internal function for the texture node + + ClutterActor has a convenience function that removes the need to query + the actor's state and apply it to a ClutterTextureNode, so we should use + it. + + clutter/clutter-image.c | 41 +++-------------------------------------- + 1 file changed, 3 insertions(+), 38 deletions(-) + +commit af010d5e2daf09f8ce4e453e32efa4920b3d103a +Author: Emmanuele Bassi +Date: Mon Aug 24 09:59:53 2015 +0100 + + canvas: Use internal function for the texture node + + ClutterActor has a convenience function that removes the need to query + the actor's state and apply it to a ClutterTextureNode, so we should use + it. + + clutter/clutter-canvas.c | 45 ++++++--------------------------------------- + 1 file changed, 6 insertions(+), 39 deletions(-) + +commit cf7e37b53bb5f5a91d3a849e88e1cfeeada9aa0c +Author: Emmanuele Bassi +Date: Mon Aug 24 09:59:16 2015 +0100 + + actor: Add internal "create textute node" function + + To avoid excessive copy and paste. We could even consider making it + public before release. + + clutter/clutter-actor-private.h | 3 ++ + clutter/clutter-actor.c | 63 +++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 66 insertions(+) + +commit 6cc12adf4d1b3ab5475caa98a7c99a5b577459e1 +Author: Emmanuele Bassi +Date: Fri Aug 21 15:02:47 2015 +0100 + + Post-release version bump to 1.23.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 113b7bac51ec4570b23d47ebb715cd95f7f4018f +Author: Emmanuele Bassi +Date: Fri Aug 21 14:47:04 2015 +0100 + + Release Clutter 1.23.6 + + NEWS | 27 +++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 28 insertions(+), 1 deletion(-) + +commit 38e983b8e9e2b433ef6ba930dca9096958bae697 +Author: Emmanuele Bassi +Date: Fri Aug 21 12:11:05 2015 +0100 + + docs: Fix a typo in the BoxLayout:homogeneous description + + https://bugzilla.gnome.org/show_bug.cgi?id=753895 + + clutter/clutter-box-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit fe422ab61c2bb7b23af6c4707a27b4de4d49beb1 +Author: Emmanuele Bassi +Date: Fri Aug 21 11:58:52 2015 +0100 + + gdk: Use non-deprecated/non-Clutter specific X11 API + + We are currently using deprecated/Clutter-specific API in Cogl to + retrieve the XVisualInfo associated with the (E)GLX context. Cogl 1.21.2 + added new CoglRenderer API to achieve the same result. + + clutter/gdk/clutter-backend-gdk.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f5409ecd3a28a9e32467652d34120aa77fcff0a2 +Author: Emmanuele Bassi +Date: Fri Aug 21 11:57:59 2015 +0100 + + Bump up requirement for Cogl + + We're going to use API added in Cogl 1.21. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 956eec79647388b4c97cef093b407fe98d2ccfd4 +Author: Emmanuele Bassi +Date: Wed Aug 19 17:34:44 2015 +0100 + + conform/actor-pick: Add more verbose output on failure + + Should help diagnosing issues. + + tests/conform/actor-pick.c | 28 ++++++++++++++++++++++++++-- + 1 file changed, 26 insertions(+), 2 deletions(-) + +commit cff048a65048bc71f37b1f575ea765fde72081c3 +Author: Fran Dieguez +Date: Mon Aug 17 01:18:03 2015 +0200 + + Updated Galician translations + + po/gl.po | 838 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 420 insertions(+), 418 deletions(-) + +commit 83869a17ea9cc69fad37a24dce99e34fefa2814b +Author: Alexandre Franke +Date: Sat Aug 15 11:37:47 2015 +0000 + + Updated French translation + + po/fr.po | 825 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 413 insertions(+), 412 deletions(-) + +commit c73d8f82a0cc9f20b836e8782813271e1a948ef6 +Author: Daniel Mustieles +Date: Wed Aug 12 08:58:43 2015 +0200 + + Updated Spanish translation + + po/es.po | 5804 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 2902 insertions(+), 2902 deletions(-) + +commit 9a10c3cbee284cd463d21cc80e13e35aaffec1ae +Author: Emmanuele Bassi +Date: Tue Aug 11 09:14:19 2015 +0100 + + Add an explicit dep on GIO + + We use GIO types in the API, so we cannot just rely on our dependencies + to add GIO. + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit bdf12d359a8f88507d1ef8883c39474cfd2dc4ba +Author: Aurimas Černius +Date: Thu Aug 6 22:54:34 2015 +0300 + + Updated Lithuanian translation + + po/lt.po | 828 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 415 insertions(+), 413 deletions(-) + +commit 3a52b688cb6c7e877145868c7fada8cde62cda5b +Author: Pedro Albuquerque +Date: Tue Aug 4 10:28:50 2015 +0000 + + Updated Portuguese translation + + po/pt.po | 433 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 218 insertions(+), 215 deletions(-) + +commit 434f01c08fb099031ff9aa17cd1ef238684f8d04 +Author: Andika Triwidada +Date: Mon Aug 3 11:23:29 2015 +0000 + + Updated Indonesian translation + + po/id.po | 421 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 212 insertions(+), 209 deletions(-) + +commit 6d649ec6d11833022f7e1bca8efc30274315080f +Author: Anders Jonsson +Date: Mon Mar 16 12:57:33 2015 +0100 + + Fix typo (textues) + + https://bugzilla.gnome.org/show_bug.cgi?id=746279 + + clutter/deprecated/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7016bff34443665bffdd4d50f9f3ac16ffc0b62f +Author: Jordi Mas +Date: Sat Aug 1 11:20:25 2015 +0200 + + Fixes to Catalan translation + + po/ca.po | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 9a510c011746ba7e0d258c76302e83e16e371ec7 +Author: Adel Gadllah +Date: Sun Jul 26 11:29:10 2015 +0200 + + backend: Check for a known set of drivers + + We want to use the Cogl GL3 driver, if possible, and then go through a + known list of Cogl drivers, before giving up and using COGL_DRIVER_ANY. + + Based on original patch from Emmanuele Bassi. + + We have to create and tear down the whole context when trying + out the drivers though because the extension checks do not happen + until cogl_context_init. + + https://bugzilla.gnome.org/show_bug.cgi?id=742678 + + clutter/clutter-backend.c | 69 ++++++++++++++++++++++++++++++++++++++--------- + 1 file changed, 56 insertions(+), 13 deletions(-) + +commit 40f6a0135e9007c1830aa6e35b65399ce897e0fc +Author: Carlos Garnacho +Date: Fri Jul 24 19:08:44 2015 +0200 + + evdev: Set missing dx/dy fields on ClutterTouchpadPinchEvents + + clutter/evdev/clutter-device-manager-evdev.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit ec90e5c2bed1aa4ec0198d80a916e0446dd15602 +Author: Sebastian Rasmussen +Date: Thu Jul 23 20:19:34 2015 +0000 + + Updated Swedish translation + + po/sv.po | 2237 +++++++++++++++++++++++++++++++++++--------------------------- + 1 file changed, 1279 insertions(+), 958 deletions(-) + +commit 691be437ad034e19b201c05d6f6500e16c072455 +Author: Emmanuele Bassi +Date: Wed Jul 22 19:25:01 2015 +0100 + + Post-release version bump to 1.23.5 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 23596a0ca600929f17669b171358342e8ea96c55 +Author: Emmanuele Bassi +Date: Wed Jul 22 19:13:00 2015 +0100 + + Release Clutter 1.23.4 + + NEWS | 32 ++++++++++++++++++++++++++++++++ + README.in | 22 ++++++++++++++++++++++ + configure.ac | 2 +- + 3 files changed, 55 insertions(+), 1 deletion(-) + +commit b834503b7954b6563e786f2eb0223c3af57c665d +Author: Emmanuele Bassi +Date: Wed Jul 22 19:12:42 2015 +0100 + + build: Fix for distcheck + + clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c74822159817ba1422b13d850deb337c7f60a438 +Author: Emmanuele Bassi +Date: Wed Jul 22 18:46:47 2015 +0100 + + docs: Add missing symbols + + doc/reference/clutter-sections.txt | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit 8f976cad44461ff05946bb771baff8cfbe06a1b0 +Author: Stefan Sauer +Date: Wed Jul 22 18:28:41 2015 +0200 + + docs: give more hints about how to replace the anchor-point + + In addition to pivot-point also mention _set_translation(). + + clutter/clutter-actor.c | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +commit 13c722c026f272fe9d9d2c67088bad02b5b1f0be +Author: Emmanuele Bassi +Date: Mon Jul 20 13:05:06 2015 +0100 + + x11: Remove unused enumeration + + The ClutterX11XInputEventTypes enumeration has been unused inside + Clutter for the past 4 years and a half, since we switched to the + XInput 2 API. + + The enumeration itself has always been private, and nobody should + have used it in the first place, but if something breaks, we can + revert this commit. + + clutter/x11/clutter-x11.h | 12 ------------ + 1 file changed, 12 deletions(-) + +commit 9d40fafa2a62db1a7bab5d339a0211b5cbce962e +Author: Emmanuele Bassi +Date: Mon Jul 20 13:00:12 2015 +0100 + + Do not generate backend-specific enumeration types + + They should be part of the backend-specific API. + + The only backend that has an enumeration type is the X11 one, and it's + small, so we can simply put it there. + + This is not an ABI change: the backend-specific symbols are still in + the same SO. You'll be required to import clutter-x11.h to have access + to the GType method at the source level, whereas before just importing + clutter.h would have sufficed. The only user of that enumeration was a + function declared in clutter-x11.h, anyway. + + clutter/Makefile.am | 2 +- + clutter/x11/clutter-backend-x11.c | 25 ++++++++++++++++++++++++- + clutter/x11/clutter-x11.h | 3 +++ + 3 files changed, 28 insertions(+), 2 deletions(-) + +commit c2e63cf16b41f5cec8b742eb1fd56deed1789a41 +Author: Emmanuele Bassi +Date: Sun Jul 19 13:17:49 2015 +0100 + + build: Use the appropriate NAMESPACE variable everywhere + + We're inconsistently using the NAMESPACE variable instead of passing + the --identifier-prefix and --symbol-prefix command line arguments to + the introspection scanner. + + clutter/Makefile.am | 25 +++++++++++-------------- + 1 file changed, 11 insertions(+), 14 deletions(-) + +commit e474684f2bcf9a8a449c96afc393b73792637495 +Author: Emmanuele Bassi +Date: Fri Jul 17 13:16:53 2015 +0100 + + deprecated: Regenerate the compatibility key symbols + + Now with the appropriate compiler warning that points to the replacement + key symbol. + + clutter/deprecated/clutter-keysyms.h | 4198 +++++++++++++++++----------------- + 1 file changed, 2099 insertions(+), 2099 deletions(-) + +commit 1506ec4a541938293d931a1bd1909d46a0d0a0e3 +Author: Emmanuele Bassi +Date: Fri Jul 17 13:15:32 2015 +0100 + + keysyms-update: Add deprecation notice for compat symbols + + Now that we can warn about deprecated macros, we should finally do it + for the old, non-namespaced key symbol macros that we've been stringing + along since the 1.0 days. + + clutter/clutter-keysyms-update.pl | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit ad690c61b1f590a904da7c3b4d3e94678b990547 +Author: Ting-Wei Lan +Date: Sun Jul 12 14:30:05 2015 +0800 + + macros: Clang 3.4 and later versions can use deprecation macros for GCC + + https://bugzilla.gnome.org/show_bug.cgi?id=752272 + + clutter/clutter-macros.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 4dfa4de5d01bf5817c939c23d738967e6f8922df +Author: Nitin Sharma +Date: Mon Jul 13 17:21:57 2015 +0530 + + actor: Check for NULL pointer for pspec + + In function clutter_actor_set_final_state, the pspec pointer returned by calling + g_object_class_find_property is not checked for NULL. + + clutter/clutter-actor.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +commit 332aa3cf215aa6b4c86565f589f01a4b4ac7e362 +Author: Emmanuele Bassi +Date: Sat Jul 11 23:58:12 2015 +0100 + + macros: Add fallback defines for non-GCC compilers + + I forgot to add the fallback definitions in case we're not using GCC; + without them, anybody using non-GCC compilers will get a build error. + + https://bugzilla.gnome.org/show_bug.cgi?id=752272 + + clutter/clutter-macros.h | 3 +++ + 1 file changed, 3 insertions(+) + +commit 7e0f588c91923d0983e6ecaa904b559890c265c3 +Author: Ting-Wei Lan +Date: Sat Jul 11 18:09:45 2015 +0800 + + trivial: Fix return value error in clutter_event_get_gesture_motion_delta + + clutter/clutter-event.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit a722cbebef7b2bf8c5427631952889498b664148 +Author: Emmanuele Bassi +Date: Sat Jul 11 10:13:23 2015 +0100 + + actor: Fully deprecate the state access macros + + Now that we can warn without breaking the build, we should deprecate the + state access macros for ClutterActor. + + clutter/clutter-actor.h | 27 +++++++++++++++++++++------ + 1 file changed, 21 insertions(+), 6 deletions(-) + +commit 9bd3c8d2e6ef4c794396a3ccbfa45f08055c6b6b +Author: Emmanuele Bassi +Date: Sat Jul 11 10:16:11 2015 +0100 + + conform: Do not use deprecated macros + + Porting actor-graph is easier than porting actor-invariants, and we're + not really testing the internals of ClutterActor. + + tests/conform/actor-graph.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit ccd3fa0355407f4b5ec7528cdef91e939647f344 +Author: Emmanuele Bassi +Date: Sat Jul 11 10:12:33 2015 +0100 + + conform: Disable deprecation warnings + + When testing the invariants we do also test deprecated API; there's no + need to warn. + + tests/conform/actor-invariants.c | 1 + + 1 file changed, 1 insertion(+) + +commit 4040f2d556801fa6aaba223b530b83616c73453e +Author: Emmanuele Bassi +Date: Sat Jul 11 10:12:00 2015 +0100 + + gdk: Do not use deprecated macros + + Use the replacement functions instead. + + clutter/gdk/clutter-master-clock-gdk.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit eefbb88675b3a3f6d00d6fe7305625fe903b74da +Author: Emmanuele Bassi +Date: Sat Jul 11 10:11:35 2015 +0100 + + backend: Do not use deprecated macros + + Use the replacement functions instead. + + clutter/clutter-backend.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 02b44fcc60f5bf1aa335c9d6df003695f84fdb2d +Author: Emmanuele Bassi +Date: Sat Jul 11 10:10:57 2015 +0100 + + cally: Drop use of deprecated macros + + Use the equivalent functions instead. + + clutter/cally/cally-actor.c | 10 +++++----- + clutter/cally/cally-text.c | 2 +- + 2 files changed, 6 insertions(+), 6 deletions(-) + +commit 8a24ad83c91551e1c6eaa05a0f1dac022cf4887a +Author: Emmanuele Bassi +Date: Sat Jul 11 10:03:57 2015 +0100 + + Add macros for deprecating macros + + We want to be able to deprecate macros, but right now the best we can do + is to wrap them with things like: + + #ifndef CLUTTER_DISABLE_DEPRECATED + # define A_MACRO_I_WANT_TO_DEPRECATE ... + #endif + + Which requires adding a new symbol to the build, and will cause a build + error instead of a compiler/pre-processor warning. + + Fortunately, we can use the _Pragma() keyword introduced by C99 and + supported by GCC to add a warning to the output, while leaving the macro + itself intact. + + GCC does not have a "deprecated" pragma, so we have to use a generic + warning; this also means we cannot do nifty things like concatenating + strings and the like, as we do for the "deprecated" attribute. + + The macro deprecation symbol should have the same affordances as the + function deprecation one, and evaluate to nothing if the required + version is lower than the current version; or if the global toggle for + deprecation warnings is in effect. + + clutter/clutter-macros.h | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit b151898534b08eb8bc0136883d2204c6b612bc36 +Author: Carlos Garnacho +Date: Wed Jul 1 15:15:41 2015 +0200 + + clutter-event: Add API around touchpad gesture events + + These are needed in order to make these events binding friendly + + clutter/clutter-event.c | 122 +++++++++++++++++++++++++++++++++++++ + clutter/clutter-event.h | 17 ++++++ + doc/reference/clutter-sections.txt | 5 ++ + 3 files changed, 144 insertions(+) + +commit 5b8a2a9e156395052a8adda670fdf3fd0d30c591 +Author: Carlos Garnacho +Date: Fri May 22 18:33:31 2015 +0200 + + evdev: Handle libinput touchpad swipe/pinch gesture events + + The translation from libinput events is fairly straightforward, as they + map almost 1:1. + + clutter/evdev/clutter-device-manager-evdev.c | 165 +++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 166 insertions(+), 1 deletion(-) + +commit c185a17783a1b7c0d270def5e02eb3f27ba4fcb8 +Author: Carlos Garnacho +Date: Fri May 22 18:30:09 2015 +0200 + + event: Add pinch/swipe gesture event types and structs + + We now have ClutterTouchpadPinchEvent and ClutterTouchpadSwipeEvent, + each bringing the necessary info for the specific gesture. Each + of these events is defined by begin/update/end/cancel phases. + + These events have been also made to propagate down/up the pointer + position, just like scroll and button events do. + + clutter/clutter-enums.h | 43 ++++++++++++++++++++ + clutter/clutter-event.c | 34 ++++++++++++++++ + clutter/clutter-event.h | 82 ++++++++++++++++++++++++++++++++++++++ + clutter/clutter-main.c | 2 + + doc/reference/clutter-sections.txt | 3 ++ + 5 files changed, 164 insertions(+) + +commit a4b79e1cd33274e20c4febdd15867bfea7c21033 +Author: Emmanuele Bassi +Date: Fri Jul 10 15:48:07 2015 +0100 + + docs: Update all the links in the README + + We've been shipping with outdated links for a long while. + + README.in | 20 +++++++++----------- + 1 file changed, 9 insertions(+), 11 deletions(-) + +commit 3e14d87188dabc6825190c9c3a2f67d5adf8a020 +Author: Emmanuele Bassi +Date: Fri Jul 10 14:33:25 2015 +0100 + + actor: Use CLUTTER_NEARBYINT instead of C integer casting + + Otherwise we break because of rounding. + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit b0e785c6c269f5223fe2beaa1794f850e270d9cd +Author: Emmanuele Bassi +Date: Fri Jul 10 11:26:34 2015 +0100 + + actor: Add bind_model_with_properties() + + When binding models to actors to map items to children we don't often + need the full control of a function; in many cases we just need to + specify the type of the child we want to construct and the properties + on both the item and the child that we want to bind. + + We should provide a simple convenience function that does all this for + us. + + clutter/clutter-actor.c | 135 +++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 6 ++ + doc/reference/clutter-sections.txt | 1 + + examples/actor-model.c | 33 +++------ + 4 files changed, 151 insertions(+), 24 deletions(-) + +commit eda436f0c40955908b9eaf588078680f2d27354e +Author: Emmanuele Bassi +Date: Fri Jul 10 10:42:27 2015 +0100 + + examples/actor-model: Add activate transition + + Show a simple transition when the current menu item is activated. + + examples/actor-model.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 68 insertions(+), 1 deletion(-) + +commit bf0ca916629f5034ff322642269c222e62efaf28 +Author: Emmanuele Bassi +Date: Thu Jul 9 16:53:39 2015 +0100 + + examples/actor-model: Clean up and comment + + This is an example so it ought to be a bit more didactic. + + examples/actor-model.c | 310 +++++++++++++++++++++++++++---------------------- + 1 file changed, 169 insertions(+), 141 deletions(-) + +commit 365bd482fbce9ae61e810878afe685d21e6a801d +Author: Emmanuele Bassi +Date: Thu Jul 9 14:34:11 2015 +0100 + + gdk: Use X11 API only when running under X11 + + Avoid using GdkX11Screen API when the GDK backend being used is not the + X11 one. + + https://bugzilla.gnome.org/show_bug.cgi?id=752143 + + clutter/gdk/clutter-backend-gdk.c | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit 41cd804f104ab51035c204868751f1876b7409c8 +Author: Emmanuele Bassi +Date: Thu Jul 9 14:30:26 2015 +0100 + + actor: Rename internal function + + Map to the field name and the signal name, so it's clear what it does. + + clutter/clutter-actor.c | 23 ++++++++++++----------- + 1 file changed, 12 insertions(+), 11 deletions(-) + +commit b0300a624719196a9e0291d140fe6166c791ae64 +Author: Emmanuele Bassi +Date: Wed Jul 8 11:15:54 2015 +0100 + + cogl: Pack ClutterStageCogl a bit more + + We should rearrange the fields a bit so they get packed without holes, + and aligned with cacheline boundaries. + + clutter/cogl/clutter-stage-cogl.h | 21 +++++++++++---------- + 1 file changed, 11 insertions(+), 10 deletions(-) + +commit 938eea175fffd6d6122f7e34a1d74dcf687b6f17 +Author: Emmanuele Bassi +Date: Wed Jul 8 11:10:45 2015 +0100 + + backend: Remove unnecessary private data structure + + The whole of ClutterBackend is a final/protected type, so having a bunch + of instance fields and an instance private data structure is redundant + at best, and less efficient at worst. + + clutter/clutter-backend-private.h | 9 ++- + clutter/clutter-backend.c | 119 ++++++++++++-------------------------- + 2 files changed, 46 insertions(+), 82 deletions(-) + +commit 19fbbcd35846453ac9ba77c321311faec39bb6e2 +Author: Emmanuele Bassi +Date: Wed Jul 8 11:05:10 2015 +0100 + + build: Do not define Wayland support unconditionally + + Now that we discover at configure time if Wayland is available, we + should only enable support if we find it. + + https://bugzilla.gnome.org/show_bug.cgi?id=752104 + + configure.ac | 13 ++++++------- + 1 file changed, 6 insertions(+), 7 deletions(-) + +commit 02b69e4d76f7f94f8faa964ebca2d01df7aaa8cf +Author: Emmanuele Bassi +Date: Tue Jul 7 15:51:13 2015 +0100 + + Move header inclusion guard at the top + + GCC has some optimization for the inclusion guard, but they only work if + the check is the outermost one. + + We're fairly inconsistent because of historical reasons, so we should + ensure that we follow the same pattern in every public header. + + clutter/clutter-action.h | 6 +++--- + clutter/clutter-actor-meta.h | 6 +++--- + clutter/clutter-actor.h | 6 +++--- + clutter/clutter-align-constraint.h | 6 +++--- + clutter/clutter-backend.h | 6 +++--- + clutter/clutter-bin-layout.h | 6 +++--- + clutter/clutter-bind-constraint.h | 6 +++--- + clutter/clutter-binding-pool.h | 6 +++--- + clutter/clutter-blur-effect.h | 6 +++--- + clutter/clutter-box-layout.h | 6 +++--- + clutter/clutter-brightness-contrast-effect.h | 6 +++--- + clutter/clutter-cairo.h | 6 +++--- + clutter/clutter-canvas.h | 6 +++--- + clutter/clutter-child-meta.h | 6 +++--- + clutter/clutter-click-action.h | 6 +++--- + clutter/clutter-clone.h | 6 +++--- + clutter/clutter-color-static.h | 6 +++--- + clutter/clutter-color.h | 6 +++--- + clutter/clutter-colorize-effect.h | 6 +++--- + clutter/clutter-constraint.h | 6 +++--- + clutter/clutter-container.h | 6 +++--- + clutter/clutter-content.h | 6 +++--- + clutter/clutter-deform-effect.h | 6 +++--- + clutter/clutter-desaturate-effect.h | 6 +++--- + clutter/clutter-device-manager.h | 6 +++--- + clutter/clutter-drag-action.h | 6 +++--- + clutter/clutter-drop-action.h | 6 +++--- + clutter/clutter-effect.h | 6 +++--- + clutter/clutter-enums.h | 6 +++--- + clutter/clutter-event.h | 6 +++--- + clutter/clutter-feature.h | 6 +++--- + clutter/clutter-fixed-layout.h | 6 +++--- + clutter/clutter-flow-layout.h | 6 +++--- + clutter/clutter-gesture-action.h | 6 +++--- + clutter/clutter-grid-layout.h | 6 +++--- + clutter/clutter-group.h | 6 +++--- + clutter/clutter-image.h | 6 +++--- + clutter/clutter-input-device.h | 6 +++--- + clutter/clutter-interval.h | 6 +++--- + clutter/clutter-keyframe-transition.h | 6 +++--- + clutter/clutter-layout-manager.h | 6 +++--- + clutter/clutter-layout-meta.h | 6 +++--- + clutter/clutter-macros.h | 6 +++--- + clutter/clutter-main.h | 6 +++--- + clutter/clutter-offscreen-effect.h | 6 +++--- + clutter/clutter-page-turn-effect.h | 6 +++--- + clutter/clutter-paint-node.h | 6 +++--- + clutter/clutter-paint-nodes.h | 6 +++--- + clutter/clutter-pan-action.h | 6 +++--- + clutter/clutter-path-constraint.h | 6 +++--- + clutter/clutter-path.h | 6 +++--- + clutter/clutter-property-transition.h | 6 +++--- + clutter/clutter-rotate-action.h | 6 +++--- + clutter/clutter-script.h | 6 +++--- + clutter/clutter-scriptable.h | 6 +++--- + clutter/clutter-scroll-actor.h | 6 +++--- + clutter/clutter-settings.h | 6 +++--- + clutter/clutter-shader-effect.h | 6 +++--- + clutter/clutter-shader-types.h | 6 +++--- + clutter/clutter-snap-constraint.h | 6 +++--- + clutter/clutter-stage-manager.h | 6 +++--- + clutter/clutter-stage.h | 6 +++--- + clutter/clutter-tap-action.h | 6 +++--- + clutter/clutter-text-buffer.h | 6 +++--- + clutter/clutter-text.h | 6 +++--- + clutter/clutter-transition-group.h | 4 ++++ + clutter/clutter-transition.h | 6 +++--- + clutter/clutter-types.h | 6 +++--- + clutter/clutter-units.h | 6 +++--- + clutter/clutter-version.h.in | 6 +++--- + clutter/clutter-zoom-action.h | 6 +++--- + 71 files changed, 214 insertions(+), 210 deletions(-) + +commit cffa243fbe675d0025a53cbc069e29ecfcc65176 +Author: Emmanuele Bassi +Date: Tue Jul 7 14:52:20 2015 +0100 + + Add autocleanup macros for Clutter types + + So that people can use the g_auto* macros, as well as the G_DECLARE_* + ones, from GLib 2.44. + + clutter/Makefile.am | 2 +- + clutter/clutter-autocleanups.h | 106 +++++++++++++++++++++++++++++++++++++++++ + clutter/clutter.h | 2 + + 3 files changed, 109 insertions(+), 1 deletion(-) + +commit 6cd24faaa54de3246ca45d1c7426d8b7a74f71db +Author: Emmanuele Bassi +Date: Tue Jul 7 09:23:42 2015 +0100 + + actor: Clean up transform_stage_point() + + Use double precision floats for the intermediate computations, to avoid + loss of precision, and don't convert too integer when unnecessary, to + avoid rounding errors. + + clutter/clutter-actor.c | 107 ++++++++++++++++++++++-------------------------- + 1 file changed, 49 insertions(+), 58 deletions(-) + +commit 4b9e672bc18e80c541138743c19c9229764c20e9 +Author: Emmanuele Bassi +Date: Mon Jun 29 20:28:43 2015 +0100 + + examples: Add actor-model + + A basic example that shows how to build a composite actor starting from + a GListStore of model objects. + + examples/Makefile.am | 1 + + examples/actor-model.c | 442 +++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 443 insertions(+) + +commit bf9a71ae2381e3d0fdc9846f61777489befe1960 +Author: Emmanuele Bassi +Date: Mon Jun 29 20:22:56 2015 +0100 + + actor: Allow binding an actor to a GListModel + + It can be useful to bind the children list to set of objects inside a + GListModel implementation; the GListModel stores the objects, and every + time the model changes, a function is called that maps each object in + the model to a newly created ClutterActor, which is then added as a + child. This API, along with the property binding one inside GObject, + allows automatic creation of views based on object models that update + themselves without manual intervention. + + clutter/clutter-actor.c | 127 +++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 27 ++++++++ + doc/reference/clutter-sections.txt | 2 + + 3 files changed, 156 insertions(+) + +commit 7cde4486aaf860669cc4cf99f772238ac0e6a01f +Author: Emmanuele Bassi +Date: Mon Jun 29 20:22:36 2015 +0100 + + build: Bump GLib dependency + + We need GListModel, in GIO since 2.44. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit db8bb95817223b4fa3a93403b31af83ddde740d4 +Author: Emmanuele Bassi +Date: Sun Jun 28 10:37:01 2015 +0100 + + Move ClutterModel to the deprecated area + + And deal with the fallout in the source tree. + + clutter/Makefile.am | 6 +++--- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/deprecated/clutter-list-model.h | 2 +- + clutter/{ => deprecated}/clutter-model-private.h | 4 ++-- + clutter/{ => deprecated}/clutter-model.c | 0 + clutter/{ => deprecated}/clutter-model.h | 0 + 7 files changed, 7 insertions(+), 7 deletions(-) + +commit 31c2c57f8ba78f5245188f93ef6faa214a7bad2d +Author: Emmanuele Bassi +Date: Sun Jun 28 10:29:37 2015 +0100 + + Move clutter-list-model.[ch] to the deprecated area + + clutter/Makefile.am | 4 ++-- + clutter/clutter-deprecated.h | 1 + + clutter/clutter.h | 1 - + clutter/{ => deprecated}/clutter-list-model.c | 0 + clutter/{ => deprecated}/clutter-list-model.h | 0 + 5 files changed, 3 insertions(+), 3 deletions(-) + +commit 52e8864aa30cc394b7c79cb17c43f2c877396a19 +Author: Emmanuele Bassi +Date: Sun Jun 28 10:37:31 2015 +0100 + + conform: Disable deprecation warnings in the model units + + tests/conform/model.c | 1 + + 1 file changed, 1 insertion(+) + +commit 6376eebd9bda84082609217f46ea7cffb72ec738 +Author: Emmanuele Bassi +Date: Sun Jun 28 10:31:19 2015 +0100 + + Deprecate ClutterModel + + Now that we've deprecated the only concrete implementation of + ClutterModel, it's time we deprecate the base abstract class. + + clutter/clutter-model.c | 106 ++++++++++++++++++++++++++++++++++++++++++++++-- + clutter/clutter-model.h | 96 ++++++++++++++++++++++++------------------- + 2 files changed, 158 insertions(+), 44 deletions(-) + +commit e1e6f7be481f1abeb06ec1fca18cfd8e1c9730e5 +Author: Emmanuele Bassi +Date: Sun Jun 28 10:21:22 2015 +0100 + + Deprecate ClutterListModel + + The model API was an ad hoc addition to Clutter, back in the 0.6 days, + that was needed because GLib did not offer anything of sort, and the + only model-like storage was inside GTK+. The API design was heavily + based on GtkTreeModel and friends, with column-based collections of + generic data. + + Since then, the model API inside Clutter has not really been integrated + in the core API; on the other hand, GIO has grown a model API, and it's + seeing more use in the platform. + + This means that the ClutterModel API should finally be deprecated, and + we should move code to the GListModel API inside GIO. + + clutter/clutter-list-model.c | 11 ++++++++++- + clutter/clutter-list-model.h | 10 +++++++--- + 2 files changed, 17 insertions(+), 4 deletions(-) + +commit d09c204a266385626c40d851b6fbadf7a134aaa0 +Author: Emmanuele Bassi +Date: Tue Jun 30 14:47:08 2015 +0100 + + build: Automatically detect Wayland support + + Like we do for X11, GDK, MacOS, and Windows, the Wayland backend can be + autodetected. We should only fail if the Wayland support was explicitly + asked at configure time, but the dependencies were not satisfied. + + configure.ac | 29 ++++++++++++++++++++--------- + 1 file changed, 20 insertions(+), 9 deletions(-) + +commit 661078a4f2c7600837fb069b0e83c1b42383eba6 +Author: Peter Hutterer +Date: Thu Jun 25 09:23:13 2015 +1000 + + x11: don't create the libinput tapping property + + If it doesn't exist, we don't have a touchpad. Don't create the property + and potentially confuse other pieces of the stack that do the same check. + + clutter/x11/clutter-device-manager-xi2.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 7668dd1c99d6396aac34b9866d8bcece8190a585 +Author: Pedro Albuquerque +Date: Wed Jul 1 21:58:13 2015 +0000 + + Updated Portuguese translation + + po/pt.po | 1569 +++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 792 insertions(+), 777 deletions(-) + +commit 7c2ac712f73b26508fa5948dc266259b26fad0fa +Author: Kalev Lember +Date: Sat Jun 20 18:55:01 2015 +0200 + + docs: Fix a typo in ClutterImage example + + clutter/clutter-image.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 852ba2c08968b530a235d179e154c3e9375c8a0d +Author: Emmanuele Bassi +Date: Thu Jun 18 16:39:17 2015 +0100 + + Post-release version bump to 1.23.3 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f244d9383aa60ea3033585c167aa48e08c421c27 +Author: Emmanuele Bassi +Date: Thu Jun 18 16:30:16 2015 +0100 + + Release Clutter 1.23.2 + + NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 44 insertions(+), 1 deletion(-) + +commit b5fd0fe7fe8ac0e63f62788256f968ced51a7aaa +Author: Emmanuele Bassi +Date: Thu Jun 18 16:29:26 2015 +0100 + + tests/interactive: Fix compiler warning + + Missing type for the closure argument. + + tests/interactive/test-pixmap.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 0c75e178145c3296f05deefed34be3691b1ffb3b +Author: Gustavo Noronha Silva +Date: Wed Sep 11 12:33:57 2013 -0300 + + Add PanAxis mode that automatically pins scroll based on initial movement + + This code is inspired by the implementation of the same feature for the + Mx toolkit's MxKineticScrollView. See commit 4d08771. + + https://bugzilla.gnome.org/show_bug.cgi?id=707982 + + clutter/clutter-enums.h | 6 +- + clutter/clutter-pan-action.c | 120 +++++++++++++++++++++++++++++++------ + clutter/clutter-pan-action.h | 5 ++ + doc/reference/clutter-sections.txt | 1 + + examples/pan-action.c | 58 ++++++++++++++++-- + 5 files changed, 167 insertions(+), 23 deletions(-) + +commit 2105055a347c8a35d091cabe118983f621f26965 +Author: Carlos Garnacho +Date: Sat Jun 6 20:11:33 2015 +0200 + + gdk: Enable GDK_TOUCH_MASK on the stage window + + This allows touch events to be received and translated. + + https://bugzilla.gnome.org/show_bug.cgi?id=750496 + + clutter/gdk/clutter-stage-gdk.h | 1 + + 1 file changed, 1 insertion(+) + +commit 7ed3714a94dbac1022b3e123e9243b501b01c6cd +Author: Carlos Garnacho +Date: Sat Jun 6 20:10:13 2015 +0200 + + gdk: Ignore synthesized leave events out of touch events + + Certain crossing modes notify about synthesized events, where + the pointer didn't really leave the window. Unsetting the stage + from the device at that time is incorrect, and will leave all + remaining touches unable to pick coordinates, so silently eaten + away. + + https://bugzilla.gnome.org/show_bug.cgi?id=750496 + + clutter/gdk/clutter-event-gdk.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 2d5b5aa82aacab7cc523e5877afbb864592b7651 +Author: Emmanuele Bassi +Date: Wed Jun 10 12:02:13 2015 +0100 + + gdk: Add function to retrieve the GdkVisual + + Straight from Cogl. + + This allows us to propagate the GdkVisual Cogl and Clutter use to + embedding toolkits, like GTK+. + + The function is annotated as being added to the 1.22 development + cycle because it will be backported to the stable branch, so that + downstream developers can package up a version of Clutter that does + not crash on nVidia. + + https://bugzilla.gnome.org/show_bug.cgi?id=747489 + + clutter/gdk/clutter-backend-gdk.c | 48 ++++++++++++++++++++++++++++++++++++++ + clutter/gdk/clutter-gdk.h | 3 +++ + doc/reference/clutter-sections.txt | 1 + + 3 files changed, 52 insertions(+) + +commit c91621e8c28bb190eaa9d59e08b180589a255cf3 +Author: Emmanuele Bassi +Date: Wed Jun 10 11:55:50 2015 +0100 + + gdk: Use the Cogl visual on Xlib winsys + + GDK 3.16 started selecting different visuals, to best comply with the + requirements for OpenGL, and this has broken Clutter on GLX drivers that + are fairly picky in how they select visuals and GLXFBConfig. + + GDK selects GLXFBConfig that do not include depth or stencil buffers; + Cogl, on the other hand, needs both depth and stencil buffers, and keeps + selecting the first available visual, assuming that the GLX driver will + give us the best compliant one, as per specification. Sadly, some + drivers will return incompatible configurations, and then bomb out when + you try to embed Clutter inside GTK+, because of mismatched visuals. + + Cogl has an old, deprecated, Clutter-only API that allows us to retrieve + the XVisualInfo mapping to the GLXFBConfig it uses; this means we should + look up the GdkVisual for it when creating our own GdkWindows, instead + of relying on the RGBA and system GdkVisuals exposed by GDK — at least + on X11. + + https://bugzilla.gnome.org/show_bug.cgi?id=747489 + + clutter/gdk/clutter-stage-gdk.c | 50 ++++++++++++++++++++++++++++++----------- + 1 file changed, 37 insertions(+), 13 deletions(-) + +commit dd9e43e98ddf321cd05b735022c8ef53a241a633 +Author: Emmanuele Bassi +Date: Wed Jun 10 14:01:32 2015 +0100 + + build: No need to conditionally include -Wshadow + + Cogl is not in tree any more, and compiler warnings are properly + addressed. + + configure.ac | 9 +-------- + 1 file changed, 1 insertion(+), 8 deletions(-) + +commit 0eb300e2eeeedd4cc701ac58af5484155601fc9c +Author: Emmanuele Bassi +Date: Wed Jun 10 14:00:05 2015 +0100 + + build: Use the same pattern for the manual Mir check + + Ensure that the checks are similar and create similar results. + + configure.ac | 25 +++++++++++++------------ + 1 file changed, 13 insertions(+), 12 deletions(-) + +commit 2fd47ce08e1017143f150ea26074bc138084683c +Author: Emmanuele Bassi +Date: Wed Jun 10 13:59:18 2015 +0100 + + build: Manually check for Wayland support in Cogl + + The Cogl pkg-config file does not specify the supported backends, which + means we need to manually check for the platform, like we do for Mir. + + configure.ac | 24 ++++++++++++++++++++++++ + 1 file changed, 24 insertions(+) + +commit e5941ee810aa180e0993d75bd6984b146450309a +Author: Emmanuele Bassi +Date: Wed Jun 10 12:32:26 2015 +0100 + + build: Remove unused internal defines + + We don't use them any more in the code base. + + I swear I keep deleting them, and they keep popping back up. + + configure.ac | 12 ------------ + 1 file changed, 12 deletions(-) + +commit c4fa3514adac288b52eaa2582acc722e5fa86e4a +Author: Emmanuele Bassi +Date: Wed Jun 10 12:31:51 2015 +0100 + + Use the public symbol for Wayland compositor support + + Instead of using a private one. This way, if things go out of sync, + we'll notice immediately. + + clutter/clutter-backend.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit a1c4acf227c0f70d429e2cf49f4fe8351b3e87f8 +Author: Emmanuele Bassi +Date: Wed Jun 10 12:28:59 2015 +0100 + + Add missing include + + Some X11-related system header is leaking stdlib.h, so when we disable + the X11 backend we get a compiler warning for atol(). + + clutter/clutter-settings.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 896e43cbd5dda3babb829ee59fe5c209e7dfc35e +Author: Emmanuele Bassi +Date: Wed Apr 22 14:15:42 2015 +0100 + + gdk/device: Propagate more device details from GDK + + In order to do device matching we need to propagate more information, + like the device_id (only on X11 with the XInput2 extension enabled), + the vendor id, and the product id. + + https://bugzilla.gnome.org/show_bug.cgi?id=747951 + + clutter/gdk/clutter-input-device-gdk.c | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +commit 71743ef660bc298da94c9a5963c40c3550ddc6b0 +Author: Dima Ryazanov +Date: Fri May 29 10:13:03 2015 +0100 + + Fix a compile error when the X11 backend is disabled + + When defining clutter_stage_gdk_update_foreign_event_mask, check for the + same macros as when actually using it. + + Signed-off-by: Dima Ryazanov + Reviewed-by: Emmanuele Bassi + + clutter/gdk/clutter-stage-gdk.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fbe2c74e1999b5eda7e5635a5ca527e0504f9d8b +Author: Carlos Garnacho +Date: Fri May 22 18:40:34 2015 +0200 + + swipe-action: Fix typo + + X coords are meant to compare with distance_x. + + clutter/clutter-swipe-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a4962c033674ce358e6ae2adc16c97a00cca9971 +Author: Carlos Garnacho +Date: Fri May 22 13:19:29 2015 +0200 + + swipe-action: Prepare for multifinger swipes + + Its ::gesture-end implementation used to check the press/release + coordinates for the first touchpoint. On multifinger swipes, we + can receive this vfunc called due to other touch sequence going + first, so we'd get 0/0 as the release coordinates for this still + active sequence, resulting in bogus directions. + + Instead, check the last event coordinates, that will be always + correct regardless of whether the touchpoint 0 finished yet or + not. + + https://bugzilla.gnome.org/show_bug.cgi?id=749739 + + clutter/clutter-swipe-action.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 67bf902022bfc042b55db87016d3a1b7cfba977a +Author: Emmanuele Bassi +Date: Tue May 19 13:19:48 2015 +0100 + + Move API reference down one level + + Since we only have one API reference, we can drop the clutter/ + sub-level, and have all the files under doc/reference. + + .gitignore | 30 ++-- + configure.ac | 3 +- + doc/reference/Makefile.am | 170 ++++++++++++++++++++- + doc/reference/{clutter => }/actor-box.png | Bin + doc/reference/{clutter => }/actor-example.png | Bin + .../{clutter => }/animator-key-frames.png | Bin + .../{clutter => }/animator-key-frames.svg | 0 + doc/reference/{clutter => }/bin-layout.png | Bin + doc/reference/{clutter => }/box-layout.png | Bin + doc/reference/{clutter => }/building-clutter.xml | 0 + doc/reference/{clutter => }/clutter-docs.xml.in | 0 + doc/reference/{clutter => }/clutter-overview.xml | 0 + doc/reference/{clutter => }/clutter-sections.txt | 0 + doc/reference/{clutter => }/clutter.types | 0 + doc/reference/clutter/Makefile.am | 169 -------------------- + .../{clutter => }/constraints-example.png | Bin + doc/reference/{clutter => }/easing-modes.png | Bin + doc/reference/{clutter => }/easing-modes.svg | 0 + doc/reference/{clutter => }/event-flow.dia | Bin + doc/reference/{clutter => }/event-flow.png | Bin + doc/reference/{clutter => }/flow-layout.png | Bin + doc/reference/{clutter => }/glossary.xml | 0 + .../{clutter => }/migrating-ClutterAnimation.xml | 0 + .../{clutter => }/migrating-ClutterBehaviour.xml | 0 + .../{clutter => }/migrating-ClutterEffect.xml | 0 + .../{clutter => }/migrating-ClutterPath.xml | 0 + doc/reference/{clutter => }/offscreen-redirect.png | Bin + doc/reference/{clutter => }/path-alpha-func.png | Bin + doc/reference/{clutter => }/running-clutter.xml | 0 + doc/reference/{clutter => }/table-layout.png | Bin + 30 files changed, 185 insertions(+), 187 deletions(-) + +commit c7bbe2a9f6ca0b86eb53f2824a7e1c9bc519d590 +Author: Emmanuele Bassi +Date: Tue May 19 13:14:05 2015 +0100 + + Remove the separate Cally API reference + + .gitignore | 13 --- + configure.ac | 2 - + doc/reference/cally/Makefile.am | 49 --------- + doc/reference/cally/cally-docs.xml.in | 145 --------------------------- + doc/reference/cally/cally-overview.xml | 74 -------------- + doc/reference/cally/cally-sections.txt | 176 --------------------------------- + doc/reference/cally/cally.types | 9 -- + 7 files changed, 468 deletions(-) + +commit 6088437786b76bb3f3dc400ce6d57bedf33b1def +Author: Emmanuele Bassi +Date: Tue May 19 12:58:08 2015 +0100 + + docs: Merge Clutter and Cally API reference + + It's pretty much pointless to have two API references: + + • the Cally API reference is fairly small + • the build system is already complicated as it is + • GTK-Doc isn't smart enough to ignore sub-directories + • Cally is not a separate library, just a separate namespace + + There are some issues with GTK-Doc not accepting multiple namespaces, + but nothing seriously tragic. + + doc/reference/Makefile.am | 4 +- + doc/reference/clutter/Makefile.am | 68 +++-------- + doc/reference/clutter/clutter-docs.xml.in | 34 ++++++ + doc/reference/clutter/clutter-sections.txt | 177 +++++++++++++++++++++++++++++ + doc/reference/clutter/clutter.types | 50 +++++++- + 5 files changed, 272 insertions(+), 61 deletions(-) + +commit c71dfa216290f92ec5f82564d75df0a5fbafab6a +Author: Emmanuele Bassi +Date: Tue May 19 12:36:28 2015 +0100 + + docs: Remove stray XML element + + We moved to Markdown a while ago, but a stray was left in. + + clutter/deprecated/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 27ea26cbafe7b414d4730718f9020609fe4ceec8 +Author: Emmanuele Bassi +Date: Tue May 19 11:53:10 2015 +0100 + + build: Clean up Cally's API reference Makefile + + doc/reference/cally/Makefile.am | 81 +++++++++-------------------------------- + 1 file changed, 18 insertions(+), 63 deletions(-) + +commit 68df19790e4179c598d11d1b6143ecb625643734 +Author: Emmanuele Bassi +Date: Tue May 19 11:52:54 2015 +0100 + + docs: Add missing version symbols + + doc/reference/clutter/clutter-sections.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +commit c99ce18efb8c21e6af3b2b2625abacc586ab2a65 +Author: Emmanuele Bassi +Date: Fri May 15 12:36:04 2015 +0100 + + actor: Guard against negative-sized allocations + + The allocate_align_fill() method may end up trying to allocate an actor + with a negative size, due to rounding and floating point operations. + + https://bugzilla.gnome.org/show_bug.cgi?id=749420 + + clutter/clutter-actor.c | 15 +++++++++------ + 1 file changed, 9 insertions(+), 6 deletions(-) + +commit e72a1a44e6e339c55acecba67e2f99412982b832 +Author: Emmanuele Bassi +Date: Fri May 15 12:34:53 2015 +0100 + + actor: Ensure allocation adjustment is safe against zero sizes + + We already copy with negative end results, but there's no point in doing + the work in the first place. + + clutter/clutter-actor.c | 30 ++++++++++++++++++++++++++---- + 1 file changed, 26 insertions(+), 4 deletions(-) + +commit 5dfd4445e23b662c40e97a9058bcca9899631ff8 +Author: Marek Černocký +Date: Mon May 18 13:56:25 2015 +0200 + + Updated Czech translation + + po/cs.po | 154 +++++++++++++++++++++++++++++---------------------------------- + 1 file changed, 71 insertions(+), 83 deletions(-) + +commit 9268bb914462fc6a6a760daae61a645f405cb8b1 +Author: Rui Matos +Date: Sun May 17 00:50:56 2015 +0200 + + x11: Fix touchpad detection + + Commit 79849ef1d5fff9acd310cd68d59df0c7cf2cb28f had a typo in the + device property format check. This property is formated in 8-bit + items, not 32-bit. + + This went unnoticed till now because some touchpads were still being + detected as such due to a second check below: + + else if (strstr (name, "touchpad") != NULL) + source = CLUTTER_TOUCHPAD_DEVICE; + + https://bugzilla.gnome.org/show_bug.cgi?id=749482 + + clutter/x11/clutter-device-manager-xi2.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9f329aed1d7c5b00be4d7e66285aeec328eb33ab +Author: Emmanuele Bassi +Date: Tue May 12 13:03:39 2015 +0100 + + docs: Fix 1.24 symbols reference title + + doc/reference/clutter/clutter-docs.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 38f3d7770e94dbf7c99b77729e94fbc029f9289c +Author: Emmanuele Bassi +Date: Tue May 12 11:51:04 2015 +0100 + + build: Fix the URLs in the release email template + + Use https:// URI consistently, and point at the right location for the + cookbook. + + build/autotools/Makefile.am.release | 18 +++++++++++------- + 1 file changed, 11 insertions(+), 7 deletions(-) + +commit 8aea8bc463f446cb0f39ef3be12019a377daffc4 +Author: Matthieu Bouron +Date: Tue May 12 11:16:35 2015 +0200 + + clutter-backend-gdk: Only set setting on successful gdk_screen_get_setting call + + It could happen that gdk_screen_get_setting fails to retreive + Gdk/WindowScalingFactor which leads to the following warnings when + clutter_init is called: + + GLib-GObject-WARNING **: value "0" of type 'gint' is invalid or out of range for property 'window-scaling-factor' of type 'gint' + GLib-GObject-WARNING **: value "0" of type 'gint' is invalid or out of range for property 'dnd-drag-threshold' of type 'gint' + + https://bugzilla.gnome.org/show_bug.cgi?id=749256 + + Slightly edited to fix up whitespace issues. + + Edited-by: Emmanuele Bassi + + clutter/gdk/clutter-backend-gdk.c | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +commit f07b44e70c0e980293255919e030d4f57ab5c43a +Author: Emmanuele Bassi +Date: Sun May 10 16:35:31 2015 +0100 + + docs: Add 1.24 symbols index + + doc/reference/clutter/clutter-docs.xml.in | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 8fc8a73580ceb810ee7f34eae0df26fac4cb277d +Author: Emmanuele Bassi +Date: Thu May 7 13:26:37 2015 +0100 + + gdk: Use RGBA visual if there is one + + The condition check for the has_rgba_visual flag is reversed, and thus + we relied on drivers returning an ARGB visual first by default. + + Referenced by: https://bugzilla.redhat.com/show_bug.cgi?id=1206960 + + clutter/gdk/clutter-backend-gdk.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 9584b239589ba4b7b9b41e0966397088e50eca59 +Author: Emmanuele Bassi +Date: Fri May 1 16:51:12 2015 +0100 + + docs: Fix typo in ClutterStage::deactivate + + clutter/clutter-stage.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e15f520a9e8a44ce45c5742caadca0698736cf0e +Author: Emmanuele Bassi +Date: Thu Apr 30 13:04:32 2015 +0100 + + examples: Add transparency to the rounded rectangle + + Makes it a bit more fancy. + + examples/rounded-rectangle.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 54a2a20e3846704b54d02969facdde268c9024d5 +Author: Emmanuele Bassi +Date: Thu Apr 30 12:42:44 2015 +0100 + + actor: Remove trailing new line + + The debug messages have a new line by default. + + clutter/clutter-actor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8b8aa0b4927bc865b08b77b4e28237da0ff8597c +Author: Emmanuele Bassi +Date: Thu Apr 30 12:40:39 2015 +0100 + + actor: Use the real opacity when clearing the stage + + The paint opacity for a top level is always overridden to be the full + value, since it's a composited value and we want to paint our scene. + + When clearing the stage framebuffer, though, we want to use the actual + opacity, if ClutterStage:use-alpha is set. + + clutter/clutter-actor.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit 21ce9bc08b72f0904c6b682341481798d05f7d8c +Author: Jasper St. Pierre +Date: Tue Apr 28 16:05:55 2015 -0700 + + clutter-stage-cogl: Match EGL's behavior of eglSwapBuffersWithDamage + + -1 is explicitly an invalid value to pass to eglSwapBuffersWithDamage, + and the specification admits as much: + + If + eglSwapBuffersWithDamageEXT is called and , is less + than zero or is greater than zero but is + NULL, EGL_BAD_PARAMETER is generated. + + Fix up our usage of SwapBuffersWithDamage to match the behavior in the + EGL specification. + + https://bugzilla.gnome.org/show_bug.cgi?id=745512 + + clutter/cogl/clutter-stage-cogl.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +commit 10a9657db021a9ca3fb681238146a54361b33737 +Author: Emmanuele Bassi +Date: Thu Apr 23 21:33:30 2015 +0100 + + build: Skip gitignore files when not building from git + + There's really no point in going through the motions there. + + build/autotools/Makefile.am.gitignore | 15 ++++++++------- + 1 file changed, 8 insertions(+), 7 deletions(-) + +commit a67997ef3998d099453f637d012315bf1126d67a +Author: Emmanuele Bassi +Date: Thu Apr 23 21:23:50 2015 +0100 + + build: Create .gitignore files in the current directory + + We cannot touch srcdir when distchecking. + + build/autotools/Makefile.am.gitignore | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit f8687f9430a5270818c945d4145abbd7f7693f3e +Author: Emmanuele Bassi +Date: Thu Apr 23 20:18:25 2015 +0100 + + tests: Remove calls to clutter_x11_enable_xinput() + + The function is deprecated and useless: support for XInput is always + enabled, if the extension is available. + + tests/interactive/test-devices.c | 5 ----- + tests/interactive/test-events.c | 4 ---- + tests/interactive/test-rotate-zoom.c | 4 ---- + tests/interactive/test-touch-events.c | 4 ---- + 4 files changed, 17 deletions(-) + +commit fc9388772877789ca0217072f56c692a8530e9be +Author: Emmanuele Bassi +Date: Thu Apr 23 20:12:25 2015 +0100 + + docs: Add new actor state methods + + doc/reference/clutter/clutter-sections.txt | 3 +++ + 1 file changed, 3 insertions(+) + +commit dac33c5feaa7e5e04490c81b3431a3deb8dede46 +Author: Emmanuele Bassi +Date: Thu Apr 23 17:39:30 2015 +0100 + + Stop using macros for accessing actor state + + Use the newly added functions instead. + + clutter/clutter-bin-layout.c | 6 +++--- + clutter/clutter-box-layout.c | 16 ++++++++-------- + clutter/clutter-clone.c | 2 +- + clutter/clutter-drop-action.c | 2 +- + clutter/clutter-flow-layout.c | 6 +++--- + clutter/clutter-grid-layout.c | 10 +++++----- + clutter/deprecated/clutter-table-layout.c | 10 +++++----- + examples/layout-manager.c | 8 ++++---- + 8 files changed, 30 insertions(+), 30 deletions(-) + +commit 4c6a550d130e2e3c2a0d4bd5198f8e79ee8ddab7 +Author: Emmanuele Bassi +Date: Tue Apr 14 12:46:49 2015 +0100 + + Soft-deprecation of actor state macros + + These are just terrible API that we've been stringing along since the + 0.x days. We cannot truly deprecate them, because they are, in some + cases, the only actual API to perform some operation, and porting all + the code in the world is not going to make us any friends. + + For the time being, we use a deprecation notice in the documentation. + + clutter/clutter-actor.c | 12 ++++++++++++ + clutter/clutter-actor.h | 8 ++++++++ + 2 files changed, 20 insertions(+) + +commit 849607316a36d733a7f0cba3b076c85f9b7d6249 +Author: Emmanuele Bassi +Date: Tue Apr 14 12:37:42 2015 +0100 + + actor: Add functions mapping to state query macros + + The macros are useless for language bindings, and are terribly unsafe + from C as well. There's always the option of using the GObject + properties they refer to, but it's more efficient to just have a simple + getter function. + + clutter/clutter-actor.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 7 ++++++ + 2 files changed, 67 insertions(+) + +commit 4006b8524d8aba496a3849822aed2254a0e25b89 +Author: Emmanuele Bassi +Date: Tue Apr 14 12:29:58 2015 +0100 + + Add version macros for 1.24 + + clutter/clutter-macros.h | 14 ++++++++++++++ + clutter/clutter-version.h.in | 10 ++++++++++ + 2 files changed, 24 insertions(+) + +commit 877e58a6b4ecc6e634891d31c877fb2baf447a18 +Author: Emmanuele Bassi +Date: Thu Apr 9 12:35:23 2015 +0100 + + x11: Plug a leak on error path + + If XIGetProperty() does not return what we expect, but still returned + something, we need to free it. + + clutter/x11/clutter-device-manager-xi2.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 83cd36e95f57fd17eb705b963dcc1ca489bb0cc0 +Author: Emmanuele Bassi +Date: Thu Apr 9 11:03:16 2015 +0100 + + x11: Improve touchpad detection heuristics + + We should use the same heuristics used by GDK in order to detect whether + a device is a touchpad or not. + + Based on the similar code from Carlos Garnacho for GDK: + https://git.gnome.org/browse/gtk+/commit/?id=6f07d5e7 + + https://bugzilla.gnome.org/show_bug.cgi?id=747436 + + clutter/x11/clutter-device-manager-xi2.c | 34 +++++++++++++++++++++++++++++++- + 1 file changed, 33 insertions(+), 1 deletion(-) + +commit bb52fa81ce30be69369e043357d6fb569b7ee5e5 +Author: Emmanuele Bassi +Date: Mon Mar 23 13:30:50 2015 +0000 + + Post-branch version bump to 1.23.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit d362e373bbac6a277aff79f4304721eccde13060 +Author: Emmanuele Bassi +Date: Mon Mar 23 13:24:05 2015 +0000 + + actor: Fix a compiler warning + + clutter/clutter-actor.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 505801cd095d2535dfbebf819d0ac9ec94522b2a +Author: Emmanuele Bassi +Date: Mon Mar 23 13:22:18 2015 +0000 + + gdk: Fix stage removal from the master clock + + Prevents a double-free in the conformance test suite. + + clutter/gdk/clutter-master-clock-gdk.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit 83edd9c4c5a872b9092d9394ecef66749e8a6f6f +Author: Emmanuele Bassi +Date: Mon Mar 23 11:27:58 2015 +0000 + + Post-release version bump to 1.22.1 + + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.pre-1.4 b/ChangeLog.pre-1.4 new file mode 100644 index 0000000..8cc7568 --- /dev/null +++ b/ChangeLog.pre-1.4 @@ -0,0 +1,18066 @@ +commit 1f3f718a50b8138194057b3827459e402006b0f6 +Author: Emmanuele Bassi +Date: Fri Sep 24 15:07:17 2010 +0100 + + Release 1.4.0 (stable) + + NEWS | 33 +++++++++++++++++++++++++++++++++ + configure.ac | 4 ++-- + 2 files changed, 35 insertions(+), 2 deletions(-) + +commit 34407c14b00d35392e70b27e4b579f24f28e023a +Author: Elliot Smith +Date: Fri Sep 24 14:48:53 2010 +0100 + + cookbook: Reduce complexity of sample ClutterAnimator code for recipe + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2341 + + Signed-off-by: Emmanuele Bassi + + doc/cookbook/examples/animations-moving-animator.c | 24 ++-------------------- + 1 file changed, 2 insertions(+), 22 deletions(-) + +commit 4640dad6afdce4469b64cef3fea9a426afcb0ce8 +Author: Øyvind Kolås +Date: Fri Sep 24 13:28:08 2010 +0100 + + animator: fix removal of all keys + + When removing all keys in a ClutterAnimator, the hash table with + object/property name pairs went out of sync. This change makes + the animator always clear this hash table upon key-removal; and + refreshing it if the animator's timeline is running. + + Fixes bug #2335 + + clutter/clutter-animator.c | 23 +++++++---------------- + 1 file changed, 7 insertions(+), 16 deletions(-) + +commit f834b8b138f1f405a7afa7e56560e4014f8bb990 +Author: Robert Bragg +Date: Thu Sep 23 22:18:42 2010 +0100 + + material: Don't prune ancestry if it owns some layers + + Each time a material property changes we look to see if any of its + ancestry has become redundant and if so we prune that redundant + ancestry. + + There was a problem with the logic that handles this though because we + weren't considering that a material which is a layer state authority may + still defer to ancestors to define the state of individual layers. + + For example a material that derives from a parent with 5 layers can + become a STATE_LAYERS authority by simply changing it's ->n_layers count + to 4 and in that case it can still defer to its ancestors to define the + state of those 4 layers. + + This patch checks first if a material is a layer state authority and if + so only tries to prune its ancestry if it also *owns* all the individual + layers it depends on. (I.e. if g_list_length + (material->layer_differences) != material->n_layers then it's not safe + to try pruning its ancestry!) + + http://bugzilla-attachments.gnome.org/attachment.cgi?id=170907 + + clutter/cogl/cogl/cogl-material.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit ffd5c32209bc6784c554134dd8c61536191c1e29 +Author: Jammy Zhou +Date: Tue Sep 21 11:37:52 2010 +0800 + + cogl-framebuffer.c: GL_DEPTH_STENCIL not supported in gles + + There is GL_INVALID_ENUM error for GL_DEPTH_STENCIL when call + glRenderbufferStorage() with OpenGL ES backend. So enable this + only for OpenGL backend. + + Signed-off-by: Robert Bragg + + clutter/cogl/cogl/cogl-framebuffer.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4533edeef03b452aa79671fd6f80e659b2f09fa9 +Author: Emmanuele Bassi +Date: Thu Sep 23 17:03:17 2010 +0100 + + cookbook: Further clarification of the anchor point + + Make sure to add a note on the behaviour of the anchor point. Ideally, + it would be nice to have a recipe about it in the Actor section. + + doc/cookbook/animations.xml | 17 ++++++++++++++++- + 1 file changed, 16 insertions(+), 1 deletion(-) + +commit ce0bd4e26cd1cff6a9f446b1c54a440751d15fe7 +Author: Elliot Smith +Date: Thu Sep 23 16:18:29 2010 +0100 + + cookbook: Recipe for "moving actors" + + This recipe explains how to use the three animation + approaches (implicit, State, Animator) to animate movement + of actors. + + Includes some guidelines about which approach to use when, with + a full code example for each approach. + + The discussion section covers some subtleties around animated + movement; namely: moving actors out of their containers; anchor + points and movement; moving in the depth axis; interactions + between animated movement and constraints. + + doc/cookbook/Makefile.am | 2 + + doc/cookbook/animations.xml | 474 ++++++++++++++++++++++ + doc/cookbook/videos/animations-moving-anchors.ogv | Bin 0 -> 18806 bytes + doc/cookbook/videos/animations-moving-depth.ogv | Bin 0 -> 23536 bytes + 4 files changed, 476 insertions(+) + +commit b8d36a364f6db8cb75eaacf27e7e6c109f4f336e +Author: Elliot Smith +Date: Thu Sep 23 11:19:00 2010 +0100 + + cookbook: Fixed markup in animations section + + Fixed indentation on some mark-up in an unrelated recipe. + + doc/cookbook/animations.xml | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit 6307876552c95389c7c41acfa5483dd669d620eb +Author: Elliot Smith +Date: Wed Sep 22 16:58:08 2010 +0100 + + cookbook: Example of animated movement with ClutterAnimator + + Added an example showing how to randomly animate the + simultaneous movement on the x axis of three actors, + using ClutterAnimator. + + doc/cookbook/examples/Makefile.am | 2 + + doc/cookbook/examples/animations-moving-animator.c | 145 +++++++++++++++++++++ + 2 files changed, 147 insertions(+) + +commit f1b2f1e8c55816753362cd038da18e0e572d9978 +Author: Elliot Smith +Date: Tue Sep 21 17:45:03 2010 +0100 + + cookbook: Example of animated movement with ClutterState + + Added an example showing how to move two actors between + two states (one minimised, one maximised) using ClutterState + to do the movement. Also shows how movement can be mixed + with other animation (in this case, scaling). + + doc/cookbook/examples/Makefile.am | 2 + + doc/cookbook/examples/animations-moving-state.c | 98 +++++++++++++++++++++++++ + 2 files changed, 100 insertions(+) + +commit 5bca30300e21338ff8118f41e9f9e449625bc96a +Author: Elliot Smith +Date: Tue Sep 21 17:44:00 2010 +0100 + + cookbook: Example of simple movement animation + + Added example showing how to move an actor in one of the + three axes (x,y,z) in response to a button event on the + actor. + + doc/cookbook/examples/Makefile.am | 2 + + doc/cookbook/examples/animations-moving-implicit.c | 93 ++++++++++++++++++++++ + 2 files changed, 95 insertions(+) + +commit 884ead03e1232b1f35c70098869cf9802f8ef836 +Author: Emmanuele Bassi +Date: Thu Sep 23 16:17:24 2010 +0100 + + Add some more argument validation + + This is all internal, so we shouldn't need it; unfortunately, it seems + we're passing invalid data internally, so for the time being catching + inconsistencies should at least emit a warning for us to backtrace. + + clutter/clutter-private.h | 5 +++-- + clutter/clutter-stage.c | 15 +++++++++++++-- + 2 files changed, 16 insertions(+), 4 deletions(-) + +commit f66e1de0e35f7e310db919926bbc06d8b03becbf +Author: Robert Bragg +Date: Thu Sep 23 16:03:06 2010 +0100 + + actor: don't pass NULL to _stage_set_pick_buffer_valid + + This adds a check in clutter_actor_real_queue_redraw after calling + _clutter_actor_get_stage_internal to check in case the actor doesn't yet + have an associated stage so we can avoid passing a NULL stage pointer to + _clutter_stage_set_pick_buffer_valid which could cause a crash. + + clutter/clutter-actor.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 37d0dbe6b2da3f7747780f638ac39c3f9c0e3818 +Author: Robert Bragg +Date: Thu Sep 23 15:45:27 2010 +0100 + + docs: Put deprecated Cogl symbols into new section + + This adds a "Cogl deprecated API" chapter to the Cogl reference manual + so we can group all the documentation for deprecated symbols together + instead of having them clutter up the documentation of symbols we would + rather developers used. + + doc/reference/cogl/cogl-docs.xml.in | 28 ++++++++++ + doc/reference/cogl/cogl-sections.txt | 99 +++++++++++++++++++++++++----------- + 2 files changed, 96 insertions(+), 31 deletions(-) + +commit 779c780500dd263b5bc0244d0e0b5693cdd3cd6c +Author: Robert Bragg +Date: Wed Aug 25 22:31:30 2010 +0100 + + docs: update the overview paragraph for Cogl + + Instead of describing OpenGL as "a low level OpenGL abstraction + library" it is now summarised as "modern 3D graphics API". + + doc/reference/cogl/cogl-docs.xml.in | 12 +++++++----- + 1 file changed, 7 insertions(+), 5 deletions(-) + +commit 2bc739ab445264b01700bada43755e6ab27d0aec +Author: Robert Bragg +Date: Wed Aug 25 20:36:20 2010 +0100 + + docs: cogl-texture-3d wasn't listed as experimental + + The CoglTexture3D API is only available when defining + COGL_ENABLE_EXPERIMENTAL_API so it should be listed in the experimental + section of the API reference. + + doc/reference/cogl/cogl-docs.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a89b8f430449ea02467aa6d11bd501841ef22756 +Author: Robert Bragg +Date: Wed Aug 25 20:33:27 2010 +0100 + + docs: Use "Cogl" not "COGL" in Cogl API reference + + Cogl isn't an acronym so we should use "Cogl" instead of "COGL" in + our documentation. + + doc/HACKING | 6 +++--- + doc/reference/clutter/running-clutter.xml | 6 +++--- + doc/reference/clutter/subclassing-ClutterActor.xml | 9 ++++----- + doc/reference/cogl/cogl-docs.xml.in | 14 +++++++------- + 4 files changed, 17 insertions(+), 18 deletions(-) + +commit 4c8867ea07cf5ed8d36c0f7a351f91b254d93693 +Author: Emmanuele Bassi +Date: Thu Sep 23 15:15:37 2010 +0100 + + table-layout: Invert row/column in arguments + + *** This is an API change *** + + The general pattern for axis-aligned arguments is: + + x argument + y argument + + If we consider columns an x-aligned argument, and row a y-aligned + argument, then we need to update the TableLayout functions to be: + + column + row + + and not: + + row + column + + clutter/clutter-table-layout.c | 100 +++++++++++++++++----------------- + clutter/clutter-table-layout.h | 8 +-- + tests/interactive/test-table-layout.c | 22 ++++---- + 3 files changed, 65 insertions(+), 65 deletions(-) + +commit 462d4c832a61731507bf1900d5ed7ec223c1fc57 +Author: Emmanuele Bassi +Date: Thu Sep 23 13:36:56 2010 +0100 + + docs: Mention Uncrustify in the coding style document + + doc/CODING_STYLE | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 5335689340c2748842999b40a43563f1f3be9fad +Author: Emmanuele Bassi +Date: Thu Sep 23 13:36:41 2010 +0100 + + Update the uncrustify configuration + + build/clutter-uncrustify.cfg | 18 +++++++++++++++--- + 1 file changed, 15 insertions(+), 3 deletions(-) + +commit 46357db3898eb28bb07faffb5ea8a0b8841fcaec +Author: Emmanuele Bassi +Date: Thu Sep 23 13:00:06 2010 +0100 + + Add uncrustify configuration file + + Patch submission should include a pass of uncrustify to conform to the + coding style. + + Uncrustify is not perfect - but at least it's a start. + + build/clutter-uncrustify.cfg | 117 +++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 117 insertions(+) + +commit 56929942a81a99105cd11dc4fa5afffcca26429e +Author: Robert Bragg +Date: Sat Sep 11 00:29:05 2010 +0100 + + picking: Fix tracking of pick buffer validity + + We have an optimization to track when there are multiple picks per + frame so we can do a full render of the pick buffer to reduce the + number of pick renders for a static scene. + + There was a problem though in that we were tracking this information in + the ClutterMainContext, but conceptually this doesn't really make sense + because the pick buffer is associated with a stage framebuffer and there + can be multiple stages for one context. + + This patch moves the state tracking to ClutterStage. + + clutter/clutter-actor.c | 17 +++++------------ + clutter/clutter-main.c | 16 ++++++---------- + clutter/clutter-private.h | 9 ++++++--- + clutter/clutter-stage.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ + 4 files changed, 63 insertions(+), 25 deletions(-) + +commit b2a56c9cda148bcca6e9695a488562fa45d66f9a +Author: Robert Bragg +Date: Thu Sep 23 11:35:42 2010 +0100 + + Revert "picking: Fix tracking of pick buffer validity" + + This reverts commit d7e86e26960f4cb2f5f0600357f5df89bd1c46c1. + + This was a half baked patch that was pushed a bit early since it broke + test-texture-pick-with-alpha + the commit message refers to a change on + the wip/paint-box branch that hasn't happened yet. + + clutter/clutter-actor.c | 12 ++++++++++++ + clutter/clutter-main.c | 16 ++++++++++------ + clutter/clutter-private.h | 10 +++------- + clutter/clutter-stage.c | 46 ---------------------------------------------- + 4 files changed, 25 insertions(+), 59 deletions(-) + +commit d7e86e26960f4cb2f5f0600357f5df89bd1c46c1 +Author: Robert Bragg +Date: Sat Sep 11 00:29:05 2010 +0100 + + picking: Fix tracking of pick buffer validity + + We have an optimization to track when there are multiple picks per + frames so we can do a full render of the pick buffer to reduce the + number of pick renders for a static scene. + + There were two problems with how we were tracking this state though. + Firstly we were tracking this information in the ClutterMainContext, but + conceptually this doesn't really make sense because the pick buffer is + associated with a stage framebuffer and there can be multiple stages for + one context. Secondly - since the change to how redraws are queued - we + weren't marking the pick buffer as invalid when a queuing a redraw, we + were only marking the buffer invalid when signaling/finishing the + queue-redraw process, which is now deferred until just before a paint. + This meant using clutter_stage_get_actor_at_pos after a scenegraph + change could give a wrong result if it just read from an existing (but + technically invalid) pick buffer. + + This patch moves the state tracking to ClutterStage, and ensures the + buffer is invalidated in _clutter_stage_queue_actor_redraw. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2283 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-actor.c | 12 ------------ + clutter/clutter-main.c | 16 ++++++---------- + clutter/clutter-private.h | 10 +++++++--- + clutter/clutter-stage.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ + 4 files changed, 59 insertions(+), 25 deletions(-) + +commit 60c9dc25df59956cc28c2b243a69c76c66b4135e +Author: Emmanuele Bassi +Date: Wed Sep 22 12:46:47 2010 +0100 + + box-layout: Small cleanups + + clutter/clutter-box-layout.c | 23 ++++++++++++----------- + 1 file changed, 12 insertions(+), 11 deletions(-) + +commit acc7d48e47b275c9320cc4b5817aec8eb0fe1e25 +Author: Emmanuele Bassi +Date: Wed Sep 22 10:07:42 2010 +0100 + + docs: Update the coding style + + Make sure to document: + + • nested if + • conditions + • interface definition + + doc/CODING_STYLE | 187 ++++++++++++++++++++++++++++++++++++++++++++++++------- + 1 file changed, 164 insertions(+), 23 deletions(-) + +commit bcd4385a0e1fe34f0be6cac906ff32ab42c43d3c +Author: Neil Roberts +Date: Tue Sep 21 13:17:53 2010 +0100 + + test-conform: Delay initializing Clutter until a test is run + + Instead of calling clutter_init immediately, test-conformance now only + calls it as part of test_conform_simple_fixture_setup. The conformance + tests assert that only one test is run per instance of + test-conformance so it should never end up calling clutter_init + twice. Delaying clutter_init has the advantage that calling + "test-conformance -l" will still work even on systems with no X + server. This could be useful for automated build systems. + + tests/conform/test-conform-common.c | 21 +++++++++++++++++++++ + tests/conform/test-conform-main.c | 15 --------------- + 2 files changed, 21 insertions(+), 15 deletions(-) + +commit ddf1e4c77bde95a71a325998ebc3b984116d0c19 +Author: Emmanuele Bassi +Date: Tue Sep 21 13:32:31 2010 +0100 + + effects: Make sure we're using GLSL 1.10 + + clutter/clutter-blur-effect.c | 22 +++++++++++----------- + clutter/clutter-colorize-effect.c | 1 + + clutter/clutter-desaturate-effect.c | 1 + + 3 files changed, 13 insertions(+), 11 deletions(-) + +commit 9f2b62a595805c3d8bae1c9e5692959296aa5d28 +Author: Emmanuele Bassi +Date: Tue Sep 21 13:17:51 2010 +0100 + + introspection: Build ClutterJson before Clutter + + Since the latter requires the former. + + clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 66ba609f3b704b0950e4bd2b94b0ec9c485dc0b5 +Author: Emmanuele Bassi +Date: Tue Sep 21 13:15:56 2010 +0100 + + Require the installed JSON-GLib + + Continue to provide the internal copy for 1.4, but require an explicit + override to use it. + + The internal copy will be removed for Clutter 1.6. + + README | 4 ++++ + configure.ac | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +commit 4037f76a3e7aba3acac710e0bc73ba31a9dfcfc2 +Author: Emmanuele Bassi +Date: Tue Sep 21 12:02:41 2010 +0100 + + build: Update the remote publish path for the cookbook + + doc/cookbook/Makefile.am | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 8f4d61e663770d6a24b75d77418a145eba7c104f +Author: Neil Roberts +Date: Mon Sep 20 12:04:51 2010 +0100 + + clutter-box-layout: Swap the default request mode + + The request mode set by the box layout was previously width-for-height + in a vertical layout and height-for-width in a horizontal layout which + seems to be wrong. For example, if width-for-height is used in a + vertical layout then the width request will come second with the + for_height parameter set. However a vertical layout doesn't pass the + for_height parameter on to its children so doing the requests in that + order doesn't help. If the layout contains a ClutterText then both the + width and height request for it will have -1 for the for_width and + for_height parameters so the text would end up allocated too small. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2328 + + clutter/clutter-box-layout.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 699e8bbed28687dd91aba6b0518d43f815cae456 +Merge: af42cdbe8 e92b18671 +Author: Emmanuele Bassi +Date: Mon Sep 20 14:33:26 2010 +0100 + + Merge branch 'cookbook-layouts-bind-constraint' + + * cookbook-layouts-bind-constraint: + cookbook: Add recipe about sync'ing actor sizes + cookbook: Example using allocation-changed to sync actor size + cookbook: Simple example to demonstrate bind constraint + cookbook: Example of using a bind constraint for an overlay + +commit af42cdbe875bf2c2db00ac7b380870545e2aaebf +Author: Emmanuele Bassi +Date: Mon Sep 20 14:31:53 2010 +0100 + + docs: Description fixes for State.set_animator() + + clutter/clutter-state.c | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +commit 695839c6f3527e3838bf104d26d3ff32b85aff3f +Author: Bastian Winkler +Date: Fri Sep 17 13:21:03 2010 +0200 + + state: Request the animator for the default state + + Try to use the default-state animator in case there is no animator for + this specific state change request. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2325 + + clutter/clutter-state.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 172fc6bfedeefcb337ccefbf38b427c5be2591cd +Author: Bastian Winkler +Date: Wed Sep 15 15:59:39 2010 +0200 + + state: Fix the usage of ClutterAnimator in ClutterScript + + Fix the transition parser to allow transitions that have only an + animator and no keys defined. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2325 + + clutter/clutter-state.c | 30 +++++++++++++++++------------- + 1 file changed, 17 insertions(+), 13 deletions(-) + +commit 2d41d5afcb6e69d45ac5ca9575aa96f943484abf +Author: Bastian Winkler +Date: Wed Sep 15 14:46:19 2010 +0200 + + state: Create a new target state in clutter_state_set_animator + + clutter_state_set_animator needs to create a new state in order to use a + ClutterAnimator with a target state that doesn't exist yet. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2325 + + clutter/clutter-state.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9399760030325f513e640a781b6139372a8cca5a +Author: Dominique Leuenberger +Date: Mon Sep 20 14:13:49 2010 +0100 + + build: Pass CLUTTER_CFLAGS to g-ir-scanner + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2327 + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit ce174654bf7d743ec2eb18b92c72ab64c9ed7a10 +Author: Emmanuele Bassi +Date: Mon Sep 20 13:15:44 2010 +0100 + + docs: API reference fixes + + clutter/clutter-timeout-pool.h | 4 +++ + clutter/cogl/cogl/cogl-path.h | 2 ++ + clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.h | 18 ++++++----- + doc/reference/cally/cally-sections.txt | 36 +++++++++++----------- + doc/reference/clutter/clutter-sections.txt | 4 +-- + 5 files changed, 36 insertions(+), 28 deletions(-) + +commit d9f762f525f91b6eb86ebc6539d4573abddb1875 +Author: Emmanuele Bassi +Date: Mon Sep 20 11:30:23 2010 +0100 + + build: Remove unnecessary newline + + autogen.sh | 1 - + 1 file changed, 1 deletion(-) + +commit e3e08c0eaf69db51cd901cd16e80bcb41903ef81 +Author: Frederik Hahne +Date: Mon Sep 20 11:23:31 2010 +0100 + + po: Update German translation + + po/de.po | 39 +++++++++++++-------------------------- + 1 file changed, 13 insertions(+), 26 deletions(-) + +commit 7fe0df393b905319a261258c68019c4edc29bcea +Author: Emmanuele Bassi +Date: Sat Sep 18 08:41:52 2010 +0100 + + texture: Add more validation on the material + + If set_cogl_texture() is called after unsetting the Texture's material + then we really want to make a copy of the template. + + Also, we should assert more often if the internal state goes horribly + wrong: at least, we'll have a backtrace. + + clutter/clutter-texture.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 66104f51123538a57b9aa077569a8e68d9438e9b +Author: Neil Roberts +Date: Fri Sep 17 17:10:39 2010 +0100 + + Fix the ordering of the arguments for clutter_table_layout_set_span + + The order of the row_span and column_span arguments was different in + the declaration from that in the definition. This was causing the + gtk-doc to also have the wrong order. + + clutter/clutter-table-layout.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 760fa8efd6817ec9c3a1ef5800eb9c64c0f1baf6 +Author: Neil Roberts +Date: Fri Sep 17 17:18:09 2010 +0100 + + cogl-object-private.h: Include cogl-debug.h + + If COGL_OBJECT_DEBUG is defined then cogl-object-private.h will call + COGL_NOTE in the ref and unref macros. For this to work the debug + header needs to also be included or COGL_NOTE won't necessarily be + defined. + + clutter/cogl/cogl/cogl-object-private.h | 1 + + 1 file changed, 1 insertion(+) + +commit e92b18671905f5690320883cc4854dd76dc17d15 +Author: Elliot Smith +Date: Thu Sep 16 15:55:21 2010 +0100 + + cookbook: Add recipe about sync'ing actor sizes + + The recipe covers how to use ClutterBindConstraint + to bind actor sizes together. + + It gives some examples of where this approach is appropriate, + as well as explaining an alternative using allocation-changed + or notify::* signals. + + Three examples are given: + + 1. Resizing a texture to the stage. + 2. Resizing a rectangle to act as a transparent overlay on + top of a texture (using constraints). + 3. Resizing a rectangle to act as a transparent overlay on + top of a texture, but with a size proportional to the texture + (using a handler connected to allocation-changed signals + emitted by the texture). + + doc/cookbook/Makefile.am | 1 + + .../images/layouts-bind-constraint-stage.png | Bin 0 -> 11084 bytes + doc/cookbook/layouts.xml | 220 +++++++++++++++++++++ + 3 files changed, 221 insertions(+) + +commit c3cbf1533fdb6174894f38d5956802ce46df4238 +Author: Elliot Smith +Date: Thu Sep 16 13:42:09 2010 +0100 + + cookbook: Example using allocation-changed to sync actor size + + An alternative method (not using constraints) to bind + one actor's size and position to another. Used as + an example in the recipe about resizing one actor in + sync with a source actor. + + doc/cookbook/examples/Makefile.am | 2 + + .../examples/layouts-bind-constraint-allocation.c | 70 ++++++++++++++++++++++ + 2 files changed, 72 insertions(+) + +commit 8a149521cef9f2693d0c32e3cc4bf85a62dee026 +Author: Elliot Smith +Date: Wed Sep 15 16:05:15 2010 +0100 + + cookbook: Simple example to demonstrate bind constraint + + A simple example showing how to scale an actor to the stage. + + Demonstrates ClutterBindConstraint and ClutterAlignConstraint + in a fashion suitable for a short recipe. + + doc/cookbook/examples/Makefile.am | 2 + + .../examples/layouts-bind-constraint-stage.c | 55 ++++++++++++++++++++++ + 2 files changed, 57 insertions(+) + +commit a0f63a3153c023f6a3299b95c0e7259d1eba013d +Author: Elliot Smith +Date: Wed Sep 15 15:50:32 2010 +0100 + + cookbook: Example of using a bind constraint for an overlay + + Example code which loads an image into a texture, and resizes + the image in response to +/- key presses. The overlay is + a transparent rectangle which is bound to the height and + width of the texture; on clicking the texture, the overlay + is made visible by increasing its opacity. + + This demonstrates how to use constraints to simplify code + for resizing an actor which is "dependent" on another actor. + + doc/cookbook/examples/Makefile.am | 2 + + .../examples/layouts-bind-constraint-overlay.c | 135 +++++++++++++++++++++ + 2 files changed, 137 insertions(+) + +commit 68da998c9bc81fa7f2f163032e19640aae9100e7 +Author: Emmanuele Bassi +Date: Fri Sep 17 14:54:31 2010 +0100 + + docs: Add sub-classing notes on ActorMeta and Constraint + + clutter/clutter-actor-meta.c | 8 ++++++-- + clutter/clutter-constraint.c | 26 ++++++++++++++++++++++++++ + 2 files changed, 32 insertions(+), 2 deletions(-) + +commit f7e8b471132b062d4bc0169cb9f2f5306451603f +Author: Emmanuele Bassi +Date: Fri Sep 17 12:43:23 2010 +0100 + + flow-layout: Blow the cached preferred size if needed + + If the FlowLayout layout manager wasn't allocated the same size it + requested then it should blow its caches and recompute the layout + with the given allocation size. + + clutter/clutter-flow-layout.c | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit cdff2a9e7a5c44f214978b6a3d6b0cce33b4e5f5 +Author: Emmanuele Bassi +Date: Fri Sep 17 12:13:29 2010 +0100 + + constraint: Re-implement using update_allocation() + + Instead of using the fixed position and size API, use the newly added + update_allocation() virtual function in ClutterConstraint to change the + allocation of a ClutterActor. This allows using constraints inside + layout managers, and also allows Constraints to react to changes in the + size of an actor without causing relayout cycles. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2319 + + clutter/clutter-align-constraint.c | 98 +++++++++++++++++++++------------- + clutter/clutter-bind-constraint.c | 105 +++++++++++++++++++++---------------- + clutter/clutter-bind-constraint.h | 2 - + 3 files changed, 124 insertions(+), 81 deletions(-) + +commit 5da0064de7b77cdb7147371631cf1b9c31f60509 +Author: Emmanuele Bassi +Date: Fri Sep 17 12:09:56 2010 +0100 + + constraint: Add ::update_allocation() + + The Constraint should plug directly into the allocation mechanism, and + modify the allocation of the actor to which they are applied to. This is + similar to the mechanism used by the Effect class to modify the paint + sequence of an actor. + + clutter/clutter-actor.c | 35 +++++++++++++++++++++++++---------- + clutter/clutter-constraint.c | 29 +++++++++++++++++++++++++++-- + clutter/clutter-constraint.h | 4 ++++ + clutter/clutter-private.h | 4 ++++ + 4 files changed, 60 insertions(+), 12 deletions(-) + +commit bdcac5617be1c6a774259379a668619ba387c2bc +Author: Emmanuele Bassi +Date: Fri Sep 17 12:08:52 2010 +0100 + + test-bind: Fix colors and set the name of the boxes + + tests/interactive/test-bind.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 8ca47e3b20f17545e6fcc89e0940d485158308ef +Author: Emmanuele Bassi +Date: Fri Sep 17 11:40:10 2010 +0100 + + build: Use the power of abs_builddir + + When calling test-conformance to get the list of conformance tests. + + tests/conform/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5529619254aac0f33dc5ee0646b920a63f7b46bb +Author: Emmanuele Bassi +Date: Fri Sep 17 11:39:20 2010 +0100 + + build: Enable COGL_OBJECT_DEBUG in the debug flags + + The CoglObject debugging code is enabled by a separate flag. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2318 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d1b4495f7f1694c8b1a671a489d82e124f45c822 +Author: Robert Bragg +Date: Thu Sep 16 12:58:42 2010 +0100 + + offscreen-effect: Update handling of transforms + + In line with the changes made in f5f066df9ce7 to clean up how Clutter + deals with transformations of actors this patch updates the code in + clutter-offscreen-effect.c. We now query the projection matrix from the + stage instead of the perspective and instead of duplicating the logic to + setup the stage view transform we now use + _clutter_actor_apply_modelview_transform for the stage instead. + + clutter/clutter-offscreen-effect.c | 64 ++++++++++++++------------------------ + 1 file changed, 23 insertions(+), 41 deletions(-) + +commit f0ab8edac0e3e5a5792f48588ab9d24774ff7e72 +Author: Neil Roberts +Date: Thu Sep 16 11:12:51 2010 +0100 + + clutter.modules: Specify the checkoutdir for the gtk2 module + + If no checkoutdir is specified then jhbuild seems to use the name of + the module which in this case would be 'gtk+'. This ends up + overwriting the checkout of the master branch of gtk+ and causes all + kinds of build problems. This patch adds a checkoutdir attribute to + the gtk2 module to force it to checkout into the gtk2 directory. + + build/clutter.modules | 1 + + 1 file changed, 1 insertion(+) + +commit 8a09e91ef84e483d9fd8dd93cd04d11da241925d +Author: Emmanuele Bassi +Date: Wed Sep 15 16:46:06 2010 +0100 + + Post-release version bump to 1.3.15 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b776f6b4fbe05b493d0b36619c95ece5443c443b +Author: Emmanuele Bassi +Date: Wed Sep 15 16:12:39 2010 +0100 + + Release Clutter 1.3.14 (developers snapshot) + + NEWS | 24 ++- + configure.ac | 2 +- + po/clutter-1.0.pot | 470 ++++++++++++++++++++++++------------------------- + po/de.po | 501 +++++++++++++++++++++++++++-------------------------- + po/it.po | 468 ++++++++++++++++++++++++------------------------- + po/pl.po | 468 ++++++++++++++++++++++++------------------------- + po/zh_CN.po | 468 ++++++++++++++++++++++++------------------------- + 7 files changed, 1218 insertions(+), 1183 deletions(-) + +commit 037a1b82cc19752d44121a530fac3516a6c25c71 +Author: Emmanuele Bassi +Date: Wed Sep 15 15:56:42 2010 +0100 + + build: Add cogl-debug-options.h + + clutter/cogl/cogl/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 7d2706e8ba09444572d9dcd122b466ff020849f9 +Author: Emmanuele Bassi +Date: Wed Sep 15 15:35:05 2010 +0100 + + docs: Fix the name of the parameters + + clutter/clutter-drag-action.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 73385414524fe03771d135cc3bd94a37b35def4b +Author: Neil Roberts +Date: Wed Sep 15 14:39:05 2010 +0100 + + cogl: Make cogl_util_next_p2 internal and fix the documentation + + cogl_util_next_p2 is declared in cogl-util.h which is a private header + so it shouldn't be possible for an application to use it. It's + probably not a function we'd like to export from Cogl so it seems + better to keep it private. This patch renames it to _cogl_util_next_p2 + so that it won't be exported from the shared library. + + The documentation for the function is also slightly wrong because it + stated that the function returned the next power greater than + 'a'. However the code would actually return 'a' if it's already a + power of two. I think the actual behaviour is more useful so this + patch changes the documentation rather than the code. + + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 4 ++-- + clutter/cogl/cogl/cogl-util.c | 11 ++++++----- + clutter/cogl/cogl/cogl-util.h | 2 +- + 3 files changed, 9 insertions(+), 8 deletions(-) + +commit 42dacf97f82ac506613db662a676df92a9cc4d3a +Author: Neil Roberts +Date: Wed Sep 15 14:07:30 2010 +0100 + + cogl-vertex-buffer: Don't always set COGL_MATERIAL_FLUSH_FALLBACK_MASK + + Previously CoglVertexBuffer would always set the flush options flags + to at least contain COGL_MATERIAL_FLUSH_FALLBACK_MASK. The code then + later checks whether any flags are set before deciding whether to copy + the material to implement the overrides. This means that it would + always end up copying the material even if there are no fallback + layers. This patch changes it so that it only sets + COGL_MATERIAL_FLUSH_FALLBACK_MASK if fallback_layers != 0. + + clutter/cogl/cogl/cogl-vertex-buffer.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit 8cfb158f63a1e1f4af614e17b0198850ff3bdbce +Author: Robert Bragg +Date: Tue Sep 14 20:25:23 2010 +0100 + + material-arbfp: fix updating params if sharing progs + + If a single arbfp program is being shared between multiple CoglMaterials + then we need to make sure we update all program.local params when + switching between materials. Previously we had a dirty flag to track + when combine_constant params were changed but didn't take in to account + that different materials sharing the same program may have different + combine constants. + + clutter/cogl/cogl/cogl-material-arbfp.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +commit d87522596d5c2c1001716d6806684e1fa8580109 +Author: Robert Bragg +Date: Tue Sep 14 18:50:50 2010 +0100 + + material-arbfp: Another pass at simplifying the code + + Previously the backend private state was used to either link to an + authority material or provide authoritative program state. The mechanism + seemed overly complex and felt very fragile. I made a recent comment + which added a lot of documentation to make it easier to understand but + still it didn't feel very elegant. + + This patch takes a slightly different approach; we now have a + ref-counted ArbfpProgramState object which encapsulates a single ARBfp + program and the backend private state now just has a single member which + is a pointer to one of these arbfp_program_state objects. We no longer + need to cache pointers to our arbfp-authority and so we can get rid of + a lot of awkward code that ensured these pointers were + updated/invalidated at the right times. The program state objects are + not tightly bound to a material so it will also allow us to later + implement a cache mechanism that lets us share state outside a materials + ancestry. This may help to optimize code not following the + recommendations of deriving materials from templates, avoiding one-shot + materials and not repeatedly modifying materials because even if a + material's ancestry doesn't naturally lead us to shareable state we can + fallback to searching for shareable state using central hash tables. + + clutter/cogl/cogl/cogl-material-arbfp.c | 600 ++++++++++++++------------------ + 1 file changed, 256 insertions(+), 344 deletions(-) + +commit f6dc3ddcbaf919e1ddcc218b6a1b7b570f4ff829 +Author: Robert Bragg +Date: Mon Jul 5 21:33:26 2010 +0100 + + material: Adds experimental cogl_material_foreach_layer API + + This adds a way to iterate the layer indices of the given material since + cogl_material_get_layers has been deprecated. The user provides a + callback to be called once for each layer. + + Because modification of layers in the callback may potentially + invalidate any number of the internal CoglMaterialLayer structures and + invalidate the material's layer cache this should be more robust than + cogl_material_get_layers() which used to return a const GList * + pointing directly to internal state. + + clutter/cogl/cogl/cogl-material-arbfp.c | 12 ++-- + clutter/cogl/cogl/cogl-material-opengl.c | 18 ++--- + clutter/cogl/cogl/cogl-material-private.h | 10 +-- + clutter/cogl/cogl/cogl-material.c | 108 +++++++++++++++++++++--------- + clutter/cogl/cogl/cogl-material.h | 33 +++++++++ + 5 files changed, 129 insertions(+), 52 deletions(-) + +commit d5eebedaa3c9e4ee54c7efffefd195c2e012c4d9 +Author: Robert Bragg +Date: Tue Sep 14 12:13:30 2010 +0100 + + material: don't declare backend vtables in headers + + This fixes the material backends to declare their constant vtable in the + c file with a corresponding extern declaration in the header. This + should fix complaints about duplicate symbols seen on OSX. + + clutter/cogl/cogl/cogl-material-arbfp-private.h | 2 +- + clutter/cogl/cogl/cogl-material-arbfp.c | 2 ++ + clutter/cogl/cogl/cogl-material-fixed-private.h | 2 +- + clutter/cogl/cogl/cogl-material-fixed.c | 2 ++ + clutter/cogl/cogl/cogl-material-glsl-private.h | 2 +- + clutter/cogl/cogl/cogl-material-glsl.c | 2 ++ + 6 files changed, 9 insertions(+), 3 deletions(-) + +commit 5583d9c12eb7b042a400b2d0e77f88fb06a414aa +Author: Robert Bragg +Date: Tue Sep 14 00:33:46 2010 +0100 + + material-arbfp: don't recompile for constant changes + + Instead of lazily incorporating combine constants as arbfp PARAM + constants in the source directly we now use program.local parameters + instead so we can avoid repeating codegen if a material's combine + constant is updated. This should be a big win for applications animating + a constant used for example in an animated interpolation, such as + gnome-shell. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2280 + + clutter/cogl/cogl/cogl-material-arbfp.c | 68 ++++++++++++++++++++++----------- + 1 file changed, 45 insertions(+), 23 deletions(-) + +commit 2815cf471972cefded669bd4596d46f91178a049 +Author: Robert Bragg +Date: Tue Sep 14 00:27:57 2010 +0100 + + material-arbfp: don't redo codegen for texture changes + + This makes it so we don't consider LAYER_STATE_TEXTURE changes to affect + the arbfp code. This should avoid a lot of unneeded passes of + code generation for applications modifying the texture for a layer. + + clutter/cogl/cogl/cogl-material-arbfp.c | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +commit 3adeef6604966e4b61a6058eb6ae00629cfcf7c9 +Author: Robert Bragg +Date: Tue Sep 14 00:18:02 2010 +0100 + + material: make layer/material_pre_changes mutually exclusive + + This makes it so we only notify backends of either a single material + change or a single layer change. Previously all material STATE_LAYERS + changes would be followed by a more detailed layer change. + + For backends that perform code generation for fragment processing they + typically need to understand the details of how layers get changed to + determine if they need to repeat codegen. It doesn't help them to report + a material STATE_LAYERS change for all layer changes since it's so + broad, they really need to wait for the layer change to be notified. + + What does help though is to report a STATE_LAYERS change for a change in + material->n_layers because they typically do need to repeat codegen in + that case. + + clutter/cogl/cogl/cogl-material-arbfp.c | 7 +++++++ + clutter/cogl/cogl/cogl-material.c | 22 +++++++++++++++++++++- + 2 files changed, 28 insertions(+), 1 deletion(-) + +commit 16e9794318b9fe13126b0b19c77a54c4714262a2 +Author: Robert Bragg +Date: Mon Sep 13 23:52:18 2010 +0100 + + material-arbfp: fixes for how we track private state + + This fixes a number of issues relating to how we track the arbfp private + state associated with CoglMaterials. At the same time it adds much more + extensive code documentation to try and make it a bit more approachable. + + clutter/cogl/cogl/cogl-material-arbfp.c | 175 ++++++++++++++++++++++++++------ + 1 file changed, 143 insertions(+), 32 deletions(-) + +commit a114843f744cacc43a4bed4a7186f1746673f01a +Author: Robert Bragg +Date: Mon Sep 13 23:05:49 2010 +0100 + + material: pass material owner for layer pre changes + + When notifying a backend about a layer being modified we now pass the + layers current owner for reference. NB: Although a layer can indirectly + be referenced by multiple layers, a layer is considered immutable once + it has dependants, so there is only ever one material associated with a + layer being modified. Passing the material pointer to the backends + layer_pre_change callback can be useful for backends that associate + their private state with materials and may need to update that state in + response to layer changes. + + clutter/cogl/cogl/cogl-material-arbfp.c | 11 ++++++++++- + clutter/cogl/cogl/cogl-material-private.h | 3 ++- + clutter/cogl/cogl/cogl-material.c | 7 ++++--- + 3 files changed, 16 insertions(+), 5 deletions(-) + +commit d9a32f979c7fc2c3e7bd58c29b36208be1fd01c9 +Author: Robert Bragg +Date: Mon Sep 13 22:56:44 2010 +0100 + + arbfp: rename get_arbfp_authority clarifying semantics + + This renames the get_arbfp_authority function to + get_arbfp_authority_no_check to clarify that the function doesn't + validate that the authority cache is still valid by looking at the age + of the referenced material. The function should only be used when we + *know* the cache has already been checked. + + clutter/cogl/cogl/cogl-material-arbfp.c | 16 ++++++++++------ + 1 file changed, 10 insertions(+), 6 deletions(-) + +commit ed1123a06b6afe3d98342f2550cb6f5cd248a578 +Author: Robert Bragg +Date: Mon Sep 13 21:26:31 2010 +0100 + + material: track if material change is layer change + + We now pass a boolean to _cogl_material_pre_change_notify to know when + a material change is as a result of a layer change. We plan to use this + information to avoid notifying the backends about material changes if + they are as a result of layer changes. This will simplify the handling + of state changes in the backends because they can assume that layer and + material changes are mutually exclusive. + + clutter/cogl/cogl/cogl-material.c | 52 ++++++++++++++++++++++----------------- + 1 file changed, 29 insertions(+), 23 deletions(-) + +commit 53acf4d1b0ad372205c1b8f1dcecfef2777d13d5 +Author: Robert Bragg +Date: Mon Sep 13 21:21:09 2010 +0100 + + material: Adds _get_layer_combine_constant API + + This adds an internal _cogl_material_get_layer_combine_constant function + so we can query the current layer combine constant back. We should + probably make this a public property getter, but for now we just need + this so we can read the constant in the arbfp backend. + + clutter/cogl/cogl/cogl-material-private.h | 5 +++++ + clutter/cogl/cogl/cogl-material.c | 26 ++++++++++++++++++++++++++ + 2 files changed, 31 insertions(+) + +commit 7f95015c6d0f7e1652b88d8e534cee323eb408f4 +Author: Robert Bragg +Date: Mon Sep 13 21:17:30 2010 +0100 + + material: track unit state with arbfp private state + + We are going to start tracking more per-texture unit state with arbfp + private state so this adds an internal UnitState type and we allocate an + array of these when setting up a new private state structure. The first + thing that has been moved into this is the sampled boolean to know when + a particular texture unit gets sampled from in the generated arbfp code. + + clutter/cogl/cogl/cogl-material-arbfp.c | 36 ++++++++++++++++++++++++--------- + 1 file changed, 27 insertions(+), 9 deletions(-) + +commit 98516061c328fd4306b2059cd6bc7d443d4900a3 +Author: Emmanuele Bassi +Date: Wed Sep 15 11:56:59 2010 +0100 + + Enumeration value should be on the same line + + The glib-mkenums script is not clever enough to deal with + + FLAGS_VALUE = FLAGS_A | + FLAGS_B + + And since this breaks the enumeration GType and the introspection data, + we cannot really wait for it to be fixed. + + See: https://bugzilla.gnome.org/show_bug.cgi?id=629741 + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2238 + + clutter/cogl/cogl/cogl-buffer.h | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit d45c1671d12ad056362e7fb39a0ca8ca9a981660 +Author: Robert Bragg +Date: Wed Sep 1 15:15:20 2010 +0100 + + cogl-framebuffer: fix leak when popping framebuffer + + We were using g_slist_remove_link instead of g_slist_delete_link + resulting in a memory leak. Thanks to Simon Lanzmich for + reporting this bug. + + clutter/cogl/cogl/cogl-framebuffer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 88023d438d3124792ba58ad624ba537b27568528 +Author: Robert Bragg +Date: Mon Aug 16 21:11:42 2010 +0100 + + Initialize the cogl uprof state in cogl_create_context + + This avoids the use of of gcc constructor and destructor attributes to + initialize the cogl uprof context and optionally print a cogl uprof + report at app exit. We now initialize the uprof context in + cogl_context_create instead. + + clutter/cogl/cogl/cogl-context.c | 17 +++++++++++++++++ + clutter/cogl/cogl/cogl-profile.c | 30 ++++++++++++++++-------------- + clutter/cogl/cogl/cogl-profile.h | 3 +++ + 3 files changed, 36 insertions(+), 14 deletions(-) + +commit d9ee3be835465650ea474b971f028b49321ca7e2 +Author: Robert Bragg +Date: Mon Jul 26 15:21:18 2010 +0100 + + journal: provide more detailed uprof instrumentation + + This adds more timing around key stages of the journal flushing process. + + clutter/cogl/cogl/cogl-journal.c | 39 ++++++++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-material.c | 40 +++++++++++++++++++++++++++------------ + 2 files changed, 67 insertions(+), 12 deletions(-) + +commit fb7bf9ce0231ee4f54675ebe71b01b5e4bf98bc5 +Author: Robert Bragg +Date: Mon Jun 21 15:36:46 2010 +0100 + + profile: Update to uprof-0.3 dep for --enable-profile + + When building with --enable-profile we now depend on the uprof-0.3 + developer release which brings a few improvements: + + » It lets us "fix" how we initialize uprof so that instead of using a shared + object constructor/destructor (which was a hack used when first adding + uprof support to Clutter) we can now initialize as part of clutter's + normal initialization code. As a side note though, I found that the way + Clutter initializes has some quite serious problems whenever it + involves GOptionGroups. It is not able to guarantee the initialization + of dependencies like uprof and Cogl. For this reason we still use the + contructor/destructor approach to initialize uprof in Cogl. + + » uprof-0.3 provides a better API for adding custom columns when reporting + timer and counter statistics which lets us remove quite a lot of manual + report generation code in clutter-profile.c. + + » uprof-0.3 provides a shared context for tracking mainloop timer + statistics. This means any mainloop based library following the same + "Mainloop" timer naming convention can use the shared context and no + matter who ends up owning the final mainloop the statistics will always + be in the same place. This allows profiling of Clutter with an + external mainloop such as with the Mutter compositor. + + » uprof-0.3 can export statistics over dbus and comes with an ncurses + based ui to vizualize timer and counter stats live. + + The latest version of uprof can be cloned from: + git://github.com/rib/UProf.git + + README | 2 +- + clutter/clutter-debug.h | 65 ++++--- + clutter/clutter-main.c | 45 +++-- + clutter/clutter-profile.c | 345 +++++++++++++++++++++------------ + clutter/clutter-profile.h | 8 + + clutter/cogl/cogl/cogl-debug-options.h | 145 ++++++++++++++ + clutter/cogl/cogl/cogl-debug.c | 37 +--- + clutter/cogl/cogl/cogl-debug.h | 18 +- + clutter/cogl/cogl/cogl-profile.c | 48 +++++ + clutter/cogl/cogl/cogl-profile.h | 4 + + clutter/cogl/cogl/cogl-texture-3d.c | 1 + + configure.ac | 2 +- + 12 files changed, 514 insertions(+), 206 deletions(-) + +commit a45f67bbdcd8cb53c2daebd11acebd906647eda3 +Author: Neil Roberts +Date: Mon Sep 6 17:18:11 2010 +0100 + + cogl-framebuffer: Clear the renderbuffer list on failure + + When try_creating_fbo fails it deletes any intermediate render buffers + that were created. However it doesn't clear the list so I think if it + failed a second time it would try to delete the render buffers + again. This could potentially cause problems if a subsequent fbo is + created because the destructor for the original might delete the + renderbuffers of the new fbo. + + clutter/cogl/cogl/cogl-framebuffer.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 570fa3f0442d528af8aa50114fc79085c541b661 +Author: Robert Bragg +Date: Sat Sep 11 02:31:03 2010 +0100 + + clone: scale src with apply_transform not cogl_scale + + Since a ClutterClone may be allocated a different size than its source + actor we need to apply a scale factor before painting the source actor. + We were manually using cogl_scale to do this in clutter_clone_paint but + really this kind of thing is best handled in an implementation of the + apply_transform virtual so Clutter can be aware of the transform for + other purposes, such as input transformations. Also we want to provide + an implementation of the get_paint_volume virtual where Clutter will + also expect to be able to use the apply_transform virtual to transform + the volume into its parent's coordinate space. + + clutter/clutter-clone.c | 46 ++++++++++++++++++++++++++++++---------------- + 1 file changed, 30 insertions(+), 16 deletions(-) + +commit ad398d583b7b5e2b3e3a0c00eda6b5eb358121d9 +Author: Robert Bragg +Date: Wed Sep 8 01:41:01 2010 +0100 + + glx: Mark stage clip initialized even for NULL user clip + + If a NULL clip is passed to clutter_stage_glx_add_redraw_clip then we + update the redraw clip to have width of 0, but we weren't setting + stage_glx->initialized_redraw_clip = TRUE. This could result in a full, + unclipped stage redraw being reduced to a clipped redraw. + + clutter/glx/clutter-stage-glx.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 8d2a3d608869ef09aff42db7bc537ae927f8d1c1 +Author: Robert Bragg +Date: Tue Sep 7 22:02:23 2010 +0100 + + actor: warn if allocating actor not descending from stage + + This adds a verbose warning that will be displayed if + clutter_actor_allocate is passed an actor that isn't a descendent of a + ClutterStage. Layouting should always bubble up from a stage so this + condition is likely to indicate a buggy container that allocating a + child that it has already unparented. + + clutter/clutter-actor.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit ff4c24f0a498e2922b20160482fa2c60ca8d9c40 +Author: Robert Bragg +Date: Tue Sep 7 17:00:49 2010 +0100 + + geometry: Adds a clutter_geometry_intersects API + + This adds a public function named clutter_geometry_intersects which + determines if two geometries intersect or not returning TRUE if so else + FALSE. + + clutter/clutter-actor.c | 26 ++++++++++++++++++++++++++ + clutter/clutter-types.h | 8 +++++--- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 32 insertions(+), 3 deletions(-) + +commit 8a2e164354c36bc817f8d48d630808f00cb9d06f +Author: Emmanuele Bassi +Date: Mon Aug 16 16:02:53 2010 +0100 + + actor-box: Correctly clamp to pixel + + Use ceilf() to round up the right side of the actor's box, and floorf() + to round down the left side. + + clutter/clutter-actor.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit f5f066df9ce7f7de19015371cf8399534661b959 +Author: Robert Bragg +Date: Tue Sep 7 13:10:55 2010 +0100 + + Try to clean up how we handle actor transformations + + When building actor relative transforms, instead of using the matrix + stack to combine transformations and making assumptions about what is + currently on the stack we now just explicitly initialize an identity + matrix and apply transforms to that. + + This removes the full_vertex_t typedef for internal transformation code + and we just use ClutterVertex. + + ClutterStage now implements apply_transform like any other actor now + and the code we had in _cogl_setup_viewport has been moved to the + stage's apply_transform instead. + + ClutterStage now tracks an explicit projection matrix and viewport + geometry. The projection matrix is derived from the perspective whenever + that changes, and the viewport is updated when the stage gets a new + allocation. The SYNC_MATRICES mechanism has been removed in favour of + _clutter_stage_dirty_viewport/projection() APIs that get used when + switching between multiple stages to ensure cogl has the latest + information about the onscreen framebuffer. + + clutter/clutter-actor.c | 752 +++++++++++------------------------- + clutter/clutter-backend.c | 22 +- + clutter/clutter-main.c | 28 -- + clutter/clutter-private.h | 42 +- + clutter/clutter-stage.c | 288 +++++++++++++- + clutter/clutter-texture.c | 18 +- + clutter/osx/clutter-stage-osx.c | 7 - + clutter/win32/clutter-stage-win32.c | 7 - + clutter/x11/clutter-stage-x11.c | 41 +- + doc/clutter-actor-invariants.txt | 5 - + 10 files changed, 592 insertions(+), 618 deletions(-) + +commit ab008948cfdde8ca9a9842c2e9000db0d0f3ad49 +Author: Robert Bragg +Date: Tue Sep 7 11:55:23 2010 +0100 + + actor: Add _get_stage_internal to clutter-private.h + + This adds _clutter_actor_get_stage_internal to clutter-private.h since + we plan to use it in clutter-offscreen-effect when preparing to + redirect an actor offscreen. + + clutter/clutter-actor.c | 28 +++++++++++++--------------- + clutter/clutter-private.h | 1 + + 2 files changed, 14 insertions(+), 15 deletions(-) + +commit 64088ea4de6334e10ad99c0844ffab057f1557ab +Merge: 28f28c030 e8e360eaa +Author: Emmanuele Bassi +Date: Mon Sep 13 15:51:18 2010 +0100 + + Merge remote branch 'elliot/cookbook-animations-reuse' + + * elliot/cookbook-animations-reuse: + cookbook: Added a recipe for reusing a complex animation + cookbook: Added id for section in "rotating an actor" recipe + cookbook: Simplified and clarified example code + cookbook: Cleaned up the "animations reuse" example + cookbook: Refactored reusable animation example + cookbook: Added example for animation reuse recipe + +commit 28f28c030994621d931a7ed61bd529644947f9c3 +Author: Murray Cumming +Date: Mon Sep 13 16:16:25 2010 +0200 + + Remove trailin enum commas, avoiding C++ warnings. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2314 + + clutter/clutter-align-constraint.h | 2 +- + clutter/clutter-event.h | 4 ++-- + clutter/clutter-types.h | 2 +- + clutter/cogl/cogl/cogl-types.h | 2 +- + clutter/cogl/cogl/cogl-vertex-buffer.h | 2 +- + 5 files changed, 6 insertions(+), 6 deletions(-) + +commit e8e360eaa7207a677738ce15496499ac7196a5b5 +Author: Elliot Smith +Date: Mon Sep 13 14:29:37 2010 +0100 + + cookbook: Added a recipe for reusing a complex animation + + This recipe explains how to "reuse" the same animation + definition for different actors, by creating a new + instance of a "rig" (empty container) and animation + for the rig each time the animation is required. + + An actor is then re-parented to the rig and animated + using it, rather than being animated directly. + + JSON is used to define the rig + animator, to make + creating new instances of them simpler. The recipe + also discusses various caveats around using this + approach, rather than directly animating an actor. + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/animations.xml | 378 +++++++++++++++++++++++++++++++ + doc/cookbook/videos/animations-reuse.ogv | Bin 0 -> 60837 bytes + 3 files changed, 379 insertions(+) + +commit 6548bee56ca8401d2e9d31e33bf4fcd5a65b92f5 +Author: Elliot Smith +Date: Mon Sep 13 10:28:16 2010 +0100 + + cookbook: Added id for section in "rotating an actor" recipe + + Added an id to a section in the "rotating an actor" recipe, + so that it can be referred to from the "reusing an animation" + recipe. + + doc/cookbook/animations.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 82ab00930b63d3860f96ac99da9cdc8128de1aee +Author: Elliot Smith +Date: Thu Sep 9 12:02:02 2010 +0100 + + cookbook: Simplified and clarified example code + + Modified the "animation reuse" sample code to provide + a simpler example to explain in the recipe. + + Also modified variable names to mirror the names used + for the previous "complex animation" example and added + some more comments, to further simplify and support the + recipe. + + .../examples/animations-reuse-animation.json | 36 +++++---------------- + doc/cookbook/examples/animations-reuse-ui.json | 37 +++++++++++++++++++--- + doc/cookbook/examples/animations-reuse.c | 20 +++++++++--- + 3 files changed, 56 insertions(+), 37 deletions(-) + +commit d7a3e35f46593e04cf8cfe5eca18e3b2c06ff35b +Author: Elliot Smith +Date: Wed Sep 1 11:18:15 2010 +0100 + + cookbook: Cleaned up the "animations reuse" example + + With some help from pippin, moved variable declarations + into more sensible positions within their functions, + changed a function name, and found a better way + to unref a script once its associated actor has + been destroyed. + + .../examples/animations-reuse-animation.json | 1 - + doc/cookbook/examples/animations-reuse.c | 30 ++++++++++------------ + 2 files changed, 14 insertions(+), 17 deletions(-) + +commit d4190cbf8ce8c667110744976c8cdd52ff3ede81 +Author: Elliot Smith +Date: Wed Sep 1 10:21:23 2010 +0100 + + cookbook: Refactored reusable animation example + + Extracted the animation into its own JSON definition, + then create a new script and get the animation each + time a rectangle is clicked. + + Removes the need to reparent onto the background and + copy property values to the rectangle after the animation, + and generally much cleaner. + + .../examples/animations-reuse-animation.json | 63 +++++++++++ + doc/cookbook/examples/animations-reuse-ui.json | 53 +++++++++ + doc/cookbook/examples/animations-reuse.c | 102 +++++++---------- + doc/cookbook/examples/animations-reuse.json | 124 --------------------- + 4 files changed, 155 insertions(+), 187 deletions(-) + +commit acc28cf60c482bf56bb298630a9d1b75f350d31b +Author: Elliot Smith +Date: Tue Aug 31 17:42:37 2010 +0100 + + cookbook: Added example for animation reuse recipe + + Added an example showing how to reuse a ClutterAnimator + instance to animate multiple actors at different times + using an animatable rig, combined with reparenting. + + doc/cookbook/examples/Makefile.am | 2 + + doc/cookbook/examples/animations-reuse.c | 117 ++++++++++++++++++++++++++ + doc/cookbook/examples/animations-reuse.json | 124 ++++++++++++++++++++++++++++ + 3 files changed, 243 insertions(+) + +commit 209bef6f8a4059d8cb7a6b4d3c64d25898f46047 +Author: Alejandro Piñeiro +Date: Thu Jul 22 13:19:34 2010 +0200 + + cally: fixing public headers + + Cally headers were including specific clutter object headers. + + This caused a problem including cally.h on a external program. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2234 + + clutter/cally/cally-actor.h | 2 +- + clutter/cally/cally-clone.h | 2 +- + clutter/cally/cally-group.h | 2 +- + clutter/cally/cally-rectangle.h | 2 +- + clutter/cally/cally-stage.h | 2 +- + clutter/cally/cally-text.h | 2 +- + clutter/cally/cally-texture.h | 2 +- + 7 files changed, 7 insertions(+), 7 deletions(-) + +commit dec0863f58d7a67791d29cf0e53eb24ea09b222c +Author: Emmanuele Bassi +Date: Mon Sep 13 11:31:46 2010 +0100 + + build: Add tesselator to the include paths + + clutter/cogl/cogl/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 94e2c7a9495e61640f602e01c3d5adff9338affe +Author: Emmanuele Bassi +Date: Mon Sep 13 02:15:44 2010 +0100 + + build: Generate ClutterJson in the top directory + + Instead of doing the shlib trick, build ClutterJson (if needed) inside + the top-level clutter/ directory - similar to a non-recursive layout. + + Hopefully, one day, we'll be able to do this with a real non-recursive + layout. + + clutter/Makefile.am | 35 +++++++++++++++++++++++------------ + clutter/json/Makefile.am | 30 ------------------------------ + 2 files changed, 23 insertions(+), 42 deletions(-) + +commit 40af71fad72794af90cf6b11f15e5fa64bed188d +Author: Emmanuele Bassi +Date: Mon Sep 13 02:01:50 2010 +0100 + + build: List the units inside a file + + This avoids trying to run test-conformance -l multiple times. + + tests/conform/Makefile.am | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit c03458a86175075bf7a46d8e58f7e3db5bd74f76 +Author: Emmanuele Bassi +Date: Mon Sep 13 02:01:21 2010 +0100 + + build: Remove gir files from dist + + The introspection data is going to be generated, so it should never be + in the dist. + + clutter/Makefile.am | 4 ++-- + clutter/cogl/cogl/Makefile.am | 2 +- + clutter/json/Makefile.am | 4 +++- + 3 files changed, 6 insertions(+), 4 deletions(-) + +commit 64924f0e98ed06924d8968d22e5ee257ee858db1 +Author: Emmanuele Bassi +Date: Sun Sep 12 19:25:47 2010 +0100 + + build: Do not build a noinst library for the tesselator + + Let's try to keep Cogl's build as non-recursive as possible, in the hope + that one day we'll be able to make it fully non-recursive along with the + rest of Clutter. + + clutter/cogl/cogl/Makefile.am | 59 +++++++++++++++++++++++++++----- + clutter/cogl/cogl/tesselator/Makefile.am | 41 ---------------------- + configure.ac | 1 - + 3 files changed, 50 insertions(+), 51 deletions(-) + +commit 732eecf5c6c097b9f6ede3da376f61504e5cb48c +Author: Emmanuele Bassi +Date: Fri Sep 10 18:21:45 2010 +0100 + + cookbook: Use the new CLUTTER_KEY_* symbol constants + + Instead of the deprecated CLUTTER_* ones. + + doc/cookbook/events.xml | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +commit f2669df6b5c1c9c45c0694443f6748399d0a181c +Author: Emmanuele Bassi +Date: Fri Sep 10 18:21:19 2010 +0100 + + build: Disable deprecated API when building the cookbook examples + + Make sure we always use the latest API. + + doc/cookbook/examples/Makefile.am | 2 ++ + 1 file changed, 2 insertions(+) + +commit 4ee05f8e21db9d2262befdc9d07f462bbd95446d +Author: Emmanuele Bassi +Date: Fri Sep 10 13:41:49 2010 +0100 + + keysyms: Update the macros to CLUTTER_KEY_* + + The keysyms defines in clutter-keysyms.h are generated from the X11 key + symbols headers by doing the equivalent of a pass of sed from XK_* to + CLUTTER_*. This might lead to namespace collisions, down the road. + Instead, we should use the CLUTTER_KEY_* namespace. + + This commit includes the script, taken from GDK, that parses the X11 + key symbols and generates two headers: + + - clutter-keysyms.h: the default included header, with CLUTTER_KEY_* + - clutter-keysyms-compat.h: the compatibility header, with CLUTTER_* + + The compat.h header file is included if CLUTTER_DISABLE_DEPRECATED is + not defined - essentially deprecating all the old key symbols. + + This does not change any ABI and, assuming that an application or + library is not compiling with CLUTTER_DISABLE_DEPRECATED, the source + compatibility is still guaranteed. + + README | 5 + + clutter/Makefile.am | 3 + + clutter/clutter-keysyms-compat.h | 2208 +++++++++++++++ + clutter/clutter-keysyms-update.pl | 216 ++ + clutter/clutter-keysyms.h | 4193 +++++++++++++++------------- + clutter/clutter-text.c | 46 +- + doc/reference/clutter/Makefile.am | 1 + + tests/conform/test-binding-pool.c | 30 +- + tests/conform/test-clutter-text.c | 8 +- + tests/interactive/Makefile.am | 4 +- + tests/interactive/test-actor-clone.c | 4 +- + tests/interactive/test-actors.c | 4 +- + tests/interactive/test-binding-pool.c | 10 +- + tests/interactive/test-box-layout.c | 14 +- + tests/interactive/test-clip.c | 9 +- + tests/interactive/test-cogl-shader-arbfp.c | 6 +- + tests/interactive/test-cogl-shader-glsl.c | 6 +- + tests/interactive/test-layout.c | 23 +- + tests/interactive/test-paint-wrapper.c | 4 +- + tests/interactive/test-pixmap.c | 6 +- + tests/interactive/test-text-field.c | 12 +- + tests/interactive/test-threads.c | 4 +- + 22 files changed, 4725 insertions(+), 2091 deletions(-) + +commit 1447eff00fe70f16350ee16dd86f5f8758ff3065 +Author: Lucas Rocha +Date: Fri Sep 10 17:48:12 2010 +0100 + + introspection: Add full path for the Clutter-1.0 inclusion + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit edb54574fa8ee8aaefd0f7021b7a5310b429f49b +Author: Emmanuele Bassi +Date: Fri Sep 10 14:27:56 2010 +0100 + + build: Disable deprecated API when building Clutter + + Make sure we don't use deprecated API internally by adding + CLUTTER_DISABLE_DEPRECATED to the AM_CPPFLAGS. + + This requires adding -UCLUTTER_DISABLE_DEPRECATED to the introspection + scanner CFLAGS, otherwise the deprecated API will never be introspected + and the data generated will not be compatible. + + clutter/Makefile.am | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit d76f64a10cdfbfe44f5cf3f35351ae8f3307d7df +Author: Emmanuele Bassi +Date: Fri Sep 10 14:27:37 2010 +0100 + + Do not use deprecated API internally + + clutter/clutter-backend.c | 8 +++++++- + clutter/clutter-main.c | 18 ++++++++++++++---- + clutter/clutter-text.c | 32 ++++++++++++++++++++++++-------- + 3 files changed, 45 insertions(+), 13 deletions(-) + +commit 0bd18fbcc9f9a01fe24945251a1a3e860b7c80a7 +Author: Emmanuele Bassi +Date: Fri Sep 10 12:24:37 2010 +0100 + + Update the NEWS + + NEWS | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +commit 01362effca53d0a3149e3f81f6374b1440cbe2cd +Author: Emmanuele Bassi +Date: Fri Sep 10 11:42:11 2010 +0100 + + actor: Add a method for querying key focus + + A simple convenience method on Clutter.Actor for checking whether + it has key focus assigned on the Stage to which it belongs. + + clutter/clutter-actor.c | 24 ++++++++++++++++++++++++ + clutter/clutter-actor.h | 2 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 27 insertions(+) + +commit 71a4db613569cd08572db517a045224161ba67d7 +Author: Emmanuele Bassi +Date: Fri Sep 10 11:18:53 2010 +0100 + + animation: Allow detaching an animation from an actor + + When animating an actor through clutter_actor_animate() and friends we + might want forcibly detach the animation instance from the actor in + order to start a new one - for instance, in response to user + interaction. + + Currently, there is no way to do that except in a very convoluted way, + by emitting the ::completed signal and adding a special case in the + signal handlers; this is due to the fact that clutter_actor_animate() + adds more logic than the one added by clutter_animation_set_object(), + so calling set_object(NULL) or unreferencing the animation instance + itself won't be enough. + + The right way to approach this is to add a new method to Clutter.Actor + that detaches any eventual Animation currently referencing it. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2051 + + clutter/clutter-animation.c | 53 ++++++++++++++++++++++++++++++ + clutter/clutter-animation.h | 1 + + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 55 insertions(+) + +commit 3aa2d00c3bf034b478fcc040056c25ef6f46baa0 +Author: Colin Walters +Date: Thu Sep 9 23:01:40 2010 +0100 + + introspection: Don't look for installed Cogl-1.0.gir + + If we're depending on an uninstalled .gir, use --include-uninstalled. + We need to explicitly specify Cogl to let the scanner know it's also + uninstalled. + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 5f5369990fec5bfc734604761ed4ea49e78e6aa3 +Author: Colin Walters +Date: Thu Sep 9 13:32:13 2010 -0400 + + introspection: Don't look for installed Clutter-1.0.gir + + If we're depending on an uninstalled .gir, use --include-uninstalled. + + clutter/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 72a4fd9250564a75f9cef89a3070d5d0ab5a5c24 +Author: Emmanuele Bassi +Date: Thu Sep 9 16:45:51 2010 +0100 + + po: Update Polish localization + + po/pl.po | 174 ++++++++++++++++++++++++++++++--------------------------------- + 1 file changed, 82 insertions(+), 92 deletions(-) + +commit d86dc377dea38678efa1f8b8e3aa5759f37d01ac +Author: Chris Kühl +Date: Thu Sep 9 16:41:37 2010 +0200 + + Added documentation for alpha parameter in Behaviour constructors. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2304 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-behaviour-depth.c | 6 +++++- + clutter/clutter-behaviour-ellipse.c | 6 +++++- + clutter/clutter-behaviour-opacity.c | 10 +++++++--- + clutter/clutter-behaviour-path.c | 18 +++++++++++++++--- + clutter/clutter-behaviour-rotate.c | 6 +++++- + clutter/clutter-behaviour-scale.c | 10 +++++++--- + 6 files changed, 44 insertions(+), 12 deletions(-) + +commit 9e1cd15b48f4e6a9bb6928bf1218e7bea2b1b1ed +Author: Neil Roberts +Date: Thu Sep 9 12:15:59 2010 +0100 + + cogl-vertex-buffer: Flush the framebuffer state first + + Flushing the framebuffer state can cause some drawing to occur if the + framebuffer has a clip stack which needs the stencil buffer. This was + causing the array pointers set up by enable_state_for_drawing_buffer + to get mangled so it would crash when it hits glDrawArrays. This patch + moves the framebuffer state flush to before it sets up the array + pointers. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2297 + + clutter/cogl/cogl/cogl-vertex-buffer.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +commit 0e325404aa50fcca400d0cb8020a36bcd81f4c37 +Author: Emmanuele Bassi +Date: Thu Sep 9 11:58:03 2010 +0100 + + build: Allow using gettext 0.17 + + This requires some autotools magic when setting up the environment + through autogen.sh, because autoreconf does not do the right thing + by default. + + The correct order for setting up localization is: + + ‣ autopoint + ‣ aclocal + ‣ ... + + otherwise aclocal will copy the system's gettext.m4 instead of honouring + the version we specified with AM_GNU_GETTEXT_VERSION in configure.ac. + + autogen.sh | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++--------- + configure.ac | 2 +- + 2 files changed, 107 insertions(+), 19 deletions(-) + +commit cfab64c1db609d7fd4840dd83a161af7527c17ab +Author: Emmanuele Bassi +Date: Thu Sep 9 11:39:56 2010 +0100 + + po: Update German localization + + po/de.po | 325 ++++++++++++++++++++++++++++++++------------------------------- + 1 file changed, 166 insertions(+), 159 deletions(-) + +commit bcf20955d32b580195f45bf507a5970003f464cf +Author: Robert Bragg +Date: Wed Sep 8 23:33:45 2010 +0100 + + ClutterX11TexturePixmap: Fix unbalanced error trapping + + I think this is what commit 2cf140550635 intended to do since it + specifically mentioned cleaning up the trap in + clutter_x11_texture_pixmap_set_pixmap, but although it moved the untrap + to only be done in the case where Pixmap != None it left the position of + the trap itself unchanged. This meant the error trapping wouldn't be + balanced if pixmap == None since the untrap wouldn't be done. We now + only trap and untrap around the XGetGeometry call done when pixmap != + None. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2303 + + clutter/x11/clutter-x11-texture-pixmap.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 089a20e79d3f542ad74f34d7a318ef19718bdc40 +Author: Emmanuele Bassi +Date: Wed Sep 8 18:27:12 2010 +0100 + + build: Add ClutterX11 introspection generation + + clutter/Makefile.am | 32 ++++++++++++++++++++++++++++++++ + 1 file changed, 32 insertions(+) + +commit 32ea9702e664db8e0601362d2d1aae6c726f3c63 +Author: Emmanuele Bassi +Date: Wed Sep 8 17:50:38 2010 +0100 + + build: Add XML files to the ignore blacklist + + tests/conform/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit f8bd45dbcea77e19a6a7e37edad535f6d3edd7cd +Author: Emmanuele Bassi +Date: Wed Sep 8 17:39:04 2010 +0100 + + x11-texture-pixmap: Do not go through g_object_get() + + The pixmap width and height are stored in our own private data + structure; going through g_object_get() is pointless overhead. + + clutter/x11/clutter-x11-texture-pixmap.c | 16 +++++++--------- + 1 file changed, 7 insertions(+), 9 deletions(-) + +commit 2cf14055063568038be607bd8f7ce3eea2285475 +Author: Owen W. Taylor +Date: Wed Sep 8 11:34:58 2010 -0400 + + Clean up CoglTexturePixmapX11 first + + With currently distributed versions of Mesa, calling XFreePixmap() + before glxDestroyPixmap() will cause an X error from DRI. So, we + need to make sure that we get rid of the CoglTexturePixmapX11 before + we XFreePixmap(). + + clutter_x11_texture_pixmap_dispose(): Call + clutter_x11_texture_pixmap_set_pixmap() instead of using XFreePixmap + directly so that we leverage the text-clearing hack and destroy + things in the right order. + + clutter_x11_texture_pixmap_set_pixmap(): Don't do a pointless roundtrip + and trap a pointless error when setting pixmap to None. + + clutter_x11_texture_pixmap_set_pixmap(): Free damage resources when + we are setting Pixmap to None. + + clutter_x11_texture_pixmap_set_window(): When setting a new window + or setting the window to None, immedediately call + cluter_x11_texture_pixmap_set_pixmap(). This means that set_window(None) + immediately will free any referenced resources related to the window. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2303 + + clutter/x11/clutter-x11-texture-pixmap.c | 46 +++++++++++++++++--------------- + 1 file changed, 24 insertions(+), 22 deletions(-) + +commit ca8db4c2ee16e8c711baa40803c3dcd75ca2f382 +Author: Emmanuele Bassi +Date: Wed Sep 8 17:04:21 2010 +0100 + + Add caller-allocates annotations + + For ClutterColor, ClutterUnits, ClutterInterval and the Perspective + accessor in ClutterStage. + + clutter/clutter-color.c | 18 +++++++++--------- + clutter/clutter-fixed.c | 2 +- + clutter/clutter-interval.c | 6 +++--- + clutter/clutter-stage.c | 3 ++- + clutter/clutter-units.c | 23 ++++++++++++----------- + 5 files changed, 27 insertions(+), 25 deletions(-) + +commit 8a5686d83503d9b9a5c8e083d8613a8e9d1cf1f5 +Author: Emmanuele Bassi +Date: Wed Sep 8 16:41:47 2010 +0100 + + Further annotation fixes + + clutter/clutter-actor.c | 10 +++++----- + clutter/clutter-animator.c | 2 +- + clutter/clutter-behaviour.c | 2 +- + clutter/clutter-color.c | 8 ++++---- + clutter/clutter-container.c | 2 +- + clutter/clutter-device-manager.c | 4 ++-- + clutter/clutter-frame-source.c | 4 +++- + clutter/clutter-layout-manager.c | 6 +++--- + clutter/clutter-list-model.c | 2 +- + clutter/clutter-main.c | 12 +++++++++--- + clutter/clutter-model.c | 4 ++-- + clutter/clutter-path.c | 3 ++- + clutter/clutter-score.c | 10 +++++----- + clutter/clutter-script.c | 7 ++++--- + clutter/clutter-stage-manager.c | 4 ++-- + clutter/clutter-stage-window.h | 16 ++++++++++++++++ + clutter/clutter-state.c | 2 +- + clutter/clutter-timeout-pool.h | 4 ++++ + 18 files changed, 66 insertions(+), 36 deletions(-) + +commit f1c44a27a17c66c80ac92f7365b7fcc85c9f0847 +Author: Owen W. Taylor +Date: Wed Sep 8 10:37:58 2010 -0400 + + introspection: Add missing (out) annotations + + Comprehensively add (out) annotations to functions parameters + returning int/float/double. + + Not handled here: structure out returns like ClutterColor or + ClutterPerspective or GValue that should get (out caller-allocates). + + Not handled here: Cogl + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2302 + + clutter/clutter-actor.c | 2 +- + clutter/clutter-behaviour-depth.c | 4 ++-- + clutter/clutter-behaviour-ellipse.c | 10 +++++----- + clutter/clutter-behaviour-opacity.c | 4 ++-- + clutter/clutter-behaviour-rotate.c | 6 +++--- + clutter/clutter-behaviour-scale.c | 8 ++++---- + clutter/clutter-cairo-texture.c | 4 ++-- + clutter/clutter-color.c | 6 +++--- + clutter/clutter-script-parser.c | 2 +- + clutter/clutter-text.c | 6 +++--- + 10 files changed, 26 insertions(+), 26 deletions(-) + +commit e4870ebaf461170e78f2ed6787beda541501d561 +Author: Emmanuele Bassi +Date: Wed Sep 8 15:15:57 2010 +0100 + + Constify Event accessors and copy method + + This is still C, but at least we can get some sort of safety net when + using the API correctly. + + clutter/clutter-backend.c | 6 ++--- + clutter/clutter-backend.h | 10 ++++---- + clutter/clutter-event.c | 48 +++++++++++++++++++-------------------- + clutter/clutter-event.h | 48 +++++++++++++++++++-------------------- + clutter/clutter-private.h | 10 ++++---- + clutter/x11/clutter-backend-x11.c | 6 ++--- + 6 files changed, 64 insertions(+), 64 deletions(-) + +commit 8fb4c7b9a9f58a2137dfe981fac0001d4c64505c +Author: Emmanuele Bassi +Date: Wed Sep 8 14:48:40 2010 +0100 + + po: Rename the POT file + + configure.ac | 2 +- + po/Makevars | 2 +- + po/{clutter.pot => clutter-1.0.pot} | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +commit 144da2ae3b49715ea72052a3722e03872694aa92 +Author: Emmanuele Bassi +Date: Wed Sep 8 14:40:52 2010 +0100 + + po: Add clutter.pot to the repository + + Since we're not using intltool, and since we need to let people on + Transifex generate their translations, we need to add the POT file + to the repository. + + .gitignore | 1 - + po/clutter.pot | 1828 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 1828 insertions(+), 1 deletion(-) + +commit 82bef432ed095b031408d858c00bffc140b21ed1 +Author: ElleUca +Date: Wed Sep 8 12:44:43 2010 +0100 + + po: Add italian translation + + po/it.po | 1837 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 1837 insertions(+) + +commit 33b0d5ddb5d6b056db8371717d1600ce7572a095 +Author: Emmanuele Bassi +Date: Wed Sep 8 12:25:25 2010 +0100 + + po: Update the translation files + + We are finally able to add the properties nicks and blurbs to the list + of translatable strings, for UI builders to use. This means bumping the + list of strings from 20-ish to a whopping 400. Whoopsie. + + po/de.po | 1852 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- + po/pl.po | 1849 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- + po/zh_CN.po | 1850 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- + 3 files changed, 5369 insertions(+), 182 deletions(-) + +commit 948da3728d770c2c328286f3263322215aa76eec +Author: Emmanuele Bassi +Date: Wed Sep 8 12:25:02 2010 +0100 + + Add more /po files to the ignore list + + .gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit 94c17dba51d9836c0add5f0b4bbd5b2306bfda8a +Author: Emmanuele Bassi +Date: Wed Sep 8 12:23:50 2010 +0100 + + build: Update autogen.sh + + Remove the fix-ups for shave and gtk-doc with libtool 1.5: we don't use + shave any more, and we require libtool 2.2. + + Also remove the unnecessary autopoint: we use autoreconf, which calls it + automatically. + + autogen.sh | 14 ++------------ + 1 file changed, 2 insertions(+), 12 deletions(-) + +commit dfca349bbe8219d03db16cf7bc2d7e39cd4275f2 +Author: Emmanuele Bassi +Date: Wed Sep 8 12:22:58 2010 +0100 + + build: Bump gettext version + + Apparently, gettext can only work with the same exact version it's + autogenerated from. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dc8c7be7f0680095e6e507f05e01939d161e84e5 +Author: Emmanuele Bassi +Date: Wed Sep 8 11:56:06 2010 +0100 + + Ignore more files under /po + + .gitignore | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 4fedbad24e4ec434236b7b6c7f73421bd59c2130 +Author: Emmanuele Bassi +Date: Wed Sep 8 11:53:07 2010 +0100 + + Update ignore files for m4 macros + + .gitignore | 4 ++++ + 1 file changed, 4 insertions(+) + +commit a9e29e6fbafd073e78e19a74577b0d3d631a2214 +Author: Emmanuele Bassi +Date: Wed Sep 8 11:50:09 2010 +0100 + + Add Makevars + + po/Makevars | 41 +++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 41 insertions(+) + +commit 98cac30d82299b3739f3801f71b5e2e931eb2e8d +Author: Javier Jardón +Date: Wed Sep 8 00:35:06 2010 +0200 + + build: Use upstream gettext instead the glib one + + Fixes http://bugzilla.clutter-project.org/show_bug.cgi?id=2300 + + autogen.sh | 2 + + clutter/Makefile.am | 1 + + configure.ac | 5 +- + po/Makefile.in.in | 264 ---------------------------------------------------- + 4 files changed, 6 insertions(+), 266 deletions(-) + +commit c4ca75350f54160482db2081219b9d8a77820f84 +Author: Owen W. Taylor +Date: Tue Sep 7 19:56:42 2010 -0400 + + introspection: Fix annotation for clutter_container_get_children() + + (element-type) should have a full name like Clutter.Actor rather than + a non-namespaced name like Actor. gobject-introspection has become + more strict about this with the recent scanner rewrite. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2301 + + clutter/clutter-container.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5e57539f3bdcb4d6004c3bcc9177706b175c500d +Author: Emmanuele Bassi +Date: Tue Sep 7 21:10:40 2010 +0100 + + build: Update introspection.m4 + + build/autotools/introspection.m4 | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit e678c746daf0ccd740328cae01feb5efa53f012c +Author: Emmanuele Bassi +Date: Tue Sep 7 16:17:51 2010 +0100 + + build: Add escaping in AS_IF() + + Based on a patch by: Owen W. Taylor + + configure.ac | 21 ++++++++++----------- + 1 file changed, 10 insertions(+), 11 deletions(-) + +commit 287b3ba542080dd4466060d05ac153dbec8dcde6 +Author: Emmanuele Bassi +Date: Tue Sep 7 15:23:35 2010 +0100 + + Makefile.am.enums: Forgot an AM_V_GEN + + build/autotools/Makefile.am.enums | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 368b24b42054599e36c1e5125f84a2d032fd3377 +Author: Emmanuele Bassi +Date: Tue Sep 7 14:47:59 2010 +0100 + + build: Fix up rules for enums and marshallers + + • Use addprefix instead of manually concatenating $(srcdir) + • Use AM_V_GEN instead of QUIET_GEN, to avoid inter-dependencies + • Do basic checks on GLIB_MKENUMS and GLIB_GENMARSHAL being defined + • Do checks on the required variables being defined + + build/autotools/Makefile.am.enums | 26 +++++++++++++++++--------- + build/autotools/Makefile.am.marshal | 21 ++++++++++++++------- + 2 files changed, 31 insertions(+), 16 deletions(-) + +commit d7e5e9247bd5af2267a52087b74bbf4d2e17974f +Author: Damien Lespiau +Date: Tue Sep 7 14:17:18 2010 +0100 + + build: Make the generated glib-mkenums c file depend on the headers + + What happens now if you rename an enum inside a header: + + • glib-mkenums generates the header file + • a comparison is made with the previous version of the heade is made + and no difference is found as you don't remove or create enums + • the compilation of the generated mkenums c file fails because it has + not been regenerated with the new, renamed, enum. + + That's why the generated clutter-enum-types.c needs to depend on the + headers too. + + Of course such scenario should not happen in stable releases as enums + are part of the API, but renaming enums happens in the development cycle + and create compilation errors (very annoying when doing git bissects for + instance). + + build/autotools/Makefile.am.enums | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1eae9fcd7edd3f8e330cd4be691e62fe759b67ec +Author: Henrik Hedberg +Date: Fri Sep 3 20:00:40 2010 +0300 + + drag-action: Added x-drag-threshold and y-drag-threshold properties + + *** This is an API change *** + + Replaced the original drag-threshold property with two separate + horizontal (x-drag-threshold) and vertical (y-drag-threshold) + thresholds. + + It is some times necessary to have different drag thresholds for the + horizontal and vertical axes. For example, when a draggable actor is + inside a horizontal scrolling area, only vertical movement must begin + dragging. That can be achieved by setting the x-drag-threshold to + G_MAXUINT while y-drag-threshold is something usual, say, 20 pixels. + + This is different than drag axis, because after the threshold + has been cleared by the pointer, the draggable actor can be dragged + along both axes (if allowed by the drag-axis property). + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2291 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-drag-action.c | 124 +++++++++++++++++++++++++++++++----------- + clutter/clutter-drag-action.h | 7 ++- + tests/interactive/test-drag.c | 19 +++++-- + 3 files changed, 110 insertions(+), 40 deletions(-) + +commit ba9aa3b332cd8f6bd57983a5dfbb6a24e8fd8ad9 +Author: Emmanuele Bassi +Date: Mon Sep 6 18:08:44 2010 +0100 + + texture: Move the material unref() in ::dispose + + clutter/clutter-texture.c | 28 +++++++++++++++------------- + 1 file changed, 15 insertions(+), 13 deletions(-) + +commit 128e981f6cf6e9a5b32da1b908d83f6c01d384fa +Author: Emmanuele Bassi +Date: Mon Sep 6 17:50:57 2010 +0100 + + texture: Do some more validation in get_cogl_texture() + + Check the layer type, even though right now we only have one type + available. + + clutter/clutter-texture.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 7e56a98413817479d0501ce8af9fad3e6411104d +Author: Emmanuele Bassi +Date: Thu Sep 2 14:48:30 2010 +0100 + + texture: Use a base material for all instances + + Creating new materials for every Texture instance results in a lot of + ARBfp programs being generated/compiled. Since most textures will just + be similar we should create a template material for all of them, and + then copy it in every instance. Cogl will try to optimize the generation + of the program and, hopefully, will reuse the same program most of the + time. + + With this change, a simple test shows that loading 48 textures will + result in just two programs being compiled - with and without batching + enabled. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2295 + + clutter/clutter-texture.c | 19 +++++++++++-- + tests/interactive/Makefile.am | 1 + + tests/interactive/test-texture-material.c | 47 +++++++++++++++++++++++++++++++ + 3 files changed, 65 insertions(+), 2 deletions(-) + +commit 283dce8e21b58bd769e923e9239d5607b820ddd9 +Author: Emmanuele Bassi +Date: Mon Sep 6 18:07:07 2010 +0100 + + material: Check before unreferencing a texture + + When disposing a material layer of type 'texture' we should check that + the texture handle is still valid before calling cogl_handle_unref(). + This avoids an assertion failure when disposing a ClutterTexture. + + clutter/cogl/cogl/cogl-material.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit b4120b81e4a472fff5f7388b4cfc8f717ecc23f0 +Author: Emmanuele Bassi +Date: Mon Sep 6 16:11:46 2010 +0100 + + Add some more introspection annotations + + clutter/clutter-main.c | 6 +++--- + clutter/clutter-offscreen-effect.c | 4 +++- + clutter/cogl/cogl/cogl-material.h | 2 +- + clutter/cogl/cogl/cogl-offscreen.h | 11 ++++++----- + clutter/cogl/cogl/cogl-types.h | 2 +- + 5 files changed, 14 insertions(+), 11 deletions(-) + +commit 070e239b6d887d43ff57320b7e325c8d689ce0ef +Author: Emmanuele Bassi +Date: Fri Sep 3 17:15:22 2010 +0100 + + docs: Fix up the Cogl API reference build + + doc/reference/cogl/Makefile.am | 41 ++++++++++++++++++++++--------------- + doc/reference/cogl/cogl-docs.xml.in | 2 +- + 2 files changed, 25 insertions(+), 18 deletions(-) + +commit 7abe63953ef95eb197fe8e0069b5ddeb078f2ffd +Author: Emmanuele Bassi +Date: Fri Sep 3 16:56:12 2010 +0100 + + cogl-shader: Add deprecation guards for cogl_program_uniform_* + + clutter/cogl/cogl/cogl-shader.h | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +commit abef73bb58aa69ec63ebe2dbaed959da7dec0bb5 +Author: Emmanuele Bassi +Date: Fri Sep 3 16:55:12 2010 +0100 + + Replace cogl_color_set_from_* with cogl_color_init_from_* + + The former is not yet "officially" deprecated by the latter, but it's + confusing to have them both in the code base. + + clutter/clutter-deform-effect.c | 2 +- + clutter/clutter-main.c | 2 +- + clutter/clutter-offscreen-effect.c | 2 +- + clutter/clutter-page-turn-effect.c | 2 +- + clutter/clutter-stage.c | 36 ++++++++++++------------- + clutter/clutter-text.c | 10 +++---- + clutter/clutter-texture.c | 12 ++++----- + clutter/cogl/cogl/cogl-material.c | 4 +-- + clutter/cogl/cogl/cogl.c | 6 ++--- + clutter/cogl/pango/cogl-pango-display-list.c | 10 +++---- + clutter/cogl/pango/cogl-pango-render.c | 10 +++---- + doc/cookbook/examples/text-shadow.c | 2 +- + doc/cookbook/examples/textures-crossfade-cogl.c | 2 +- + doc/cookbook/examples/textures-reflection.c | 4 +-- + doc/cookbook/textures.xml | 4 +-- + tests/conform/test-cogl-backface-culling.c | 2 +- + tests/conform/test-cogl-blend-strings.c | 4 +-- + tests/conform/test-cogl-materials.c | 2 +- + tests/conform/test-cogl-viewport.c | 2 +- + tests/interactive/test-box-layout.c | 2 +- + tests/interactive/test-cogl-tex-polygon.c | 10 +++---- + 21 files changed, 64 insertions(+), 66 deletions(-) + +commit 0e2b0e496ee6b5f96e76e8dfa36dbf9a9b172de0 +Author: Emmanuele Bassi +Date: Fri Sep 3 16:52:06 2010 +0100 + + docs: Add annotation glossary to the Cogl API reference + + It's the only way to let gtk-doc know that we're using annotations in + the comments. + + doc/reference/cogl/cogl-docs.xml.in | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 0caef5c8aab1ad5b417375a8417cc26f40d4ac6f +Author: Emmanuele Bassi +Date: Fri Sep 3 16:10:44 2010 +0100 + + docs: Fixes for gtk-doc + + clutter/clutter-alpha.c | 4 ++-- + clutter/clutter-interval.c | 2 +- + clutter/cogl/cogl/cogl-matrix.h | 8 ++++---- + doc/reference/clutter/clutter-sections.txt | 2 ++ + 4 files changed, 9 insertions(+), 7 deletions(-) + +commit b06b7109d6498f6d9f4083fd2464aca9d1c443b2 +Author: Emmanuele Bassi +Date: Fri Sep 3 15:53:52 2010 +0100 + + docs: Update NEWS + + NEWS | 1 + + 1 file changed, 1 insertion(+) + +commit 7fee8cf26a07a41910ca730a4c22b61ddbc1e372 +Author: Emmanuele Bassi +Date: Fri Sep 3 15:44:03 2010 +0100 + + cookbook: Add a short introduction for the Text chapter + + doc/cookbook/text.xml | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +commit 655c60aaa9d90aeed6869faf9c0209006aa0cd61 +Author: Elliot Smith +Date: Fri Sep 3 14:31:44 2010 +0100 + + cookbook: Added recipe for complex animation + + Uses ClutterAnimator to implement a reasonably complex + animation of a single actor (movement along a path with + simultaneous scaling). + + Provides a metaphor for thinking about ClutterAnimator + animations (stage directions) and explains keys and key + frames in some depth. Also compares ClutterAnimator + with other possible approaches to this type of animation + (implicit animations, ClutterState). + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/animations.xml | 427 +++++++++++++++++++++++++++++ + doc/cookbook/videos/animations-complex.ogv | Bin 0 -> 34212 bytes + 3 files changed, 428 insertions(+) + +commit 60ff660d421fd5aeefd18978cecaac60b6c13d88 +Author: Elliot Smith +Date: Fri Sep 3 11:56:33 2010 +0100 + + cookbook: Added a second example to show "overlapping" transitions + + Added another JSON example to show how transitions can + be easily overlapped when using ClutterAnimator (two + sequences of 5 transitions, simultaneous with two + sequences of 1 transition). + + Modified the C JSON loader program so it can be used with + this example as well. + + .../examples/animations-complex-overlapping.json | 80 ++++++++++++++++++++++ + doc/cookbook/examples/animations-complex.c | 9 ++- + 2 files changed, 87 insertions(+), 2 deletions(-) + +commit c0aa72a04259564d462ca4b80e080eacac885ecd +Author: Elliot Smith +Date: Wed Sep 1 18:02:07 2010 +0100 + + cookbook: Added complex animations example + + To support recipe about using ClutterAnimator to create + complex animations. + + doc/cookbook/examples/Makefile.am | 2 + + doc/cookbook/examples/animations-complex.c | 64 +++++++++++++++++++++ + doc/cookbook/examples/animations-complex.json | 80 +++++++++++++++++++++++++++ + 3 files changed, 146 insertions(+) + +commit 9210c46730fa839c0e050a8be4ff04979730932c +Author: Emmanuele Bassi +Date: Fri Sep 3 14:05:20 2010 +0100 + + docs: Update NEWS + + NEWS | 27 +++++++++++++++++++++++++++ + 1 file changed, 27 insertions(+) + +commit 6c1559b6113d5eaa1f4b96110d365b7142d7de04 +Author: Emmanuele Bassi +Date: Fri Sep 3 13:55:07 2010 +0100 + + build: Allow disabling linking with -Bsymbolic + + Some debugging tools might require full visibility for the Clutter + symbols; for this reason, and to match what the Clutter dependencies + already allow, we should provide a configure switch to disable linking + with the -Bsymbolic flag. + + README | 3 +++ + configure.ac | 35 ++++++++++++++++++++++------------- + 2 files changed, 25 insertions(+), 13 deletions(-) + +commit 3e74f42f07c0d4a5f830a49274cfe9a78268217f +Author: Emmanuele Bassi +Date: Fri Sep 3 12:14:50 2010 +0100 + + introspection: Add annotations + + Reduce the amount of warnings coming from g-ir-scanner. + + clutter/clutter-actor.c | 9 +++++---- + clutter/clutter-alpha.c | 4 +++- + clutter/clutter-animator.c | 4 +++- + clutter/clutter-behaviour.c | 2 +- + clutter/clutter-box.c | 4 +++- + clutter/clutter-container.c | 4 ++-- + clutter/clutter-event.c | 4 +++- + clutter/clutter-interval.c | 4 ++-- + clutter/clutter-layout-manager.c | 6 ++++-- + clutter/clutter-main.c | 2 +- + clutter/clutter-path.c | 2 +- + clutter/clutter-script.c | 3 ++- + clutter/clutter-shader.c | 12 +++++++++--- + clutter/clutter-state.c | 12 ++++++++---- + clutter/clutter-texture.c | 16 +++++++++------- + clutter/clutter-timeline.c | 9 +++++---- + 16 files changed, 61 insertions(+), 36 deletions(-) + +commit 67792b875038fbe4a4fbc339f463ee73ac811c40 +Author: Emmanuele Bassi +Date: Fri Sep 3 11:33:20 2010 +0100 + + docs: Update the dependencies + + We depend on G-I 0.9.5 after the latest slew of changes. + + We also depend on UProf 0.3. + + README | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 710c7aed400eb320581f160dc9cd0f4cba8676a8 +Author: Emmanuele Bassi +Date: Fri Sep 3 11:09:57 2010 +0100 + + build: Use Makefile.introspection + + Whenever possible, instead of writing our own rules for generating GIR + files and typelibs. + + clutter/Makefile.am | 103 ++++++++++++++++-------------------------- + clutter/cogl/cogl/Makefile.am | 36 +++++++-------- + clutter/json/Makefile.am | 41 +++++++++-------- + configure.ac | 23 ++++------ + 4 files changed, 89 insertions(+), 114 deletions(-) + +commit f7854dd90ffe22a08b2e182e10484320f360b2c9 +Author: Colin Walters +Date: Thu Sep 2 11:45:42 2010 -0400 + + introspection: Build fixes + + This patch merges in substantial work from + Emmanuele Bassi + + * Use new introspection --include-uninstalled API since we don't want + to try to find the clutter-1.0.pc file before it's installed. + * Use --pkg-export for Clutter-1.0.gir, since we want the .gir file to + contain the associated pkg-config file. + * Drop the use of --pkg for dependencies; those come from the associated + .gir files. (Actually, --pkg is almost never needed) + * Add --quiet + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2292 + + clutter/Makefile.am | 34 +++++++++++++--------------------- + clutter/cogl/cogl/Makefile.am | 2 +- + clutter/json/Makefile.am | 3 +-- + configure.ac | 2 +- + 4 files changed, 16 insertions(+), 25 deletions(-) + +commit 24b12d626c3afdaa94b4119e218cf5b7436d0478 +Author: Damien Lespiau +Date: Thu Sep 2 16:22:45 2010 +0100 + + cex100: Remove C99-ism + + We were declaring a variable in the middle of the code. Blasphemy, for + non-c99 compilers. + + clutter/egl/clutter-backend-cex100.c | 33 +++++++++++++++++---------------- + 1 file changed, 17 insertions(+), 16 deletions(-) + +commit 0216f0b2810f6c3f7db2b7ad615a9e259ab7059f +Author: Damien Lespiau +Date: Thu Sep 2 16:20:10 2010 +0100 + + cex100: Use % not # to document constants + + gtk-doc contants should be prefixed by %, not # (types). + + clutter/egl/clutter-cex100.h.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0a0a59cf7bdc5d4ee3639923f19cb57bf666815b +Author: Damien Lespiau +Date: Sat Aug 28 12:06:11 2010 +0100 + + cex100: Add an API to configure the buffering mode of the GDL plane + + GDL planes can be double or triple buffered. Let the user choose between + the two modes befored initalizing Clutter. + + clutter/egl/clutter-backend-cex100.c | 21 +++++++++++---------- + clutter/egl/clutter-cex100.h.in | 27 +++++++++++++++++++++++++++ + doc/reference/clutter/clutter-sections.txt | 2 ++ + 3 files changed, 40 insertions(+), 10 deletions(-) + +commit 01fcd11efd0f02833370901dc47d042dc067627a +Author: Damien Lespiau +Date: Sat Aug 28 10:43:39 2010 +0100 + + cex100: Add an API to configure the GDL plane to use + + Intel CE3100 and CE4100 have several planes (framebuffers) and a + hardware blender to blend the planes togeteher to produce the final + image. + + clutter_cex100_set_plane() lets you configure which framebuffer clutter + will use for its rendering. + + .gitignore | 1 + + clutter/egl/Makefile.am | 1 + + clutter/egl/clutter-backend-cex100.c | 35 ++++++++++++++++ + clutter/egl/clutter-cex100.h.in | 64 ++++++++++++++++++++++++++++++ + configure.ac | 3 ++ + doc/reference/clutter/Makefile.am | 2 + + doc/reference/clutter/building-clutter.xml | 2 +- + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 6 +++ + 9 files changed, 114 insertions(+), 1 deletion(-) + +commit 70dc3ecbd6986b0f9ded6ec9c7d4634dda5c5465 +Author: Damien Lespiau +Date: Fri Aug 27 16:19:00 2010 +0100 + + egl: Fix the installed headers + + • Use the public COGL_HAS_GLES[12] define instead of the HAVE_COGL_* + ones which are private and defined in config.h, + • Install clutter-egl-headers.h which is needed by clutter-egl.h, + • Remove clutter-stage.h as it's uneeded and does not work since the + single clutter.h include policy, + • Install the egl headers into their own egl directory as the x11 and + glx backends do. The include should then be , + so document it. It does not really break anything as nobody could + have used those broken headers. + + clutter/egl/Makefile.am | 4 ++-- + clutter/egl/clutter-egl-headers.h | 12 +++++++----- + clutter/egl/clutter-egl.h | 6 ++++-- + 3 files changed, 13 insertions(+), 9 deletions(-) + +commit e1e5db00327db6d37850aaad7bb8fb42ffe29e57 +Author: Damien Lespiau +Date: Thu Aug 12 09:25:17 2010 -0400 + + cex100: Add a Clutter EGL backend for CE3100/CE4100 SoCs + + Intel CE3100 and CE4100 SoCs are designed for TVs. They have separate + framebuffers that are blended together by a piece of hardware to make + the final output. The library that allows you to initialize and + configure those planes is called GDL. A EGL GDL winsys can then be + use with those planes as NativeWindowType to select which plane to use. + + This patch adds a new ClutterBackendCex100 backend that can be + selected at compile time with the new --with-flavour=cex100 option. + + clutter/cogl/cogl/Makefile.am | 4 + + clutter/egl/Makefile.am | 3 + + clutter/egl/clutter-backend-cex100.c | 332 +++++++++++++++++++++++++++++++++++ + clutter/egl/clutter-backend-cex100.h | 60 +++++++ + clutter/egl/clutter-backend-egl.c | 2 + + configure.ac | 49 +++++- + 6 files changed, 449 insertions(+), 1 deletion(-) + +commit af983faccd6fc91ea328d19ace2bb61df2c0f9fd +Author: Damien Lespiau +Date: Thu Aug 12 09:05:01 2010 -0400 + + egl: Fix compilation for EGL native + + Some minor fixes here and there: missing include, wrongly placed #endif, + unused variable warning fixes, missing #ifdef. + + Make ClutterStageEGL a subclass of either ClutterStageX11 or GObject + depending if you compile with X11 support (EGLX) or not (native). + + clutter/cogl/cogl/cogl-material-glsl.c | 1 + + clutter/egl/clutter-backend-egl.c | 1 - + clutter/egl/clutter-stage-egl.h | 18 +++++++++++++++--- + 3 files changed, 16 insertions(+), 4 deletions(-) + +commit 12a5bf2e06114e60e8286ee7fd75e73ce16f487c +Author: Emmanuele Bassi +Date: Wed Sep 1 17:56:15 2010 +0100 + + offscreen-effect: Rename create_target to create_buffer + + *** This is an API change *** + + The create_target() virtual function should return a CoglHandle to a + texture; clutter_offscreen_effect_get_target(), instead, returns a + CoglMaterial to be painted in the implementation of the paint_target() + virtual function. + + Instead of equating textures with materials, and confusing the user of + the API, we should mark the difference more prominently. + + First of all, we should return a CoglMaterial* (now that we have that + as a public type) in get_target(); having handles all over the place + does not make it easier to distinguish the semantics of the virtual + functions. + + Then we should rename create_target() to create_texture(), to make it + clear that what should be returned is a texture that is used as the + backing for the offscreen framebuffer. + + clutter/clutter-offscreen-effect.c | 45 ++++++++++++++++-------------- + clutter/clutter-offscreen-effect.h | 14 +++++----- + doc/reference/clutter/clutter-sections.txt | 2 +- + 3 files changed, 32 insertions(+), 29 deletions(-) + +commit 6c40b100839e3597e9ab5f1d3e32c9d42d1af87c +Author: Elliot Smith +Date: Tue Aug 31 14:39:03 2010 +0100 + + cookbook: Added recipe for signal handling in ClutterScript + + Added a recipe explaining how to connect signals to handlers + in the JSON definition used by ClutterScript; also shows + how to connect the signals in code once the JSON has been + loaded. + + Includes guidelines on writing handlers (i.e. need to use + -export-dynamic and non-static functions) and example + which connects a handler for motion events on a rectangle. + + doc/cookbook/script.xml | 266 ++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 266 insertions(+) + +commit a67111a17cf5427096272276c2117c9f8d92a978 +Author: Elliot Smith +Date: Fri Aug 27 16:31:00 2010 +0100 + + cookbook: Added example of connecting signals in ClutterScript + + To support recipe about connecting signals in script. + + doc/cookbook/examples/Makefile.am | 2 + + doc/cookbook/examples/script-signals.c | 91 +++++++++++++++++++++++++++++++ + doc/cookbook/examples/script-signals.json | 40 ++++++++++++++ + 3 files changed, 133 insertions(+) + +commit b369cb51dc24801dc6e1dd4db54691ff859db93f +Author: Emmanuele Bassi +Date: Sat Aug 28 21:21:08 2010 +0100 + + docs: Pass -DCOGL_ENABLE_EXPERIMENTAL_API when scanning + + doc/reference/cogl/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit be9dd6e7dac5711bd5cf0f225c0d4b151b851868 +Author: Emmanuele Bassi +Date: Sat Aug 28 21:18:12 2010 +0100 + + docs: Split x11-texture-pixmap in its own section + + doc/reference/clutter/clutter-sections.txt | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +commit a0c700b8d074dc0581cb7889c98e63e77a98439f +Author: Emmanuele Bassi +Date: Sat Aug 28 21:17:52 2010 +0100 + + docs: Fix up the main index of the Clutter API reference + + doc/reference/clutter/clutter-docs.xml.in | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +commit ac6256ae604ad1da05e719f8623b4650402245fb +Author: Emmanuele Bassi +Date: Sat Aug 28 21:17:23 2010 +0100 + + docs: Add @Title to the X11TexturePixmap gtk-doc section + + clutter/x11/clutter-x11-texture-pixmap.c | 1 + + 1 file changed, 1 insertion(+) + +commit 79a4dbb32908043223e0d5a085214850166124f5 +Author: Elliot Smith +Date: Fri Aug 27 15:29:09 2010 +0100 + + cookbook: Use nicknames for enumeration values + + GEnum nicknames can be used to set properties in JSON + definitions, so added a callout to the JSON example explaining + this, and showing how to derive the nickname for an enumeration + value. + + Modified the example code to use nicknames as well. + + doc/cookbook/examples/script-ui.json | 4 ++-- + doc/cookbook/script.xml | 27 +++++++++++++++++++++++++-- + 2 files changed, 27 insertions(+), 4 deletions(-) + +commit 2c3ca20cdc3299e239388f75b583e2afb7437b47 +Author: Elliot Smith +Date: Fri Aug 27 15:13:28 2010 +0100 + + cookbook: Don't use the default stage + + It's not necessary to use the default stage, so + don't encourage this in the JSON example. + + doc/cookbook/examples/script-ui.json | 1 - + doc/cookbook/script.xml | 6 ------ + 2 files changed, 7 deletions(-) + +commit 6db795baf634df0d5b8becc746c6c57c2ed0131a +Author: Elliot Smith +Date: Fri Aug 27 15:10:17 2010 +0100 + + cookbook: Mention nick names as possible values for enums + + As JSON can make use of nicknames for GEnum properties, + mentioned this in the table mapping C property values + to their JSON equivalents (as the nick name is a much + shorter and cleaner way of setting a property in JSON). + + doc/cookbook/script.xml | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit b532f9591786f4b5381269718e7e0d479ad58c4d +Author: Elliot Smith +Date: Fri Aug 27 11:20:29 2010 +0100 + + cookbook: Added introduction to and recipe on ClutterScript + + Wrote an introduction to using ClutterScript with JSON. Focus + is on explaining why you might want to use it, basic principles + of operation (with annotated JSON sample), and how to map + data types from C to JSON. + + Written simultaneously with a short recipe (uses the same sample + code) showing how to load a JSON file and retrieve objects + from it in code. + + doc/cookbook/script.xml | 394 +++++++++++++++++++++++++++++++++++++----------- + 1 file changed, 303 insertions(+), 91 deletions(-) + +commit 7900ac4dc7fb204c9f8a957f20ec445ef19f655d +Author: Elliot Smith +Date: Thu Aug 26 17:07:21 2010 +0100 + + cookbook: Added comments to script example + + Commented the ClutterScript example so it can be used + inline as part of the recipe, rather than as an + example in the appendix (it's too simple to warrant + a separate appendix). + + doc/cookbook/examples/script-ui.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 0fc1c8503b073491ca301c5551c515408a499052 +Author: Elliot Smith +Date: Thu Aug 26 12:51:33 2010 +0100 + + cookbook: Added first draft of script introduction + + New script chapter needs an introduction. + + While writing the introduction, also slightly changed the + emphasis of the recipe (towards refactoring an existing + application to use ClutterScript) and incorporated example + code into documentation. + + doc/cookbook/script.xml | 205 +++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 196 insertions(+), 9 deletions(-) + +commit ce3a3d4404830cc951dc14660aa5c846ec3f8727 +Author: Elliot Smith +Date: Thu Aug 26 12:49:59 2010 +0100 + + cookbook: Use text for callouts in documentation + + Set a parameter on the XSLT transform so that callout elements + are rendered as text rather than graphics (removes the need + to add callout graphics to the build). + + doc/cookbook/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit fef53e1b287df0640e3395d082c7dcb84d8886b1 +Author: Elliot Smith +Date: Thu Aug 26 11:07:54 2010 +0100 + + cookbook: Added skeleton for script chapter of cookbook + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/clutter-cookbook.xml.in | 1 + + doc/cookbook/script.xml | 45 ++++++++++++++++++++++++++++++++++++ + 3 files changed, 47 insertions(+) + +commit 27d9825abe50d5fc38788c1c47f4a28b5225f098 +Author: Elliot Smith +Date: Thu Aug 26 10:52:12 2010 +0100 + + cookbook: Simplified ClutterScript example + + There was too much in the example code to cover in a single + recipe, so I trimmed it down to demonstrate simple + UI building (no constraints, effects, animations, or signals). + + doc/cookbook/examples/script-ui.c | 35 --------------- + doc/cookbook/examples/script-ui.json | 85 ++++-------------------------------- + 2 files changed, 8 insertions(+), 112 deletions(-) + +commit 4cba0cf3e82617e4cad0b4ab3813d5c6e6a5b715 +Author: Elliot Smith +Date: Wed Aug 25 17:53:46 2010 +0100 + + cookbook: Added ClutterScript example + + Added a simple script and program to load it, to support + recipe on ClutterScript for UI definitions. + + Also amended the Makefile (following the pattern of + the tests/interactive Makefile) to enable signal + connection from ClutterScript by passing -export-dynamic + to linker. + + doc/cookbook/examples/Makefile.am | 4 +- + doc/cookbook/examples/script-ui.c | 69 +++++++++++++++++++++++ + doc/cookbook/examples/script-ui.json | 104 +++++++++++++++++++++++++++++++++++ + 3 files changed, 176 insertions(+), 1 deletion(-) + +commit 88b026fa72eddcd1e9da817ddd50be3f0e037f6a +Author: Emmanuele Bassi +Date: Thu Aug 26 17:31:32 2010 +0100 + + test-actors: Name all the actors + + Makes it easier to debug events. + + tests/interactive/test-actors.c | 17 +++++++++++++---- + 1 file changed, 13 insertions(+), 4 deletions(-) + +commit 36d45b660fc86619345bfe4f2837037f3a164d5d +Author: Emmanuele Bassi +Date: Thu Aug 26 16:36:59 2010 +0100 + + click-action: Add get_button() + + Allow retrieving the pointer button that caused the ::clicked signal to + be emitted. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2287 + + clutter/clutter-click-action.c | 18 ++++++++++++++++++ + clutter/clutter-click-action.h | 6 ++++-- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 23 insertions(+), 2 deletions(-) + +commit 550d5ab621379f732958dda99da130a25ea6aa15 +Author: Emmanuele Bassi +Date: Thu Aug 26 16:36:06 2010 +0100 + + click-action: Fix the release() method name + + Documented and declared as release(), it's implemented as + force_release(). + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2286 + + clutter/clutter-click-action.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 870e7ddfadaff366ca02e28cc464e704b77b3430 +Author: Bastian Winkler +Date: Tue Aug 24 12:13:30 2010 +0200 + + test-script-parser: Add a second child to the container + + The script parser won't apply child and layout properties correctly with + more than one children. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2285 + + Signed-off-by: Emmanuele Bassi + + tests/conform/test-script-parser.c | 27 ++++++++++++++++++++++----- + tests/data/test-script-layout-property.json | 7 ++++++- + 2 files changed, 28 insertions(+), 6 deletions(-) + +commit cb58f1f68cb3863a948f5e85db58d437d45ee091 +Author: Bastian Winkler +Date: Tue Aug 24 12:16:50 2010 +0200 + + script-parser: Apply child and layout properties to the right actor + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2285 + + Signed-off-by: Emmanuele Bassi + + clutter/clutter-script-parser.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +commit 2e12768e3c84eb67948df1af1c89cb0011403d88 +Author: Neil Roberts +Date: Tue Aug 24 20:00:04 2010 +0100 + + win32: Fix the check for the 'IN_DESTRUCTION' flag + + Commit eae45619299 tried to clean how it checks for the private actor + flags. However the check for the 'IN_DESTRUCTION' flag in the Win32 + backend got inverted so it would always clear the current + context. This was causing _cogl_check_driver_valid to fail later and + then the realize would get stuck in a infinite loop. + + clutter/win32/clutter-backend-win32.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 04d55107f380340ce22fbb56a3c87cf7576524db +Author: Øyvind Kolås +Date: Tue Aug 17 13:22:08 2010 +0100 + + state: clutter_state_remove_key_internal fix memory corruption + + When we free a state because there are no more keys with it as a target use a + goto to re-initialize temporary variables that have become invalid. + + Fixing bug #2273 + + clutter/clutter-state.c | 21 ++++++++++++++------- + 1 file changed, 14 insertions(+), 7 deletions(-) + +commit 66018a7035ccdc2422f8eef9a9523339fd6309be +Author: Neil Roberts +Date: Mon Aug 23 11:36:33 2010 +0100 + + Invert the check for whether to clip the pick + + In 965907deb3f9e the picking was changed to render the full stage + instead of a single pixel whenever picking is performed more than once + between paints. However the condition in the if-statement was + backwards so it would end up always doing a full stage render. + + clutter/clutter-main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ddd08ba72364d14c0ca291981a231f4add3d62a5 +Author: Neil Roberts +Date: Mon Aug 23 11:33:22 2010 +0100 + + Add some debugging notes for picking + + This adds a new CLUTTER_DEBUG option for picking. Currently this just + reports the position for each pick and whether it is clipped or not. + + clutter/clutter-debug.h | 3 ++- + clutter/clutter-main.c | 7 +++++++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +commit 12e58c78132766ff4eb3e4c471a32d9e8ef95585 +Author: Alexandros Frantzis +Date: Fri Aug 13 17:48:30 2010 +0300 + + Hide internal glx and egl(x) backend symbols. + + The glx and egl(x) backends export some internal symbols. Hide these + symbols (using '_' prefix) to reduce ABI differentiation between the + glx and eglx flavours. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2267 + + Signed-off-by: Emmanuele Bassi + + clutter/egl/clutter-backend-egl.c | 22 +++++++++++----------- + clutter/egl/clutter-backend-egl.h | 4 ++-- + clutter/egl/clutter-stage-egl.c | 14 +++++++------- + clutter/egl/clutter-stage-egl.h | 6 +++--- + clutter/glx/clutter-backend-glx.c | 24 ++++++++++++------------ + clutter/glx/clutter-backend-glx.h | 4 ++-- + clutter/glx/clutter-event-glx.c | 2 +- + clutter/glx/clutter-event-glx.h | 2 +- + clutter/glx/clutter-stage-glx.c | 10 +++++----- + clutter/glx/clutter-stage-glx.h | 6 +++--- + 10 files changed, 47 insertions(+), 47 deletions(-) + +commit cda5afb41981e5402bfc4816e71f12b99eb820fc +Author: Emmanuele Bassi +Date: Fri Aug 20 17:03:06 2010 +0100 + + box-layout: Use the correct name for the arguments + + Since we're getting the preferred height for a given width, the width + argument should be named "for_width" and not "for_height". + + clutter/clutter-box-layout.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5f15a620a107847e0b26bab6cdd1c9d27cd3a243 +Merge: 81481cd80 444d31507 +Author: Emmanuele Bassi +Date: Fri Aug 20 15:24:42 2010 +0100 + + Merge remote branch 'elliot/cookbook-textures-crossfade' + + * elliot/cookbook-textures-crossfade: + cookbook: Use GdkPixbuf instead of getting data from a texture + cookbook: Added a recipe for cross-fading between two images + cookbook: Modified COGL example for consistency + cookbook: Added video of two texture cross-fade + cookbook: Removed unused constant + cookbook: Renamed front/back to top/bottom in cross-fade example + cookbook: Don't need to set keep-aspect-ratio for simple example + cookbook: Modified ordering of statements in cross-fade example + cookbook: Added a longer slideshow example + cookbook: Made code examples more consistent + cookbook: Added example code for texture cross-fading + Post-release version bump to 1.3.13 + Release Clutter 1.3.12 (developers snapshot) + + Conflicts: + doc/cookbook/examples/Makefile.am + +commit 81481cd80342614d0fe57ffa6d2bd46103602952 +Author: Elliot Smith +Date: Fri Aug 20 13:54:04 2010 +0100 + + cookbook: Added recipe for handling pointer events on an actor + + Added a recipe about handling enter, leave, and motion events + on an actor. + + Gives some pointers to data available from motion events, + explains a bit about stage-relative and actor-relative coords, + and covers how overlapping actors and reactivity of actors + can affect events occurring. + + Examples include a simple scribble app showing how to integrate + pointer events into a more useful context. + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/events.xml | 323 +++++++++++++++++++++ + .../images/events-pointer-motion-stacking.png | Bin 0 -> 1063 bytes + 3 files changed, 324 insertions(+) + +commit c480e5ec00d52b176bdda1b26d1dfee8aea3384f +Author: Elliot Smith +Date: Fri Aug 20 12:38:35 2010 +0100 + + cookbook: Added example to show how stacking affects pointer events + + Added another example (used for a screenshot) to demonstrate + how pointer events pass through non-reactive actors and how + depth ordering affects whether an actor will emit a pointer + motion signal. + + doc/cookbook/examples/Makefile.am | 2 + + .../examples/events-pointer-motion-stacked.c | 90 ++++++++++++++++++++++ + 2 files changed, 92 insertions(+) + +commit 526b438b3a4ebc446a1f986dcaeb759377462c18 +Author: Elliot Smith +Date: Fri Aug 20 11:25:40 2010 +0100 + + cookbook: Use get_coords rather than struct members + + Use clutter_event_get_coords() to get x and y position, + rather than casting to the right event type then directly + accessing members of the event struct. + + doc/cookbook/examples/events-pointer-motion.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit a4db7746f24280b26fed0b8caae0068cfe8d57b0 +Author: Elliot Smith +Date: Thu Aug 19 17:50:25 2010 +0100 + + cookbook: Made callback names more consistent + + Changed callback function names so they are more consistent + within this recipe and with other callback names used + in other recipes. + + .../examples/events-pointer-motion-crossing.c | 16 ++++++------- + .../examples/events-pointer-motion-scribbler.c | 28 +++++++++++----------- + doc/cookbook/examples/events-pointer-motion.c | 8 +++---- + 3 files changed, 26 insertions(+), 26 deletions(-) + +commit c1e2658104046d8895134df5b7519db26a491892 +Author: Elliot Smith +Date: Thu Aug 19 17:17:58 2010 +0100 + + cookbook: Added simple pointer motion example + + Added a simple pointer motion example which just reports on + the stage and actor-relative coordinates of the pointer + as it moves. + + doc/cookbook/examples/Makefile.am | 6 ++- + doc/cookbook/examples/events-pointer-motion.c | 56 +++++++++++++++++++++++++++ + 2 files changed, 60 insertions(+), 2 deletions(-) + +commit 7c196d31b4707322fc45b55106ded0e0daaacd40 +Author: Elliot Smith +Date: Thu Aug 19 16:53:27 2010 +0100 + + cookbook: Added scribble example for pointer motion recipe + + Simple scribbler application which demonstrates tracking + mouse enter and motion events on a texture, drawing with + COGL and ClutterPath as they occur. + + doc/cookbook/examples/Makefile.am | 2 + + .../examples/events-pointer-motion-scribbler.c | 160 +++++++++++++++++++++ + 2 files changed, 162 insertions(+) + +commit b648bff10c0e2c48f0707bfecd7ea7ae1acab2eb +Author: Elliot Smith +Date: Thu Aug 19 16:48:59 2010 +0100 + + cookbook: Renamed example for pointer crossing + + Decided might be better to cover crossing and motion under + a broader "pointer motion" recipe, so renamed the example + (which only shows pointer crossing event handling). + + doc/cookbook/examples/Makefile.am | 4 ++-- + .../{events-pointer-cross.c => events-pointer-motion-crossing.c} | 0 + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 72ddd471f04f663ce52fdb36347688a595cfa940 +Author: Elliot Smith +Date: Thu Aug 19 10:32:28 2010 +0100 + + cookbook: Added example for pointer cross recipe + + Code example demonstrates detecting pointers entering/leaving + an actor by implementing a (very) simple button with hover + effect. + + doc/cookbook/examples/Makefile.am | 2 + + doc/cookbook/examples/events-pointer-cross.c | 113 +++++++++++++++++++++++++++ + 2 files changed, 115 insertions(+) + +commit 213bd1eab4e0dfbb0c033c5d8d56eb6343e35876 +Author: Emmanuele Bassi +Date: Thu Aug 19 13:57:10 2010 +0100 + + debug: Add a macro for checking debug flags + + clutter/clutter-actor.c | 2 +- + clutter/clutter-debug.h | 79 +++++++++++++++++++++++++------------------------ + clutter/clutter-main.c | 2 +- + 3 files changed, 43 insertions(+), 40 deletions(-) + +commit 459a6bb24c880c21f71c37e99f04e801d117705d +Author: Emmanuele Bassi +Date: Thu Aug 19 12:10:43 2010 +0100 + + click-action: Add a method to force a release + + It can be useful to be able to forcibly break the grab set up by the + ClickAction. The newly added release() method provides a mechanism to + release the grab and unset the :held state of the ClickAction. + + clutter/clutter-click-action.c | 30 ++++++++++++++++++++++++++++++ + clutter/clutter-click-action.h | 3 ++- + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 33 insertions(+), 1 deletion(-) + +commit db7d821ef6e435b02a7a99c6f7f02df9bd3565b5 +Author: Emmanuele Bassi +Date: Thu Aug 19 11:26:51 2010 +0100 + + click-action: Add attribution + + The ClickAction semantics were inspired by the StClickable widget in the + GNOME Shell Toolkit (St). + + clutter/clutter-click-action.h | 3 +++ + 1 file changed, 3 insertions(+) + +commit 5ccaa61e4fcd527cfeeaded08a1e0311a5e6814e +Author: Robert Bragg +Date: Wed Aug 18 18:06:35 2010 +0100 + + docs: Clarifies that queue_redraw also applies to picking + + This clarifies the documentation for clutter_actor_queue_redraw to + explain that custom actors should call this whenever some private state + changes that affects painting *or* picking. + + clutter/clutter-actor.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit f8940e3c9a7d58df0a484d70d371983cc337bbec +Author: Robert Bragg +Date: Wed Aug 18 18:05:15 2010 +0100 + + clutter-texture: queue redraw when changing pick_with_alpha + + The expectation is that actors should call clutter_actor_queue_redraw + when ever some private state changes that affects painting *or* picking. + ClutterTexture was not doing this for pick_with_alpha property changes. + + clutter/clutter-texture.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 965907deb3f9e69cb459dd28af4074364a7b72f9 +Author: Robert Bragg +Date: Wed Aug 18 16:48:55 2010 +0100 + + Cache a full pick render if we have a static stage + + The idea is that if we see multiple picks per frame then that implies + the visible scene has become static. In this case we can promote the + next pick render to be unclipped so we have valid pick values for the + entire stage. Now we can continue to read from this cached buffer until + the stage contents do visibly change. + + Thanks to Luca Bruno on #clutter for this idea! + + clutter/clutter-actor.c | 12 ++++++++++ + clutter/clutter-main.c | 61 +++++++++++++++++++++++++++++++++++++++++++---- + clutter/clutter-private.h | 3 +++ + 3 files changed, 72 insertions(+), 4 deletions(-) + +commit c646a366c62ab6a07b8ae53c170db31ad5b3d7d3 +Author: Emmanuele Bassi +Date: Wed Aug 18 18:20:16 2010 +0100 + + actor: Ignore paint() on actors being destroyed + + OBVIOUS OPTIMIZATION IS OBVIOUS + + clutter/clutter-actor.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 56097df60cae9b665c9c6033bf7ad54751874e92 +Author: Emmanuele Bassi +Date: Wed Aug 18 18:20:04 2010 +0100 + + docs: Improve paint() documentation + + clutter/clutter-actor.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +commit 444d315078f41295c722bdf30c4b3ff92c89cf53 +Author: Elliot Smith +Date: Wed Aug 18 16:02:51 2010 +0100 + + cookbook: Use GdkPixbuf instead of getting data from a texture + + Rewrote example for single texture + COGL to use + a GdkPixbuf to load images, rather than reading data + out of another CoglTexture. + + The data is then loaded from the pixbuf to a region of + the CoglTexture (as before). + + doc/cookbook/textures.xml | 165 +++++++++++++++++++++++----------------------- + 1 file changed, 83 insertions(+), 82 deletions(-) + +commit c207820bef93bffede1733ef8c6586cda5095347 +Author: Elliot Smith +Date: Wed Aug 18 11:41:10 2010 +0100 + + cookbook: Added a recipe for cross-fading between two images + + The recipe covers a two texture approach (using the Clutter API) + and a single texture approach (using COGL). + + It also discusses issues with cross-fading between images of + different sizes with the COGL API, and gives a longer + example of cycling through multiple images in a slideshow + application. + + doc/cookbook/textures.xml | 535 ++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 535 insertions(+) + +commit c492faecb2fda5619fa26b4eb84e6ced7a103833 +Author: Elliot Smith +Date: Tue Aug 17 15:47:59 2010 +0100 + + cookbook: Modified COGL example for consistency + + Changed the stage size so the COGL API example for cross-fade + has a stage the same size as the two texture example. + + doc/cookbook/examples/textures-crossfade-cogl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e54d3e716b5f9a00d59a006e70926d5fe31fd4a3 +Author: Elliot Smith +Date: Tue Aug 17 15:46:48 2010 +0100 + + cookbook: Added video of two texture cross-fade + + Added a video showing the two texture cross-fade. + + Modified the example code to animate on key press, so + this video could be captured. + + Also altered the stage size to minimise the video size. + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/examples/textures-crossfade.c | 21 +++++++++++++++++---- + .../videos/textures-crossfade-two-textures.ogv | Bin 0 -> 81903 bytes + 3 files changed, 18 insertions(+), 4 deletions(-) + +commit 0486c56a41870ac1ebb3a0200060fb80282a1f25 +Author: Elliot Smith +Date: Tue Aug 17 14:54:32 2010 +0100 + + cookbook: Removed unused constant + + doc/cookbook/examples/textures-crossfade.c | 2 -- + 1 file changed, 2 deletions(-) + +commit 8c0c2924ae467d265aabf7b7c472eb0474c459e7 +Author: Elliot Smith +Date: Tue Aug 17 11:51:33 2010 +0100 + + cookbook: Renamed front/back to top/bottom in cross-fade example + + Front/back seems like the wrong terminology when discussing + actors arranged in layers. Top/bottom fits better with Clutter + API function names and other recipes, so renamed variables. + + .../examples/textures-crossfade-slideshow.c | 44 +++++++++++----------- + doc/cookbook/examples/textures-crossfade.c | 38 +++++++++---------- + 2 files changed, 41 insertions(+), 41 deletions(-) + +commit 1e4578d1dd6dc7d638ac2d4902e303d07504039f +Author: Elliot Smith +Date: Tue Aug 17 11:20:20 2010 +0100 + + cookbook: Don't need to set keep-aspect-ratio for simple example + + doc/cookbook/examples/textures-crossfade.c | 3 --- + 1 file changed, 3 deletions(-) + +commit 1b2606a850288b2f8f943ae2e433b14e34a944f7 +Author: Elliot Smith +Date: Tue Aug 17 10:56:06 2010 +0100 + + cookbook: Modified ordering of statements in cross-fade example + + Changed the order of statements in the sample code to match + the order they will be explained in the walk-through in the recipe. + + doc/cookbook/examples/textures-crossfade.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit e332236b87871b09922ab3ada1a2a5726d06130a +Author: Elliot Smith +Date: Mon Aug 16 16:39:13 2010 +0100 + + cookbook: Added a longer slideshow example + + Cross-fading between two images is straightforward, + but cycling between more than two is more efficient + if done by copying COGL textures between the + two textures, rather than trying to reposition the + textures. + + The example demonstrates how to reuse a pair of + textures to cycle through multiple images. + + doc/cookbook/examples/Makefile.am | 2 + + .../examples/textures-crossfade-slideshow.c | 182 +++++++++++++++++++++ + 2 files changed, 184 insertions(+) + +commit c230fd8dfdb43c98faa3147d2f669e0b5e44702b +Author: Elliot Smith +Date: Mon Aug 16 16:16:07 2010 +0100 + + cookbook: Made code examples more consistent + + Modified the code example for the Clutter API version + of the cross-fade to use the same command line + as the COGL version. + + This also simplifies the explanation in the recipe. + + Also made the COGL code sample more consistent with + the Clutter API code sample. + + doc/cookbook/examples/textures-crossfade-cogl.c | 17 +-- + doc/cookbook/examples/textures-crossfade.c | 184 ++++++++++-------------- + 2 files changed, 75 insertions(+), 126 deletions(-) + +commit 83a8d0b3bb2ad47db6afd32bd2aa503814486e07 +Author: Elliot Smith +Date: Thu Aug 12 17:39:59 2010 +0100 + + cookbook: Added example code for texture cross-fading + + Added simple image viewer which loads image file names + from a directory, displays the first one, then displays + the next in the list with each key press. Uses the + primitive fade front in/fade back out approach. + + Also adapted Emmanuele's example code which uses Cogl + to produce a similar effect, but within a single texture. + This code loads two images specified on the command + line and cross-fades between them. + + doc/cookbook/examples/Makefile.am | 4 + + doc/cookbook/examples/textures-crossfade-cogl.c | 174 ++++++++++++++++++++++++ + doc/cookbook/examples/textures-crossfade.c | 174 ++++++++++++++++++++++++ + 3 files changed, 352 insertions(+) + +commit dc7d62a42a9b111d03626a8bc72c956869f4b7b8 +Author: Emmanuele Bassi +Date: Mon Aug 16 13:37:57 2010 +0100 + + Post-release version bump to 1.3.13 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 6d751bf9514683a893668bc3b3822e433277a377 +Author: Emmanuele Bassi +Date: Mon Aug 16 13:23:43 2010 +0100 + + Release Clutter 1.3.12 (developers snapshot) + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ad0c36e1a1a0df5c0ff1f4449c54918e775e965d +Author: Emmanuele Bassi +Date: Tue Aug 17 14:54:20 2010 +0100 + + docs: Fixes to avoid gtk-doc warnings + + clutter/clutter-actor.c | 57 ++++++++++-------------------- + clutter/clutter-actor.h | 4 +-- + clutter/clutter-behaviour-path.c | 6 ++-- + clutter/clutter-colorize-effect.c | 2 +- + clutter/clutter-drag-action.c | 2 +- + clutter/clutter-script.c | 2 +- + doc/reference/clutter/clutter-docs.xml.in | 7 +++- + doc/reference/clutter/clutter-overview.xml | 23 ++++++++---- + 8 files changed, 48 insertions(+), 55 deletions(-) + +commit 50f4bfd7f72eb10f05506b9932785b5cded42aa7 +Author: Emmanuele Bassi +Date: Tue Aug 17 11:34:35 2010 +0100 + + build: Remove dolt remnants + + We don't use Dolt any more, since we depend on libtool 2.2. + + .gitignore | 2 - + Makefile.am | 2 +- + build/autotools/Makefile.am | 1 - + build/autotools/dolt.m4 | 178 -------------------------------------------- + 4 files changed, 1 insertion(+), 182 deletions(-) + +commit 06ecaa98f1f993239eebb7b74b3fa2ab5929a622 +Author: Emmanuele Bassi +Date: Mon Aug 16 16:33:32 2010 +0100 + + docs: Add :keep-aspect-ratio behaviour to the notes + + README | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 92b1a33eb313abdb9d84f6731deb84a12d61d5d0 +Author: Emmanuele Bassi +Date: Mon Aug 16 15:56:49 2010 +0100 + + texture: Default square textures to height-for-width + + Square textures should have a preferred geometry request set to + height-for-width, as it is the default for Clutter itself. + + clutter/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dc2aee43007bc4b154b5d819404071a35862c500 +Author: Emmanuele Bassi +Date: Mon Aug 16 13:37:57 2010 +0100 + + Post-release version bump to 1.3.13 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e75e6e0c97f2f9878dc348775cfe75651872e927 +Author: Emmanuele Bassi +Date: Mon Aug 16 13:23:43 2010 +0100 + + Release Clutter 1.3.12 (developers snapshot) + + NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 41 insertions(+), 1 deletion(-) + +commit fd6d6a93f1550f6c423d1dfc2d228ae7b1c87707 +Author: Emmanuele Bassi +Date: Mon Aug 16 13:23:10 2010 +0100 + + build: Fix distcheck errors + + tests/conform/Makefile.am | 4 +--- + tests/interactive/Makefile.am | 4 +--- + 2 files changed, 2 insertions(+), 6 deletions(-) + +commit 3142b15a9f4c77b2e3012013f174091b810d13ce +Author: Emmanuele Bassi +Date: Sun Aug 15 18:42:54 2010 +0100 + + build: Use maintainer-clean for the ignore files removal + + Instead of distclean. + + build/autotools/Makefile.am.gitignore | 11 +++++++---- + doc/cookbook/examples/Makefile.am | 2 -- + tests/conform/Makefile.am | 2 ++ + tests/interactive/Makefile.am | 2 ++ + tests/micro-bench/Makefile.am | 2 -- + 5 files changed, 11 insertions(+), 8 deletions(-) + +commit c4913bfce91be011618bca93e2177ebccef1e648 +Author: Emmanuele Bassi +Date: Sun Aug 15 18:33:10 2010 +0100 + + Revert "build: Distclean generated ignore files" + + Git ignore files are not dist'ed, so it's pointless to remove them on + distclean. + + This reverts commit f14587aadc428e5743d2b30e2a9f4bf51f1d1e05. + + tests/conform/Makefile.am | 2 +- + tests/interactive/Makefile.am | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit e43215a5c9331517de555e44ba1181ad42ed79bc +Author: Emmanuele Bassi +Date: Sat Aug 14 08:53:18 2010 +0100 + + build: Rule for quick publishing of the cookbook + + Just call `make publish`. + + doc/cookbook/Makefile.am | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 94c8635d0f4584ef81e565e7837bdeb0008e034e +Author: Emmanuele Bassi +Date: Sat Aug 14 08:43:16 2010 +0100 + + build: Autogenerate more ignore files + + The tests/accessibility, tests/micro-bench and the examples directory + in the coobook create a lot of non-installed binaries. Since we know who + they are, and we ignore them, we can auto-generate the ignore files as + well. + + The rest of Clutter is covered by the main ignore file. + + build/autotools/Makefile.am | 1 + + build/autotools/Makefile.am.gitignore | 21 +++++++++++++++++++++ + doc/cookbook/examples/.gitignore | 8 -------- + doc/cookbook/examples/Makefile.am | 4 ++++ + tests/accessibility/.gitignore | 5 ----- + tests/accessibility/Makefile.am | 4 ++++ + tests/micro-bench/.gitignore | 5 ----- + tests/micro-bench/Makefile.am | 3 +++ + 8 files changed, 33 insertions(+), 18 deletions(-) + +commit f14587aadc428e5743d2b30e2a9f4bf51f1d1e05 +Author: Emmanuele Bassi +Date: Fri Aug 13 18:35:35 2010 +0100 + + build: Distclean generated ignore files + + tests/conform/Makefile.am | 2 +- + tests/interactive/Makefile.am | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit a3bc2ebfa7cd4d62107ef56078b6973ff844e882 +Author: Emmanuele Bassi +Date: Fri Aug 13 18:32:10 2010 +0100 + + build: Make test-conform depend on Makefile changes + + tests/conform/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1e0a83b88139a13a8488bfe7000e0c459ccbad66 +Author: Emmanuele Bassi +Date: Fri Aug 13 18:31:44 2010 +0100 + + build: Autogenerate interactive/.gitignore + + Exactly like we did for conform/.gitignore + + tests/interactive/.gitignore | 73 ------------------------------------------- + tests/interactive/Makefile.am | 8 ++++- + 2 files changed, 7 insertions(+), 74 deletions(-) + +commit 7c412464c27e712654ca7aa9e16ebcdba8bc0e7f +Author: Emmanuele Bassi +Date: Fri Aug 13 18:22:12 2010 +0100 + + build: Generate the conformance/.gitignore file + + Since we are generating a lot of files that we should ignore, we should + generate the Git ignore file as well. + + tests/conform/.gitignore | 123 ---------------------------------------------- + tests/conform/Makefile.am | 7 +++ + 2 files changed, 7 insertions(+), 123 deletions(-) + +commit e888da21804809f7700b0932d0eb16727cf15d09 +Author: Emmanuele Bassi +Date: Fri Aug 13 18:15:01 2010 +0100 + + build: Split up the test-conformance SOURCES + + Having different sections should make it easier to add new test units to + the build. + + tests/conform/Makefile.am | 115 +++++++++++++++++++++++++++------------------- + 1 file changed, 68 insertions(+), 47 deletions(-) + +commit ff9a5a01b4bef60496cb27e645ac23c790267f98 +Author: Emmanuele Bassi +Date: Fri Aug 13 18:14:10 2010 +0100 + + clutter.modules: Remove deps on gir-repository + + Keep it in the moduleset, but don't let Clutter depend on it. + + build/clutter.modules | 4 ---- + 1 file changed, 4 deletions(-) + +commit a25cf14e978dd51034baf2d0cd4c1743c93a7774 +Author: Emmanuele Bassi +Date: Fri Aug 13 18:12:43 2010 +0100 + + Revert "clutter.modules: Remove deps on gir-repository" + + This reverts commit 0ce9cf730b2a8c3b3ac4786afee0579a3795fd9e. + + The commit contained unrelated changes + + build/clutter.modules | 4 ++ + tests/conform/Makefile.am | 115 +++++++++++++++++++--------------------------- + 2 files changed, 51 insertions(+), 68 deletions(-) + +commit 0ce9cf730b2a8c3b3ac4786afee0579a3795fd9e +Author: Emmanuele Bassi +Date: Fri Aug 13 18:09:28 2010 +0100 + + clutter.modules: Remove deps on gir-repository + + Keep it in the moduleset, but don't let Clutter depend on it. + + build/clutter.modules | 4 -- + tests/conform/Makefile.am | 115 +++++++++++++++++++++++++++------------------- + 2 files changed, 68 insertions(+), 51 deletions(-) + +commit 175b16a5c81faf12e204274e87c013e2c65a4030 +Author: Emmanuele Bassi +Date: Fri Aug 13 18:00:23 2010 +0100 + + clutter.modules: Add a gtk2 module for gtk+ 2.x + + Mx (and others) depend on gtk+ 2.x, and not on gtk+ 3.x. + + build/clutter.modules | 17 +++++++++++++++-- + 1 file changed, 15 insertions(+), 2 deletions(-) + +commit 271e0d960486acea896389b05ba521d569c7c83a +Author: Emmanuele Bassi +Date: Fri Aug 13 16:32:27 2010 +0100 + + animator: Plug some leaks + + clutter/clutter-animator.c | 20 +++++++------------- + 1 file changed, 7 insertions(+), 13 deletions(-) + +commit 12031ca2c5a52c574ba7c16a86b84e049b0cfb38 +Author: Robert Bragg +Date: Mon Aug 9 16:01:17 2010 +0100 + + material: Implements weak materials + + Weak materials are ones that don't take a reference on their parent and + they are associated with a callback that notifies when the material is + destroyed, because its parent was freed or modified. + + More details can be found at: + http://wiki.clutter-project.org/wiki/CoglDesign/CoglMaterial + + For now the concept is internal only but the plan is to make this public + at some point once we have tested the design internally. + + clutter/cogl/cogl/cogl-material-private.h | 142 ++++++++++++++++++++++ + clutter/cogl/cogl/cogl-material.c | 191 ++++++++++++++++++++++++------ + 2 files changed, 297 insertions(+), 36 deletions(-) + +commit 50c5ecfe87b3074d997799eb864fbd9c999cd6c7 +Author: Emmanuele Bassi +Date: Fri Aug 13 12:12:59 2010 +0100 + + state: Plug some memory leakage + + Thanks to Valgrind, test-state-base now reports 0 bytes definitely lost. + + clutter/clutter-state.c | 26 +++++++++++++++++--------- + tests/conform/test-state.c | 3 --- + 2 files changed, 17 insertions(+), 12 deletions(-) + +commit 6c6e93d27a0381ff07ecb9c37f1b0840682f359f +Merge: 12f248146 1ed5d5cab +Author: Emmanuele Bassi +Date: Thu Aug 12 18:29:08 2010 +0100 + + Merge remote branch 'elliot/cookbook-events-mouse-scroll' + + * elliot/cookbook-events-mouse-scroll: + cookbook: Cleaning up grammar and wording in mouse scroll recipe + cookbook: Added more explanation about setting y coord on scrollable + cookbook: Mentioned the animation in the sample code + cookbook: Included video of the scroll example running + cookbook: Made stage slightly smaller for scroll event example + cookbook: Added video showing scrollable actor + cookbook: Added walk through of code example for mouse scroll + cookbook: Fixed link to example in mouse scroll recipe + cookbook: Simplified full scroll example + cookbook: Improved wording and formatting in mouse scroll intro. + cookbook: Handle all possible mouse scroll directions + cookbook: Build mouse scroll example with cookbook + cookbook: Cleaned up redundant comments in code example + cookbook: Added xmlns for XInclude to events docbook file + cookbook: Added basic mouse scroll recipe + +commit 12f2481462df9d99114323dcf210a5219648cbee +Author: Neil Roberts +Date: Thu Aug 12 17:03:16 2010 +0100 + + docs: Update the build instructions in the reference + + This removes all references to SDL in the build instructions as the + backend is no longer available. The OpenGL version required is only + 1.2 not 1.4. The Windows build instructions were out of date and have + been replaced with a link to the wiki instead. + + doc/reference/clutter/building-clutter.xml | 44 ++++++++---------------------- + 1 file changed, 11 insertions(+), 33 deletions(-) + +commit daf6e739364282b77a66d7bf8abb4e90ada8c865 +Author: Emmanuele Bassi +Date: Thu Aug 12 17:06:29 2010 +0100 + + Remove last uses of cogl_program_uniform* + + Following the commits: + + c03544da - clutter-shader: use cogl_program_set_uniform_xyz API + a26119b5 - tests: Remove use of cogl_program_use + + Remove the users of cogl_program_uniform_* and cogl_program_use() in the + shader-based effects. + + clutter/clutter-blur-effect.c | 14 +++++++------- + clutter/clutter-colorize-effect.c | 10 ++++------ + clutter/clutter-desaturate-effect.c | 10 ++++------ + clutter/clutter-shader-effect.c | 31 +++++++++++++++++++------------ + 4 files changed, 34 insertions(+), 31 deletions(-) + +commit e016a62ab03e2d1683cc4d100ac6079fe7863788 +Author: Neil Roberts +Date: Thu Aug 12 16:56:28 2010 +0100 + + build/mingw/README: Replace with a link to the wiki + + The build instructions for MinGW have been moved to the wiki. + + build/mingw/README | 138 ++--------------------------------------------------- + 1 file changed, 3 insertions(+), 135 deletions(-) + +commit 01a72725997db93cbe0ef6a47c304d456ce96205 +Author: Robert Bragg +Date: Thu Aug 12 10:43:22 2010 +0100 + + cogl-shader: get_info_log should always use strdup + + In the case where there is no error log for arbfp we were returning a + "" string literal. The other paths were using g_strdup to return a + string that could be freed with g_free. This makes the arbfp path return + g_strdup ("") instead. + + clutter/cogl/cogl/cogl-shader.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit b50bdd791986d85a29c40c763b329b1347060769 +Author: Robert Bragg +Date: Thu Aug 12 10:40:39 2010 +0100 + + cogl-shader: correctly #ifdef guard an if else block + + There are quite a few if {} else {} blocks for dealing with arbfp else + glsl and the first block is guarded with #ifdef HAVE_COGL_GL. In this + case though the #endif was before the else so it wouldn't compile for + gles. + + clutter/cogl/cogl/cogl-shader.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 94692370d2a95b55cccee4c08887e2b4298e418c +Author: Robert Bragg +Date: Thu Aug 12 10:37:55 2010 +0100 + + material-glsl: #include "cogl-shader-private.h" + + We need to include cogl-shader-private.h to have the + COGL_SHADER_TYPE_GLSL define. When building for opengl this wasn't + noticed probably because some other header indirectly includes this + file. It was a problem when building for gles2 though. + + clutter/cogl/cogl/cogl-material-glsl.c | 1 + + 1 file changed, 1 insertion(+) + +commit a26119b5514655df5accd2f65cb0ee3ed242b4ea +Author: Robert Bragg +Date: Wed Aug 11 19:39:41 2010 +0100 + + tests: Remove use of cogl_program_use + + The removes the use of cogl_program_use which has been deprecated and + instead of using the cogl_program_uniform functions we now use the + cogl_program_set_uniform methods. + + tests/interactive/test-cogl-shader-arbfp.c | 5 +---- + tests/interactive/test-cogl-shader-glsl.c | 17 ++++++----------- + 2 files changed, 7 insertions(+), 15 deletions(-) + +commit c03544daa6778bb52c292b4333e62084b508f58d +Author: Robert Bragg +Date: Wed Aug 11 19:32:09 2010 +0100 + + clutter-shader: use cogl_program_set_uniform_xyz API + + Instead of using the deprecated cogl_program_uniform_xyz functions we + now use the cogl_program_set_uniform methods. It looks like this should + also fix a problem with clutter-shader too in that previously we weren't + calling cogl_program_use before cogl_program_uniform_xyz so setting + uniforms would only work while the shader is enabled. + + clutter/clutter-shader.c | 15 ++++++++++----- + 1 file changed, 10 insertions(+), 5 deletions(-) + +commit f03037d580e79d491fa965006cc379ad9f5c7ff6 +Author: Robert Bragg +Date: Wed Aug 11 19:18:14 2010 +0100 + + cogl-program: Adds use_uniform_xyz methods + + Instead of exposing an API that provides an OpenGL state machine style + where you first have to bind the program to the context using + cogl_program_use() followed by updating uniforms using + cogl_program_uniform_xyz we now have uniform setter methods that take an + explicit CoglHandle for the program. + + This deprecates cogl_program_use and all the cogl_program_uniform + variants and provides the following replacements: + cogl_program_set_uniform_1i + cogl_program_set_uniform_1f + cogl_program_set_uniform_int + cogl_program_set_uniform_float + cogl_program_set_uniform_matrix + + clutter/cogl/cogl/cogl-shader.h | 119 +++++++++++++++++++- + clutter/cogl/cogl/driver/gl/cogl-program.c | 157 +++++++++++++++++---------- + clutter/cogl/cogl/driver/gles/cogl-program.c | 127 ++++++++++++++++------ + doc/reference/cogl/cogl-sections.txt | 5 + + 4 files changed, 316 insertions(+), 92 deletions(-) + +commit 2f54f8f0ea5dd53dca495d44468beb3660e335b2 +Author: Damien Lespiau +Date: Thu Aug 12 10:36:04 2010 -0400 + + introspection: Use the --quiet flag conditionally + + --quiet has been added to g-ir-scanner in the 0.9.1 cycle. We really + want to be able to compile clutter with 0.6.14 to be able to reuse + gir files that are distributed in current distributions. + + Use the INTROSPECTION_SCANNER_ARGS (previously unused) variable to + convey --quiet when necessary. + + Fixes: http://bugzilla.clutter-project.org/show_bug.cgi?id=2265 + + clutter/Makefile.am | 2 -- + clutter/cogl/cogl/Makefile.am | 1 - + clutter/json/Makefile.am | 1 - + configure.ac | 7 +++++++ + 4 files changed, 7 insertions(+), 4 deletions(-) + +commit 1f01fd0a4c1937dfc6371f9f8de2b07d0e9b4bd2 +Author: Neil Roberts +Date: Thu Aug 12 14:59:03 2010 +0100 + + clutter.modules: cluttersmith depends on gjs and clutter-gtk + + This adds dependencies on gjs and clutter-gtk to cluttersmith. There + was no module listed for gjs so this is added from the jhbuild gnome + module list. + + build/clutter.modules | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit c129c563f52a271e2ade2b2f7cd2424f9011164a +Author: Neil Roberts +Date: Thu Aug 12 14:37:27 2010 +0100 + + Remove test-random-text from the interactive .gitignore + + tests/interactive/.gitignore | 1 - + 1 file changed, 1 deletion(-) + +commit 1a8df6788b6f23d75a99d4d9695e1983cd0910db +Author: Emmanuele Bassi +Date: Thu Aug 12 13:48:35 2010 +0100 + + Update the micro-bench Git ignore file + + tests/micro-bench/.gitignore | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 053a1a9c512d00ccdbf3f81e5869b4fccbc8ff2b +Author: Emmanuele Bassi +Date: Thu Aug 12 13:46:58 2010 +0100 + + build: Add simple scripts for setting up jhbuild + + Use the same script also used by gnome-shell to set up the system + dependencies for building Clutter (and its dependencies) using jhbuild. + + build/clutter-build-setup.sh | 174 +++++++++++++++++++++++++++++++++++++++++ + build/jhbuildrc-clutter | 73 +++++++++++++++++ + build/jhbuildrc-custom-example | 19 +++++ + 3 files changed, 266 insertions(+) + +commit 1ed5d5cab0af5617b566465b943615d3c7f1058c +Author: Elliot Smith +Date: Thu Aug 12 10:16:56 2010 +0100 + + cookbook: Cleaning up grammar and wording in mouse scroll recipe + + doc/cookbook/events.xml | 86 ++++++++++++++++++++++++++----------------------- + 1 file changed, 45 insertions(+), 41 deletions(-) + +commit db0c15aee8466b675af8b388d21a40bb3371db77 +Author: Neil Roberts +Date: Thu Aug 12 09:59:58 2010 +0100 + + cogl-atlas: Verify that the chosen initial size is supported + + CoglAtlas chooses a fairly large default initial size of either + 512x512 or 1024x1024 depending on the texture format. There is a + chance that this size will not be supported on some platforms which + would be catastrophic for the glyph cache because it would mean that + it would always fail to put any glyphs in the cache so text wouldn't + work. To fix this the atlas code now checks whether the chosen initial + size is supported by the texture driver and if not it will get halved + until it is supported. + + clutter/cogl/cogl/cogl-atlas.c | 56 +++++++++++++++++++++++++++++------------- + 1 file changed, 39 insertions(+), 17 deletions(-) + +commit b9f9ea3a9c59a7d4282ecf7e0b1ae7e300ec6232 +Author: Neil Roberts +Date: Thu Aug 12 09:08:30 2010 +0100 + + cogl-atlas: Use _cogl_texture_driver_size_supported + + Previously when creating a new rectangle map it would try increasingly + larger texture sizes until GL_MAX_TEXTURE_SIZE is reached. This is bad + because it queries state which should really be owned by the texture + driver. Also GL_MAX_TEXTURE_SIZE is often a conservative estimate so + larger texture sizes can be used if the proxy texture is queried + instead. + + clutter/cogl/cogl/cogl-atlas.c | 25 +++++++++++++++---------- + 1 file changed, 15 insertions(+), 10 deletions(-) + +commit 72029e14db0c0b0f82c20cf6760ab96a81c76e46 +Author: Neil Roberts +Date: Wed Aug 11 15:08:00 2010 +0100 + + cogl-rectangle-map: Record largest gap rather than the remaining space + + Previously each node in the rectangle map tree would store the total + remaining space in all of its children to use as an optimization when + adding nodes. With this it could skip an entire branch of the tree if + it knew there could never be enough space for the new node in the + branch. This modifies that slightly to instead store the largest + single gap. This allows it to skip a branch earlier because often + there would be a lot of small gaps which would add up to enough a + space for the new rectangle, but the space can't be used unless it is + in a single node. + + The rectangle map still needs to keep track of the total remaining + space for the whole map for the debugging output so this has been + added back in to the CoglRectangleMap struct. There is a separate + debugging function to verify this value. + + clutter/cogl/cogl/cogl-rectangle-map.c | 94 ++++++++++++++++++++++++---------- + 1 file changed, 68 insertions(+), 26 deletions(-) + +commit 2b5bb06bed2b272ba408d53a471f78c705bf0467 +Author: Neil Roberts +Date: Fri Aug 6 18:42:43 2010 +0100 + + cogl-atlas: Try the next size when there would be less than 6% waste + + Previously when the atlas needs to be migrated it would start by + trying with the same size as the existing atlas if there is enough + space for the new texture. However even if the atlas is completely + sorted there will always be some amount of waste so when the atlas + needs to grow it would usually end up redundantly trying the same size + when it is very unlikely to fit. This patch changes it so that there + must be at least 6% waste available after the new texture is added + otherwise it will start with the next atlas size. + + clutter/cogl/cogl/cogl-atlas.c | 12 +++++++----- + 1 file changed, 7 insertions(+), 5 deletions(-) + +commit f98be241a89cf4a9f23555631f2a7f722745f39b +Author: Neil Roberts +Date: Fri Aug 6 18:42:01 2010 +0100 + + cogl-atlas: Add some more debugging notes + + This adds some debugging notes which report when the atlas is trying + various sizes. + + clutter/cogl/cogl/cogl-atlas.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit e080e824eedecf70d48e3ffc0b65b6a3dd3765c7 +Author: Neil Roberts +Date: Fri Aug 6 17:40:52 2010 +0100 + + cogl-rectangle-map: Use a GArray for the stack + + When iterating over the rectangle map a stack is used to implement a + recursive algorithm. Previously this was slice allocating a linked + list. Now it uses a GArray which is retained with the rectangle map to + avoid frequent allocations which is a little bit faster. + + clutter/cogl/cogl/cogl-rectangle-map.c | 120 ++++++++++++++++++--------------- + 1 file changed, 67 insertions(+), 53 deletions(-) + +commit 0e2d18d70075621c7ea8f7b721c6b0cbd013af1e +Author: Neil Roberts +Date: Fri Aug 6 16:13:20 2010 +0100 + + cogl-rectangle-map: Store the remaining space per node + + Previously the remaining space was managed as part of the + CoglRectangleMap struct. Now it is stored per node so that at any + point in the hierarchy we can quickly determine how much space is + remaining in all of the node's children. That way when adding a + rectangle we can miss out entire branches more quickly if we know that + there is no way the new rectangle would fit in that branch. + + This also adds a function to recursively verify the cached state in + the nodes such as the remaining space and the number of + rectangles. This function is only called when the dump-atlas-image + debug flag is set because it is potentially quite slow. + + clutter/cogl/cogl/cogl-rectangle-map.c | 108 +++++++++++++++++++++++++++++---- + 1 file changed, 96 insertions(+), 12 deletions(-) + +commit e609a658a4355c479ec75748e72844f55c1047aa +Author: Neil Roberts +Date: Fri Aug 6 11:44:39 2010 +0100 + + cogl-atlas: Increase the default minimum texture size + + When initially creating a texture it would start with a minimum size + of 256x256. This increases the size so that it would try to match 1MB + of memory. + + clutter/cogl/cogl/cogl-atlas.c | 18 +++++++++++++++--- + 1 file changed, 15 insertions(+), 3 deletions(-) + +commit d03fbf9f64da5448c6ab625049489474d0b78c71 +Author: Neil Roberts +Date: Wed Aug 4 18:05:21 2010 +0100 + + cogl-pango: Use a CoglAtlas to maintain the glyph cache + + The glyph cache is now stored in a CoglAtlas structure instead of the + custom atlasing code. This has the advantage that it can share code + with the main texture atlas and that it supports reorganizing the + atlas when it becomes full. Unlike the texture atlas, the glyph cache + can use multiple atlases which would be neccessary if the maximum + texture size is reached and we need to create a second + texture. Whenever a display list is created it now has to register a + callback with the glyph cache so that the display list can be + recreated whenever any of the atlases are reorganized. This is needed + because the display list directly stores texture coordinates within + the atlas texture and they would become invalid when the texture is + moved. + + The ensure_glyphs_for_layout now works in two steps. First it reserves + space in the atlas for all of the glyphs. The atlas is created with + the DISABLE_MIGRATION flag so that it won't actually copy any textures + if any rearranging is needed. Whenever the position is updated for a + glyph then it is marked as dirty. After space for all of the glyphs + has been reserved it will iterate over all dirty glyphs and redraw + them using Cairo. The rendered glyph is then stored in the texture + with a sub texture update. + + The glyphs need to all be set at the right location before starting to + create the display list because the display list stores the texture + coordinates of the glyph. If any of the glyphs were moved around then + the parts of the display list that was created already would become + invalid. To make this work, ensure_glyphs_for_layout is now always + called before rendering a layout or a layout line. + + clutter/cogl/pango/cogl-pango-glyph-cache.c | 371 ++++++++++++---------------- + clutter/cogl/pango/cogl-pango-glyph-cache.h | 46 ++-- + clutter/cogl/pango/cogl-pango-render.c | 226 +++++++++++------ + 3 files changed, 343 insertions(+), 300 deletions(-) + +commit 047227fbd7a6a6c7de3f2c523fda75f0c3a36373 +Author: Neil Roberts +Date: Thu Aug 5 13:24:02 2010 +0100 + + cogl-atlas: Support multiple formats and clearing the texture + + _cogl_atlas_new now has two extra parameters to specify the format of + the textures it creates as well as a set of flags to modify the + behavious of the atlas. One of the flags causes the new textures to be + cleared and the other causes migration to avoid actually copying the + textures. This is needed to use CoglAtlas from the pango glyph cache + because it needs to use COGL_PIXEL_A_8 and to clear the textures as it + does not fill in the gaps between glyphs. It needs to avoid copying + the textures so that it can work on GL implementations without FBO + support. + + clutter/cogl/cogl/cogl-atlas-texture.c | 4 +- + clutter/cogl/cogl/cogl-atlas.c | 96 +++++++++++++++++++++++++--------- + clutter/cogl/cogl/cogl-atlas.h | 12 ++++- + 3 files changed, 86 insertions(+), 26 deletions(-) + +commit 9b2f8179f00708f26400648e21d6ee77cc13aa35 +Author: Neil Roberts +Date: Mon Aug 2 16:29:10 2010 +0100 + + cogl-atlas-texture: Split out the atlas data structure + + Instead of storing a pointer to the CoglRectangleMap and a handle to + the atlas texture in the context, there is a now a separate data + structure called a CoglAtlas to manage these two. The context just + contains a pointer to this. The code to reorganise the atlas has been + moved from cogl-atlas-texture.c to cogl-atlas.c + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-atlas-texture-private.h | 4 + + clutter/cogl/cogl/cogl-atlas-texture.c | 585 ++++-------------------- + clutter/cogl/cogl/cogl-atlas.c | 596 +++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-atlas.h | 86 ++++ + clutter/cogl/cogl/cogl-context.c | 10 +- + clutter/cogl/cogl/cogl-context.h | 5 +- + 7 files changed, 774 insertions(+), 514 deletions(-) + +commit 0c8582aad838bf0110cceeb2bedad4ae09645ce6 +Author: Neil Roberts +Date: Wed Aug 4 17:59:06 2010 +0100 + + cogl: Add an internal utility to maintain a list of callback functions + + This adds an internal CoglCallbackList type which is just a GSList of + of function pointers along with a data pointer to form a + closure. There are functions to add and remove items and to invoke the + list of functions. This could be used in a number of places in Cogl. + + clutter/cogl/cogl/Makefile.am | 2 + + clutter/cogl/cogl/cogl-callback-list.c | 107 +++++++++++++++++++++++++++++++++ + clutter/cogl/cogl/cogl-callback-list.h | 58 ++++++++++++++++++ + 3 files changed, 167 insertions(+) + +commit 4989000f55f1f5a88d397c29a7973ebecf6e4b3e +Author: Neil Roberts +Date: Mon Aug 2 15:24:03 2010 +0100 + + cogl-atlas: Rename to CoglRectangleMap + + This simply renames CoglAtlas to CoglRectangleMap without making any + functional changes. The old 'CoglAtlas' is just a data structure for + managing unused areas of a rectangle and it doesn't neccessarily have + to be used for an atlas so it wasn't a very good name. + + clutter/cogl/cogl/Makefile.am | 4 +- + clutter/cogl/cogl/cogl-atlas-texture-private.h | 12 +- + clutter/cogl/cogl/cogl-atlas-texture.c | 169 +++++----- + clutter/cogl/cogl/cogl-atlas.h | 78 ----- + clutter/cogl/cogl/cogl-context.c | 7 +- + clutter/cogl/cogl/cogl-context.h | 4 +- + .../cogl/{cogl-atlas.c => cogl-rectangle-map.c} | 358 +++++++++++---------- + clutter/cogl/cogl/cogl-rectangle-map.h | 78 +++++ + 8 files changed, 366 insertions(+), 344 deletions(-) + +commit 1e45428483f82b240bc45f20556cf767c49da902 +Author: Neil Roberts +Date: Thu Aug 5 17:54:18 2010 +0100 + + test-random-text: Convert to a micro-benchmark + + test-random-text is moved to the micro-bench directory. It now prints + out the time taken to draw every 10 frames. + + tests/interactive/Makefile.am | 1 - + tests/micro-bench/Makefile.am | 4 +- + .../test-random-text.c | 43 +++++++++++++++------- + 3 files changed, 32 insertions(+), 16 deletions(-) + +commit 65f449bdb0625c866781c56f025d20d20772dc8d +Author: Neil Roberts +Date: Thu Aug 5 17:27:23 2010 +0100 + + test-text-perf: Add a wider range of characters + + Instead of just using the latin alphabet, this adds digits and some + other alphabets to increase the range of glyphs used. + + tests/micro-bench/test-text-perf.c | 36 +++++++++++++++++++++++++++++++++++- + 1 file changed, 35 insertions(+), 1 deletion(-) + +commit c26d2c5ef90c49e3854d6630c2ade6d7069865d8 +Author: Neil Roberts +Date: Thu Aug 5 17:06:45 2010 +0100 + + test-text-perf: Scale the text if the settings will not fit + + If the font size or the number of characters causes the label not to + fit on the stage, instead of aborting it will now scale the labels so + that it fits within one of the dimensions. This makes it easier to + test with large glyph sizes. + + tests/micro-bench/test-text-perf.c | 37 ++++++++++++++++++++++++++++++------- + 1 file changed, 30 insertions(+), 7 deletions(-) + +commit 89c535f50d4affe761c7ea0ca2cb90066a2c1639 +Author: Neil Roberts +Date: Thu Aug 12 09:11:28 2010 +0100 + + cogl-material: Compare whether textures are equal by their GL handle + + Textures within a layer were compared for equality by comparing their + texture handle. However this means that sub textures and atlas + textures which may be internally using the same GL handle would not be + batched together. Instead it now tries to determine the underlying GL + handle using either the slice override or _cogl_texture_get_gl_texture + and then compares those. + + clutter/cogl/cogl/cogl-material.c | 35 ++++++++++++++++++++++++++--------- + 1 file changed, 26 insertions(+), 9 deletions(-) + +commit 8db96675d4332bc81edb1f5f4dfe237ab81a4d9e +Author: Elliot Smith +Date: Thu Aug 12 10:05:27 2010 +0100 + + cookbook: Added more explanation about setting y coord on scrollable + + Added some extra explanation, referencing the sample code, to + try to make the scrollable actor example easier to follow. Basically + demonstrates the principles described in the paragraph about + setting the y coordinate for the scrollable actor, but using actual + numbers. + + doc/cookbook/events.xml | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit 8538bdbdeae74433ed5f50b1e6ee0db3d9a81a3e +Author: Neil Roberts +Date: Wed May 5 16:45:21 2010 +0100 + + cogl-atlas-texture: Accept formats with different component orders + + When filtering on allowed formats for atlas textures, it now masks out + the BGR and AFIRST bits in addition to the premult bit. That way it + will accept RGB and RGBA formats in any component order. + + In theory it could also accept luminance and alpha-only textures but I + haven't added this because presumably if the application has requested + these formats then it has some reason not to use a full RGB or RGBA + texture and we should respect that. + + clutter/cogl/cogl/cogl-atlas-texture.c | 19 ++++++++++++++++--- + 1 file changed, 16 insertions(+), 3 deletions(-) + +commit 2bf01dd9592854073b241ae562867732c7b45b2a +Author: Emmanuele Bassi +Date: Thu Aug 12 09:03:58 2010 +0100 + + build: Make the introspection generation quiet (again) + + build/autotools/Makefile.am.silent | 20 ++++++++++++++------ + clutter/Makefile.am | 12 ++++++++---- + clutter/cogl/cogl/Makefile.am | 4 +++- + clutter/json/Makefile.am | 4 +++- + 4 files changed, 28 insertions(+), 12 deletions(-) + +commit 9b736cfeba8f4f3b57c8657b4d41aa554d03fec0 +Author: Emmanuele Bassi +Date: Thu Aug 12 08:53:06 2010 +0100 + + drag-action: Capture ENTER when dragging + + This completes commit 9ab83cebf. + + clutter/clutter-drag-action.c | 1 + + 1 file changed, 1 insertion(+) + +commit a74d585fc522d010d4c8cbcffc566afc9ce495ca +Author: Elliot Smith +Date: Wed Aug 11 17:14:09 2010 +0100 + + cookbook: Mentioned the animation in the sample code + + Put in comments to make it clear where the animation + for the mouse scroll is coming from in the sample code. + + doc/cookbook/events.xml | 1 + + doc/cookbook/examples/events-mouse-scroll.c | 1 + + 2 files changed, 2 insertions(+) + +commit a421f0ae429bcf666dbfa1d44b15bfdbb06f898f +Author: Elliot Smith +Date: Wed Aug 11 17:12:42 2010 +0100 + + cookbook: Included video of the scroll example running + + Inlined the video of the mouse scroll example code running + to the docbook file for events. + + doc/cookbook/events.xml | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit 1cfa87853a3fe1edf569a91c60528ee2d85679f7 +Author: Elliot Smith +Date: Wed Aug 11 17:11:29 2010 +0100 + + cookbook: Made stage slightly smaller for scroll event example + + Reduced the size of the stage to make for a smaller video. + + doc/cookbook/examples/events-mouse-scroll.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit f5db4943de58cf3ac9eb4aecf2278e298deaa052 +Author: Elliot Smith +Date: Wed Aug 11 17:10:45 2010 +0100 + + cookbook: Added video showing scrollable actor + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/videos/events-mouse-scroll.ogv | Bin 0 -> 49532 bytes + 2 files changed, 1 insertion(+) + +commit f568a68ee16ce7f59596bd1336f37eee1667b7a1 +Author: Elliot Smith +Date: Wed Aug 11 16:54:28 2010 +0100 + + cookbook: Added walk through of code example for mouse scroll + + Modified the mouse scroll example to fit better with the tutorial + walkthrough. + + Added a stepped walkthrough of the scrollable actor code + example. + + doc/cookbook/events.xml | 224 +++++++++++++++++++++++++++- + doc/cookbook/examples/events-mouse-scroll.c | 33 +++- + 2 files changed, 243 insertions(+), 14 deletions(-) + +commit 57ba89c8de1e85d52f3e6d73dade472c0da7f22e +Author: Elliot Smith +Date: Wed Aug 11 14:41:42 2010 +0100 + + cookbook: Fixed link to example in mouse scroll recipe + + doc/cookbook/events.xml | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 5e0bc919c305e1825bba75277df883c231f65837 +Author: Elliot Smith +Date: Wed Aug 11 14:39:22 2010 +0100 + + cookbook: Simplified full scroll example + + Removed the layout and box to simplify the scrollable + actor example. + + doc/cookbook/examples/events-mouse-scroll.c | 69 +++++++++++++++-------------- + 1 file changed, 35 insertions(+), 34 deletions(-) + +commit e216771a86d985631c2ee1182f1ae7c240e5c28d +Author: Elliot Smith +Date: Wed Aug 11 11:14:54 2010 +0100 + + cookbook: Improved wording and formatting in mouse scroll intro. + + doc/cookbook/events.xml | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 0f919fcbe3b8c5afed58e082c2dd7e14756b207c +Author: Elliot Smith +Date: Wed Aug 11 11:10:53 2010 +0100 + + cookbook: Handle all possible mouse scroll directions + + Added empty cases for MOUSE_SCROLL_LEFT and MOUSE_SCROLL_RIGHT + to the scroll-event signal handler in the example code. + + doc/cookbook/examples/events-mouse-scroll.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit f1312e118d21c293625754248c07fa1168a1732c +Author: Elliot Smith +Date: Wed Aug 11 11:09:04 2010 +0100 + + cookbook: Build mouse scroll example with cookbook + + doc/cookbook/examples/.gitignore | 1 + + doc/cookbook/examples/Makefile.am | 2 ++ + 2 files changed, 3 insertions(+) + +commit 241ceab73cbc1fa0a1f7c19ad95fdd54b1c26864 +Author: Elliot Smith +Date: Wed Aug 11 11:03:37 2010 +0100 + + cookbook: Cleaned up redundant comments in code example + + Removed comments which are only relevant in my local build + environment. + + doc/cookbook/examples/events-mouse-scroll.c | 6 ------ + 1 file changed, 6 deletions(-) + +commit 5e268e0bbb0e2dcbf6edfbf3e1725a3e61e8dbd0 +Author: Elliot Smith +Date: Wed Aug 11 11:03:02 2010 +0100 + + cookbook: Added xmlns for XInclude to events docbook file + + doc/cookbook/events.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ec7186627726885acc4487f5f44177281c0f3fc6 +Author: Elliot Smith +Date: Wed Aug 11 10:34:49 2010 +0100 + + cookbook: Added basic mouse scroll recipe + + Added a recipe explaining the basics of mouse scroll events. + + doc/cookbook/events.xml | 115 ++++++++++++++++++++++++++++ + doc/cookbook/examples/events-mouse-scroll.c | 108 ++++++++++++++++++++++++++ + 2 files changed, 223 insertions(+) + +commit ed39948ccf776b50fba9c3c7934ddb727091db11 +Author: Emmanuele Bassi +Date: Wed Aug 11 17:43:15 2010 +0100 + + colorize-effect: Do not inherit from ShaderEffect + + See commits: + + 7daeb217 blur-effect: Do not inherit from ShaderEffect + 1ec57743 desaturate-effect: Do not inherit from ShaderEffect + + We might avoid using shaders at all in the future for simple effects. + + clutter/clutter-colorize-effect.c | 156 ++++++++++++++++++++++++++++++-------- + 1 file changed, 126 insertions(+), 30 deletions(-) + +commit d10ebe9fcaf28b85d707ea41f5856632f9c8a934 +Author: Emmanuele Bassi +Date: Wed Aug 11 17:25:17 2010 +0100 + + effects: Check before using the cogl_shader_* API + + Since BlurEffect and DesaturateEffect are using the shader API + implicitly and not using ClutterShaderEffect, we need to check if the + underlying GL implementation supports the GLSL shading language and warn + if not. + + clutter/clutter-blur-effect.c | 12 ++++++++++++ + clutter/clutter-desaturate-effect.c | 12 ++++++++++++ + 2 files changed, 24 insertions(+) + +commit 9ab83cebfdd4808db7ebe09193b218f62f157049 +Author: Emmanuele Bassi +Date: Wed Aug 11 14:42:56 2010 +0100 + + drag-action: Capture stage leave + + If we are dragging, we don't want the drag handle to emit a + ::leave-event even if the pointer left the stage. + + clutter/clutter-drag-action.c | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 1ec577438e2f710970276dc3872bf4c8bb360ddf +Author: Emmanuele Bassi +Date: Wed Aug 11 14:19:48 2010 +0100 + + desaturate-effect: Do not inherit from ShaderEffect + + Hide the fact that we're using a fragment shader, in case we're able in + the future to use a material layer combine function when painting the + offscreen target texture. + + clutter/clutter-desaturate-effect.c | 128 +++++++++++++++++++++++++++++------- + 1 file changed, 104 insertions(+), 24 deletions(-) + +commit 7daeb217bd9f1e0e38ac6201f722bdc7fd2c45b6 +Author: Emmanuele Bassi +Date: Wed Aug 11 13:05:42 2010 +0100 + + blur-effect: Do not inherit from ShaderEffect + + We might want to switch the BlurEffect from a box-blur to a + super-sampling of the texture target, in order to make it cheap(er). + If we inherit from ShaderEffect, though, we're setting in stone the + fact that we are going to use a fragment shader for blurring. + + Since there is not parametrization of the blur, the code necessary + to implement effect is pretty small, and we can use the Cogl API + directly. + + clutter/clutter-blur-effect.c | 157 +++++++++++++++++++++++++++--------------- + 1 file changed, 103 insertions(+), 54 deletions(-) + +commit eb4dee46b70a73d0926e8e36bb75abc52604256e +Author: Emmanuele Bassi +Date: Wed Aug 11 13:58:29 2010 +0100 + + shader-effect: Attach the program to the target material + + Instead of calling cogl_program_use() around the paint_target() + chain-up, we can use the newly added API in CoglMaterial to attach + user-defined shaders to the offscreen target material. + + clutter/clutter-shader-effect.c | 39 ++++++++++++++++++++++++--------------- + 1 file changed, 24 insertions(+), 15 deletions(-) + +commit 304e7dd077f1e7f9e7eab8b3b15bf6f22bf354f0 +Author: Emmanuele Bassi +Date: Wed Aug 11 13:53:02 2010 +0100 + + test-drag: Fix the page curl angle + + tests/interactive/test-drag.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit c87bfef1eb7f59975513bed9da70a45ce50f7dd3 +Author: Emmanuele Bassi +Date: Wed Aug 11 12:40:22 2010 +0100 + + stage: Fix the user-resizable property enumeration id + + clutter/clutter-stage.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 59a9786942c7cfae9b6ba138cf76ba658709fedb +Author: Emmanuele Bassi +Date: Wed Aug 11 11:39:24 2010 +0100 + + actor: Use box origin instead of direct access + + clutter/clutter-actor.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5e1d40c07b66bcb4c2c0a4fd203bfdfeeaf3f17e +Merge: 8d5161797 d14e294d8 +Author: Emmanuele Bassi +Date: Wed Aug 11 11:32:44 2010 +0100 + + Merge branch 'wip/table-layout' + + * wip/table-layout: + Add ClutterTableLayout, a layout showing children in rows and columns + box-layout: Use allocate_align_fill() + bin-layout: Migrate to allocate_align_fill() + actor: Add allocate_align_fill() + test-flow-layout: Use BindConstraints + +commit d14e294d86d35e9128d04ebf9a43367b5babac40 +Author: José Dapena Paz +Date: Thu Mar 18 17:02:31 2010 +0100 + + Add ClutterTableLayout, a layout showing children in rows and columns + + A TableLayout is a layout manager that allocates its children in rows + and columns. Each child is assigned to a cell (or more if a cell span + is set). + + The supported child properties are: + + • x-expand and y-expand: if this cell with try to allocate the + available extra space for the table. + • x-fill and y-fill: if the child will get all the space available in + the cell. + • x-align and y-align: if the child does not fill the cell, then + where the child will be aligned inside the cell. + • row-span and col-span: number of cells the child will allocate for + itself. + + Also, the TableLayout has row-spacing and col-spacing for specifying + the space in pixels between rows and between columns. + + We also include a simple test of the layout manager, and the + documentation updates. + + The TableLayout was implemented starting from MxTable and + ClutterBoxLayout. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2038 + + Signed-off-by: Emmanuele Bassi + + clutter/Makefile.am | 2 + + clutter/clutter-table-layout.c | 2642 ++++++++++++++++++++++++++++ + clutter/clutter-table-layout.h | 163 ++ + clutter/clutter.h | 1 + + doc/reference/clutter/clutter-docs.xml.in | 1 + + doc/reference/clutter/clutter-sections.txt | 47 + + doc/reference/clutter/clutter.types | 1 + + tests/interactive/.gitignore | 1 + + tests/interactive/Makefile.am | 3 +- + tests/interactive/test-table-layout.c | 275 +++ + 10 files changed, 3135 insertions(+), 1 deletion(-) + +commit 1043e77a00b1f5965b9a5ff52db6d0f0bd93e88c +Author: Emmanuele Bassi +Date: Tue Aug 10 22:20:38 2010 +0100 + + box-layout: Use allocate_align_fill() + + Remove duplicated code, and use the newly added actor method to compute + the child allocation based on alignment and fill. + + clutter/clutter-box-layout.c | 116 ++++++++----------------------------------- + 1 file changed, 21 insertions(+), 95 deletions(-) + +commit 6ad4126e1783d1e9a04eaf88accce6d0950064d6 +Author: Emmanuele Bassi +Date: Tue Aug 10 17:43:26 2010 +0100 + + bin-layout: Migrate to allocate_align_fill() + + Now that we have the code in ClutterActor itself. + + clutter/clutter-bin-layout.c | 100 ++++++++----------------------------------- + 1 file changed, 17 insertions(+), 83 deletions(-) + +commit 07b01888baed28e5fb3f0831a2441218b469f846 +Author: Emmanuele Bassi +Date: Tue Aug 10 17:40:01 2010 +0100 + + actor: Add allocate_align_fill() + + Layout managers are using the same code to allocate a child while taking + into consideration: + + • horizontal and vertical alignment + • horizontal and vertical fill + • the preferred minimum and natural size, depending + on the :request-mode property + • the text direction for the horizontal alignment + • an offset given by the fixed position properties + + Given the amount of code involved, and the amount of details that can go + horribly wrong while copy and pasting such code in various classes - let + alone various projects - Clutter should provide an allocate() variant + that does the right thing in the right way. This way, we have a single + point of failure. + + clutter/clutter-actor.c | 139 +++++++++++++++++++++++++++++ + clutter/clutter-actor.h | 7 ++ + doc/reference/clutter/clutter-sections.txt | 1 + + 3 files changed, 147 insertions(+) + +commit 02b7bf3635ce9a3a67016847e99128bd0a9f67d9 +Author: Emmanuele Bassi +Date: Tue Aug 10 17:43:56 2010 +0100 + + test-flow-layout: Use BindConstraints + + If we want to fit the FlowLayout to the Stage size we should use the + BindConstraint API instead of a watcher on ::allocation-changed. + + tests/interactive/test-flow-layout.c | 28 +++++++--------------------- + 1 file changed, 7 insertions(+), 21 deletions(-) + +commit 8d5161797974f8f9eb25da844f64fc27bceb28f4 +Author: Neil Roberts +Date: Mon Jun 21 10:20:32 2010 +0100 + + Conditionally use g_object_notify_by_pspec + + This adds a wrapper macro to clutter-private that will use + g_object_notify_by_pspec if it's compiled against a version of GLib + that is sufficiently new. Otherwise it will notify by the property + name as before by extracting the name from the pspec. The objects can + then store a static array of GParamSpecs and notify using those as + suggested in the documentation for g_object_notify_by_pspec. + + Note that the name of the variable used for storing the array of + GParamSpecs is obj_props instead of properties as used in the + documentation because some places in Clutter uses 'properties' as the + name of a local variable. + + Mose of the classes in Clutter have been converted using the script in + the bug report. Some classes have not been modified even though the + script picked them up as described here: + + json-generator: + + We probably don't want to modify the internal copy of JSON + + behaviour-depth: + rectangle: + score: + stage-manager: + + These aren't using the separate GParamSpec* variable style. + + blur-effect: + win32/device-manager: + + Don't actually define any properties even though it has the enum. + + box-layout: + flow-layout: + + Have some per-child properties that don't work automatically with + the script. + + clutter-model: + + The script gets confused with ClutterModelIter + + stage: + + Script gets confused because PROP_USER_RESIZE doesn't match + "user-resizable" + + test-layout: + + Don't really want to modify the tests + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2150 + + clutter/clutter-actor-meta.c | 13 +- + clutter/clutter-actor.c | 208 +++++++++++++++++++------------ + clutter/clutter-align-constraint.c | 15 ++- + clutter/clutter-alpha.c | 19 ++- + clutter/clutter-animation.c | 40 +++--- + clutter/clutter-animator.c | 8 +- + clutter/clutter-behaviour-ellipse.c | 37 ++++-- + clutter/clutter-behaviour-opacity.c | 12 +- + clutter/clutter-behaviour-path.c | 9 +- + clutter/clutter-behaviour-rotate.c | 27 ++-- + clutter/clutter-behaviour-scale.c | 16 ++- + clutter/clutter-behaviour.c | 9 +- + clutter/clutter-bin-layout.c | 18 ++- + clutter/clutter-bind-constraint.c | 15 ++- + clutter/clutter-binding-pool.c | 7 +- + clutter/clutter-box.c | 15 ++- + clutter/clutter-cairo-texture.c | 12 +- + clutter/clutter-child-meta.c | 8 +- + clutter/clutter-click-action.c | 10 +- + clutter/clutter-clone.c | 9 +- + clutter/clutter-colorize-effect.c | 9 +- + clutter/clutter-deform-effect.c | 13 +- + clutter/clutter-desaturate-effect.c | 9 +- + clutter/clutter-device-manager.c | 7 +- + clutter/clutter-drag-action.c | 15 ++- + clutter/clutter-input-device.c | 9 +- + clutter/clutter-interval.c | 7 +- + clutter/clutter-layout-meta.c | 7 +- + clutter/clutter-page-turn-effect.c | 15 ++- + clutter/clutter-path.c | 8 +- + clutter/clutter-private.h | 12 ++ + clutter/clutter-script.c | 8 +- + clutter/clutter-settings.c | 15 ++- + clutter/clutter-shader-effect.c | 7 +- + clutter/clutter-shader.c | 20 ++- + clutter/clutter-state.c | 10 +- + clutter/clutter-text.c | 91 +++++++++----- + clutter/clutter-texture.c | 42 +++++-- + clutter/clutter-timeline.c | 18 ++- + clutter/x11/clutter-device-manager-x11.c | 7 +- + clutter/x11/clutter-input-device-x11.c | 7 +- + clutter/x11/clutter-keymap-x11.c | 7 +- + 42 files changed, 608 insertions(+), 242 deletions(-) + +commit bfa10f629f6400ff31471922ad57c27c71e76697 +Author: Elliot Smith +Date: Tue Aug 10 11:02:17 2010 +0100 + + cookbook: Added recipe for non-rectangular actor + + Added a new recipe for creating a non-rectangular + actor using ClutterPath (aka "shaped pick") and + the Cogl primitives API. + + Also cleaned up XML alignment in the actors.xml + file. + + doc/cookbook/actors.xml | 691 ++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 523 insertions(+), 168 deletions(-) + +commit de8276105f34b480dee0b2044debe001c25710ac +Author: Owen W. Taylor +Date: Mon Aug 9 15:06:35 2010 -0400 + + Always bind a new texture to unit 1 when necessary + + The special handling for texture unit 1 caught the case where unit + 1 was changed for transient purposes, but didn't properly handle + the case where the actual non-transient texture was different between + two materials with no transient binding in between. + + If the actual texture has changed when flushing, mark unit 1 as dirty + and needing a rebind. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2261 + + clutter/cogl/cogl/cogl-material-opengl.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit b646f0cfa9277ca9fd7bc7da035942a72924d6e0 +Author: Emmanuele Bassi +Date: Mon Aug 9 19:56:00 2010 +0100 + + clutter.modules: Add Cluttersmith + + build/clutter.modules | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +commit 966cbd51278421d99360454a525e3789a04b1f5d +Author: Emmanuele Bassi +Date: Mon Aug 9 19:55:42 2010 +0100 + + clutter.modules: Mx moved to clutter-project.org + + build/clutter.modules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ecc086e9eb86829646d72ca99f618fa7ba4ad95d +Author: Emmanuele Bassi +Date: Mon Aug 9 19:38:23 2010 +0100 + + Silence a compiler warning + + clutter/cogl/cogl/cogl-shader.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 1c2e41e1b388fdf82867ac4071734316e5731870 +Merge: 985a4db94 eaed9c22d +Author: Emmanuele Bassi +Date: Mon Aug 9 17:44:42 2010 +0100 + + Merge remote branch 'elliot/cookbook-layouts-introduction' + + * elliot/cookbook-layouts-introduction: + cookbook: Added layout introduction and "stacking actors" recipe + cookbook: Added layouts.xml to the list of XML files + cookbook: Added layouts section and introduction + +commit 985a4db94799ae9279ecde166ff46c5de2f369bf +Author: Damien Lespiau +Date: Thu Aug 5 15:55:12 2010 +0100 + + gitignore: Ignore test-cogl-shader-{arbfp,glsl} + + Fear the out of tree builds! + + tests/interactive/.gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit a4339842f938312da4a51b8592e38e207b15bdc3 +Author: Robert Bragg +Date: Thu Aug 5 15:18:39 2010 +0100 + + tests-interactive: Adds a test-cogl-shader-glsl.c + + This is based on test-shader.c but is solely implemented with the + cogl_program/shader APIs instead of the clutter shader APIs. + + tests/interactive/Makefile.am | 1 + + tests/interactive/test-cogl-shader-glsl.c | 382 ++++++++++++++++++++++++++++++ + 2 files changed, 383 insertions(+) + +commit f6a1f56031ed0bb404b902db83629732fc788b32 +Author: Robert Bragg +Date: Thu Aug 5 15:20:49 2010 +0100 + + tests/interactive: Adds a test-cogl-shader-arbfp.c + + This tests the ARBfp support for cogl_program and cogl_shader using the + shaders Chris Lord adapted from test-shader when he was experimenting + with adding ARBfp support to clutter back in 2008 (See: + http://bugzilla.clutter-project.org/show_bug.cgi?id=1049) + + tests/interactive/Makefile.am | 1 + + tests/interactive/test-cogl-shader-arbfp.c | 404 +++++++++++++++++++++++++++++ + 2 files changed, 405 insertions(+) + +commit 09e664c349d6132801683c2b4cc5852d57e5f3a6 +Author: Robert Bragg +Date: Wed Aug 4 17:53:51 2010 +0100 + + cogl: Allow setting ARBfp source on a CoglShader + + This makes CoglProgram/Shader automatically detect when the user has + given an ARBfp program by checking for "!!ARBfp1.0" at the beginning of + the user's source. + + ARBfp local parameters can be set with cogl_program_uniform_float + assuming you pass a @size of 4 (all ARBfp program.local parameters + are vectors of 4 floats). + + This doesn't expose ARBfp environment parameters or double precision + local parameters. + + clutter/cogl/cogl/cogl-material-arbfp.c | 72 ++++++++-- + clutter/cogl/cogl/cogl-material-glsl.c | 24 ++-- + clutter/cogl/cogl/cogl-shader-private.h | 13 ++ + clutter/cogl/cogl/cogl-shader.c | 116 ++++++++++++--- + clutter/cogl/cogl/cogl.c | 6 +- + clutter/cogl/cogl/driver/gl/cogl-program.c | 204 +++++++++++++++++++++++---- + clutter/cogl/cogl/driver/gl/cogl-program.h | 11 +- + clutter/cogl/cogl/driver/gles/cogl-program.c | 7 + + 8 files changed, 371 insertions(+), 82 deletions(-) + +commit 5741e28cdcba3619f0eadff0e8de0d7b0d9c5c60 +Author: Robert Bragg +Date: Thu Aug 5 10:59:03 2010 +0100 + + cogl: Adds a COGL_FEATURE_SHADERS_ARBFP feature flag + + This adds a public feature flag for ARBfp so developers can determine if + the cogl API supports ARBfp or not. + + clutter/cogl/cogl/cogl-internal.h | 2 +- + clutter/cogl/cogl/cogl-material-arbfp.c | 2 +- + clutter/cogl/cogl/cogl-types.h | 4 +++- + clutter/cogl/cogl/cogl.c | 2 +- + clutter/cogl/cogl/driver/gl/cogl-feature-functions.h | 4 ++-- + 5 files changed, 8 insertions(+), 6 deletions(-) + +commit f781bcec7e92c4387a2b755510681502290f8e75 +Author: Robert Bragg +Date: Thu Aug 5 10:46:54 2010 +0100 + + material: Add cogl_material_{get,set}_user_program + + Previously we had an internal only _cogl_material_set_user_program to + redirect legacy usage of cogl_program_use() through CoglMaterial. This + instead makes the API public because until we implement our planned + "snippet" framework we need a stop-gap solution for using shaders in + Cogl. + + The plan is to also support ARBfp with the cogl_program/shader API so + this API will also allow clutter-gst to stop using direct OpenGL calls + that conflict with Cogl's state tracking. + + clutter/cogl/cogl/cogl-material-private.h | 4 -- + clutter/cogl/cogl/cogl-material.c | 24 ++++++++++-- + clutter/cogl/cogl/cogl-material.h | 64 +++++++++++++++++++++++++++++++ + 3 files changed, 84 insertions(+), 8 deletions(-) + +commit 1314d0b1a7567efd89f0aeca94a1d3e4c6b392bb +Author: Robert Bragg +Date: Sun Aug 8 13:54:07 2010 +0100 + + material: chain up in layer_pre_change_notify + + A change to a layer is also going to be a change to its owning material + so we have to chain up in _cogl_material_layer_pre_change_notify and + call _cogl_material_pre_change_notify. Previously we were only + considering if the owning material was referenced in the journal but + that ignores that it might also have dependants. We no longer need to + flush the journal directly in layer_pre_change_notify. + + clutter/cogl/cogl/cogl-material.c | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +commit 855661754653ed1b5b1e0f1bf491f7e360ca5ed0 +Author: Robert Bragg +Date: Sun Aug 8 14:26:45 2010 +0100 + + material: unlink old layer from owner when replacing + + In _cogl_material_layer_pre_change_notify when we see that a layer has + dependants and it can't be modified directly then we allocate a new + layer. In this case we also have to link the new layer to its required + owner. If the immutable layer we copied had the same owner though we + weren't unlinking that old layer. + + clutter/cogl/cogl/cogl-material.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit eeac7c5f431cf9c6df66ddbe8a9c862e9143884c +Author: Robert Bragg +Date: Sun Aug 8 13:41:15 2010 +0100 + + material: fix initialization of sparse properties + + In _cogl_material_pre_change_notify we need to identify if it's a sparse + property being changed and if so initialize the state group if the given + material isn't currently the authority for it. + + Previously we were unconditionally calling + _cogl_material_initialize_state which would e.g. NULL the layer + differences list of a material each time a layer change was notified. + + It would also call _cogl_material_initialize_state for non-sparse + properties which should always be valid at this point so the function + has been renamed to _cogl_material_initialize_sparse_state to make this + clearer with a corresponding g_return_if_fail check. + + clutter/cogl/cogl/cogl-material.c | 25 ++++++++++++++----------- + 1 file changed, 14 insertions(+), 11 deletions(-) + +commit d489832688ab28e7a2a889cf793bef6ab8fab334 +Author: Robert Bragg +Date: Sun Aug 8 13:09:27 2010 +0100 + + material: fix copying of material layer differences + + This fixes how we copy layer differences in + _cogl_material_copy_layer_differences. + + We were making a redundant g_list_copy of the src differences and then + iterating the src list calling _cogl_material_add_layer_difference for + each entry which would double the list length, but the initial copy + directly referenced the original layers which wasn't correct. + + Also we were initializing dest->n_layers before copying the layer + differences but the act of copying the differences will re-initialize + n_layers to 0 when adding the first layer_difference since it will + trigger a layer_pre_change_notify and since the dest material isn't yet + a STATE_LAYERS authority the state group is initialized before allowing + the change. + + clutter/cogl/cogl/cogl-material.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 0e2880b067e96ff93deec6c3a6ffb7aa0cd4cee4 +Author: Robert Bragg +Date: Sun Aug 8 13:05:40 2010 +0100 + + material: don't dereference layer->texture directly + + In _cogl_material_texture_storage_change_notify we were potentially + dereferencing layer->texture without checking first that it is the + authority of texture state. We now use + _cogl_material_layer_get_texture() instead. + + clutter/cogl/cogl/cogl-material-opengl.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 9c46cb7f21fba3a8871128866c74325a598f49f2 +Author: Robert Bragg +Date: Sun Aug 8 14:09:26 2010 +0100 + + material: Improve the dot file debugging code + + This improve the dot file output available when calling + _cogl_debug_dump_materials_dot_file. The material graph now directly + points into the layer graph and the layers now show the texture unit + index. + + clutter/cogl/cogl/cogl-material.c | 30 ++++++++++++++++-------------- + 1 file changed, 16 insertions(+), 14 deletions(-) + +commit eaed9c22da03caa1a0ce43656f2afdfc00ac5115 +Author: Elliot Smith +Date: Thu Aug 5 16:46:36 2010 +0100 + + cookbook: Added layout introduction and "stacking actors" recipe + + Expanded the layout introduction and added a recipe about + stacking actors using ClutterBinLayout, with two examples. + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/examples/.gitignore | 2 + + doc/cookbook/examples/Makefile.am | 14 +- + .../examples/layouts-stacking-diff-sized-actors.c | 78 +++++ + doc/cookbook/examples/layouts-stacking.c | 80 +++++ + .../images/layouts-stacking-diff-actor-sizes.png | Bin 0 -> 1579 bytes + doc/cookbook/layouts.xml | 325 ++++++++++++++++++++- + 7 files changed, 487 insertions(+), 13 deletions(-) + +commit 309dd1f50e73cf6bf6e5308abca3b77135dd4686 +Author: Elliot Smith +Date: Thu Aug 5 13:43:23 2010 +0100 + + cookbook: Added layouts.xml to the list of XML files + + Make sure layouts.xml is included for make dist. + + doc/cookbook/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit 1a44b56b7a5b42ff26abde46c5fdea2f8e3858ff +Author: Elliot Smith +Date: Tue Aug 3 11:00:19 2010 +0100 + + cookbook: Added layouts section and introduction + + doc/cookbook/clutter-cookbook.xml.in | 1 + + doc/cookbook/layouts.xml | 281 +++++++++++++++++++++++++++++++++++ + 2 files changed, 282 insertions(+) + +commit 1943b8e544a985e08cd4fbe2ae79320fed2f2548 +Author: Emmanuele Bassi +Date: Mon Aug 9 11:29:03 2010 +0100 + + glx: Depend on libdrm + + DRM is available on more platforms than Linux (e.g. kFreeBSD), but + Clutter currently FTBFS there because of not being an alternative to + the __linux__ code (where it should be HAVE_DRM). + + Instead of copying the DRM data structures, we should use libdrm when + falling back to directly requesting to wait for the vblank. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2225 + + Based on a patch by: Emilio Pozuelo Monfort + Signed-off-by: Emmanuele Bassi + + clutter/glx/clutter-stage-glx.c | 43 +++++++++++------------------------------ + configure.ac | 8 ++++++++ + 2 files changed, 19 insertions(+), 32 deletions(-) + +commit 28378f1bb4f74c4ba97618f404386b26a28f5224 +Author: Emmanuele Bassi +Date: Mon Aug 9 11:06:44 2010 +0100 + + layout-manager: Do not emit layout-changed on thaw + + When thawing a LayoutManager, do not emit the ::layout-changed signal + since it might still be in the middle of a relayout. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2255 + + clutter/clutter-layout-manager.c | 17 +++++++++++++---- + 1 file changed, 13 insertions(+), 4 deletions(-) + +commit 306385c2eb6ea3e0df406edc34227ca8c2622b7d +Author: Emmanuele Bassi +Date: Mon Aug 9 08:50:18 2010 +0100 + + animator: Remove redundant parenthesis + + clutter/clutter-animator.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 74301da8e7bbce31395871927fe8afd6e08bbfd9 +Author: Emmanuele Bassi +Date: Sun Aug 8 19:18:46 2010 +0100 + + animator: Improve the key value copy + + Use the same code used elsewhere in Clutter when dealing with values + that can be copied or transformed. + + clutter/clutter-animator.c | 41 ++++++++++++++++++++++++++++------------- + 1 file changed, 28 insertions(+), 13 deletions(-) + +commit 1ca0c2a6d1ce7477b4c31c507603c870f298c79d +Author: Emmanuele Bassi +Date: Sun Aug 8 19:17:14 2010 +0100 + + state: Return a boolean when getting the key value + + Since the copy might fail, we should return a boolean value and not just + warn on the console - similarly to what ClutterAnimator does. + + clutter/clutter-state.c | 26 ++++++++++++++++++-------- + clutter/clutter-state.h | 2 +- + 2 files changed, 19 insertions(+), 9 deletions(-) + +commit 786285a245096950015f55adc6f43db23371dc90 +Author: Emmanuele Bassi +Date: Sun Aug 8 13:48:51 2010 +0100 + + clutter.modules: Fix UProf id + + build/clutter.modules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fa8ee94c597fa34000d471c1e959a74ebe114076 +Author: Emmanuele Bassi +Date: Fri Aug 6 19:33:21 2010 +0100 + + clutter.modules: Fix the uprof repository + + UProf has moved. + + build/clutter.modules | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit d07a525eccc4b9504980ee01531dc5ee6b8db6e4 +Author: Emmanuele Bassi +Date: Fri Aug 6 17:04:37 2010 +0100 + + text: Do not set the markup unconditionally + + When setting :use-markup we always pass the contents of the Text actor + to clutter_text_set_markup_internal(); if string contains any markup, + this ends up being parsed and used - even when :use-markup is set to + FALSE. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2239 + + clutter/clutter-text.c | 66 +++++++++++++++++++++++++++++++++++++++++--------- + 1 file changed, 55 insertions(+), 11 deletions(-) + +commit fcbfd4ec34ba53953935954cf90f09e5675fb8cc +Author: Neil Roberts +Date: Fri Aug 6 16:41:41 2010 +0100 + + cogl-material: Unref the texture when reverting authority + + When the texture is set on a layer so that it is back to the parent's + texture it would clear the texture change flag but it wouldn't unref + the texture. The free function for a material layer does not unref the + texture if the change flag is cleared so the texture would end up + leaking. This happens for ClutterTexture because it disposes the + texture by setting layer 0 of the material to COGL_INVALID_HANDLE + which ends up the same as the default material. + + clutter/cogl/cogl/cogl-material.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit 7032e249501080a699e19a731be2bc7d7ecc325f +Author: Damien Lespiau +Date: Fri Aug 6 15:39:01 2010 +0100 + + cookbook: Make the table of content have a depth of 2 + + Instead of showing Problem/Solution/Discussion for each recipe, let's + just show the title of those recipes. + + doc/common/cookbook.xsl | 3 +++ + 1 file changed, 3 insertions(+) + +commit 86c3be550efa724d512b6b1c699e05f7f4257bea +Author: Damien Lespiau +Date: Fri Aug 6 12:30:06 2010 +0100 + + cookbook: Remove the note about indenting + + It's not necessary now to special case the indentation of includes as + the XSLT for the cookbook strips leading and trailing space automaticaly + for us. + + doc/cookbook/clutter-cookbook.xml.in | 13 +++---------- + 1 file changed, 3 insertions(+), 10 deletions(-) + +commit 4f5ab7d01049ab3b9ceed5a8cbe6b01e8a928a4e +Author: Damien Lespiau +Date: Thu Aug 5 13:21:52 2010 +0100 + + cookbook: Close a tag, making xsltproc happier + + A tag was not closed. + + doc/cookbook/text.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit cbd6e047dd61ac7ceb47996346ded26d52e6d6d0 +Author: Damien Lespiau +Date: Thu Aug 5 10:58:42 2010 +0100 + + cookbook: Add a recipe on how to create sub-textures + + Fiddle with Cogl textures to create a new ClutterTexture that only + displays a rectangular region of a bigger ClutterTexture. + + doc/cookbook/Makefile.am | 2 + + doc/cookbook/examples/.gitignore | 4 +- + doc/cookbook/examples/Makefile.am | 16 ++- + doc/cookbook/examples/smiley.png | Bin 0 -> 2856 bytes + doc/cookbook/examples/textures-split-go.c | 184 +++++++++++++++++++++++++++ + doc/cookbook/examples/textures-sub-texture.c | 60 +++++++++ + doc/cookbook/images/textures-sub-texture.png | Bin 0 -> 4664 bytes + doc/cookbook/textures.xml | 136 ++++++++++++++++++++ + doc/cookbook/videos/textures-split-go.ogv | Bin 0 -> 89625 bytes + 9 files changed, 394 insertions(+), 8 deletions(-) + +commit ad1f1cb741203f64d97d093981f1e58907ee8e96 +Author: Damien Lespiau +Date: Thu Aug 5 19:50:29 2010 +0100 + + cookbook: Strip leading and trailing space inside programlisting + + It's a XSL FAQ to be able to chomp text nodes and we just have to copy + and paste a XSLT 1.0 solution from: + http://dpawson.co.uk/xsl/sect2/N8321.html#d11325e833 + + Let's then empower our cookbook customization layer to chomp text nodes, + children of programlisting. + + doc/common/cookbook.xsl | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 79 insertions(+) + +commit c0c9ddab65a47404c0e6c5aa3a94c8a235c6d0ff +Author: Damien Lespiau +Date: Tue Aug 3 22:26:14 2010 +0100 + + cookbook: Add text.xml to the list of XML files + + text.xml was feeling lonely and forgotten, that's fixed now. + + doc/cookbook/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +commit b4f4942e07cd2d7f5ad6e235fadb8ed2cf45f48d +Author: Damien Lespiau +Date: Tue Aug 3 21:02:23 2010 +0100 + + cookbook: Add the source XML files as dependencies in the Makefile rules + + The generated cookbook files (either HTML or PDF) do not only depend on + clutter-cookbok.xml but also on all the chapters that compose the + cookbook. Add this dependency to the Makefile rules to have make rebuild + the book when a chapter changes. + + Since XML_FILES is now the list of source files, move recipe-template.xml + to EXTRA_DIST. + + doc/cookbook/Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 8ac3cb29ea6a04f434887c4e7a441ae4a4e67729 +Author: Robert Bragg +Date: Fri Aug 6 14:12:22 2010 +0100 + + material: only deference layer->texture for authority + + In _cogl_material_layer_pre_paint we were mistakenly dereferencing the + layer->texture member for the passed layer instead of dereferencing the + texture state authority which was causing crashes in some cases. + + clutter/cogl/cogl/cogl-material.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 069266f3ed911dd8de69066c5d50a4befca468a8 +Author: Emmanuele Bassi +Date: Thu Aug 5 18:10:22 2010 +0100 + + layout-manager: Freeze ::layout-changed when creating LayoutMeta + + LayoutMeta instances are created lazily. If an actor is added to a + container with a layout manager then the first time the layout manager + might be creating the LayoutMeta instance could be during the allocation + cycle caused by calling clutter_actor_show(). When a LayoutMeta is + instantiated for the first time, a list of properties can be set - and + this might lead to the emission of the ::layout-changed signal. The + signal is, most typically, going to cause a relayout to be queued, and a + warning will be printed on the terminal. + + We should freeze the emission of the ::layout-changed signal during the + creation of the LayoutMeta instances, and thaw it after that. + + clutter/clutter-layout-manager.c | 62 ++++++++++++++++++++++++++++++++++++++-- + 1 file changed, 59 insertions(+), 3 deletions(-) + +commit e7381c47fdaae7d52f9e1e7a1c48d7ecadeae503 +Author: Emmanuele Bassi +Date: Thu Aug 5 17:22:50 2010 +0100 + + bin-layout: Add a text to the test + + We have a rectangle, a cairo texture and a texture. Let's go add a text + actor as well. + + tests/interactive/test-bin-layout.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +commit 315965290b23900e01840a2e6ef1cff17d222969 +Author: Emmanuele Bassi +Date: Thu Aug 5 16:19:51 2010 +0100 + + texture: Update the request mode depending on the size + + If a Texture has been set to: + + • keep its size synchronized with the image data + • maintain the aspect ratio of the image data + + then it should also change its request mode depending on the orientation + of the image data, so that layout managers have a fighting chance of + sizing it correctly. + + clutter/clutter-texture.c | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +commit 2d4125a053b73acc1c037f02bbf1c52bcb6b0a41 +Author: Emmanuele Bassi +Date: Thu Aug 5 15:29:54 2010 +0100 + + texture: Make the :filename property readable + + UI builders and other tools are be interested in the file used to load + the image data. + + README | 7 ++++++- + clutter/clutter-texture.c | 44 ++++++++++++++++++++++++++++++++++++-------- + 2 files changed, 42 insertions(+), 9 deletions(-) + +commit 70303d6f0cbaaddc06be43ce3f3b0b2b79eaa604 +Author: Emmanuele Bassi +Date: Thu Aug 5 13:06:38 2010 +0100 + + Post-release version bump to 1.3.11 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 177d8e52d3823cd0af8fd0b7ab9bb4a7d67c27a8 +Author: Emmanuele Bassi +Date: Wed Aug 4 12:38:53 2010 +0100 + + Release 1.3.10 + + NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 47 insertions(+), 1 deletion(-) + +commit 8668a019a0bde8a078f999cd5b960a1f63f700ec +Author: Emmanuele Bassi +Date: Thu Aug 5 11:41:25 2010 +0100 + + cookbook: Fix the text-shadow recipe + + Fill out the recipe and add more comments to the example code. + + doc/cookbook/examples/text-shadow.c | 10 ++++-- + doc/cookbook/text.xml | 71 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 78 insertions(+), 3 deletions(-) + +commit ea3af7bf334aa2949e9320d54f1a329e599fa587 +Author: Emmanuele Bassi +Date: Wed Aug 4 12:47:16 2010 +0100 + + po: Remove the requirement for LINGUAS and ChangeLog + + We don't use ChangeLogs and the LINGUAS file is replaced by the + AS_ALL_LINGUAS m4 macro. + + po/Makefile.in.in | 2 +- + po/POTFILES.skip | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) + +commit 8326ea26f82dcb756e4717f5ed6b80ea8582b9f1 +Author: Roman Kudiyarov +Date: Tue Aug 3 21:12:12 2010 +0700 + + osx: Fixed stage resize policy + + Added initialization of minimum window size property on Cocoa + side. This property works when user change window size by mouse + dragging. But when size is changed by clutter_actor_set_size this + property will not help and was added another check in + clutter_stage_osx_resize. Also osx_get_geometry was refactoried + because it returns incorrect values in many cases but now size is + saved in [Window reshape] in requisition_width/height and this value + will be returned in any case to frontend. + + clutter/osx/clutter-stage-osx.c | 71 +++++++++++++++++++++-------------------- + 1 file changed, 36 insertions(+), 35 deletions(-) + +commit c1f0b59911fdc6096f070108d100ff14c2e25b29 +Author: Roman Kudiyarov +Date: Wed Aug 4 12:08:50 2010 +0700 + + test: Fixed test-rotate for osx platfom + + There was a bug in clutter-shader-effect. We have to set to zero new object + of type GValue before we can use it in g_value_init. + + clutter/clutter-shader-effect.c | 1 + + 1 file changed, 1 insertion(+) + +commit 52b6a3cd49c4fd654bde0a03b8e57156e731076f +Author: Roman Kudiyarov +Date: Thu Jul 29 21:59:46 2010 +0700 + + osx: added resolution initialization in backend + + It's important step of initialization because all features calls from + font rendering libs based on this parameter. By default it equals to + -1 and test-text-cache test crashes in this case. + + clutter/osx/clutter-backend-osx.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +commit dc23b88de25d24b5b8efaf6ae7e84f3237c175eb +Author: Roman Kudiyarov +Date: Sat Jul 24 11:54:19 2010 +0700 + + osx: Fixed warnings in osx event implementation + + clutter/osx/clutter-event-osx.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit af8308295c95c8bef3538af85d308e7807a8ab22 +Author: Roman Kudiyarov +Date: Fri Jul 23 12:16:23 2010 +0700 + + Added willResize delegate for osx stage. + + By default a clutter stage is not user resizable and this delegate + controls this option while resizing the stage. + + clutter/osx/clutter-stage-osx.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 49b2b623118ab961c6ce15d7f26972391b9075e1 +Author: Roman Kudiyarov +Date: Fri Jul 23 11:25:40 2010 +0700 + + Fixed lack of reaction for keyboard events after showing stage on osx. + + Trick with hiding view while showing the stage affects on responder + chain. The main view ceases to be first responder and we should + manually set first responder. + + clutter/osx/clutter-stage-osx.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit e4c4ef679254b6407133333f9572442444709845 +Author: Roman Kudiyarov +Date: Thu Jul 22 13:51:37 2010 +0700 + + Fixed incorrect size return in osx stage if stage resizable by user. + + For some reasons width&height was equal to 1 if flag user-resizable + was true. + + clutter/osx/clutter-stage-osx.c | 10 ---------- + 1 file changed, 10 deletions(-) + +commit 411b5a09bb11d2b8831d676298d4632ab47ecd21 +Author: Roman Kudiyarov +Date: Wed Jul 21 23:22:57 2010 +0700 + + osx: Added size initialization for stage + + After stage creation it's size can be changed by user and it should be + taken into account in clutter_stage_osx_realize. + + clutter/osx/clutter-stage-osx.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +commit 5218da748f7d5c95d3aeff18c51f54361398748f +Author: Roman Kudiyarov +Date: Mon Jul 19 22:53:49 2010 +0700 + + test: fixed uninitialized variable in test-cogl-point-sprites + + tests/interactive/test-cogl-point-sprites.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 8e2b45648f14debe0039cfd32dddcf262b7f15ce +Author: Roman Kudiyarov +Date: Mon Jul 19 20:46:55 2010 +0700 + + osx: Fixed problem with freezing application while checking behaviour. + + Problem was in incorrect application initialization. + [NSApplication sharedApplication] should be call in backend init(not + in init stage). It doesn't require any data and only makes a + connection to window server. + + clutter/osx/clutter-backend-osx.c | 13 +++++++++++++ + clutter/osx/clutter-stage-osx.c | 13 ------------- + 2 files changed, 13 insertions(+), 13 deletions(-) + +commit 8c69a639cbe39c3b006555c816f325b0cdb4b874 +Author: Roman Kudiyarov +Date: Fri Jul 16 19:46:17 2010 +0700 + + osx: Fixed bug with creating context twice. + + We should assign context and pixel_format vars to null to avoid + multiple context creation. + + clutter/osx/clutter-backend-osx.c | 51 +++++++++++++++++++++------------------ + 1 file changed, 27 insertions(+), 24 deletions(-) + +commit 50793eac51d541648e023455f9d0cc94e8519423 +Author: Roman Kudiyarov +Date: Fri Jul 16 19:19:13 2010 +0700 + + osx: added create_context function in backend + + Cleanup clutter_backend_osx_post_parse function and move context + initialization to clutter_backend_osx_create_context. The OpenGL pixel + format attributes were taken as is. Also move bringing application to + foreground in clutter_stage_osx_realize, it seems there is best place + for it. + + clutter/osx/clutter-backend-osx.c | 92 ++++++++++++++++----------------------- + clutter/osx/clutter-stage-osx.c | 13 ++++++ + 2 files changed, 50 insertions(+), 55 deletions(-) + +commit 904f619419b414e5de86b4bca5cd0f811ef02c87 +Author: Roman Kudiyarov +Date: Thu Jul 15 19:04:28 2010 +0700 + + osx: Implemented hide cursor backend implementation + + Add implementation for hide cursor in stage. Also added using this + feature in test-animator. + + clutter/osx/clutter-stage-osx.c | 5 ++++- + tests/interactive/test-animator.c | 2 +- + 2 files changed, 5 insertions(+), 2 deletions(-) + +commit f22b6a442cb901439d4b590b4f7a6bca4577b116 +Author: Roman Kudiyarov +Date: Thu Jul 15 16:32:59 2010 +0700 + + Added .DS_Store and test logs messages to git ignore + + .gitignore | 2 ++ + 1 file changed, 2 insertions(+) + +commit 12e50114883c21a2f9a0db48e53020532dffa936 +Author: Roman Kudiyarov +Date: Thu Jul 15 16:27:16 2010 +0700 + + osx: Added missed function declaration for stage + + Added empty functions for cursor and window resize functional with + notes FIXME and also they are added to iface. + + clutter/osx/clutter-stage-osx.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +commit 01c9570d168bced1e9055f66016a875bcd86b81d +Author: Roman Kudiyarov +Date: Thu Jul 15 16:00:29 2010 +0700 + + osx: Remove drawing call while showing stage and add viewport init + + Viewport didn't initialized before OGL drawing and it causes crash on + assert so added viewport initalization to + clutter_stage_osx_realize. Also showing the stage causes drawing + function but other part of the system(in particular conformance tests) + don't expect it and aren't ready at this moment. + + clutter/osx/clutter-stage-osx.c | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +commit e3295050f59bcc026b8f0648e2ad2935d9911aed +Author: Roman Kudiyarov +Date: Thu Jul 15 15:46:04 2010 +0700 + + osx: Fixed crash while features initialization + + Clearing current context couses incorrect work of glGetString function + and all next GL functions that use it work incorrectly. + + clutter/osx/clutter-backend-osx.c | 1 - + 1 file changed, 1 deletion(-) + +commit 24d1142ecf03cdeefb4b07cb4ac372d2f2b6b1bf +Author: Emmanuele Bassi +Date: Tue Aug 3 17:53:58 2010 +0100 + + glx: Add more debugging notes + + Should help debug the GLX visual selection. + + clutter/glx/clutter-backend-glx.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit fa54b7c60d52aaf75b1691586c9171b77280ae15 +Author: Emmanuele Bassi +Date: Tue Aug 3 16:48:53 2010 +0100 + + docs: Further clarifications + + Mention the XFixes extension for compositors using input regions to let + events "pass through" the stage. + + Thanks to: Robert Bragg + + clutter/x11/clutter-backend-x11.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit da6b2660ba423924b5fd164fff3a5e05ca206971 +Author: Emmanuele Bassi +Date: Tue Aug 3 16:30:04 2010 +0100 + + docs: Clarify the event retrieval disable behaviour + + When we disable the event retrieval, we now just disable the X11 event + source, not the event selection. We need to make that clear to + applications, especially compositors, which might expect complete + control over the selection. + + clutter/x11/clutter-backend-x11.c | 14 +++++++++++--- + 1 file changed, 11 insertions(+), 3 deletions(-) + +commit 609560b1cb44f4d209de810cc9b94d8d49ba2db5 +Author: Emmanuele Bassi +Date: Tue Aug 3 16:11:52 2010 +0100 + + glx: Unconditionally select X11/GLX events + + Currently, we select input events and GLX events conditionally, + depending on whether the user has disabled event retrieval. + + We should, instead, unconditionally select input events even with event + retrieval disabled because we need to guarantee that the Clutter + internal state is maintained when calling clutter_x11_handle_event() + without requiring applications or embedding toolkits to select events + themselves. If we did that, we'd have to document the events to be + selected, and also update applications and embedding toolkits each time + we added a new mask, or a new class of events - something that's clearly + not possible. + + See: + + http://bugzilla.clutter-project.org/show_bug.cgi?id=998 + + for the rationale of why we did conditional selection. It is now clear + that a compositor should clear out the input region, since it cannot + assume a perfectly clean slate coming from us. + + See: + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2228 + + for an example of things that break if we do conditional event + selection on GLX events. In that specific case, the X11 server ≤ 1.8 + always pushed GLX events on the queue, even without selecting them; this + has been fixed in the X11 server ≥ 1.9, which means that applications + like Mutter or toolkit integration libraries like Clutter-GTK would stop + working on recent Intel drivers providing the GLX_INTEL_swap_event + extension. + + This change has been tested with Mutter and Clutter-GTK. + + clutter/glx/clutter-stage-glx.c | 84 +++++++++++++++++++++++++---------------- + 1 file changed, 52 insertions(+), 32 deletions(-) + +commit 142f288986dba5cdeef2fa2e24fd019ce61fa5b0 +Merge: 10c5cb180 7ed351750 +Author: Emmanuele Bassi +Date: Tue Aug 3 15:44:46 2010 +0100 + + Merge remote branch 'elliot/cookbook-animations-rotating' + + * elliot/cookbook-animations-rotating: + cookbook: Added recipe for animated rotation of an actor + cookbook: Add explanation about including code samples + cookbook: Make filename used in video example consistent + cookbook: Add example code for animated rotation + +commit 10c5cb1800da3bdaf116197a096bf6396efa465f +Author: Robert Bragg +Date: Fri Jul 23 10:12:39 2010 +0100 + + cogl-program: gles2: bind programs lazily as for GL + + This makes the gles2 cogl_program_use consistent with the GL version by + not binding the program immediately and instead leaving it to + cogl-material.c to bind the program when actually drawing something. + + clutter/cogl/cogl/cogl-material-glsl.c | 3 --- + clutter/cogl/cogl/cogl-material-opengl-private.h | 2 +- + clutter/cogl/cogl/cogl-material-opengl.c | 34 ++++++++++++++---------- + clutter/cogl/cogl/driver/gl/cogl-program.c | 10 +++---- + clutter/cogl/cogl/driver/gles/cogl-program.c | 3 --- + 5 files changed, 26 insertions(+), 26 deletions(-) + +commit 4a9321b60cd443bec065bbc8a1c96bb38f8dab1e +Author: Robert Bragg +Date: Tue Jun 8 23:06:50 2010 +0100 + + gles2: Have CoglProgram track uniforms per program + + Previously custom uniforms were tracked in _CoglGles2Wrapper but as part + of a process to consolidate the gl/gles2 shader code it seems to make + sense for this state to be tracked in the CoglProgram object instead. + + http://bugzilla.o-hand.com/show_bug.cgi?id=2179 + + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c | 41 +++++++++++----------- + clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h | 11 +++--- + clutter/cogl/cogl/driver/gles/cogl-program.c | 38 +++++++++++++------- + clutter/cogl/cogl/driver/gles/cogl-program.h | 11 +++++- + 4 files changed, 61 insertions(+), 40 deletions(-) + +commit c26f4ffa228d40e8ef73c075d6e6003d9fcfde5b +Author: Robert Bragg +Date: Mon Aug 2 21:40:55 2010 +0100 + + cogl-shader: unifies the driver/{gl,gles} shader files + + The per driver implementations of cogl-shader.c had become almost + identical we now have a single cogl/cogl-shader.c instead. + + clutter/cogl/cogl/Makefile.am | 2 + + .../cogl/{driver/gles => }/cogl-shader-private.h | 0 + clutter/cogl/cogl/{driver/gles => }/cogl-shader.c | 33 +++- + clutter/cogl/cogl/driver/gl/Makefile.am | 2 - + clutter/cogl/cogl/driver/gl/cogl-shader-private.h | 40 ----- + clutter/cogl/cogl/driver/gl/cogl-shader.c | 169 --------------------- + clutter/cogl/cogl/driver/gles/Makefile.am | 2 - + 7 files changed, 29 insertions(+), 219 deletions(-) + +commit 8021d3e2ebeced1921a973b325275c3e000655a2 +Author: Robert Bragg +Date: Fri Jul 23 17:44:53 2010 +0100 + + cogl-shader: Store the CoglShaderType in CoglShader + + Instead of having to query GL and translate the GL enum into a + CoglShaderType each time cogl_shader_get_type is called we now keep + track of the type in CoglShader. + + clutter/cogl/cogl/driver/gl/cogl-shader-private.h | 1 + + clutter/cogl/cogl/driver/gl/cogl-shader.c | 14 ++------------ + clutter/cogl/cogl/driver/gles/cogl-shader.c | 13 +------------ + 3 files changed, 4 insertions(+), 24 deletions(-) + +commit 467c33a3e37904cb29ea596caff6c70ae5eb503a +Author: Robert Bragg +Date: Sun Jul 25 21:36:41 2010 +0100 + + cogl: don't include cogl-debug.h in cogl.h or install + + cogl-debug.h is an internal header so it shouldn't have been included by + cogl.h and the header shouldn't be installed either. + + clutter/cogl/cogl/Makefile.am | 2 +- + clutter/cogl/cogl/cogl-atlas-texture.c | 1 + + clutter/cogl/cogl/cogl-bitmap.c | 1 + + clutter/cogl/cogl/cogl-framebuffer.c | 1 + + clutter/cogl/cogl/cogl-journal.c | 1 + + clutter/cogl/cogl/cogl-material-arbfp.c | 1 + + clutter/cogl/cogl/cogl-material-opengl.c | 1 + + clutter/cogl/cogl/cogl-material.c | 1 + + clutter/cogl/cogl/cogl-matrix.c | 1 + + clutter/cogl/cogl/cogl-primitives.c | 1 + + clutter/cogl/cogl/cogl-texture-2d-sliced.c | 1 + + clutter/cogl/cogl/cogl.h | 1 - + clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c | 1 + + clutter/cogl/pango/cogl-pango-render.c | 1 + + 14 files changed, 13 insertions(+), 2 deletions(-) + +commit 8b914dfa307ef2e0b84ff7dc1632cb6ae29e7c3e +Author: Robert Bragg +Date: Fri Jul 23 21:37:22 2010 +0100 + + configure.ac: when checking for gl2ext.h include gl2.h + + This makes sure we include gl2.h when looking for gl2ext.h since + gl2ext.h can't always be used standalone. + + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit c23b28396866cfcffa64e16d3d55075be04e0d4e +Author: Emmanuele Bassi +Date: Sat Jul 31 10:40:21 2010 +0100 + + animatable: Allow passing a NULL animation + + The Animatable interface was created specifically for the Animation + class. It turns out that it might be fairly useful to others - such as + ClutterAnimator and ClutterState. + + The newly-added API in this cycle for querying and accessing custom + properties should not require that we pass a ClutterAnimation to the + implementations: the Animatable itself should be enough. + + This is necessary to allow language bindings to wrap + clutter_actor_animate() correctly and do type validation and + demarshalling between native values and GValues; an Animation instance + is not available until the animate() call returns, and validation must + be performed before that happens. + + There is nothing we can do about the animate_property() virtual + function - but in that case we might want to be able to access the + animation from an Animatable implementation to get the Interval for + the property, just like ClutterActor does in order to animate + ClutterActorMeta objects. + + clutter/clutter-actor.c | 3 --- + clutter/clutter-animatable.c | 15 +++------------ + clutter/clutter-animatable.h | 6 ------ + clutter/clutter-animation.c | 24 +++++------------------- + 4 files changed, 8 insertions(+), 40 deletions(-) + +commit c65c0f08d8ea6532f873b09d45033a7e546e05be +Author: Emmanuele Bassi +Date: Sat Jul 31 10:39:53 2010 +0100 + + docs: Fix the BindConstraint example + + A constraint was created but not added to the actor. + + clutter/clutter-bind-constraint.c | 1 + + 1 file changed, 1 insertion(+) + +commit 00eb71b89a09efe4ccb44e55bdff7d2e4da4d26b +Author: Emmanuele Bassi +Date: Fri Jul 30 19:39:35 2010 +0100 + + conform: Move the Score test to the conformance suite + + The interactive test for ClutterScore is really meant to be run as part + of the conformance test suite, so we should move it there. + + tests/conform/.gitignore | 1 + + tests/conform/Makefile.am | 1 + + tests/conform/test-conform-main.c | 2 ++ + tests/{interactive => conform}/test-score.c | 56 +++++++++++++---------------- + tests/interactive/.gitignore | 1 - + tests/interactive/Makefile.am | 1 - + 6 files changed, 28 insertions(+), 34 deletions(-) + +commit a20a509584c8f8982b6f2f5daf92d882f99e6d02 +Author: Emmanuele Bassi +Date: Thu Jul 29 17:18:25 2010 +0100 + + x11: Split out conditions and warnings + + XGetGeometry is a great piece of API, since it gets a lot of stuff that + are moderately *not* geometry related - the root window, and the depth + being two. + + Since we have multiple conditions depending on the result of that call + we should split them up depending on the actual error - and each of them + should have a separate error message. This makes debugging simpler. + + clutter/x11/clutter-stage-x11.c | 24 +++++++++++++++++++----- + 1 file changed, 19 insertions(+), 5 deletions(-) + +commit 0736cb73230c6f2e39b7186770f7405f4dda228e +Author: Emmanuele Bassi +Date: Thu Jul 29 17:00:24 2010 +0100 + + actor: Make set_flags() safe from unrefs + + It's possible - though not recommended - that user code causes the + destruction of an actor in one of the notification handlers for + flag-based properties. We should protect the multiple notification + emission with g_object_ref/unref. + + clutter/clutter-actor.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 6f737a5f5a107cc728a9be59d79e9213dfffd026 +Author: Emmanuele Bassi +Date: Thu Jul 29 16:58:37 2010 +0100 + + Require g-i 0.6.14 + + The 0.6.14 is the last 0.6 release, before the format changes; we build + with both 0.6 and 0.9, so we should depend to the former and not the + latter. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 7ed3517504754216304607136450ef8b718597f7 +Author: Elliot Smith +Date: Wed Jul 21 14:50:32 2010 +0100 + + cookbook: Added recipe for animated rotation of an actor + + New recipe covering how to animate rotation of + an actor (in all axes). + + Covers various factors affecting rotation animation + (like orientation of axes, parent rotation/orientation), + as well as trying to make rotations easier to visualise + (e.g. describing how rotation direction is affected by + those factors, how a rotation can be expected to look + when animated). Uses implicit animations for code examples. + + Also refers to a full code example which uses ClutterState. + + doc/cookbook/Makefile.am | 9 + + doc/cookbook/animations.xml | 510 ++++++++++++++++++++- + ...tions-rotating-container-reverses-direction.ogv | Bin 0 -> 204262 bytes + .../videos/animations-rotating-x-centered.ogv | Bin 0 -> 154165 bytes + ...ations-rotating-x-minus-180-with-y-minus-96.ogv | Bin 0 -> 39584 bytes + ...ations-rotating-x-minus-180-with-z-minus-96.ogv | Bin 0 -> 31171 bytes + .../videos/animations-rotating-x-minus-45.ogv | Bin 0 -> 30059 bytes + doc/cookbook/videos/animations-rotating-y-45.ogv | Bin 0 -> 34009 bytes + .../videos/animations-rotating-y-centered.ogv | Bin 0 -> 150864 bytes + doc/cookbook/videos/animations-rotating-z-90.ogv | Bin 0 -> 53592 bytes + .../videos/animations-rotating-z-centered.ogv | Bin 0 -> 200166 bytes + 11 files changed, 517 insertions(+), 2 deletions(-) + +commit 94fcbafe18b2e7079c79dde393de4b25fad02456 +Author: Elliot Smith +Date: Wed Jul 21 15:44:16 2010 +0100 + + cookbook: Add explanation about including code samples + + Updated the "Contributing" section to explain how to include + a full code sample at the end of a recipe. + + doc/cookbook/clutter-cookbook.xml.in | 95 ++++++++++++++++++++++++++++++++++++ + 1 file changed, 95 insertions(+) + +commit 9e29aac49a64adc3d1edcf54a473bbe2b074b98a +Author: Elliot Smith +Date: Wed Jul 21 14:42:31 2010 +0100 + + cookbook: Make filename used in video example consistent + + Fixed video filename in sample markup to match the + guidelines given in the "Contributing" section. + + doc/cookbook/clutter-cookbook.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 12ffe70a86440e04752d8dd18a1b8bc984a4e02b +Author: Elliot Smith +Date: Wed Jul 21 12:51:47 2010 +0100 + + cookbook: Add example code for animated rotation + + Add example code demonstrating how to rotate in the x,y,z + axes using ClutterState. Integrated with build. + + doc/cookbook/examples/.gitignore | 1 + + doc/cookbook/examples/Makefile.am | 3 + + doc/cookbook/examples/animations-rotating.c | 136 ++++++++++++++++++++++++++++ + 3 files changed, 140 insertions(+) + +commit 385ac8e1811c1ca485ed129d96b8368d48955748 +Author: Emmanuele Bassi +Date: Fri Jul 23 12:42:55 2010 +0100 + + modules: Bump cairo to 1.9.12 + + And add poppler. + + build/clutter.modules | 25 ++++++++++++++++++++++--- + 1 file changed, 22 insertions(+), 3 deletions(-) + +commit 3d806f498f1c4a02b2a166bdd5e124e7e11239cd +Author: Øyvind Kolås +Date: Fri Jul 23 12:16:37 2010 +0100 + + effect: fix conversion from degrees to radians + + clutter/clutter-page-turn-effect.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ec26466cdce5b701af7c82bce4588cb6f2e3180c +Author: Neil Roberts +Date: Wed Jul 14 19:39:24 2010 +0100 + + gles/cogl-shader.c: Store the shader type in CoglShader + + Nothing was storing the shader type when a shader was created so it + would get confused about whether it was a custom vertex or fragment + shader. + + Also the 'type' member of CoglShader was a GLenum but the only place + that read it was treating it as if it was CoglShaderType. This changes + it be CoglShaderType. + + clutter/cogl/cogl/driver/gles/cogl-shader-private.h | 2 +- + clutter/cogl/cogl/driver/gles/cogl-shader.c | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +commit 616eccdad63ce35d5ce59094cf026970b799cf09 +Author: Neil Roberts +Date: Thu Jul 22 17:27:04 2010 +0100 + + test-shader: Unref the ClutterShader after setting it on an actor + + Otherwise the test leaks the shader object and the underlying GLSL + program. + + tests/interactive/test-shader.c | 4 ++++ + 1 file changed, 4 insertions(+) + +commit a639ed6593fa64c83bc4c462d9c3eac9bf543485 +Author: Neil Roberts +Date: Thu Jul 22 16:58:23 2010 +0100 + + Plug the leaking CoglProgram and CoglShader + + _cogl_program_free and _cogl_shader_free never freed the struct their + structs so it would end up leaking a little bit. + + clutter/cogl/cogl/driver/gl/cogl-program.c | 2 ++ + clutter/cogl/cogl/driver/gl/cogl-shader.c | 2 ++ + clutter/cogl/cogl/driver/gles/cogl-program.c | 2 ++ + clutter/cogl/cogl/driver/gles/cogl-shader.c | 2 ++ + 4 files changed, 8 insertions(+) + +commit f17717717ab3266676053bc020f45b6bacdcee0f +Author: Neil Roberts +Date: Thu Jul 22 16:14:59 2010 +0100 + + configure.ac: Fix the missing COGL_HAS_GLES[12] defines + + In 7fae8ac051 the two cogl-defines.h files from GLES and GL were + unified. However this missed out the COGL_HAS_GLES[12] defines from + GLES. The configure.ac still made an AC_SUBST for the right version + but the replacement was never put in any headers. This fixes it so + that instead of directly calling AC_SUBST the value is now put into a + variable which later gets added to COGL_DEFINES so that it will end up + in cogl-defines.h + + configure.ac | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +commit d87b34f98283797a13e983f37ef9dd9f43407602 +Author: Neil Roberts +Date: Thu Jul 22 16:12:46 2010 +0100 + + Fix a small typo in configure.ac for the COGL_DEFINES variable + + There was an initializer for the COGL_DEFINES variable which sets it + to the empty value before it is filled in. The name of the variable + wasn't spelt right so it wouldn't work properly. This doesn't really + matter because it would default to empty anyway. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a1c74209795c341dc89dbe2f6c3a91242a8c813c +Author: Neil Roberts +Date: Thu Jul 15 17:10:31 2010 +0100 + + test-shader: The tex_coord varying is now an array under GLES2 + + Since the GLES2 wrapper grew support for multi-texturing, the + tex_coord varying variable defined in the vertex shader is actually an + array of texture coordinates so it ought to match in the fragment + shader in test-shader. This seemed to work anyway under Mesa/Intel but + under NVidia it does not so I don't think it's safe to assume that + linking a non-array varying with an array will work. + + tests/interactive/test-shader.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 488e376b7e356614494bee62ed0437ea721c2447 +Author: Neil Roberts +Date: Thu Jul 22 19:58:47 2010 +0100 + + cogl-bitmap-pixbuf: Avoid copying the buffer in more circumstances + + When loading an RGB image GdkPixbuf will pad the rowstride so that the + beginning of each row is aligned to 4 bytes. This was causing us to + fallback to the code that copies the buffer. It is probably safe to + avoid copying the buffer if we can detect that the rowstride is simply + an alignment of the packed rowstride. + + This also changes the copying fallback code so that it uses the + aligned rowstride. However it is now extremely unlikely that the + fallback code would ever be used. + + clutter/cogl/cogl/cogl-bitmap-pixbuf.c | 33 ++++++++++++++++++++++++--------- + 1 file changed, 24 insertions(+), 9 deletions(-) + +commit b9295bf0e5e103c2acd4b1c14d402780e824c69a +Author: Neil Roberts +Date: Thu Jul 22 19:15:44 2010 +0100 + + cogl-bitmap-pixbuf: Fix the rowstride used when copying a GdkPixbuf + + In commit b780413e5ae4b the GdkPixbuf loading code was changed so that + if it needs to copy the pixbuf then it would tightly pack it. However + it was still using the rowstride from the pixbuf so the image would + end up skewed. This fixes it to use the real rowstride. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2235 + + clutter/cogl/cogl/cogl-bitmap-pixbuf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit bb1b1b151e28b87071cdc064af648f8c7d26b1e9 +Author: Neil Roberts +Date: Tue Jul 20 17:34:04 2010 +0100 + + cogl-material: Don't map the shininess value to [0,1] + + In OpenGL the 'shininess' lighting parameter is floating point value + limited to the range 0.0→128.0. This number is used to affect the size + of the specular highlight. Cogl materials used to only accept a number + between 0.0 and 1.0 which then gets multiplied by 128.0 before sending + to GL. I think the assumption was that this is just a weird GL quirk + so we don't expose it. However the value is used as an exponent to + raise the attenuation to a power so there is no conceptual limit to + the value. + + This removes the mapping and changes some of the documentation. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2222 + + clutter/cogl/cogl/cogl-material-opengl.c | 6 ++---- + clutter/cogl/cogl/cogl-material.c | 4 +++- + clutter/cogl/cogl/cogl-material.h | 9 +++++---- + 3 files changed, 10 insertions(+), 9 deletions(-) + +commit d76d82c88ffe8c1bdebef983716d8be77907e124 +Author: Neil Roberts +Date: Wed Jul 21 23:22:07 2010 +0100 + + cogl-material: Always reset the GLSL program to zero when flushing + + When flushing a fixed-function or arbfp material it would always call + disable_glsl to try to get rid of the previous GLSL shader. This is + needed even if current_use_program_type is not GLSL because if an + application calls cogl_program_uniform then Cogl will have to bind the + program to set the uniform. If this happens then it won't update + current_use_program_type presumably because the enabled state of arbfp + is still valid. + + The problem was that disable_glsl would only select program zero when + the current_use_program_type is set to GLSL which wouldn't be the case + if cogl_program_uniform was called. This patch changes it to just + directly call _cogl_gl_use_program_wrapper(0) instead of having a + separate disable_glsl function. The current program is cached in the + cogl context anyway so it shouldn't cause any extra unnecessary GL + calls. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2232 + + clutter/cogl/cogl/cogl-material-opengl.c | 15 ++------------- + 1 file changed, 2 insertions(+), 13 deletions(-) + +commit ea255154f503112ee238b5c2c2b2ba1d3f77203f +Author: Chris Leick +Date: Thu Jul 22 11:40:57 2010 +0100 + + po: Add de.po + + Signed-off-by: Emmanuele Bassi + + po/de.po | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 104 insertions(+) + +commit 24b9748f0a988110dfeda660d2f20df6e14cde3d +Author: Chris Kühl +Date: Thu Jul 22 11:21:21 2010 +0200 + + Fixed more set using *_get_* typos. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2233 + + clutter/clutter-texture.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 99d7d31318b44eacf8d8a64ee1bb92fc511ab8ce +Author: Emmanuele Bassi +Date: Thu Jul 22 10:48:21 2010 +0100 + + docs: Improve the text of X11 event-related functions + + We need to make sure that people disabling event handling in Clutter + call clutter_x11_handle_event() to update Clutter's internal state. + + clutter/x11/clutter-backend-x11.c | 15 ++++++++++----- + clutter/x11/clutter-event-x11.c | 8 ++++++-- + 2 files changed, 16 insertions(+), 7 deletions(-) + +commit 1dee65770a7eba85c899890e652d4cf32744c71a +Author: Neil Roberts +Date: Thu Jul 22 10:04:06 2010 +0100 + + Minor fix to the documentation for clutter_texture_get_sync_size + + The documentation was recursively referring to itself causing a stack + overflow in the reader's brain. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2233 + + clutter/clutter-texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 706f42645a3436089ad33d9d07844cc4ae202b12 +Author: Emmanuele Bassi +Date: Wed Jul 21 17:25:15 2010 +0100 + + build: Depend on g-i 0.9.0 + + The introspection format changed, so we should depend on the new one. + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit eae4561929938057c398498267b7500796fa9d92 +Author: Emmanuele Bassi +Date: Wed Jul 21 16:10:46 2010 +0100 + + Clean up the private flags for ClutterActor + + Provide macros to quickly query a flag, and remove all namespacing + except the initial 'CLUTTER'. + + clutter/clutter-actor.c | 109 ++++++++++++++++------------------ + clutter/clutter-backend.c | 2 +- + clutter/clutter-cairo-texture.c | 2 +- + clutter/clutter-main.c | 12 ++-- + clutter/clutter-private.h | 34 +++++++---- + clutter/clutter-stage.c | 16 ++--- + clutter/egl/clutter-backend-egl.c | 2 +- + clutter/glx/clutter-backend-glx.c | 2 +- + clutter/osx/clutter-stage-osx.c | 6 +- + clutter/win32/clutter-backend-win32.c | 2 +- + clutter/win32/clutter-stage-win32.c | 6 +- + clutter/x11/clutter-event-x11.c | 2 +- + clutter/x11/clutter-stage-x11.c | 8 +-- + 13 files changed, 97 insertions(+), 106 deletions(-) + +commit 0dfbf010b8d4a7ca877061134e3b02c362517cc3 +Author: Emmanuele Bassi +Date: Wed Jul 21 15:21:08 2010 +0100 + + x11: Add more checks to set_stage_foreign() + + Check all the pre-requisites to avoid segfaults later on. + + clutter/x11/clutter-stage-x11.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +commit 8538e1bf586464f841f8321aa313be4a372c8159 +Author: Emmanuele Bassi +Date: Wed Jul 21 15:14:36 2010 +0100 + + x11: Clean up TexturePixmap header and private data structure + + Align the header file and use bitfields instead of booleans. + + clutter/x11/clutter-x11-texture-pixmap.c | 22 ++++----- + clutter/x11/clutter-x11-texture-pixmap.h | 84 ++++++++++++++++---------------- + 2 files changed, 52 insertions(+), 54 deletions(-) + +commit 0e80747a684339d116e7860b26a7049320525284 +Author: Neil Roberts +Date: Sat Jul 17 14:08:28 2010 +0100 + + cogl-material: Consider the shader when deciding if materials equate + + _cogl_material_equal was ignoring the user shader state so rectangles + with different shaders would get batched together. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2220 + + clutter/cogl/cogl/cogl-material.c | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +commit f2d0f0ab5f120c514b82d75478aea1e17ad51ba7 +Author: Emmanuele Bassi +Date: Tue Jul 20 14:39:43 2010 +0100 + + stage: Ignore redraws on destroyed stages + + We might get requests to redraw even during destruction; we should + ignore them and do some NULL checks instead of blindly invoking + functions. + + clutter/clutter-stage.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 7b6b2ea55b758486f7d0dbe6eb8fe0bd89610de8 +Author: Emmanuele Bassi +Date: Tue Jul 20 14:39:01 2010 +0100 + + stage-window: Add argument guards + + Validate the arguments passed to StageWindow's methods. + + clutter/clutter-stage-window.c | 35 ++++++++++++++++++++++++++--------- + 1 file changed, 26 insertions(+), 9 deletions(-) + +commit a7adfd874524bd0e4b1d61c0e1714d0037ffa70f +Author: Emmanuele Bassi +Date: Mon Jul 19 16:03:35 2010 +0100 + + po: Re-sync Makefile.in.in + + Use the one that ships with gtk+. + + po/Makefile.in.in | 47 +++++++++++++++-------------------------------- + 1 file changed, 15 insertions(+), 32 deletions(-) + +commit e45b8be71b6f5a0e95db2b6f1d4d92fbe59d2cdc +Author: Elliot Smith +Date: Mon Jul 19 12:52:00 2010 +0100 + + cookbook: Fix key press to examine modifers correctly + + The simple key press example in the cookbook used a brittle + and incorrect switch statement to test modifier values. Instead, + use logical "&" of the state with the modifiers we're interested + in to check which keys were pressed. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2223 + + doc/cookbook/events.xml | 32 ++++++++++++++------------------ + 1 file changed, 14 insertions(+), 18 deletions(-) + +commit 5865d2a4b393a86180a36505419f2502433ccc00 +Author: Emmanuele Bassi +Date: Sun Jul 18 22:53:56 2010 +0100 + + cookbook: Use TESTS_DATA_DIR + + We need the correct location for redhand.png if we want to load it + in textures-reflection. + + doc/cookbook/examples/textures-reflection.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dc19e26073c52fd7810a3a7f2fd98be67d2bab3e +Author: Emmanuele Bassi +Date: Sun Jul 18 11:20:44 2010 +0100 + + cookbook: Add image and example for text-shadow + + doc/cookbook/text.xml | 28 +++++++++++++++++++++++++++- + 1 file changed, 27 insertions(+), 1 deletion(-) + +commit 0dac5e0557a637099bba873abba6068f4c45cefa +Author: Emmanuele Bassi +Date: Sun Jul 18 11:15:25 2010 +0100 + + cookbook: Include the textures-reflection example code + + Add a section at the end of the recipe containing the full code of the + example. + + doc/cookbook/textures.xml | 44 ++++++++++++++++++++++---------------------- + 1 file changed, 22 insertions(+), 22 deletions(-) + +commit 76d8119a7fcdbd64566d8ef16f73e50b0ae28c7f +Author: Neil Roberts +Date: Sat Jul 17 12:40:19 2010 +0100 + + cogl-material-arbfp: Use separate buffers when calling g_ascii_dtostr + + g_ascii_dtostr was being used in four separate arguments to + g_string_append_printf but all invocations of it were using the same + buffer. This would end up with all of the arguments having the same + value which would depend on whichever order the compiler evaluates + them in. This patches changes it to use a multi-dimensional array and + a loop to fill in the separate buffers. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2219 + + clutter/cogl/cogl/cogl-material-arbfp.c | 19 ++++++++++--------- + 1 file changed, 10 insertions(+), 9 deletions(-) + +commit 90b74458d2ac8fcedea8f9dc3e28a3e9d9455bc7 +Author: Emmanuele Bassi +Date: Sun Jul 18 10:56:35 2010 +0100 + + cookbook: Add an empty recipe for shadows under text + + Currently, it's just an example and an image, but it should be easy to + flesh it out properly for the "Text" chapter. + + doc/cookbook/Makefile.am | 1 + + doc/cookbook/clutter-cookbook.xml.in | 1 + + doc/cookbook/examples/.gitignore | 1 + + doc/cookbook/examples/Makefile.am | 3 ++ + doc/cookbook/examples/text-shadow.c | 59 +++++++++++++++++++++++++++++++++++ + doc/cookbook/images/text-shadow.png | Bin 0 -> 17618 bytes + doc/cookbook/text.xml | 40 ++++++++++++++++++++++++ + 7 files changed, 105 insertions(+) + +commit bb3dc013bffe387dd1532df4c0469a88ef54808a +Author: Emmanuele Bassi +Date: Sun Jul 18 10:53:06 2010 +0100 + + cookbook: Add example code + + The cookbook should also include fully functional code examples. We can + even XInclude them into the docbook XML itself. + + The examples should be built with the coobook, so that we can always + make sure they are up to date. + + configure.ac | 1 + + doc/cookbook/Makefile.am | 4 + + doc/cookbook/examples/.gitignore | 1 + + doc/cookbook/examples/Makefile.am | 28 +++++++ + doc/cookbook/examples/textures-reflection.c | 110 ++++++++++++++++++++++++++++ + 5 files changed, 144 insertions(+) + +commit 5f4f2fa3c7e95d13664e40d3e238594170df1486 +Author: Emmanuele Bassi +Date: Sat Jul 17 10:23:57 2010 +0100 + + Add gmo files to the Git ignore list + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 6983429e4a937d6c64beb427b137290e16db4527 +Author: Emmanuele Bassi +Date: Fri Jul 16 23:37:59 2010 +0100 + + material-arbfp: Use locale-independent double to string conversion + + The ARBfp programs are created with a printf() wrapper, which usually + fails in non-en locales as soon as you start throwing things like + floating point values in the mix. + + We should use the g_ascii_dtostr() function which places a double into a + string buffer in a locale-independent way. + + http://bugzilla.clutter-project.org/show_bug.cgi?id=2219 + + clutter/cogl/cogl/cogl-material-arbfp.c | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +commit 6f220399ae862f49f3f2aa54ec6681e159f0a934 +Author: Emmanuele Bassi +Date: Fri Jul 16 17:31:27 2010 +0100 + + cookbook: Use the right tag for the screenshot + + Screenshots should be using the tag, not the
one. + + doc/cookbook/textures.xml | 15 +++++++++++---- + 1 file changed, 11 insertions(+), 4 deletions(-) + +commit 71dfdf92d74603d4e8fc48eeb9da4a6a051d45f3 +Merge: af6f023a8 7be6ed333 +Author: Emmanuele Bassi +Date: Fri Jul 16 17:23:36 2010 +0100 + + Merge remote branch 'elliot/cookbook-actor-opacity' + + Conflicts: + doc/cookbook/Makefile.am + +commit af6f023a80dd02c39f02bd0876714129809377ec +Author: Emmanuele Bassi +Date: Fri Jul 16 17:20:38 2010 +0100 + + cookbook: Add a missing image to the list + + doc/cookbook/Makefile.am | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit e92c8d72cc32a7403735138e723f18ae6ecee19c +Merge: ad1613a93 489799bb4 +Author: Emmanuele Bassi +Date: Fri Jul 16 17:13:12 2010 +0100 + + Merge remote branch 'elliot/cookbook-include-videos' + + * elliot/cookbook-include-videos: + cookbook: Tweak so that videos sit inside a paragraph for better spacing + docs: Note the P_() macro in the HACKING file + cookbook: Added support for inline video + + Conflicts: + doc/cookbook/Makefile.am + +commit ad1613a93670fcdf1ca2e44d1435cf0655776c25 +Merge: 4170eacd9 da2215049 +Author: Emmanuele Bassi +Date: Fri Jul 16 17:12:37 2010 +0100 + + Merge remote branch 'elliot/cookbook-animation-fading' + + * elliot/cookbook-animation-fading: + cookbook: Minor modification to wording to improve clarity + cookbook: Added recipe for fading actors in/out + +commit 4170eacd94e73de1e25a648b9f0d94868af743a0 +Author: Emmanuele Bassi +Date: Fri Jul 16 17:04:31 2010 +0100 + + cookbook: Add a recipe for texture reflection + + A common request: how to create a clone of a texture that looks like a + reflection. + + doc/cookbook/images/textures-reflection.png | Bin 0 -> 23953 bytes + doc/cookbook/textures.xml | 198 ++++++++++++++++++++++++++++ + 2 files changed, 198 insertions(+) + +commit 7be6ed3334a55b7ba89d116905a603c625866c41 +Author: Elliot Smith +Date: Thu Jul 15 19:47:53 2010 +0100 + + cookbook: Added a recipe about making an actor transparent + + Explains how to make an actor transparent so that other actors + are visible through it. + + Also explains a bit more generally about opacity and how + it's computed from the actor, container, and color; and how actor + visibility is affected by depth (fog) and depth order. + + doc/cookbook/Makefile.am | 5 +- + doc/cookbook/actors.xml | 229 +++++++++++++++++++++ + .../actors-opacity-container-affects-opacity.png | Bin 0 -> 5150 bytes + doc/cookbook/images/actors-opacity.png | Bin 0 -> 5029 bytes + 4 files changed, 233 insertions(+), 1 deletion(-) + +commit da2215049852e43e6ae42d4097d8a59825e31dab +Author: Elliot Smith +Date: Fri Jul 16 12:48:56 2010 +0100 + + cookbook: Minor modification to wording to improve clarity + + Text referred to three animation methods, but only provides + examples for two of them; and in future there may be more/fewer + than 3. So I reworded it. + + doc/cookbook/animations.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 962b3c68857813967c3f3fc62ca87e7e3bc9cf6d +Author: Elliot Smith +Date: Fri Jul 16 12:34:44 2010 +0100 + + cookbook: Added recipe for fading actors in/out + + Added a recipe showing how to fade actors in/out by + animating their opacity property, using both implicit + animations and ClutterState. + + doc/cookbook/Makefile.am | 4 + + doc/cookbook/animations.xml | 128 ++++++++++++++++++++- + .../videos/animations-fading-in-then-out.ogv | Bin 0 -> 92403 bytes + doc/cookbook/videos/animations-fading-out.ogv | Bin 0 -> 64464 bytes + 4 files changed, 131 insertions(+), 1 deletion(-) + +commit 3aa3893a1100ec24f713f6ca8f4272e95b00e518 +Author: Emmanuele Bassi +Date: Fri Jul 16 12:01:42 2010 +0100 + + docbook: Add an introduction to the texture section + + doc/cookbook/textures.xml | 17 ++++++++++++++--- + 1 file changed, 14 insertions(+), 3 deletions(-) + +commit e3de96c2043826f50380c7b10f7f8cbf9b1f55d1 +Author: Emmanuele Bassi +Date: Fri Jul 16 11:29:28 2010 +0100 + + po: Fix the LTR string translation + + po/zh_CN.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a8595435b8b3e85b410abc46885402b8d34575b3 +Author: Emmanuele Bassi +Date: Fri Jul 16 11:23:01 2010 +0100 + + po: Remove unused LINGUAS file + + The ALL_LINGUAS variable is generated from the list of po files. + + po/LINGUAS | 1 - + 1 file changed, 1 deletion(-) + +commit ec81e8d7388c3aa8ac6d5fcbff7f72deae0abe87 +Author: raven +Date: Fri Jul 16 11:18:02 2010 +0100 + + Add pl translations + + Signed-off-by: Emmanuele Bassi + + po/pl.po | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 117 insertions(+) + +commit 9b7579d9161d0bd120bf5154a8c281ca068e97c2 +Author: happyaron +Date: Fri Jul 16 11:17:30 2010 +0100 + + Add zn_CN translations + + Signed-off-by: Emmanuele Bassi + + po/zh_CN.po | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 112 insertions(+) + +commit 489799bb4d956c74c1a89d7ba5d82ce3a25e56f2 +Author: Elliot Smith +Date: Thu Jul 15 17:24:50 2010 +0100 + + cookbook: Tweak so that videos sit inside a paragraph for better spacing + + doc/common/cookbook.xsl | 22 ++++++++++++---------- + 1 file changed, 12 insertions(+), 10 deletions(-) + +commit ec7b0b438962a60a5b269bd712724cc3e59b7795 +Author: Emmanuele Bassi +Date: Thu Jul 15 14:26:16 2010 +0100 + + docs: Note the P_() macro in the HACKING file + + doc/HACKING | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 1d9c64ff16cc3070405cd6a67221712cf0893b7e +Author: Elliot Smith +Date: Thu Jul 15 13:27:02 2010 +0100 + + cookbook: Added support for inline video + + Amended Makefile to copy content of videos directory into + installation directories. Also copies videos and images + into the html/ directory during the build, so that the + built cookbook can be viewed locally (for testing without + having to install). + + Added an XSLT template to transform Docbook + elements into HTML 5