summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-27mapping-test: Add debug spewHEADmasterMatthias Clasen1-0/+4
This might help figuring out why the test is failing in continuous.
2014-05-27gio/tests/network-address: fix when no network is availableDan Winship1-1/+18
GResolver doesn't do full validation of its inputs, so in some of these tests, the fact that we were getting back G_RESOLVER_ERROR_NOT_FOUND is because the junk string was getting passed to an upstream DNS resolver, which returned NXDOMAIN. But if there's no network on the machine then we'd get G_RESOLVER_ERROR_INTERNAL instead in that case.
2014-05-26GLib 2.41.0Ryan Lortie1-0/+83
2014-05-26gio tests: rm xdgconfighome on 'make clean'Ryan Lortie1-1/+1
2014-05-26Revert "gvariant: Fix confusion between type and format strings in the docs"Ryan Lortie1-2/+2
This reverts commit fca1b83be74c9840037cfee84015fd8460cc33f9. The original documentation was correct. https://bugzilla.gnome.org/show_bug.cgi?id=729269
2014-05-26gtestutils: Error out if /dev/null stdin redirection failsPhilip Withnall1-1/+5
https://bugzilla.gnome.org/show_bug.cgi?id=730189
2014-05-23gio: port annotations from the Vala metadata.Evan Nemerson19-71/+79
https://bugzilla.gnome.org/show_bug.cgi?id=730493
2014-05-23config.h.win32.in: Define _WIN32_WINNT ConditionallyChun-wei Fan1-0/+2
This is done so that _WIN32_WINNT may be overridden in the project files, if needed, so that one can access the Vista+ (or so) Windows APIs easier by using "preprocessor defines" (or so) in the Visual C++ project files.
2014-05-22Try to fix mapping-testMatthias Clasen1-7/+39
The mapping-test is failing under gnome-continuous. I suspect this is simply due to running many tests in parallel, and mapping-test being racy. Replace the blind sleep by signals, to avoid the races.
2014-05-22GDBusError enum: Remove trailing comma.Murray Cumming1-1/+1
This is helpful to people using the g++ --pedantic option.
2014-05-22gobject: unref unused classMarek Kasik1-1/+5
If g_type_class_ref() returns a class which is not a GObjectClass we need to unref it before return in object_interface_check_properties(). https://bugzilla.gnome.org/show_bug.cgi?id=706983
2014-05-21Trivial: fix a guard commentMatthias Clasen1-1/+1
The conventional comment for the #endif at the bottom of the header was not matching the #ifdef at the top in glib-private.h. Fix that.
2014-05-20gdbus-tool: Remove dead variablesPhilip Withnall1-8/+0
Coverity issues: #1159447, #1159446 https://bugzilla.gnome.org/show_bug.cgi?id=730295
2014-05-20gthread: Fix use of a local variable after it went out of scopePhilip Withnall1-6/+6
This could theoretically cause problems, although in practice we would have seen them by now (the bug was introduced in 2012). Coverity issue: #1159486 https://bugzilla.gnome.org/show_bug.cgi?id=730277
2014-05-20gsubprocess: Add a missing va_end() callPhilip Withnall2-0/+2
Coverity issues: #1214070, #1214069 https://bugzilla.gnome.org/show_bug.cgi?id=730278
2014-05-19Update config.h.win32.in for Newer WindowsChun-wei Fan1-12/+13
Make use of if_indextoname() and if_nametoindex() when building against Window Vista/Server 2008 or later, as these are provided by the system. This is not turned on by default as we still want to support XP and Server 2003-turn this on by changing _WIN32_WINNT to 0x600 or later prior to compiling GLib. https://bugzilla.gnome.org/show_bug.cgi?id=730352
2014-05-18Updated Czech translationMarek Černocký1-258/+212
2014-05-16Updated Hebrew translationYosef Or Boczko1-862/+879
2014-05-15gsocket: Add missing preconditions to g_socket_send_message()Philip Withnall1-0/+5
https://bugzilla.gnome.org/show_bug.cgi?id=730190
2014-05-15gresource-tool: Fix an FD leak in an error pathPhilip Withnall1-2/+10
Coverity issues: #1214054, #1214055, #1214056
2014-05-15gtestutils: Don’t free unassigned variables in an error pathPhilip Withnall1-2/+4
If the stream is invalid, msg.nums and msg.strings have not been assigned to, so don’t free them. Coverity issue: #1159505
2014-05-13Avoid overeager warning about deprecated propertiesMatthias Clasen1-3/+10
Construct properties are always set during construction. It makes no sense to warn about this even if the property is marked as deprecated; the deprecation warning should only be issues for explicit uses of the property after construction. https://bugzilla.gnome.org/show_bug.cgi?id=730045
2014-05-13Remove some markup from docsMatthias Clasen1-2/+2
2014-05-12gio/gtestdbus.c: Fix write_config_file() for WindowsChun-wei Fan1-2/+1
Windows does not like g_unlink() to be called on files whose file descriptor is still open, so doing that would cause a permission denied error. Since the fd is not used in that function after acquiring the temp file, close it earlier before g_file_set_contents(), so that it can complete successfully. This fixes a number of GTK+ tests on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=719344
2014-05-12doc: better ordering of GSubprocessLauncher functionsSébastien Wilmet1-11/+11
Take the same order as the header.
2014-05-10Updated Spanish translationDaniel Mustieles1-224/+227
2014-05-10gobject.py: Port to gdb 7.7 frame filter APITom Tromey1-44/+48
https://bugzilla.gnome.org/show_bug.cgi?id=623552
2014-05-09doc: various improvementsSébastien Wilmet6-8/+11
- GSubprocessLauncher exists since 2.40, not 2.36 - more logical order for g_markup functions - fix short description of GMarkup - GMarkupParser: specify that some parameters are NULL-terminated. - g_string_new (NULL); is possible. - other trivial fixes. https://bugzilla.gnome.org/show_bug.cgi?id=728983
2014-05-09gio: cleanup gdbusmessage.c fileLukasz Skalski1-120/+67
* removed passing GError to ensure_input_padding() function - it was necessary before commit 3e5214c15c2a19b64d74e714 when we used GData*Streams and GMemoryInputStream with g_seekable_seek() - now it's useless, * removed checking return value of ensure_input_padding() function - in previous implementation (like above) g_seekable_seek() could return FALSE - now it's always TRUE, * removed passing GError to g_memory_buffer_read_*() functions and checking returned value - it also has been inherited after old implementation with g_data_input_stream_read_*() functions - now it's also useless * cleaned up code formatting, https://bugzilla.gnome.org/show_bug.cgi?id=729875
2014-05-08tests: add testcase for {Only,Not}ShowInRyan Lortie4-8/+53
https://bugzilla.gnome.org/show_bug.cgi?id=729813
2014-05-08AppInfo: use XDG_CURRENT_DESKTOP for OnlyShowInRyan Lortie2-51/+50
Expand the functionality of g_desktop_app_info_set_desktop_env() to include the possibility of passing strings containing ':' characters (as some apps, such as gnome-session, are directly passing the value of XDG_CURRENT_DESKTOP). At the same time, deprecate it, since now we get the list from the environment variable for ourselves. Modify the checks in g_desktop_app_info_get_show_in() to deal with multiple items listed in XDG_CURRENT_DESKTOP. For example, if we find that we have XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME and a desktop file contains: OnlyShowIn=GNOME then we will show this file because of the fallback to GNOME. If the file _also_ contains the line: NotShowIn=GNOME-Classic Then we will not show it, because GNOME-Classic comes before GNOME in XDG_CURRENT_DESKTOP. https://bugzilla.gnome.org/show_bug.cgi?id=729813
2014-05-08tests: add tests for GDesktopAppInfo Implements=Ryan Lortie6-1/+49
https://bugzilla.gnome.org/show_bug.cgi?id=712391
2014-05-08docs: add two missing symbols on GDesktopAppInfoRyan Lortie1-0/+3
https://bugzilla.gnome.org/show_bug.cgi?id=712391
2014-05-08Add g_desktop_app_info_get_implementations()Ryan Lortie2-0/+86
This provides support for the draft addition of 'Implements=' to the Desktop Entry specification. https://bugzilla.gnome.org/show_bug.cgi?id=712391
2014-05-05Add a testcase for the previous fixMatthias Clasen1-0/+48
This testcase tests that short option arguments are not erroneously added to the remaining argument array when g_option_context_set_ignore_unknown_options is called. https://bugzilla.gnome.org/show_bug.cgi?id=729563
2014-05-05goption: Don't include parsed option values in G_OPTION_REMAININGKjell Ahlstedt1-0/+1
After a call to g_option_context_set_ignore_unknown_options(context, TRUE), the values of short options were included in the array returned by a G_OPTION_REMAINING option. https://bugzilla.gnome.org/show_bug.cgi?id=729563
2014-05-05gio: iostream: use GTask instead of internal pointerLionel Landwerlin1-24/+25
This fixes an infinite recursion loop when calling g_io_stream_close_async() on a SoupIOStream. https://bugzilla.gnome.org/show_bug.cgi?id=722723
2014-05-05Fix some typos in documentationMathieu Bridon2-2/+2
2014-05-04docs: Add a README.rationale documenting major design decisionsPhilip Withnall3-1/+13
It will be useful to document the major decisions which affect the whole of GLib in one centralised, easily-greppable file, otherwise they will get lost forever in Bugzilla. This file should contain a brief explanation of the decision and its rationale, plus a link to further discussion (e.g. on a mailing list or bug report). This contains an initial discussion about use of compiler attributes in GLib. https://bugzilla.gnome.org/show_bug.cgi?id=113075
2014-05-04gstrfuncs: Add missing preconditions to g_str_match_string()Philip Withnall1-0/+5
https://bugzilla.gnome.org/show_bug.cgi?id=113075
2014-05-03gio: add a missing property to GDummyTlsConnectionDan Winship1-0/+2
GDummyTlsConnection didn't implement the "interaction" property, meaning you'd get warnings if you tried to set it while creating a GTlsConnection when using the dummy backend. (Of course, trying to create the GTlsConnection will fail anyway, but it ought to fail without hitting any g_warnings.)
2014-05-02[l10n] Update Catalan translationPau Iranzo1-930/+1128
2014-05-01docs: Fix some minor typos in the GVariant documentationPhilip Withnall1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=729269
2014-04-30gvariant: Fix confusion between type and format strings in the docsPhilip Withnall1-2/+2
‘@’ and ‘&’ are only used in format strings, not type strings. https://bugzilla.gnome.org/show_bug.cgi?id=729269
2014-04-29gobject: Document that classes/objects/interfaces are zero-filledPhilip Withnall3-5/+22
On initialisation, GObject guarantees to zero-fill class/object/interface structures. Document this so people don’t spend forever writing: my_object->priv->some_member = NULL; my_object->priv->some_other_member = NULL; https://bugzilla.gnome.org/show_bug.cgi?id=729167
2014-04-28Updated Slovenian translationMatej Urbančič1-1/+1
2014-04-28Updated Slovenian translationMatej Urbančič1-926/+1122
2014-04-28Updated Slovenian translationMatej Urbančič1-1/+1
2014-04-28gmenuexporter: fix protocol documentation linkLars Uebernickel1-1/+1
2014-04-27Updated Brazilian Portuguese translationEnrico Nicoletto1-217/+220