Diff
Not logged in

Differences From Artifact [b95223ee3a]:

To Artifact [605b28f3aa]:


692
693
694
695
696
697
698






699
700
701
702
703
704
705
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711







+
+
+
+
+
+







  #       Fossil checkout is present, valid, and is actually a directory.
  #       There are no arguments.  Script errors will be raised if any of
  #       the checks fail.
  #
  proc verifyCheckoutDirectory {} {
    variable checkoutDirectory

    #
    # NOTE: Setup example directory paths for use in the error message
    #       that may be produced by this procedure.  Since these values
    #       are specific to the platform, they are setup in advance.
    #       These values are NOT used to interact with the file system.
    #
    if {[isWindows]} then {
      set repositories C:/repositories
      set checkouts C:/checkouts
    } else {
      set repositories ~/repositories
      set checkouts ~/checkouts
    }
1310
1311
1312
1313
1314
1315
1316

1317
1318
1319
1320
1321
1322
1323
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330







+








      set fileNames [$dialog -create FileNames]

      $sender Items.Clear
      $sender Items.AddRange $fileNames

      set list [object create -alias StringList $fileNames]

      set $varName [$list ToString]
    } else {
      set $varName [tk_getOpenFile -multiple true]
    }
  }

  #
1493
1494
1495
1496
1497
1498
1499


1500
1501
1502
1503
1504
1505
1506
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515







+
+







  #
  # <internal>
  proc setupWinFormsUserInterface {} {
    variable argumentData
    variable widgets

    object load -import System.Windows.Forms

    ###########################################################################

    set form [object create -alias Form]
    set widgets(0) $form

    $form Text "Package Uploader Client"
    $form MaximizeBox false
    $form AutoSize true
1693
1694
1695
1696
1697
1698
1699

1700


1701

1702
1703
1704
1705
1706
1707
1708
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712

1713
1714
1715
1716
1717
1718
1719
1720







+

+
+
-
+







  #
  # <internal>
  proc setupTkUserInterface {} {
    variable widgets

    package require Tk
    catch {console show}
    catch {wm withdraw .}

    ###########################################################################

    catch {wm withdraw .}; set toplevel [toplevel .uploader]
    set toplevel [toplevel .uploader]
    set widgets(toplevel) $toplevel

    wm title $toplevel "Package Uploader Client"
    wm minsize $toplevel 250 0

    wm protocol $toplevel WM_DELETE_WINDOW \
        [namespace code [list handleFormClosedEvent]]