summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* GLocalFileOutputStream: Further deduplicate error code pathColin Walters2013-05-231-32/+24
| | | | | | Just code cleanup. https://bugzilla.gnome.org/699959
* GLocalFileOutputStream: Deduplicate stream creation codeColin Walters2013-05-231-72/+31
| | | | | | | Lots of copy/paste of the error handling path, let's deduplicate so I can sanely patch this code later. https://bugzilla.gnome.org/699959
* gdbus-peer: Drop some usage of g_thread_yield()Colin Walters2013-05-231-23/+43
| | | | | | | | It's a recipe for race conditions and error; on some hardware architectures one thread isn't guaranteed to see the results of writes from another thread without a cache flush. https://bugzilla.gnome.org/show_bug.cgi?id=700855
* glib/tests/cond: Fix race conditionColin Walters2013-05-231-2/+3
| | | | | | The producer could push two values with the first one being lost. Fix this by blocking the producer until a consumer reads.
* gtestutils: Use stdio rather than write() to be Windows-friendlyDan Winship2013-05-221-9/+6
| | | | | | Windows doesn't define STDOUT_FILENO and STDERR_FILENO, and they're not even guaranteed to be 1 and 2. So just use stdio instead. Also fix a counting error. Pointed out on gtk-devel-list.
* Timeout the test if dbus sevice has not appeared in due time.Josep Puigdemont2013-05-211-1/+20
| | | | | | | | | | The test /gdbus/connection/large_message waits for a dbus name to appear. The dbus name is created by a another process executed in the background. If for some reason this fails, the test will likely wait forever. This will avoid this situation by making the test fail if the dbus service has not appeared after 10 seconds. https://bugzilla.gnome.org/show_bug.cgi?id=698981
* po: update for quote changesDan Winship2013-05-2196-8585/+8511
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=700746
* Use 'dumb quotes' rather than `really dumb quotes'Dan Winship2013-05-2157-488/+488
| | | | | | | | | | | | | | | | | | Back in the far-off twentieth century, it was normal on unix workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027 APOSTROPHE to be drawn as "’". This led to the convention of using them as poor-man's ‛smart quotes’ in ASCII-only text. However, "'" is now universally drawn as a vertical line, and "`" at a 45-degree angle, making them an `odd couple' when used together. Unfortunately, there are lots of very old strings in glib, and also lots of new strings in which people have kept up the old tradition, perhaps entirely unaware that it used to not look stupid. Fix this by just using 'dumb quotes' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=700746
* tests: fix a few recently-broken testsDan Winship2013-05-213-5/+3
|
* gio/tests: Fix gdbus-connection when run from "make check"Colin Walters2013-05-212-4/+9
|
* Convert more tests to installed testsMatthias Clasen2013-05-206-19/+62
| | | | | This makes the tests in tests installed, except for the performance tests.
* Convert more tests to installed testsMatthias Clasen2013-05-201-0/+16
|
* gio/tests: gsettings is a developer-only testColin Walters2013-05-211-1/+2
| | | | | | | | | It tries to run glib-compile-schemas and glib-mkenums, which we won't have in the runtime tree. Anyways it's kind of a dumb test since the best test for compilation tools is...compiling things, which we already do frequently.
* gmessages: Fix up testing commit to handle fatal masqueradingColin Walters2013-05-211-1/+1
| | | | This makes glib/tests/testing pass again.
* gio/tests: Disable desktop-app-info test in installed mode for nowColin Walters2013-05-211-1/+2
| | | | | | It wants a writable copy of the applications, and appears to depend on a prior execution of "mimeapps". This will take a bit of work to untangle.
* gio/tests: Make gdbus-peer work in installed modewip/installed-testsColin Walters2013-05-201-2/+12
| | | | There's no /etc/hosts in gnome-ostree...
* gio/tests: Fix gapplication test in installed modeColin Walters2013-05-201-6/+22
|
* gio/tests: Some more fixes for installed testsColin Walters2013-05-203-7/+35
| | | | | file passes now, appinfo needs a bit more work, but is getting there.
* gio/tests: Deduplicate Makefile.am a bitColin Walters2013-05-201-7/+1
| | | | We can just add all the static test data to EXTRA_DIST.
* gtestutils: Ensure test subprocesses don't dump coreColin Walters2013-05-204-4/+77
| | | | | | | | | | | Since we expect them to crash, let's not spam the system core dump collection (systemd, abrt). At the moment systemd is not very robust against programs crashing in loops. Instead of aborting, we exit(1). https://bugzilla.gnome.org/show_bug.cgi?id=700714
* Updated Norwegian bokmål translationKjartan Maraas2013-05-201-142/+150
|
* Convert remaining gio tests to installedMatthias Clasen2013-05-209-43/+194
|
* Convert some gio tests to installed testsMatthias Clasen2013-05-2016-146/+312
|
* Make gobject tests installableMatthias Clasen2013-05-191-0/+16
| | | | | This makes the gobject tests run as part of the ostree integration tests.
* [l10n] Updated Italian translation.Milo Casagrande2013-05-191-116/+120
|
* Add --enable-installed-tests configure optionColin Walters2013-05-168-22/+111
| | | | | | | | | | | | | | | | See https://live.gnome.org/GnomeGoals/InstalledTests for more information. The tests now support being run both uninstalled and installed, so 'make check' works for those who want it. For tests which need data files, the way this works is they look in the compiled in value of SRCDIR by default, and the generated tests use "env G_TEST_DATA=" to override that. This patch only converts glib/tests for now; if this patch looks good, I'll do the rest of the tests. https://bugzilla.gnome.org/show_bug.cgi?id=699079
* glib/tests: Drop unnecessary SRCDIR definitionsColin Walters2013-05-164-16/+1
| | | | | | | | It's always going to be defined, we don't support compiling these tests "by hand". This is a cleanup commit for the installed tests work. https://bugzilla.gnome.org/show_bug.cgi?id=699079
* glib/tests: Use explicit file listingsColin Walters2013-05-164-18/+117
| | | | | | | This is a preparatory commit for installed tests work; having things cleanly categorized helps. https://bugzilla.gnome.org/show_bug.cgi?id=699079
* glib/tests/mappedfile: Copy test file before writing to itColin Walters2013-05-161-18/+35
| | | | | | | This way we're *always* testing writability rather than only sometimes doing it in the source directory. https://bugzilla.gnome.org/show_bug.cgi?id=699079
* Added Aragonese translationJorge Pérez Pérez2013-05-152-0/+4473
|
* m4macros/glib-gettext.m4: Don't use AC_HEADER_STDCAdrian Bunk2013-05-151-1/+0
| | | | | | | AC_HEADER_STDC is obsolete (pre-C89 headers are no longer an issue), and the resulting STDC_HEADERS define is anyway not used. https://bugzilla.gnome.org/show_bug.cgi?id=700263
* updated kn translationsShankar Prasad2013-05-141-203/+192
|
* tests/slice: use G_GNUC_BEGIN_IGNORE_DEPRECATIONSDan Winship2013-05-131-1/+1
| | | | rather than implementing it by hand
* gtestutils: use g_clear_pointerDan Winship2013-05-131-6/+3
|
* gtestutils: deprecate g_test_trap_fork()Dan Winship2013-05-134-3/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679683
* tests: port from g_test_trap_subprocess() to g_test_trap_fork()Dan Winship2013-05-1320-913/+1263
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679683
* tests/protocol: redo a bitDan Winship2013-05-131-9/+9
| | | | | | | | Rather than overloading --verbose, just skip the tests that aren't supposed to be run in the parent process (so that if you do run the toplevel test with --verbose, it doesn't immediately error out). https://bugzilla.gnome.org/show_bug.cgi?id=679683
* gtestutils: add g_test_trap_subprocess()Dan Winship2013-05-135-246/+712
| | | | | | | | | | | | | | | | | | g_test_trap_fork() doesn't work on Windows and is potentially flaky on unix anyway given the fork-but-don't-exec. Replace it with g_test_trap_subprocess(), which re-spawns the same program with arguments telling it to run a specific (otherwise-ignored) test case. Make the existing g_test_trap_fork() unit tests be unix-only (they never passed on Windows anyway), and add a parallel set of g_test_trap_subprocess() tests. Also fix the logic of gtestutils's "-p" argument (which is used by the subprocess tests); previously if you had tests "/foo/bar" and "/foo/bar/baz", and ran the test program with "-p /foo/bar/baz", it would run "/foo/bar" too. Fix that and add tests. https://bugzilla.gnome.org/show_bug.cgi?id=679683
* g_test_trap_fork: don't blow away the SIGCHLD handlerDan Winship2013-05-131-1/+0
| | | | | | | | Not sure why it was doing this, but it's not necessary (all of glib's tests pass fine without it), and it breaks tests that try to use g_spawn_sync() or GChildWatchSource after doing a g_test_trap_fork(). https://bugzilla.gnome.org/show_bug.cgi?id=679683
* tests/spawn-*.c: fix on WindowsDan Winship2013-05-133-4/+5
| | | | | | Need to append ".exe" to the spawned binary name on Windows https://bugzilla.gnome.org/show_bug.cgi?id=679683
* app: Document when floating variants are consumedChristian Persch2013-05-132-0/+4
| | | | Bug #700203.
* Updated Odia Translation.ManojKumar Giri2013-05-101-156/+150
|
* Clarify GValueArray docsMatthias Clasen2013-05-091-2/+4
| | | | | Don't refer to Quicksort in the documentation of g_value_array_sort, but just to qsort().
* Updated Telugu TranslationsKrishnababu Krothapalli2013-05-091-156/+150
|
* Fix minor typos in GSocketConnectable example codeZeeshan Ali (Khattak)2013-05-081-1/+1
|
* Declare res_init() for builds against Android's BionicSebastian Dröge2013-05-061-0/+4
| | | | | res_init() exists in the C library here and as such is detected by configure, but it is not declared in any header.
* GProxyAddressEnumerator: add default-port propertyDan Winship2013-05-052-92/+194
| | | | | | | | | Although none of the in-tree GSocketConnectable types need it, other types (like SoupAddress) may find it useful to be able to pass a URI and a default-port to GProxyAddressEnumerator separately (the same way you can with GNetworkAddress). So add a default-port property. https://bugzilla.gnome.org/show_bug.cgi?id=698877
* Document all gtester-report optionsMatthias Clasen2013-05-041-0/+7
| | | | The --subunit option was missing from the man page.
* Document all glib-mkenums placeholdersMatthias Clasen2013-05-041-0/+7
| | | | The @ENUMPREFIX@ placeholder was missing in the man page.
* Document all glib-genmarshal optionsMatthias Clasen2013-05-041-0/+8
| | | | The --stdinc option was missing from the man page.