Changeset 349
- Timestamp:
- Dec 23, 2009, 8:55:15 AM (16 years ago)
- Location:
- branches/guitools-2.0
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-2.0/evfsgui/changes
r348 r349 1 ToDo :1 ToDo for 2.x: 2 2 - Major code refactoring (partly done) 3 3 - Debug on/off option is badly implemented (rework required) 4 4 - Create Icon. stem in order to ease maintainance of icons 5 - We need to create an empty unexpected.tdb 6 7 Version 2.0 beta6 2009-11-24 5 6 Version 2.0 GA 7 - Added: Provide unexpected.tdb in the installer 8 - Fixed: Detect trailing tabs and blanks in the temporary directory 9 10 Version 2.0 beta6 2009-12-12 8 11 + Added: WPI installer for Plugin, EVFSGUI and Samba Client Utilities 9 12 (plus variant that includes EVFS for eCS distribution). -
branches/guitools-2.0/evfsgui/evfsgui.VRP
r348 r349 8 8 VRXWindow: __VREMainWindow,1,1072,1783,891,3951 9 9 VRXWindow: __VRESectionListWindow,1,602,11033,11033,3975 10 VRXWindow: __VREToolsWindow,1,1963,819,698 6,166110 VRXWindow: __VREToolsWindow,1,1963,819,6989,1659 11 11 VRXWindow: __VREWindListWindow,1,470,8528,2650,3150 12 12 UserFile: 1 -
branches/guitools-2.0/evfsgui/evfsgui.VRX
r348 r349 131 131 132 132 /* Connection details */ 133 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.mpidxfh , "Visible", 1)134 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.passwordfh , "Visible", 1)135 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.spasswordfh , "Visible", 1)133 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.mpidxfh , "Visible", 0) 134 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.passwordfh , "Visible", 0) 135 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.spasswordfh , "Visible", 0) 136 136 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.masterFH , "Visible", 0) 137 137 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.mtypeFH , "Visible", 0) … … 139 139 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.logfilefh , "Visible", 0) 140 140 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.loglevelfh , "Visible", 0) 141 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.hashfh , "Visible", 1)141 ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.hashfh , "Visible", 0) 142 142 143 143 ok = VRSet("CN_CONDET", "DetailSort", cd.mpointfh ) … … 246 246 CALL NLVSetText 'Menu_View_MiniIcons','Caption', 70 247 247 248 CALL NLVSetText 'Menu_File_Autostart','Caption', 35 249 CALL NLVSetText 'Menu_File_CLOSE', 'Caption', 29 250 CALL NLVSetText 'Menu_File_SAVE', 'Caption', 30 251 CALL NLVSetText 'Menu_File_LOAD', 'Caption', 31 252 CALL NLVSetText 'Menu_File_SETTINGS', 'Caption', 47 253 CALL NLVSetText 'Menu_File_ADVANCED', 'Caption', 40 248 CALL NLVSetText 'Menu_File_Autostart', 'Caption', 35 249 CALL NLVSetText 'Menu_File_Autostart_Activate', 'Caption', 76 250 CALL NLVSetText 'Menu_File_Autostart_Deactivate','Caption', 77 251 CALL NLVSetText 'Menu_File_CLOSE', 'Caption', 29 252 CALL NLVSetText 'Menu_File_SAVE', 'Caption', 30 253 CALL NLVSetText 'Menu_File_LOAD', 'Caption', 31 254 CALL NLVSetText 'Menu_File_SETTINGS', 'Caption', 47 255 CALL NLVSetText 'Menu_File_ADVANCED', 'Caption', 40 254 256 255 257 CALL NLVSetText 'Menu_Selected_Connect', 'Caption', 28 … … 1019 1021 /*:VRX GetChildren 1020 1022 */ 1021 GetChildren: PROCEDURE EXPOSE existrec. exc options. fs. cd. 1023 GetChildren: PROCEDURE EXPOSE existrec. exc options. fs. cd. samba. 1022 1024 IF options.!debug == 1 THEN SAY time()' GetChildren started' 1023 1025 PARSE ARG node, parec … … 1051 1053 /*:VRX GetMountPoints 1052 1054 */ 1053 GetMountPoints: PROCEDURE EXPOSE existrec. options. fs. cd. 1055 GetMountPoints: PROCEDURE EXPOSE existrec. options. fs. cd. samba. 1054 1056 IF options.!debug == 1 THEN SAY time()' GetMountPoints started' 1055 1057 CALL VRSet 'CN_CURRENT', 'Painting', 0 … … 1129 1131 Fatal = 1 1130 1132 RestartCount = 0 1133 if SysSearchPath("PATH", "EVFSCTL.EXE") = "" then ForceNDFS = 1 1131 1134 1132 1135 CtlRestart: … … 1656 1659 return 1657 1660 1661 /*:VRX Menu_Context_Open_Click 1662 */ 1663 Menu_Context_Open_Click: 1664 CALL VRMethod 'CN_CURRENT', 'GetRecordList', 'Selected', 'select.' 1665 IF select.0 < 1 THEN RETURN 1666 1667 userdata = VRMethod( 'CN_CURRENT', 'GetRecordAttr', select.1, 'UserData') 1668 PARSE VAR userdata mountpoint ';' mounts ';' . 1669 1670 say mountpoint 1671 rc = SysOpenObject(mountpoint, "DEFAULT", 1) 1672 return 1673 1658 1674 /*:VRX Menu_Context_Unmount_Click 1659 1675 */ … … 1668 1684 return 1669 1685 1686 /*:VRX Menu_File_Autostart_Activate_Click 1687 */ 1688 Menu_File_Autostart_Activate_Click: 1689 call PB_AUTOSTART_Click 1690 return 1691 1670 1692 /*:VRX Menu_File_Autostart_Click 1671 1693 */ 1672 1694 Menu_File_Autostart_Click: 1673 call PB_AUTOSTART_Click 1695 1696 return 1697 1698 /*:VRX Menu_File_Autostart_Deactivate_Click 1699 */ 1700 Menu_File_Autostart_Deactivate_Click: 1701 ok = SysDestroyObject("<EVFSGUI_AUTOSTART>") 1702 IF ok == 1 THEN CALL VRMessage 'Main', NLVGetMessage( 79 ), NLVGetMessage( 1 ) 1703 ELSE CALL VRMessage 'Main', NLVGetMessage( 78 ), NLVGetMessage( 5 ), 'E' 1674 1704 return 1675 1705 … … 1796 1826 /*:VRX Menu_Selected_Retry_Click 1797 1827 */ 1798 Menu_Selected_Retry_Click: PROCEDURE EXPOSE settings. options. vfs. fs. advanced. cd. 1828 Menu_Selected_Retry_Click: PROCEDURE EXPOSE settings. options. vfs. fs. advanced. cd. samba. 1799 1829 1800 1830 ok = VRMethod( "CN_CONDET", "GetRecordList", "SourceOrSelected", "srcrec." ) … … 1935 1965 /*:VRX Mount 1936 1966 */ 1937 Mount: PROCEDURE EXPOSE settings. options. vfs. fs. advanced. cd. 1967 Mount: PROCEDURE EXPOSE settings. options. vfs. fs. advanced. cd. samba. 1938 1968 IF options.!debug == 1 THEN SAY time()' Mount procedure started' 1939 1969 /* Set mouse pointer to wait - this operation might take a few seconds */ … … 2070 2100 /*:VRX MyFreeDriveMap 2071 2101 */ 2072 MyFreeDriveMap: procedure expose options. fs. 2102 MyFreeDriveMap: procedure expose options. fs. samba. 2073 2103 IF options.!debug == 1 THEN SAY time()' MyFreeDriveMap(proc) started' 2074 2104 alldrives = "C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:" … … 2147 2177 /*:VRX ParseResourceData 2148 2178 */ 2149 ParseResourceData: PROCEDURE EXPOSE userdata options. advanced. fs. cd. 2179 ParseResourceData: PROCEDURE EXPOSE userdata options. advanced. fs. cd. samba. 2150 2180 PARSE ARG userdata, resdata 2151 2181 IF options.!debug == 1 THEN SAY time()' ParseResourceData started' … … 2268 2298 /*:VRX PB_AUTOSTART_Click 2269 2299 */ 2270 PB_AUTOSTART_Click: PROCEDURE EXPOSE settings. options. Profile fs. cd. advanced. 2300 PB_AUTOSTART_Click: PROCEDURE EXPOSE settings. options. Profile fs. cd. advanced. samba. 2271 2301 options.!autostart = 1 2272 2302 Profile = VRParseFilename(settings.!ini,'DPN')'.'fs.!profileext … … 2310 2340 /*:VRX PB_CONDET_SAVE_Click 2311 2341 */ 2312 PB_CONDET_SAVE_Click: PROCEDURE EXPOSE settings. options. Profile fs. cd. advanced. 2342 PB_CONDET_SAVE_Click: PROCEDURE EXPOSE settings. options. Profile fs. cd. advanced. samba. 2313 2343 IF options.!debug == 1 THEN SAY time()' '||"PB_CONDET_SAVE_Click started" 2314 2344 … … 2360 2390 /*:VRX PB_CONNECT_Click 2361 2391 */ 2362 PB_CONNECT_Click: PROCEDURE EXPOSE settings. options. fs. advanced. cd. 2392 PB_CONNECT_Click: PROCEDURE EXPOSE settings. options. fs. advanced. cd. samba. 2363 2393 IF options.!debug == 1 THEN SAY time()' '||"PB_CONNECT_Click started" 2364 2394 p_workgroup = '' … … 2468 2498 /*:VRX PB_DETACH_Click 2469 2499 */ 2470 PB_DETACH_Click: PROCEDURE EXPOSE settings. options. fs. cd. 2500 PB_DETACH_Click: PROCEDURE EXPOSE settings. options. fs. cd. samba. 2471 2501 IF options.!debug == 1 THEN SAY time()' '||"PB_DETACH_Click started" 2472 2502 CALL VRMethod 'CN_CURRENT', 'GetRecordList', 'Selected', 'select.' … … 2528 2558 /*:VRX PB_LOAD_Click 2529 2559 */ 2530 PB_LOAD_Click: PROCEDURE EXPOSE settings. options. advanced. vfs. Profile fs. cd. 2560 PB_LOAD_Click: PROCEDURE EXPOSE settings. options. advanced. vfs. Profile fs. cd. samba. 2531 2561 IF options.!autoload == 1 then filename = Profile 2532 2562 else filename = VRFileDialog('Main', NLVGetMessage( 55 ), 'L', '*.'fs.!profileext) … … 2768 2798 /*:VRX PB_SAVE_Click 2769 2799 */ 2770 PB_SAVE_Click: PROCEDURE EXPOSE settings. options. Profile fs. cd. advanced. 2800 PB_SAVE_Click: PROCEDURE EXPOSE settings. options. Profile fs. cd. advanced. samba. 2771 2801 call PB_CONDET_SAVE_Click 2772 2802 … … 2846 2876 /*:VRX PB_UNMOUNT_Click 2847 2877 */ 2848 PB_UNMOUNT_Click: PROCEDURE EXPOSE settings. options. fs. cd. 2878 PB_UNMOUNT_Click: PROCEDURE EXPOSE settings. options. fs. cd. samba. 2849 2879 IF options.!debug == 1 THEN SAY time()' '||"PB_UNMOUNT_Click started" 2850 2880 IF options.!debug == 1 THEN SAY time()' '||'options.!editmode = 'options.!editmode … … 2956 2986 /*:VRX SaveSettings 2957 2987 */ 2958 SaveSettings: PROCEDURE EXPOSE settings. options. fs. advanced. cd. 2988 SaveSettings: PROCEDURE EXPOSE settings. options. fs. advanced. cd. samba. 2959 2989 IF options.!debug == 1 THEN SAY time()' '||"SaveSettings started" 2960 2990 -
branches/guitools-2.0/evfsgui/evfsi_de.mkm
r348 r349 81 81 EVG0074I: Broadcasts statt dem lokalen Master Browser benutzen 82 82 EVG0075I: Als Standardarbeitsgruppe speichern 83 EVG0076 ?:84 EVG0077 ?:85 EVG0078 ?:86 EVG0079 ?:83 EVG0076I: Aktivieren 84 EVG0077I: Deaktivieren 85 EVG0078I: Kein Autostart Objekt gefunden. 86 EVG0079I: Autostart erfolgreich deaktiviert. 87 87 ; Menu entries 88 88 EVG0080I: ~Datei -
branches/guitools-2.0/evfsgui/evfsi_en.mkm
r348 r349 81 81 EVG0074I: Use broadcasts instead of local master browser 82 82 EVG0075I: Save as default workgroup 83 EVG0076 ?:84 EVG0077 ?:85 EVG0078 ?:86 EVG0079 ?:83 EVG0076I: Enable 84 EVG0077I: Disable 85 EVG0078I: Failure - could not remove Autostart object. 86 EVG0079I: Disabled Autostart successfully. 87 87 ; Menu entries 88 88 EVG0080I: ~File -
branches/guitools-2.0/evfsgui/evfsi_fr.mkm
r348 r349 86 86 EVG0074I: Utilisation des broadcasts plutt que le matre explorateur local 87 87 EVG0075I: Enregistrer groupe de travail par dfaut 88 EVG0076 ?:89 EVG0077 ?:90 EVG0078 ?:91 EVG0079 ?:88 EVG0076I: Activer 89 EVG0077I: Dsactiver 90 EVG0078I: Impossible de trouver l'objet Lancement auto. 91 EVG0079I: Lancement auto correctement dsactiv. 92 92 ; Menu entries 93 93 EVG0080I: ~Fichier -
branches/guitools-2.0/shared/cltinit.vrs
r348 r349 118 118 /* Messages from Samba will go here */ 119 119 samba.!error = SysTempFileName(TempDir'smb_err.???') 120 IF options.!debug == 1 THEN say ' samba.!error = "'samba.!error'"' 120 121 samba.!msg = SysTempFileName(TempDir'smb_msg.???') 122 IF options.!debug == 1 THEN say ' samba.!msg = "'samba.!error'"' 121 123 /* Use of this file is deprecated */ 122 124 ErrorFile = Tempdir'smbutil.error' -
branches/guitools-2.0/shared/inittempdir.vrs
r348 r349 25 25 IF options.!debug == 1 THEN say ' WARNING! Setting missing TMPDIR variable to "'TempDir'".' 26 26 ok = value('TMPDIR',TempDir,'OS2ENVIRONMENT') 27 end 28 TempDir = strip(TempDir,'T','\')||'\' /* make sure there is trailing "\" */ 27 end 28 /* Remove trailing \, translate tabs into blanks */ 29 TempDir = translate(strip(TempDir,'T','\'),' ','09'x) 29 30 30 IF options.!debug == 1 THEN say time()' _InitTempDir() done , will use "'TempDir'"' 31 /* Check if there are trailing blanks now - this is an error! */ 32 if strip(TempDir) <> TempDir then do 33 say 'WARNING! Remove trailing blanks and tabs from temporary directory!' 34 ok = value('TMPDIR',strip(TempDir),'OS2ENVIRONMENT') 35 end 36 37 /* In case it does not exist, create it */ 38 if \VRFileExists(TempDir) then do 39 say 'WARNING! Temporary directory had to be created!' 40 ok = SysMkDir(TempDir) 41 end 42 43 /* make sure there is a trailing "\" */ 44 Tempdir = strip(TempDir)||'\' 45 46 IF options.!debug == 1 THEN say time()' _InitTempDir() done, we will use "'TempDir'"' 31 47 return 32 48 -
branches/guitools-2.0/shared/smbtree.vrs
r348 r349 31 31 _RefreshTreeDisplay: 32 32 say time()' _RefreshTreeDisplay() started' 33 say ' samba.!msg = "'samba.!msg'"' 33 34 stat = stream(samba.!msg,'c','open read') 34 35 if stat <> "READY:" then return
Note:
See TracChangeset
for help on using the changeset viewer.