summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* m4macros: add GLIB_CONFIG, deprecate AM_PATH_GLIB_2_0wip/glib-build.mkDan Winship2013-12-092-30/+80
| | | | | | | Add a new GLIB_CONFIG macro, which is mostly similar to the old AM_PATH_GLIB_2_0, but correctly namespaced, and with parts of GLIB_GSETTINGS added, and support for GLIB_VERSION_MIN_REQUIRED and GLIB_VERSION_MAX_ALLOWED.
* glib-build.mk: enumtypes, marshal, schemas, and resources rulesDan Winship2013-12-0913-147/+521
| | | | | | | | | Add a new glib-build.mk with rules to generate enumtypes files, marshallers, gsettings schemas, and resource files, so that people don't have to copy and paste the rules into every project's Makefile.am https://bugzilla.gnome.org/show_bug.cgi?id=654395
* Update Chinese simplified translationkeyring2013-12-071-702/+907
|
* g_settings_get: check validity of format stringLars Uebernickel2013-12-061-0/+7
| | | | | | | | | | | Allow only format strings that copy all values (i.e, don't contain '&'), as the returned pointers might become invalid in some rare cases. Since this is technically an API break, this patch only prints a critical when a faulty format string is detected, but still fetches the values. https://bugzilla.gnome.org/show_bug.cgi?id=719979
* gtestdbus: Add a note about thread safety to the documentationPhilip Withnall2013-12-061-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=712148
* Fix documentation typos in GTask and GCancellable examplesDaiki Ueno2013-12-062-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=719884
* gsignal: Signal connection ids are always > 0 if successfulColin Walters2013-12-032-6/+6
| | | | | | | | | Note this explicitly so that people can rely on doing: if (mystruct->sigid > 0) g_signal_disconnect (mystruct->object, mystruct->sigid); https://bugzilla.gnome.org/show_bug.cgi?id=719809
* gutf8: use g_try_malloc_nMarc-André Lureau2013-12-031-8/+8
| | | | | | As recommended by Christian Persch. https://bugzilla.gnome.org/show_bug.cgi?id=711546
* gmessages: make _g_log_abort() do only breakpoints againMarc-André Lureau2013-12-031-3/+4
| | | | | | | | | | | Commit e53caad4 makes _g_log_abort() noreturn by calling abort() unconditionally. However, it is useful to be able to skip some log_abort() with a debugger, to reach a point of interest. Revert back to previous behaviour. Make g_assert_warning() noreturn by calling abort(). https://bugzilla.gnome.org/show_bug.cgi?id=711800
* Remove g_trap_instance_signals as wellMatthias Clasen2013-12-031-32/+2
| | | | | | | | This is another crude conditional breakpoint mechanism and can be done better with actual conditional breakpoints or with systemtap tracepoints. https://bugzilla.gnome.org/show_bug.cgi?id=719687
* Drop g_trap_object_ref debugging mechanismMatthias Clasen2013-12-022-26/+7
| | | | | | | | This is really just a very crude and limited conditional breakpoint. Update the documentation to explain conditional breakpoints in gdb instead. Also, remove the link to refdbg, which appears dead. https://bugzilla.gnome.org/show_bug.cgi?id=719687
* Document clearly async functions not copying its argsXavier Claessens2013-12-022-0/+10
| | | | | | | | Usually async methods copy/ref its arguments so caller can forget about them. g_file_replace_contents_async() and g_output_stream_write_async() are exceptions. https://bugzilla.gnome.org/show_bug.cgi?id=690525
* GFile: add GBytes version of _replace_contents_async()Xavier Claessens2013-12-023-9/+66
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690525
* gsubprocess: Annotate g_subprocess_newv()Colin Walters2013-12-011-1/+1
| | | | So that it can actually be invoked by bindings.
* build/win32/vs9/gio.vcprojin: Use UNIX Line endingsChun-wei Fan2013-12-021-174/+174
| | | | | Be more consistent with the other project file templates, which will simplify future application of patches.
* Install all test dataMatthias Clasen2013-12-011-0/+1
| | | | | | The desktop-files directory contains a mimeapps.cache file that was not installed as data for installed tests, causing the file measure test to fail only in when installed.
* Updated Lithuanian translationAurimas Černius2013-12-011-553/+761
|
* Improve file measure testcaseMatthias Clasen2013-11-301-4/+162
| | | | | | Make the testcase compare the byte size to what is reported by du. Also add a test for the async api, and mak eit test the progress reporting callback.
* gtestdbus: Minor documentation fixesPhilip Withnall2013-11-291-13/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=712148
* gtestdbus: Fix non-const use of const variablesPhilip Withnall2013-11-291-2/+2
| | | | | | The argv array should be declared as const. https://bugzilla.gnome.org/show_bug.cgi?id=712148
* gtestdbus: Fix variable shadowingPhilip Withnall2013-11-291-2/+2
| | | | | | Shut up, GCC. https://bugzilla.gnome.org/show_bug.cgi?id=712148
* Add a test for g_file_measure_disk_usageMatthias Clasen2013-11-291-0/+35
|
* tests/gsubprocess: Only compare basename of /tmpColin Walters2013-11-291-1/+4
| | | | | | Otherwise, we break in Continuous where /tmp == /sysroot/tmp, and something in the execve() or the kernel will do realpath() for us.
* Improve GType test coverageMatthias Clasen2013-11-281-0/+8
| | | | Add a test for g_type_class_get_instance_private_offset
* Add a test for g_atexitMatthias Clasen2013-11-281-0/+22
|
* Improve GApplication test coverageMatthias Clasen2013-11-281-0/+3
| | | | Exercise more of the GActionMap implementation.
* Improve GNotification test coverageMatthias Clasen2013-11-281-1/+17
|
* Improve GSimpleActionGroup test coverageMatthias Clasen2013-11-281-0/+4
| | | | Add a case that overwrites an existing action.
* Generate overview images for coverageMatthias Clasen2013-11-281-1/+1
| | | | | lcov has the options to generate overview images for each source file with the --frames option. Lets try this.
* Improve GSettings test coverageMatthias Clasen2013-11-281-2/+17
| | | | This covers some more GSettingsSchemaKey api.
* Improve search utils test coverageMatthias Clasen2013-11-281-0/+4
| | | | This adds test cases for the Turkish i.
* Improve GNotification test coverageMatthias Clasen2013-11-281-0/+63
|
* Improve GKeyFile test coverageMatthias Clasen2013-11-281-1/+64
|
* Improve test coverage for GHashTableMatthias Clasen2013-11-281-1/+78
|
* Improve test coverage for GSubprocessMatthias Clasen2013-11-282-0/+44
|
* Improve test coverage for gsettingsMatthias Clasen2013-11-281-2/+18
|
* Test new gsettings apiMatthias Clasen2013-11-281-0/+35
| | | | | g_settings_get_user_value and g_settings_get_default_value are now covered.
* gio: Replace g_clear_object() with if()…g_object_unref()Philip Withnall2013-11-282-2/+4
| | | | As per https://bugzilla.gnome.org/show_bug.cgi?id=113075#c39.
* gdbus-codegen: Fix leak in property setterdjcb2013-11-281-1/+7
| | | | | | | | Comparing the code generated for the setter and other methods without (real) return value, I noticed that the setter does not unref the gvariant it gets. https://bugzilla.gnome.org/show_bug.cgi?id=719472
* Test g_subprocess_launcher_spawnMatthias Clasen2013-11-281-1/+1
| | | | | The spawnv variant of this function already had a test, but spawn was not tested.
* Fix g_subprocess_launcher_spawnMatthias Clasen2013-11-281-0/+2
| | | | | | This function turns a varargs argument list into a string array, but forgets to NULL-terminate it. This function was not covered by unit tests...so it was broken.
* Test some more GSubProcess apiMatthias Clasen2013-11-282-0/+60
| | | | | This covers g_subprocess_set_environ, g_subprocess_setenv, g_subprocess_getenv, and g_subprocess_set_flags.
* Add a GAppInfoMonitor testMatthias Clasen2013-11-282-0/+115
| | | | | | The test reveals that there's something fishy with this monitor. One has to call g_app_info_get_all() for it to start working, and then it only works once.
* Add tests for new GAction apiMatthias Clasen2013-11-271-18/+41
| | | | | g_action_name_is_valid and g_action_parse_detailed_name are now covered.
* Fix g_win32_run_session_bus hook for MinGW-w64Manuel Bachmann2013-11-271-0/+2
| | | | | | | On win64, g_win32_run_session_bus gets exported with this precise name, with MinGW as well as MSVC. Fixes annoying "Entry not found" UI warning.
* gsettings tool: stop using GMainLoopRyan Lortie2013-11-271-1/+2
| | | | Just iterate directly.
* gsettings tool: fix some sed damageRyan Lortie2013-11-271-3/+5
| | | | | | | | The previous patch to simplify the GSettings commandline tool by making more use of global variables went a bit too far and broke 'gsettings monitor' when used without a specific key. Fix that up again.
* Fix a warning about _g_log_abort()Dan Winship2013-11-271-2/+2
| | | | | G_BREAKPOINT is not noreturn, so make it so that we abort() if it returns, to make _g_log_abort() be properly noreturn again.
* Fix the gtestutils core dump prevention againDan Winship2013-11-271-11/+8
| | | | | The previous patch was preventing core dumps on failed assertions, but not on g_error()s.
* GDBusObjectManagerClient: keep the manager alive while firing signalsRui Matos2013-11-271-1/+8
| | | | | | | Handlers for the signals we emit might unref the object manager. Make sure we keep it alive until we are done with it. https://bugzilla.gnome.org/show_bug.cgi?id=719402