Commit Graph

56 Commits

Author SHA1 Message Date
Piotr Drąg
f68582356d Updated POTFILES.in 2015-06-03 19:02:12 +02:00
Ryan Lortie
2737ab3201 substantially rework file monitors
Remove all event merging and dispatch logic from GFileMonitor.  The only
implementation of GFileMonitor outside of glib is in gvfs and it already
does these things properly.

Get rid of GLocalDirectoryMonitor.  We will use a single class,
GLocalFileMonitor, for both directory and file monitoring.  This will
prevent every single backend from having to create two objects
separately (eg: ginotifydirectorymonitor.c and ginotifyfilemonitor.c).

Introduce GFileMonitorSource as a thread-safe cross-context dispatch
mechanism.  Put it in GLocalFileMonitor.  All backends will be expected
to dispatch via the source and not touch the GFileMonitor object at all
from the worker thread.

Remove all construct properties from GLocalFileMonitor and remove the
"context" construct property from GFileMonitor.  All backends must now
get the information about what file to monitor from the ->start() call
which is mandatory to implement.

Remove the implementation of rate limiting in GFileMonitor and add an
implementation in GLocalFileMonitor.  gvfs never did anything with this
anyway, but if it wanted to, it would have to implement it for itself.
This was done in order to get the rate_limit field into the
GFileMonitorSource so that it could be safely accessed from the worker
thread.

Expose g_local_file_is_remote() internally for NFS detection.

With the "is_remote" functionality exposed, we can now move all
functions for creating local file monitors to a proper location in
glocalfilemonitor.c

Port the inotify backend to adjust to the changes above.  None of the
other backends are ported yet.  Those will come in future commits.
2015-03-20 11:59:47 -04:00
Piotr Drąg
f6ccb19e1a Updated POTFILES.in 2015-03-10 19:50:30 +01:00
Piotr Drąg
d4122b954f Updated POTFILES.in 2015-03-08 15:39:02 +01:00
Piotr Drąg
03de825c7e Updated POTFILES.in 2015-02-18 13:43:12 +01:00
Piotr Drąg
53abf0dc7d Updated POTFILES.in 2014-12-05 23:04:04 +01:00
Piotr Drąg
f7e2190e74 Updated POTFILES.in 2013-10-17 21:56:55 +02:00
Piotr Drąg
2a4dbbc73a Updated POTFILES.in 2013-07-11 21:09:15 +02:00
Piotr Drąg
454691a4b4 Updated POTFILES.in 2013-04-22 00:37:20 +02:00
Piotr Drąg
afc0a72575 Updated POTFILES.in 2013-02-15 13:45:35 +01:00
Piotr Drąg
6cce4790b7 Updated POTFILES.in 2012-12-12 22:21:17 +01:00
Piotr Drąg
f416ece103 Updated POTFILES.in 2012-07-04 04:25:41 +02:00
Piotr Drąg
88f73eef54 Updated POTFILES.in 2012-04-20 20:50:26 +02:00
Piotr Drąg
3b9791cca6 Updated POTFILES.in 2012-04-17 19:48:59 +02:00
Rico Tzschichholz
fbfad9cf85 Updated POTFILES.in 2012-01-26 14:53:15 +01:00
Piotr Drąg
051d4d846e Updated POTFILES.in 2012-01-23 20:15:30 +01:00
Piotr Drąg
0ed77c4fdd Updated POTFILES.in 2012-01-13 21:11:03 +01:00
Piotr Drąg
605856adfa Updated POTFILES.in 2011-12-09 12:55:40 +01:00
Piotr Drąg
2056906bb7 Updated POTFILES.in 2011-11-15 20:46:17 +01:00
Piotr Drąg
9973383bd0 Updated POTFILES.in 2011-10-17 18:31:48 +02:00
Dan Winship
a9e2305dce po: add missing gtls files to POTFILES.in
Pointed out by Daniel Mustieles
https://bugzilla.gnome.org/show_bug.cgi?id=657138
2011-08-23 08:28:15 -04:00
Andre Klapper
fccaadcdab Add missing files to POTFILES.in 2011-03-10 12:33:58 +01:00
Matthias Clasen
ff8817b631 Update POTFILES.in 2010-11-29 10:49:28 -05:00
Andre Klapper
80de3ca7cc Add missing file to POTFILES.in 2010-09-24 13:15:23 +02:00
Matthias Clasen
bd569dc3c9 Adapt POTFILES.in to source file renaming 2010-09-13 12:27:04 -04:00
Claude Paroz
52a41b81bd Added missing files in POTFILES.in 2010-08-27 20:04:38 +02:00
Nicolas Dufresne
ced1d0e2e7 Implemented SOCKSv4 and SOCKSv4a 2010-08-19 16:32:38 -04:00
Nicolas Dufresne
6fa1136600 Implemented SOCKSv5 proxy support 2010-08-19 16:32:37 -04:00
Matthias Clasen
3e8a9c7b52 Add missing files
Reported in bug 624739
2010-08-05 01:39:58 -04:00
Matthias Clasen
92fab48387 Some cleanups
Always include config.h, make property strings for translation,
add since tags.
2010-06-06 14:24:14 -04:00
Kjartan Maraas
b1bf5a5bb9 Add two missing files 2010-05-23 16:27:08 +02:00
Matthias Clasen
2ec41fad53 Add GDBus files to POTFILES.in 2010-05-16 13:08:01 -04:00
Matthias Clasen
bedf4c3259 Add documentation and translation for gsettings-tool 2010-04-20 22:55:15 -04:00
Paolo Borelli
277b9717da Remove utf8inputstream leftovers in a few other places 2010-03-01 10:24:43 +01:00
Andre Klapper
a4f5a3705b Update POTFILES.in to make l10n.gnome.org happy 2010-01-29 22:33:06 +01:00
Matthias Clasen
0c652dc66e Don't mark test files for translation
As pointed out in bug 596064
2009-09-29 20:57:45 -04:00
Claude Paroz
9bc2088357 Add missing files in POTFILES.in 2009-07-14 18:54:58 +02:00
Luca Ferretti
23690b6b65 Added missing gio/gemblemedicon.c
2009-01-14  Luca Ferretti  <elle.uca@libero.it>

	* POTFILES.in: Added missing gio/gemblemedicon.c

svn path=/trunk/; revision=7808
2009-01-14 21:01:13 +00:00
Kjartan Maraas
8f1f0ffe78 Add missing file. Update.
2008-08-15  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Add missing file.
	* nb.po: Update.

svn path=/trunk/; revision=7360
2008-08-15 11:16:55 +00:00
Gil Forcada Codinachs
70b38d6982 Updated Catalan translation
svn path=/trunk/; revision=7313
2008-08-05 13:33:52 +00:00
Luca Ferretti
e3ea86b5ac remove deleted file gio/gdirectorymonitor.c
2008-01-07  Luca Ferretti  <elle.uca@libero.it>

	* POTFILES.in: remove deleted file gio/gdirectorymonitor.c 
	
	* it.po: Updated Italian translation.


svn path=/trunk/; revision=6266
2008-01-07 14:38:35 +00:00
Kjartan Maraas
d8048f2709 Add gio-ls.c Updated Norwegian bokmål translation.
2007-12-15  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Add gio-ls.c
	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=6135
2007-12-15 11:44:34 +00:00
Stéphane Raimbault
b0cbc5fd0b Updated file list (gio).
2007-12-14  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* POTFILES.in: Updated file list (gio).

svn path=/trunk/; revision=6122
2007-12-14 12:08:52 +00:00
Kjartan Maraas
1f5e89ecda Add missing file.
2007-12-08  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Add missing file.

svn path=/trunk/; revision=6072
2007-12-08 13:00:46 +00:00
Andre Klapper
87e51b0997 Updated gio sources.
2007-11-27  Andre Klapper  <a9016009@gmx.de>

        * POTFILES.in: Updated gio sources.


svn path=/trunk/; revision=5958
2007-11-27 16:10:22 +00:00
Alexander Larsson
3781343738 gio/ docs/reference/gio Merged gio-standalone into glib.
2007-11-26  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * configure.in:
        * gio-2.0-uninstalled.pc.in:
        * gio-2.0.pc.in: 
        * gio-unix-2.0-uninstalled.pc.in:
        * gio-unix-2.0.pc.in:
	* gio/
	* docs/reference/gio
	Merged gio-standalone into glib.
	
        * glib/glibintl.h:
        * glib/gutils.c:
	Export glib_gettext so that gio can use it
	Add P_ (using same domain for now)
	Add I_ as g_intern_static_string


svn path=/trunk/; revision=5941
2007-11-26 16:13:05 +00:00
Jorge Gonzalez Gonzalez
7226a03007 Updated Spanish translation
svn path=/trunk/; revision=5594
2007-06-29 18:17:48 +00:00
Matthias Clasen
6d8400efb7 Add gregex.c (#436955, Philip Withnall)
2007-05-17  Matthias Clasen  <mclasen@redhat.com>

        * POTFILES.in: Add gregex.c (#436955, Philip Withnall)

svn path=/trunk/; revision=5498
2007-05-17 17:15:49 +00:00
Kjartan Maraas
d35b470d7d Add gbookmarkfile.c Adjust accordingly.
2006-04-30  Kjartan Maraas  <kmaraas@gnome.org>

	* POTFILES.in: Add gbookmarkfile.c
	* nb.po: Adjust accordingly.
2006-04-30 12:01:42 +00:00
Matthias Clasen
748c230205 Add an mmap() wrapper called GMappedFile. (#148218, David Schleef, Behdad
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	Add an mmap() wrapper called GMappedFile. (#148218,
	David Schleef, Behdad Esfahbod)

	* glib/gmappedfile.[hc]: New files.

	* configure.in: Check for mmap.

	* glib/Makefile.am: Add new files.

	* glib/glib.symbols: Add new functions.

	* glib/glib.h: Include gmappedfile.h

	* tests/mapping-test.c: Tests for GMappedFile.

	* tests/Makefile.am: Add new file.
2005-06-25 03:38:32 +00:00