summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GIOScheduler: Use a GList, not GSList for jobswip/async-io-perfColin Walters2012-06-211-8/+8
| | | | | | | | | In general, code using g_slist_delete_link() is broken, because it potentially requires an O(n) traversal. Just switch to GList in this case. The performance hit here was exacerbated by the fact that we were holding a mutex that needed to be accessed by all threads.
* GIOScheduler: Avoid constant iteration over pending job listColin Walters2012-06-211-26/+15
| | | | | | The iteration over the list (while holding a mutex) was a serious performance hit for asynchronous I/O. We can just use g_cancellable_connect().
* gmain: Optimize insertion of matching or higher priority sourcesColin Walters2012-06-211-6/+12
| | | | | | | | | | | | | | | | | | | | Calling g_source_attach() does an O(n) iteration over all current sources until it found the insertion point, while holding the context mutex. This is a serious performance hit for heavy asynchronous I/O, because GIOScheduler sends results back to the source context via g_source_attach(). A more correct fix for this would be a priority queue, but this patch is quite simple - we just walk the source list in reverse instead of forwards. For applications where most sources are the same priority (or they have just a few lower-priority sources), this patch is a large speedup. However, this patch will degrade performance in the case of inserting a high-priority source for applications which have many lower-priority sources. https://bugzilla.gnome.org/show_bug.cgi?id=619329
* Updated Spanish translationDaniel Mustieles2012-06-141-65/+77
|
* Updated Arabic translationKhaled Hosny2012-06-131-1838/+2181
|
* Update to use XDG cache home for thumbnailsWilliam Jon McCann2012-06-131-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675168
* Improve GTimeZone test coverageMatthias Clasen2012-06-131-2/+17
|
* glib-compile-resources: Forward errors from spawned processesBenjamin Otte2012-06-131-10/+12
| | | | | We just grab stderr from gdk-pixbuf-to-csource and xmllint and include it in the error message. It's the best we can do.
* gtype: make these cases fatal.Stefan Sauer2012-06-121-4/+2
| | | | | | Otherwise we crash with a null-ptr deref in g_object_newv and ever there we should not return null, as we're saying that object creation will not return null.
* update .gitignoreDan Winship2012-06-121-0/+1
|
* gunixoutputstream: add missing can_poll() implementationDan Winship2012-06-121-0/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677770
* Remove trailing commas from enumsMurray Cumming2012-06-122-2/+2
|
* Correct the docs for g_time_zone_adjust_timeMatthias Clasen2012-06-111-1/+1
| | | | | March 13, 2010 is very ordinary. March 14, 2010 is the special day.
* Improve GTimeZone test coverageMatthias Clasen2012-06-111-0/+66
|
* Cosmetic changesMatthias Clasen2012-06-112-32/+11
|
* Improve GOptionContext test coverageMatthias Clasen2012-06-111-2/+109
|
* Fix a typoMatthias Clasen2012-06-111-2/+2
| | | | It is 'entries', not 'entires'.
* GDBusProxy: Treat org.freedesktop.systemd1.Masked error as non-fatalDavid Zeuthen2012-06-081-8/+26
| | | | | | | | | This is useful otherwise we'll fail if a systemd service is masked. See bug 677718 for details. https://bugzilla.gnome.org/show_bug.cgi?id=677718 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
* Fix path to aclocal in output messageDaniel Macks2012-06-071-1/+1
| | | | | | | | | | datadir is defined in terms of datarootdir by default in configure (datadir='${datarootdir}' with ${datarootdir} not expanded), so defining datadir must happen *after* datarootdir is defined in the glib-gettextize shell script. Otherwise ${datarootdir} is null when it is expanded at runtime. https://bugzilla.gnome.org/show_bug.cgi?id=518309
* configure: Add --disable-libelf optionMartin Jansa2012-06-061-4/+6
| | | | | | See http://git.openembedded.org/openembedded-core/tree/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch?id=1f73485a143f0aa6cd87636f3d36a7d1dfc40a3b Signed-off-by: Colin Walters <walters@verbum.org>
* gdbus: Implement g_dbus_connection_get_last_serial()Tomas Bzatek2012-06-065-0/+145
| | | | | | | This patch brings an ability to retrieve serial number of the last message sent within the current thread. https://bugzilla.gnome.org/show_bug.cgi?id=676825
* tests/spawn-multithreaded: Decrease parallelism to avoid crashing on OS XColin Walters2012-06-061-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677527
* Pass -framework sub-flag without embedded whitespaceDaniel Macks2012-06-052-3/+3
| | | | | | | | | The "-framework" linker flag takes a second word as a parameter. If they are passed separated with whitespace, some flag-handling routines may not know to keep the two words together as a single unit. Use -Wl,, to pass multiple words without embedded whitespace. https://bugzilla.gnome.org/show_bug.cgi?id=566994
* configure: Require libelf 0.8.12Daniel Macks2012-06-051-1/+1
| | | | | | | | Older versions don't have the required API. (Commit message written by Colin Walters <walters@verbum.org>) https://bugzilla.gnome.org/show_bug.cgi?id=673253
* g_dbus_gvariant_to_gvalue(): Add missing out annotationMartin Pitt2012-06-051-1/+1
|
* GLib 2.33.22.33.2Ryan Lortie2012-06-041-1/+1
|
* Updates for 2.33.2Matthias Clasen2012-06-041-0/+46
|
* Improve GResource test coverageMatthias Clasen2012-06-041-3/+109
|
* Improve GSocketAddress test coverageMatthias Clasen2012-06-041-2/+18
|
* Improve GNetworkMonitor test coverageMatthias Clasen2012-06-041-47/+103
|
* Improve GIcon test coverageMatthias Clasen2012-06-041-0/+6
|
* Formatting cleanupsMatthias Clasen2012-06-041-47/+49
|
* Improve GMenu test coverageMatthias Clasen2012-06-041-7/+57
|
* Improve GApplication test coverageMatthias Clasen2012-06-042-2/+44
|
* Improve GActionGroup test coverageMatthias Clasen2012-06-041-11/+123
|
* Improve GIcon test coverageMatthias Clasen2012-06-041-0/+9
|
* Expand GAppInfo testsMatthias Clasen2012-06-041-0/+15
|
* Updated French translationBruno Brouard2012-06-031-142/+182
|
* glib: fix g_reload_user_special_dirs_cacheMarc-Antoine Perennou2012-06-011-6/+10
| | | | | | | | | | We handle a special case for G_USER_DIRECTORY_DESKTOP when we init the values but drop it when we reload them. Fix this by preferring old values to NULL https://bugzilla.gnome.org/show_bug.cgi?id=676594 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
* Updated Spanish translationDaniel Mustieles2012-05-311-25/+25
|
* Updated Spanish translationDaniel Mustieles2012-05-311-105/+102
|
* GConverterInputStream: fix an edge caseDan Winship2012-05-302-0/+164
| | | | | | | | | | | | | | | | | | | | | Reading from a GConverterInputStream with both input_buffer and converted_buffer non-empty would return bogus data (the data from converted_buffer would essentially get skipped over, though the returned nread reflected what the count would be if it hadn't been). This was never noticed before because (a) it can't happen if all of your reads are at least as large as either the internal buffer size or the remaining length of the stream (which covers most real-world use), and (b) it can't happen if all of your reads are 1 byte (which covers most of tests/converter-test). (And (c) it only happens for some converters/input streams.) But this was happening occasionally in libsoup when content-sniffing a gzipped response, because the SoupContentSnifferStream would first read 512 bytes (to sniff), and then pass through larger reads after that. Fixed and added a test to converter-test. https://bugzilla.gnome.org/show_bug.cgi?id=676478
* build: Add missing AM_V_GEN to silence the buildChristian Persch2012-05-291-1/+1
|
* application: Add dbus register/unregister hooksChristian Persch2012-05-295-2/+162
| | | | | | | | | | When the application is using its D-Bus backend, it is useful to be able to export extra D-Bus objects at the right time, i.e. *before* the application tries to own the bus name. This is accomplished here by adding a hook in GApplicationClass for this; and a corresponding hook that will be called on unregistration to undo whatever the register hook did. Bug #675509.
* gobject: Document notify signal deduplication with freeze/thawPhilip Withnall2012-05-281-2/+7
| | | | | | | | Expand the documentation for g_object_[freeze|thaw]_notify() to explain that it deduplicates “notify” signals emitted by frozen objects, so that at most one signal is emitted per property. https://bugzilla.gnome.org/show_bug.cgi?id=676937
* Updated Slovenian translationMatej Urbančič2012-05-281-149/+164
|
* Link to gvariant-format-strings-pointers in getter APIGuillaume Desmottes2012-05-281-1/+29
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674777
* gappinfo: Fix uninitialized-variable gcc warningColin Walters2012-05-261-1/+1
|
* Annotate API introduced for 2.34 with GLIB_AVAILABLE_IN_2_34Colin Walters2012-05-262-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676816
* Annotate API introduced for 2.32 with GLIB_AVAILABLE_IN_2_32Colin Walters2012-05-2626-2/+78
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676816