summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendnetwork.c
Commit message (Collapse)AuthorAgeFilesLines
* daemon: Set G_FILESYSTEM_PREVIEW_TYPE_NEVER in browse backendsAntónio Fernandes2021-01-221-0/+1
| | | | | | | These backends are special and their "files" are links to locations from other backends. I doesn't make sense to preview them. https://gitlab.gnome.org/GNOME/gvfs/-/issues/497
* network: Check variable before dereferencingOndrej Holy2017-01-251-1/+1
| | | | | | | | | It seems that the error variable may be NULL at this point in some cases as per the bug reports, but I don't really have any idea why. Let's check the error variable before dereferencing and see if it helps to reduce the number of bug reports... https://bugzilla.gnome.org/show_bug.cgi?id=777737
* Add missing newline characters in g_debugOndrej Holy2016-12-151-1/+1
| | | | | | | Unfortunately, g_debug uses custom handler in GVfs which requires additional new line character. Commit a7b0a65 and commit 1d67090 changed g_warning to g_debug, but forgot to add additional new line characters.
* network: Do not spam journal by useless warningsOndrej Holy2016-12-151-1/+1
| | | | | | | | | | | | | | | | | | The following warning is always printed from network backend if smb backend is installed and network backend is mounted: Couldn't create directory monitor on smb://[WORKGROUP]/. You can see it with two different error messages. The first is printed if we are not in samba environment, or the workgroup is misconfigured: Error: The specified location is not mounted The second is printed in other cases, because monitoring is not supported by smb backend: Error: Operation not supported by backend This isn't really useful and just spams the journal, let's use g_debug instead of g_warning.
* network: Fix crashes when finalizeOndrej Holy2016-11-181-1/+2
| | | | | | | | SMB backend mount operation might be still running when finalize is called. Increase backend reference count when calling g_file_mount_enclosing_volume in order to be sure that finalize is called after the operation is done. https://bugzilla.gnome.org/show_bug.cgi?id=712235
* network: Disconnect all signal handlers in finalizeOndrej Holy2016-11-181-2/+8
| | | | | | | | Not all signal handlers has been removed in finalize by commit 45c4dcc. Disconnect rest of the signal handlers in order to avoid potential crashes... https://bugzilla.gnome.org/show_bug.cgi?id=712235
* Use Unicode in translatable stringsPiotr Drąg2016-10-031-2/+2
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772219
* daemon: Set G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attributeOndrej Holy2016-06-281-0/+1
| | | | | | | Mark all network-based backends as remote. This is useful to remove some hardcoded lists of filesystem types in GTK+. Bump required GLib version accordingly.
* network: Fix crashes when mount failedOndrej Holy2016-01-291-2/+24
| | | | | | | | | Mount operation might fail if you run multiple mount operations concurrently. Backend memory is released consequently. Unfortunatelly some idle sources and signal handlers are not removed, which might cause segmentation faults. This patch fixes this and also some other memory leaks. https://bugzilla.gnome.org/show_bug.cgi?id=712235
* Set filesystem::type for all backendsRoss Lagerwall2015-08-041-0/+13
| | | | | | | This attribute was being set inconsistently, and is used by the file chooser. https://bugzilla.gnome.org/show_bug.cgi?id=752834
* Add symbolics support to the backendsWilliam Jon McCann2012-08-301-9/+37
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681458
* Append the service name when needed to help differentiateWilliam Jon McCann2012-08-241-1/+77
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=592885
* Don't set a file size for the network:// shortcutsWilliam Jon McCann2012-08-221-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=682376
* Update the Address of the FSFFelix Möller2012-07-301-2/+2
| | | | | | | | | | | | | | | Updating the address of the FSF. This has been done by: while read file; do sed -i 's:59 Temple Place:51 Franklin Street:' $file sed -i 's:Suite 330:Fifth Floor:' $file sed -i 's:02111-1307:02110-1301:' $file done https://bugzilla.gnome.org/show_bug.cgi?id=656598 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* Explicitly intialize mutexes on stackTomas Bzatek2011-11-141-0/+2
| | | | | | Turned out zeroing memory is not enough in some cases so let's be on the safe side and properly initialize all non-static mutexes. Also, don't initialize/clear the static ones.
* Adapt to glib mutex API changesTomas Bzatek2011-10-251-6/+4
| | | | A continuation to https://bugzilla.gnome.org/show_bug.cgi?id=661148
* Port daemons to GSettingsTomas Bzatek2010-11-121-103/+45
|
* Bug 563788 – GNOME Goal: Clean up GLib and GTK+ includesBastien Nocera2009-02-051-1/+0
| | | | | | | | | | | | | | | | | | 2009-02-05 Bastien Nocera <hadess@hadess.net> Bug 563788 – GNOME Goal: Clean up GLib and GTK+ includes * client/gvfsuriutils.h: * daemon/gvfsbackendburn.c: * daemon/gvfsbackendcomputer.c: * daemon/gvfsbackenddnssd.c: * daemon/gvfsbackendnetwork.c: * daemon/gvfsdaemonutils.c: * daemon/mount.c: Fix build for single GTK+ include, patch from Luis Menina <liberforce@freeside.fr> (Closes: #563788) svn path=/trunk/; revision=2201
* Remove unnecessary GErrorTomas Bzatek2009-01-071-7/+4
| | | | | | | | | | 2009-01-07 Tomas Bzatek <tbzatek@redhat.com> * daemon/gvfsbackendnetwork.c: (recompute_files): Remove unnecessary GError svn path=/trunk/; revision=2163
* SMB browsing authentication support (#524485) Make smb-browse backend notTomas Bzatek2009-01-061-21/+94
| | | | | | | | | | | | | | 2009-01-06 Tomas Bzatek <tbzatek@redhat.com> * daemon/gvfsbackendnetwork.c: * daemon/gvfsbackendsmbbrowse.c: * daemon/smb-browse.mount.in: SMB browsing authentication support (#524485) Make smb-browse backend not automounted Mount smb root on network backend automount svn path=/trunk/; revision=2158
* Added. Added. Added. Added.Alexander Larsson2008-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-01 Alexander Larsson <alexl@redhat.com> * common/Makefile.am: * common/gvfsdnssdresolver.c: Added. * common/gvfsdnssdresolver.h: Added. * common/gvfsdnssdutils.c: Added. * common/gvfsdnssdutils.h: Added. * daemon/Makefile.am: * daemon/dav+sd.mount.in: Added. * daemon/dav.mount.in: * daemon/gvfsbackenddav.c: * daemon/gvfsbackenddnssd.c: * daemon/gvfsbackendnetwork.c: For references to dns-sd dav services, use a dav+sd: uri, since this is stable over e.g. port changes and as such work better in e.g. bookmarks. Patch from David Zeuthen (#555436) svn path=/trunk/; revision=2112
* ANSIfication Same.Kjartan Maraas2008-03-071-1/+1
| | | | | | | | | 2008-03-07 Kjartan Maraas <kmaraas@gnome.org> * programs/gvfs-mount.c: ANSIfication * daemon/gvfsbackendnetwork.c: Same. svn path=/trunk/; revision=1597
* Added another translator comment.Wouter Bolsterlee2008-02-281-0/+2
| | | | | | | | | | 2008-02-29 Wouter Bolsterlee <wbolster@svn.gnome.org> * daemon/gvfsbackendnetwork.c (g_vfs_network_daemon_init): Added another translator comment. svn path=/trunk/; revision=1444
* Set the default name for the network backend to prevent possible confusionA. Walton2008-02-281-0/+6
| | | | | | | | | | | | 2008-02-28 A. Walton <awalton@svn.gnome.org> * daemon/gvfsbackendnetwork.c: (g_vfs_network_daemon_init): * daemon/gvfsbackendnetwork.h: Set the default name for the network backend to prevent possible confusion about "NETWORK Filesystem Service". svn path=/trunk/; revision=1437
* Fixup DNS-SD exposed links to actually link to the service provided.A. Walton2008-02-281-3/+6
| | | | | | | | | | | 2008-02-28 A. Walton <awalton@svn.gnome.org> * daemon/gvfsbackendnetwork.c: (recompute_files): Fixup DNS-SD exposed links to actually link to the service provided. svn path=/trunk/; revision=1429
* Fix spelling inconsistency "Network" vs "network" (#518487)Alexander Larsson2008-02-251-1/+1
| | | | | | | | | | 2008-02-25 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendnetwork.c (recompute_files): Fix spelling inconsistency "Network" vs "network" (#518487) svn path=/trunk/; revision=1364
* Add monitoring of inlined locations. (#509600) Patch from A. WaltonAlexander Larsson2008-02-251-84/+200
| | | | | | | | | | | 2008-02-25 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendnetwork.c: Add monitoring of inlined locations. (#509600) Patch from A. Walton svn path=/trunk/; revision=1357
* Make network:// really add extra domain links.A. Walton2008-02-231-2/+2
| | | | | | | | | 2008-02-22 A. Walton <awalton@svn.gnome.org> * daemon/gvfsbackendnetwork.c: (recompute_files): Make network:// really add extra domain links. svn path=/trunk/; revision=1347
* Fix typo so we generate correct dns-sd links.A. Walton2008-02-221-1/+1
| | | | | | | | | 2008-02-22 A. Walton <awalton@svn.gnome.org> * daemon/gvfsbackendnetwork.c: (recompute_files): Fix typo so we generate correct dns-sd links. svn path=/trunk/; revision=1344
* Add TODO commentAlexander Larsson2008-02-221-0/+5
| | | | svn path=/trunk/; revision=1339
* Fix up dns-sd method name and gconf directory.Alexander Larsson2008-02-221-2/+2
| | | | | | | | | | | | 2008-02-22 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendnetwork.c: (g_vfs_backend_network_init): Fix up dns-sd method name and gconf directory. svn path=/trunk/; revision=1338
* Fix up network_file_equal.Alexander Larsson2008-02-221-11/+5
| | | | | | | | | | 2008-02-22 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendnetwork.c: Fix up network_file_equal. svn path=/trunk/; revision=1333
* Update the network backend to use inline files and remove the defaultAlexander Larsson2008-02-221-104/+390
| | | | | | | | | | | | | | 2008-02-22 Alexander Larsson <alexl@redhat.com> * daemon/gvfsbackendnetwork.c: Update the network backend to use inline files and remove the default workgroup link. Also add dns-sd support (not used yet). (#509600) Patch from A. Walton svn path=/trunk/; revision=1329
* Initial network backend work (#509600)Alexander Larsson2008-02-201-0/+452
2008-02-20 Alexander Larsson <alexl@redhat.com> * daemon/Makefile.am: * daemon/gvfsbackendnetwork.[ch]: * daemon/network.mount.in: Initial network backend work (#509600) svn path=/trunk/; revision=1307