Ryan Lortie
171d293b6f
signals changes
2010-04-14 13:21:33 -04:00
Ryan Lortie
7bb26044ee
type checks
2010-04-14 13:21:33 -04:00
Matthias Clasen
7440c7e7e8
Change the name of the schema cache to 'gschemas.compiled'
2010-04-14 12:39:08 -04:00
Matthias Clasen
9c64ed313e
Add a schema parameter to g_settings_new with_path
2010-04-14 12:27:09 -04:00
Matthias Clasen
214b3ec658
drop locked flag from GSettings
...
It is not really needed, and delayed-apply is a construct-only property
anyway
2010-04-14 12:09:57 -04:00
Matthias Clasen
964e21989a
Update the DTD to reflect future plans and add a way to use local schema caches
2010-04-14 11:48:36 -04:00
Matthias Clasen
4bc82beae5
Add some more schema docs
2010-04-14 00:22:50 -04:00
Matthias Clasen
102c0dacab
Add some GSettingsSchema documentation
2010-04-13 23:51:29 -04:00
Matthias Clasen
f7b5f5594c
Add g_settings_schema_get_type
2010-04-13 23:23:00 -04:00
Matthias Clasen
47c8dc8878
Tweak include guards
2010-04-13 23:20:09 -04:00
Matthias Clasen
fe3e6f85be
Add a stub long description
2010-04-13 23:17:31 -04:00
Matthias Clasen
e5e94c4890
Some docs for GSettings
2010-04-13 22:58:12 -04:00
Vincent Untz
6eb4e56b36
Add a simple GKeyFile-based store for the memory backend
...
It needs some testing, but the simple test application works fine.
2010-04-13 22:03:29 -04:00
Vincent Untz
5c6c22bc55
Update doc of g_settings_backend_changed
...
The items argument always has to be NULL-terminated, regardless of the
value of n_items, for consistency.
2010-04-13 22:02:30 -04:00
Vincent Untz
e8bc704bda
Make GSettingsSchema work
...
A static variable has to be marked as static...
2010-04-13 22:01:37 -04:00
Ryan Lortie
14173184a7
GSettings seems to work now
2010-04-13 16:46:40 -04:00
Vincent Untz
23907aaae8
Fix get/set property of GSettingsBackend
...
The backend variable needs to be initialized.
2010-04-13 15:56:41 -04:00
Ryan Lortie
db784c253a
import GSettingsSchema
2010-04-13 15:41:43 -04:00
Ryan Lortie
c4812accb4
schema compiler
2010-04-13 15:39:12 -04:00
Ryan Lortie
8c65bbf1a3
GIO: Add gvdb as private API
2010-04-13 15:39:12 -04:00
Matthias Clasen
b986347549
Add context support to GSettingsBackend
...
This will be used to instantiate backends for writing user settings,
system settings, system defaults or settings for the login session.
2010-04-13 13:18:40 -04:00
Matthias Clasen
fd7d77ed09
Drop an obsolete declaration
2010-04-13 10:55:05 -04:00
Matthias Clasen
b333be6f5c
Do a pass over the backend docs
2010-04-13 10:51:26 -04:00
Ryan Lortie
520ec5f1a9
makefile changes
2010-04-13 09:21:22 -04:00
Ryan Lortie
e06ca1fae6
some GSettings stuff
2010-04-13 09:16:09 -04:00
Tor Lillqvist
1229281d95
Define a public documented type for the struct stat used by g_stat()
...
Define GStatBuf as the type used by g_stat() and g_lstat(). Replaces
the non-public struct tag _g_stat_struct. Mostly relevant for Windows
where there are several variants of stat-style structs. On POSIX, is
just another name for struct stat.
Actually, also on many POSIX systems there are in fact several
variants of struct stat and corresponding stat() and lstat()
functions, but as g_stat and g_lstat are normally on POSIX just macros
that expand to stat and lstat, this should not cause a problem. It's
only when it's the actual g_stat() or g_lstat() implementation inside
GLib that gets called that one needs to be sure the passed struct is
the same as what GLib expects.)
2010-03-30 19:22:39 +03:00
Benjamin Otte
e7763678b5
Fix race in g_cancellable_cancel()
...
We need to check priv->cancelled after taking the lock. Previously we
only checked it just before taking the lock, which left a small chance
for a race.
2010-03-29 12:57:35 -05:00
Benjamin Otte
5527a2ac2c
Remove unneccessary variable from g_cancellable_cancel()
...
The variable makes a complicated function even more complicated.
2010-03-29 12:57:35 -05:00
Matthias Clasen
7c8a108165
Fix a typo
2010-03-26 11:05:02 -04:00
Matthias Clasen
78b764f325
More doc fixups
2010-03-26 10:19:57 -04:00
Matthias Clasen
c4ea7d58f7
Small doc addition
2010-03-26 09:30:25 -04:00
Matthias Clasen
6e77ee0971
Correct the error handling in splice_stream_with_progress
...
We need to get out of both loops, so a simple 'break' doesn't cut it.
Bugs 613748 and 613923
2010-03-26 09:03:22 -04:00
Ryan Lortie
fd448dd7ce
Add doc note about read_until() inconsistency.
...
See bug 584284 for more information.
2010-03-23 10:01:53 -05:00
Ryan Lortie
ace9a25fb3
Bug 613601 - buglet in dup_close_on_exec_fd()
...
Fix copy/paste error and 'or' FD_CLOEXEC into the existing flags instead
of just setting it outright.
2010-03-22 12:03:24 -05:00
Tor Lillqvist
226cc663e4
Avoid much of duplication in lists of source files
...
Don't keep the lists of source files for libglib, libgobject and
libgio in the VS project files in addition to the canonical location,
the corresponding Makefile.am files.
Instead, generate the corresponding .vcproj files at make dist time
using the C preprocessor, from template files called .vcprojin. We
still list explicitly in the .vcprojin files some of the
Windows-specific source files, and the sources files of gnulib and
pcre.
2010-03-21 16:15:02 +02:00
Tor Lillqvist
504b8b8f01
Avoid struct stat issues with MSVC
2010-03-21 14:50:45 +02:00
Colin Walters
f552689058
[GDesktopAppInfo] New function g_desktop_app_info_get_filename
...
This allows access to the full file path, where possible.
https://bugzilla.gnome.org/show_bug.cgi?id=612832
2010-03-14 15:45:46 -04:00
Thomas Kristensen
1be8ad3514
Close the socket event in finalizer instead of in close method
...
There might be a GSource attached to a GMainContext, about to be removed by a
pending cancellation. Deleting the handle too early will trigger a g_warning in
the "select()" call in GMainContext. Attached patch fixes this by deferring
destruction of WSAEVENT object until GSocket's finalize().
Patch from bug #612702 .
Signed-off-by: Tor Lillqvist <tml@iki.fi>
2010-03-14 11:51:24 +02:00
Tor Lillqvist
a57522deae
The SO_KEEPALIVE value seems to actually be a char on Windows
...
Do still use a BOOL variable, but initialize it to FALSE before the
getsockopt(), and drop the assertion on Windows. Should fix bug
2010-03-12 10:45:52 +02:00
Alexander Larsson
8cd5c94f42
Add pregenerated ids for TRASH_ORIG_PATH and TRASH_DELETION_DATE
...
This fixes the build for me
2010-03-08 12:03:40 +01:00
Matthias Clasen
826abbefce
Add defines for trash::orig-path and trash::deletion-date
...
See bug 612107.
2010-03-08 00:36:00 -05:00
Matthias Clasen
0a51b58e07
Minor doc clarification
...
Mention g_realloc() as a possible function to use with
g_memory_output_stream_new(). Bug 612041.
2010-03-08 00:12:33 -05:00
Matthias Clasen
9dd6c60fbf
Plug a memleak in g_io_modules_scan_all_in_directory
...
...and at the same time, fix a malloc<>g_free mismatch.
Patch by Caolan McNamara, bug 611897
2010-03-07 17:44:23 -05:00
Jonh Wendell
7504095de0
Mark a string for translation
2010-03-04 17:03:13 -03:00
Christian Dywan
c423c3a9c9
Add licence headers to gnativevolumemonitor.c/h
...
Fixes bug #609531
2010-03-04 11:02:31 +01:00
Felix Riemann
373f3d8b52
Fix API docs for GZlibCompressor and GZlibDecompressor
...
Corrects the general descriptions and makes the signals and implemented
interfaces appear.
2010-03-03 17:44:28 +01:00
Dan Winship
9a886135c8
GResolver: fix Windows 2000 workaround
...
Move the <wspiapi.h> include from gwin32resolver.c to
gnetworkingprivate.h, since gthreadedresolver.c needs it too.
https://bugzilla.gnome.org/show_bug.cgi?id=611696
2010-03-03 08:35:32 -05:00
Paolo Borelli
277b9717da
Remove utf8inputstream leftovers in a few other places
2010-03-01 10:24:43 +01:00
Alexander Larsson
2bfddf162e
Remove GUtf8InputStream for now
...
It turns out that the way this worked did not work out for the current
main usecase (gedit) due to issues with how this is best integrated
with GtkTextView. So, in order to not have to support an unused non-ideal
API forever we remove this before its been in a stable release.
The basic feature seems to have some utility though, so we hope for it
to eventually return in a better form.
2010-03-01 09:56:02 +01:00
Saleem Abdulrasool
a495a2122d
include gio.h, not giotypes.h
...
Including giotypes.h in gfiledescriptor.h causes a compilation failure for users
of the header as giotypes.h may not be included directly.
2010-02-23 16:23:07 -08:00