summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gchecksum: Adds SHA-384 supportwip/ignatenko/sha384Igor Gnatenko2017-02-073-37/+286
| | | | Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
* guuid: Remove support for curly braces and URN UUIDsBastien Nocera2017-02-062-24/+3
| | | | | | | | | | As we currently cannot generate UUIDs with curly braces, or as URNs, remove those from the possible valid UUIDs. We do this separately to make it easier to re-add later, should we want to enhance the coverage of our UUID functions. https://bugzilla.gnome.org/show_bug.cgi?id=639078
* guuid: Add UUID helper functions to GLibBastien Nocera2017-02-0610-0/+358
| | | | | | | | | | Many UUID users will just need a random string, which can be generated simply by calling the function g_uuid_string_random(). Based on original patch by Marc-André Lureau <marcandre.lureau@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=639078
* gkeyfile: Be more specific about error codes in documentationPhilip Withnall2017-02-051-5/+14
| | | | | | | | It’s hard to know whether trying to load a non-existent key file will result in G_KEY_FILE_ERROR_NOT_FOUND or G_FILE_ERROR_NOENT; try to improve the documentation to clarify that. https://bugzilla.gnome.org/show_bug.cgi?id=777135
* gdbus: Fix atomic accesses to global name watch IDPhilip Withnall2017-02-051-3/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=777307
* gdbus: make gdbusconnection ids thread-safeFabrice Bellet2017-02-051-8/+8
| | | | | | | To prevent a race where these global static counters can be incremented by two threads concurrently. https://bugzilla.gnome.org/show_bug.cgi?id=778096
* gdbus: make sure to stay locked when sending messageFabrice Bellet2017-02-051-4/+4
| | | | | | | | This patch fixes a case where schedule_writing_unlocked() was called without holding the write lock. The bug was introduced in commit 512e9b3b. https://bugzilla.gnome.org/show_bug.cgi?id=778002
* docs: Add index for 2.52 apiRico Tzschichholz2017-02-052-0/+8
|
* Update Swedish translationAnders Jonsson2017-02-031-187/+203
|
* Update Slovak translationDušan Kazik2017-01-291-639/+420
|
* Fix a translator commentPiotr Drąg2017-01-261-4/+4
| | | | They need to be exactly one line above a string to show up in .po files.
* gkeyfile: Clarify handling of out-of-range integers in documentationPhilip Withnall2017-01-241-2/+4
| | | | | | Clarify that g_key_file_get_integer() and g_key_file_get_integer_list() both return G_KEY_FILE_ERROR_INVALID_VALUE if used to load a valid integer which is out of range for a gint.
* gfileinfo: Clarify units in documentation for file attributesPhilip Withnall2017-01-241-6/+8
| | | | | Clarify that the G_FILE_ATTRIBUTE_TIME_* attributes are all in seconds (apart from the *_USEC ones, which are documented separately).
* gfileinfo: Fix an incorrect unit in the documentationPhilip Withnall2017-01-241-1/+1
| | | | | G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC is in microseconds, not milliseconds.
* gfileutils: Mention g_dir_make_tmp() in g_mkdtemp*() docsBastien Nocera2017-01-241-0/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=777493
* introspection: Skip g_mkdtemp() and friendsPhilip Chimento2017-01-241-4/+4
| | | | | | | | | | | | Based on bugs [1] and [2], gobject-introspection does not handle the same string being 1) returned from an inout argument and 2) returned as the function's return value, and is not going to. Therefore, these functions should be skipped in introspection. [1] https://bugzilla.gnome.org/show_bug.cgi?id=679351 [2] https://bugzilla.gnome.org/show_bug.cgi?id=679362 https://bugzilla.gnome.org/show_bug.cgi?id=777493
* gvariant: Add example to docs for g_variant_builder_open()Philip Withnall2017-01-241-2/+32
| | | | | | | Try to clarify that the type is the type of the container, not of the items with in it; and give an example of how to use it for nested types. https://bugzilla.gnome.org/show_bug.cgi?id=777592
* gdbus: Add example to docs for g_dbus_method_invocation_return_value()Philip Withnall2017-01-241-1/+20
| | | | | | | Try to clarify that the variant passed to return_value() must be a tuple. https://bugzilla.gnome.org/show_bug.cgi?id=777592
* gfileutils: Fix g_mkdtemp*() API docsBastien Nocera2017-01-231-4/+4
| | | | | | | | | Don't refer to g_mkdtemp() when documenting g_mkdtemp_full() and speaking about the function itself, and remove mention of flags in aforementioned g_mkdtemp_full(), as it doesn't have such an argument (but g_mkstemp_full() does). https://bugzilla.gnome.org/show_bug.cgi?id=777493
* Update Slovak translationDušan Kazik2017-01-221-361/+607
|
* Update Polish translationPiotr Drąg2017-01-201-407/+421
|
* goutputstream: docs: fix typosWill Thompson2017-01-191-4/+4
| | | | | | | "ouput" -> "output" (missing 't') "asyncronous" -> "asynchronous" (missing 'h') https://bugzilla.gnome.org/show_bug.cgi?id=777481
* Updated Spanish translationDaniel Mustieles2017-01-161-373/+78
|
* 2.51.12.51.1Matthias Clasen2017-01-162-1/+51
|
* Pass --from-code to xgettextMatthias Clasen2017-01-161-1/+1
| | | | It seems to require that now.
* gregex: Fix an assignment-after-free errorPhilip Withnall2017-01-121-1/+0
| | | | | | | | | The match_info is freed just above this line, so this would result in a write to freed memory. Spotted by Leslie Zhai <xiangzhai83@gmail.com>. https://bugzilla.gnome.org/show_bug.cgi?id=777077
* gregex: Fix a potential use-after-free bugPhilip Withnall2017-01-121-1/+3
| | | | | | | | | If the match_info out argument is NULL, info will be freed, but then its matches member will be accessed. Spotted by Leslie Zhai <xiangzhai83@gmail.com>. https://bugzilla.gnome.org/show_bug.cgi?id=777077
* gio: Bump copy buffer size to 256k by defaultBastien Nocera2017-01-111-1/+2
| | | | | | | | | | | | | This is small enough that it shouldn't cause problems on most machines we support, but big enough to increase throughput on a lot of devices and network protocols. Note that the actual value is 256k minus malloc overhead, so that it fits nicely in a 256k block (as suggested by Alexander Larsson). See https://bugzilla.gnome.org/show_bug.cgi?id=773632 https://bugzilla.gnome.org/show_bug.cgi?id=773823
* gio: Use heap-allocated bufferBastien Nocera2017-01-111-2/+6
| | | | | | | As if we were to increase the buffer size, it would be a bit too big to fit on the stack. https://bugzilla.gnome.org/show_bug.cgi?id=773823
* Visual Studio builds: Move project files to win32/Chun-wei Fan2017-01-0988-1411/+1166
| | | | | | It was suggested that the project files be moved here as we don't actually need to go two directory layers from $(srcroot), and would help us to standardize on things in the future across the board.
* Makefile.msvcproj: Document furtherChun-wei Fan2017-01-091-3/+4
| | | | | | | Mention that the *.headers are needed only if headers need to be installed with the project/module after the build. Also, use a generic "YourProject" rather than the "gdk-4" project file name--I missed changing the name in the process.
* Makefile.msvcproj: Document things a bit betterChun-wei Fan2017-01-091-1/+5
| | | | | If Visual Studio 2013 or later is required, let people know how this autotools module should be used.
* gobject: Document behaviour of GType checking macros on NULLPhilip Withnall2017-01-071-8/+13
| | | | | | | | | | | | The macros differ in their handling of NULL values — some macros ignore them and pass through (e.g. G_TYPE_CHECK_INSTANCE_CAST) while others will explicitly emit a warning if passed NULL (e.g. G_TYPE_CHECK_INSTANCE). Document their behaviour, so people don’t end up putting unnecessary NULL checks in their code when doing checked type casts. https://bugzilla.gnome.org/show_bug.cgi?id=735731
* Update Brazilian Portuguese translationRafael Fontenelle2017-01-051-521/+834
|
* License headers: replace current FSF address by a link to gnu.orgSébastien Wilmet2017-01-0410-36/+20
| | | | | | | Even if the address is correct, it's far more convenient to have a link to a website. https://bugzilla.gnome.org/show_bug.cgi?id=776586
* License headers: replace old FSF address by a link to gnu.orgSébastien Wilmet2017-01-045-17/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=776586
* License headers: "the Gnome Library" -> "this library"Sébastien Wilmet2017-01-0417-131/+114
| | | | | | | | | | | Harmonize a little the license headers. In most of the license headers in GLib, it is "this library". It is also what is explained at: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC4 "How to Apply These Terms to Your New Libraries" https://bugzilla.gnome.org/show_bug.cgi?id=776586
* License headers: "GLib" -> "This library"Sébastien Wilmet2017-01-0414-118/+98
| | | | | | | | | | | Harmonize a little the license headers. In most of the license headers in GLib, it is "This library". It is also what is explained at: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC4 "How to Apply These Terms to Your New Libraries" https://bugzilla.gnome.org/show_bug.cgi?id=776586
* License headers: "The GLib Library" -> "This library"Sébastien Wilmet2017-01-041-5/+5
| | | | | | | | | | | Harmonize a little the license headers. In most of the license headers in GLib, it is "This library". It is also what is explained at: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC4 "How to Apply These Terms to Your New Libraries" https://bugzilla.gnome.org/show_bug.cgi?id=776586
* subprocess: avoid infinite loop in verify_disposition()Christian Hergert2017-01-031-4/+7
| | | | | | | | | | | | | | | When performing the verify and building the error string there were two possibilities of an infinite loop. The first is the missing twos-complement to unset the bit in the filtered flags. The second is the lack of handling G_SUBPROCESS_FLAGS_NONE which can return a valid GFlagsValue (and cannot unset the bit since the value is zero). This walks all known values in the GSubprocessFlags type class and check if they are set. This has the benefit that we don't call needless functions which walk the same table as well as avoiding mutating values to build the error string. https://bugzilla.gnome.org/show_bug.cgi?id=775913
* resolver: Fix compilationBastien Nocera2017-01-031-0/+1
| | | | Problem introduced in commit 442b7ce.
* resolver: Return error looking up invalid hostnamesBastien Nocera2017-01-031-0/+20
| | | | | | | Make g_resolver_lookup_by_name() and g_resolver_lookup_by_name_async() error out when invalid hostnames are passed. https://bugzilla.gnome.org/show_bug.cgi?id=772989
* httpproxy: Fix invalid request on invalid hostnamesBastien Nocera2017-01-031-4/+13
| | | | | | | | | When an invalid hostname is passed for connection, the g_hostname_to_ascii() might fail when creating the request in create_request(). Make sure that error is caught and reported rather than passing "(null)" as the hostname of the site we want to connect to. https://bugzilla.gnome.org/show_bug.cgi?id=772989
* Remove stray semicolon after g_variant_print() function in gvariant.cShawn Walker2016-12-271-1/+1
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=776198 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Assert threads are created in test 642026Sjoerd Simons2016-12-271-0/+1
| | | | | | | | | | | | | We kept seeing the glib testsuite hanging on our CI system in the testcase for 642026. After some digging it turned out the jenkins slave was misconfigured and its task limit was too low. Add an assertion that the test thread has been created to more easily spot this error condition as opposed to the test simply hanging. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> https://bugzilla.gnome.org/show_bug.cgi?id=769672
* tests: Don't run tests requiring DBUS unconditionallyIngo Brückl2016-12-271-3/+6
| | | | | | | | | The tests defaultvalue, gdbus-peer and gdbus-unix-addresses will fail without DBUS, so only run them in case we HAVE_DBUS_DAEMON. Signed-off-by: Ingo Brückl <ib@wupperonline.de> https://bugzilla.gnome.org/show_bug.cgi?id=767609
* Updated Galician translationsFran Dieguez2016-12-271-349/+376
|
* build/Makefile.msvcproj: Fix cleanupChun-wei Fan2016-12-201-0/+2
| | | | | | | | When we make Visual Studio 2013 the baseline Visual Studio version, we need to the *.vs12.sourcefiles that are generated along the way so that 'make distcheck' won't complain about the leftover files. This was not caught in GLib as we do not yet require Visual Studio 2013, but we update this here as this module is intended to be used in projects that support Visual Studio project builds.
* Updated Czech translationMarek Černocký2016-12-181-81/+87
|
* Updated Hebrew translationYosef Or Boczko2016-12-111-102/+107
|