Rafael Fontenelle
c7f540b9e9
Updated Brazilian Portuguese translation
2016-02-10 17:31:53 +00:00
coypu
0817af40e8
gdate: Suppress string format literal warning
...
Newer versions of GCC emit an error here, but we know it's safe.
https://bugzilla.gnome.org/761550
2016-02-08 10:26:58 +01:00
Piotr Drąg
ac84fbfca3
Updated Polish translation
2016-02-06 15:43:33 +01:00
Dušan Kazik
30ff647a7c
Updated Slovak translation
2016-02-06 14:18:18 +00:00
Ignacio Casal Quinteiro
19fd89f8db
registrybackend: avoid adding a new child when we return the root
2016-02-05 12:05:02 +01:00
Ignacio Casal Quinteiro
63b0f1087d
registrybackend: another cleanup creating a registry cache item
2016-02-05 11:39:30 +01:00
Ignacio Casal Quinteiro
c73e9fc36a
registrybackend: use registry_cache_add_item instead of creating manually
2016-02-05 11:14:24 +01:00
Ignacio Casal Quinteiro
bd3dd1cd48
registrybackend: get whether a key is writable or not
2016-02-05 10:44:45 +01:00
Руслан Ижбулатов
604ca89176
registrybackend: do convert values to UTF-16
...
Perform conversion before writing a value out of the cache into the registry,
and convert back when reading a value into the cache out of the registry.
The registry holds UTF-8 strings.
2016-02-05 09:40:30 +01:00
Руслан Ижбулатов
c4d943186e
registrybackend: fix memory leak
2016-02-05 09:39:21 +01:00
Ignacio Casal Quinteiro
b8fc289e8f
registrybackend: remove useless include
2016-02-04 12:44:11 +01:00
Ignacio Casal Quinteiro
74442a0b8c
registrybackend: do not leak self if there are no items
2016-02-04 11:16:45 +01:00
Ignacio Casal Quinteiro
dc97bb9b9b
registrybackend: handle readability of the keys
...
If a key is removed or it cannot be read anymore we should
notify the backend about it so it fallbacks to the default
value.
2016-02-04 11:02:46 +01:00
Ignacio Casal Quinteiro
05dd91a0b6
registrybackend: use unicode calls intead of the ansi ones
...
https://bugzilla.gnome.org/show_bug.cgi?id=761504
2016-02-04 08:59:59 +01:00
Ignacio Casal Quinteiro
7161d70955
registrybackend: remove useless get_permission override
...
The base class does the same
2016-02-04 07:55:25 +01:00
Ignacio Casal Quinteiro
259a61ed2d
registrybackend: pass the event to the cache update
...
This way the registry cache has more control to specify what has
changed.
2016-02-03 19:19:50 +01:00
Rico Tzschichholz
e3189527dc
gio/gobject: Various introspection fixes
2016-02-03 18:13:49 +01:00
Ignacio Casal Quinteiro
c7ea434e2c
registrybackend: properly propagate the partial key name
2016-02-03 13:10:09 +01:00
Matej Urbančič
7522d5c982
Updated Slovenian translation
2016-02-02 17:50:11 +01:00
Rico Tzschichholz
927a4ed2f4
gstring: Explictly annotate return-values with (transfer none/full)
...
https://bugzilla.gnome.org/show_bug.cgi?id=744570
2016-02-02 17:38:05 +01:00
Ignacio Casal Quinteiro
f1a5e394b0
registrybackend: rename touched flag to readable
...
This is a flag used to understand if a key exists on the registry
and if it is readable. It makes more sense to rename it as readable
since anyway a key that does not exists anymore is a key that is
not readable.
2016-02-02 14:48:22 +01:00
Ignacio Casal Quinteiro
5cc997f7c4
registrybackend: close the key only if successfully opened
2016-02-02 11:08:50 +01:00
Ignacio Casal Quinteiro
bf3f827ca1
registrybackend: use ptr_array_new_with_free_func
2016-02-02 11:08:42 +01:00
Ignacio Casal Quinteiro
9098a7f927
registrybackend: minor style cleanup
2016-02-02 11:04:56 +01:00
Rico Tzschichholz
d268d9f86a
socket: Fix annotation of g_socket_receive_message
...
https://bugzilla.gnome.org/show_bug.cgi?id=761337
2016-02-02 10:15:04 +01:00
Rico Tzschichholz
ec173eb654
application: Fix annoation of g_application_add_option_group
...
https://bugzilla.gnome.org/show_bug.cgi?id=761337
2016-02-02 10:11:08 +01:00
Ignacio Casal Quinteiro
169cfb250f
registrybackend: avoid signed/unsigned comparison warnings
2016-02-01 14:25:05 +01:00
Ignacio Casal Quinteiro
b0776ddd18
registrybackend: use G_DECLARE_FINAL_TYPE
2016-02-01 14:24:46 +01:00
Alexander Shopov
2d7cac366d
Updated Bulgarian translation
2016-02-01 06:21:09 +02:00
Daniel Mustieles
9183960df2
Updated Spanish translation
2016-01-31 22:25:10 +01:00
Hashem Nasarat
c5931d1a16
docs: fix grammar in Writing GLib Applications/Threads
2016-01-31 12:54:28 -05:00
Sébastien Wilmet
95dd373024
docs: better documentation for g_file_info_copy_into()
...
The documentation of g_file_info_copy_into() was misleading. The
attributes are not just copied, @dest_info is also cleared at the
beginning. So any previously set attributes in @dest_info are lost.
There was a bug in gedit about this function, where some metadata were
not saved. So it might make sense to change the implementation to not
clear @dest_info, and copy one by one the attributes from @src_info to
@dest_info.
https://bugzilla.gnome.org/show_bug.cgi?id=747927
2016-01-28 20:31:53 +01:00
Sébastien Wilmet
f14052461b
docs: GRegex: @start_position is in bytes
...
The start_position arguments are passed to pcre_exec() as the
startoffset, which is in bytes (not characters).
I had recently a doubt about this, so it's better to document it.
https://bugzilla.gnome.org/show_bug.cgi?id=747927
2016-01-28 18:49:28 +01:00
Sébastien Wilmet
a4ed89bf75
docs: improve doc of g_file_info_list_attributes()
...
The name_space can be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=747927
2016-01-28 18:49:28 +01:00
Chun-wei Fan
dfd74a271d
gwin32.c: Avoid a GCC warning
...
Add a pair of braces to make things more clear, to avoid a warning
when -Wparentheses is used.
Reported by Ignacio Casel Quinteiro.
2016-01-28 15:55:11 +08:00
Matthias Clasen
42699e37be
gio: Include filename in error message
...
I'm tired of seeing 'No such file or directory' in the logs without
a hint as to what is actually wrong. Including the filename here
may help me tracking down a bug in the continuous infrastructure.
2016-01-27 21:05:31 -05:00
Chun-wei Fan
d20e88fd11
gwinhttpfile.c: Fix build on Visual Studio
...
Visual Studio, at least the older versions, cannot use L on macros which
are defined as a constant string, plus the L must be applied to all string
literals here. This does not look nice, but this is life...
2016-01-26 23:23:42 +08:00
Ignacio Casal Quinteiro
56b0454ba5
registrybackend: fix warning
2016-01-26 15:41:08 +01:00
Ignacio Casal Quinteiro
b57eac68e5
registrybackend: fix double-free error
2016-01-26 15:22:48 +01:00
Ignacio Casal Quinteiro
df1ffe7e27
registrybackend: remove :( from messages
2016-01-26 14:35:31 +01:00
Ignacio Casal Quinteiro
0200e4036c
registrybackend: simplify g_message_win32_error
2016-01-26 13:26:41 +01:00
Ignacio Casal Quinteiro
bc85dee6b3
registrybackend: do not accept 0 as a windows error
...
We might end up removing from the error stack the wrong error
and this might be missleading
2016-01-26 13:19:56 +01:00
Ignacio Casal Quinteiro
bad7e4a114
registrybackend: do not leak the watch data in case of failure
2016-01-26 13:15:51 +01:00
Ignacio Casal Quinteiro
9e805ffd43
winiconv: update to upstream version
...
To update this code you need to fetch the last version of the code
from: https://github.com/win-iconv/win-iconv
Then you need to ensure 3 things:
- the line ends are in unix format
- some of the methods do not expose a const on the prototype
refer to the commit b8c13a01b6
on how to fix it
- fix one uninitialized variable if not yet fixed upstream
refer to 7e0cb48dee
https://bugzilla.gnome.org/show_bug.cgi?id=761126
2016-01-26 12:55:55 +01:00
Ignacio Casal Quinteiro
31aab1bd42
registrybackend: do not leak key and event if it cannot add the watch
2016-01-26 12:53:56 +01:00
Ignacio Casal Quinteiro
a92d97ff1f
registrybackend: more style fixes
...
This is the never ending story
2016-01-26 12:21:48 +01:00
Ignacio Casal Quinteiro
1b5b0eff9a
registrybackend: fix possible crash if cache_node is NULL
2016-01-26 12:02:18 +01:00
Ignacio Casal Quinteiro
67f6ede3e5
registrybackend: remove space before ++
2016-01-26 11:46:51 +01:00
Ignacio Casal Quinteiro
8f7aa273de
registrybackend: fix possible mem leak
...
If the parameters do not validate we would leak the memory.
2016-01-26 11:42:33 +01:00
Ignacio Casal Quinteiro
305a9b12c9
winhttpfile: use glib format string macro
...
Like this we avoid some downstream patching for msys2
2016-01-26 10:13:02 +01:00