You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(40) |
Apr
(76) |
May
(31) |
Jun
(39) |
Jul
(44) |
Aug
(87) |
Sep
(32) |
Oct
(23) |
Nov
(36) |
Dec
(10) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(49) |
Sep
(14) |
Oct
|
Nov
|
Dec
(1) |
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(63) |
Aug
(95) |
Sep
(39) |
Oct
(61) |
Nov
(75) |
Dec
(118) |
2009 |
Jan
(25) |
Feb
(37) |
Mar
(20) |
Apr
(15) |
May
(14) |
Jun
(48) |
Jul
(82) |
Aug
(160) |
Sep
(94) |
Oct
(55) |
Nov
(59) |
Dec
(4) |
2010 |
Jan
(5) |
Feb
(17) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: <cod...@go...> - 2008-09-23 17:50:14
|
Author: m0e.lnx Date: Tue Sep 23 10:48:48 2008 New Revision: 175 Added: branches/iVL/.lang/es.mo (contents, props changed) branches/iVL/.lang/es.po branches/iVL/FrmLangSel.class branches/iVL/FrmLangSel.form Modified: branches/iVL/.lang/FMain.pot branches/iVL/.project branches/iVL/FMain.class branches/iVL/MdlCore.module branches/iVL/installer.gambas Log: - Began working on Language Selection Window Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Tue Sep 23 10:48:48 2008 @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.class:341 +#: FMain.class:348 msgid "Process Overview" msgstr "" -#: FMain.class:361 +#: FMain.class:368 msgid "Next" msgstr "" -#: FMain.class:367 +#: FMain.class:374 msgid "Back" msgstr "" -#: FMain.class:373 +#: FMain.class:380 msgid "Exit" msgstr "" Added: branches/iVL/.lang/es.mo ============================================================================== Binary file. No diff available. Added: branches/iVL/.lang/es.po ============================================================================== --- (empty file) +++ branches/iVL/.lang/es.po Tue Sep 23 10:48:48 2008 @@ -0,0 +1,280 @@ +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2002-11-01 04:27+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL...@li...>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: FrmNetConf.class:120 +msgid " Network Interfaces" +msgstr "Adaptadores de Red" + +#: FrmNetConf.class:145 +msgid "192.168.1.254" +msgstr "" + +#: FrmUserAdd.class:112 +msgid "Add Users" +msgstr "Agregar Usuarios" + +#: FMain.class:367 +msgid "Back" +msgstr "Regreso" + +#: FrmLilo.class:251 +msgid "Boot Default" +msgstr "" + +#: FrmLilo.class:229 +msgid "Bootsplash Extra high" +msgstr "" + +#: FrmLilo.class:229 +msgid "Bootsplash High" +msgstr "" + +#: FrmLilo.class:229 +msgid "Bootsplash Med" +msgstr "" + +#: FrmPartSel.class:177 +msgid "Check this box if you have a Windows installation on your system or any other windows partition (FAT, FAT32, NTFS) that you want auto-mounted as soon as your computer starts" +msgstr "Haz 'tick' aqui si tienes windows instalado en esta maquina y deseas poder acceder sus archivos desde Linux" + +#: FrmRootPass.class:55 +msgid "Choose a password for the root account. You must enter the Root Password twice to ensure accuracy." +msgstr "Elige una contrasena para la cuenta del administrador." + +#: FrmUserAdd.class:116 +msgid "Choose a unique name for each user. Enter the password for twice for accuracy. You can make as many users as you want, and when you are finished click next to continue." +msgstr "Elige un nombre unico para cada usuario. Es necesario ingresar las contrasenas dos veces. Puedes crear todas las cuentas de usuarios que desees" + +#: FrmZoneSet.class:87 +msgid "Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way." +msgstr "Elige como funciona el reloj de esta maquina. Si tienes dudas elige UTC/GMT" + +#: FrmZoneSet.class:92 +msgid "Choose the correct timezone for the area in which you live." +msgstr "Selecciona la zona correctoa del area donde vives" + +#: FrmZoneSet.class:101 +msgid "ComboBox1" +msgstr "" + +#: FrmNetConf.class:109 +msgid "Computer Name" +msgstr "Nombre Local" + +#: FrmLilo.class:186 +msgid "Configure and install lilo (Linux Boot Loader)" +msgstr "Confuguracion de LILO" + +#: FrmUserAdd.class:153 +msgid "Create User" +msgstr "Agregar Usuario" + +#: FrmHostPrep.class:135 +msgid "Current Status" +msgstr "Estado Actual" + +#: FrmInstallSys.class:211 +msgid "Current Step " +msgstr "Ahora procesando" + +#: FrmPkgSel.class:110 +msgid "Custom Install" +msgstr "Instalacion Detallada" + +#: FrmPartSel.class:178 +msgid "Detect and Setup Windows partitions for auto-mounting at boot" +msgstr "Detectar volumenes con systemas Windows" + +#: FrmDiskPart.class:115 +msgid "Disk Partitioning:" +msgstr "Particiones" + +#: FrmLilo.class:191 +msgid "Don't Install Lilo" +msgstr "No quiero instalar LILO" + +#: FrmRootPass.class:50 FrmUserAdd.class:131 +msgid "Enter Password" +msgstr "Ingresa contrasena" + +#: FMain.class:373 +msgid "Exit" +msgstr "Salir" + +#: FrmPkgSel.class:105 +msgid "Full Install" +msgstr "Instalacion Completa" + +#: .project:2 +msgid "GUI installer for Vector linux" +msgstr "Instaladaor Grafico de VectorLinux" + +#: FrmPartSel.class:183 +msgid "Help" +msgstr "Ayuda" + +#: FrmInstallSys.class:192 +msgid "Installing ..." +msgstr "Instalando..." + +#: FrmLicense.class:99 +msgid "LICENSE AGREEMENT" +msgstr "" + +#: FrmZoneSet.class:103 +msgid "LocalTime" +msgstr "" + +#: FrmNetConf.class:132 +msgid "Manual DNS Server Specification" +msgstr "" + +#: FrmPartScheme.class:115 +msgid "Modify my disk partitions to make room for new installation" +msgstr "" + +#: FrmNetConf.class:163 +msgid "NETWORK CONFIGURATION" +msgstr "" + +#: FrmEmbUsrAdd.class:105 +msgid "New User Account" +msgstr "" + +#: FMain.class:361 +msgid "Next" +msgstr "" + +#: FrmSelISO.class:219 +msgid "No installable images found." +msgstr "" + +#: FrmLicense.class:115 +msgid "No, I Do Not Agree" +msgstr "" + +#: FrmPartSel.class:168 +msgid "Please select the partitions you wish to use and how to use them" +msgstr "" + +#: FrmNetConf.class:137 +msgid "Primary DNS Server" +msgstr "" + +#: FMain.class:341 +msgid "Process Overview" +msgstr "" + +#: FrmLilo.class:234 +msgid "Prompt Timeout" +msgstr "" + +#: FrmRootPass.class:60 +msgid "Re-Enter Password" +msgstr "" + +#: FrmUserAdd.class:142 +msgid "ReEnter Password" +msgstr "" + +#: FrmSelISO.class:235 +msgid "Search Again" +msgstr "" + +#: FrmNetConf.class:150 +msgid "Secondary DNS Server" +msgstr "" + +#: FrmLilo.class:245 +msgid "Seconds" +msgstr "" + +#: FrmWinDrives.class:69 +msgid "Select the windows partitions you would like to mount during boot" +msgstr "" + +#: FrmSelISO.class:225 +msgid "Select which VectorLinux version you wish to install from the list below" +msgstr "" + +#: FrmPartScheme.class:105 +msgid "Select your disk partition option" +msgstr "" + +#: FrmRootPass.class:76 +msgid "Set Password" +msgstr "" + +#: FrmRootPass.class:46 +msgid "Set Root Password" +msgstr "" + +#: FrmZoneSet.class:109 +msgid "Set TimeZone" +msgstr "" + +#: FrmLilo.class:229 +msgid "Standard" +msgstr "" + +#: FrmLilo.class:197 FrmNetConf.class:125 +msgid "Tab 0" +msgstr "" + +#: FrmLilo.class:215 +msgid "Target" +msgstr "" + +#: FrmLicense.class:104 +msgid "TextArea1" +msgstr "" + +#: FrmSelISO.class:230 FrmSummary.class:87 +msgid "TextLabel1" +msgstr "" + +#: FrmInstallSys.class:206 +msgid "Total progress" +msgstr "" + +#: FrmZoneSet.class:103 +msgid "UTC" +msgstr "" + +#: FrmPartScheme.class:110 +msgid "Use existing disk partitions" +msgstr "" + +#: FrmUserAdd.class:121 +msgid "Username" +msgstr "" + +#: .project:1 +msgid "VectorLinux Installer" +msgstr "" + +#: FrmInstallSys.class:183 +msgid "Vectorlinux is currently being installed to your system... Please wait" +msgstr "" + +#: FrmHostPrep.class:130 +msgid "Vectorlinux is preparing your system for installation. Please wait." +msgstr "" + +#: FrmLilo.class:221 +msgid "Video Resolution" +msgstr "" + +#: FrmLicense.class:110 +msgid "Yes, I Agree to the License Agreement" +msgstr "" + Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Tue Sep 23 10:48:48 2008 @@ -1,7 +1,7 @@ # Gambas Project File 2.0 Title=VectorLinux Installer Startup=MdlCore -Version=0.0.54 +Version=0.0.62 Library=gb.gtk Library=gb.form Library=gb.debug @@ -16,7 +16,6 @@ Language=en_US ControlPublic=1 ModulePublic=1 -ExecPath=/home/uel/svn-installer/installer.gambas Maintainer=M0E-lnx Vendor=VectorLinux Address=M0...@gm... Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Tue Sep 23 10:48:48 2008 @@ -21,7 +21,7 @@ PUBLIC FrmCurr AS Form ' assigned when a form is opened PUBLIC frmLast AS Form ' assigned when a form is hidden PUBLIC frmNext AS Form ' assined next form for the "next" button in fmain" - +PUBLIC frmInit AS Form = MdlCore.frmInit ' initial form (set by the LANG environment) PUBLIC SUB _new() END @@ -36,10 +36,13 @@ ClsGlobal.sSourceMnt = "/mnt/cdrom" 'ClsGlobal.sSourceMnt = "/mnt" &/ "source" 'FOR TESTING ONLY '/ THE FOLLOWING LINES HAVE BEEN COMMENTED FOR TESTING ONLY - -FrmSelISO.Reparent(ME.pnlWinHost) -FrmSelISO.Width = pnlWinHost.Width -FrmSelISO.Height = pnlWinHost.Height +frmInit.Reparent(ME.pnlwinhost) +frmInit.width = pnlwinhost.Width +frmInit.height = pnlwinhost.Height + +' FrmSelISO.Reparent(ME.pnlWinHost) +' FrmSelISO.Width = pnlWinHost.Width +' FrmSelISO.Height = pnlWinHost.Height iImg = Image.Load("images/installer.png").Stretch(400, 50) 'iImg.Resize(600, 80) @@ -167,6 +170,10 @@ DIM sDev AS String SELECT CASE FrmCurr.Name ' very nice navigation algoritm + CASE "FrmLangSel" + SHELL "export LANG=" & Trim(FrmLangSel.ListBox1.text) & "; ./" & Application.Args[0] & Space(1) & Trim(FrmLangSel.ListBox1.Text) ' this will set the LANG environment to what the user selects and restart the application. + QUIT + CASE "FrmSelISO" sDev = Right(FrmSelISO.lstInstallableImg.Text, Len(FrmSelISO.lstInstallableImg.Text) - InStr(FrmSelISO.lstInstallableImg.text, "/") + 1) IF InStr(FrmSelISO.lstInstallableImg.text, ".iso") OR InStr(FrmSelISO.lstInstallableImg.text, ".ISO") THEN Added: branches/iVL/FrmLangSel.class ============================================================================== --- (empty file) +++ branches/iVL/FrmLangSel.class Tue Sep 23 10:48:48 2008 @@ -0,0 +1,24 @@ +' Gambas class file + +' This file is part of vinstall-ng + +' vinstall-ng is free software: you can redistribute it and/or modify +' it under the terms of the GNU General Public License as published by +' the Free Software Foundation, either version 2 of the License, or +' (at your option) any later version. + +' vinstall-ng is distributed in the hope that it will be useful, +' but WITHOUT ANY WARRANTY; without even the implied warranty of +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +' GNU General Public License for more details. + +' You should have received a copy of the GNU General Public License +' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. + + + +PUBLIC SUB Form_Open() + + FMain.FrmCurr = ME + +END Added: branches/iVL/FrmLangSel.form ============================================================================== --- (empty file) +++ branches/iVL/FrmLangSel.form Tue Sep 23 10:48:48 2008 @@ -0,0 +1,10 @@ +# Gambas Form File 2.0 + +{ Form Form + MoveScaled(0,0,64,64) + Text = ("") + { ListBox1 ListBox + MoveScaled(8,9,32,15) + List = [("en_US"), ("es_ES")] + } +} Modified: branches/iVL/MdlCore.module ============================================================================== --- branches/iVL/MdlCore.module (original) +++ branches/iVL/MdlCore.module Tue Sep 23 10:48:48 2008 @@ -24,7 +24,7 @@ PUBLIC sNowPic AS picture = Picture["images/arrow.png"] PUBLIC sDonePic AS Picture = Picture["images/check.png"] PUBLIC iLeftWidth AS Integer - +PUBLIC frmInit AS Form PUBLIC SUB FIND_ISO_ON_DRIVE(sDrive AS String) @@ -201,6 +201,18 @@ PUBLIC SUB main() + + + +IF Application.Args[1] THEN +' Message(Application.Args[1]) + frmInit = FrmSelISO + +ELSE + frmInit = FrmLangSel + +END IF + 'MdlInstallCustom.INSTALL_KERNELS() 'RETURN FMain.Show Modified: branches/iVL/installer.gambas ============================================================================== Binary files. No diff available. |
From: <cod...@go...> - 2008-09-23 15:11:59
|
Author: m0e.lnx Date: Tue Sep 23 08:10:29 2008 New Revision: 174 Modified: branches/iVL/.lang/#project.pot branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/.project branches/iVL/FMain.class branches/iVL/FrmNetConf.class branches/iVL/FrmNetConf.form branches/iVL/MdlNetConf.module Log: - Modified the way the hostname is retreived to avoid getting a weird characted at EOL - Added code to read the nameserver addresses and write them to /etc/resolve.conf Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/.project +# /home/remote/area-51/projects/installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsGlobal.class +# /home/remote/area-51/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsPartSel.class +# /home/remote/area-51/projects/installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsWinDrives.class +# /home/remote/area-51/projects/installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FMain.class +# /home/remote/area-51/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.class:334 +#: FMain.class:341 msgid "Process Overview" msgstr "" -#: FMain.class:354 +#: FMain.class:361 msgid "Next" msgstr "" -#: FMain.class:360 +#: FMain.class:367 msgid "Back" msgstr "" -#: FMain.class:366 +#: FMain.class:373 msgid "Exit" msgstr "" Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmDiskPart.class +# /home/remote/area-51/projects/installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmLicense.class +# /home/remote/area-51/projects/installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPartScheme.class +# /home/remote/area-51/projects/installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPartSel.class +# /home/remote/area-51/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPkgSel.class +# /home/remote/area-51/projects/installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmSelISO.class +# /home/remote/area-51/projects/installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmSummary.class +# /home/remote/area-51/projects/installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmWinDrives.class +# /home/remote/area-51/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlCore.module +# /home/remote/area-51/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlDiskPart.module +# /home/remote/area-51/projects/installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlObjSizer.module +# /home/remote/area-51/projects/installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlPartSel.module +# /home/remote/area-51/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlPkgSel.module +# /home/remote/area-51/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlSetup.module +# /home/remote/area-51/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlSummarize.module +# /home/remote/area-51/projects/installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Tue Sep 23 08:10:29 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlWinDrives.module +# /home/remote/area-51/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Tue Sep 23 08:10:29 2008 @@ -1,6 +1,6 @@ # Gambas Project File 2.0 Title=VectorLinux Installer -Startup=FrmNetConf +Startup=MdlCore Version=0.0.54 Library=gb.gtk Library=gb.form Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Tue Sep 23 08:10:29 2008 @@ -271,8 +271,15 @@ frmNext = FrmUserAdd + CASE "FrmUserAdd" + frmNext = FrmNetConf + + CASE "FrmNetConf" + MdlNetConf.SET_HOSTNAME + MdlNetConf.SET_DNS_ADDRESSES + MdlNetConf.WRITE_INET ' frmNext = FrmLilo ' this is already done END SELECT Modified: branches/iVL/FrmNetConf.class ============================================================================== --- branches/iVL/FrmNetConf.class (original) +++ branches/iVL/FrmNetConf.class Tue Sep 23 08:10:29 2008 @@ -17,38 +17,41 @@ PUBLIC FUNCTION GET_CURRENT_HOST_NAME() AS String DIM sRes AS String - IF Exist("/etc/HOSTNAME") THEN - File.Save(Temp("Host"), SConv(File.load("/etc/HOSTNAME"))) - - - sRes = DConv(File.Load(Temp("Host"))) - - 'sRes = File.Load(DConv("/etc/HOSTNAME")) + + SHELL "hostname" TO sRes + + sRes = Trim(sRes) IF sRes = "" THEN sRes = "Vector.Linux.net" END IF - ELSE - sRes = "Vector.Linux.net" - END IF - RETURN sRes + + RETURN Trim(sRes) END PUBLIC SUB Form_Open() + FMain.FrmCurr = ME ME.txtHostName.text = ME.GET_CURRENT_HOST_NAME() MdlNetConf.LIST_NETWORK_INTERFACES cbUseManDNS.Value = FALSE tlBanner.text = "<h2>" & tlBanner.text & "</h2>" + FMain.tvPlan["Conf2"].picture = MdlCore.sNowPic + FMain.tvPlan["Conf2"].Selected = TRUE + + IF ERROR THEN Message(Error.text & "\n" & Error.where) + + END PUBLIC SUB Form_Menu() - MdlNetConf.WRITE_INET() + 'MdlNetConf.WRITE_INET() ' only enabled for testing. THis will get triggered on the "next" button's click event + 'MdlNetConf.SET_DNS_ADDRESSES END @@ -56,8 +59,8 @@ DIM itxtboxleft AS Integer WITH ME - .tlBanner.Move(8, 10, MdlObjSizer.get_object_width(.tlBanner.text)) - .tlHostNameLbl.Move(.tlBanner.Left, .tlBanner.top + .tlBanner.Height + 8, MdlObjSizer.get_object_width(.tlHostNameLbl.text), 21) + .tlBanner.Move(8, 8, MdlObjSizer.get_object_width(.tlBanner.text)) + .tlHostNameLbl.Move(.tlBanner.Left, .tlBanner.top + .tlBanner.Height + 4, MdlObjSizer.get_object_width(.tlHostNameLbl.text), 21) .txtHostName.Move(.tlHostNameLbl.left + .tlHostNameLbl.Width + 4, .tlHostNameLbl.top) .cbUseManDNS.Move(.tlHostNameLbl.Left, .tlHostNameLbl.top + .tlHostNameLbl.Height + 10, MdlObjSizer.get_object_width(.cbUseManDNS.text) + 24) .tlPrimaryDNS.Move(.cbUseManDNS.left, .cbUseManDNS.top + .cbUseManDNS.Height + 4, MdlObjSizer.get_object_width(.tlPrimaryDNS.text)) Modified: branches/iVL/FrmNetConf.form ============================================================================== --- branches/iVL/FrmNetConf.form (original) +++ branches/iVL/FrmNetConf.form Tue Sep 23 08:10:29 2008 @@ -33,7 +33,7 @@ } { txtPrimaryDNS TextBox txtManDNSBoxes Name = "txtPrimaryDNS" - MoveScaled(24,16,18.5714,3) + MoveScaled(24,16,18.5,3) Enabled = False Text = ("192.168.1.254") } @@ -44,12 +44,12 @@ } { txtSecDNS TextBox txtManDNSBoxes Name = "txtSecDNS" - MoveScaled(26,19,18.5714,3) + MoveScaled(26,19,18.5,3) Enabled = False Text = ("") } { tlBanner TextLabel - MoveScaled(1,1,45,6) + MoveScaled(1,1,45,5) Text = ("NETWORK CONFIGURATION") Alignment = Align.Normal } Modified: branches/iVL/MdlNetConf.module ============================================================================== --- branches/iVL/MdlNetConf.module (original) +++ branches/iVL/MdlNetConf.module Tue Sep 23 08:10:29 2008 @@ -203,7 +203,7 @@ frmDetails = NEW Frame(FrmNetConf.TSNetDevices) AS "STaticDetails" WITH frmDetails .Move(ileft, itop + 8) - .text = "Settings for Static Method" + .text = " Static IP Address Settings " .Width = .Parent.Width - (.left * 2.5) .Height = 130 .tag = LAST.tag @@ -340,7 +340,7 @@ ' Base the function on the objects rather than the tabstrip FOR EACH cb IN objCheckboxes - IF cb.value = TRUE THEN + 'IF cb.value = TRUE THEN sDev = cb.Tag FOR EACH combo IN objCombos IF combo.tag = cb.tag THEN @@ -384,13 +384,17 @@ "## The Script \n \n" & "## You may make customized script here \n" & "## of source the starndard network script\n\n" & - ". /etc/rc.d/functions-network $@ " - - Message(sScript) + ". /etc/rc.d/functions-network $@ \n\n" + 'Message(sScript) + File.Save(ClsGlobal.sTargetMnt &/ "etc" &/ "rc.d" &/ "rc.inet" & ii, sScript) + IF cb.Value = TRUE THEN + SHELL "chmod +x /tmp/rc.inet" & ii WAIT + END IF + INC ii NEXT - + 'INC ii 'ME.SET_HOSTNAME("Test") END @@ -408,6 +412,22 @@ END +PUBLIC SUB SET_DNS_ADDRESSES() + + DIM sFile AS String + + IF FrmNetConf.cbUseManDNS.value = TRUE THEN + sFile = "# Generated by the VectorlLinux installer\n" + IF FrmNetConf.txtPrimaryDNS.text <> "" THEN sFile = sFile & "\n" & "nameserver " & FrmNetConf.txtPrimaryDNS.Text + IF FrmNetConf.txtSecDNS.text <> "" THEN sFile = sFile & "\n" & "nameserver " & FrmNetConf.txtSecDNS.Text + File.Save(ClsGlobal.sTargetMnt &/ "etc" &/ "resolv.conf", sFile) + END IF + 'Message(sFile) + ' If DHCP is used, then /etc/resolv.conf is generated by dhcpcd + +END + + |
From: <cod...@go...> - 2008-09-22 20:55:59
|
Author: M0...@gm... Date: Mon Sep 22 13:55:42 2008 New Revision: 173 Modified: branches/iVL/FrmNetConf.class branches/iVL/FrmNetConf.form branches/iVL/MdlNetConf.module Log: - Added manual DNS configuration options - Added code to handle the resizing of the netconf window OBjects now resize and move according to the window size. Modified: branches/iVL/FrmNetConf.class ============================================================================== --- branches/iVL/FrmNetConf.class (original) +++ branches/iVL/FrmNetConf.class Mon Sep 22 13:55:42 2008 @@ -39,13 +39,43 @@ ME.txtHostName.text = ME.GET_CURRENT_HOST_NAME() MdlNetConf.LIST_NETWORK_INTERFACES + cbUseManDNS.Value = FALSE + tlBanner.text = "<h2>" & tlBanner.text & "</h2>" IF ERROR THEN Message(Error.text & "\n" & Error.where) - + END PUBLIC SUB Form_Menu() MdlNetConf.WRITE_INET() + +END + +PUBLIC SUB Form_Resize() +DIM itxtboxleft AS Integer + + WITH ME + .tlBanner.Move(8, 10, MdlObjSizer.get_object_width(.tlBanner.text)) + .tlHostNameLbl.Move(.tlBanner.Left, .tlBanner.top + .tlBanner.Height + 8, MdlObjSizer.get_object_width(.tlHostNameLbl.text), 21) + .txtHostName.Move(.tlHostNameLbl.left + .tlHostNameLbl.Width + 4, .tlHostNameLbl.top) + .cbUseManDNS.Move(.tlHostNameLbl.Left, .tlHostNameLbl.top + .tlHostNameLbl.Height + 10, MdlObjSizer.get_object_width(.cbUseManDNS.text) + 24) + .tlPrimaryDNS.Move(.cbUseManDNS.left, .cbUseManDNS.top + .cbUseManDNS.Height + 4, MdlObjSizer.get_object_width(.tlPrimaryDNS.text)) + itxtboxleft = .tlPrimaryDNS.Left + .tlPrimaryDNS.Width + 24 + .txtPrimaryDNS.Move(itxtboxleft, .tlPrimaryDNS.Top) + .tlSecDNS.Move(.tlPrimaryDNS.Left, .tlPrimaryDNS.top + .tlPrimaryDNS.Height + 4, MdlObjSizer.get_object_width(.tlSecDNS.text)) + .txtSecDNS.Move(itxtboxleft, .tlSecDNS.top) + ' now move the frame + .frmNetDevices.Move(.tlSecDNS.Left, .tlSecDNS.top + .tlSecDNS.Height + 8) + .frmNetDevices.Width = .ClientWidth - (.frmNetDevices.Left * 2) + .TSNetDevices.Width = .ClientWidth - (.frmNetDevices.left * 5) + + END WITH +END + +PUBLIC SUB cbUseManDNS_Click() + + ME.txtPrimaryDNS.Enabled = cbUseManDNS.Value + ME.txtSecDNS.Enabled = cbUseManDNS.Value END Modified: branches/iVL/FrmNetConf.form ============================================================================== --- branches/iVL/FrmNetConf.form (original) +++ branches/iVL/FrmNetConf.form Mon Sep 22 13:55:42 2008 @@ -1,18 +1,19 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,94,61) + MoveScaled(0,0,94,74) Text = ("") { tlHostNameLbl TextLabel - MoveScaled(1,2,16,3) + MoveScaled(1,8,16,3) Text = ("Computer Name") + Alignment = Align.Normal } { txtHostName TextBox - MoveScaled(18,2,28,3) + MoveScaled(18,8,28,3) Text = ("") } { frmNetDevices Frame - MoveScaled(1,7,85,49) + MoveScaled(1,23,85,49) Text = (" Network Interfaces") { TSNetDevices TabStrip MoveScaled(2,4,81,43) @@ -20,5 +21,36 @@ Text = ("Tab 0") Index = 0 } + } + { cbUseManDNS CheckBox + MoveScaled(1,12,39,3) + Text = ("Manual DNS Server Specification") + } + { tlPrimaryDNS TextLabel + MoveScaled(2,16,20,3) + Text = ("Primary DNS Server") + Alignment = Align.Normal + } + { txtPrimaryDNS TextBox txtManDNSBoxes + Name = "txtPrimaryDNS" + MoveScaled(24,16,18.5714,3) + Enabled = False + Text = ("192.168.1.254") + } + { tlSecDNS TextLabel + MoveScaled(2,19,21,3) + Text = ("Secondary DNS Server") + Alignment = Align.Normal + } + { txtSecDNS TextBox txtManDNSBoxes + Name = "txtSecDNS" + MoveScaled(26,19,18.5714,3) + Enabled = False + Text = ("") + } + { tlBanner TextLabel + MoveScaled(1,1,45,6) + Text = ("NETWORK CONFIGURATION") + Alignment = Align.Normal } } Modified: branches/iVL/MdlNetConf.module ============================================================================== --- branches/iVL/MdlNetConf.module (original) +++ branches/iVL/MdlNetConf.module Mon Sep 22 13:55:42 2008 @@ -25,6 +25,7 @@ PUBLIC objtlDetails AS Object[] + PRIVATE pWiredPic AS Picture = picture["images/ethernet.png"] PRIVATE pWirelessPic AS picture = picture["images/wireless.png"] @@ -54,6 +55,7 @@ objtxtNetMasks = NEW Object[] objtxtDNS = NEW Object[] objCheckboxes = NEW Object[] + SHELL "ifconfig -a | grep ^[a-z] | grep -v ^lo" TO seths @@ -133,7 +135,7 @@ bCb = NEW CheckBox(FrmNetConf.TSNetDevices) AS "bEnableInterface" ' enable/disable interface box WITH bCb .Move(4, tb.top + tb.Height + 4) - .text = "Enabled" + .text = "Automatically activate this interface at start-up" .Value = TRUE .Height = 21 .Width = MdlObjSizer.get_object_width(.text) + 36 @@ -141,11 +143,8 @@ y = .top + .Height + 8 objCheckboxes.Add(bCb) END WITH - - - - - + ' Split the design here for wireless and wired devices + 'IF sType = "Wireless" THEN tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "ConfModeLbl" WITH tl .Move(4, y) @@ -171,7 +170,17 @@ y = cb.top + cb.Height + 4 itop = y objCombos.Add(cb) - + ' ' ELSE + ' tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "tlWirelessSecType" + ' WITH tl + ' .Move(4, y) + ' .text = "Security Mode" + ' .Width = MdlObjSizer.get_object_width(.text) + ' .Height = 21 + ' .Alignment = Align.Normal + ' END WITH + ' END IF + END WITH @@ -186,8 +195,9 @@ DIM frmDetails AS Frame DIM txtbox AS TextBox + DIM cb AS CheckBox DIM tl AS TextLabel - DIM itxtleft, itxtwidth AS Integer + DIM itxtleft, itxtwidth, imandnsleft, imandnstxtleft AS Integer IF LAST.text = "STATIC" THEN frmDetails = NEW Frame(FrmNetConf.TSNetDevices) AS "STaticDetails" @@ -220,6 +230,10 @@ END WITH itxtleft = (tl.Left + tl.Width) * 2 'txtbox.Left itxtwidth = txtbox.Width + imandnsleft = itxtleft + itxtwidth + 8 + + + tl = NEW TextLabel(frmDetails) AS "tlStaticLabels" WITH tl .text = "Subnet Mask" @@ -238,6 +252,8 @@ .MaxLength = 16 IF objtxtNetMasks.Find(txtbox) = -1 THEN objtxtNetMasks.Add(txtbox) ' add to the array END WITH + + tl = NEW TextLabel(frmDetails) AS "tlStaticLabels" WITH tl .Move(8, txtbox.top + txtbox.Height + 4) @@ -256,7 +272,7 @@ .text = "192.168.1.254" IF objtxtDNS.Find(txtbox) = -1 THEN objtxtDNS.Add(txtbox) ' add to the array END WITH - + FOR EACH tl IN objtlDetails IF tl.tag = LAST.tag THEN @@ -295,16 +311,21 @@ PUBLIC SUB bEnableInterface_click() - DIM fFrm AS Frame - DIM Comb AS ComboBox - FOR EACH fFrm IN objFrames - IF fFrm.tag = LAST.tag THEN fFrm.Enabled = LAST.Value - NEXT - FOR EACH Comb IN objCombos - IF Comb.tag = LAST.tag THEN Comb.Enabled = LAST.Value - NEXT + ' ' DIM fFrm AS Frame + ' ' DIM Comb AS ComboBox + ' ' FOR EACH fFrm IN objFrames + ' ' IF fFrm.tag = LAST.tag THEN fFrm.Enabled = LAST.Value + ' ' NEXT + ' ' FOR EACH Comb IN objCombos + ' ' IF Comb.tag = LAST.tag THEN Comb.Enabled = LAST.Value + ' ' NEXT + '''''' ******* Instead of that ^, this will only determing if the inet script will be set executable or not END + + + + PUBLIC SUB WRITE_INET() DIM sScript AS String @@ -314,6 +335,7 @@ DIM txt AS TextBox DIM combo AS ComboBox DIM cb AS CheckBox + DIM ii AS Integer = 0 ' Base the function on the objects rather than the tabstrip |
From: <cod...@go...> - 2008-09-18 14:26:37
|
Author: M0...@gm... Date: Thu Sep 18 14:26:13 2008 New Revision: 171 Modified: branches/iVL/MdlNetConf.module Log: - Added checkbox to enable / disable interfaces (meaning will get started at boot) Modified: branches/iVL/MdlNetConf.module ============================================================================== --- branches/iVL/MdlNetConf.module (original) +++ branches/iVL/MdlNetConf.module Thu Sep 18 14:26:13 2008 @@ -40,6 +40,7 @@ DIM tl AS TextLabel DIM tb AS TextBox DIM cb AS ComboBox + DIM bCb AS CheckBox DIM i, ii, y, x, cbwidth AS Integer DIM pTabPic AS picture @@ -95,7 +96,7 @@ .Height = 21 .Alignment = Align.Normal .Width = MdlObjSizer.get_object_width(.text) - y = .top + .Height + 4 + 'y = .top + .Height + 4 END WITH tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevAddresses" ' MAC Address box WITH tb @@ -108,7 +109,7 @@ cbwidth = .Width END WITH - + tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "DevTYpeLbl" WITH tl .Move(x + tb.Width + 8, tb.top) @@ -127,6 +128,22 @@ .tag = sDev END WITH + 'add a box here to enable/disable the interface + bCb = NEW CheckBox(FrmNetConf.TSNetDevices) AS "bEnableInterface" ' enable/disable interface box + WITH bCb + .Move(4, tb.top + tb.Height + 4) + .text = "Enabled" + .Value = TRUE + .Height = 21 + .Width = MdlObjSizer.get_object_width(.text) + 36 + .tag = sDev + y = .top + .Height + 8 + END WITH + + + + + tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "ConfModeLbl" WITH tl .Move(4, y) @@ -176,7 +193,7 @@ .Move(ileft, itop + 8) .text = "Settings for Static Method" .Width = .Parent.Width - (.left * 2.5) - .Height = 180 + .Height = 130 .tag = LAST.tag END WITH objFrames.Add(frmDetails) |
From: <cod...@go...> - 2008-09-18 13:16:54
|
Author: M0...@gm... Date: Thu Sep 18 13:16:26 2008 New Revision: 170 Added: branches/iVL/images/wireless.png (contents, props changed) Modified: branches/iVL/MdlNetConf.module Log: - Netconf window now has option for static network setup with a box for IP, subnet mask, and gateway address - Objects got added to array Modified: branches/iVL/MdlNetConf.module ============================================================================== --- branches/iVL/MdlNetConf.module (original) +++ branches/iVL/MdlNetConf.module Thu Sep 18 13:16:26 2008 @@ -23,6 +23,10 @@ PUBLIC objFrames AS Object[] PUBLIC objtlDetails AS Object[] + +PRIVATE pWiredPic AS Picture = picture["images/ethernet.png"] +PRIVATE pWirelessPic AS picture = picture["images/wireless.png"] + PUBLIC SUB LIST_NETWORK_INTERFACES() ' This SUB will detect network interfaces and offer setup options for each one of them @@ -37,14 +41,18 @@ DIM tb AS TextBox DIM cb AS ComboBox DIM i, ii, y, x, cbwidth AS Integer - DIM pTabPic AS picture = Picture["images/ethernet.png"] + DIM pTabPic AS picture + 'initiate the arrays objCombos = NEW Object[] objFrames = NEW Object[] objtlDetails = NEW Object[] + objtxtIps = NEW Object[] + objtxtNetMasks = NEW Object[] + objtxtDNS = NEW Object[] - + SHELL "ifconfig -a | grep ^[a-z] | grep -v ^lo" TO seths File.Save(Temp("eths"), Trim(seths)) @@ -62,8 +70,10 @@ sDump = Trim(File.Load("/tmp/iwdump")) IF InStr(sDump, "no wireless extensions") > 0 THEN sType = "Wired" + pTabPic = pWiredPic ELSE sType = "Wireless" + pTabPic = pWirelessPic END IF WITH FrmNetConf.TSNetDevices @@ -87,7 +97,7 @@ .Width = MdlObjSizer.get_object_width(.text) y = .top + .Height + 4 END WITH - tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevAddresses" + tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevAddresses" ' MAC Address box WITH tb .Move(tl.left + tl.Width + 8, tl.top) .text = DConv(sDevAddr) @@ -96,6 +106,7 @@ .Height = tl.Height x = .Left cbwidth = .Width + END WITH tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "DevTYpeLbl" @@ -106,7 +117,7 @@ .Width = MdlObjSizer.get_object_width(.text) .Alignment = Align.Normal END WITH - tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevType" + tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevType" ' Interface Type (wireless, wired) WITH tb .Move(tl.left + tl.width + 8, tl.top) .text = sType @@ -126,7 +137,7 @@ 'y = .top + .Height + 4 iLeft = .Left END WITH - cb = NEW ComboBox(FrmNetConf.TSNetDevices) AS "MethodSel" + cb = NEW ComboBox(FrmNetConf.TSNetDevices) AS "MethodSel" ' Setup Method combobox WITH cb .Move(x, y) .width = cbwidth @@ -157,7 +168,7 @@ DIM frmDetails AS Frame DIM txtbox AS TextBox DIM tl AS TextLabel - DIM itxtleft AS Integer + DIM itxtleft, itxtwidth AS Integer IF LAST.text = "STATIC" THEN frmDetails = NEW Frame(FrmNetConf.TSNetDevices) AS "STaticDetails" @@ -181,13 +192,15 @@ txtbox = NEW TextBox(frmDetails) AS "txtStatisIpBoxes" ' static IP Address Box WITH txtbox .tag = LAST.tag - .Move(tl.left + tl.Width + 24, tl.Top) - .text = "192.168.0.1" + .Move((tl.left + tl.Width) * 2, tl.Top) + .text = "192.168.1.100" .Height = 21 .Width = MdlObjSizer.get_object_width(.text) * 2 .MaxLength = 16 + IF objtxtIps.Find(txtbox) = -1 THEN objtxtIps.Add(txtbox) ' add to the array END WITH - itxtleft = txtbox.Left + itxtleft = (tl.Left + tl.Width) * 2 'txtbox.Left + itxtwidth = txtbox.Width tl = NEW TextLabel(frmDetails) AS "tlStaticLabels" WITH tl .text = "Subnet Mask" @@ -196,8 +209,36 @@ .Alignment = Align.Normal .Move(8, txtbox.top + txtbox.Height + 4) END WITH - - + txtbox = NEW TextBox(frmDetails) AS "txtDnsMaskBoxes" ' DNS Mask Box + WITH txtbox + .Move(itxtleft, tl.top) + .text = "255.255.255.0" + .tag = LAST.tag + .Height = 21 + .Width = itxtwidth + .MaxLength = 16 + IF objtxtNetMasks.Find(txtbox) = -1 THEN objtxtNetMasks.Add(txtbox) ' add to the array + END WITH + tl = NEW TextLabel(frmDetails) AS "tlStaticLabels" + WITH tl + .Move(8, txtbox.top + txtbox.Height + 4) + .Height = 21 + .text = "Gateway Address" + .Width = MdlObjSizer.get_object_width(.text) + .Alignment = Align.Normal + END WITH + txtbox = NEW TextBox(frmDetails) AS "txtGatewayAddrBoxes" ' Gateway address box + WITH txtbox + .tag = LAST.tag + .Move(itxtleft, tl.top) + .Height = 21 + .Width = itxtwidth + .MaxLength = 16 + .text = "192.168.1.254" + IF objtxtDNS.Find(txtbox) = -1 THEN objtxtDNS.Add(txtbox) ' add to the array + END WITH + + FOR EACH tl IN objtlDetails IF tl.tag = LAST.tag THEN objtlDetails.Delete(objtlDetails.Find(tl)) @@ -217,9 +258,11 @@ ' create a text label that says the thing will get automatically configured tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "DetailLbl" WITH tl - .Move(LAST.left - (LAST.width / 2), LAST.top + LAST.height + 12) - .text = "<b>Dynamic Host Control Protocol</b><br>Automatic settings via DHCP. <br><br>This will work if you use a cable or DSL modem. If in doubt, choose this option" - .border = Border.Etched + '.Move(LAST.left - (LAST.width / 2), LAST.top + LAST.height + 12) + .Move(8, LAST.top + LAST.height + 12) + .text = "<b>Dynamic Host Control Protocol</b><br>Automatic settings via DHCP. <br><br>This will work if you use a cable or DSL modem on a home network. <br>If in doubt, choose this option" + .Adjust + '.border = Border.Etched .Width = MdlObjSizer.get_object_width(.text) .Height = 21 * 4 .Tag = LAST.tag Added: branches/iVL/images/wireless.png ============================================================================== Binary file. No diff available. |
From: <cod...@go...> - 2008-09-17 21:33:44
|
Author: M0...@gm... Date: Wed Sep 17 14:33:15 2008 New Revision: 169 Modified: branches/iVL/FrmNetConf.form branches/iVL/MdlNetConf.module Log: - Added *some* level of detection for wireless interfaces - More work on network configuration... Modified: branches/iVL/FrmNetConf.form ============================================================================== --- branches/iVL/FrmNetConf.form (original) +++ branches/iVL/FrmNetConf.form Wed Sep 17 14:33:15 2008 @@ -1,7 +1,7 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,88,51) + MoveScaled(0,0,94,61) Text = ("") { tlHostNameLbl TextLabel MoveScaled(1,2,16,3) @@ -12,10 +12,10 @@ Text = ("") } { frmNetDevices Frame - MoveScaled(1,7,85,42) + MoveScaled(1,7,85,49) Text = (" Network Interfaces") { TSNetDevices TabStrip - MoveScaled(2,4,81,35) + MoveScaled(2,4,81,43) Index = 0 Text = ("Tab 0") Index = 0 Modified: branches/iVL/MdlNetConf.module ============================================================================== --- branches/iVL/MdlNetConf.module (original) +++ branches/iVL/MdlNetConf.module Wed Sep 17 14:33:15 2008 @@ -15,16 +15,19 @@ ' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. PRIVATE ileft AS Integer PRIVATE itop AS Integer +PRIVATE icbleft AS Integer PUBLIC objCombos AS Object[] PUBLIC objtxtIps AS Object[] PUBLIC objtxtNetMasks AS Object[] PUBLIC objtxtDNS AS Object[] PUBLIC objFrames AS Object[] +PUBLIC objtlDetails AS Object[] + PUBLIC SUB LIST_NETWORK_INTERFACES() ' This SUB will detect network interfaces and offer setup options for each one of them DIM seths AS String - DIM saths AS String + DIM sDump AS String DIM sDevList AS String[] DIM sLine AS String[] DIM sDev AS String @@ -33,40 +36,43 @@ DIM tl AS TextLabel DIM tb AS TextBox DIM cb AS ComboBox - DIM i, ii, y, x AS Integer + DIM i, ii, y, x, cbwidth AS Integer DIM pTabPic AS picture = Picture["images/ethernet.png"] 'initiate the arrays objCombos = NEW Object[] objFrames = NEW Object[] + objtlDetails = NEW Object[] - SHELL "ifconfig -a | grep eth" TO seths - File.Save(Temp("eths"), Trim(seths)) + SHELL "ifconfig -a | grep ^[a-z] | grep -v ^lo" TO seths + File.Save(Temp("eths"), Trim(seths)) sDevList = Split(File.Load(DConv(Temp("eths"))), gb.NewLine) - 'Message(DConv(File.load(Temp("eths")))) - 'sEths = Trim(seths) - 'sDevList.Clear - - 'sDevList = Split(seths, "\n") - 'FrmNetConf.TsNetDevices.count = sDevList.count - 1 - 'PRINT FrmNetConf.TSNetDevices.count - 'PRINT sDevList.Count - 1 - 'FrmNetConf.TsNetDevices.index = 0 + FOR i = 0 TO sDevList.count - 1 sLine = Split(sDevList[i], " ") sDev = sLine[0] sDevAddr = sLine[10] ' This may be off depending on which box this runs one... needs careful testing - + ' try to detect wirelesss here + sDump = "" + SHELL "iwconfig " & sDev & " > /tmp/iwdump 2>&1" WAIT + 'Message(File.Load("/tmp/iwdump")) + sDump = Trim(File.Load("/tmp/iwdump")) + IF InStr(sDump, "no wireless extensions") > 0 THEN + sType = "Wired" + ELSE + sType = "Wireless" + END IF + WITH FrmNetConf.TSNetDevices PRINT .Count .index = i '.text = Left(sDevList[i], 4) - .text = sDev + .text = sDev IF sDevList[i] <> "" THEN INC .Count END IF @@ -89,7 +95,27 @@ .Width = MdlObjSizer.get_object_width(.text) + 24 .Height = tl.Height x = .Left + cbwidth = .Width + END WITH + + tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "DevTYpeLbl" + WITH tl + .Move(x + tb.Width + 8, tb.top) + .text = "Interface Type" + .Height = 21 + .Width = MdlObjSizer.get_object_width(.text) + .Alignment = Align.Normal + END WITH + tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevType" + WITH tb + .Move(tl.left + tl.width + 8, tl.top) + .text = sType + .Width = MdlObjSizer.get_object_width(.text) + 24 + .Height = 21 + .ReadOnly = TRUE + .tag = sDev END WITH + tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "ConfModeLbl" WITH tl .Move(4, y) @@ -103,14 +129,17 @@ cb = NEW ComboBox(FrmNetConf.TSNetDevices) AS "MethodSel" WITH cb .Move(x, y) - .width = tb.Width + .width = cbwidth .Height = 21 .ReadOnly = TRUE .list = ["DHCP", "STATIC"] .tag = sDev - y = .top + .Height + 4 - itop = y + 'y = .top + .Height + 4 + 'itop = y + icbleft = .Left END WITH + y = cb.top + cb.Height + 4 + itop = y objCombos.Add(cb) END WITH @@ -121,13 +150,14 @@ IF ERROR THEN Message(Error.text & gb.newline & Error.where) - + KILL "/tmp/iwdump" END PUBLIC SUB MethodSel_Click() DIM frmDetails AS Frame DIM txtbox AS TextBox DIM tl AS TextLabel + DIM itxtleft AS Integer IF LAST.text = "STATIC" THEN frmDetails = NEW Frame(FrmNetConf.TSNetDevices) AS "STaticDetails" @@ -135,10 +165,45 @@ .Move(ileft, itop + 8) .text = "Settings for Static Method" .Width = .Parent.Width - (.left * 2.5) - .Height = 120 + .Height = 180 .tag = LAST.tag END WITH objFrames.Add(frmDetails) + 'populate the frame for this + tl = NEW TextLabel(frmDetails) AS "tlStaticLabels" + WITH tl + .Move(8, 24) + .text = "IP Address" + .Height = 21 + .Width = MdlObjSizer.get_object_width(.text) + .Alignment = Align.Normal + END WITH + txtbox = NEW TextBox(frmDetails) AS "txtStatisIpBoxes" ' static IP Address Box + WITH txtbox + .tag = LAST.tag + .Move(tl.left + tl.Width + 24, tl.Top) + .text = "192.168.0.1" + .Height = 21 + .Width = MdlObjSizer.get_object_width(.text) * 2 + .MaxLength = 16 + END WITH + itxtleft = txtbox.Left + tl = NEW TextLabel(frmDetails) AS "tlStaticLabels" + WITH tl + .text = "Subnet Mask" + .width = MdlObjSizer.get_object_width(.text) + .Height = 21 + .Alignment = Align.Normal + .Move(8, txtbox.top + txtbox.Height + 4) + END WITH + + + FOR EACH tl IN objtlDetails + IF tl.tag = LAST.tag THEN + objtlDetails.Delete(objtlDetails.Find(tl)) + END IF + NEXT + ELSE FOR EACH frmDetails IN objFrames @@ -149,7 +214,18 @@ 'objFrames.Delete(objFrames.Find(frmDetails)) 'IF ERROR THEN Message(Error.Text & "\n" & Error.Where) NEXT - + ' create a text label that says the thing will get automatically configured + tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "DetailLbl" + WITH tl + .Move(LAST.left - (LAST.width / 2), LAST.top + LAST.height + 12) + .text = "<b>Dynamic Host Control Protocol</b><br>Automatic settings via DHCP. <br><br>This will work if you use a cable or DSL modem. If in doubt, choose this option" + .border = Border.Etched + .Width = MdlObjSizer.get_object_width(.text) + .Height = 21 * 4 + .Tag = LAST.tag + + END WITH + objtlDetails.Add(tl) END IF |
From: <cod...@go...> - 2008-09-17 13:58:57
|
Author: M0...@gm... Date: Wed Sep 17 06:57:54 2008 New Revision: 168 Modified: branches/iVL/FrmNetConf.class branches/iVL/MdlNetConf.module Log: - Began populating the netconf tabstrip with run-time objects Modified: branches/iVL/FrmNetConf.class ============================================================================== --- branches/iVL/FrmNetConf.class (original) +++ branches/iVL/FrmNetConf.class Wed Sep 17 06:57:54 2008 @@ -18,7 +18,12 @@ PUBLIC FUNCTION GET_CURRENT_HOST_NAME() AS String DIM sRes AS String IF Exist("/etc/HOSTNAME") THEN - sRes = File.Load(DConv("/etc/HOSTNAME")) + File.Save(Temp("Host"), SConv(File.load("/etc/HOSTNAME"))) + + + sRes = DConv(File.Load(Temp("Host"))) + + 'sRes = File.Load(DConv("/etc/HOSTNAME")) IF sRes = "" THEN sRes = "Vector.Linux.net" END IF Modified: branches/iVL/MdlNetConf.module ============================================================================== --- branches/iVL/MdlNetConf.module (original) +++ branches/iVL/MdlNetConf.module Wed Sep 17 06:57:54 2008 @@ -13,7 +13,13 @@ ' You should have received a copy of the GNU General Public License ' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. - +PRIVATE ileft AS Integer +PRIVATE itop AS Integer +PUBLIC objCombos AS Object[] +PUBLIC objtxtIps AS Object[] +PUBLIC objtxtNetMasks AS Object[] +PUBLIC objtxtDNS AS Object[] +PUBLIC objFrames AS Object[] PUBLIC SUB LIST_NETWORK_INTERFACES() ' This SUB will detect network interfaces and offer setup options for each one of them @@ -27,9 +33,15 @@ DIM tl AS TextLabel DIM tb AS TextBox DIM cb AS ComboBox - DIM i, ii AS Integer + DIM i, ii, y, x AS Integer DIM pTabPic AS picture = Picture["images/ethernet.png"] + 'initiate the arrays + objCombos = NEW Object[] + objFrames = NEW Object[] + + + SHELL "ifconfig -a | grep eth" TO seths File.Save(Temp("eths"), Trim(seths)) @@ -67,28 +79,79 @@ .Height = 21 .Alignment = Align.Normal .Width = MdlObjSizer.get_object_width(.text) - + y = .top + .Height + 4 END WITH tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevAddresses" WITH tb - .Move(tl.left + tl.Width + 4, tl.top) + .Move(tl.left + tl.Width + 8, tl.top) .text = DConv(sDevAddr) .ReadOnly = TRUE .Width = MdlObjSizer.get_object_width(.text) + 24 .Height = tl.Height + x = .Left END WITH + tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "ConfModeLbl" + WITH tl + .Move(4, y) + .text = "Setup Mode" + .height = 21 + .Width = MdlObjSizer.get_object_width(.text) + .Alignment = Align.Normal + 'y = .top + .Height + 4 + iLeft = .Left + END WITH + cb = NEW ComboBox(FrmNetConf.TSNetDevices) AS "MethodSel" + WITH cb + .Move(x, y) + .width = tb.Width + .Height = 21 + .ReadOnly = TRUE + .list = ["DHCP", "STATIC"] + .tag = sDev + y = .top + .Height + 4 + itop = y + END WITH + objCombos.Add(cb) + END WITH NEXT FrmNetConf.TSNetDevices[FrmNetConf.TSNetDevices.count - 1].Delete ' Ugly hack to delete the trailing blank tab - - - - - IF ERROR THEN Message(Error.text & gb.newline & Error.where) END +PUBLIC SUB MethodSel_Click() + + DIM frmDetails AS Frame + DIM txtbox AS TextBox + DIM tl AS TextLabel + + IF LAST.text = "STATIC" THEN + frmDetails = NEW Frame(FrmNetConf.TSNetDevices) AS "STaticDetails" + WITH frmDetails + .Move(ileft, itop + 8) + .text = "Settings for Static Method" + .Width = .Parent.Width - (.left * 2.5) + .Height = 120 + .tag = LAST.tag + END WITH + objFrames.Add(frmDetails) + ELSE + + FOR EACH frmDetails IN objFrames + IF frmDetails.tag = LAST.tag THEN + frmDetails.Delete + objFrames.Delete(objFrames.Find(frmDetails)) + END IF + 'objFrames.Delete(objFrames.Find(frmDetails)) + 'IF ERROR THEN Message(Error.Text & "\n" & Error.Where) + NEXT + + + + END IF +END + |
From: <cod...@go...> - 2008-09-16 21:34:40
|
Author: M0...@gm... Date: Tue Sep 16 14:32:23 2008 New Revision: 167 Added: branches/iVL/images/ethernet.png (contents, props changed) Modified: branches/iVL/.lang/#project.pot branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/FrmEmbUsrAdd.class branches/iVL/FrmEmbUsrAdd.form branches/iVL/FrmNetConf.class branches/iVL/FrmNetConf.form branches/iVL/MdlNetConf.module Log: - Added button to re-launch the useradd.gambas module - Began new Netconf concept module/window Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/.project +# /home/moe/projects/installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/ClsGlobal.class +# /home/moe/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/ClsPartSel.class +# /home/moe/projects/installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/ClsWinDrives.class +# /home/moe/projects/installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FMain.class +# /home/moe/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmDiskPart.class +# /home/moe/projects/installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmLicense.class +# /home/moe/projects/installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmPartScheme.class +# /home/moe/projects/installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmPartSel.class +# /home/moe/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmPkgSel.class +# /home/moe/projects/installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmSelISO.class +# /home/moe/projects/installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmSummary.class +# /home/moe/projects/installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/FrmWinDrives.class +# /home/moe/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlCore.module +# /home/moe/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlDiskPart.module +# /home/moe/projects/installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlObjSizer.module +# /home/moe/projects/installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlPartSel.module +# /home/moe/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlPkgSel.module +# /home/moe/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlSetup.module +# /home/moe/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlSummarize.module +# /home/moe/projects/installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Tue Sep 16 14:32:23 2008 @@ -1,4 +1,4 @@ -# /home/vluser/area-51/projects/installer/MdlWinDrives.module +# /home/moe/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/FrmEmbUsrAdd.class ============================================================================== --- branches/iVL/FrmEmbUsrAdd.class (original) +++ branches/iVL/FrmEmbUsrAdd.class Tue Sep 16 14:32:23 2008 @@ -17,20 +17,31 @@ PUBLIC SUB Form_Open() - DIM iID AS Integer = ME.Embedder1.Id + + ME.EMBED_VASMCC_MODULE() + 'btAddUser.Visible = FALSE + +END + + +PUBLIC SUB EMBED_VASMCC_MODULE() + + DIM iID AS Integer = ME.Embedder1.Id SHELL "$PWD/adduser.gambas " & iID & Space(1) & ME.ClientWidth & Space(1) & ME.clientHeight MdlCore.LOCK_GUI() - - END + + PUBLIC SUB Form_Resize() WITH ME .Embedder1.Move(0, 2, .ClientWidth - 4, .ClientHeight - 24) + .btAddUser.Move(4, .top + .ClientHeight - (.btAddUser.Height * 2), MdlObjSizer.get_object_width(.btAddUser.text) + 24) + END WITH END @@ -38,6 +49,36 @@ PUBLIC SUB Embedder1_Close() MdlCore.unlock_gui() + btAddUser.Show + Embedder1.Hide + + +END + +PUBLIC SUB btAddUser_Click() + + ME.EMBED_VASMCC_MODULE() + ME.Embedder1.show + ME.btAddUser.Hide + 'btAddUser.Visible = FALSE + +END + +PUBLIC SUB Embedder1_Leave() + + 'ME.Embedder1.Visible = FALSE + 'btAddUser.Visible = TRUE + Embedder1.Hide + btAddUser.show + 'ME.Refresh + +END + +PUBLIC SUB Embedder1_Embed() + 'btAddUser.Visible = FALSE + Embedder1.show + btAddUser.Hide + 'btAddUser.lower END Modified: branches/iVL/FrmEmbUsrAdd.form ============================================================================== --- branches/iVL/FrmEmbUsrAdd.form (original) +++ branches/iVL/FrmEmbUsrAdd.form Tue Sep 16 14:32:23 2008 @@ -4,6 +4,10 @@ MoveScaled(0,0,64,64) Text = ("") { Embedder1 Embedder - MoveScaled(1,3,60,47) + MoveScaled(1,2,58,51) + } + { btAddUser Button + MoveScaled(48,54,10,3) + Text = ("New User Account") } } Modified: branches/iVL/FrmNetConf.class ============================================================================== --- branches/iVL/FrmNetConf.class (original) +++ branches/iVL/FrmNetConf.class Tue Sep 16 14:32:23 2008 @@ -13,48 +13,28 @@ ' You should have received a copy of the GNU General Public License ' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. -PRIVATE arrStaticOb AS object[] -PUBLIC SUB Form_Open() -DIM obj AS Object -arrStaticOb = NEW Object[] - - WITH ME - arrStaticOb.Add(.txtGatewayaddr) - arrStaticOb.Add(.txtSubnetNask) - arrStaticOb.Add(.tlGatewayAddr) - arrStaticOb.Add(.tlSubNetMask) - arrStaticOb.Add(.tlIpAddress) - arrStaticOb.Add(.txtStaticIp) - END WITH -FOR EACH obj IN arrStaticOb - obj.Visible = FALSE -NEXT - +PUBLIC FUNCTION GET_CURRENT_HOST_NAME() AS String + DIM sRes AS String + IF Exist("/etc/HOSTNAME") THEN + sRes = File.Load(DConv("/etc/HOSTNAME")) + IF sRes = "" THEN + sRes = "Vector.Linux.net" + END IF + ELSE + sRes = "Vector.Linux.net" + END IF + RETURN sRes + END -PUBLIC SUB tlHostNameLbl_MouseDown() - - -END - -PUBLIC SUB cbIpSettings_Click() - DIM tb AS TextBox - DIM tl AS TextLabel - DIM obj AS Object - IF ME.cbIpSettings.text = "STATIC" THEN +PUBLIC SUB Form_Open() - FOR EACH obj IN arrStaticOb - obj.Visible = TRUE - NEXT + ME.txtHostName.text = ME.GET_CURRENT_HOST_NAME() + MdlNetConf.LIST_NETWORK_INTERFACES + IF ERROR THEN Message(Error.text & "\n" & Error.where) - ELSE - FOR EACH obj IN arrStaticOb - obj.Visible = FALSE - NEXT - END IF - - END + Modified: branches/iVL/FrmNetConf.form ============================================================================== --- branches/iVL/FrmNetConf.form (original) +++ branches/iVL/FrmNetConf.form Tue Sep 16 14:32:23 2008 @@ -1,52 +1,24 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,64,64) + MoveScaled(0,0,88,51) Text = ("") { tlHostNameLbl TextLabel - MoveScaled(1,6,16,3) + MoveScaled(1,2,16,3) Text = ("Computer Name") } { txtHostName TextBox - MoveScaled(18,6,28,3) + MoveScaled(18,2,28,3) Text = ("") } - { FrmIpSettings Frame - MoveScaled(1,11,62,33) - Text = (" TCP/IP Settings") - { cbIpSettings ComboBox - MoveScaled(1,3,16,2) - Text = ("") - ReadOnly = True - List = [("DHCP"), ("STATIC")] - } - { txtStaticIp TextBox - MoveScaled(25,6,19,3) - Text = ("") - } - { tlIpAddress TextLabel - MoveScaled(2,7,14,2) - Text = ("IP Address") - } - { tlSubNetMask TextLabel StaticSettings - Name = "tlSubNetMask" - MoveScaled(2,10,14,3) - Text = ("SubNet Mask") - } - { tlGatewayAddr TextLabel StaticSettings - Name = "tlGatewayAddr" - MoveScaled(2,14,17,3) - Text = ("Gateway Address") - } - { txtSubnetNask TextBox StaticSettings - Name = "txtSubnetNask" - MoveScaled(25,9,19,3) - Text = ("") - } - { txtGatewayaddr TextBox StaticSettings - Name = "txtGatewayaddr" - MoveScaled(25,13,19,3) - Text = ("") + { frmNetDevices Frame + MoveScaled(1,7,85,42) + Text = (" Network Interfaces") + { TSNetDevices TabStrip + MoveScaled(2,4,81,35) + Index = 0 + Text = ("Tab 0") + Index = 0 } } } Modified: branches/iVL/MdlNetConf.module ============================================================================== --- branches/iVL/MdlNetConf.module (original) +++ branches/iVL/MdlNetConf.module Tue Sep 16 14:32:23 2008 @@ -14,3 +14,81 @@ ' You should have received a copy of the GNU General Public License ' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. +PUBLIC SUB LIST_NETWORK_INTERFACES() + + ' This SUB will detect network interfaces and offer setup options for each one of them + DIM seths AS String + DIM saths AS String + DIM sDevList AS String[] + DIM sLine AS String[] + DIM sDev AS String + DIM sType AS String + DIM sDevAddr AS String + DIM tl AS TextLabel + DIM tb AS TextBox + DIM cb AS ComboBox + DIM i, ii AS Integer + DIM pTabPic AS picture = Picture["images/ethernet.png"] + + SHELL "ifconfig -a | grep eth" TO seths + File.Save(Temp("eths"), Trim(seths)) + + sDevList = Split(File.Load(DConv(Temp("eths"))), gb.NewLine) + 'Message(DConv(File.load(Temp("eths")))) + 'sEths = Trim(seths) + 'sDevList.Clear + + 'sDevList = Split(seths, "\n") + 'FrmNetConf.TsNetDevices.count = sDevList.count - 1 + 'PRINT FrmNetConf.TSNetDevices.count + 'PRINT sDevList.Count - 1 + 'FrmNetConf.TsNetDevices.index = 0 + FOR i = 0 TO sDevList.count - 1 + sLine = Split(sDevList[i], " ") + sDev = sLine[0] + sDevAddr = sLine[10] ' This may be off depending on which box this runs one... needs careful testing + + WITH FrmNetConf.TSNetDevices + PRINT .Count + + + .index = i + '.text = Left(sDevList[i], 4) + .text = sDev + IF sDevList[i] <> "" THEN + INC .Count + END IF + .picture = pTabPic + ' populate it with the objects + tl = NEW TextLabel(FrmNetConf.TSNetDevices) AS "DevAddresses" + WITH tl + .Move(4, 16) + .text = "Hardware Address" + .Height = 21 + .Alignment = Align.Normal + .Width = MdlObjSizer.get_object_width(.text) + + END WITH + tb = NEW TextBox(FrmNetConf.TSNetDevices) AS "txtDevAddresses" + WITH tb + .Move(tl.left + tl.Width + 4, tl.top) + .text = DConv(sDevAddr) + .ReadOnly = TRUE + .Width = MdlObjSizer.get_object_width(.text) + 24 + .Height = tl.Height + END WITH + END WITH + + + NEXT + FrmNetConf.TSNetDevices[FrmNetConf.TSNetDevices.count - 1].Delete ' Ugly hack to delete the trailing blank tab + + + + + + + IF ERROR THEN Message(Error.text & gb.newline & Error.where) + + +END Added: branches/iVL/images/ethernet.png ============================================================================== Binary file. No diff available. |
From: <cod...@go...> - 2008-09-10 01:53:31
|
Author: M0E.lnx Date: Tue Sep 9 18:51:36 2008 New Revision: 166 Added: branches/iVL/ClsNetConf.class branches/iVL/FrmNetConf.class branches/iVL/FrmNetConf.form branches/iVL/MdlNetConf.module Modified: branches/iVL/.lang/#project.pot branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/.project branches/iVL/FrmEmbUsrAdd.class Log: - Began netconf part Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/.project +# /home/vluser/area-51/projects/installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsGlobal.class +# /home/vluser/area-51/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsPartSel.class +# /home/vluser/area-51/projects/installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsWinDrives.class +# /home/vluser/area-51/projects/installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FMain.class +# /home/vluser/area-51/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmDiskPart.class +# /home/vluser/area-51/projects/installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmLicense.class +# /home/vluser/area-51/projects/installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPartScheme.class +# /home/vluser/area-51/projects/installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPartSel.class +# /home/vluser/area-51/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPkgSel.class +# /home/vluser/area-51/projects/installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmSelISO.class +# /home/vluser/area-51/projects/installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmSummary.class +# /home/vluser/area-51/projects/installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmWinDrives.class +# /home/vluser/area-51/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlCore.module +# /home/vluser/area-51/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlDiskPart.module +# /home/vluser/area-51/projects/installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlObjSizer.module +# /home/vluser/area-51/projects/installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlPartSel.module +# /home/vluser/area-51/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlPkgSel.module +# /home/vluser/area-51/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlSetup.module +# /home/vluser/area-51/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlSummarize.module +# /home/vluser/area-51/projects/installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Tue Sep 9 18:51:36 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlWinDrives.module +# /home/vluser/area-51/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Tue Sep 9 18:51:36 2008 @@ -1,6 +1,6 @@ # Gambas Project File 2.0 Title=VectorLinux Installer -Startup=FrmEmbUsrAdd +Startup=FrmNetConf Version=0.0.54 Library=gb.gtk Library=gb.form Added: branches/iVL/ClsNetConf.class ============================================================================== --- (empty file) +++ branches/iVL/ClsNetConf.class Tue Sep 9 18:51:36 2008 @@ -0,0 +1,16 @@ +' Gambas class file +' This file is part of vinstall-ng + +' vinstall-ng is free software: you can redistribute it and/or modify +' it under the terms of the GNU General Public License as published by +' the Free Software Foundation, either version 2 of the License, or +' (at your option) any later version. + +' vinstall-ng is distributed in the hope that it will be useful, +' but WITHOUT ANY WARRANTY; without even the implied warranty of +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +' GNU General Public License for more details. + +' You should have received a copy of the GNU General Public License +' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. +STATIC PUBLIC strHostName AS String Modified: branches/iVL/FrmEmbUsrAdd.class ============================================================================== --- branches/iVL/FrmEmbUsrAdd.class (original) +++ branches/iVL/FrmEmbUsrAdd.class Tue Sep 9 18:51:36 2008 @@ -30,7 +30,7 @@ PUBLIC SUB Form_Resize() WITH ME - .Embedder1.Move(0, 0, .ClientWidth, .ClientHeight) + .Embedder1.Move(0, 2, .ClientWidth - 4, .ClientHeight - 24) END WITH END Added: branches/iVL/FrmNetConf.class ============================================================================== --- (empty file) +++ branches/iVL/FrmNetConf.class Tue Sep 9 18:51:36 2008 @@ -0,0 +1,60 @@ +' Gambas class file +' This file is part of vinstall-ng + +' vinstall-ng is free software: you can redistribute it and/or modify +' it under the terms of the GNU General Public License as published by +' the Free Software Foundation, either version 2 of the License, or +' (at your option) any later version. + +' vinstall-ng is distributed in the hope that it will be useful, +' but WITHOUT ANY WARRANTY; without even the implied warranty of +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +' GNU General Public License for more details. + +' You should have received a copy of the GNU General Public License +' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. +PRIVATE arrStaticOb AS object[] + +PUBLIC SUB Form_Open() +DIM obj AS Object +arrStaticOb = NEW Object[] + + WITH ME + arrStaticOb.Add(.txtGatewayaddr) + arrStaticOb.Add(.txtSubnetNask) + arrStaticOb.Add(.tlGatewayAddr) + arrStaticOb.Add(.tlSubNetMask) + arrStaticOb.Add(.tlIpAddress) + arrStaticOb.Add(.txtStaticIp) + END WITH +FOR EACH obj IN arrStaticOb + obj.Visible = FALSE +NEXT + + +END + +PUBLIC SUB tlHostNameLbl_MouseDown() + + + +END + +PUBLIC SUB cbIpSettings_Click() + DIM tb AS TextBox + DIM tl AS TextLabel + DIM obj AS Object + IF ME.cbIpSettings.text = "STATIC" THEN + + FOR EACH obj IN arrStaticOb + obj.Visible = TRUE + NEXT + + ELSE + FOR EACH obj IN arrStaticOb + obj.Visible = FALSE + NEXT + END IF + + +END Added: branches/iVL/FrmNetConf.form ============================================================================== --- (empty file) +++ branches/iVL/FrmNetConf.form Tue Sep 9 18:51:36 2008 @@ -0,0 +1,52 @@ +# Gambas Form File 2.0 + +{ Form Form + MoveScaled(0,0,64,64) + Text = ("") + { tlHostNameLbl TextLabel + MoveScaled(1,6,16,3) + Text = ("Computer Name") + } + { txtHostName TextBox + MoveScaled(18,6,28,3) + Text = ("") + } + { FrmIpSettings Frame + MoveScaled(1,11,62,33) + Text = (" TCP/IP Settings") + { cbIpSettings ComboBox + MoveScaled(1,3,16,2) + Text = ("") + ReadOnly = True + List = [("DHCP"), ("STATIC")] + } + { txtStaticIp TextBox + MoveScaled(25,6,19,3) + Text = ("") + } + { tlIpAddress TextLabel + MoveScaled(2,7,14,2) + Text = ("IP Address") + } + { tlSubNetMask TextLabel StaticSettings + Name = "tlSubNetMask" + MoveScaled(2,10,14,3) + Text = ("SubNet Mask") + } + { tlGatewayAddr TextLabel StaticSettings + Name = "tlGatewayAddr" + MoveScaled(2,14,17,3) + Text = ("Gateway Address") + } + { txtSubnetNask TextBox StaticSettings + Name = "txtSubnetNask" + MoveScaled(25,9,19,3) + Text = ("") + } + { txtGatewayaddr TextBox StaticSettings + Name = "txtGatewayaddr" + MoveScaled(25,13,19,3) + Text = ("") + } + } +} Added: branches/iVL/MdlNetConf.module ============================================================================== --- (empty file) +++ branches/iVL/MdlNetConf.module Tue Sep 9 18:51:36 2008 @@ -0,0 +1,16 @@ +' Gambas module file +' This file is part of vinstall-ng + +' vinstall-ng is free software: you can redistribute it and/or modify +' it under the terms of the GNU General Public License as published by +' the Free Software Foundation, either version 2 of the License, or +' (at your option) any later version. + +' vinstall-ng is distributed in the hope that it will be useful, +' but WITHOUT ANY WARRANTY; without even the implied warranty of +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +' GNU General Public License for more details. + +' You should have received a copy of the GNU General Public License +' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. + |
From: M0E L. <m0...@gm...> - 2008-09-09 21:04:22
|
Attn Uelsk8s I have added the necessary code to embed the existing adduser.gambas from vasmCC. See if that looks or works better than the attempt in the installer. Also, if anyone can break down how the netconf thingie works... so I can start writing that part Need to know What I Data i need to collect from the user What to do with this data, where to save it Any commands to run to make the changes take effect and so forth I dont have much time ATM, but I hope to get back to it later this week |
From: <cod...@go...> - 2008-09-09 20:41:19
|
Author: M0...@gm... Date: Tue Sep 9 13:41:01 2008 New Revision: 165 Added: branches/iVL/FrmEmbUsrAdd.class branches/iVL/FrmEmbUsrAdd.form branches/iVL/adduser.gambas (contents, props changed) Modified: branches/iVL/.project Log: - Added embedded vuseradd module from vasmcc Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Tue Sep 9 13:41:01 2008 @@ -1,6 +1,6 @@ # Gambas Project File 2.0 Title=VectorLinux Installer -Startup=FrmZoneSet +Startup=FrmEmbUsrAdd Version=0.0.54 Library=gb.gtk Library=gb.form Added: branches/iVL/FrmEmbUsrAdd.class ============================================================================== --- (empty file) +++ branches/iVL/FrmEmbUsrAdd.class Tue Sep 9 13:41:01 2008 @@ -0,0 +1,43 @@ +' Gambas class file + +' This file is part of vinstall-ng + +' vinstall-ng is free software: you can redistribute it and/or modify +' it under the terms of the GNU General Public License as published by +' the Free Software Foundation, either version 2 of the License, or +' (at your option) any later version. + +' vinstall-ng is distributed in the hope that it will be useful, +' but WITHOUT ANY WARRANTY; without even the implied warranty of +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +' GNU General Public License for more details. + +' You should have received a copy of the GNU General Public License +' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. + +PUBLIC SUB Form_Open() + + DIM iID AS Integer = ME.Embedder1.Id + + SHELL "$PWD/adduser.gambas " & iID & Space(1) & ME.ClientWidth & Space(1) & ME.clientHeight + MdlCore.LOCK_GUI() + + + + +END + +PUBLIC SUB Form_Resize() + + WITH ME + .Embedder1.Move(0, 0, .ClientWidth, .ClientHeight) + END WITH + +END + +PUBLIC SUB Embedder1_Close() + + MdlCore.unlock_gui() + + +END Added: branches/iVL/FrmEmbUsrAdd.form ============================================================================== --- (empty file) +++ branches/iVL/FrmEmbUsrAdd.form Tue Sep 9 13:41:01 2008 @@ -0,0 +1,9 @@ +# Gambas Form File 2.0 + +{ Form Form + MoveScaled(0,0,64,64) + Text = ("") + { Embedder1 Embedder + MoveScaled(1,3,60,47) + } +} Added: branches/iVL/adduser.gambas ============================================================================== Binary file. No diff available. |
From: <cod...@go...> - 2008-09-09 19:56:29
|
Author: M0...@gm... Date: Tue Sep 9 12:56:23 2008 New Revision: 164 Modified: branches/iVL/FrmZoneSet.class Log: - Addec license to ZoneSet.class file Modified: branches/iVL/FrmZoneSet.class ============================================================================== --- branches/iVL/FrmZoneSet.class (original) +++ branches/iVL/FrmZoneSet.class Tue Sep 9 12:56:23 2008 @@ -1,5 +1,20 @@ ' Gambas class file +' This file is part of vinstall-ng + +' vinstall-ng is free software: you can redistribute it and/or modify +' it under the terms of the GNU General Public License as published by +' the Free Software Foundation, either version 2 of the License, or +' (at your option) any later version. + +' vinstall-ng is distributed in the hope that it will be useful, +' but WITHOUT ANY WARRANTY; without even the implied warranty of +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +' GNU General Public License for more details. + +' You should have received a copy of the GNU General Public License +' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. + PUBLIC SUB Form_Open() Fmain.frmcurr = ME |
From: <cod...@go...> - 2008-09-09 02:03:33
|
Author: m0e.lnx Date: Mon Sep 8 19:03:06 2008 New Revision: 163 Modified: branches/iVL/.lang/FMain.pot branches/iVL/FrmZoneSet.form Log: - Made objects read-only on zoneset Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Mon Sep 8 19:03:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FMain.class +# /home/remote/area-51/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/FrmZoneSet.form ============================================================================== --- branches/iVL/FrmZoneSet.form (original) +++ branches/iVL/FrmZoneSet.form Mon Sep 8 19:03:06 2008 @@ -20,6 +20,7 @@ { cbHwClock ComboBox MoveScaled(1,11,34,3) Text = ("ComboBox1") + ReadOnly = True List = [("LocalTime"), ("UTC")] } { Button1 Button |
From: <cod...@go...> - 2008-09-08 21:28:40
|
Author: M0...@gm... Date: Mon Sep 8 14:26:59 2008 New Revision: 162 Modified: branches/iVL/.lang/#project.pot branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/.project branches/iVL/FMain.class branches/iVL/FrmUserAdd.class branches/iVL/FrmUserAdd.form branches/iVL/MdlLiloOsList.module Log: - Fixed resizing on the user add window - Added code to bypass lilo installation / setup on user request Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/.project +# /home/moe/projects/installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/ClsGlobal.class +# /home/moe/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/ClsPartSel.class +# /home/moe/projects/installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/ClsWinDrives.class +# /home/moe/projects/installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FMain.class +# /home/moe/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.class:328 +#: FMain.class:334 msgid "Process Overview" msgstr "" -#: FMain.class:348 +#: FMain.class:354 msgid "Next" msgstr "" -#: FMain.class:354 +#: FMain.class:360 msgid "Back" msgstr "" -#: FMain.class:360 +#: FMain.class:366 msgid "Exit" msgstr "" Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmDiskPart.class +# /home/moe/projects/installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmLicense.class +# /home/moe/projects/installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmPartScheme.class +# /home/moe/projects/installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmPartSel.class +# /home/moe/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmPkgSel.class +# /home/moe/projects/installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmSelISO.class +# /home/moe/projects/installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmSummary.class +# /home/moe/projects/installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/FrmWinDrives.class +# /home/moe/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlCore.module +# /home/moe/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlDiskPart.module +# /home/moe/projects/installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlObjSizer.module +# /home/moe/projects/installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlPartSel.module +# /home/moe/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlPkgSel.module +# /home/moe/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlSetup.module +# /home/moe/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlSummarize.module +# /home/moe/projects/installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Mon Sep 8 14:26:59 2008 @@ -1,4 +1,4 @@ -# /home/remote/area-51/projects/installer/MdlWinDrives.module +# /home/moe/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Mon Sep 8 14:26:59 2008 @@ -1,6 +1,6 @@ # Gambas Project File 2.0 Title=VectorLinux Installer -Startup=FrmUserAdd +Startup=FrmZoneSet Version=0.0.54 Library=gb.gtk Library=gb.form Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Mon Sep 8 14:26:59 2008 @@ -245,12 +245,18 @@ frmNext = FrmLilo CASE "FrmLilo" + 'make sure lilo has not been bypassed + IF FrmLilo.YNLiloBox.Value = FALSE THEN + ' Now that lilo has been setup, write it to the config MdlConfLilo.GENERATE_LILO_DOT_CONF MdlConfLilo.GATHER_OTHER_LINUX_KERNELS_AND_INITRDS() MdlConfLilo.WRITE_LILO_DOT_CONF() MdlConfLilo.EXECUTE_LILO() - + ELSE + ' lilo installation / setup has been skipped + FrmLilo.tlBanner.Text = "<b>Skipping lilo setup</b>" + END IF 'frmNext = FrmLiloOsList frmNext = FrmZoneSet @@ -267,7 +273,7 @@ CASE "FrmUserAdd" - frmNext = FrmLilo +' frmNext = FrmLilo ' this is already done END SELECT Modified: branches/iVL/FrmUserAdd.class ============================================================================== --- branches/iVL/FrmUserAdd.class (original) +++ branches/iVL/FrmUserAdd.class Mon Sep 8 14:26:59 2008 @@ -68,14 +68,14 @@ .TextLabel1.Move(4, 12, .Frame1.Width - (.TextLabel1.Left * 2)) .TextLabel2.Move(4, .TextLabel1.top + .TextLabel1.Height + 16, 130) - .tbUsername.Move(.TextLabel2.Left + .TextLabel2.Width + 4, .TextLabel2.top, 150) - '.tbUsername.Move(.tTextLabel2.left + .TextLabel2.Width + 4, .TextLabel2.top, 150) - - .TextLabel3.Move(4, .tbPasswd1.top + .tbPasswd1.Height + 4, 130) - .tbPasswd1.Move(.TextLabel3.Left + .TextLabel3.Width + 4, .TextLabel3.Top) - .tbPasswd2.Move(.tbPasswd1.left, .TextLabel3.top, .tbPasswd1.Width) - .TextLabel4.Move(4, .tbPasswd2.top + .tbPasswd2.Height + 4, .TextLabel1.Width) + .tbUsername.Move(.TextLabel2.left + .TextLabel2.Width + 4, .TextLabel2.top, 150) + .TextLabel3.Move(4, .TextLabel2.top + .TextLabel2.Height + 4, 130) + .tbPasswd1.Move(.TextLabel3.left + .TextLabel3.Width + 4, .TextLabel3.top, 150) + .TextLabel4.Move(4, .TextLabel3.top + .TextLabel3.Height + 4, 130) + .tbPasswd2.Move(.TextLabel4.left + .TextLabel4.Width + 4, .TextLabel4.top, 150) + .Button1.Move(.TextLabel4.left, .TextLabel4.top + .TextLabel4.Height + 8, MdlObjSizer.get_object_width(.button1.text) + 24) + END WITH Modified: branches/iVL/FrmUserAdd.form ============================================================================== --- branches/iVL/FrmUserAdd.form (original) +++ branches/iVL/FrmUserAdd.form Mon Sep 8 14:26:59 2008 @@ -11,33 +11,33 @@ Text = ("Choose a unique name for each user. Enter the password for twice for accuracy. You can make as many users as you want, and when you are finished click next to continue.") } { TextLabel2 TextLabel - MoveScaled(2,17,12,2) + MoveScaled(2,17,12,3) Text = ("Username") } { tbUsername TextBox - MoveScaled(14,17,15,2) + MoveScaled(14,17,15,3) Text = ("") } { TextLabel3 TextLabel - MoveScaled(2,20,16,2) + MoveScaled(2,20,16,3) Text = ("Enter Password") } { tbPasswd1 TextBox - MoveScaled(16,20,16,2) + MoveScaled(16,20,16,3) Text = ("") Password = True } { TextLabel4 TextLabel - MoveScaled(2,23,14,2) + MoveScaled(2,23,14,3) Text = ("ReEnter Password") } { tbPasswd2 TextBox - MoveScaled(16,23,16,2) + MoveScaled(16,23,16,3) Text = ("") Password = True } { Button1 Button - MoveScaled(45,29,14,1) + MoveScaled(2,27,14,1) Text = ("Create User") } } Modified: branches/iVL/MdlLiloOsList.module ============================================================================== --- branches/iVL/MdlLiloOsList.module (original) +++ branches/iVL/MdlLiloOsList.module Mon Sep 8 14:26:59 2008 @@ -84,7 +84,7 @@ .MaxLength = 15 .Height = 27 .Width = MdlObjSizer.get_object_width(.text) * 2 - .Move(tl.left + tl.Width + 8, tl.top) + .Move(tl.left + tl.Width + 8, tl.top) .BackColor = Color.Background END WITH |
From: <cod...@go...> - 2008-09-03 03:16:28
|
Author: m0e.lnx Date: Tue Sep 2 20:14:26 2008 New Revision: 161 Modified: branches/iVL/.lang/#project.pot branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/.project branches/iVL/FMain.class branches/iVL/FrmRootPass.form branches/iVL/FrmUserAdd.class branches/iVL/FrmUserAdd.form branches/iVL/FrmZoneSet.class branches/iVL/FrmZoneSet.form Log: - Added code to reposition objects on FrmZoneSet_resize - Moved Button1's click event code to Fmain.btnext to avoid more buttons on the forms - Moved objects into a frame in FrmZoneSet Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/.project +# /home/remote/area-51/projects/installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/ClsGlobal.class +# /home/remote/area-51/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/ClsPartSel.class +# /home/remote/area-51/projects/installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/ClsWinDrives.class +# /home/remote/area-51/projects/installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FMain.class +# /home/remote/area-51/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.class:316 +#: FMain.class:328 msgid "Process Overview" msgstr "" -#: FMain.class:336 +#: FMain.class:348 msgid "Next" msgstr "" -#: FMain.class:342 +#: FMain.class:354 msgid "Back" msgstr "" -#: FMain.class:348 +#: FMain.class:360 msgid "Exit" msgstr "" Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmDiskPart.class +# /home/remote/area-51/projects/installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmLicense.class +# /home/remote/area-51/projects/installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmPartScheme.class +# /home/remote/area-51/projects/installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmPartSel.class +# /home/remote/area-51/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmPkgSel.class +# /home/remote/area-51/projects/installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmSelISO.class +# /home/remote/area-51/projects/installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmSummary.class +# /home/remote/area-51/projects/installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/FrmWinDrives.class +# /home/remote/area-51/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlCore.module +# /home/remote/area-51/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlDiskPart.module +# /home/remote/area-51/projects/installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlObjSizer.module +# /home/remote/area-51/projects/installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlPartSel.module +# /home/remote/area-51/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlPkgSel.module +# /home/remote/area-51/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlSetup.module +# /home/remote/area-51/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlSummarize.module +# /home/remote/area-51/projects/installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Tue Sep 2 20:14:26 2008 @@ -1,4 +1,4 @@ -# /home/uel/svn-installer/MdlWinDrives.module +# /home/remote/area-51/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Tue Sep 2 20:14:26 2008 @@ -1,6 +1,6 @@ # Gambas Project File 2.0 Title=VectorLinux Installer -Startup=MdlCore +Startup=FrmUserAdd Version=0.0.54 Library=gb.gtk Library=gb.form Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Tue Sep 2 20:14:26 2008 @@ -257,6 +257,8 @@ CASE "FrmZoneSet" 'MdlZoneSet.TIME_ZONES() + MdlZoneSet.SET_ZONE(Trim(FrmZoneSet.lbTmZone.text)) + MdlZoneSet.WRITE_CONF() frmNext = FrmRootPass CASE "FrmRootPass" Modified: branches/iVL/FrmRootPass.form ============================================================================== --- branches/iVL/FrmRootPass.form (original) +++ branches/iVL/FrmRootPass.form Tue Sep 2 20:14:26 2008 @@ -1,7 +1,7 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,64,64) + MoveScaled(0,0,74,44) Text = ("") { Frame1 Frame MoveScaled(1,1,62,31) @@ -15,7 +15,7 @@ Text = ("Choose a password for the root account. You must enter the Root Password twice to ensure accuracy.") } { TextLabel3 TextLabel - MoveScaled(35,11,14,2) + MoveScaled(35,9,14,2) Text = ("Re-Enter Password") } { tbPasswd1 TextBox @@ -24,11 +24,11 @@ Password = True } { tbPasswd2 TextBox - MoveScaled(35,14,21,2) + MoveScaled(35,12,21,2) Text = ("") } { Button1 Button - MoveScaled(44,22,11,2) + MoveScaled(50,28,11,2) Text = ("Set Password") } } Modified: branches/iVL/FrmUserAdd.class ============================================================================== --- branches/iVL/FrmUserAdd.class (original) +++ branches/iVL/FrmUserAdd.class Tue Sep 2 20:14:26 2008 @@ -60,3 +60,29 @@ SHELL "reboot" END + +PUBLIC SUB Form_Resize() + + WITH ME + .Frame1.Move(4, 4, .ClientWidth - (.Frame1.left * 2), .ClientHeight - (.Frame1.Height * 2)) + .TextLabel1.Move(4, 12, .Frame1.Width - (.TextLabel1.Left * 2)) + + .TextLabel2.Move(4, .TextLabel1.top + .TextLabel1.Height + 16, 130) + .tbUsername.Move(.TextLabel2.Left + .TextLabel2.Width + 4, .TextLabel2.top, 150) + '.tbUsername.Move(.tTextLabel2.left + .TextLabel2.Width + 4, .TextLabel2.top, 150) + + .TextLabel3.Move(4, .tbPasswd1.top + .tbPasswd1.Height + 4, 130) + .tbPasswd1.Move(.TextLabel3.Left + .TextLabel3.Width + 4, .TextLabel3.Top) + .tbPasswd2.Move(.tbPasswd1.left, .TextLabel3.top, .tbPasswd1.Width) + .TextLabel4.Move(4, .tbPasswd2.top + .tbPasswd2.Height + 4, .TextLabel1.Width) + + + END WITH + +END + +PUBLIC SUB tbUsername_KeyPress() + + + +END Modified: branches/iVL/FrmUserAdd.form ============================================================================== --- branches/iVL/FrmUserAdd.form (original) +++ branches/iVL/FrmUserAdd.form Tue Sep 2 20:14:26 2008 @@ -1,43 +1,43 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,64,64) + MoveScaled(0,0,72,47) Text = ("") { Frame1 Frame - MoveScaled(1,1,62,37) + MoveScaled(1,2,62,37) Text = ("Add Users") { TextLabel1 TextLabel - MoveScaled(2,2,29,18) + MoveScaled(2,2,55,8) Text = ("Choose a unique name for each user. Enter the password for twice for accuracy. You can make as many users as you want, and when you are finished click next to continue.") } { TextLabel2 TextLabel - MoveScaled(36,2,12,2) + MoveScaled(2,17,12,2) Text = ("Username") } { tbUsername TextBox - MoveScaled(36,5,15,2) + MoveScaled(14,17,15,2) Text = ("") } { TextLabel3 TextLabel - MoveScaled(36,10,16,2) + MoveScaled(2,20,16,2) Text = ("Enter Password") } { tbPasswd1 TextBox - MoveScaled(36,14,16,2) + MoveScaled(16,20,16,2) Text = ("") Password = True } { TextLabel4 TextLabel - MoveScaled(36,18,14,2) + MoveScaled(2,23,14,2) Text = ("ReEnter Password") } { tbPasswd2 TextBox - MoveScaled(36,21,16,2) + MoveScaled(16,23,16,2) Text = ("") Password = True } { Button1 Button - MoveScaled(38,27,14,1) + MoveScaled(45,29,14,1) Text = ("Create User") } } Modified: branches/iVL/FrmZoneSet.class ============================================================================== --- branches/iVL/FrmZoneSet.class (original) +++ branches/iVL/FrmZoneSet.class Tue Sep 2 20:14:26 2008 @@ -17,9 +17,31 @@ END PUBLIC SUB Button1_Click() +' THis is not necessary, since the next button on the main window handles this MdlZoneSet.SET_ZONE(ME.lbTmZone.Text) MdlZoneSet.WRITE_CONF() Message("TimeZone " & ME.lbTmZone.Text & " Was set.") +END + +PUBLIC SUB Form_Resize() + + WITH ME + .Frame1.Move(4, 4, .ClientWidth - (.Frame1.left * 2), .ClientHeight - (.Frame1.top * 2)) + .TextLabel1.Move(4, 18, .Frame1.Width - (.TextLabel1.Left * 2)) + .cbHwClock.Move(.TextLabel1.left, .TextLabel1.top + .TextLabel1.Height + 4, (.TextLabel1.width / 2)) + .TextLabel2.Move(4, .cbHwClock.top + cbHwClock.Height + 8, .TextLabel1.Width) + .lbTmZone.Move(4, .TextLabel2.top + .TextLabel2.Height + 4, .cbHwClock.Width) + + + .TextLabel1.Adjust() + END WITH + +END + +PUBLIC SUB cbHwClock_Click() + + + END Modified: branches/iVL/FrmZoneSet.form ============================================================================== --- branches/iVL/FrmZoneSet.form (original) +++ branches/iVL/FrmZoneSet.form Tue Sep 2 20:14:26 2008 @@ -4,27 +4,28 @@ MoveScaled(0,0,81,55) Text = ("") { Frame1 Frame - MoveScaled(1,1,79,53) - Text = ("Set Hardware Clock and TimeZone") - } - { TextLabel1 TextLabel - MoveScaled(3,5,34,11) - Text = ("Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way.") - } - { TextLabel2 TextLabel - MoveScaled(3,21,23,13) - Text = ("Choose the correct timezone for the area in which you live.") - } - { Button1 Button - MoveScaled(49,50,12,3) - Text = ("Set TimeZone") - } - { lbTmZone ListBox - MoveScaled(29,18,32,23) - } - { cbHwClock ComboBox - MoveScaled(40,8,21,2) - Text = ("ComboBox1") - List = [("LocalTime"), ("UTC")] + MoveScaled(1,2,78,52) + Text = ("") + { TextLabel1 TextLabel + MoveScaled(1,2,74,8) + Text = ("Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way.") + } + { TextLabel2 TextLabel + MoveScaled(1,15,41,3) + Text = ("Choose the correct timezone for the area in which you live.") + } + { lbTmZone ListBox + MoveScaled(1,19,32,23) + } + { cbHwClock ComboBox + MoveScaled(1,11,34,3) + Text = ("ComboBox1") + List = [("LocalTime"), ("UTC")] + } + { Button1 Button + MoveScaled(47,47,12,3) + Visible = False + Text = ("Set TimeZone") + } } } |
From: <cod...@go...> - 2008-09-01 18:12:50
|
Author: uelsk8s Date: Mon Sep 1 11:12:29 2008 New Revision: 160 Modified: branches/iVL/FrmLilo.class branches/iVL/FrmRootPass.form branches/iVL/FrmUserAdd.class branches/iVL/MdlConfLilo.module branches/iVL/installer.gambas Log: small bugfixes, ready for testing Modified: branches/iVL/FrmLilo.class ============================================================================== --- branches/iVL/FrmLilo.class (original) +++ branches/iVL/FrmLilo.class Mon Sep 1 11:12:29 2008 @@ -19,7 +19,7 @@ PUBLIC sLiloTrgt AS String PUBLIC SUB Form_Open() - + DIM sOut AS String 'ClsPartSel.sRoot = "/dev/sdb1" ' FMain.FrmCurr = ME @@ -34,8 +34,19 @@ "for each one of them by clicking on each tab. To proceed with the default pre-set values, simply click \'" & FMain.btnext.text & "\'" ME.tlList.Adjust ME.TabStrip1.Index = MdlLiloOsList.iVltag -MdlLiloOsList.bVlCliOption = FALSE +MdlLiloOsList.bVlCliOption = TRUE +SHELL "mount -o bind /dev " & ClsGlobal.sTargetMnt &/ "dev" WAIT +SHELL "mount -o bind /proc " & ClsGlobal.sTargetMnt &/ "proc" WAIT + +SHELL "mkdir -p " & ClsGlobal.sTargetMnt &/ "var/log/setup/init" WAIT +SHELL "chmod 700 " & ClsGlobal.sTargetMnt &/ "var/log/setup/init" WAIT + 'SHELL "touch " & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" +sOut = "#!/bin/bash \n" & +"/sbin/config-stage1 gui-installer" +File.Save(ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2", sOut) +'SHELL "echo \"" & sOut & "\" >" & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" +SHELL "chmod +x " & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" 'ME.Maximized = TRUE Modified: branches/iVL/FrmRootPass.form ============================================================================== --- branches/iVL/FrmRootPass.form (original) +++ branches/iVL/FrmRootPass.form Mon Sep 1 11:12:29 2008 @@ -4,33 +4,32 @@ MoveScaled(0,0,64,64) Text = ("") { Frame1 Frame - MoveScaled(1,1,62,30) + MoveScaled(1,1,62,31) Text = ("Set Root Password") + { TextLabel2 TextLabel + MoveScaled(35,3,12,2) + Text = ("Enter Password") + } { TextLabel1 TextLabel - MoveScaled(3,3,29,11) + MoveScaled(1,4,29,11) Text = ("Choose a password for the root account. You must enter the Root Password twice to ensure accuracy.") } + { TextLabel3 TextLabel + MoveScaled(35,11,14,2) + Text = ("Re-Enter Password") + } { tbPasswd1 TextBox MoveScaled(35,6,21,2) Text = ("") Password = True } - { TextLabel2 TextLabel - MoveScaled(35,3,12,2) - Text = ("Enter Password") + { tbPasswd2 TextBox + MoveScaled(35,14,21,2) + Text = ("") } { Button1 Button - MoveScaled(46,18,11,2) + MoveScaled(44,22,11,2) Text = ("Set Password") } - } - { tbPasswd2 TextBox - MoveScaled(36,14,21,2) - Text = ("") - Password = True - } - { TextLabel3 TextLabel - MoveScaled(36,11,15,2) - Text = ("ReEnter Password") } } Modified: branches/iVL/FrmUserAdd.class ============================================================================== --- branches/iVL/FrmUserAdd.class (original) +++ branches/iVL/FrmUserAdd.class Mon Sep 1 11:12:29 2008 @@ -32,7 +32,8 @@ ELSE IF ME.tbPasswd1.Text = ME.tbPasswd2.Text THEN IF IsDir(sPicdir) THEN - SHELL "ln -s " & sPicdir & "/default3.png " & sPicdir &/ ME.tbUsername.Text & ".face.icon" + SHELL "cd " & sPicdir & " && ln -s root1.png root.face.icon" + SHELL "cd " & sPicdir & " && ln -s default3.png " & ME.tbUsername.Text & ".face.icon" ENDIF SHELL "chroot /mnt/target groupdel " & ME.tbUsername.Text WAIT SHELL "chroot /mnt/target groupadd -g " & iUID & Space(1) & ME.tbUsername.Text WAIT @@ -53,5 +54,9 @@ ENDIF ENDIF ENDIF + SHELL "umount " & ClsGlobal.sTargetMnt &/ "dev" WAIT + SHELL "umount " & ClsGlobal.sTargetMnt &/ "proc" WAIT + Message("Vectorlinux has been installed click OK to reboot") + SHELL "reboot" END Modified: branches/iVL/MdlConfLilo.module ============================================================================== --- branches/iVL/MdlConfLilo.module (original) +++ branches/iVL/MdlConfLilo.module Mon Sep 1 11:12:29 2008 @@ -89,8 +89,7 @@ DIM sOut AS String DIM sDump AS String - SHELL "mount -o bind /dev " & ClsGlobal.sTargetMnt &/ "dev" WAIT - SHELL "mount -o bind /proc " & ClsGlobal.sTargetMnt &/ "proc" WAIT + SHELL "chroot " & ClsGlobal.sTargetMnt & " /sbin/lilo || echo \'FAILED\'" TO sDump IF InStr(sDump, "FAILED") > 0 THEN Message.Error("Lilo returned an error. Please see below" & gb.NewLine & sDump) @@ -99,14 +98,6 @@ END IF 'SHELL "umount " & ClsGlobal.sTargetMnt &/ "dev" WAIT 'SHELL "umount " & ClsGlobal.sTargetMnt &/ "proc" WAIT - SHELL "mkdir -p " & ClsGlobal.sTargetMnt &/ "var/log/setup/init" WAIT - SHELL "chmod 700 " & ClsGlobal.sTargetMnt &/ "var/log/setup/init" WAIT - 'SHELL "touch " & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" - sOut = "#!/bin/bash \n" & - "/sbin/config-stage1 vector-virgin-heavy" - File.Save(ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2", sOut) - 'SHELL "echo \"" & sOut & "\" >" & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" - SHELL "chmod +x " & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" 'Message("Vectorlinux has been installed click OK to reboot") 'SHELL "reboot" END Modified: branches/iVL/installer.gambas ============================================================================== Binary files. No diff available. |
From: <cod...@go...> - 2008-09-01 17:06:34
|
Author: uelsk8s Date: Mon Sep 1 10:05:33 2008 New Revision: 159 Added: branches/iVL/FrmUserAdd.class branches/iVL/FrmUserAdd.form Modified: branches/iVL/FMain.class branches/iVL/FrmRootPass.class branches/iVL/FrmZoneSet.form branches/iVL/MdlConfLilo.module branches/iVL/MdlCore.module branches/iVL/MdlZoneSet.module branches/iVL/installer.gambas Log: added useradd module Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Mon Sep 1 10:05:33 2008 @@ -33,6 +33,7 @@ MdlCore.LOCK_GUI 'MdlCore.LOCK_GUI() ClsGlobal.sBackNav = NEW Object[] +ClsGlobal.sSourceMnt = "/mnt/cdrom" 'ClsGlobal.sSourceMnt = "/mnt" &/ "source" 'FOR TESTING ONLY '/ THE FOLLOWING LINES HAVE BEEN COMMENTED FOR TESTING ONLY @@ -260,7 +261,11 @@ CASE "FrmRootPass" - frmNext = FrmRootPass + frmNext = FrmUserAdd + + CASE "FrmUserAdd" + + frmNext = FrmLilo END SELECT Modified: branches/iVL/FrmRootPass.class ============================================================================== --- branches/iVL/FrmRootPass.class (original) +++ branches/iVL/FrmRootPass.class Mon Sep 1 10:05:33 2008 @@ -10,7 +10,8 @@ Message("Enter a Password for root.") ELSE IF ME.tbPasswd1.Text = ME.tbPasswd2.Text THEN - SHELL "chroot /mnt/target /sbin/passwdx root " & ME.tbPasswd1.Text + 'Message("chroot /mnt/target /sbin/passwdx root " & ME.tbPasswd1.Text) + SHELL "chroot /mnt/target /sbin/passwdx root " & ME.tbPasswd1.Text WAIT Message("Root password Set.") ME.tbPasswd1.Clear ME.tbPasswd2.Clear Added: branches/iVL/FrmUserAdd.class ============================================================================== --- (empty file) +++ branches/iVL/FrmUserAdd.class Mon Sep 1 10:05:33 2008 @@ -0,0 +1,57 @@ +' Gambas class file +PUBLIC iUID AS Integer = 1000 + +PUBLIC SUB Form_Open() + Fmain.frmcurr = ME +END + + +PUBLIC SUB Button1_Click() + DIM sCAPS AS String + DIM sCHAR AS String + DIM sLogE AS String + DIM sPicdir AS String = "/mnt/target/usr/share/apps/kdm/pics/users/" + DIM sGroups AS String = "plugdev,disk,cdrom,floppy,lp,scanner,audio,video,games" + + + IF ME.tbUsername.Text = "" THEN + Message("Enter a UserName") + ELSE + SHELL "echo " & ME.tbUsername.Text & "| grep -e \'[A-Z]\'" TO sCAPS + SHELL "echo " & ME.tbUsername.Text & "| grep -e \'[^a-z0-9_-]\'" TO sCHAR + SHELL "grep -e ^" & ME.tbUsername.Text & " /mnt/target/etc/passwd" TO sLogE + IF sCAPS <> "" THEN + Message("Username contains illegal characters (CAPITAL)") + ELSE IF sCHAR <> "" THEN + Message("Username contains illegal characters") + ELSE IF sLogE <> "" THEN + Message("Username already exists") + ELSE + IF ME.tbPasswd1.Text = "" THEN + Message("Enter a Password.") + ELSE + IF ME.tbPasswd1.Text = ME.tbPasswd2.Text THEN + IF IsDir(sPicdir) THEN + SHELL "ln -s " & sPicdir & "/default3.png " & sPicdir &/ ME.tbUsername.Text & ".face.icon" + ENDIF + SHELL "chroot /mnt/target groupdel " & ME.tbUsername.Text WAIT + SHELL "chroot /mnt/target groupadd -g " & iUID & Space(1) & ME.tbUsername.Text WAIT + 'Message("chroot /mnt/target /usr/sbin/useradd -m -s /bin/bash -u " & iUID & " -g " & ME.tbUsername.Text & " -G " & sGroups & ME.tbUsername.Text) + SHELL "chroot /mnt/target /usr/sbin/useradd -m -s /bin/bash -u " & iUID & " -g " & ME.tbUsername.Text & " -G " & sGroups & Space(1) & ME.tbUsername.Text WAIT + 'Message("chroot /mnt/target /sbin/passwdx " & ME.tbUsername.Text & Space(1) & ME.tbPasswd1.Text) + SHELL "chroot /mnt/target /sbin/passwdx " & ME.tbUsername.Text & Space(1) & ME.tbPasswd1.Text WAIT + Message("user " & ME.tbUsername.Text & " was created.") + ME.tbUsername.Clear + ME.tbPasswd1.Clear + ME.tbPasswd2.Clear + INC iUID + ELSE + Message("Passwords do not match") + ME.tbPasswd1.Clear + ME.tbPasswd2.Clear + ENDIF + ENDIF + ENDIF + ENDIF +END + Added: branches/iVL/FrmUserAdd.form ============================================================================== --- (empty file) +++ branches/iVL/FrmUserAdd.form Mon Sep 1 10:05:33 2008 @@ -0,0 +1,44 @@ +# Gambas Form File 2.0 + +{ Form Form + MoveScaled(0,0,64,64) + Text = ("") + { Frame1 Frame + MoveScaled(1,1,62,37) + Text = ("Add Users") + { TextLabel1 TextLabel + MoveScaled(2,2,29,18) + Text = ("Choose a unique name for each user. Enter the password for twice for accuracy. You can make as many users as you want, and when you are finished click next to continue.") + } + { TextLabel2 TextLabel + MoveScaled(36,2,12,2) + Text = ("Username") + } + { tbUsername TextBox + MoveScaled(36,5,15,2) + Text = ("") + } + { TextLabel3 TextLabel + MoveScaled(36,10,16,2) + Text = ("Enter Password") + } + { tbPasswd1 TextBox + MoveScaled(36,14,16,2) + Text = ("") + Password = True + } + { TextLabel4 TextLabel + MoveScaled(36,18,14,2) + Text = ("ReEnter Password") + } + { tbPasswd2 TextBox + MoveScaled(36,21,16,2) + Text = ("") + Password = True + } + { Button1 Button + MoveScaled(38,27,14,1) + Text = ("Create User") + } + } +} Modified: branches/iVL/FrmZoneSet.form ============================================================================== --- branches/iVL/FrmZoneSet.form (original) +++ branches/iVL/FrmZoneSet.form Mon Sep 1 10:05:33 2008 @@ -1,10 +1,10 @@ # Gambas Form File 2.0 { Form Form - MoveScaled(0,0,64,55) + MoveScaled(0,0,81,55) Text = ("") { Frame1 Frame - MoveScaled(1,1,62,53) + MoveScaled(1,1,79,53) Text = ("Set Hardware Clock and TimeZone") } { TextLabel1 TextLabel Modified: branches/iVL/MdlConfLilo.module ============================================================================== --- branches/iVL/MdlConfLilo.module (original) +++ branches/iVL/MdlConfLilo.module Mon Sep 1 10:05:33 2008 @@ -97,8 +97,8 @@ ELSE Message("Boot loader has been setup successfully") END IF - SHELL "umount " & ClsGlobal.sTargetMnt &/ "dev" WAIT - SHELL "umount " & ClsGlobal.sTargetMnt &/ "proc" WAIT + 'SHELL "umount " & ClsGlobal.sTargetMnt &/ "dev" WAIT + 'SHELL "umount " & ClsGlobal.sTargetMnt &/ "proc" WAIT SHELL "mkdir -p " & ClsGlobal.sTargetMnt &/ "var/log/setup/init" WAIT SHELL "chmod 700 " & ClsGlobal.sTargetMnt &/ "var/log/setup/init" WAIT 'SHELL "touch " & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" Modified: branches/iVL/MdlCore.module ============================================================================== --- branches/iVL/MdlCore.module (original) +++ branches/iVL/MdlCore.module Mon Sep 1 10:05:33 2008 @@ -129,7 +129,7 @@ DIM i AS Integer - ClsGlobal.sSourceMnt = "/mnt/source" + 'ClsGlobal.sSourceMnt = "/mnt/source" sMountPoint = ClsGlobal.sSourceMnt sCmd = "cat /proc/sys/dev/cdrom/info | grep \"drive name\" |cut -f 2 -d\':\'|xargs -n 2" Modified: branches/iVL/MdlZoneSet.module ============================================================================== --- branches/iVL/MdlZoneSet.module (original) +++ branches/iVL/MdlZoneSet.module Mon Sep 1 10:05:33 2008 @@ -47,9 +47,9 @@ PUBLIC SUB SET_ZONE(sZone AS String) - SHELL "cd " & ClsGlobal.sTargetMnt & "/etc;rm " & sTimeLink & ";ln -s /usr/share/zoneinfo/" & sZone & Space(1) & sTimeLink + SHELL "cd " & ClsGlobal.sTargetMnt & "/etc;rm " & sTimeLink & ";ln -s /usr/share/zoneinfo/" & Trim(sZone) & Space(1) & sTimeLink PRINT "linking /usr/share/zoneinfo/" & sZone & " to /etc/" & sTimeLink - SHELL "cd " & ClsGlobal.sTargetMnt & "/etc;rm " & sTimeZone & ";cp /usr/share/zoneinfo/" & sZone & Space(1) & sTimeZone + SHELL "cd " & ClsGlobal.sTargetMnt & "/etc;rm " & sTimeZone & ";cp /usr/share/zoneinfo/" & Trim(sZone) & Space(1) & sTimeZone PRINT "copying /usr/share/zoneinfo/" & sZone & " to /etc/" & sTimeZone END @@ -64,4 +64,4 @@ File.Save(ClsGlobal.sTargetMnt & sTZConf, SConv(sConf)) END - \ No newline at end of file + Modified: branches/iVL/installer.gambas ============================================================================== Binary files. No diff available. |
From: <cod...@go...> - 2008-08-30 23:12:43
|
Author: uelsk8s Date: Sat Aug 30 16:12:21 2008 New Revision: 158 Added: branches/iVL/FrmRootPass.class branches/iVL/FrmRootPass.form Modified: branches/iVL/FMain.class branches/iVL/FrmZoneSet.class branches/iVL/FrmZoneSet.form Log: added root passwd module Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Sat Aug 30 16:12:21 2008 @@ -256,7 +256,11 @@ CASE "FrmZoneSet" 'MdlZoneSet.TIME_ZONES() - frmNext = FrmSelISO + frmNext = FrmRootPass + + CASE "FrmRootPass" + + frmNext = FrmRootPass END SELECT Added: branches/iVL/FrmRootPass.class ============================================================================== --- (empty file) +++ branches/iVL/FrmRootPass.class Sat Aug 30 16:12:21 2008 @@ -0,0 +1,23 @@ +' Gambas class file + +PUBLIC SUB Form_Open() + Fmain.frmcurr = ME +END + + +PUBLIC SUB Button1_Click() + IF ME.tbPasswd1.Text = "" THEN + Message("Enter a Password for root.") + ELSE + IF ME.tbPasswd1.Text = ME.tbPasswd2.Text THEN + SHELL "chroot /mnt/target /sbin/passwdx root " & ME.tbPasswd1.Text + Message("Root password Set.") + ME.tbPasswd1.Clear + ME.tbPasswd2.Clear + ELSE + Message("Passwords do not match") + ME.tbPasswd1.Clear + ME.tbPasswd2.Clear + ENDIF + ENDIF +END Added: branches/iVL/FrmRootPass.form ============================================================================== --- (empty file) +++ branches/iVL/FrmRootPass.form Sat Aug 30 16:12:21 2008 @@ -0,0 +1,36 @@ +# Gambas Form File 2.0 + +{ Form Form + MoveScaled(0,0,64,64) + Text = ("") + { Frame1 Frame + MoveScaled(1,1,62,30) + Text = ("Set Root Password") + { TextLabel1 TextLabel + MoveScaled(3,3,29,11) + Text = ("Choose a password for the root account. You must enter the Root Password twice to ensure accuracy.") + } + { tbPasswd1 TextBox + MoveScaled(35,6,21,2) + Text = ("") + Password = True + } + { TextLabel2 TextLabel + MoveScaled(35,3,12,2) + Text = ("Enter Password") + } + { Button1 Button + MoveScaled(46,18,11,2) + Text = ("Set Password") + } + } + { tbPasswd2 TextBox + MoveScaled(36,14,21,2) + Text = ("") + Password = True + } + { TextLabel3 TextLabel + MoveScaled(36,11,15,2) + Text = ("ReEnter Password") + } +} Modified: branches/iVL/FrmZoneSet.class ============================================================================== --- branches/iVL/FrmZoneSet.class (original) +++ branches/iVL/FrmZoneSet.class Sat Aug 30 16:12:21 2008 @@ -2,6 +2,7 @@ PUBLIC SUB Form_Open() + Fmain.frmcurr = ME MdlZoneSet.TIME_ZONES() ME.lbTmZone.Index = 9 @@ -10,8 +11,15 @@ PUBLIC SUB lbTmZone_Click() - Message(ME.lbTmZone.Text) + 'Message(ME.lbTmZone.Text) + + +END + +PUBLIC SUB Button1_Click() + MdlZoneSet.SET_ZONE(ME.lbTmZone.Text) MdlZoneSet.WRITE_CONF() - + Message("TimeZone " & ME.lbTmZone.Text & " Was set.") + END Modified: branches/iVL/FrmZoneSet.form ============================================================================== --- branches/iVL/FrmZoneSet.form (original) +++ branches/iVL/FrmZoneSet.form Sat Aug 30 16:12:21 2008 @@ -3,20 +3,28 @@ { Form Form MoveScaled(0,0,64,55) Text = ("") - { cbHwClock ComboBox - MoveScaled(40,8,21,2) - Text = ("ComboBox1") - List = [("LocalTime"), ("UTC")] + { Frame1 Frame + MoveScaled(1,1,62,53) + Text = ("Set Hardware Clock and TimeZone") } { TextLabel1 TextLabel - MoveScaled(1,2,34,11) + MoveScaled(3,5,34,11) Text = ("Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way.") } { TextLabel2 TextLabel - MoveScaled(1,17,23,13) + MoveScaled(3,21,23,13) Text = ("Choose the correct timezone for the area in which you live.") } + { Button1 Button + MoveScaled(49,50,12,3) + Text = ("Set TimeZone") + } { lbTmZone ListBox - MoveScaled(29,16,32,30) + MoveScaled(29,18,32,23) + } + { cbHwClock ComboBox + MoveScaled(40,8,21,2) + Text = ("ComboBox1") + List = [("LocalTime"), ("UTC")] } } |
From: <cod...@go...> - 2008-08-30 20:06:27
|
Author: uelsk8s Date: Sat Aug 30 13:05:58 2008 New Revision: 157 Modified: branches/iVL/FrmZoneSet.class branches/iVL/MdlZoneSet.module Log: Timezone working here Modified: branches/iVL/FrmZoneSet.class ============================================================================== --- branches/iVL/FrmZoneSet.class (original) +++ branches/iVL/FrmZoneSet.class Sat Aug 30 13:05:58 2008 @@ -11,5 +11,7 @@ PUBLIC SUB lbTmZone_Click() Message(ME.lbTmZone.Text) + MdlZoneSet.SET_ZONE(ME.lbTmZone.Text) + MdlZoneSet.WRITE_CONF() END Modified: branches/iVL/MdlZoneSet.module ============================================================================== --- branches/iVL/MdlZoneSet.module (original) +++ branches/iVL/MdlZoneSet.module Sat Aug 30 13:05:58 2008 @@ -24,21 +24,44 @@ "right/America/Dominica,right/America/Edmonton,right/America/Eirunepe,right/America/El_Salvador,right/America/Ensenada,right/America/Fort_Wayne,right/America/Fortaleza,right/America/Glace_Bay,right/America/Godthab,right/America/Goose_Bay,right/America/Grand_Turk,right/America/Grenada,right/America/Guadeloupe,right/America/Guatemala,right/America/Guayaquil,right/America/Guyana,right/America/Halifax,right/America/Havana,right/America/Hermosillo,right/America/Indiana/Indianapolis,right/America/Indiana/Knox,right/America/Indiana/Marengo,right/America/Indiana/Vevay,right/America/Indianapolis,right/America/Inuvik,right/America/Iqaluit,right/America/Jamaica,right/America/Jujuy,right/America/Juneau,right/America/Kentucky/Louisville,right/America/Kentucky/Monticello,right/America/Knox_IN,right/America/La_Paz,right/America/Lima,right/America/Los_Angeles,right/America/Louisville,right/America/Maceio,right/America/Managua,right/America/Manaus,right/America/Martinique,right/America/Mazatlan,right/America/Mendoza,right/America/Menominee,right/America/Merida,right/America/Mexico_City,right/America/Miquelon,right/America/Monterrey,right/America/Montevideo,right/America/Montreal,right/America/Montserrat,right/America/Nassau,right/America/New_York,right/America/Nipigon,right/America/Nome,right/America/Noronha,right/America/Panama,right/America/Pangnirtung,right/America/Paramaribo,right/America/Phoenix,right/America/Port-au-Prince,right/America/Port_of_Spain,right/America/Porto_Acre,right/America/Porto_Velho,right/America/Puerto_Rico,right/America/Rainy_River,right/America/Rankin_Inlet,right/America/Recife,right/America/Regina,right/America/Rosario,right/America/Santiago,right/America/Santo_Domingo,right/America/Sao_Paulo,right/America/Scoresbysund,right/America/Shiprock,right/America/St_Johns,right/America/St_Kitts,right/America/St_Lucia,right/America/St_Thomas,right/America/St_Vincent,right/America/Swift_Current,right/America/Tegucigalpa,right/America/Thule,right/America/Thunder_Bay,right/America/Tijuana,right/America/Tortola,right/America/Vancouver,right/America/Virgin,right/America/Whitehorse,right/America/Winnipeg,right/America/Yakutat,right/America/Yellowknife,right/Antarctica/Casey,right/Antarctica/Davis,right/Antarctica/DumontDUrville,right/Antarctica/Mawson,right/Antarctica/McMurdo,right/Antarctica/Palmer,right/Antarctica/South_Pole,right/Antarctica/Syowa,right/Arctic/Longyearbyen,right/Asia/Aden,right/Asia/Almaty,right/Asia/Amman,right/Asia/Anadyr,right/Asia/Aqtau,right/Asia/Aqtobe,right/Asia/Ashgabat,right/Asia/Ashkhabad,right/Asia/Baghdad,right/Asia/Bahrain,right/Asia/Baku,right/Asia/Bangkok,right/Asia/Beirut,right/Asia/Bishkek,right/Asia/Brunei,right/Asia/Calcutta,right/Asia/Chungking,right/Asia/Colombo,right/Asia/Dacca,right/Asia/Damascus,right/Asia/Dhaka,right/Asia/Dili,right/Asia/Dubai,right/Asia/Dushanbe,right/Asia/Gaza,right/Asia/Harbin,right/Asia/Hong_Kong,right/Asia/Hovd,right/Asia/Irkutsk,right/Asia/Istanbul,right/Asia/Jakarta,right/Asia/Jayapura,right/Asia/Jerusalem,right/Asia/Kabul,right/Asia/Kamchatka,right/Asia/Karachi,right/Asia/Kashgar,right/Asia/Katmandu,right/Asia/Krasnoyarsk,right/Asia/Kuala_Lumpur,right/Asia/Kuching,right/Asia/Kuwait,right/Asia/Macao,right/Asia/Macau,right/Asia/Magadan,right/Asia/Makassar,right/Asia/Manila,right/Asia/Muscat,right/Asia/Nicosia,right/Asia/Novosibirsk,right/Asia/Omsk,right/Asia/Oral,right/Asia/Phnom_Penh,right/Asia/Pyongyang,right/Asia/Qatar,right/Asia/Qyzylorda,right/Asia/Rangoon,right/Asia/Riyadh,right/Asia/Riyadh87," & "right/Asia/Riyadh88,right/Asia/Riyadh89,right/Asia/Saigon,right/Asia/Samarkand,right/Asia/Seoul,right/Asia/Shanghai,right/Asia/Singapore,right/Asia/Taipei,right/Asia/Tashkent,right/Asia/Tbilisi,right/Asia/Tehran,right/Asia/Tel_Aviv,right/Asia/Thimbu,right/Asia/Thimphu,right/Asia/Tokyo,right/Asia/Ujung_Pandang,right/Asia/Ulaanbaatar,right/Asia/Ulan_Bator,right/Asia/Urumqi,right/Asia/Vientiane,right/Asia/Vladivostok,right/Asia/Yakutsk,right/Asia/Yekaterinburg,right/Asia/Yerevan,right/Atlantic/Azores,right/Atlantic/Bermuda,right/Atlantic/Canary,right/Atlantic/Cape_Verde,right/Atlantic/Faeroe,right/Atlantic/Jan_Mayen,right/Atlantic/Madeira,right/Atlantic/Reykjavik,right/Atlantic/South_Georgia,right/Atlantic/St_Helena,right/Atlantic/Stanley,right/Australia/ACT,right/Australia/Adelaide,right/Australia/Brisbane,right/Australia/Broken_Hill,right/Australia/Canberra,right/Australia/Darwin,right/Australia/Hobart,right/Australia/LHI,right/Australia/Lindeman,right/Australia/Lord_Howe,right/Australia/Melbourne,right/Australia/NSW,right/Australia/North,right/Australia/Perth,right/Australia/Queensland,right/Australia/South,right/Australia/Sydney,right/Australia/Tasmania,right/Australia/Victoria,right/Australia/West,right/Australia/Yancowinna,right/Brazil/Acre,right/Brazil/DeNoronha,right/Brazil/East,right/Brazil/West,right/CET,right/CST6CDT,right/Canada/Atlantic,right/Canada/Central,right/Canada/East-Saskatchewan,right/Canada/Eastern,right/Canada/Mountain,right/Canada/Newfoundland,right/Canada/Pacific,right/Canada/Saskatchewan,right/Canada/Yukon,right/Chile/Continental,right/Chile/EasterIsland,right/Cuba,right/EET,right/EST,right/EST5EDT,right/Egypt,right/Eire,right/Etc/GMT,right/Etc/GMT+0,right/Etc/GMT+1,right/Etc/GMT+10,right/Etc/GMT+11,right/Etc/GMT+12,right/Etc/GMT+2,right/Etc/GMT+3,right/Etc/GMT+4,right/Etc/GMT+5,right/Etc/GMT+6,right/Etc/GMT+7,right/Etc/GMT+8,right/Etc/GMT+9,right/Etc/GMT-0,right/Etc/GMT-1,right/Etc/GMT-10,right/Etc/GMT-11,right/Etc/GMT-12,right/Etc/GMT-13,right/Etc/GMT-14,right/Etc/GMT-2,right/Etc/GMT-3,right/Etc/GMT-4,right/Etc/GMT-5,right/Etc/GMT-6,right/Etc/GMT-7,right/Etc/GMT-8,right/Etc/GMT-9,right/Etc/GMT0,right/Etc/Greenwich,right/Etc/UCT,right/Etc/UTC,right/Etc/Universal,right/Etc/Zulu,right/Europe/Amsterdam,right/Europe/Andorra,right/Europe/Athens,right/Europe/Belfast,right/Europe/Belgrade,right/Europe/Berlin,right/Europe/Bratislava,right/Europe/Brussels,right/Europe/Bucharest,right/Europe/Budapest,right/Europe/Chisinau,right/Europe/Copenhagen,right/Europe/Dublin,right/Europe/Gibraltar,right/Europe/Helsinki,right/Europe/Istanbul,right/Europe/Kaliningrad,right/Europe/Kiev,right/Europe/Lisbon,right/Europe/Ljubljana,right/Europe/London,right/Europe/Luxembourg,right/Europe/Madrid,right/Europe/Malta,right/Europe/Minsk,right/Europe/Monaco,right/Europe/Moscow,right/Europe/Nicosia,right/Europe/Oslo,right/Europe/Paris,right/Europe/Prague,right/Europe/Riga,right/Europe/Rome,right/Europe/Samara,right/Europe/San_Marino,right/Europe/Sarajevo,right/Europe/Simferopol,right/Europe/Skopje,right/Europe/Sofia,right/Europe/Stockholm,right/Europe/Tallinn,right/Europe/Tirane,right/Europe/Tiraspol,right/Europe/Uzhgorod,right/Europe/Vaduz,right/Europe/Vatican,right/Europe/Vienna,right/Europe/Vilnius,right/Europe/Warsaw,right/Europe/Zagreb,right/Europe/Zaporozhye,right/Europe/Zurich,right/Factory,right/GB,right/GB-Eire,right/GMT,right/GMT+0,right/GMT-0,right/GMT0,right/Greenwich,right/HST,right/Hongkong,right/Iceland,right/Indian/Antananarivo,right/Indian/Chagos,right/Indian/Christmas,right/Indian/Cocos,right/Indian/Comoro,right/Indian/Kerguelen," & "right/Indian/Mahe,right/Indian/Maldives,right/Indian/Mauritius,right/Indian/Mayotte,right/Indian/Reunion,right/Iran,right/Israel,right/Jamaica,right/Japan,right/Kwajalein,right/Libya,right/MET,right/MST,right/MST7MDT,right/Mexico/BajaNorte,right/Mexico/BajaSur,right/Mexico/General,right/Mideast/Riyadh87,right/Mideast/Riyadh88,right/Mideast/Riyadh89,right/NZ,right/NZ-CHAT,right/Navajo,right/PRC,right/PST8PDT,right/Pacific/Apia,right/Pacific/Auckland,right/Pacific/Chatham,right/Pacific/Easter,right/Pacific/Efate,right/Pacific/Enderbury,right/Pacific/Fakaofo,right/Pacific/Fiji,right/Pacific/Funafuti,right/Pacific/Galapagos,right/Pacific/Gambier,right/Pacific/Guadalcanal,right/Pacific/Guam,right/Pacific/Honolulu,right/Pacific/Johnston,right/Pacific/Kiritimati,right/Pacific/Kosrae,right/Pacific/Kwajalein,right/Pacific/Majuro,right/Pacific/Marquesas,right/Pacific/Midway,right/Pacific/Nauru,right/Pacific/Niue,right/Pacific/Norfolk,right/Pacific/Noumea,right/Pacific/Pago_Pago,right/Pacific/Palau,right/Pacific/Pitcairn,right/Pacific/Ponape,right/Pacific/Port_Moresby,right/Pacific/Rarotonga,right/Pacific/Saipan,right/Pacific/Samoa,right/Pacific/Tahiti,right/Pacific/Tarawa,right/Pacific/Tongatapu,right/Pacific/Truk,right/Pacific/Wake,right/Pacific/Wallis,right/Pacific/Yap,right/Poland,right/Portugal,right/ROC,right/ROK,right/Singapore,right/SystemV/AST4,right/SystemV/AST4ADT,right/SystemV/CST6,right/SystemV/CST6CDT,right/SystemV/EST5,right/SystemV/EST5EDT,right/SystemV/HST10,right/SystemV/MST7,right/SystemV/MST7MDT,right/SystemV/PST8,right/SystemV/PST8PDT,right/SystemV/YST9,right/SystemV/YST9YDT,right/Turkey,right/UCT,right/US/Alaska,right/US/Aleutian,right/US/Arizona,right/US/Central,right/US/East-Indiana,right/US/Eastern,right/US/Hawaii,right/US/Indiana-Starke,right/US/Michigan,right/US/Mountain,right/US/Pacific,right/US/Samoa,right/UTC,right/Universal,right/W-SU,right/WET,right/Zulu" - +PUBLIC sTimeLink AS String = "localtime-copied-from" +PUBLIC sTimeZone AS String = "localtime" +PUBLIC sTZConf AS String = "/etc/hardwareclock" PUBLIC SUB TIME_ZONES() -DIM stz AS String[] -DIM i AS Integer = 0 + DIM stz AS String[] + DIM i AS Integer = 0 -stz = Split(sTimeZones, ",") + stz = Split(sTimeZones, ",") -FOR EACH stz - FrmZoneSet.lbTmZone.add(stz[i]) - INC i -NEXT + FOR EACH stz + FrmZoneSet.lbTmZone.add(stz[i]) + INC i + NEXT -'Message(FrmZoneSet.lbTmZone.Text) + 'Message(FrmZoneSet.lbTmZone.Text) END + + +PUBLIC SUB SET_ZONE(sZone AS String) + SHELL "cd " & ClsGlobal.sTargetMnt & "/etc;rm " & sTimeLink & ";ln -s /usr/share/zoneinfo/" & sZone & Space(1) & sTimeLink + PRINT "linking /usr/share/zoneinfo/" & sZone & " to /etc/" & sTimeLink + SHELL "cd " & ClsGlobal.sTargetMnt & "/etc;rm " & sTimeZone & ";cp /usr/share/zoneinfo/" & sZone & Space(1) & sTimeZone + PRINT "copying /usr/share/zoneinfo/" & sZone & " to /etc/" & sTimeZone +END + +PUBLIC SUB WRITE_CONF() + + DIM sConf AS String = "# /etc/hardwareclock \n" & + "# \n" & + "# Tells how the hardware clock time is stored. \n" & + "# You should run vzoneset to edit this file. \n\n" & + FrmZoneSet.cbHwClock.Text + + File.Save(ClsGlobal.sTargetMnt & sTZConf, SConv(sConf)) +END + + \ No newline at end of file |
From: <cod...@go...> - 2008-08-30 05:27:48
|
Author: uelsk8s Date: Fri Aug 29 22:26:55 2008 New Revision: 156 Modified: branches/iVL/FMain.class branches/iVL/FrmLilo.class branches/iVL/MdlLiloOsList.module Log: Timezone list now populating now to make it do something Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Fri Aug 29 22:26:55 2008 @@ -255,7 +255,8 @@ frmNext = FrmZoneSet CASE "FrmZoneSet" - MdlZoneSet.TIME_ZONES + 'MdlZoneSet.TIME_ZONES() + frmNext = FrmSelISO END SELECT Modified: branches/iVL/FrmLilo.class ============================================================================== --- branches/iVL/FrmLilo.class (original) +++ branches/iVL/FrmLilo.class Fri Aug 29 22:26:55 2008 @@ -44,7 +44,6 @@ FBResolution_Click() MdlLiloOsList.list_boot_options() ME.TabStrip1.Index = 0 -'ME.TabStrip1.Linux.Click() 'set the focus to the Linux tab HOW? ME.cbDefBoot.Text = "Linux" END Modified: branches/iVL/MdlLiloOsList.module ============================================================================== --- branches/iVL/MdlLiloOsList.module (original) +++ branches/iVL/MdlLiloOsList.module Fri Aug 29 22:26:55 2008 @@ -358,7 +358,7 @@ ' Add an option to boot the recently installed OS to CLI mode 'ClsPartSel.sRoot = "/dev/sdb" ' for testing only - IF sLiloDesc LIKE "Vector" THEN + 'IF sLiloDesc LIKE "Vector" THEN IF arrLinux[i] = ClsPartSel.sRoot THEN cbInclude = NEW CheckBox(FrmLilo.TabStrip1) AS "VlCliOption" WITH cbInclude @@ -372,18 +372,11 @@ END WITH ME.iVlTag = FrmLilo.TabStrip1.Index - 1 END IF - - END IF - - - + 'END IF END WITH ' end jacking with the tabstrip itself - - - END IF - - SHELL "umount /tmp/lilo_tmp" WAIT - END IF + END IF + SHELL "umount /tmp/lilo_tmp" WAIT + END IF NEXT FOR i = 0 TO FrmLilo.TabStrip1.Count - 1 |
From: <cod...@go...> - 2008-08-30 05:23:51
|
Author: uelsk8s Date: Fri Aug 29 22:23:32 2008 New Revision: 155 Modified: branches/iVL/FrmZoneSet.class branches/iVL/FrmZoneSet.form branches/iVL/MdlZoneSet.module Log: Timezone list now populating now to make it do something Modified: branches/iVL/FrmZoneSet.class ============================================================================== --- branches/iVL/FrmZoneSet.class (original) +++ branches/iVL/FrmZoneSet.class Fri Aug 29 22:23:32 2008 @@ -1,2 +1,15 @@ ' Gambas class file + +PUBLIC SUB Form_Open() + + MdlZoneSet.TIME_ZONES() + ME.lbTmZone.Index = 9 +END + + +PUBLIC SUB lbTmZone_Click() + + Message(ME.lbTmZone.Text) + +END Modified: branches/iVL/FrmZoneSet.form ============================================================================== --- branches/iVL/FrmZoneSet.form (original) +++ branches/iVL/FrmZoneSet.form Fri Aug 29 22:23:32 2008 @@ -13,10 +13,10 @@ Text = ("Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way.") } { TextLabel2 TextLabel - MoveScaled(1,17,34,13) + MoveScaled(1,17,23,13) Text = ("Choose the correct timezone for the area in which you live.") } { lbTmZone ListBox - MoveScaled(40,16,21,15) + MoveScaled(29,16,32,30) } } Modified: branches/iVL/MdlZoneSet.module ============================================================================== --- branches/iVL/MdlZoneSet.module (original) +++ branches/iVL/MdlZoneSet.module Fri Aug 29 22:23:32 2008 @@ -15,15 +15,30 @@ ' You should have received a copy of the GNU General Public License ' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. -PUBLIC sTimeZones AS String = " US\/Alaska, US\/Aleutian, US\/Arizona, US\/Central, US\/East-Indiana, US\/Eastern, US\/Hawaii, US\/Indiana-Starke, US\/Michigan, US\/Mountain, US\/Pacific, US\/Samoa, Africa\/Abidjan, Africa\/Accra, Africa\/Addis_Ababa, Africa\/Algiers, Africa\/Asmera, Africa\/Bamako, Africa\/Bangui, Africa\/Banjul, Africa\/Bissau, Africa\/Blantyre, Africa\/Brazzaville, Africa\/Bujumbura, Africa\/Cairo, Africa\/Casablanca, Africa\/Ceuta, Africa\/Conakry, Africa\/Dakar, Africa\/Dar_es_Salaam, Africa\/Djibouti, Africa\/Douala, Africa\/El_Aaiun, Africa\/Freetown, Africa\/Gaborone, Africa\/Harare, Africa\/Johannesburg, Africa\/Kampala, Africa\/Khartoum, Africa\/Kigali, Africa\/Kinshasa, Africa\/Lagos, Africa\/Libreville, Africa\/Lome, Africa\/Luanda, Africa\/Lubumbashi, Africa\/Lusaka, Africa\/Malabo, Africa\/Maputo, Africa\/Maseru, Africa\/Mbabane, Africa\/Mogadishu, Africa\/Monrovia, Africa\/Nairobi, Africa\/Ndjamena, Africa\/Niamey, Africa\/Nouakchott, Africa\/Ouagadougou, Africa\/Porto-Novo, Africa\/Sao_Tome, Africa\/Timbuktu, Africa\/Tripoli, Africa\/Tunis, Africa\/Windhoek, America\/Adak, America\/Anchorage, America\/Anguilla, America\/Antigua, America\/Araguaina, America\/Aruba, America\/Asuncion, America\/Atka, America\/Barbados, America\/Belem, America\/Belize, America\/Boa_Vista, America\/Bogota, America\/Boise, America\/Buenos_Aires, America\/Cambridge_Bay, America\/Cancun, America\/Caracas, America\/Catamarca, America\/Cayenne, America\/Cayman, America\/Chicago, America\/Chihuahua, America\/Cordoba, America\/Costa_Rica, America\/Cuiaba, America\/Curacao, America\/Dawson, America\/Dawson_Creek, America\/Denver, America\/Detroit, America\/Dominica, America\/Edmonton, America\/Eirunepe, America\/El_Salvador, America\/Ensenada, America\/Fort_Wayne, America\/Fortaleza, America\/Glace_Bay, America\/Godthab, America\/Goose_Bay, America\/Grand_Turk, America\/Grenada, America\/Guadeloupe, America\/Guatemala, America\/Guayaquil, America\/Guyana, America\/Halifax, America\/Havana, America\/Hermosillo, America\/Indiana\/Indianapolis, America\/Indiana\/Knox, America\/Indiana\/Marengo, America\/Indiana\/Vevay, America\/Indianapolis, America\/Inuvik, America\/Iqaluit, America\/Jamaica, America\/Jujuy, America\/Juneau, America\/Kentucky\/Louisville, America\/Kentucky\/Monticello, America\/Knox_IN, America\/La_Paz, America\/Lima, America\/Los_Angeles, America\/Louisville, America\/Maceio, America\/Managua, America\/Manaus, America\/Martinique, America\/Mazatlan, America\/Mendoza, America\/Menominee, America\/Merida, America\/Mexico_City, America\/Miquelon, America\/Monterrey, America\/Montevideo, America\/Montreal, America\/Montserrat, America\/Nassau, America\/New_York, America\/Nipigon, America\/Nome, America\/Noronha, America\/Panama, America\/Pangnirtung, America\/Paramaribo, America\/Phoenix, America\/Port-au-Prince, America\/Port_of_Spain, America\/Porto_Acre, America\/Porto_Velho, America\/Puerto_Rico, America\/Rainy_River, America\/Rankin_Inlet, America\/Recife, America\/Regina, America\/Rosario, America\/Santiago, America\/Santo_Domingo, America\/Sao_Paulo, America\/Scoresbysund, America\/Shiprock, America\/St_Johns, America\/St_Kitts, America\/St_Lucia, America\/St_Thomas, America\/St_Vincent, America\/Swift_Current, America\/Tegucigalpa, America\/Thule, America\/Thunder_Bay, America\/Tijuana, America\/Tortola, America\/Vancouver, America\/Virgin, America\/Whitehorse, America\/Winnipeg, America\/Yakutat, America\/Yellowknife, Antarctica\/Casey, Antarctica\/Davis, Antarctica\/DumontDUrville, Antarctica\/Mawson, Antarctica\/McMurdo, Antarctica\/Palmer, Antarctica\/South_Pole, Antarctica\/Syowa, Arctic\/Longyearbyen, Asia\/Aden, Asia\/Almaty, Asia\/Amman, Asia\/Anadyr, Asia\/Aqtau, Asia\/Aqtobe, Asia\/Ashgabat, Asia\/Ashkhabad, Asia\/Baghdad, Asia\/Bahrain, Asia\/Baku, Asia\/Bangkok, Asia\/Beirut, Asia\/Bishkek, Asia\/Brunei, Asia\/Calcut" +PUBLIC sTimeZones AS String = "US/Alaska,US/Aleutian,US/Arizona,US/Central,US/East-Indiana,US/Eastern,US/Hawaii,US/Indiana-Starke, US/Michigan, US/Mountain, US/Pacific, US/Samoa, Africa/Abidjan, Africa/Accra, Africa/Addis_Ababa, Africa/Algiers, Africa/Asmera, Africa/Bamako, Africa/Bangui, Africa/Banjul, Africa/Bissau, Africa/Blantyre, Africa/Brazzaville, Africa/Bujumbura, Africa/Cairo, Africa/Casablanca, Africa/Ceuta, Africa/Conakry, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Douala, Africa/El_Aaiun, Africa/Freetown, Africa/Gaborone, Africa/Harare, Africa/Johannesburg, Africa/Kampala, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Libreville, Africa/Lome, Africa/Luanda, Africa/Lubumbashi, Africa/Lusaka, Africa/Malabo, Africa/Maputo, Africa/Maseru, Africa/Mbabane, Africa/Mogadishu, Africa/Monrovia, Africa/Nairobi, Africa/Ndjamena, Africa/Niamey, Africa/Nouakchott, Africa/Ouagadougou, Africa/Porto-Novo, Africa/Sao_Tome, Africa/Timbuktu, Africa/Tripoli, Africa/Tunis, Africa/Windhoek, America/Adak, America/Anchorage, America/Anguilla, America/Antigua, America/Araguaina, America/Aruba, America/Asuncion, America/Atka, America/Barbados, America/Belem, America/Belize, America/Boa_Vista, America/Bogota, America/Boise, America/Buenos_Aires, America/Cambridge_Bay, America/Cancun, America/Caracas, America/Catamarca, America/Cayenne, America/Cayman, America/Chicago, America/Chihuahua, America/Cordoba, America/Costa_Rica, America/Cuiaba, America/Curacao, America/Dawson, America/Dawson_Creek, America/Denver, America/Detroit, America/Dominica, America/Edmonton, America/Eirunepe, America/El_Salvador, America/Ensenada, America/Fort_Wayne, America/Fortaleza, America/Glace_Bay, America/Godthab, America/Goose_Bay, America/Grand_Turk, America/Grenada, America/Guadeloupe, America/Guatemala, America/Guayaquil, America/Guyana, America/Halifax, America/Havana, America/Hermosillo, America/Indiana/Indianapolis, America/Indiana/Knox, America/Indiana/Marengo, America/Indiana/Vevay, America/Indianapolis, America/Inuvik, America/Iqaluit, America/Jamaica, America/Jujuy, America/Juneau, America/Kentucky/Louisville, America/Kentucky/Monticello, America/Knox_IN, America/La_Paz, America/Lima, America/Los_Angeles, America/Louisville, America/Maceio, America/Managua, America/Manaus, America/Martinique, America/Mazatlan, America/Mendoza, America/Menominee, America/Merida, America/Mexico_City, America/Miquelon, America/Monterrey, America/Montevideo, America/Montreal, America/Montserrat, America/Nassau, America/New_York, America/Nipigon, America/Nome, America/Noronha, America/Panama, America/Pangnirtung, America/Paramaribo, America/Phoenix, America/Port-au-Prince, America/Port_of_Spain, America/Porto_Acre, America/Porto_Velho, America/Puerto_Rico, America/Rainy_River, America/Rankin_Inlet, America/Recife, America/Regina, America/Rosario, America/Santiago, America/Santo_Domingo, America/Sao_Paulo, America/Scoresbysund, America/Shiprock, America/St_Johns, America/St_Kitts, America/St_Lucia, America/St_Thomas, America/St_Vincent, America/Swift_Current, America/Tegucigalpa, America/Thule, America/Thunder_Bay, America/Tijuana, America/Tortola, America/Vancouver, America/Virgin, America/Whitehorse, America/Winnipeg, America/Yakutat, America/Yellowknife, Antarctica/Casey, Antarctica/Davis, Antarctica/DumontDUrville, Antarctica/Mawson, Antarctica/McMurdo, Antarctica/Palmer, Antarctica/South_Pole, Antarctica/Syowa, Arctic/Longyearbyen," & +"Asia/Aden, Asia/Almaty, Asia/Amman, Asia/Anadyr, Asia/Aqtau, Asia/Aqtobe, Asia/Ashgabat, Asia/Ashkhabad, Asia/Baghdad, Asia/Bahrain, Asia/Baku, Asia/Bangkok, Asia/Beirut, Asia/Bishkek, Asia/Brunei,Asia/Calcutta,Asia/Chungking,Asia/Colombo,Asia/Dacca,Asia/Damascus,Asia/Dhaka,Asia/Dili,Asia/Dubai,Asia/Dushanbe,Asia/Gaza,Asia/Harbin,Asia/Hong_Kong,Asia/Hovd,Asia/Irkutsk,Asia/Istanbul,Asia/Jakarta,Asia/Jayapura,Asia/Jerusalem,Asia/Kabul,Asia/Kamchatka,Asia/Karachi,Asia/Kashgar,Asia/Katmandu,Asia/Krasnoyarsk,Asia/Kuala_Lumpur,Asia/Kuching,Asia/Kuwait,Asia/Macao,Asia/Macau,Asia/Magadan,Asia/Makassar,Asia/Manila,Asia/Muscat,Asia/Nicosia,Asia/Novosibirsk,Asia/Omsk,Asia/Oral,Asia/Phnom_Penh,Asia/Pyongyang,Asia/Qatar,Asia/Qyzylorda,Asia/Rangoon,Asia/Riyadh,Asia/Riyadh87,Asia/Riyadh88,Asia/Riyadh89,Asia/Saigon,Asia/Samarkand,Asia/Seoul,Asia/Shanghai,Asia/Singapore,Asia/Taipei,Asia/Tashkent,Asia/Tbilisi,Asia/Tehran,Asia/Tel_Aviv,Asia/Thimbu,Asia/Thimphu,Asia/Tokyo,Asia/Ujung_Pandang,Asia/Ulaanbaatar,Asia/Ulan_Bator,Asia/Urumqi,Asia/Vientiane,Asia/Vladivostok,Asia/Yakutsk,Asia/Yekaterinburg,Asia/Yerevan,Atlantic/Azores,Atlantic/Bermuda,Atlantic/Canary,Atlantic/Cape_Verde,Atlantic/Faeroe,Atlantic/Jan_Mayen,Atlantic/Madeira,Atlantic/Reykjavik,Atlantic/South_Georgia,Atlantic/St_Helena,Atlantic/Stanley,Australia/ACT,Australia/Adelaide,Australia/Brisbane,Australia/Broken_Hill,Australia/Canberra,Australia/Darwin,Australia/Hobart,Australia/LHI,Australia/Lindeman,Australia/Lord_Howe,Australia/Melbourne,Australia/NSW,Australia/North,Australia/Perth,Australia/Queensland,Australia/South,Australia/Sydney,Australia/Tasmania,Australia/Victoria,Australia/West,Australia/Yancowinna,Brazil/Acre,Brazil/DeNoronha,Brazil/East,Brazil/West,CET,CST6CDT,Canada/Atlantic,Canada/Central,Canada/East-Saskatchewan,Canada/Eastern,Canada/Mountain,Canada/Newfoundland,Canada/Pacific,Canada/Saskatchewan,Canada/Yukon,Chile/Continental,Chile/EasterIsland,Cuba,EET,EST,EST5EDT,Egypt,Eire,Etc/GMT,Etc/GMT+0,Etc/GMT+1,Etc/GMT+10,Etc/GMT+11,Etc/GMT+12,Etc/GMT+2,Etc/GMT+3,Etc/GMT+4,Etc/GMT+5,Etc/GMT+6,Etc/GMT+7,Etc/GMT+8,Etc/GMT+9,Etc/GMT-0,Etc/GMT-1,Etc/GMT-10,Etc/GMT-11,Etc/GMT-12,Etc/GMT-13,Etc/GMT-14,Etc/GMT-2,Etc/GMT-3,Etc/GMT-4,Etc/GMT-5,Etc/GMT-6,Etc/GMT-7,Etc/GMT-8,Etc/GMT-9,Etc/GMT0,Etc/Greenwich,Etc/UCT,Etc/UTC,Etc/Universal,Etc/Zulu,Europe/Amsterdam,Europe/Andorra,Europe/Athens,Europe/Belfast,Europe/Belgrade,Europe/Berlin,Europe/Bratislava,Europe/Brussels,Europe/Bucharest,Europe/Budapest,Europe/Chisinau,Europe/Copenhagen,Europe/Dublin,Europe/Gibraltar,Europe/Helsinki,Europe/Istanbul,Europe/Kaliningrad,Europe/Kiev,Europe/Lisbon,Europe/Ljubljana,Europe/London,Europe/Luxembourg,Europe/Madrid,Europe/Malta,Europe/Minsk,Europe/Monaco,Europe/Moscow,Europe/Nicosia,Europe/Oslo,Europe/Paris,Europe/Prague,Europe/Riga,Europe/Rome,Europe/Samara,Europe/San_Marino,Europe/Sarajevo,Europe/Simferopol,Europe/Skopje,Europe/Sofia,Europe/Stockholm,Europe/Tallinn,Europe/Tirane,Europe/Tiraspol,Europe/Uzhgorod,Europe/Vaduz,Europe/Vatican,Europe/Vienna,Europe/Vilnius,Europe/Warsaw,Europe/Zagreb,Europe/Zaporozhye,Europe/Zurich,Factory,GB,GB-Eire,GMT,GMT+0,GMT-0,GMT0,Greenwich,HST,Hongkong,Iceland,Indian/Antananarivo,Indian/Chagos,Indian/Christmas,Indian/Cocos,Indian/Comoro,Indian/Kerguelen,Indian/Mahe,Indian/Maldives,Indian/Mauritius,Indian/Mayotte,Indian/Reunion," & +"Iran,Israel,Jamaica,Japan,Kwajalein,Libya,MET,MST,MST7MDT,Mexico/BajaNorte,Mexico/BajaSur,Mexico/General,Mideast/Riyadh87,Mideast/Riyadh88,Mideast/Riyadh89,NZ,NZ-CHAT,Navajo,PRC,PST8PDT,Pacific/Apia,Pacific/Auckland,Pacific/Chatham,Pacific/Easter,Pacific/Efate,Pacific/Enderbury,Pacific/Fakaofo,Pacific/Fiji,Pacific/Funafuti,Pacific/Galapagos,Pacific/Gambier,Pacific/Guadalcanal,Pacific/Guam,Pacific/Honolulu,Pacific/Johnston,Pacific/Kiritimati,Pacific/Kosrae,Pacific/Kwajalein,Pacific/Majuro,Pacific/Marquesas,Pacific/Midway,Pacific/Nauru,Pacific/Niue,Pacific/Norfolk,Pacific/Noumea,Pacific/Pago_Pago,Pacific/Palau,Pacific/Pitcairn,Pacific/Ponape,Pacific/Port_Moresby,Pacific/Rarotonga,Pacific/Saipan,Pacific/Samoa,Pacific/Tahiti,Pacific/Tarawa,Pacific/Tongatapu,Pacific/Truk,Pacific/Wake,Pacific/Wallis,Pacific/Yap,Poland,Portugal,ROC,ROK,Singapore,SystemV/AST4,SystemV/AST4ADT,SystemV/CST6,SystemV/CST6CDT,SystemV/EST5,SystemV/EST5EDT,SystemV/HST10,SystemV/MST7,SystemV/MST7MDT,SystemV/PST8,SystemV/PST8PDT,SystemV/YST9,SystemV/YST9YDT,Turkey,UCT,UTC,Universal,W-SU,WET,Zulu,posix/Africa/Abidjan,posix/Africa/Accra,posix/Africa/Addis_Ababa,posix/Africa/Algiers,posix/Africa/Asmera,posix/Africa/Bamako,posix/Africa/Bangui,posix/Africa/Banjul,posix/Africa/Bissau,posix/Africa/Blantyre,posix/Africa/Brazzaville,posix/Africa/Bujumbura,posix/Africa/Cairo,posix/Africa/Casablanca,posix/Africa/Ceuta,posix/Africa/Conakry,posix/Africa/Dakar,posix/Africa/Dar_es_Salaam,posix/Africa/Djibouti,posix/Africa/Douala,posix/Africa/El_Aaiun,posix/Africa/Freetown,posix/Africa/Gaborone,posix/Africa/Harare,posix/Africa/Johannesburg,posix/Africa/Kampala,posix/Africa/Khartoum,posix/Africa/Kigali,posix/Africa/Kinshasa,posix/Africa/Lagos,posix/Africa/Libreville,posix/Africa/Lome,posix/Africa/Luanda,posix/Africa/Lubumbashi,posix/Africa/Lusaka,posix/Africa/Malabo,posix/Africa/Maputo,posix/Africa/Maseru,posix/Africa/Mbabane,posix/Africa/Mogadishu,posix/Africa/Monrovia,posix/Africa/Nairobi,posix/Africa/Ndjamena,posix/Africa/Niamey,posix/Africa/Nouakchott,posix/Africa/Ouagadougou,posix/Africa/Porto-Novo,posix/Africa/Sao_Tome,posix/Africa/Timbuktu,posix/Africa/Tripoli,posix/Africa/Tunis,posix/Africa/Windhoek,posix/America/Adak,posix/America/Anchorage,posix/America/Anguilla,posix/America/Antigua,posix/America/Araguaina,posix/America/Aruba,posix/America/Asuncion,posix/America/Atka,posix/America/Barbados,posix/America/Belem,posix/America/Belize,posix/America/Boa_Vista,posix/America/Bogota,posix/America/Boise,posix/America/Buenos_Aires,posix/America/Cambridge_Bay,posix/America/Cancun,posix/America/Caracas,posix/America/Catamarca,posix/America/Cayenne,posix/America/Cayman,posix/America/Chicago,posix/America/Chihuahua,posix/America/Cordoba,posix/America/Costa_Rica,posix/America/Cuiaba,posix/America/Curacao,posix/America/Dawson,posix/America/Dawson_Creek,posix/America/Denver,posix/America/Detroit,posix/America/Dominica,posix/America/Edmonton,posix/America/Eirunepe,posix/America/El_Salvador,posix/America/Ensenada,posix/America/Fort_Wayne,posix/America/Fortaleza,posix/America/Glace_Bay,posix/America/Godthab,posix/America/Goose_Bay,posix/America/Grand_Turk,posix/America/Grenada,posix/America/Guadeloupe,posix/America/Guatemala,posix/America/Guayaquil,posix/America/Guyana,posix/America/Halifax,posix/America/Havana,posix/America/Hermosillo,posix/America/Indiana/Indianapolis,posix/America/Indiana/Knox," & +"posix/America/Indiana/Marengo,posix/America/Indiana/Vevay,posix/America/Indianapolis,posix/America/Inuvik,posix/America/Iqaluit,posix/America/Jamaica,posix/America/Jujuy,posix/America/Juneau,posix/America/Kentucky/Louisville,posix/America/Kentucky/Monticello,posix/America/Knox_IN,posix/America/La_Paz,posix/America/Lima,posix/America/Los_Angeles,posix/America/Louisville,posix/America/Maceio,posix/America/Managua,posix/America/Manaus,posix/America/Martinique,posix/America/Mazatlan,posix/America/Mendoza,posix/America/Menominee,posix/America/Merida,posix/America/Mexico_City,posix/America/Miquelon,posix/America/Monterrey,posix/America/Montevideo,posix/America/Montreal,posix/America/Montserrat,posix/America/Nassau,posix/America/New_York,posix/America/Nipigon,posix/America/Nome,posix/America/Noronha,posix/America/Panama,posix/America/Pangnirtung,posix/America/Paramaribo,posix/America/Phoenix,posix/America/Port-au-Prince,posix/America/Port_of_Spain,posix/America/Porto_Acre,posix/America/Porto_Velho,posix/America/Puerto_Rico,posix/America/Rainy_River,posix/America/Rankin_Inlet,posix/America/Recife,posix/America/Regina,posix/America/Rosario,posix/America/Santiago,posix/America/Santo_Domingo,posix/America/Sao_Paulo,posix/America/Scoresbysund,posix/America/Shiprock,posix/America/St_Johns,posix/America/St_Kitts,posix/America/St_Lucia,posix/America/St_Thomas,posix/America/St_Vincent,posix/America/Swift_Current,posix/America/Tegucigalpa,posix/America/Thule,posix/America/Thunder_Bay,posix/America/Tijuana,posix/America/Tortola,posix/America/Vancouver,posix/America/Virgin,posix/America/Whitehorse,posix/America/Winnipeg,posix/America/Yakutat,posix/America/Yellowknife,posix/Antarctica/Casey,posix/Antarctica/Davis,posix/Antarctica/DumontDUrville,posix/Antarctica/Mawson,posix/Antarctica/McMurdo,posix/Antarctica/Palmer,posix/Antarctica/South_Pole,posix/Antarctica/Syowa,posix/Arctic/Longyearbyen,posix/Asia/Aden,posix/Asia/Almaty,posix/Asia/Amman,posix/Asia/Anadyr,posix/Asia/Aqtau,posix/Asia/Aqtobe,posix/Asia/Ashgabat,posix/Asia/Ashkhabad,posix/Asia/Baghdad,posix/Asia/Bahrain,posix/Asia/Baku,posix/Asia/Bangkok,posix/Asia/Beirut,posix/Asia/Bishkek,posix/Asia/Brunei,posix/Asia/Calcutta,posix/Asia/Chungking,posix/Asia/Colombo,posix/Asia/Dacca,posix/Asia/Damascus,posix/Asia/Dhaka,posix/Asia/Dili,posix/Asia/Dubai,posix/Asia/Dushanbe,posix/Asia/Gaza,posix/Asia/Harbin,posix/Asia/Hong_Kong,posix/Asia/Hovd,posix/Asia/Irkutsk,posix/Asia/Istanbul,posix/Asia/Jakarta,posix/Asia/Jayapura,posix/Asia/Jerusalem,posix/Asia/Kabul,posix/Asia/Kamchatka,posix/Asia/Karachi,posix/Asia/Kashgar,posix/Asia/Katmandu,posix/Asia/Krasnoyarsk,posix/Asia/Kuala_Lumpur,posix/Asia/Kuching,posix/Asia/Kuwait,posix/Asia/Macao,posix/Asia/Macau,posix/Asia/Magadan,posix/Asia/Makassar,posix/Asia/Manila,posix/Asia/Muscat,posix/Asia/Nicosia,posix/Asia/Novosibirsk,posix/Asia/Omsk,posix/Asia/Oral,posix/Asia/Phnom_Penh,posix/Asia/Pyongyang,posix/Asia/Qatar,posix/Asia/Qyzylorda,posix/Asia/Rangoon,posix/Asia/Riyadh,posix/Asia/Riyadh87,posix/Asia/Riyadh88,posix/Asia/Riyadh89,posix/Asia/Saigon,posix/Asia/Samarkand,posix/Asia/Seoul,posix/Asia/Shanghai,posix/Asia/Singapore,posix/Asia/Taipei,posix/Asia/Tashkent,posix/Asia/Tbilisi,posix/Asia/Tehran,posix/Asia/Tel_Aviv,posix/Asia/Thimbu,posix/Asia/Thimphu,posix/Asia/Tokyo,posix/Asia/Ujung_Pandang,posix/Asia/Ulaanbaatar,posix/Asia/Ulan_Bator,posix/Asia/Urumqi,posix/Asia/Vientiane," & +"posix/Asia/Vladivostok,posix/Asia/Yakutsk,posix/Asia/Yekaterinburg,posix/Asia/Yerevan,posix/Atlantic/Azores,posix/Atlantic/Bermuda,posix/Atlantic/Canary,posix/Atlantic/Cape_Verde,posix/Atlantic/Faeroe,posix/Atlantic/Jan_Mayen,posix/Atlantic/Madeira,posix/Atlantic/Reykjavik,posix/Atlantic/South_Georgia,posix/Atlantic/St_Helena,posix/Atlantic/Stanley,posix/Australia/ACT,posix/Australia/Adelaide,posix/Australia/Brisbane,posix/Australia/Broken_Hill,posix/Australia/Canberra,posix/Australia/Darwin,posix/Australia/Hobart,posix/Australia/LHI,posix/Australia/Lindeman,posix/Australia/Lord_Howe,posix/Australia/Melbourne,posix/Australia/NSW,posix/Australia/North,posix/Australia/Perth,posix/Australia/Queensland,posix/Australia/South,posix/Australia/Sydney,posix/Australia/Tasmania,posix/Australia/Victoria,posix/Australia/West,posix/Australia/Yancowinna,posix/Brazil/Acre,posix/Brazil/DeNoronha,posix/Brazil/East,posix/Brazil/West,posix/CET,posix/CST6CDT,posix/Canada/Atlantic,posix/Canada/Central,posix/Canada/East-Saskatchewan,posix/Canada/Eastern,posix/Canada/Mountain,posix/Canada/Newfoundland,posix/Canada/Pacific,posix/Canada/Saskatchewan,posix/Canada/Yukon,posix/Chile/Continental,posix/Chile/EasterIsland,posix/Cuba,posix/EET,posix/EST,posix/EST5EDT,posix/Egypt,posix/Eire,posix/Etc/GMT,posix/Etc/GMT+0,posix/Etc/GMT+1,posix/Etc/GMT+10,posix/Etc/GMT+11,posix/Etc/GMT+12,posix/Etc/GMT+2,posix/Etc/GMT+3,posix/Etc/GMT+4,posix/Etc/GMT+5,posix/Etc/GMT+6,posix/Etc/GMT+7,posix/Etc/GMT+8,posix/Etc/GMT+9,posix/Etc/GMT-0,posix/Etc/GMT-1,posix/Etc/GMT-10,posix/Etc/GMT-11,posix/Etc/GMT-12,posix/Etc/GMT-13,posix/Etc/GMT-14,posix/Etc/GMT-2,posix/Etc/GMT-3,posix/Etc/GMT-4,posix/Etc/GMT-5,posix/Etc/GMT-6,posix/Etc/GMT-7,posix/Etc/GMT-8,posix/Etc/GMT-9,posix/Etc/GMT0,posix/Etc/Greenwich,posix/Etc/UCT,posix/Etc/UTC,posix/Etc/Universal,posix/Etc/Zulu,posix/Europe/Amsterdam,posix/Europe/Andorra,posix/Europe/Athens,posix/Europe/Belfast,posix/Europe/Belgrade,posix/Europe/Berlin,posix/Europe/Bratislava,posix/Europe/Brussels,posix/Europe/Bucharest,posix/Europe/Budapest,posix/Europe/Chisinau,posix/Europe/Copenhagen,posix/Europe/Dublin,posix/Europe/Gibraltar,posix/Europe/Helsinki,posix/Europe/Istanbul,posix/Europe/Kaliningrad,posix/Europe/Kiev,posix/Europe/Lisbon,posix/Europe/Ljubljana,posix/Europe/London,posix/Europe/Luxembourg,posix/Europe/Madrid,posix/Europe/Malta,posix/Europe/Minsk,posix/Europe/Monaco,posix/Europe/Moscow,posix/Europe/Nicosia,posix/Europe/Oslo,posix/Europe/Paris,posix/Europe/Prague,posix/Europe/Riga,posix/Europe/Rome,posix/Europe/Samara,posix/Europe/San_Marino,posix/Europe/Sarajevo,posix/Europe/Simferopol,posix/Europe/Skopje,posix/Europe/Sofia,posix/Europe/Stockholm,posix/Europe/Tallinn,posix/Europe/Tirane,posix/Europe/Tiraspol,posix/Europe/Uzhgorod,posix/Europe/Vaduz,posix/Europe/Vatican,posix/Europe/Vienna,posix/Europe/Vilnius,posix/Europe/Warsaw,posix/Europe/Zagreb,posix/Europe/Zaporozhye,posix/Europe/Zurich,posix/Factory,posix/GB,posix/GB-Eire,posix/GMT,posix/GMT+0,posix/GMT-0,posix/GMT0,posix/Greenwich,posix/HST,posix/Hongkong,posix/Iceland,posix/Indian/Antananarivo,posix/Indian/Chagos,posix/Indian/Christmas,posix/Indian/Cocos,posix/Indian/Comoro,posix/Indian/Kerguelen,posix/Indian/Mahe,posix/Indian/Maldives,posix/Indian/Mauritius,posix/Indian/Mayotte,posix/Indian/Reunion,posix/Iran,posix/Israel,posix/Jamaica,posix/Japan,posix/Kwajalein,posix/Libya,posix/MET,posix/MST,posix/MST7MDT," & +"posix/Mexico/BajaNorte,posix/Mexico/BajaSur,posix/Mexico/General,posix/Mideast/Riyadh87,posix/Mideast/Riyadh88,posix/Mideast/Riyadh89,posix/NZ,posix/NZ-CHAT,posix/Navajo,posix/PRC,posix/PST8PDT,posix/Pacific/Apia,posix/Pacific/Auckland,posix/Pacific/Chatham,posix/Pacific/Easter,posix/Pacific/Efate,posix/Pacific/Enderbury,posix/Pacific/Fakaofo,posix/Pacific/Fiji,posix/Pacific/Funafuti,posix/Pacific/Galapagos,posix/Pacific/Gambier,posix/Pacific/Guadalcanal,posix/Pacific/Guam,posix/Pacific/Honolulu,posix/Pacific/Johnston,posix/Pacific/Kiritimati,posix/Pacific/Kosrae,posix/Pacific/Kwajalein,posix/Pacific/Majuro,posix/Pacific/Marquesas,posix/Pacific/Midway,posix/Pacific/Nauru,posix/Pacific/Niue,posix/Pacific/Norfolk,posix/Pacific/Noumea,posix/Pacific/Pago_Pago,posix/Pacific/Palau,posix/Pacific/Pitcairn,posix/Pacific/Ponape,posix/Pacific/Port_Moresby,posix/Pacific/Rarotonga,posix/Pacific/Saipan,posix/Pacific/Samoa,posix/Pacific/Tahiti,posix/Pacific/Tarawa,posix/Pacific/Tongatapu,posix/Pacific/Truk,posix/Pacific/Wake,posix/Pacific/Wallis,posix/Pacific/Yap,posix/Poland,posix/Portugal,posix/ROC,posix/ROK,posix/Singapore,posix/SystemV/AST4,posix/SystemV/AST4ADT,posix/SystemV/CST6,posix/SystemV/CST6CDT,posix/SystemV/EST5,posix/SystemV/EST5EDT,posix/SystemV/HST10,posix/SystemV/MST7,posix/SystemV/MST7MDT,posix/SystemV/PST8,posix/SystemV/PST8PDT,posix/SystemV/YST9,posix/SystemV/YST9YDT,posix/Turkey,posix/UCT,posix/US/Alaska,posix/US/Aleutian,posix/US/Arizona,posix/US/Central,posix/US/East-Indiana,posix/US/Eastern,posix/US/Hawaii,posix/US/Indiana-Starke,posix/US/Michigan,posix/US/Mountain,posix/US/Pacific,posix/US/Samoa,posix/UTC,posix/Universal,posix/W-SU,posix/WET,posix/Zulu,posixrules,right/Africa/Abidjan,right/Africa/Accra,right/Africa/Addis_Ababa,right/Africa/Algiers,right/Africa/Asmera,right/Africa/Bamako,right/Africa/Bangui,right/Africa/Banjul,right/Africa/Bissau,right/Africa/Blantyre,right/Africa/Brazzaville,right/Africa/Bujumbura,right/Africa/Cairo,right/Africa/Casablanca,right/Africa/Ceuta,right/Africa/Conakry,right/Africa/Dakar,right/Africa/Dar_es_Salaam,right/Africa/Djibouti,right/Africa/Douala,right/Africa/El_Aaiun,right/Africa/Freetown,right/Africa/Gaborone,right/Africa/Harare,right/Africa/Johannesburg,right/Africa/Kampala,right/Africa/Khartoum,right/Africa/Kigali,right/Africa/Kinshasa,right/Africa/Lagos,right/Africa/Libreville,right/Africa/Lome,right/Africa/Luanda,right/Africa/Lubumbashi,right/Africa/Lusaka,right/Africa/Malabo,right/Africa/Maputo,right/Africa/Maseru,right/Africa/Mbabane,right/Africa/Mogadishu,right/Africa/Monrovia,right/Africa/Nairobi,right/Africa/Ndjamena,right/Africa/Niamey,right/Africa/Nouakchott,right/Africa/Ouagadougou,right/Africa/Porto-Novo,right/Africa/Sao_Tome,right/Africa/Timbuktu,right/Africa/Tripoli,right/Africa/Tunis,right/Africa/Windhoek,right/America/Adak,right/America/Anchorage,right/America/Anguilla,right/America/Antigua,right/America/Araguaina,right/America/Aruba,right/America/Asuncion,right/America/Atka,right/America/Barbados,right/America/Belem,right/America/Belize,right/America/Boa_Vista,right/America/Bogota,right/America/Boise,right/America/Buenos_Aires,right/America/Cambridge_Bay,right/America/Cancun,right/America/Caracas,right/America/Catamarca,right/America/Cayenne,right/America/Cayman,right/America/Chicago,right/America/Chihuahua,right/America/Cordoba,right/America/Costa_Rica,right/America/Cuiaba,right/America/Curacao,right/America/Dawson,right/America/Dawson_Creek,right/America/Denver,right/America/Detroit," & +"right/America/Dominica,right/America/Edmonton,right/America/Eirunepe,right/America/El_Salvador,right/America/Ensenada,right/America/Fort_Wayne,right/America/Fortaleza,right/America/Glace_Bay,right/America/Godthab,right/America/Goose_Bay,right/America/Grand_Turk,right/America/Grenada,right/America/Guadeloupe,right/America/Guatemala,right/America/Guayaquil,right/America/Guyana,right/America/Halifax,right/America/Havana,right/America/Hermosillo,right/America/Indiana/Indianapolis,right/America/Indiana/Knox,right/America/Indiana/Marengo,right/America/Indiana/Vevay,right/America/Indianapolis,right/America/Inuvik,right/America/Iqaluit,right/America/Jamaica,right/America/Jujuy,right/America/Juneau,right/America/Kentucky/Louisville,right/America/Kentucky/Monticello,right/America/Knox_IN,right/America/La_Paz,right/America/Lima,right/America/Los_Angeles,right/America/Louisville,right/America/Maceio,right/America/Managua,right/America/Manaus,right/America/Martinique,right/America/Mazatlan,right/America/Mendoza,right/America/Menominee,right/America/Merida,right/America/Mexico_City,right/America/Miquelon,right/America/Monterrey,right/America/Montevideo,right/America/Montreal,right/America/Montserrat,right/America/Nassau,right/America/New_York,right/America/Nipigon,right/America/Nome,right/America/Noronha,right/America/Panama,right/America/Pangnirtung,right/America/Paramaribo,right/America/Phoenix,right/America/Port-au-Prince,right/America/Port_of_Spain,right/America/Porto_Acre,right/America/Porto_Velho,right/America/Puerto_Rico,right/America/Rainy_River,right/America/Rankin_Inlet,right/America/Recife,right/America/Regina,right/America/Rosario,right/America/Santiago,right/America/Santo_Domingo,right/America/Sao_Paulo,right/America/Scoresbysund,right/America/Shiprock,right/America/St_Johns,right/America/St_Kitts,right/America/St_Lucia,right/America/St_Thomas,right/America/St_Vincent,right/America/Swift_Current,right/America/Tegucigalpa,right/America/Thule,right/America/Thunder_Bay,right/America/Tijuana,right/America/Tortola,right/America/Vancouver,right/America/Virgin,right/America/Whitehorse,right/America/Winnipeg,right/America/Yakutat,right/America/Yellowknife,right/Antarctica/Casey,right/Antarctica/Davis,right/Antarctica/DumontDUrville,right/Antarctica/Mawson,right/Antarctica/McMurdo,right/Antarctica/Palmer,right/Antarctica/South_Pole,right/Antarctica/Syowa,right/Arctic/Longyearbyen,right/Asia/Aden,right/Asia/Almaty,right/Asia/Amman,right/Asia/Anadyr,right/Asia/Aqtau,right/Asia/Aqtobe,right/Asia/Ashgabat,right/Asia/Ashkhabad,right/Asia/Baghdad,right/Asia/Bahrain,right/Asia/Baku,right/Asia/Bangkok,right/Asia/Beirut,right/Asia/Bishkek,right/Asia/Brunei,right/Asia/Calcutta,right/Asia/Chungking,right/Asia/Colombo,right/Asia/Dacca,right/Asia/Damascus,right/Asia/Dhaka,right/Asia/Dili,right/Asia/Dubai,right/Asia/Dushanbe,right/Asia/Gaza,right/Asia/Harbin,right/Asia/Hong_Kong,right/Asia/Hovd,right/Asia/Irkutsk,right/Asia/Istanbul,right/Asia/Jakarta,right/Asia/Jayapura,right/Asia/Jerusalem,right/Asia/Kabul,right/Asia/Kamchatka,right/Asia/Karachi,right/Asia/Kashgar,right/Asia/Katmandu,right/Asia/Krasnoyarsk,right/Asia/Kuala_Lumpur,right/Asia/Kuching,right/Asia/Kuwait,right/Asia/Macao,right/Asia/Macau,right/Asia/Magadan,right/Asia/Makassar,right/Asia/Manila,right/Asia/Muscat,right/Asia/Nicosia,right/Asia/Novosibirsk,right/Asia/Omsk,right/Asia/Oral,right/Asia/Phnom_Penh,right/Asia/Pyongyang,right/Asia/Qatar,right/Asia/Qyzylorda,right/Asia/Rangoon,right/Asia/Riyadh,right/Asia/Riyadh87," & +"right/Asia/Riyadh88,right/Asia/Riyadh89,right/Asia/Saigon,right/Asia/Samarkand,right/Asia/Seoul,right/Asia/Shanghai,right/Asia/Singapore,right/Asia/Taipei,right/Asia/Tashkent,right/Asia/Tbilisi,right/Asia/Tehran,right/Asia/Tel_Aviv,right/Asia/Thimbu,right/Asia/Thimphu,right/Asia/Tokyo,right/Asia/Ujung_Pandang,right/Asia/Ulaanbaatar,right/Asia/Ulan_Bator,right/Asia/Urumqi,right/Asia/Vientiane,right/Asia/Vladivostok,right/Asia/Yakutsk,right/Asia/Yekaterinburg,right/Asia/Yerevan,right/Atlantic/Azores,right/Atlantic/Bermuda,right/Atlantic/Canary,right/Atlantic/Cape_Verde,right/Atlantic/Faeroe,right/Atlantic/Jan_Mayen,right/Atlantic/Madeira,right/Atlantic/Reykjavik,right/Atlantic/South_Georgia,right/Atlantic/St_Helena,right/Atlantic/Stanley,right/Australia/ACT,right/Australia/Adelaide,right/Australia/Brisbane,right/Australia/Broken_Hill,right/Australia/Canberra,right/Australia/Darwin,right/Australia/Hobart,right/Australia/LHI,right/Australia/Lindeman,right/Australia/Lord_Howe,right/Australia/Melbourne,right/Australia/NSW,right/Australia/North,right/Australia/Perth,right/Australia/Queensland,right/Australia/South,right/Australia/Sydney,right/Australia/Tasmania,right/Australia/Victoria,right/Australia/West,right/Australia/Yancowinna,right/Brazil/Acre,right/Brazil/DeNoronha,right/Brazil/East,right/Brazil/West,right/CET,right/CST6CDT,right/Canada/Atlantic,right/Canada/Central,right/Canada/East-Saskatchewan,right/Canada/Eastern,right/Canada/Mountain,right/Canada/Newfoundland,right/Canada/Pacific,right/Canada/Saskatchewan,right/Canada/Yukon,right/Chile/Continental,right/Chile/EasterIsland,right/Cuba,right/EET,right/EST,right/EST5EDT,right/Egypt,right/Eire,right/Etc/GMT,right/Etc/GMT+0,right/Etc/GMT+1,right/Etc/GMT+10,right/Etc/GMT+11,right/Etc/GMT+12,right/Etc/GMT+2,right/Etc/GMT+3,right/Etc/GMT+4,right/Etc/GMT+5,right/Etc/GMT+6,right/Etc/GMT+7,right/Etc/GMT+8,right/Etc/GMT+9,right/Etc/GMT-0,right/Etc/GMT-1,right/Etc/GMT-10,right/Etc/GMT-11,right/Etc/GMT-12,right/Etc/GMT-13,right/Etc/GMT-14,right/Etc/GMT-2,right/Etc/GMT-3,right/Etc/GMT-4,right/Etc/GMT-5,right/Etc/GMT-6,right/Etc/GMT-7,right/Etc/GMT-8,right/Etc/GMT-9,right/Etc/GMT0,right/Etc/Greenwich,right/Etc/UCT,right/Etc/UTC,right/Etc/Universal,right/Etc/Zulu,right/Europe/Amsterdam,right/Europe/Andorra,right/Europe/Athens,right/Europe/Belfast,right/Europe/Belgrade,right/Europe/Berlin,right/Europe/Bratislava,right/Europe/Brussels,right/Europe/Bucharest,right/Europe/Budapest,right/Europe/Chisinau,right/Europe/Copenhagen,right/Europe/Dublin,right/Europe/Gibraltar,right/Europe/Helsinki,right/Europe/Istanbul,right/Europe/Kaliningrad,right/Europe/Kiev,right/Europe/Lisbon,right/Europe/Ljubljana,right/Europe/London,right/Europe/Luxembourg,right/Europe/Madrid,right/Europe/Malta,right/Europe/Minsk,right/Europe/Monaco,right/Europe/Moscow,right/Europe/Nicosia,right/Europe/Oslo,right/Europe/Paris,right/Europe/Prague,right/Europe/Riga,right/Europe/Rome,right/Europe/Samara,right/Europe/San_Marino,right/Europe/Sarajevo,right/Europe/Simferopol,right/Europe/Skopje,right/Europe/Sofia,right/Europe/Stockholm,right/Europe/Tallinn,right/Europe/Tirane,right/Europe/Tiraspol,right/Europe/Uzhgorod,right/Europe/Vaduz,right/Europe/Vatican,right/Europe/Vienna,right/Europe/Vilnius,right/Europe/Warsaw,right/Europe/Zagreb,right/Europe/Zaporozhye,right/Europe/Zurich,right/Factory,right/GB,right/GB-Eire,right/GMT,right/GMT+0,right/GMT-0,right/GMT0,right/Greenwich,right/HST,right/Hongkong,right/Iceland,right/Indian/Antananarivo,right/Indian/Chagos,right/Indian/Christmas,right/Indian/Cocos,right/Indian/Comoro,right/Indian/Kerguelen," & +"right/Indian/Mahe,right/Indian/Maldives,right/Indian/Mauritius,right/Indian/Mayotte,right/Indian/Reunion,right/Iran,right/Israel,right/Jamaica,right/Japan,right/Kwajalein,right/Libya,right/MET,right/MST,right/MST7MDT,right/Mexico/BajaNorte,right/Mexico/BajaSur,right/Mexico/General,right/Mideast/Riyadh87,right/Mideast/Riyadh88,right/Mideast/Riyadh89,right/NZ,right/NZ-CHAT,right/Navajo,right/PRC,right/PST8PDT,right/Pacific/Apia,right/Pacific/Auckland,right/Pacific/Chatham,right/Pacific/Easter,right/Pacific/Efate,right/Pacific/Enderbury,right/Pacific/Fakaofo,right/Pacific/Fiji,right/Pacific/Funafuti,right/Pacific/Galapagos,right/Pacific/Gambier,right/Pacific/Guadalcanal,right/Pacific/Guam,right/Pacific/Honolulu,right/Pacific/Johnston,right/Pacific/Kiritimati,right/Pacific/Kosrae,right/Pacific/Kwajalein,right/Pacific/Majuro,right/Pacific/Marquesas,right/Pacific/Midway,right/Pacific/Nauru,right/Pacific/Niue,right/Pacific/Norfolk,right/Pacific/Noumea,right/Pacific/Pago_Pago,right/Pacific/Palau,right/Pacific/Pitcairn,right/Pacific/Ponape,right/Pacific/Port_Moresby,right/Pacific/Rarotonga,right/Pacific/Saipan,right/Pacific/Samoa,right/Pacific/Tahiti,right/Pacific/Tarawa,right/Pacific/Tongatapu,right/Pacific/Truk,right/Pacific/Wake,right/Pacific/Wallis,right/Pacific/Yap,right/Poland,right/Portugal,right/ROC,right/ROK,right/Singapore,right/SystemV/AST4,right/SystemV/AST4ADT,right/SystemV/CST6,right/SystemV/CST6CDT,right/SystemV/EST5,right/SystemV/EST5EDT,right/SystemV/HST10,right/SystemV/MST7,right/SystemV/MST7MDT,right/SystemV/PST8,right/SystemV/PST8PDT,right/SystemV/YST9,right/SystemV/YST9YDT,right/Turkey,right/UCT,right/US/Alaska,right/US/Aleutian,right/US/Arizona,right/US/Central,right/US/East-Indiana,right/US/Eastern,right/US/Hawaii,right/US/Indiana-Starke,right/US/Michigan,right/US/Mountain,right/US/Pacific,right/US/Samoa,right/UTC,right/Universal,right/W-SU,right/WET,right/Zulu" + + PUBLIC SUB TIME_ZONES() DIM stz AS String[] -stz = Split(sTimeZones, ", ") +DIM i AS Integer = 0 + +stz = Split(sTimeZones, ",") FOR EACH stz - FrmZoneSet.lbTmZone.add(sTimeZones) + FrmZoneSet.lbTmZone.add(stz[i]) + INC i NEXT + +'Message(FrmZoneSet.lbTmZone.Text) END |
From: <cod...@go...> - 2008-08-29 13:49:36
|
Author: uelsk8s Date: Fri Aug 29 06:48:45 2008 New Revision: 154 Modified: branches/iVL/.project branches/iVL/MdlInstallSys.module branches/iVL/MdlWinDrives.module branches/iVL/MdlZoneSet.module branches/iVL/installer.gambas Log: fixed timezone string Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Fri Aug 29 06:48:45 2008 @@ -1,7 +1,7 @@ # Gambas Project File 2.0 Title=VectorLinux Installer Startup=MdlCore -Version=0.0.52 +Version=0.0.54 Library=gb.gtk Library=gb.form Library=gb.debug Modified: branches/iVL/MdlInstallSys.module ============================================================================== --- branches/iVL/MdlInstallSys.module (original) +++ branches/iVL/MdlInstallSys.module Fri Aug 29 06:48:45 2008 @@ -135,6 +135,7 @@ IF mt.tag = cb.tag THEN sFstab = sFstab & "\n" & mt.tag & Space(5) & Space(5) & "/" & Space(5) & Trim(mt.text) & Space(5) & "defaults 0 1" & "\n" + END IF NEXT ELSE Modified: branches/iVL/MdlWinDrives.module ============================================================================== --- branches/iVL/MdlWinDrives.module (original) +++ branches/iVL/MdlWinDrives.module Fri Aug 29 06:48:45 2008 @@ -45,6 +45,7 @@ ' THESE ARE ONLY NEEDED FOR FSTAB SHELL "probepart | grep -i fat | cut -f 1 -d \' \'" TO sDump1 + 'message(sDump1) IF sDump1 <> "" THEN sDump1 = Trim(sDump1) 'y = y + tl.Height * 2 + 4 @@ -93,6 +94,9 @@ ELSE sBlank = " " END IF + IF Len(sPartNo) < 1 THEN + BREAK + ENDIF SHELL "export s=$(parted " & Left(sDisks[i], Len("/dev/hda")) & " print | grep ^\'" & sBlank & sPartNo & "\'); echo $s | cut -f 4 -d \' \'" TO sPartsize tl = NEW TextLabel(FrmWinDrives.svWinDrives) WITH tl Modified: branches/iVL/MdlZoneSet.module ============================================================================== --- branches/iVL/MdlZoneSet.module (original) +++ branches/iVL/MdlZoneSet.module Fri Aug 29 06:48:45 2008 @@ -15,7 +15,7 @@ ' You should have received a copy of the GNU General Public License ' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. -PUBLIC sTimeZones AS String = " 'US/Alaska', 'US/Aleutian', 'US/Arizona', 'US/Central', 'US/East-Indiana', 'US/Eastern', 'US/Hawaii', 'US/Indiana-Starke', 'US/Michigan', 'US/Mountain', 'US/Pacific', 'US/Samoa', 'Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', 'Africa/Algiers', 'Africa/Asmera', 'Africa/Bamako', 'Africa/Bangui', 'Africa/Banjul', 'Africa/Bissau', 'Africa/Blantyre', 'Africa/Brazzaville', 'Africa/Bujumbura', 'Africa/Cairo', 'Africa/Casablanca', 'Africa/Ceuta', 'Africa/Conakry', 'Africa/Dakar', 'Africa/Dar_es_Salaam', 'Africa/Djibouti', 'Africa/Douala', 'Africa/El_Aaiun', 'Africa/Freetown', 'Africa/Gaborone', 'Africa/Harare', 'Africa/Johannesburg', 'Africa/Kampala', 'Africa/Khartoum', 'Africa/Kigali', 'Africa/Kinshasa', 'Africa/Lagos', 'Africa/Libreville', 'Africa/Lome', 'Africa/Luanda', 'Africa/Lubumbashi', 'Africa/Lusaka', 'Africa/Malabo', 'Africa/Maputo', 'Africa/Maseru', 'Africa/Mbabane', 'Africa/Mogadishu', 'Africa/Monrovia', 'Africa/Nairobi', 'Africa/Ndjamena', 'Africa/Niamey', 'Africa/Nouakchott', 'Africa/Ouagadougou', 'Africa/Porto-Novo', 'Africa/Sao_Tome', 'Africa/Timbuktu', 'Africa/Tripoli', 'Africa/Tunis', 'Africa/Windhoek', 'America/Adak', 'America/Anchorage', 'America/Anguilla', 'America/Antigua', 'America/Araguaina', 'America/Aruba', 'America/Asuncion', 'America/Atka', 'America/Barbados', 'America/Belem', 'America/Belize', 'America/Boa_Vista', 'America/Bogota', 'America/Boise', 'America/Buenos_Aires', 'America/Cambridge_Bay', 'America/Cancun', 'America/Caracas', 'America/Catamarca', 'America/Cayenne', 'America/Cayman', 'America/Chicago', 'America/Chihuahua', 'America/Cordoba', 'America/Costa_Rica', 'America/Cuiaba', 'America/Curacao', 'America/Dawson', 'America/Dawson_Creek', 'America/Denver', 'America/Detroit', 'America/Dominica', 'America/Edmonton', 'America/Eirunepe', 'America/El_Salvador', 'America/Ensenada', 'America/Fort_Wayne', 'America/Fortaleza', 'America/Glace_Bay', 'America/Godthab', 'America/Goose_Bay', 'America/Grand_Turk', 'America/Grenada', 'America/Guadeloupe', 'America/Guatemala', 'America/Guayaquil', 'America/Guyana', 'America/Halifax', 'America/Havana', 'America/Hermosillo', 'America/Indiana/Indianapolis', 'America/Indiana/Knox', 'America/Indiana/Marengo', 'America/Indiana/Vevay', 'America/Indianapolis', 'America/Inuvik', 'America/Iqaluit', 'America/Jamaica', 'America/Jujuy', 'America/Juneau', 'America/Kentucky/Louisville', 'America/Kentucky/Monticello', 'America/Knox_IN', 'America/La_Paz', 'America/Lima', 'America/Los_Angeles', 'America/Louisville', 'America/Maceio', 'America/Managua', 'America/Manaus', 'America/Martinique', 'America/Mazatlan', 'America/Mendoza', 'America/Menominee', 'America/Merida', 'America/Mexico_City', 'America/Miquelon', 'America/Monterrey', 'America/Montevideo', 'America/Montreal', 'America/Montserrat', 'America/Nassau', 'America/New_York', 'America/Nipigon', 'America/Nome', 'America/Noronha', 'America/Panama', 'America/Pangnirtung', 'America/Paramaribo', 'America/Phoenix', 'America/Port-au-Prince', 'America/Port_of_Spain', 'America/Porto_Acre', 'America/Porto_Velho', 'America/Puerto_Rico', 'America/Rainy_River', 'America/Rankin_Inlet', 'America/Recife', 'America/Regina', 'America/Rosario', 'America/Santiago', 'America/Santo_Domingo', 'America/Sao_Paulo', 'America/Scoresbysund', 'America/Shiprock', 'America/St_Johns', 'America/St_Kitts', 'America/St_Lucia', 'America/St_Thomas', 'America/St_Vincent', 'America/Swift_Current', 'America/Tegucigalpa', 'America/Thule', 'America/Thunder_Bay', 'America/Tijuana', 'America/Tortola', 'America/Vancouver', 'America/Virgin', 'America/Whitehorse', 'America/Winnipeg', 'America/Yakutat', 'America/Yellowknife', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/DumontDUrville', 'Antarctica/Mawson', 'Antarctica/McMurdo', 'Antarctica/Palmer', 'Antarctica/South_Pole', 'Antarctica/Syowa', 'Arctic/Longyearbyen', 'Asia/Aden', 'Asia/Almaty', 'Asia/Amman', 'Asia/Anadyr', 'Asia/Aqtau', 'Asia/Aqtobe', 'Asia/Ashgabat', 'Asia/Ashkhabad', 'Asia/Baghdad', 'Asia/Bahrain', 'Asia/Baku', 'Asia/Bangkok', 'Asia/Beirut', 'Asia/Bishkek', 'Asia/Brunei', 'Asia/Calcut" +PUBLIC sTimeZones AS String = " US\/Alaska, US\/Aleutian, US\/Arizona, US\/Central, US\/East-Indiana, US\/Eastern, US\/Hawaii, US\/Indiana-Starke, US\/Michigan, US\/Mountain, US\/Pacific, US\/Samoa, Africa\/Abidjan, Africa\/Accra, Africa\/Addis_Ababa, Africa\/Algiers, Africa\/Asmera, Africa\/Bamako, Africa\/Bangui, Africa\/Banjul, Africa\/Bissau, Africa\/Blantyre, Africa\/Brazzaville, Africa\/Bujumbura, Africa\/Cairo, Africa\/Casablanca, Africa\/Ceuta, Africa\/Conakry, Africa\/Dakar, Africa\/Dar_es_Salaam, Africa\/Djibouti, Africa\/Douala, Africa\/El_Aaiun, Africa\/Freetown, Africa\/Gaborone, Africa\/Harare, Africa\/Johannesburg, Africa\/Kampala, Africa\/Khartoum, Africa\/Kigali, Africa\/Kinshasa, Africa\/Lagos, Africa\/Libreville, Africa\/Lome, Africa\/Luanda, Africa\/Lubumbashi, Africa\/Lusaka, Africa\/Malabo, Africa\/Maputo, Africa\/Maseru, Africa\/Mbabane, Africa\/Mogadishu, Africa\/Monrovia, Africa\/Nairobi, Africa\/Ndjamena, Africa\/Niamey, Africa\/Nouakchott, Africa\/Ouagadougou, Africa\/Porto-Novo, Africa\/Sao_Tome, Africa\/Timbuktu, Africa\/Tripoli, Africa\/Tunis, Africa\/Windhoek, America\/Adak, America\/Anchorage, America\/Anguilla, America\/Antigua, America\/Araguaina, America\/Aruba, America\/Asuncion, America\/Atka, America\/Barbados, America\/Belem, America\/Belize, America\/Boa_Vista, America\/Bogota, America\/Boise, America\/Buenos_Aires, America\/Cambridge_Bay, America\/Cancun, America\/Caracas, America\/Catamarca, America\/Cayenne, America\/Cayman, America\/Chicago, America\/Chihuahua, America\/Cordoba, America\/Costa_Rica, America\/Cuiaba, America\/Curacao, America\/Dawson, America\/Dawson_Creek, America\/Denver, America\/Detroit, America\/Dominica, America\/Edmonton, America\/Eirunepe, America\/El_Salvador, America\/Ensenada, America\/Fort_Wayne, America\/Fortaleza, America\/Glace_Bay, America\/Godthab, America\/Goose_Bay, America\/Grand_Turk, America\/Grenada, America\/Guadeloupe, America\/Guatemala, America\/Guayaquil, America\/Guyana, America\/Halifax, America\/Havana, America\/Hermosillo, America\/Indiana\/Indianapolis, America\/Indiana\/Knox, America\/Indiana\/Marengo, America\/Indiana\/Vevay, America\/Indianapolis, America\/Inuvik, America\/Iqaluit, America\/Jamaica, America\/Jujuy, America\/Juneau, America\/Kentucky\/Louisville, America\/Kentucky\/Monticello, America\/Knox_IN, America\/La_Paz, America\/Lima, America\/Los_Angeles, America\/Louisville, America\/Maceio, America\/Managua, America\/Manaus, America\/Martinique, America\/Mazatlan, America\/Mendoza, America\/Menominee, America\/Merida, America\/Mexico_City, America\/Miquelon, America\/Monterrey, America\/Montevideo, America\/Montreal, America\/Montserrat, America\/Nassau, America\/New_York, America\/Nipigon, America\/Nome, America\/Noronha, America\/Panama, America\/Pangnirtung, America\/Paramaribo, America\/Phoenix, America\/Port-au-Prince, America\/Port_of_Spain, America\/Porto_Acre, America\/Porto_Velho, America\/Puerto_Rico, America\/Rainy_River, America\/Rankin_Inlet, America\/Recife, America\/Regina, America\/Rosario, America\/Santiago, America\/Santo_Domingo, America\/Sao_Paulo, America\/Scoresbysund, America\/Shiprock, America\/St_Johns, America\/St_Kitts, America\/St_Lucia, America\/St_Thomas, America\/St_Vincent, America\/Swift_Current, America\/Tegucigalpa, America\/Thule, America\/Thunder_Bay, America\/Tijuana, America\/Tortola, America\/Vancouver, America\/Virgin, America\/Whitehorse, America\/Winnipeg, America\/Yakutat, America\/Yellowknife, Antarctica\/Casey, Antarctica\/Davis, Antarctica\/DumontDUrville, Antarctica\/Mawson, Antarctica\/McMurdo, Antarctica\/Palmer, Antarctica\/South_Pole, Antarctica\/Syowa, Arctic\/Longyearbyen, Asia\/Aden, Asia\/Almaty, Asia\/Amman, Asia\/Anadyr, Asia\/Aqtau, Asia\/Aqtobe, Asia\/Ashgabat, Asia\/Ashkhabad, Asia\/Baghdad, Asia\/Bahrain, Asia\/Baku, Asia\/Bangkok, Asia\/Beirut, Asia\/Bishkek, Asia\/Brunei, Asia\/Calcut" PUBLIC SUB TIME_ZONES() Modified: branches/iVL/installer.gambas ============================================================================== Binary files. No diff available. |
From: <cod...@go...> - 2008-08-29 04:09:19
|
Author: uelsk8s Date: Thu Aug 28 21:08:06 2008 New Revision: 153 Added: branches/iVL/FrmZoneSet.class branches/iVL/FrmZoneSet.form branches/iVL/MdlZoneSet.module Modified: branches/iVL/.lang/#project.pot branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/FMain.class branches/iVL/MdlConfLilo.module branches/iVL/MdlInstallSys.module Log: started timezone config Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/.project +# /home/uel/svn-installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsGlobal.class +# /home/uel/svn-installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsPartSel.class +# /home/uel/svn-installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/ClsWinDrives.class +# /home/uel/svn-installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FMain.class +# /home/uel/svn-installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FMain.class:313 +#: FMain.class:316 msgid "Process Overview" msgstr "" -#: FMain.class:333 +#: FMain.class:336 msgid "Next" msgstr "" -#: FMain.class:339 +#: FMain.class:342 msgid "Back" msgstr "" -#: FMain.class:345 +#: FMain.class:348 msgid "Exit" msgstr "" Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmDiskPart.class +# /home/uel/svn-installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmLicense.class +# /home/uel/svn-installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPartScheme.class +# /home/uel/svn-installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPartSel.class +# /home/uel/svn-installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmPkgSel.class +# /home/uel/svn-installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmSelISO.class +# /home/uel/svn-installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmSummary.class +# /home/uel/svn-installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/FrmWinDrives.class +# /home/uel/svn-installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlCore.module +# /home/uel/svn-installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlDiskPart.module +# /home/uel/svn-installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlObjSizer.module +# /home/uel/svn-installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlPartSel.module +# /home/uel/svn-installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlPkgSel.module +# /home/uel/svn-installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlSetup.module +# /home/uel/svn-installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlSummarize.module +# /home/uel/svn-installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Thu Aug 28 21:08:06 2008 @@ -1,4 +1,4 @@ -# /home/moe/projects/installer/MdlWinDrives.module +# /home/uel/svn-installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Thu Aug 28 21:08:06 2008 @@ -252,7 +252,10 @@ 'frmNext = FrmLiloOsList - + frmNext = FrmZoneSet + + CASE "FrmZoneSet" + MdlZoneSet.TIME_ZONES END SELECT Added: branches/iVL/FrmZoneSet.class ============================================================================== --- (empty file) +++ branches/iVL/FrmZoneSet.class Thu Aug 28 21:08:06 2008 @@ -0,0 +1,2 @@ +' Gambas class file + Added: branches/iVL/FrmZoneSet.form ============================================================================== --- (empty file) +++ branches/iVL/FrmZoneSet.form Thu Aug 28 21:08:06 2008 @@ -0,0 +1,22 @@ +# Gambas Form File 2.0 + +{ Form Form + MoveScaled(0,0,64,55) + Text = ("") + { cbHwClock ComboBox + MoveScaled(40,8,21,2) + Text = ("ComboBox1") + List = [("LocalTime"), ("UTC")] + } + { TextLabel1 TextLabel + MoveScaled(1,2,34,11) + Text = ("Choose how\nyour hardware clock is set up.\nChoose UTC if you know that the clock is set up to\nthe Coordinated Universal Time (UTC/GMT). Otherwise,\nChoose localtime since most PCs are setup this way.") + } + { TextLabel2 TextLabel + MoveScaled(1,17,34,13) + Text = ("Choose the correct timezone for the area in which you live.") + } + { lbTmZone ListBox + MoveScaled(40,16,21,15) + } +} Modified: branches/iVL/MdlConfLilo.module ============================================================================== --- branches/iVL/MdlConfLilo.module (original) +++ branches/iVL/MdlConfLilo.module Thu Aug 28 21:08:06 2008 @@ -107,8 +107,8 @@ File.Save(ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2", sOut) 'SHELL "echo \"" & sOut & "\" >" & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" SHELL "chmod +x " & ClsGlobal.sTargetMnt &/ "var/log/setup/init/config-stage2" - Message("Vectorlinux has been installed click OK to reboot") - SHELL "reboot" + 'Message("Vectorlinux has been installed click OK to reboot") + 'SHELL "reboot" END Modified: branches/iVL/MdlInstallSys.module ============================================================================== --- branches/iVL/MdlInstallSys.module (original) +++ branches/iVL/MdlInstallSys.module Thu Aug 28 21:08:06 2008 @@ -131,7 +131,7 @@ sBlank = " " END IF IF cb.tag = ClsPartSel.sRoot THEN - FOR EACH mt IN MdlPartFrmt.oFsTypes + FOR EACH mt IN MdlPartSel.oFsTypes IF mt.tag = cb.tag THEN sFstab = sFstab & "\n" & mt.tag & Space(5) & Space(5) & "/" & Space(5) & Trim(mt.text) & Space(5) & "defaults 0 1" & "\n" Added: branches/iVL/MdlZoneSet.module ============================================================================== --- (empty file) +++ branches/iVL/MdlZoneSet.module Thu Aug 28 21:08:06 2008 @@ -0,0 +1,29 @@ +' Gambas module file + +' This file is part of vinstall-ng + +' vinstall-ng is free software: you can redistribute it and/or modify +' it under the terms of the GNU General Public License as published by +' the Free Software Foundation, either version 2 of the License, or +' (at your option) any later version. + +' vinstall-ng is distributed in the hope that it will be useful, +' but WITHOUT ANY WARRANTY; without even the implied warranty of +' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +' GNU General Public License for more details. + +' You should have received a copy of the GNU General Public License +' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>. + +PUBLIC sTimeZones AS String = " 'US/Alaska', 'US/Aleutian', 'US/Arizona', 'US/Central', 'US/East-Indiana', 'US/Eastern', 'US/Hawaii', 'US/Indiana-Starke', 'US/Michigan', 'US/Mountain', 'US/Pacific', 'US/Samoa', 'Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', 'Africa/Algiers', 'Africa/Asmera', 'Africa/Bamako', 'Africa/Bangui', 'Africa/Banjul', 'Africa/Bissau', 'Africa/Blantyre', 'Africa/Brazzaville', 'Africa/Bujumbura', 'Africa/Cairo', 'Africa/Casablanca', 'Africa/Ceuta', 'Africa/Conakry', 'Africa/Dakar', 'Africa/Dar_es_Salaam', 'Africa/Djibouti', 'Africa/Douala', 'Africa/El_Aaiun', 'Africa/Freetown', 'Africa/Gaborone', 'Africa/Harare', 'Africa/Johannesburg', 'Africa/Kampala', 'Africa/Khartoum', 'Africa/Kigali', 'Africa/Kinshasa', 'Africa/Lagos', 'Africa/Libreville', 'Africa/Lome', 'Africa/Luanda', 'Africa/Lubumbashi', 'Africa/Lusaka', 'Africa/Malabo', 'Africa/Maputo', 'Africa/Maseru', 'Africa/Mbabane', 'Africa/Mogadishu', 'Africa/Monrovia', 'Africa/Nairobi', 'Africa/Ndjamena', 'Africa/Niamey', 'Africa/Nouakchott', 'Africa/Ouagadougou', 'Africa/Porto-Novo', 'Africa/Sao_Tome', 'Africa/Timbuktu', 'Africa/Tripoli', 'Africa/Tunis', 'Africa/Windhoek', 'America/Adak', 'America/Anchorage', 'America/Anguilla', 'America/Antigua', 'America/Araguaina', 'America/Aruba', 'America/Asuncion', 'America/Atka', 'America/Barbados', 'America/Belem', 'America/Belize', 'America/Boa_Vista', 'America/Bogota', 'America/Boise', 'America/Buenos_Aires', 'America/Cambridge_Bay', 'America/Cancun', 'America/Caracas', 'America/Catamarca', 'America/Cayenne', 'America/Cayman', 'America/Chicago', 'America/Chihuahua', 'America/Cordoba', 'America/Costa_Rica', 'America/Cuiaba', 'America/Curacao', 'America/Dawson', 'America/Dawson_Creek', 'America/Denver', 'America/Detroit', 'America/Dominica', 'America/Edmonton', 'America/Eirunepe', 'America/El_Salvador', 'America/Ensenada', 'America/Fort_Wayne', 'America/Fortaleza', 'America/Glace_Bay', 'America/Godthab', 'America/Goose_Bay', 'America/Grand_Turk', 'America/Grenada', 'America/Guadeloupe', 'America/Guatemala', 'America/Guayaquil', 'America/Guyana', 'America/Halifax', 'America/Havana', 'America/Hermosillo', 'America/Indiana/Indianapolis', 'America/Indiana/Knox', 'America/Indiana/Marengo', 'America/Indiana/Vevay', 'America/Indianapolis', 'America/Inuvik', 'America/Iqaluit', 'America/Jamaica', 'America/Jujuy', 'America/Juneau', 'America/Kentucky/Louisville', 'America/Kentucky/Monticello', 'America/Knox_IN', 'America/La_Paz', 'America/Lima', 'America/Los_Angeles', 'America/Louisville', 'America/Maceio', 'America/Managua', 'America/Manaus', 'America/Martinique', 'America/Mazatlan', 'America/Mendoza', 'America/Menominee', 'America/Merida', 'America/Mexico_City', 'America/Miquelon', 'America/Monterrey', 'America/Montevideo', 'America/Montreal', 'America/Montserrat', 'America/Nassau', 'America/New_York', 'America/Nipigon', 'America/Nome', 'America/Noronha', 'America/Panama', 'America/Pangnirtung', 'America/Paramaribo', 'America/Phoenix', 'America/Port-au-Prince', 'America/Port_of_Spain', 'America/Porto_Acre', 'America/Porto_Velho', 'America/Puerto_Rico', 'America/Rainy_River', 'America/Rankin_Inlet', 'America/Recife', 'America/Regina', 'America/Rosario', 'America/Santiago', 'America/Santo_Domingo', 'America/Sao_Paulo', 'America/Scoresbysund', 'America/Shiprock', 'America/St_Johns', 'America/St_Kitts', 'America/St_Lucia', 'America/St_Thomas', 'America/St_Vincent', 'America/Swift_Current', 'America/Tegucigalpa', 'America/Thule', 'America/Thunder_Bay', 'America/Tijuana', 'America/Tortola', 'America/Vancouver', 'America/Virgin', 'America/Whitehorse', 'America/Winnipeg', 'America/Yakutat', 'America/Yellowknife', 'Antarctica/Casey', 'Antarctica/Davis', 'Antarctica/DumontDUrville', 'Antarctica/Mawson', 'Antarctica/McMurdo', 'Antarctica/Palmer', 'Antarctica/South_Pole', 'Antarctica/Syowa', 'Arctic/Longyearbyen', 'Asia/Aden', 'Asia/Almaty', 'Asia/Amman', 'Asia/Anadyr', 'Asia/Aqtau', 'Asia/Aqtobe', 'Asia/Ashgabat', 'Asia/Ashkhabad', 'Asia/Baghdad', 'Asia/Bahrain', 'Asia/Baku', 'Asia/Bangkok', 'Asia/Beirut', 'Asia/Bishkek', 'Asia/Brunei', 'Asia/Calcut" + +PUBLIC SUB TIME_ZONES() + +DIM stz AS String[] +stz = Split(sTimeZones, ", ") + +FOR EACH stz + FrmZoneSet.lbTmZone.add(sTimeZones) +NEXT + +END |
From: <cod...@go...> - 2008-08-28 22:02:03
|
Author: M0E.lnx Date: Thu Aug 28 15:00:53 2008 New Revision: 152 Modified: branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/ClsPartSel.pot branches/iVL/.lang/ClsWinDrives.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmDiskPart.pot branches/iVL/.lang/FrmLicense.pot branches/iVL/.lang/FrmPartScheme.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmPkgSel.pot branches/iVL/.lang/FrmSelISO.pot branches/iVL/.lang/FrmSummary.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlDiskPart.pot branches/iVL/.lang/MdlObjSizer.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlSummarize.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/FrmSelISO.class branches/iVL/FrmSelISO.form branches/iVL/MdlCore.module branches/iVL/MdlInstallSys.module branches/iVL/MdlLiloOsList.module branches/iVL/MdlPartSel.module Log: - Modified ISO selection label - Fixed problem in fstab writer (missing mount point for /) - Added default fs type for / partition This will keep new users from choosing a / and not formatting. installing to an unformatted partition would lead to a bad install - Adjusted lilo screen to set focus on the newly installed VL Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/ClsGlobal.class +# /home/moe/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsPartSel.pot ============================================================================== --- branches/iVL/.lang/ClsPartSel.pot (original) +++ branches/iVL/.lang/ClsPartSel.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/ClsPartSel.class +# /home/moe/projects/installer/ClsPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/ClsWinDrives.pot ============================================================================== --- branches/iVL/.lang/ClsWinDrives.pot (original) +++ branches/iVL/.lang/ClsWinDrives.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/ClsWinDrives.class +# /home/moe/projects/installer/ClsWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/FMain.class +# /home/moe/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmDiskPart.pot ============================================================================== --- branches/iVL/.lang/FrmDiskPart.pot (original) +++ branches/iVL/.lang/FrmDiskPart.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmDiskPart.class +# /home/moe/projects/installer/FrmDiskPart.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmLicense.pot ============================================================================== --- branches/iVL/.lang/FrmLicense.pot (original) +++ branches/iVL/.lang/FrmLicense.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmLicense.class +# /home/moe/projects/installer/FrmLicense.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartScheme.pot ============================================================================== --- branches/iVL/.lang/FrmPartScheme.pot (original) +++ branches/iVL/.lang/FrmPartScheme.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmPartScheme.class +# /home/moe/projects/installer/FrmPartScheme.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/FrmPartSel.class +# /home/moe/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPkgSel.pot ============================================================================== --- branches/iVL/.lang/FrmPkgSel.pot (original) +++ branches/iVL/.lang/FrmPkgSel.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmPkgSel.class +# /home/moe/projects/installer/FrmPkgSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmSelISO.pot ============================================================================== --- branches/iVL/.lang/FrmSelISO.pot (original) +++ branches/iVL/.lang/FrmSelISO.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmSelISO.class +# /home/moe/projects/installer/FrmSelISO.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. @@ -14,19 +14,19 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: FrmSelISO.class:211 +#: FrmSelISO.class:219 msgid "No installable images found." msgstr "" -#: FrmSelISO.class:217 -msgid "Select which distribution to install from the list below" +#: FrmSelISO.class:225 +msgid "Select which VectorLinux version you wish to install from the list below" msgstr "" -#: FrmSelISO.class:222 +#: FrmSelISO.class:230 msgid "TextLabel1" msgstr "" -#: FrmSelISO.class:227 +#: FrmSelISO.class:235 msgid "Search Again" msgstr "" Modified: branches/iVL/.lang/FrmSummary.pot ============================================================================== --- branches/iVL/.lang/FrmSummary.pot (original) +++ branches/iVL/.lang/FrmSummary.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmSummary.class +# /home/moe/projects/installer/FrmSummary.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/FrmWinDrives.class +# /home/moe/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/MdlCore.module +# /home/moe/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlDiskPart.pot ============================================================================== --- branches/iVL/.lang/MdlDiskPart.pot (original) +++ branches/iVL/.lang/MdlDiskPart.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlDiskPart.module +# /home/moe/projects/installer/MdlDiskPart.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlObjSizer.pot ============================================================================== --- branches/iVL/.lang/MdlObjSizer.pot (original) +++ branches/iVL/.lang/MdlObjSizer.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlObjSizer.module +# /home/moe/projects/installer/MdlObjSizer.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/MdlPartSel.module +# /home/moe/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/MdlPkgSel.module +# /home/moe/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/MdlSetup.module +# /home/moe/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSummarize.pot ============================================================================== --- branches/iVL/.lang/MdlSummarize.pot (original) +++ branches/iVL/.lang/MdlSummarize.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlSummarize.module +# /home/moe/projects/installer/MdlSummarize.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Thu Aug 28 15:00:53 2008 @@ -1,4 +1,4 @@ -# /home/moe/area-51/projects/installer/MdlWinDrives.module +# /home/moe/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/FrmSelISO.class ============================================================================== --- branches/iVL/FrmSelISO.class (original) +++ branches/iVL/FrmSelISO.class Thu Aug 28 15:00:53 2008 @@ -39,6 +39,8 @@ RETURN ' quiet return... we already know there are no images found END IF +'Message(Left(FrmSelISO.lstInstallableImg.text, InStr(FrmSelISO.lstInstallableImg.text, "/") - 4)) + END @@ -59,6 +61,12 @@ IF ClsGlobal.sBackNav.Find(ME) = -1 THEN ClsGlobal.sBackNav.Add(ME) END IF + + IF lstInstallableImg.count = 1 THEN + tlBanner.Text = "Click \'" & FMain.btnext.text & "\' to begin installating " & + Left(FrmSelISO.lstInstallableImg.text, InStr(FrmSelISO.lstInstallableImg.text, "/") - 4) + END IF + END Modified: branches/iVL/FrmSelISO.form ============================================================================== --- branches/iVL/FrmSelISO.form (original) +++ branches/iVL/FrmSelISO.form Thu Aug 28 15:00:53 2008 @@ -5,20 +5,20 @@ Text = ("") FullScreen = True { lstInstallableImg ComboBox - MoveScaled(1,7,45,3.375) + MoveScaled(1,7,45,3.2857) Text = ("No installable images found.") ReadOnly = True } { tlBanner TextLabel MoveScaled(1,1,58,5) - Text = ("Select which distribution to install from the list below") + Text = ("Select which VectorLinux version you wish to install from the list below") } { tlDistroDesc TextLabel MoveScaled(1,13,60,22) Text = ("TextLabel1") } { btResCan Button - MoveScaled(49,7,13,3.375) + MoveScaled(49,7,13,3.2857) Text = ("Search Again") Picture = Picture["icon:/16/refresh"] } Modified: branches/iVL/MdlCore.module ============================================================================== --- branches/iVL/MdlCore.module (original) +++ branches/iVL/MdlCore.module Thu Aug 28 15:00:53 2008 @@ -112,10 +112,7 @@ ME.FIND_ISO_ON_DRIVE(sPartition) NEXT - 'ELSE ' only one linux partition found - ' sPartition = Trim(sResults) - ' ME.FIND_ISO_ON_DRIVE(sPartition) - 'END IF + END Modified: branches/iVL/MdlInstallSys.module ============================================================================== --- branches/iVL/MdlInstallSys.module (original) +++ branches/iVL/MdlInstallSys.module Thu Aug 28 15:00:53 2008 @@ -92,51 +92,7 @@ DIM cb, mt AS ComboBox DIM sRes, sDrive, sBlank, sPartNo AS String - - 'FOR testing purposes - 'ClsPartSel.sRoot = "/mnt/target" - - - - - - ' MAKE SURE THE PARTITIONS TYPES ARE DETECTED CORRECTLY - - IF ClsPartSel.fRoot LIKE "do not format" THEN - SHELL "mount | grep -m 1 \'" & ClsPartSel.sRoot & "\' | cut -f 5 -d \' \'" TO sPartFmt - sPartFmt = Trim(sPartFmt) - ClsPartSel.fRoot = sPartFmt - - END IF - IF ClsPartSel.sHome AND ClsPartSel.fhome LIKE "do not format" THEN - SHELL "mount | grep -m 1 \'" & ClsPartSel.sHome & "\' | cut -f 5 -d \' \'" TO sPartFmt - sPartFmt = Trim(sPartFmt) - ClsPartSel.fhome = sPartFmt - END IF - IF ClsPartSel.fUsr AND ClsPartSel.fUsr LIKE "do not format" THEN - SHELL "mount | grep -m 1 \'" & ClsPartSel.sUsr & "\' | cut -f 5 -d \' \'" TO sPartFmt - sPartFmt = Trim(sPartFmt) - ClsPartSel.fUsr = sPartFmt - END IF - IF ClsPartSel.fVar AND ClsPartSel.fVar LIKE "do not format" THEN - SHELL "mount | grep -m 1 \'" & ClsPartSel.sVar & "\' | cut -f 5 -d \' \'" TO sPartFmt - sPartFmt = Trim(sPartFmt) - ClsPartSel.fVar = sPartFmt - END IF - IF ClsPartSel.fOpt AND ClsPartSel.fOpt LIKE "do not format" THEN - SHELL "mount | grep -m 1 \'" & ClsPartSel.sOpt & "\' | cut -f 5 -d \' \'" TO sPartFmt - sPartFmt = Trim(sPartFmt) - ClsPartSel.fOpt = sPartFmt - END IF - IF ClsPartSel.fTmp AND ClsPartSel.fTmp LIKE "do not format" THEN - SHELL "mount | grep -m 1 \'" & ClsPartSel.sTmp & "\' | cut -f 5 -d \' \'" TO sPartFmt - sPartFmt = Trim(sPartFmt) - ClsPartSel.fTmp = sPartFmt - - END IF - - - + ' make the changes show up on the steps now FrmInstallSys.tlCurrPkg.Text = "Writing new /etc/fstab to system" @@ -158,29 +114,7 @@ sFstab = sFstab & gb.NewLine -' ' ' ClsPartSel.sRoot & Space(5) & "/" & Space(5) & LCase(ClsPartSel.fRoot) & Space(5) & ME.fS_oPTIONS(LCase(ClsPartSel.fRoot)) & Space(5) & "0 1" & gb.NewLine -' ' ' -' ' ' IF ClsPartSel.sHome THEN -' ' ' sFstab = sFstab & gb.NewLine & ClsPartSel.sHome & " /home " & LCase(ClsPartSel.fhome) & " " & ME.fS_oPTIONS(LCase(ClsPartSel.fhome)) & " 0 2" -' ' ' END IF -' ' ' IF ClsPartSel.sUsr THEN -' ' ' sFstab = sFstab & gb.NewLine & ClsPartSel.sUsr & " /usr " & LCase(ClsPartSel.fUsr) & " " & ME.fS_oPTIONS(LCase(ClsPartSel.fUsr)) & " 0 2 " -' ' ' END IF -' ' ' IF ClsPartSel.sOpt THEN -' ' ' sFstab = sFstab & gb.NewLine & ClsPartSel.sopt & " /opt " & LCase(ClsPartSel.fOpt) & " " & ME.fS_oPTIONS(LCase(ClsPartSel.fOpt)) & " 0 2 " -' ' ' END IF -' ' ' IF ClsPartSel.sVar THEN -' ' ' sFstab = sFstab & gb.NewLine & ClsPartSel.sVar & " /var " & LCase(ClsPartSel.fVar) & " " & ME.fS_oPTIONS(LCase(ClsPartSel.fVar)) & " 0 2 " -' ' ' END IF -' ' ' IF ClsPartSel.sTmp THEN -' ' ' sFstab = sFstab & gb.NewLine & ClsPartSel.sTmp & " /tmp " & LCase(ClsPartSel.fTmp) & " " & ME.fS_oPTIONS(LCase(ClsPartSel.fTmp)) & " 0 2 " -' ' ' END IF -' ' ' IF ClsPartSel.sLinuxPart THEN -' ' ' FOR i = 0 TO ClsPartSel.sLinuxPart.Count - 1 -' ' ' sLinPart = ClsPartSel.sLinuxPart[i] -' ' ' sLinMntPnt = ClsPartSel.sLinuxPart[i] -' ' ' NEXT -' ' ' ENDIF + ' nOW LETS' GET THE REST OF THE PARTITIONS IN THERE FOR EACH CB IN MdlPartSel.oMountPoints @@ -200,7 +134,7 @@ FOR EACH mt IN MdlPartFrmt.oFsTypes IF mt.tag = cb.tag THEN sFstab = sFstab & "\n" & - mt.tag & Space(5) & Trim(mt.text) & Space(5) & "defaults 0 1" & "\n" + mt.tag & Space(5) & Space(5) & "/" & Space(5) & Trim(mt.text) & Space(5) & "defaults 0 1" & "\n" END IF NEXT ELSE Modified: branches/iVL/MdlLiloOsList.module ============================================================================== --- branches/iVL/MdlLiloOsList.module (original) +++ branches/iVL/MdlLiloOsList.module Thu Aug 28 15:00:53 2008 @@ -370,7 +370,7 @@ .tag = arrLinux[i] .Background = Color.Background END WITH - ME.iVlTag = FrmLilo.TabStrip1.Index + ME.iVlTag = FrmLilo.TabStrip1.Index - 1 END IF END IF Modified: branches/iVL/MdlPartSel.module ============================================================================== --- branches/iVL/MdlPartSel.module (original) +++ branches/iVL/MdlPartSel.module Thu Aug 28 15:00:53 2008 @@ -312,7 +312,11 @@ SELECT CASE LAST.text CASE "/" ClsPartSel.sRoot = LCase(LAST.tag) - + FOR EACH sdropdwn IN ME.oFsTypes + IF sdropdwn.tag = LAST.tag THEN + sdropdwn.Text = "reiserfs" + END IF + NEXT CASE "/home" ClsPartSel.sHome = LCase(LAST.tag) |
From: <cod...@go...> - 2008-08-28 13:42:28
|
Author: M0E.lnx Date: Thu Aug 28 06:41:36 2008 New Revision: 151 Modified: branches/iVL/.lang/ClsGlobal.pot branches/iVL/.lang/FMain.pot branches/iVL/.lang/FrmPartSel.pot branches/iVL/.lang/FrmWinDrives.pot branches/iVL/.lang/MdlCore.pot branches/iVL/.lang/MdlPartSel.pot branches/iVL/.lang/MdlPkgSel.pot branches/iVL/.lang/MdlSetup.pot branches/iVL/.lang/MdlWinDrives.pot branches/iVL/MdlWinDrives.module Log: Fixed typo in MdlWinDrives Modified: branches/iVL/.lang/ClsGlobal.pot ============================================================================== --- branches/iVL/.lang/ClsGlobal.pot (original) +++ branches/iVL/.lang/ClsGlobal.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/ClsGlobal.class +# /home/moe/area-51/projects/installer/ClsGlobal.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FMain.pot ============================================================================== --- branches/iVL/.lang/FMain.pot (original) +++ branches/iVL/.lang/FMain.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FMain.class +# /home/moe/area-51/projects/installer/FMain.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmPartSel.pot ============================================================================== --- branches/iVL/.lang/FrmPartSel.pot (original) +++ branches/iVL/.lang/FrmPartSel.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmPartSel.class +# /home/moe/area-51/projects/installer/FrmPartSel.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/FrmWinDrives.pot ============================================================================== --- branches/iVL/.lang/FrmWinDrives.pot (original) +++ branches/iVL/.lang/FrmWinDrives.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/FrmWinDrives.class +# /home/moe/area-51/projects/installer/FrmWinDrives.class # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlCore.pot ============================================================================== --- branches/iVL/.lang/MdlCore.pot (original) +++ branches/iVL/.lang/MdlCore.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlCore.module +# /home/moe/area-51/projects/installer/MdlCore.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPartSel.pot ============================================================================== --- branches/iVL/.lang/MdlPartSel.pot (original) +++ branches/iVL/.lang/MdlPartSel.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlPartSel.module +# /home/moe/area-51/projects/installer/MdlPartSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlPkgSel.pot ============================================================================== --- branches/iVL/.lang/MdlPkgSel.pot (original) +++ branches/iVL/.lang/MdlPkgSel.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlPkgSel.module +# /home/moe/area-51/projects/installer/MdlPkgSel.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlSetup.pot ============================================================================== --- branches/iVL/.lang/MdlSetup.pot (original) +++ branches/iVL/.lang/MdlSetup.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlSetup.module +# /home/moe/area-51/projects/installer/MdlSetup.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/.lang/MdlWinDrives.pot ============================================================================== --- branches/iVL/.lang/MdlWinDrives.pot (original) +++ branches/iVL/.lang/MdlWinDrives.pot Thu Aug 28 06:41:36 2008 @@ -1,4 +1,4 @@ -# /home/vluser/Area-51/projects/installer/MdlWinDrives.module +# /home/moe/area-51/projects/installer/MdlWinDrives.module # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/MdlWinDrives.module ============================================================================== --- branches/iVL/MdlWinDrives.module (original) +++ branches/iVL/MdlWinDrives.module Thu Aug 28 06:41:36 2008 @@ -126,7 +126,7 @@ sDump1 = "" 'sDisks.Clear SHELL "probepart | grep -i ntfs | cut -f 1 -d \' \'" TO sDump1 - sDump = Trim(sDump1) + sDump1 = Trim(sDump1) wintfs = Split(sDump1, "\n") FOR i = 0 TO wintfs.Count - 1 sPartNo = Right(wintfs[i], Len(wintfs[i]) - Len("/dev/hda")) |