Changeset 1045


Ignore:
Timestamp:
Jan 24, 2018, 10:55:22 AM (8 years ago)
Author:
Herwig Bauernfeind
Message:

EVFSGUI: Fix AN Ticket #1653 and #1654

Location:
trunk/guitools/evfsgui
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/evfsgui/evfsgui.vrp

    r1039 r1045  
    1010RunDirectory: U:\Develop\Samba\trunk\guitools\evfsgui
    1111VRXWindow: __VREMainWindow,1,2891,5637,1012,8000
    12 VRXWindow: __VREFileListWindow,1,3300,14695,2665,3358
     12VRXWindow: __VREFileListWindow,1,5408,14791,2665,3358
    1313VRXWindow: __VRESectionListWindow,1,2867,14020,10889,5035
    14 VRXWindow: __VREToolsWindow,1,2867,337,6986,1661
    15 VRXWindow: __VREWindListWindow,1,458,14695,4866,3150
     14VRXWindow: __VREToolsWindow,1,2867,337,6989,1659
     15VRXWindow: __VREWindListWindow,1,458,14695,6360,3150
    1616UserFile: 1
     17UserWindow: Main,1
     18UserWindow: SW_ADVANCED,1
     19UserWindow: SW_MOUNTPOINT,1
     20UserWindow: SW_DIALOG,1
  • trunk/guitools/evfsgui/evfsgui.vrx

    r1039 r1045  
    493493_Dynamic:
    494494    dyn_code = arg(1)
    495     if options.!debug == 1 then say '  Dynamic code: 'dyn_code
     495    if options.!debug == 1 then say time()'  Dynamic code: 'dyn_code
    496496    interpret dyn_code; drop dyn_code
    497497return
     
    36533653
    36543654    /* Attach the virtual drive - only if drive is not already attached */
     3655    NewlyAttached = 0
    36553656    if pos(vfs.!drive,MyFreeDriveMap("C:","FREE")) > 0 then do
    36563657        CALL _Dynamic "ok = "fs.!prefix"RxAttach('"vfs.!drive"')"
    3657 
     3658        NewlyAttached = 1 /* fixes AN Ticket 1654 */
    36583659        if options.!debug == 1 then say time()' '||'Attach "'vfs.!drive'" =' ok
    36593660    end
     
    37573758
    37583759        /* In case the mountpoint was created for this failed operation, it is (optionally) removed again */
     3760        say "CreateMP="createMP
     3761        say "advanced.!alwaysmp="advanced.!alwaysmp
    37593762        if CreateMP = 0 & advanced.!alwaysmp <> 1 then do
    37603763            CALL _Dynamic "ok = "fs.!prefix"RxDeleteMountPoint('"vfs.!mountpoint"')"
    37613764            if options.!debug == 1 then say time()' '||'Remove "'vfs.!mountpoint'" = 'ok
     3765            if NewlyAttached = 1 then do /* Also detach drive - fixes AN Ticket 1654 */
     3766                CALL _Dynamic "ok = "fs.!prefix"RxDetach('"vfs.!drive"')"
     3767                if options.!debug == 1 then say time()' '||'Also try to detach "'vfs.!drive'" ok = 'ok
     3768            end
    37623769        end
    37633770    end
     
    37693776    end
    37703777    drop CreateMP /* not required anymore */
     3778    drop NewlyAttached /* not required anymore */
    37713779
    37723780/*  Obsolete - the IOCtl will not be implemented this way in the plugin
     
    42714279    END
    42724280
    4273     options.!user     = userid
    4274     options.!password = password
     4281    options.!user      = userid
     4282    options.!password  = password
     4283/* fix for AN Ticket #1653 */
     4284    options.!spassword = c2x(options.!password)
    42754285
    42764286    vfs.!drive      = mdrive
     
    49234933SW_ADVANCED_Init:
    49244934    /* Title bar */
    4925     CALL NLVSetText "SW_ADVANCED",  "Caption", 40
     4935    CALL NLVSetText "SW_ADVANCED",      "Caption", 40
    49264936
    49274937    /* Options */
    4928     CALL NLVSetText "GB_ADVANCED",          "Caption", 43
     4938    CALL NLVSetText "GB_ADVANCED",      "Caption", 43
    49294939    CALL NLVSetText "CB_EAS",           "Caption", 44
    49304940    CALL NLVSetText "CB_READONLY",      "Caption", 45
     
    49524962*/
    49534963SW_ADVANCED_Init_Content:
    4954     IF advanced.!easupport     \= "" THEN ok = VRSet("CB_EAS",     "Set",   advanced.!easupport)
    4955     IF advanced.!readonly      \= "" THEN ok = VRSet("CB_READONLY","Set",   advanced.!readonly)
    4956     IF advanced.!alwaysmp      \= "" THEN ok = VRSet("CB_ALWAYSMP","Set",   advanced.!alwaysmp)
     4964    IF advanced.!easupport     \= "" THEN ok = VRSet("CB_EAS",              "Set",   advanced.!easupport)
     4965    IF advanced.!readonly      \= "" THEN ok = VRSet("CB_READONLY",         "Set",   advanced.!readonly)
     4966    IF advanced.!alwaysmp      \= "" THEN ok = VRSet("CB_ALWAYSMP",         "Set",   advanced.!alwaysmp)
    49574967    IF advanced.!cachetimeout  \= "" THEN ok = VRSet("SPIN_CACHETIMEOUT",   "Value", advanced.!cachetimeout)
    49584968    IF advanced.!cachelistings \= "" THEN ok = VRSet("SPIN_CACHELISTINGS",  "Value", advanced.!cachelistings)
     
    49614971    IF advanced.!encryption    \= "" THEN ok = VRSet("CB_ENCRYPTION",       "Set",   advanced.!encryption)
    49624972    /* Obsolete */
    4963     IF advanced.!memlen        \= "" THEN ok = VRSet("SPB_MEMLEN", "Value", advanced.!memlen)
     4973    IF advanced.!memlen        \= "" THEN ok = VRSet("SPB_MEMLEN",          "Value", advanced.!memlen)
    49644974return
    49654975
  • trunk/guitools/evfsgui/rc/lang/evfsi_en.mkm

    r1040 r1045  
    33EVG
    44; Common strings used throughout program
    5 ; (message 0 reserved)
    65EVG0001I: Samba (SMB/CIFS) Connections
    76EVG0002I: ~OK
     
    114113EVG0104I: SMB.PDR is not installed.
    115114EVG0105I: No SMB ports installed.
    116 EVG0106I: Port is installed and configured, but not used by any printer.
     115EVG0106I: Port is installked an configured, but not used by any printer.
    117116EVG0107I: Welcome %1!
    118117EVG0108?:
Note: See TracChangeset for help on using the changeset viewer.