After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300040 - New Extension allowing to watch local files and reload when necessary
New Extension allowing to watch local files and reload when necessary
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
git master
Other All
: Normal enhancement
: 1.8
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2005-04-09 23:33 UTC by Raphael Slinckx
Modified: 2005-07-15 19:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ephy-file-watch.patch (2.96 KB, patch)
2005-04-09 23:47 UTC, Raphael Slinckx
needs-work Details | Review
ephy-file-watch.tar.gz (3.51 KB, application/x-compressed-tar)
2005-04-09 23:47 UTC, Raphael Slinckx
  Details

Description Raphael Slinckx 2005-04-09 23:33:57 UTC
First shot for such an extension, i have troubles getting the gnome_vfs_monitor
actually works, and i don't see why because the code seems ok, maybe my system
is hosed (got troubles with gamin recently)
Comment 1 Raphael Slinckx 2005-04-09 23:47:06 UTC
Created attachment 45092 [details] [review]
ephy-file-watch.patch

Autotools patch (also contains rss extension, not that bad i hope)
Comment 2 Raphael Slinckx 2005-04-09 23:47:46 UTC
Created attachment 45093 [details]
ephy-file-watch.tar.gz

Source files, in extensions/file-watch/
Comment 3 Phil Hagelberg 2005-06-08 17:35:59 UTC
What about inotify?
Comment 4 Raphael Slinckx 2005-06-09 00:28:24 UTC
gnome-vfs uses fam or gamin, which in turn use inotify to detect file changes :)

Inotify is quite low level to use directly
Comment 5 Christian Persch 2005-07-03 13:24:26 UTC
Raphael: any chance you could adapt the patch to epiphany itself (put in
ephy-tab.c)? :)
Comment 6 Christian Persch 2005-07-10 19:15:42 UTC
Fixed in cvs.
Comment 7 Raphael Slinckx 2005-07-15 19:34:05 UTC
Sorry for the lag, i'm in italy :)
Glad you could do it :)