summaryrefslogtreecommitdiff
path: root/daemon/gvfsafpserver.c
Commit message (Collapse)AuthorAgeFilesLines
* Use shorter strings for prompt dialog titlesJonas Dreßler2021-01-151-10/+5
| | | | | | | | | | | | | The layout of the modal dialogs in gnome-shell changed [1] and the title now is larger and uses the style of a headline. Make sure all titles remain fully visible and use shorter strings for those. Also unify the generic "Enter password" strings a bit to make work easier for translators and use this string for most cases: "Authentication Required\nEnter password for “%s”:" [1] https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343
* afp: Don't set a content-type that isn't certainBastien Nocera2019-10-111-2/+4
| | | | | | Don't ignore the result_uncertain flag from g_content_type_guess() as it might cause nautilus to incorrectly think that a particular file is of a certain type, and never check its magic.
* afp: Try to find credentials even if user is not specifiedOndrej Holy2019-01-041-16/+16
| | | | | | | | | | | Currently, when you try to mount AFP share and don't specify username in the URI, the g_vfs_keyring_lookup_password() call is skipped and thus you have to specify the credentials manually even if "Remember Password Forever" was used last time. This is wrong and other backends in the same situation tries to use the stored credentials. This is especially annoying for locations which are propagated over DNS-SD. Let's change this. Closes: https://gitlab.gnome.org/GNOME/gvfs/issues/352
* Remove workaround for directory / folder iconswip/rishi/issue-2Debarshi Ray2018-08-141-3/+4
| | | | https://gitlab.gnome.org/GNOME/gvfs/issues/2
* daemon: Don't use deprecated private structure APIsOndrej Holy2018-07-101-8/+5
| | | | | | | g_type_class_add_private and G_TYPE_INSTANCE_GET_PRIVATE have been recently deprecated. Let's use rather G_DEFINE_TYPE_WITH_PRIVATE and _get_instance_private() instead in order to prevent deprecation warnings.
* afp: Port GVfsAfpServer to GTaskOndrej Holy2017-11-281-94/+49
| | | | | | GSimpleAsyncResult is deprecated in favour of GTask and should be replaced. https://bugzilla.gnome.org/show_bug.cgi?id=747412
* afp: Prevent usage of uninitialized variableOndrej Holy2017-09-291-3/+3
| | | | | | | | | | More warnings are printed when building thanks to meson port. The code contains goto command which skips initialization of server_name variable. Let's move the initialization to another place in order to prevent usage of uninitialized variable and the following warning: warning: ‘server_name’ may be used uninitialized in this function https://bugzilla.gnome.org/show_bug.cgi?id=786149
* Fix translator commentsPiotr Drąg2017-01-281-1/+1
| | | | They need to be exactly one line above a string to show up in .po files.
* Use Unicode in translatable stringsPiotr Drąg2016-10-031-7/+7
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772219
* Mark files as untrashable for main backendsOndrej Holy2015-09-231-0/+1
| | | | | | Otherwise nautilus will offer the wrong action in its UI. https://bugzilla.gnome.org/show_bug.cgi?id=753934
* afp: Use UTF-8 for volume namesRoss Lagerwall2014-09-271-6/+6
| | | | | | | | | | | | Use UTF-8 for volume names since volume names are encoded as UTF-8 for protocol versions 3.0 and higher. This prevents seeing volume names like: "John’s Public Folder" Since the volume name comes as a pascal string with UTF-8 encoding, extend the function to read pascal strings with the ability to read pascal strings encoded as UTF-8. https://bugzilla.gnome.org/show_bug.cgi?id=733996
* afp: Fix some memory leaksRoss Lagerwall2014-08-141-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734695
* Use typographic quotes just like the other stringsGil Forcada2012-09-071-1/+1
|
* afp: Fix error message (-Wformat-security)Jasper St. Pierre2012-09-041-1/+1
| | | | | | | | We need to supply an %s somewhere in here to be secure. https://bugzilla.gnome.org/show_bug.cgi?id=682990 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* Add symbolics support to the backendsWilliam Jon McCann2012-08-301-1/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681458
* Use human friendly error messages.William Jon McCann2012-08-231-30/+45
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=682507
* afp: fixup retrieval of user id and uuid.Carl-Anton Ingmarsson2012-08-141-20/+56
| | | | | | | Seems like the afp server in OS X will give invalid replies to the FPGetUserInfo command when asking for the group id. Therefore we know try to retrieve the group id in a separate request so that we atleast are able to get the user id and uuid.
* afp: Don't create write requests bigger than the maximum request size.Carl-Anton Ingmarsson2012-08-091-7/+23
|
* afp: Error out when receiving invalid replies in GVfsAfpServer.Carl-Anton Ingmarsson2012-08-091-68/+119
|
* afp: move map_id function to GVfsAfpServerCarl-Anton Ingmarsson2012-08-091-0/+175
| | | | | also rename the AfpMapIDFunction enum to GVfsAfpMapIDFunction and move it into gvfsafpserver.h.
* afp: move definitions of GVfsAfp[Volume|Server] into gvfsafptypes.hCarl-Anton Ingmarsson2012-08-091-0/+1
|
* afp: make fields private in GVfsAfpServerCarl-Anton Ingmarsson2012-08-091-81/+149
|
* afp: logout from server on unmountCarl-Anton Ingmarsson2012-08-091-0/+38
|
* Use a worker thread in GVfsAfpConnectionCarl-Anton Ingmarsson2012-08-091-54/+17
|
* afp: append _sync to g_vfs_afp_connection_[open|close]Carl-Anton Ingmarsson2012-08-091-2/+2
|
* 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>
* afp: Add a comment for translatorsTomas Bzatek2012-06-221-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=670162
* afp: use the UTF-8 server name for password dialogs when it's availableCarl-Anton Ingmarsson2012-04-221-2/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674528
* afp: split out volume specific functions into a GVfsAfpVolume object.Carl-Anton Ingmarsson2012-01-221-179/+320
|
* afp: change g_vfs_afp_connection_get_server_info to g_vfs_afp_query_server_infoCarl-Anton Ingmarsson2012-01-221-2/+2
| | | | It's unnecessary to create a GVfsAfpConnection to retreive the server info
* afp: move retrieval of volumes into GVfsAfpServerCarl-Anton Ingmarsson2012-01-221-2/+138
| | | | | GVfsAfpServer now has a g_vfs_afp_server_get_volumes to retrieve the available volumes asynchronously.
* afp: more string fixes after André's reviewCarl-Anton Ingmarsson2012-01-221-4/+4
|
* afp: move get_vol_parms to GVfsAfpServerCarl-Anton Ingmarsson2012-01-221-0/+170
|
* afp: move retrieval of server parameters into GVfsAfpServerCarl-Anton Ingmarsson2012-01-221-56/+117
| | | | | add function g_vfs_afp_server_time_to_local_time to do the server time -> local time conversion
* afp: output the textual representation of undhandled error codesCarl-Anton Ingmarsson2012-01-221-7/+3
| | | | | add a new function afp_result_to_gerror which does a generic AfpResultCode to GError mapping
* afp: remove unused and crashy handling of Attention messagesCarl-Anton Ingmarsson2011-08-291-76/+0
| | | | this should fix bgo#657383
* Revert "afp: start read loop directly on connect"Carl-Anton Ingmarsson2011-08-261-2/+2
| | | | This reverts commit 5c1242031634859004ce330581342c273a251d20.
* Revert "afp: reuse g_vfs_afp_connection_send_command in the sync version"Carl-Anton Ingmarsson2011-08-261-12/+38
| | | | This reverts commit ecc1730d3bfdc11fa07f15893267a7ea054328f1.
* afp: start read loop directly on connectCarl-Anton Ingmarsson2011-08-251-2/+2
| | | | | also change g_vfs_afp_connection_get_server_info to take a GSocketConnectable instead of a GVfsAfpConnection
* afp: reuse g_vfs_afp_connection_send_command in the sync versionCarl-Anton Ingmarsson2011-08-251-38/+12
|
* afp: replace some tabs with spacesCarl-Anton Ingmarsson2011-08-251-4/+4
|
* afp: fix some memoryleaksCarl-Anton Ingmarsson2011-08-251-2/+4
| | | | | | change g_vfs_afp_connection_send_command to take a "char *reply_buf" paramater to use for storing the reply data instead of reusing the buf data pointer in GVfsAfpCommand
* afp: mount volumes as the user who is logged in in the afpbrowse backendCarl-Anton Ingmarsson2011-08-251-1/+9
| | | | | this way you don't have to write your user credentials twice if you're first browsing a server and then mounting one of it's volumes.
* afp: use g_strcmp0 instead of g_str_equal in g_slist_find_customCarl-Anton Ingmarsson2011-08-251-5/+5
|
* afp: better error handling when server doesn't support anonymous loginCarl-Anton Ingmarsson2011-08-251-12/+16
|
* afp: retreive and store the user id for the logged in userCarl-Anton Ingmarsson2011-08-251-2/+7
|
* afp: convert g_vfs_afp_connection_queue_command to the standard GIO async ↵Carl-Anton Ingmarsson2011-08-251-5/+17
| | | | | | pattern also rename it to g_vfs_afp_connection_send_command
* afp: receive and print out server messagesCarl-Anton Ingmarsson2011-08-251-0/+65
|
* afp: work on file enumerationCarl-Anton Ingmarsson2011-08-251-0/+1
|
* afp: use UTF-8 ServerName if availableCarl-Anton Ingmarsson2011-08-251-3/+5
|