Ryan Lortie
354d655ba8
g_str_hash: switch to using DJB hash
...
This is the same as what we were already doing with 2 changes:
- use an initial value of 5381 instead of 0
- multiply by 33 in each round instead of 31
2010-11-17 12:24:53 -05:00
Ryan Lortie
f50a99e782
g_str_hash: clean up code
...
Un-unroll the first iteration.
No functional changes here.
2010-11-17 12:24:53 -05:00
Tomas Bzatek
2bfcffde9a
GIO: Hide mounts having a path element starting with dot
...
When a mount is mounted to a directory whose path contains an element
starting with dot, let's treat it as hidden, just like the usual Unix
approach.
2010-11-16 14:20:07 +01:00
Javier Jardón
010913c8ab
docs: Update the URL of some documentation links
...
http://developer.gnome.org -> http://library.gnome.org
2010-11-14 02:09:05 +01:00
Gheyret T.Kenji
f4142b321b
Added UG translation
2010-11-14 00:05:02 +01:00
Gheyret T.Kenji
a0e0f25de6
Added UG translation
2010-11-13 22:10:03 +01:00
Luca Ferretti
b53b61a000
[l10n] Updated Italian translation
2010-11-13 14:01:48 +01:00
Fran Diéguez
9faed56eda
Updated Galician translations
2010-11-13 00:59:45 +01:00
Ryan Lortie
48ca3add14
G_STATIC_ASSERT: clarify when use is valid
...
Clarify when the use of G_STATIC_ASSERT is valid and fix up an invalid
use of it in GDBus.
2010-11-11 21:49:21 -05:00
Ryan Lortie
6bc20651ec
Partial revert of last commit
...
Revert incorrect changes to gdbusmessage.c
2010-11-11 21:49:21 -05:00
Cosimo Cecchi
d28bce02dc
emblemed-icon: allow passing a NULL emblem to g_emblemed_icon_new()
...
So that if we already have a list of emblems we know we want to add to
the icon, we can use e.g. a for loop to add them all, without picking
the first and looping from the second.
https://bugzilla.gnome.org/show_bug.cgi?id=634504
2010-11-10 19:08:52 +01:00
Benjamin Otte
fb94859e84
API: Reinstate "gio-desktop-app-info-lookup" extension point
...
Removing an extension point is an API and ABI break. In particular, it
causes (older) gvfs versions to fail loading with a linkage error from
ld which in turn makes the desktop unusable.
So this reinstate the extension point and API provided by it, but
deprecates and does not use it. So no functionality is changed.
This reverts parts of commit 9b262f1c5f
.
Complaints-Also-To: Ryan Lortie <desrt@desrt.ca>
2010-11-09 21:13:04 -05:00
Chun-wei Fan
9f02ee790b
gio: Fix C99 style variable declarations (bug #633075 )
...
-gdbusmessage.c and gregistrysettingsbackend.c is updated to fix C99-style declarations
-also fixed typo for displaying registry entry in gregistrysettingsbackend.c (\% -> \\%)
2010-11-09 20:36:53 +08:00
Chun-wei Fan
029f3070e7
gtimer.c: Revert accidental overwrite
...
Revert accidental overwrite as timing API was changed from 2.27.2 to 2.27.3
2010-11-09 20:32:39 +08:00
Matthias Clasen
db7ea5e558
Bump version
2010-11-08 23:06:53 -05:00
Matthias Clasen
f023d8b9bc
Update NEWS
2010-11-08 21:40:17 -05:00
Chun-wei Fan
9806040455
Added and Moved checks for includes
...
Moved checks for G_OS_WIN32 after GLib header includes and added other checks
required for Windows/MSVC builds
2010-11-09 09:53:12 +08:00
Chun-wei Fan
4a012a9754
Updated README.txt for VS9
2010-11-09 09:50:11 +08:00
Chun-wei Fan
0af6343fed
Updated .def generation for x64
...
Some symbols need to be excluded from the .def file as they are set to be so on Win64
2010-11-09 09:27:27 +08:00
Chun-wei Fan
9d4423c15d
Various updates...
...
-Made up for missed header files in glib and gio during "install"
-Added macro necessary for GLib/GModule .def generation under Win64
-updated location of getting glibconfig.h.win32 for building
2010-11-09 09:26:05 +08:00
Chun-wei Fan
e655a849e3
Some enhancements for Win64 and using existing PCRE installtions
...
Added option for people to use an existing PCRE build and updated .def generation for x64 systems (some symbols are set to be excluded from Win64 builds)
Also fixed the filter "PCRE" for the bundled PCRE as file layout changed
2010-11-09 09:23:47 +08:00
Chun-wei Fan
50ca357104
Added option to use existing installation of PCRE
...
Allow the person compiling GLib to use his/her own copy of PCRE, bug#633075
2010-11-09 09:11:48 +08:00
Chun-wei Fan
8c4a96c6ff
Made up for missed source files
...
Made up for missing required source files in gio.vcproj(in) for Windows builds
2010-11-09 09:08:45 +08:00
Ryan Lortie
587c9d09e2
GPeriodic: enable subclassing
...
Move GPeriodic struct and class struct to the header. Do ->priv.
2010-11-08 18:22:18 -05:00
Ryan Lortie
9fbfac6abb
GPeriodic: remove repair functions
...
Replace it with a single repair signal that either fires or does not.
2010-11-08 18:22:18 -05:00
Ryan Lortie
1a1fc130ec
New function: g_clear_object()
...
By analogy to g_clear_error, takes a pass-by-reference GObject reference
and, if non-%NULL, unrefs it and sets it equal to %NULL.
Bug #620263 .
2010-11-08 18:21:51 -05:00
Dan Winship
78bc8bec4f
fix .gitignore
2010-11-07 12:56:44 -05:00
Dan Winship
791d91a957
fix make check
2010-11-07 12:56:08 -05:00
Ryan Lortie
ba9fccf71e
g_get_user_runtime_dir(): New function
...
Get the value of the XDG_RUNTIME_DIR environment variable.
2010-11-06 17:35:10 -04:00
Ryan Lortie
71088701af
Add G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE
...
If specified, the signal subscription is setup client-side but the match
rule is not sent to the server. This allows the caller to manually
register more detailed match rules.
2010-11-06 17:35:10 -04:00
Christian Persch
fa774618fc
Fix docs comment typo
2010-11-06 12:27:01 +01:00
A S Alam
8464db88ad
update Punjabi Translation by A S Alam
2010-11-06 10:48:55 +05:30
A S Alam
79a29a1036
update Punjabi Translation by A S Alam
2010-11-06 10:47:54 +05:30
Ryan Lortie
7fc6f8a159
Add g_variant_lookup() and tests
...
Convenience API for doing lookups in dictionaries where the key is a
string or object path.
2010-11-05 21:33:43 -04:00
Matthias Clasen
57b4b7099f
Fix markup
2010-11-05 14:50:01 -04:00
Matthias Clasen
38bc42d18e
Fix up gapplication example
2010-11-05 14:29:15 -04:00
Matthias Clasen
67c03fee2a
Describe enum and flags types a bit
2010-11-05 14:28:44 -04:00
Matthias Clasen
d1b00fe23d
Update the gschema dtd to include flags
2010-11-05 13:56:42 -04:00
Matthias Clasen
bc793255bc
Report more useful errors from g_settings_set_value
2010-11-05 09:31:36 -04:00
Dan Winship
393834ac6f
gsettings.m4: Fix rules to work when there are no schemas
...
If there are no schemas, don't try to install "" at install time.
(In particular, automake conditionals don't work properly with
@-expanded rules, so if you conditionally build a schema, you'll
still unconditionally get the install rule.)
https://bugzilla.gnome.org/show_bug.cgi?id=633381
2010-11-04 17:21:09 -04:00
Tor Lillqvist
0940828418
Clarify docs for g_path_is_absolute() semantics on Windows
2010-11-04 22:18:42 +02:00
Ihar Hrachyshka
954e7d1493
Updated Belarusian translation
2010-11-04 01:28:40 +02:00
Christian Persch
ba45e36932
Add g_simple_async_report_take_gerror_in_idle
...
... and use it where appropriate. Saves an extra GError copy.
Bug #633686 .
2010-11-03 14:38:08 +01:00
Christian Persch
9e0c07870a
Use g_simple_async_result_{new_,}take_error
...
Bug #633685 .
2010-11-03 14:25:35 +01:00
Ryan Lortie
63b87b2c26
Add simple dynamic scheduling to GPeriodic
...
GPeriodic will now try not to use more than 50% of the CPU for its own
purposes unless there are no other tasks attempting to run.
2010-11-03 00:16:16 -04:00
Matthias Clasen
8c7e284116
Tweak GApplication docs
2010-11-02 23:02:05 -04:00
Ryan Lortie
1cf14de82f
docs: Recommend against using GTimeVal
2010-11-02 22:39:09 -04:00
Ryan Lortie
e4ad3442c0
GMainContext: store real time as int64
2010-11-02 22:39:09 -04:00
Ryan Lortie
d22681feb4
glocalfileinfo: remove non-use of GTimeVal
2010-11-02 22:39:09 -04:00
Ryan Lortie
5dab4727ee
Add g_get_real_time() for wall-clock int64 micros
...
Similar in spirit to g_get_monotonic_time().
2010-11-02 22:39:09 -04:00