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
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
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
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
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
Matthias Clasen
67c03fee2a
Describe enum and flags types a bit
2010-11-05 14:28:44 -04:00
Matthias Clasen
d1b00fe23d
Update the gschema dtd to include flags
2010-11-05 13:56:42 -04:00
Matthias Clasen
bc793255bc
Report more useful errors from g_settings_set_value
2010-11-05 09:31:36 -04:00
Christian Persch
ba45e36932
Add g_simple_async_report_take_gerror_in_idle
...
... and use it where appropriate. Saves an extra GError copy.
Bug #633686 .
2010-11-03 14:38:08 +01:00
Christian Persch
9e0c07870a
Use g_simple_async_result_{new_,}take_error
...
Bug #633685 .
2010-11-03 14:25:35 +01:00
Ryan Lortie
63b87b2c26
Add simple dynamic scheduling to GPeriodic
...
GPeriodic will now try not to use more than 50% of the CPU for its own
purposes unless there are no other tasks attempting to run.
2010-11-03 00:16:16 -04:00
Matthias Clasen
8c7e284116
Tweak GApplication docs
2010-11-02 23:02:05 -04:00
Ryan Lortie
d22681feb4
glocalfileinfo: remove non-use of GTimeVal
2010-11-02 22:39:09 -04:00
Ryan Lortie
c3a0d32ef1
Switch GTimeSpec users to int64 microseconds
...
glib is trying to move toward using microseconds-in-gint64 as its
universal time format.
No real API breaks here since GTimeSpec is new this unstable release
series.
2010-11-02 22:39:09 -04:00
Paolo Borelli
361afb3a62
Fix gtk-doc typo
2010-11-01 14:37:23 +01:00
Christian Persch
7434c1725d
Fix Since: for new functions
...
g_simple_async_result_new_from_error/take_error are Since: 2.28.
2010-11-01 11:06:26 +01:00
Matthias Clasen
b4248cb5da
Remove nonexisting type from giotypes.h
...
GDBusActionGroup does not exist yet.
2010-10-31 23:19:04 -04:00
Matthias Clasen
71dcc5ce80
Remove leftover definition from gactiongroup.h
...
GContextActionGroupInterface is not currently used anywhere.
2010-10-31 23:10:41 -04:00
Matthias Clasen
b49ae16461
Various documentation fixes
2010-10-31 22:41:00 -04:00
Matthias Clasen
85ba8596e2
GSimpleAsyncResult: add error-taking variants
...
Add g_simple_async_result_new_take_error and
g_simple_async_result_take_error, which take over ownership of the
given error. Based on a patch by Christian Persch.
https://bugzilla.gnome.org/show_bug.cgi?id=629247
2010-10-31 22:38:38 -04:00
Matthias Clasen
7887103193
Add an example of invoking actions
2010-10-31 22:05:20 -04:00
Matthias Clasen
d967b5ed17
Fix g_action_group_activate_action() docs
2010-10-31 21:08:25 -04:00
Matthias Clasen
9574dbd228
Be more careful about overwriting errors
...
When trying to parse again, we don't want to overwrite the exiting
error.
2010-10-31 20:58:15 -04:00
Matthias Clasen
78407a0098
GApplication: Add an action example
2010-10-31 20:49:53 -04:00
Matthias Clasen
cb8d29a558
Don't leak references in the actions example
...
These are not initially unowned...
2010-10-31 20:33:02 -04:00
Matthias Clasen
c34bcefa78
Add an example of using GApplication with actions
2010-10-30 22:19:02 -04:00
Matthias Clasen
e24dfacd5b
gsettings-tool: Support completion for enum values
...
https://bugzilla.gnome.org/show_bug.cgi?id=631264
2010-10-30 01:13:42 -04:00
Matthias Clasen
6298e88538
Add a command to list keys and values recursively
...
This is similar to gconftool-2 -R, which is very handy
for collecting information for bug reports, etc. It is now
possible to say gsettings list-recursively org.foo.bar, and
this will produce a list of schemas, keys and values for
org.foo.bar and all its child and grandchild schemata,
recursively.
https://bugzilla.gnome.org/show_bug.cgi?id=632571
2010-10-30 00:00:06 -04:00
Matthias Clasen
d619216686
Make gsettings-tool translatable again
...
This regression was caused by the recent rewrite.
2010-10-29 23:12:07 -04:00
Ryan Lortie
cb64773002
Use 'aay' instead of 'as' for environ
...
It might contain non-utf8 characters.
2010-10-29 16:33:47 -04:00
Ryan Lortie
641f622bfe
GApplication: emit a signal when starting up
...
Send a signal to the bus when registration is successful and we are the
primary instance.
2010-10-28 23:06:53 -04:00
Ryan Lortie
7aa2e50262
GApplication: support environment passing
...
Add support for passing the full contents of the environment to the
primary instance (by storing it in the platform_data) when
G_APPLICATION_SEND_ENVIRONMENT is in the flags.
2010-10-28 22:50:00 -04:00
Ryan Lortie
bf7ba2fbdc
GApplication: use infinite timeout for CommandLine
...
Use an infinite DBus timeout for sending a CommandLine request to the
primary instance.
This resolves a bit of bug #633339 .
2010-10-28 16:47:13 -04:00
Ryan Lortie
fac2a8278e
Bug 633356 - (GDBus) Make G_MAXINT mean no timeout
...
Don't register a timeout function in the case that G_MAXINT is given for
the timeout length.
2010-10-28 16:47:13 -04:00
Dan Winship
cd4f818b30
GNetworkService: fix a small bug
...
Fix a small bug in the synchronous lookup code introduced in the fix
for bug 629274
2010-10-28 15:17:17 -04:00
Ryan Lortie
4baad1acbf
GApplication: exit_status unset in one branch
...
Closes #633206
2010-10-27 09:26:01 -04:00
Ryan Lortie
f7a918dcb9
GPeriodic: allow unblock time to be passed in
2010-10-27 09:22:13 -04:00
Ryan Lortie
83472b34ef
switch GSocket to monotonic time for timeouts
2010-10-27 09:22:13 -04:00
Ryan Lortie
d3fe2efb83
switch GPeriodic to use monotonic time
2010-10-27 09:22:13 -04:00
Ryan Lortie
e0caf4fd5e
GApplicationCommandLine: add printf annotations
...
to g_application_command_line_print{,err}
2010-10-25 14:45:19 -04:00
Ryan Lortie
d8d2513710
Implement (untested) GApplication actions support
2010-10-25 14:32:07 -04:00
Matthias Clasen
11a59404d5
More documentation fixups
2010-10-25 08:42:36 -04:00
Matthias Clasen
d10a04b533
Remove nonexisting API from the headers
...
I couldn't find any trace of g_application_run_with_arguments.
2010-10-25 08:34:00 -04:00
Matthias Clasen
00366f440d
Some more GApplication doc tweaks
2010-10-23 21:01:15 +02:00