Dan Winship
b358202856
gmain: move finalization of GSource outside of context lock
...
This avoids ugly deadlock situations such as in
https://bugzilla.gnome.org/show_bug.cgi?id=586432
https://bugzilla.gnome.org/show_bug.cgi?id=626702
https://bugzilla.gnome.org/show_bug.cgi?id=634239
2010-11-26 15:07:28 -05:00
Matthias Clasen
3570c4a00e
Add indices for new symbols in 2.28
2010-11-24 16:00:32 -05:00
Matthias Clasen
e5dd266c33
Add Since: tags for new api
...
Also, remove <!-- --> from things like #GAppInfo<!-- -->s.
gtk-doc learned to deal with this a while ago.
2010-11-24 15:57:40 -05:00
Javier Jardón
ee94915d0b
docs: gappinfo: Fix typo <envvar> -> <envar>
2010-11-24 18:47:09 +01:00
Cosimo Cecchi
5f958e4623
tests: add a test for recommended and fallback GAppInfos
2010-11-23 10:29:10 +01:00
Cosimo Cecchi
b3bf7a6484
appinfo: add win32 fallback implementation
2010-11-23 10:29:09 +01:00
Cosimo Cecchi
30c378032f
appinfo: update docs for API addition
2010-11-23 10:29:09 +01:00
Cosimo Cecchi
182fcff2ea
appinfo: only rewrite recommended applications when adding non-default
...
Otherwise you break the fallback + recommended distinction for a content
type, as you end up adding support for a given content type to *all* of
the applications claiming to support the supertype.
2010-11-23 10:29:09 +01:00
Cosimo Cecchi
94c67d8420
appinfo: add API to get fallback and recommended GAppInfos for a ctype
...
This ways UIs can differentiate between them, and show them in different
section.
- a recommended app is an application that claims to support a content
type directly, not by a supertype derivation.
- a fallback app is an application that claims to support a supertype of
a given content type.
2010-11-23 10:29:09 +01:00
Owen W. Taylor
a70ba9c8b1
Fix off-by-1000 for GTimer
...
Divide monotonic time by 1e6 not 1e9 to get seconds.
2010-11-21 22:01:52 -05:00
Ignacio Casal Quinteiro
ab3a79e2c9
Check for (GIConv)-1 instead of NULL.
2010-11-21 21:21:22 +01:00
Gheyret T.Kenji
bcbf9153d5
Added UG translation
2010-11-20 11:26:41 +01:00
Kjartan Maraas
96e9677fd7
Updated Norwegian bokmål translation
2010-11-18 14:08:34 +01:00
Colin Walters
260d005616
introspection: Add annotations for g_file_copy, g_file_move
2010-11-17 20:07:39 -05:00
Ryan Lortie
354d655ba8
g_str_hash: switch to using DJB hash
...
This is the same as what we were already doing with 2 changes:
- use an initial value of 5381 instead of 0
- multiply by 33 in each round instead of 31
2010-11-17 12:24:53 -05:00
Ryan Lortie
f50a99e782
g_str_hash: clean up code
...
Un-unroll the first iteration.
No functional changes here.
2010-11-17 12:24:53 -05:00
Tomas Bzatek
2bfcffde9a
GIO: Hide mounts having a path element starting with dot
...
When a mount is mounted to a directory whose path contains an element
starting with dot, let's treat it as hidden, just like the usual Unix
approach.
2010-11-16 14:20:07 +01:00
Javier Jardón
010913c8ab
docs: Update the URL of some documentation links
...
http://developer.gnome.org -> http://library.gnome.org
2010-11-14 02:09:05 +01:00
Gheyret T.Kenji
f4142b321b
Added UG translation
2010-11-14 00:05:02 +01:00
Gheyret T.Kenji
a0e0f25de6
Added UG translation
2010-11-13 22:10:03 +01:00
Luca Ferretti
b53b61a000
[l10n] Updated Italian translation
2010-11-13 14:01:48 +01:00
Fran Diéguez
9faed56eda
Updated Galician translations
2010-11-13 00:59:45 +01:00
Ryan Lortie
48ca3add14
G_STATIC_ASSERT: clarify when use is valid
...
Clarify when the use of G_STATIC_ASSERT is valid and fix up an invalid
use of it in GDBus.
2010-11-11 21:49:21 -05:00
Ryan Lortie
6bc20651ec
Partial revert of last commit
...
Revert incorrect changes to gdbusmessage.c
2010-11-11 21:49:21 -05:00
Cosimo Cecchi
d28bce02dc
emblemed-icon: allow passing a NULL emblem to g_emblemed_icon_new()
...
So that if we already have a list of emblems we know we want to add to
the icon, we can use e.g. a for loop to add them all, without picking
the first and looping from the second.
https://bugzilla.gnome.org/show_bug.cgi?id=634504
2010-11-10 19:08:52 +01:00
Benjamin Otte
fb94859e84
API: Reinstate "gio-desktop-app-info-lookup" extension point
...
Removing an extension point is an API and ABI break. In particular, it
causes (older) gvfs versions to fail loading with a linkage error from
ld which in turn makes the desktop unusable.
So this reinstate the extension point and API provided by it, but
deprecates and does not use it. So no functionality is changed.
This reverts parts of commit 9b262f1c5f
.
Complaints-Also-To: Ryan Lortie <desrt@desrt.ca>
2010-11-09 21:13:04 -05:00
Chun-wei Fan
9f02ee790b
gio: Fix C99 style variable declarations (bug #633075 )
...
-gdbusmessage.c and gregistrysettingsbackend.c is updated to fix C99-style declarations
-also fixed typo for displaying registry entry in gregistrysettingsbackend.c (\% -> \\%)
2010-11-09 20:36:53 +08:00
Chun-wei Fan
029f3070e7
gtimer.c: Revert accidental overwrite
...
Revert accidental overwrite as timing API was changed from 2.27.2 to 2.27.3
2010-11-09 20:32:39 +08:00
Matthias Clasen
db7ea5e558
Bump version
2010-11-08 23:06:53 -05:00
Matthias Clasen
f023d8b9bc
Update NEWS
2010-11-08 21:40:17 -05:00
Chun-wei Fan
9806040455
Added and Moved checks for includes
...
Moved checks for G_OS_WIN32 after GLib header includes and added other checks
required for Windows/MSVC builds
2010-11-09 09:53:12 +08:00
Chun-wei Fan
4a012a9754
Updated README.txt for VS9
2010-11-09 09:50:11 +08:00
Chun-wei Fan
0af6343fed
Updated .def generation for x64
...
Some symbols need to be excluded from the .def file as they are set to be so on Win64
2010-11-09 09:27:27 +08:00
Chun-wei Fan
9d4423c15d
Various updates...
...
-Made up for missed header files in glib and gio during "install"
-Added macro necessary for GLib/GModule .def generation under Win64
-updated location of getting glibconfig.h.win32 for building
2010-11-09 09:26:05 +08:00
Chun-wei Fan
e655a849e3
Some enhancements for Win64 and using existing PCRE installtions
...
Added option for people to use an existing PCRE build and updated .def generation for x64 systems (some symbols are set to be excluded from Win64 builds)
Also fixed the filter "PCRE" for the bundled PCRE as file layout changed
2010-11-09 09:23:47 +08:00
Chun-wei Fan
50ca357104
Added option to use existing installation of PCRE
...
Allow the person compiling GLib to use his/her own copy of PCRE, bug#633075
2010-11-09 09:11:48 +08:00
Chun-wei Fan
8c4a96c6ff
Made up for missed source files
...
Made up for missing required source files in gio.vcproj(in) for Windows builds
2010-11-09 09:08:45 +08:00
Ryan Lortie
587c9d09e2
GPeriodic: enable subclassing
...
Move GPeriodic struct and class struct to the header. Do ->priv.
2010-11-08 18:22:18 -05:00
Ryan Lortie
9fbfac6abb
GPeriodic: remove repair functions
...
Replace it with a single repair signal that either fires or does not.
2010-11-08 18:22:18 -05:00
Ryan Lortie
1a1fc130ec
New function: g_clear_object()
...
By analogy to g_clear_error, takes a pass-by-reference GObject reference
and, if non-%NULL, unrefs it and sets it equal to %NULL.
Bug #620263 .
2010-11-08 18:21:51 -05:00
Dan Winship
78bc8bec4f
fix .gitignore
2010-11-07 12:56:44 -05:00
Dan Winship
791d91a957
fix make check
2010-11-07 12:56:08 -05:00
Ryan Lortie
ba9fccf71e
g_get_user_runtime_dir(): New function
...
Get the value of the XDG_RUNTIME_DIR environment variable.
2010-11-06 17:35:10 -04:00
Ryan Lortie
71088701af
Add G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE
...
If specified, the signal subscription is setup client-side but the match
rule is not sent to the server. This allows the caller to manually
register more detailed match rules.
2010-11-06 17:35:10 -04:00
Christian Persch
fa774618fc
Fix docs comment typo
2010-11-06 12:27:01 +01:00
A S Alam
8464db88ad
update Punjabi Translation by A S Alam
2010-11-06 10:48:55 +05:30
A S Alam
79a29a1036
update Punjabi Translation by A S Alam
2010-11-06 10:47:54 +05:30
Ryan Lortie
7fc6f8a159
Add g_variant_lookup() and tests
...
Convenience API for doing lookups in dictionaries where the key is a
string or object path.
2010-11-05 21:33:43 -04:00
Matthias Clasen
57b4b7099f
Fix markup
2010-11-05 14:50:01 -04:00
Matthias Clasen
38bc42d18e
Fix up gapplication example
2010-11-05 14:29:15 -04:00