Changeset 410 for branches


Ignore:
Timestamp:
Feb 21, 2010, 6:47:36 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: Latest EVFSGUI changes

Location:
branches/guitools-2.0
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-2.0/evfsgui/changes

    r404 r410  
    55- Fix endless loop if neither EVFS nor Netdrive is installed
    66  under all conditions
    7 - Enable WPS integration code
     7- Enable WPS integration code (partly done)
    88- Enable and complete printer support code
    99- Eventually support on-the-fly browsing of directories/files in EVFSGUI
    10 
    11 Version 2.0.3 2010-01-29
     10- Eventually support server based logon scripts (requires REXX rpc library,
     11  partly done)
     12- Opening WPS folders should be done in a separate Thread (in order not to
     13  block EVFSGUI while waiting for a slow WPS folder...)
     14
     15Version 2.0.3 2010-02-20
     16- Fixed: The NLV subroutine now properly falls back to the builtin (bracketed)
     17         message files in case NO (not even an english message file) can be
     18         found.
     19- Fixed: Open mountpoint as WPS object fully workable
     20- Fixed: Open mountpint now has a consistent behaviour with other actions
     21- Changed: Open context menu item enabled for testing (experimental)
     22- Changed: Show wait pointer while opening WPS folder
     23- Changed: CltInit: Now scans wellknown locations for Samba binaries
     24           (faster at least in theory)
    1225- Changed: In the 1.5.0 GA version of the plugin the MEMLEN, LOGFILE and
    1326           LOGLEVEL tokens are removed in order to address the problem with
  • branches/guitools-2.0/evfsgui/evfsgui.VRP

    r404 r410  
    11VX-REXX OS/2 V2.14 Build B3
    22VRX: evfsgui.VRX
     3VXOFile: VRSPLIT
     4MacroPath: VRM:U:\Develop\Samba\guitools-2.0\evfsgui
     5EXEPath:
     6RunParameters:
     7RunDirectory: U:\Develop\Samba\guitools-2.0\evfsgui
     8VRXWindow: __VREMainWindow,1,1482,915,891,8034
     9VRXWindow: __VRESectionListWindow,1,1469,10551,8696,4794
     10VRXWindow: __VREToolsWindow,0,2517,7082,6992,1669
     11UserFile: 1
     12UserWindow: Main,1
  • branches/guitools-2.0/evfsgui/evfsgui.VRX

    r404 r410  
    232232    CALL NLVSetText 'MENU_CONTEXT_UNMOUNT',  'Caption', 12
    233233    CALL NLVSetText 'MENU_CONTEXT_EDIT',     'Caption', 32
     234    CALL NLVSetText 'MENU_CONTEXT_OPEN',     'Caption', 94
    234235
    235236    CALL NLVSetText 'Menu_File',          'Caption', 80
     
    686687/* Herwig B. */
    687688
     689    CALL VRSet 'MENU_CONTEXT_OPEN', 'Visible', 1
     690
    688691    IF p_mounts > 0 THEN DO
     692
    689693        CALL VRSet 'MENU_CONTEXT_UNMOUNT', 'Visible', 1
    690694        CALL VRSet 'PB_UNMOUNT', 'Enabled', 1
     
    12841288
    12851289    settings.!ini = inipath'\evfsgui.ini'
    1286     IF options.!debug == 1 THEN SAY '  INI = "'settings.!ini'"'
     1290    IF options.!debug == 1 THEN SAY '  EVFSGUI INIfile = "'settings.!ini'"'
    12871291
    12881292    IF STREAM( settings.!ini, 'C', 'QUERY EXISTS') == '' THEN DO
     
    14541458    /* else call VRSet 'Main',    'Visible', 1 */
    14551459
     1460    /* in non debug versions this is normally not visible */
     1461    IF options.!debug == 1 THEN SAY '  NLV MessageFile = "'settings.!messages'"'
     1462    IF options.!debug == 1 THEN SAY '  NLV HelpFile    = "'settings.!helpfile'"'
     1463
    14561464    IF options.!debug == 1 THEN SAY time()' LoadSettings done'
    14571465RETURN
     
    14671475Main_Create:
    14681476    ok = VRRedirectStdIO("OFF")
    1469     options.!debug    = 0
     1477    options.!debug    = 1
    14701478
    14711479    IF options.!debug == 1 THEN ok = VRREdirectStdIO("ON")
     
    17571765*/
    17581766Menu_Context_Open_Click:
    1759     CALL VRMethod 'CN_CURRENT', 'GetRecordList', 'Selected', 'select.'
    1760     IF select.0 < 1 THEN RETURN
    1761 
    1762     userdata = VRMethod( 'CN_CURRENT', 'GetRecordAttr', select.1, 'UserData')
     1767    IF options.!debug == 1 THEN SAY time()' '||"Menu_Context_Open_Click started"
     1768    userdata = VRMethod( 'CN_CURRENT', 'GetRecordAttr', rh, 'UserData')
    17631769    PARSE VAR userdata mountpoint ';' mounts ';' .
    17641770
    1765     say mountpoint
     1771
     1772    if length(mountpoint) > 3 then mountpoint = strip(mountpoint,'T','\')
     1773    IF options.!debug == 1 THEN SAY '  Opening WPS folder "'mountpoint'"'
     1774    call VRSet VRWindow(), 'Pointer', 'Wait'
    17661775    rc = SysOpenObject(mountpoint, "DEFAULT", 1)
     1776    call VRSet VRWindow(), 'Pointer', '<default>'
     1777
     1778    IF options.!debug == 1 THEN SAY time()' '||"Menu_Context_Open_Click done"
    17671779return
    17681780
     
    18371849*/
    18381850Menu_Help_About_Click:
    1839     CALL VRMessage 'Main', VRGet("Main", "HintText")||'0D0A'x||'(c) 2007-2009 Alex Taylor and Herwig Bauernfeind',NLVGetMessage( 1 ), 'I'
     1851    CALL VRMessage 'Main', VRGet("Main", "HintText")||'0D0A'x||'(c) 2007-2010 Alex Taylor and Herwig Bauernfeind',NLVGetMessage( 1 ), 'I'
    18401852return
    18411853
  • branches/guitools-2.0/evfsgui/evfsi_de.mkm

    r349 r410  
    100100EVG0092I: Information
    101101EVG0093I: Betriebsystem:
    102 EVG0094?:
     102EVG0094I: ~™ffnen
    103103EVG0095?:
    104104EVG0096?:
  • branches/guitools-2.0/evfsgui/evfsi_en.mkm

    r349 r410  
    100100EVG0092I: Information
    101101EVG0093I: Operating System
    102 EVG0094?:
     102EVG0094I: ~Open
    103103EVG0095?:
    104104EVG0096?:
  • branches/guitools-2.0/evfsgui/evfsi_fr.mkm

    r349 r410  
    105105EVG0092I: Informations
    106106EVG0093I: SystŠme d'exploitation
    107 EVG0094?:
     107EVG0094I: ~Ouvrir
    108108EVG0095?:
    109109EVG0096?:
  • branches/guitools-2.0/shared/cltinit.vrs

    r404 r410  
    3838    end
    3939    IF options.!debug == 1 THEN say '  Samba tools    = "'samba.!tools'"'
    40     say '  Changing into "'directory(samba.!tools)'"'
     40    say '  Changing into tools "'directory(samba.!tools)'"'
    4141
    4242    /* smbclient.exe */
    4343    samba.!smbclientexe = ""
     44    if samba.!smbclientexe = "" then do /* wellknown locations */
     45        WellKnown = sysBootdrive()"\ecs\system\samba;"sysBootdrive()"\samba"
     46        Programs = value("PROGRAMS",,'OS2ENVIRONMENT')
     47        if Programs <> "" then WellKnown = Wellknown';'Programs'\samba'
     48        Tools = value("TOOLS",,'OS2ENVIRONMENT')
     49        if Programs <> "" then WellKnown = Wellknown';'Tools'\samba'
     50        say Wellknown
     51        call charout , "  Are binaries in wellknown locations? "
     52        ok = VRFindFile("smbclient.exe",WellKnown)
     53        if ok <> "" then say "Yes."; else say "No."
     54        if ok <> "" then samba.!smbclientexe = ok
     55        drop Wellknown
     56    end
    4457    if samba.!smbclientexe = "" then do /* in current directory? */
    4558        call charout , "  Are binaries in current directory? "
    4659        ok = SysFileTree('.\smbclient.exe', exist.,'FO')
    47         say exist.0' (1 = Yes, 0 = No)'
     60        if exist.0 = 1 then say "Yes."; else say "No."
    4861        if exist.0 = 1 then samba.!smbclientexe = exist.1
    4962    end
     
    5164        call charout , "  Are binaries in parent directory? "
    5265        ok = SysFileTree('..\smbclient.exe', exist.,'FO')
    53         say exist.0' (1 = Yes, 0 = No)'
     66        if exist.0 = 1 then say "Yes."; else say "No."
    5467        if exist.0 = 1 then samba.!smbclientexe = exist.1
    5568    end
     
    5770        call charout , "  Are binaries in ..\BIN directory? "
    5871        ok = SysFileTree('..\bin\smbclient.exe', exist.,'FO')
    59         say exist.0' (1 = Yes, 0 = No)'
     72        if exist.0 = 1 then say "Yes."; else say "No."
    6073        if exist.0 = 1 then samba.!smbclientexe = exist.1
    6174    end
  • branches/guitools-2.0/shared/nlv.vrs

    r361 r410  
    7979        end
    8080        if NLVSrchDone = 0 then do /* Fallback to English */
    81             if nlv = "EN" then NLVSrchDone = 1 /* We give up and leave */
     81            if nlv = "EN" then do
     82                NLVSrchDone = 1 /* We give up and leave */
     83                /* We will leave without a valid NLV file here! */
     84            end
    8285            else do
    8386                say "  NLV "Suffix" File not found, falling back to EN."
    8487                nlv = "EN"
     88                /* Now we repeat the whole procedure to find the EN file */
    8589            end
    8690        end
     
    96100    msgnum  = ARG( 1 )
    97101
     102    IF msgfile == '' THEN RETURN ''
    98103    IF msgnum == '' THEN RETURN ''
    99104
Note: See TracChangeset for help on using the changeset viewer.