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
Matthias Clasen
013f862a03
Properly register the inactivity-timeout property
...
It is a uint, not a boolean, so register it as such.
Also, only install the service timeout if we are actually registered
as the primary instance.
2010-10-23 14:05:04 +02:00
Matthias Clasen
7c735b05f7
Move a confusing comment to the right place
2010-10-23 12:01:51 +02:00
Matthias Clasen
b0e45c9799
Add another example for commandline handling
...
Also, clarify some aspects in the documentation.
2010-10-23 11:59:29 +02:00
Matthias Clasen
499d9ba8b8
Add some examples to the GApplication docs
2010-10-23 02:31:16 +02:00
Matthias Clasen
79790b9278
Brush up the GApplication docs
...
Also, fix up inclusions, mark properties for translation, etc.
2010-10-23 02:31:16 +02:00
Matthias Clasen
210a77a07e
Fix a typo
2010-10-23 02:31:16 +02:00
Dan Winship
e410131021
GNetworkService: fall back when there is no valid SRV record
...
RFC 2782 says that if there is no SRV record for
_SERVICE._PROTOCOL.DOMAIN, you should fall back to trying just DOMAIN,
with the default port for SERVICE. Do that.
https://bugzilla.gnome.org/show_bug.cgi?id=629274
2010-10-22 14:59:35 -04:00
Dan Winship
19243c247d
GNetworkService: fix iteration of multiple addresses
...
Previously if there were multiple SRV records, only the first would
be iterated by the GSocketConnectable interface
2010-10-22 14:59:35 -04:00
Dan Winship
87d06109ab
GSocket: set protocol when using g_socket_new_from_fd()
...
Otherwise, attempting to create a GSocketConnection from the socket
will likely return the wrong type, since the protocol won't match any
of the registered subtypes.
Also add the start of a GSocket test program (from davidz).
https://bugzilla.gnome.org/show_bug.cgi?id=627171
2010-10-22 14:42:41 -04:00
Ryan Lortie
dd6e15dd24
GApplication: create local commandline properly
...
Don't pass a gchar** to g_object_new() when a GVariant* is expected.
2010-10-21 14:02:41 +02:00
Ryan Lortie
8690984cea
GPeriodic: pass microseconds to the tick functions
...
...instead of milliticks, which nobody really cares to understand.
2010-10-21 01:37:23 +02:00
Ryan Lortie
5400b0b38c
GPeriodic: a periodic event clock
...
Add a new class, GPeriodic.
We hope to use this as a paint clock that can be shared by GTK and
Clutter. Many changes are still expected to the API.
2010-10-20 11:47:31 +02:00
Ryan Lortie
e33deea16c
GApplication: reduce GVariant abuse
...
Don't use GVariant* as the representation for the argument array.
2010-10-19 19:38:00 +02:00
Ryan Lortie
a327bc51fc
Cleanup and doc GApplicationCommandLine
2010-10-19 18:29:58 +02:00
Ryan Lortie
a2ac9c2515
GDBus: disable test to work around bug #631379
...
This test consistently prevents 'make distcheck' from passing on Ubuntu.
2010-10-19 13:45:20 +02:00
Ryan Lortie
0ce1462d1a
GApplication: merge DBus interface into C source
...
instead of having it in a separate file that causes problems to the
build system (I want to avoid using EXTRA_DIST here).
2010-10-19 13:44:30 +02:00
Ryan Lortie
8ff9150e44
gio: update symbols
2010-10-19 12:38:40 +02:00
Ryan Lortie
34f31fdfda
Don't try to dist old GApplication implementations
...
One of them was deleted already, even.
2010-10-19 12:38:01 +02:00
Ryan Lortie
a6b8a3113b
GApplication: use g_signal_accumulator_first_wins
...
...instead of our homebrew version.
2010-10-19 01:16:46 +02:00
Ryan Lortie
04b58a3e27
Change 'Since:' to 2.28 for action classes
2010-10-19 01:16:46 +02:00
Ryan Lortie
3fe94ca9e9
GApplication: fill in action group implementation
2010-10-19 01:16:46 +02:00
Ryan Lortie
491641cf01
gio: app info symbol file fixup
2010-10-19 01:16:46 +02:00
Ryan Lortie
52b7fcf409
gio: symbol file updates (actions, command line)
2010-10-19 01:16:46 +02:00
Ryan Lortie
d6ac6c1850
Rename methods on GActionGroup to include 'action'
...
Makes explicit the fact that you are interacting with the individual
action rather than the group and removes potential namespace conflicts
with classes implementing the interface (like g_application_activate()
vs g_application_activate_action()).
2010-10-19 01:16:46 +02:00
Ryan Lortie
b2f942c142
GApplication: stub-in GActionGroup implementation
2010-10-19 01:16:46 +02:00
Ryan Lortie
582638d7ad
GApplication test: test remote commandline
...
Also, a few small fixes/tweaks to other places in the test.
2010-10-19 01:16:46 +02:00
Ryan Lortie
3e6eee806c
GApplication: add remote commandline support
2010-10-19 01:16:46 +02:00
Ryan Lortie
2854c373e1
GApplication test case
2010-10-19 01:16:46 +02:00
Ryan Lortie
72ce1c7eb6
GApplication: fix inactivity-timeout
...
Create the gobject property for it.
Tweak the logic of having a pending timeout at the time that the
application starts -- run the mainloop with a use count of zero if there
is a timeout active.
2010-10-19 01:16:46 +02:00
Ryan Lortie
a7923a4aa3
new GApplication implementation
2010-10-19 01:16:46 +02:00
Matthias Clasen
9040eac4eb
Prevent error pileup
2010-10-16 23:31:30 -04:00
Colin Walters
0c21689ed8
gthemedicon: Fix annotation for g_themed_icon_get_names
2010-10-12 12:54:36 -04:00
Christian Dywan
3035bf40d0
Initialise lengths in GvdbReader to silence warnings
2010-10-08 16:34:51 +02:00
Christian Dywan
ad363d9aac
Initialise lengths in GDbusAuth to silence warnings
2010-10-08 16:33:04 +02:00
Bastien Nocera
9b262f1c5f
Replace "gio-desktop-app-info-lookup" extension point
...
With a native version, that looks for desktop items supporting
x-scheme-handler/foo, when looking for a handler for the "foo"
URI scheme handler.
https://bugzilla.gnome.org/show_bug.cgi?id=631410
2010-10-05 17:15:37 +01:00
Ryan Lortie
1612a4d506
volume monitor: don't unref NULL
...
Fix a couple more cases of blindly calling g_object_unref() on the
result of a function that is documented as sometimes returning NULL.
2010-10-05 02:29:47 -04:00