- Timestamp:
- Sep 16, 2009, 8:40:21 AM (16 years ago)
- Location:
- branches/guitools-2.0/evfsgui
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-2.0/evfsgui/changes
r330 r332 28 28 - Added: Login dialog behaviour matches the one from smbusers now 29 29 - Added: Preliminary handling of smbtree error messages 30 - Added: Optionally save passive connections across sessions 31 - Added: French message file (thanks to Guillaume Gay) 30 32 - Changed: Several changes in GUI style (as suggested by Alex Taylor) 31 33 - Changed: Left align buttons in current connections panel (as suggested by … … 44 46 - Changed: Redesigned login dialog 45 47 - Changed: Clarified message about multiple connections 48 - Changed: Rebuild required Samba Client utilities 3.0.36 with libc063 49 (instead of libc064x) (Changeset 331 level) 46 50 - Fixed: Loading a profile presented the user a half drawn window 47 51 - Fixed: Startup code was broken if no evfsgui.ini is present … … 59 63 - Fixed: Confirmation of removal of a single connection was missing 60 64 - Fixed: Dropdown combobox in mount dialog was readonly 65 - Fixed: Autostart mode was broken 61 66 62 67 ToDo: 63 68 - Major code refactoring (partly done) 69 - Debug on/off option is badly implemented (rework required) 64 70 - Create Icon. stem in order to ease maintainance of icons 65 - Create mechanism to save passive connections across sessions66 - Debug on/off option is badly implemented (rework required)67 - rebuild required utilities with libc063 (instead of libc064x)68 71 69 72 Known problem: -
branches/guitools-2.0/evfsgui/evfsgui.VRP
r331 r332 4 4 MacroPath: VRM: U:\Develop\Samba\guitools-2.0\smbclgui 5 5 EXEPath: 6 RunParameters: -ndfs6 RunParameters: 7 7 RunDirectory: 8 8 VRXWindow: __VREMainWindow,1,530,2457,879,4071 9 9 VRXWindow: __VRESectionListWindow,1,337,11708,11623,3686 10 VRXWindow: __VREToolsWindow,1,518,530,69 84,165910 VRXWindow: __VREToolsWindow,1,518,530,6990,1659 11 11 VRXWindow: __VREWindListWindow,1,482,7661,2650,3150 12 12 UserFile: 1 13 13 UserWindow: Main,1 14 UserWindow: SW_ MOUNTPOINT,114 UserWindow: SW_PROGRESS,1 -
branches/guitools-2.0/evfsgui/evfsgui.VRX
r331 r332 137 137 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.logfilefh , "Visible", 0) 138 138 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.loglevelfh , "Visible", 0) 139 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.hashfh , "Visible", 0) 139 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.hashfh , "Visible", 0) 140 140 141 141 ok = VRSet("CN_CONDET", "DetailSort", cd.mpointfh ) … … 181 181 ok = VRSet("DT_STATUSBAR", "Caption", VRGet("Main", "HintText")) 182 182 call Main_Resize 183 return 184 185 /*:VRX _PassiveLoad 186 */ 187 _PassiveLoad: 188 Say "_PassiveLoad started" 189 do cnt = 1 to 255 190 resdata = VRGetIni( "PassiveConnections", cnt, settings.!ini ) 191 if resdata = "" then leave 192 193 PARSE Var resdata p_mpoint resource rwFlag 194 195 say "resdata ="resdata 196 say "p_mpoint ="p_mpoint 197 say "resource ="resource 198 say "rwFlag ="rwFlag 199 200 201 202 /* vfs.!drive = FILESPEC('DRIVE', node ) 203 vfs.!mountpoint = STRIP( node, 'T', '\') */ 204 205 /* In case we only have a volume we reattach the backslash, otherwise restore will fail */ 206 if vfs.!drive = vfs.!mountpoint then vfs.!mountpoint = vfs.!mountpoint||'\' 207 208 p_mpidx = "" 209 210 PARSE VAR resource . 'WORKGROUP=' p_workgroup ';' . 211 PARSE VAR resource . 'SERVER=' p_server ';' . 212 PARSE VAR resource . 'SHARE=' p_share ';' . 213 PARSE VAR resource . 'USER=' p_user ';' . 214 PARSE VAR resource . 'PASSWORD=' p_password ';' . 215 PARSE VAR resource . 'SPASSWORD=' p_spassword ';' . 216 PARSE VAR resource . 'MASTER=' p_master ';' . 217 PARSE VAR resource . 'MASTERTYPE=' p_mtype ';' . 218 PARSE VAR resource . 'MEMLEN=' p_memlen ';' . 219 PARSE VAR resource . 'LOGFILE=' p_logfile ';'. 220 PARSE VAR resource . 'LOGLEVEL=' p_loglevel ';' . 221 PARSE VAR resource . 'EASUPPORT=' p_easupport . 222 223 p_rw = rwFlag 224 225 cd.lastrh = VRMethod("CN_CONDET","AddRecord") 226 say "cd.lastrh="cd.lastrh 227 228 ok = VRMethod("CN_CONDET", "SetFieldData", cd.lastrh, cd.mpointFH, p_mpoint, cd.mpidxfh, p_mpidx, cd.workgroupfh, p_workgroup, cd.serverfh, p_server, cd.sharefh, p_share, cd.userfh, p_user) 229 ok = VRMethod("CN_CONDET", "SetFieldData", cd.lastrh, cd.passwordfh, p_password, cd.spasswordfh, p_spassword, cd.masterfh, p_master, cd.mtypefh, p_mtype) 230 ok = VRMethod("CN_CONDET", "SetFieldData", cd.lastrh, cd.memlenfh, p_memlen, cd.easupportfh, p_easupport, cd.logfilefh, p_logfile, cd.loglevelfh, p_loglevel, cd.rwfh, p_rw) 231 ok = VRMethod("CN_CONDET", "SetFieldData", cd.lastrh, cd.statusfh, '#68:PMWP.DLL') /* Passive */ 232 ok = VRMethod("CN_CONDET", "SetRecordAttr", cd.lastrh, "Icon", '#68:PMWP.DLL') /* Active */ 233 234 hashstr = p_mpoint' 'translate(p_domain)' 'translate(p_server)' 'translate(p_share)' 'p_user' 'p_spassword' 'p_easupport' 'p_rw 235 236 md5 = rexx_md5(hashstr) 237 238 ok = VRMethod("CN_CONDET", "SetFieldData", cd.lastrh, cd.hashfh,md5) 239 240 end 241 Say "_PassiveLoad done" 242 return 243 /*:VRX _PassiveSave 244 */ 245 _PassiveSave: 246 ok = VRDelIni( "PassiveConnections", "ALL", settings.!ini ) 247 248 ok = SysIni(settings.!ini, 'PassiveConnections', 'DELETE:') 249 250 CALL VRMethod 'CN_CONDET', 'GetRecordList', 'All', 'records.' 251 cnt = 0 252 DO i = 1 TO records.0 253 254 if VRMethod( 'CN_CONDET', "GetFieldData", records.i, CD.StatusFH) = '#68:PMWP.DLL' then do 255 cnt = cnt + 1 256 resdata = "" 257 resdata = resdata||VRMethod("CN_CONDET","GetFieldData", records.i, cd.mpointfh)||" " 258 resdata = resdata||'\\'||VRMethod("CN_CONDET","GetFieldData", records.i, cd.workgroupfh) 259 resdata = resdata||':'||VRMethod("CN_CONDET","GetFieldData", records.i, cd.serverfh) 260 resdata = resdata||'\'||VRMethod("CN_CONDET","GetFieldData", records.i, cd.sharefh) 261 resdata = resdata||'@'||VRMethod("CN_CONDET","GetFieldData", records.i, cd.userfh) 262 resdata = resdata||';WORKGROUP='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.workgroupfh) 263 resdata = resdata||';SERVER='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.serverfh) 264 resdata = resdata||';SHARE='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.sharefh) 265 resdata = resdata||';USER='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.userfh) 266 resdata = resdata||';PASSWORD='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.passwordfh) 267 resdata = resdata||';SPASSWORD='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.spasswordfh) 268 resdata = resdata||';MASTER='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.masterfh) 269 resdata = resdata||';MASTERTYPE='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.mtypefh) 270 resdata = resdata||';MEMLEN='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.memlenfh) 271 resdata = resdata||';LOGFILE='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.logfilefh) 272 resdata = resdata||';LOGLEVEL='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.loglevelfh) 273 resdata = resdata||';EASUPPORT='||VRMethod("CN_CONDET","GetFieldData", records.i, cd.easupportfh) 274 resdata = resdata||' '||VRMethod("CN_CONDET","GetFieldData", records.i, cd.rwfh) 275 ok = VRSetIni( "PassiveConnections", cnt, resdata, settings.!ini ) 276 END 277 else iterate 278 end 183 279 return 184 280 … … 904 1000 settings.!smbtreeon = 1 905 1001 advanced.!browseimme = 1 1002 advanced.!savepassive = 0 1003 advanced.!bigicons = 1 906 1004 907 1005 ShowHidden = 0 … … 988 1086 989 1087 advanced.!bigicons = VRGetIni('Settings', 'BigIcons', settings.!ini) 990 IF advanced.!bigicons == '' THEN advanced.!bigicons = 0 1088 IF advanced.!bigicons == '' THEN advanced.!bigicons = 1 1089 1090 advanced.!savepassive = VRGetIni('Settings', 'SavePassive', settings.!ini) 1091 IF advanced.!savepassive == '' THEN advanced.!savepassive = 0 991 1092 992 1093 /* Apply the settings … … 1005 1106 ok = VRset("CN_SMBTREE", "MiniIcons", \advanced.!bigicons) 1006 1107 ok = VRset("CN_CONDET", "MiniIcons", \advanced.!bigicons) 1108 ok = VRset("Menu_View_MiniIcons", "Checked", \advanced.!bigicons) 1007 1109 1008 1110 … … 1064 1166 */ 1065 1167 Main_Create: 1066 ok = VRREdirectStdIO("O N")1067 options.!debug = 11168 ok = VRREdirectStdIO("OFF") 1169 options.!debug = 0 1068 1170 1069 1171 IF options.!debug == 1 THEN ok = VRREdirectStdIO("ON") … … 1097 1199 CALL Refresh 1098 1200 1201 if advanced.!savepassive == 1 then CALL _PassiveLoad 1202 1099 1203 CALL VRSet "CB_MOUNT", "Selected", 1 1100 1204 CALL VRSet "CB_DRIVES", "Selected", 1 1101 IF options.!autoclose == 1 THEN CALL VRSet "TM_AUTOCLOSE", "ENABLED", 1 1205 IF options.!autoclose == 1 THEN CALL TM_AutoClose_Trigger 1206 /* For whatever reason the timer is not triggered anymore.... 1207 CALL VRSet "TM_AUTOCLOSE", "ENABLED", 1 */ 1102 1208 ELSE do 1103 1209 if advanced.!browseauth == 1 then window = VRLoadSecondary( "SW_LOGIN", "W" ) … … 1383 1489 advanced.!debug = adv_debug 1384 1490 advanced.!special = adv_special 1385 advanced.! bigicons = adv_bigicons1491 advanced.!savepassive=adv_savepassive 1386 1492 END 1387 1493 return … … 1542 1648 1543 1649 ok = VRSet("Menu_Selected_Connect", "Visible", 0) 1650 return 1651 1652 /*:VRX Menu_View_MiniIcons_Click 1653 */ 1654 Menu_View_MiniIcons_Click: 1655 advanced.!bigicons = \advanced.!bigicons 1656 ok = VRset("CN_CURRENT", "MiniIcons", \advanced.!bigicons) 1657 ok = VRset("CN_SMBTREE", "MiniIcons", \advanced.!bigicons) 1658 ok = VRset("CN_CONDET", "MiniIcons", \advanced.!bigicons) 1659 ok = VRset("Menu_View_MiniIcons", "Checked", \advanced.!bigicons) 1544 1660 return 1545 1661 … … 1846 1962 CALL NLVSetText 'Menu_View_Buttons', 'Caption', 87 1847 1963 CALL NLVSetText 'Menu_View_ConDet', 'Caption', 88 1964 CALL NLVSetText 'Menu_View_MiniIcons','Caption', 70 1848 1965 1849 1966 CALL NLVSetText 'Menu_File_Autostart','Caption', 35 … … 2612 2729 adv_debug = VRGet( "CB_DEBUG", "Set" ) 2613 2730 adv_special = VRGet( "CB_SPECIAL", "Set" ) 2614 adv_ bigicons = VRGet( "CB_BIGICONS","Set" )2731 adv_savepassive= VRGet( "CB_SAVEPASSIVE","Set" ) 2615 2732 2616 2733 adv_changed = 1 2617 2734 if adv_debug == 1 then ok = VRRedirectStdio("ON") 2618 2735 else ok = VRRedirectStdio("OFF") 2619 2620 ok = VRset("CN_CURRENT", "MiniIcons", \adv_bigicons)2621 ok = VRset("CN_SMBTREE", "MiniIcons", \adv_bigicons)2622 ok = VRset("CN_CONDET", "MiniIcons", \adv_bigicons)2623 2736 2624 2737 CALL SW_SETTINGS_Close … … 2742 2855 /*:VRX SaveSettings 2743 2856 */ 2744 SaveSettings: PROCEDURE EXPOSE settings. options. fs. advanced. 2857 SaveSettings: PROCEDURE EXPOSE settings. options. fs. advanced. cd. 2745 2858 IF options.!debug == 1 THEN SAY time()' '||"SaveSettings started" 2859 2860 if advanced.!savepassive then call _PassiveSave 2746 2861 2747 2862 /* This does not make sense anymore … … 2774 2889 CALL VRSetIni 'Settings', 'ConDetOn', settings.!condeton, settings.!ini, 'NoClose' 2775 2890 2776 CALL VRSetIni 'Settings', 'BrowseAuth', advanced.!browseauth, settings.!ini, 'NoClose' 2777 CALL VRSetIni 'Settings', 'BrowseImme', advanced.!browseimme, settings.!ini, 'NoClose' 2778 CALL VRSetIni 'Settings', 'Debug', advanced.!debug , settings.!ini, 'NoClose' 2779 CALL VRSetIni 'Settings', 'AlwaysMP', advanced.!alwaysmp , settings.!ini, 'NoClose' 2780 CALL VRSetIni 'Settings', 'SpecialShares', advanced.!special , settings.!ini, 'NoClose' 2781 CALL VRSetIni 'Settings', 'BigIcons', advanced.!bigicons , settings.!ini, 'NoClose' 2891 CALL VRSetIni 'Settings', 'BrowseAuth', advanced.!browseauth , settings.!ini, 'NoClose' 2892 CALL VRSetIni 'Settings', 'BrowseImme', advanced.!browseimme , settings.!ini, 'NoClose' 2893 CALL VRSetIni 'Settings', 'Debug', advanced.!debug , settings.!ini, 'NoClose' 2894 CALL VRSetIni 'Settings', 'AlwaysMP', advanced.!alwaysmp , settings.!ini, 'NoClose' 2895 CALL VRSetIni 'Settings', 'SpecialShares', advanced.!special , settings.!ini, 'NoClose' 2896 CALL VRSetIni 'Settings', 'BigIcons', advanced.!bigicons , settings.!ini, 'NoClose' 2897 CALL VRSetIni 'Settings', 'SavePassive', advanced.!savepassive, settings.!ini, 'NoClose' 2782 2898 2783 2899 /* Save position and size */ … … 3064 3180 CALL NLVSetText 'SW_SETTINGS', 'Caption', 47 3065 3181 3066 CALL NLVSetText 'GB_GLOBAL', 'Caption', 473067 CALL NLVSetText 'CB_DEBUG', 'Caption', 423068 CALL NLVSetText 'CB_LOGGING', 'Caption', 463069 CALL NLVSetText 'CB_BROWSEIMME', 'Caption', 483070 CALL NLVSetText 'CB_BROWSEAUTH', 'Caption', 493071 CALL NLVSetText 'CB_SPECIAL', 'Caption', 663072 CALL NLVSetText 'CB_ BIGICONS', 'Caption', 703182 CALL NLVSetText 'GB_GLOBAL', 'Caption', 47 3183 CALL NLVSetText 'CB_DEBUG', 'Caption', 42 3184 CALL NLVSetText 'CB_LOGGING', 'Caption', 46 3185 CALL NLVSetText 'CB_BROWSEIMME', 'Caption', 48 3186 CALL NLVSetText 'CB_BROWSEAUTH', 'Caption', 49 3187 CALL NLVSetText 'CB_SPECIAL', 'Caption', 66 3188 CALL NLVSetText 'CB_SAVEPASSIVE','Caption', 73 3073 3189 3074 3190 CALL NLVSetText 'PB_SETTINGS_OK', 'Caption', 2 … … 3091 3207 IF advanced.!special \= '' THEN 3092 3208 CALL VRSet 'CB_SPECIAL', 'Set', advanced.!special 3093 IF advanced.!bigicons \= '' THEN 3094 CALL VRSet 'CB_bigicons', 'Set', advanced.!bigicons 3095 3209 IF advanced.!savepassive \= '' THEN 3210 CALL VRSet 'CB_SAVEPASSIVE', 'Set', advanced.!savepassive 3096 3211 3097 3212 window = VRInfo( "Object" ) -
branches/guitools-2.0/evfsgui/evfsi_de.mkm
r331 r332 50 50 EVG0044I: Erweiterte Attribute untersttzen 51 51 EVG0045I: Nur-Lesen Verbindung 52 EVG0046I: P rotokollierung52 EVG0046I: Plugin-Protokollierung aktivieren 53 53 EVG0047I: Globale Einstellungen 54 54 EVG0048I: Netzwerkumgebung sofort aktualisieren … … 75 75 EVG0068I: EA 76 76 EVG0069I: R/W 77 EVG0070I: Groáe Symbole77 EVG0070I: Kleine Symbole 78 78 EVG0071I: Mehrfachverbindung, einzeln trennen nicht mglich! 79 79 EVG0072I: Die Verbindung von %1 zu %2 trennen? 80 EVG0073 ?:80 EVG0073I: Inaktive Verbindungen merken 81 81 EVG0074?: 82 82 EVG0075?: -
branches/guitools-2.0/evfsgui/evfsi_en.mkm
r331 r332 75 75 EVG0068I: EA 76 76 EVG0069I: R/W 77 EVG0070I: Largeicons77 EVG0070I: Mini icons 78 78 EVG0071I: Multiple connections, cannot remove only one! 79 79 EVG0072I: Really unmount %1 connected to %2? 80 EVG0073 ?:80 EVG0073I: Remember inactive connections 81 81 EVG0074?: 82 82 EVG0075?: … … 92 92 EVG0084I: ~Help 93 93 EVG0085I: ~Dialog 94 EVG0086I: ~ LAN-Resource browser94 EVG0086I: ~Network neighbourhood 95 95 EVG0087I: ~Buttons 96 96 EVG0088I: ~Connection details -
branches/guitools-2.0/evfsgui/evfsi_fr.mkm
r317 r332 2 2 ; French version 3 3 ; Translator : Guillaume Gay <guillaume.gay@bigfoot.com> 4 ; Translation : 2009-0 8-114 ; Translation : 2009-09-15 - 2 5 5 EVG 6 6 ; Common strings used throughout program … … 43 43 EVG0036I: Montage de %1 sur %2 44 44 EVG0037I: Dtail 45 EVG0038 ?:46 EVG0039 ?:45 EVG0038I: R~gnrer 46 EVG0039I: Voisinage rseau 47 47 ; Advanced properties window UI 48 48 EVG0040I: Options de montage avances … … 50 50 allouer par connexion 51 51 EVG0042I: Debug 52 EVG0043I: Divers52 EVG0043I: Paramtres optionnels 53 53 EVG0044I: Support des attributs tendus 54 54 EVG0045I: Montage en lecture seule 55 55 EVG0046I: Rapport 56 EVG0047I: Niveau de dtail57 EVG0048I: Fichier journal58 EVG0049 ?:56 EVG0047I: Paramtres globaux 57 EVG0048I: Rgnration immdiate du voisinage rseau 58 EVG0049I: Authentification pour l'exploration 59 59 ; Prompts and other messages 60 60 EVG0050I: Sauvegarde du fichier de profil 61 61 EVG0051I: Profil sauvegard 62 EVG0052I: Le profil des (ventuelles) connexions actives actuelles a t sauvegard dans %1.62 EVG0052I: Le profil des connexions a t sauvegard dans %1. 63 63 EVG0053I: Fichier existant 64 64 EVG0054I: Le fichier %1 existe dj … … 71 71 EVG0060I: L'objet EVFS a t cr dans le dossier de lancement. 72 72 EVG0061I: Erreur - cration impossible de l'objet dans le dossier de lancement. 73 EVG0062?: 74 EVG0063?: 75 EVG0064?: 76 EVG0065?: 77 EVG0066?: 78 EVG0067?: 79 EVG0068?: 80 EVG0069?: 81 EVG0070?: 82 EVG0071?: 83 EVG0072?: 84 EVG0073?: 73 EVG0062I: Les imprimantes ne sont pas prises en charge pour le moment ! 74 EVG0063I: Informations sur la connexion 75 EVG0064I: Cette connexion existe dj 76 . Voulez-vous quand mme continuer ? 77 EVG0065I: Crer mme en cas d'chec de la connexion 78 EVG0066I: Afficher tous les partage (spciaux) 79 EVG0067I: tat 80 EVG0068I: A 81 EVG0069I: R/W 82 EVG0070I: Icnes ~miniatures 83 EVG0071I: Connexions multiples, impossible de n'en retirer qu'une ! 84 EVG0072I: Voulez-vous vraiment dmonter %1 connect sur %2 ? 85 EVG0073I: Conserver les connexion inactives 85 86 EVG0074?: 86 87 EVG0075?: … … 89 90 EVG0078?: 90 91 EVG0079?: 91 EVG0080?: 92 EVG0081?: 93 EVG0082?: 94 EVG0083?: 95 EVG0084?: 96 EVG0085?: 97 EVG0086?: 98 EVG0087?: 99 EVG0088?: 100 EVG0089?: 101 EVG0090?: 102 EVG0091?: 92 ; Menu entries 93 EVG0080I: ~Fichier 94 EVG0081I: ~dition 95 EVG0082I: ~Affichage 96 EVG0083I: ~Slection 97 EVG0084I: A~ide 98 EVG0085I: Botes de ~dialogue 99 EVG0086I: ~Voisinage rseau 100 EVG0087I: ~Boutons 101 EVG0088I: I~nformations de connexion 102 EVG0089I: Retirer 103 EVG0090I: Ressayer 104 EVG0091I: · propos de 103 105 EVG0092?: 104 106 EVG0093?:
Note:
See TracChangeset
for help on using the changeset viewer.