Changeset 875
- Timestamp:
- Mar 4, 2015, 9:28:25 AM (6 years ago)
- Location:
- trunk/guitools
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/evfsgui/changes
r837 r875 13 13 under all conditions 14 14 15 Version 2.5.0 201 3-??-??15 Version 2.5.0 2014-??-?? 16 16 + Added: Detect when master browser suffers from broken databases 17 17 + Added: If browsing is not allowed for user, retry as guest (useful for print … … 49 49 ! Fixed: Proper message boxes for "Reset LMHosts" and " 50 50 ! Fixed: Do not crash on "Set default workgroup" anymore 51 ! Fixed: Ticket #185 (create %ETC%/samba/pid and fix the EA of52 %ETC%/samba/lock)53 51 ! Fixed: Context menu in connection details view could show wrong menu items 54 52 ! Fixed: Do not add a *-"server" to the networkneighbourhood if a workgroup … … 71 69 neighbourhood) 72 70 ! Fixed: Minimum size was too small (reported by Alex Taylor) 73 ! Fixed: Blanks in sharenames messed up everything (Ticket #202)74 71 ! Fixed: Empty credential string test did not work properly on 4OS2 75 ! Fixed: Never add local link addresses and localhost to LMHosts file76 (Ticket #200)77 72 ! Fixed: Add workaround for % vs. %% issue on smbclient.exe 78 73 ! Fixed: Populate TabbedDialog pages earlier during startup 79 ! Fixed: p_* variables were not initialized (Ticket #231) 74 ! Fixed: Ticket #185 (create %ETC%/samba/pid and fix EA of %ETC%/samba/lock) 75 ! Fixed: Ticket #200 (Never add local link addresses and localhost to 76 LMHosts file) 77 ! Fixed: Ticket #202 (Blanks in sharenames messed up everything) 78 ! Fixed: Ticket #222 (Fatal error on startup in case a DLL is missing) 79 ! Fixed: Ticket #230 (Crash in edit menu due to non existent object) 80 ! Fixed: Ticket #231 (p_* variables were not initialized) 81 ! Fixed: Ticket #233 (NLV Startup error) 80 82 - Removed: Bottom button row 81 83 - Removed: View Menu -
trunk/guitools/evfsgui/evfsgui.vrp
r869 r875 11 11 VRXWindow: __VREFileListWindow,1,2204,7950,2665,3358 12 12 VRXWindow: __VRESectionListWindow,1,1168,12382,12238,6914 13 VRXWindow: __VREToolsWindow,1,3084,12479,5468,166 914 VRXWindow: __VREWindListWindow,1, 952,11611,4963,315013 VRXWindow: __VREToolsWindow,1,3084,12479,5468,1665 14 VRXWindow: __VREWindListWindow,1,650,10262,4963,3150 15 15 UserFile: 1 16 16 UserWindow: Main,1 -
trunk/guitools/evfsgui/evfsgui.vrx
r869 r875 1184 1184 1185 1185 SYNTAX: 1186 IF options.!debug == 1 then say time()' _LoadotherFuncs() error handler entered.' 1186 1187 Fatal = 1 1187 xxx = strip(translate(word(sourceline(SIGL-1),4),' ',"',")) 1188 call VRMessage 'Main', 'REXX function library 'xxx'.DLL is missing!', "EVFSGUI fatal error", "E" 1188 parse source . . InVXIDE 1189 if left(InVXIDE,length(Tempdir)+5) = TempDir||'__tmp' 1190 then xxx = "VX-REXX IDE: "strip(translate(word(sourceline(SIGL-1),4),' ',"',")) 1191 else xxx = 'A' 1192 call VRMessage 'Main', xxx' REXX function library DLL is missing or unloadable!', "EVFSGUI fatal error", "E" 1193 IF options.!debug == 1 then say time()' _LoadotherFuncs() error handler finished, program will be terminated.' 1189 1194 signal Quit 1190 1195 … … 2691 2696 else ok = VRRedirectStdIO("OFF") 2692 2697 2698 call _InitTempDir 2693 2699 call _LoadOtherFuncs 2694 call _InitTempDir 2700 2695 2701 call NLVSetup 2696 2702 call _StemsInit -
trunk/guitools/shared/smbtree.vrs
r837 r875 379 379 /* we only do this for machines with empty parent (=workgroup) handle */ 380 380 /* IF there is only one workgroup */ 381 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" then do381 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" & VRIsValidObject(smbtree.!machine) then do 382 382 ok = VRMethod('CN_smbtree', 'SetRecordAttr', smbtree.!machine, 'Parent', wgh) 383 end 384 else do 385 say "Ticket #244 failure: case 1" 386 say "wgh = "wgh 387 say "Parent = "VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') 383 388 end 384 389 end … … 405 410 406 411 wgh = _GetMachinehandle(workgroup) 407 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" then do412 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" & VRIsValidObject(smbtree.!machine) then do 408 413 ok = VRMethod('CN_smbtree', 'SetRecordAttr', smbtree.!machine, 'Parent', wgh) 414 end 415 else do 416 say "Ticket #244 failure: case 2" 417 say "wgh = "wgh 418 say "Parent = "VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') 409 419 end 410 420 end -
trunk/guitools/smbmon/rc/lang/smbmon_de.mkm
r805 r875 25 25 SMM0020I: Produktinformation 26 26 SMM0021I: Die Leute hinter Samba Server fr eComStation (OS/2) 27 SMM0022 ?:27 SMM0022I: TDB Dateien prfen 28 28 SMM0023?: 29 29 SMM0024I: Einstellungen -
trunk/guitools/smbmon/rc/lang/smbmon_en.mkm
r805 r875 25 25 SMM0020I: About 26 26 SMM0021I: Samba Server for eComStation is brought to you by 27 SMM0022I: 27 SMM0022I: Check TDB files 28 28 SMM0023I: 29 29 SMM0024I: Settings -
trunk/guitools/smbmon/rc/lang/smbmon_es.mkm
r805 r875 25 25 SMM0020I: Acerca de 26 26 SMM0021I: Servidor Samba para eComStation proporcionado por 27 SMM0022I: 27 SMM0022I: Comprobar los archivos TDB 28 28 SMM0023I: 29 29 SMM0024I: Preferencias -
trunk/guitools/smbmon/rc/lang/smbmon_fr.mkm
r805 r875 27 27 SMM0020I: · propos de 28 28 SMM0021I: Serveur Samba pour eComStation vous est propos par 29 SMM0022I: 29 SMM0022I: Vrifier fichiers TDB 30 30 SMM0023I: 31 31 SMM0024I: Paramtres -
trunk/guitools/smbmon/rc/lang/smbmon_sv.mkm
r805 r875 23 23 SMM0018I: vervakare 24 24 SMM0019I: Ntverket 25 SMM0020I: 26 SMM0021 ?:27 SMM0022 ?:25 SMM0020I: Om 26 SMM0021I: Samba Server fr eComStation kommer fran 27 SMM0022I: Kontrollera TDB filer 28 28 SMM0023?: 29 29 SMM0024I: Instllningar -
trunk/guitools/smbmon/smbmon.rc
r805 r875 1 1 icon 1 .\rc\icons\smbmon.ico 2 bitmap 2 .\rc\icons\ netlabs.bmp2 bitmap 2 .\rc\icons\bww_bw.bmp 3 3 icon 40 .\rc\icons\start_samba2.ico 4 4 icon 41 .\rc\icons\samba_stop2.ico … … 11 11 icon 48 .\rc\icons\pid.ico 12 12 icon 49 .\rc\icons\zombie.ico 13 icon 50 .\rc\icons\tag.ico 14 icon 51 .\rc\icons\err.ico 13 15 BITMAP 111 .\rc\throbber\eBall_01.bmp 14 16 BITMAP 112 .\rc\throbber\eBall_02.bmp -
trunk/guitools/smbmon/smbmon.vrp
r869 r875 8 8 VRXWindow: __VREMainWindow,1,2180,3614,1024,6769 9 9 VRXWindow: __VRESectionListWindow,1,4083,11226,7372,6589 10 VRXWindow: __VREToolsWindow,1,2156,1494,54 68,166911 VRXWindow: __VREWindListWindow,1,964,11708, 3132,315010 VRXWindow: __VREToolsWindow,1,2156,1494,5477,1663 11 VRXWindow: __VREWindListWindow,1,964,11708,5372,3150 12 12 UserFile: 1 13 13 UserWindow: Main,1 14 UserWindow: SW_FILES,1 15 UserWindow: SW_CHKTDB,1 -
trunk/guitools/smbmon/smbmon.vrx
r869 r875 97 97 */ 98 98 return 99 /*:VRX _ChkTDB 100 */ 101 _ChkTDB: 102 103 ok = SysFileTree(etc'\samba\lock\*.TDB',tdb.,'FO') 104 say etc'\samba\lock\*.TDB 'tdb.0 105 106 error = 0 107 ok = VRMethod("CN_CHKTDB", "RemoveRecord", "ALL") 108 109 do I = 1 to tdb.0 110 RecHandle = VRMethod("CN_CHKTDB", "Addrecord") 111 TDBFile =left(filespec('N',tdb.I), 22) 112 ok = VRMethod("CN_CHKTDB", "SetFieldData", RecHandle, ChkTDBFilesFH, TDBFile, ChkTDBIconFH, "$50" ) 113 address cmd '@tdbtool 'tdb.I' check 2>'tdb.I'.err 1>'tdb.I'.out' 114 out = linein(tdb.I'.out') 115 ok = stream(tdb.I'.out','c','close') 116 say out 117 if pos('integrity is OK',out) > 0 then do /* integrity is ok */ 118 ok = SysFileDelete(tdb.I'.err') 119 ok = SysFileDelete(tdb.I'.out') 120 out = left(out,length(out)-1) 121 TDBRecords = substr(out, pos("and has", out) + 7,) 122 ok = VRMethod("CN_CHKTDB", "SetFieldData", RecHandle, ChkTDBStatusFH, TDBRecords ) 123 124 address cmd '@tdbbackup -s.bak 'tdb.I' 2>NUL 1>NUL' 125 end 126 else do /* tdb error */ 127 ok = VRMethod("CN_CHKTDB", "SetFieldData", RecHandle, ChkTDBIconFH, "$51" ) 128 error = 1 129 count = 0 130 out = "" 131 do while lines(tdb.I'.err') > 0 & count < 5 132 errline = linein(tdb.I'.err') 133 select 134 /* skip unnecessary lines of log */ 135 when pos("bww ",errline) > 0 then iterate 136 when pos("fcntl",errline) > 0 then iterate 137 otherwise do 138 out = out||errline'. ' 139 count = count + 1 140 end 141 end 142 end 143 ok = VRMethod("CN_CHKTDB", "SetFieldData", RecHandle, ChkTDBStatusFH, out ) 144 ok = stream(tdb.I'.err','c','close') 145 end 146 147 /* 148 call charout , left(filespec('N',tdb.I), 22) 149 address cmd '@tdbtool 'tdb.I' check 2>'tdb.I'.err 1>'tdb.I'.out' 150 out = linein(tdb.I'.out') 151 ok = stream(tdb.I'.out','c','close') 152 say out 153 if pos('integrity is OK',out) = 0 then do 154 call beep 880, 20 155 address cmd '@tdbbackup -s.bak -v 'tdb.I' 2>NUL 1>NUL' 156 error = 1 157 count = 0 158 do while lines(tdb.I'.err') > 0 & count < 5 159 errline = linein(tdb.I'.err') 160 select 161 /* skip unnecessary lines of log */ 162 when pos("bww ",errline) > 0 then iterate 163 when pos("fcntl",errline) > 0 then iterate 164 otherwise do 165 say right(copies(' ',22)'Cause: 'errline'!',min(length(errline)+22,79)) 166 count = count + 1 167 end 168 end 169 end 170 ok = stream(tdb.I'.err','c','close') 171 end 172 else do 173 ok = SysFileDelete(tdb.I'.err') 174 ok = SysFileDelete(tdb.I'.out') 175 address cmd '@tdbbackup -s.bak 'tdb.I' 2>NUL 1>NUL' 176 end */ 177 end 178 179 return 180 99 181 /*:VRX _ColumnShow 100 182 */ … … 165 247 DStatusFH = VRMethod( "CN_Daemons", "AddField", "String", NLVGetMessage(146) ) 166 248 DPidsFH = VRMethod( "CN_Daemons", "AddField", "String", NLVGetMessage(130) ) 249 250 /* chktdb */ 251 ChkTDBFilesFH = VRMethod( "CN_CHKTDB", "AddField", "String", NLVGetMessage(134) ) 252 ChkTDBIconFH = VRMethod( "CN_CHKTDB", "AddField", "Icon", NLVGetMessage(146) ) 253 ChkTDBStatusFH= VRMethod( "CN_CHKTDB", "AddField", "String", NLVGetMessage(151) ) 167 254 168 255 /* Browse tree */ … … 1162 1249 ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(17)" ") 1163 1250 1251 w = VRLoad( "TDL_1", VRWindowPath(), "SW_CHKTDB" ) 1252 ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(22)" ") 1253 1164 1254 w = VRLoad( "TDL_1", VRWindowPath(), "SW_SETTINGS" ) 1165 1255 ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(24)" ") 1256 1257 1166 1258 IF options.!debug == 1 THEN SAY time()' _TabbedDialogSetup done' 1167 1259 return … … 1260 1352 WPSStartStop = VRGet("CB_WPSStartStop","set") 1261 1353 say 'WPSStartStop = "'WPSStartStop'"' 1354 return 1355 1356 /*:VRX CN_CHKTDB_ContextMenu 1357 */ 1358 CN_CHKTDB_ContextMenu: 1359 if VRInfo("Top") < 400 & VRGet("CN_Files", "View") = "Detail" then call _ColumnsMenu "CN_Files" 1360 else do 1361 RH = VRInfo("Record") 1362 OH = VRInfo("Object") 1363 if RH <> "" then do 1364 ok = VRMethod( "Contextmenu_Files", "Popup", , , "", "PositionOnItem" ) 1365 end 1366 end 1262 1367 return 1263 1368 … … 1841 1946 ok = VRSet("PB_Cancel", "left",pbtn_pos + pbtn_dist * (pbtn_nr - 1)) 1842 1947 1948 ok = VRset("GB_CHKTDB","Top", margin ) 1949 ok = VRset("GB_CHKTDB","Left", marginx2) 1950 ok = VRset("GB_CHKTDB","Width", pane_width - 760) 1951 ok = VRset("GB_CHKTDB","Height", pane_height- 1020) 1952 ok = VRset("CN_CHKTDB","Top", margin) 1953 ok = VRset("CN_CHKTDB","Left", margin) 1954 ok = VRset("CN_CHKTDB","Width", pane_width - 760 - marginx2 ) 1955 ok = VRset("CN_CHKTDB","Height", pane_height- 1020- marginx2 ) 1956 1843 1957 ok = VRset("GB_USERS","Top", margin ) 1844 1958 ok = VRset("GB_USERS","Left", marginx2) … … 2043 2157 2044 2158 say " CurrentPageNr = "CurrentPageNr 2045 2046 if CurrentPageNr = 2 then do 2047 ok = VRset("Pict_Throbber", "Visible", 1) 2048 ok = VRset("TM_Throbber", "Enabled", 1) 2049 call _RefreshTree 2050 end 2051 else call _Refresh 2159 select 2160 when CurrentPageNr = 2 then do 2161 ok = VRset("Pict_Throbber", "Visible", 1) 2162 ok = VRset("TM_Throbber", "Enabled", 1) 2163 call _RefreshTree 2164 end 2165 when CurrentPageNr = 6 then do 2166 call _ChkTDB 2167 end 2168 otherwise call _Refresh 2169 end 2052 2170 IF options.!debug == 1 then say time()' PB_Refresh_Click() done' 2053 2171 return … … 2224 2342 return 2225 2343 2344 /*:VRX SW_CHKTDB_Close 2345 */ 2346 SW_CHKTDB_Close: 2347 call SW_CHKTDB_Fini 2348 return 2349 2350 /*:VRX SW_CHKTDB_Create 2351 */ 2352 SW_CHKTDB_Create: 2353 call SW_CHKTDB_Init 2354 return 2355 2356 /*:VRX SW_CHKTDB_Fini 2357 */ 2358 SW_CHKTDB_Fini: 2359 window = VRInfo( "Window" ) 2360 call VRDestroy window 2361 drop window 2362 return 2363 /*:VRX SW_CHKTDB_Init 2364 */ 2365 SW_CHKTDB_Init: 2366 window = VRInfo( "Object" ) 2367 if( \VRIsChildOf( window, "Notebook" ) ) then do 2368 call VRMethod window, "CenterWindow" 2369 call VRSet window, "Visible", 1 2370 call VRMethod window, "Activate" 2371 end 2372 drop window 2373 return 2374 2226 2375 /*:VRX SW_DAEMONS_Close 2227 2376 */ … … 2499 2648 nop 2500 2649 end 2501 when page = 6 then do /* Settings */ 2650 when page = 6 then do /* chkTDB */ 2651 say "ChkTDB" 2652 call _ChkTDB 2653 end 2654 when page = 7 then do /* Settings */ 2502 2655 nop 2503 2656 end -
trunk/guitools/sscc/sscc.vrp
r771 r875 7 7 VRXWindow: __VREMainWindow,1,2180,3710,903,8000 8 8 VRXWindow: __VRESectionListWindow,1,3276,11997,8648,3342 9 VRXWindow: __VREToolsWindow,0,3324,9877, 6486,16699 VRXWindow: __VREToolsWindow,0,3324,9877,5474,1669 10 10 VRXWindow: __VREWindListWindow,1,927,11997,2337,3336 11 11 UserFile: 1 -
trunk/guitools/sscc/sscc.vrx
r771 r875 1030 1030 if pos("idmap uid",smbline) > 0 then iterate 1031 1031 if pos("idmap gid",smbline) > 0 then iterate 1032 if pos("idmap config",smbline) > 0 then iterate 1032 1033 if pos("winbind separator",smbline) > 0 then iterate 1033 1034 if pos("copy ",smbline) > 0 then iterate
Note: See TracChangeset
for help on using the changeset viewer.