From e8e807ee2bf120ba863efeb7ddf79b13a9455d49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Minisini?=
[linux@home ~]$ wget http://gambas.sourceforge.net/gambas-2.14.0.tar.bz2 +[linux@home ~]$ wget http://gambas.sourceforge.net/gambas-2.15.0.tar.bz2Then, you must unpack the downloaded archive in a well chosen place. @@ -36,18 +36,18 @@ For example, in your home directory.
[linux@home ~] cd ~ -[linux@home ~]$ bunzip2 gambas-2.14.0.tar.bz2 +[linux@home ~]$ bunzip2 gambas-2.15.0.tar.bz2 -[linux@home ~]$ tar xf gambas-2.14.0.tar +[linux@home ~]$ tar xf gambas-2.15.0.tar [linux@home ~]$ ls -... gambas-2.14.0 ... +... gambas-2.15.0 ...A gambas directory has been created with the contents of the archive. Enter it !
-[linux@home ~]$ cd gambas-2.14.0 +[linux@home ~]$ cd gambas-2.15.0Then you can launch the compilation of the sources with the two following @@ -58,7 +58,7 @@ system in order to adapt the compilation process. It is a script located in the source directory, so you could be obliged to add "./" before the command name to launch it.
-[linux@home gambas-2.14.0]$ ./configure +[linux@home gambas-2.15.0]$ ./configure ...@@ -85,7 +85,7 @@ following options to configure :For example :
-[linux@home gambas-2.14.0]$ ./configure --disable-db-component +[linux@home gambas-2.15.0]$ ./configure --disable-db-componentNote that if you forgot to install a development package, the components that @@ -95,7 +95,7 @@ output of the configure command.
When configure ends without any error, you can launch the compilation with make.
-[linux@home gambas-2.14.0]$ make +[linux@home gambas-2.15.0]$ make ...@@ -109,7 +109,7 @@ to you to go to the mailing-list to carefully expose your problem with Gambas. To do that, you must be root. So we are going to use the su command : -[linux@home gambas-2.14.0]$ su -c "make install" +[linux@home gambas-2.15.0]$ su -c "make install" Password: ...@@ -122,7 +122,7 @@ Read the INSTALL file in the source directory for more details.For example, to install Gambas under /usr, just type the following:
-[linux@home gambas-2.14.0]$ ./configure --prefix=/usr +[linux@home gambas-2.15.0]$ ./configure --prefix=/usrNote that symbolic links are created in the /usr/bin folder so that @@ -134,7 +134,7 @@ symbolic links are not created.
Once everything is done, you can launch the development environment.
-[linux@home gambas-2.14.0]$ gambas +[linux@home gambas-2.15.0]$ gambasOr for the development version:
diff --git a/app/src/MakeWebSite/gambas.sourceforge.net/download.html b/app/src/MakeWebSite/gambas.sourceforge.net/download.html index 593c54981..510d6076b 100644 --- a/app/src/MakeWebSite/gambas.sourceforge.net/download.html +++ b/app/src/MakeWebSite/gambas.sourceforge.net/download.html @@ -80,29 +80,29 @@ $ ./reconf-all+ + +gambas2-2.15.0.tar.bz2 +2.15.0 +tar.bz2 +- gambas2-2.14.0.tar.bz2 2.14.0 tar.bz2 + - gambas2-2.13.1.tar.bz2 2.13.1 tar.bz2 + - gambas2-2.12.0.tar.bz2 2.12.0 tar.bz2 - -gambas2-2.11.1.tar.bz2 -2.11.1 -tar.bz2 -{How to compile and install Gambas}
diff --git a/app/src/MakeWebSite/gambas.sourceforge.net/home.html b/app/src/MakeWebSite/gambas.sourceforge.net/home.html index 9aa57aedf..2f9367763 100644 --- a/app/src/MakeWebSite/gambas.sourceforge.net/home.html +++ b/app/src/MakeWebSite/gambas.sourceforge.net/home.html @@ -19,7 +19,7 @@@@ -64,6 +64,29 @@++ + + ++26 jul 2009 - Release of Gambas 2.15++++
+ The main changes of this release are: +
+
+ +- A big bug was fixed in the interpreter that made it crash randomly on some systems. +
- String to number conversion was fixed, especially when converting Long numbers. +
- The Firebird driver is compiled correctly now. +
- The SQLite 3 driver now correctly returns the default value of fields. +
- Raising or lowering controls now works correctly in the GTK+ component. +
- The SMTP component now strictly follows RFC 2047 when sending mails with subjects encoded in UTF-8. +
- The Xml.ToString() method was fixed in the XML component. +
See the ChangeLog for other bug fixes. +
@@ -79,27 +102,6 @@ As many pages of this web site were actually stored in the wiki, they are not ac-- - - --27 jun 2009 - Release of Gambas 2.14--- {Older News...} diff --git a/app/src/MakeWebSite/gambas.sourceforge.net/news.html b/app/src/MakeWebSite/gambas.sourceforge.net/news.html index 426ab9c50..50bc924fd 100644 --- a/app/src/MakeWebSite/gambas.sourceforge.net/news.html +++ b/app/src/MakeWebSite/gambas.sourceforge.net/news.html @@ -10,6 +10,29 @@-
- The main changes of this release are: -
-
- -- All database drivers became components so that they can be an explicit project dependency. -
- File watch management routines were fixed in the interpreter, in gb.qt and gb.gtk. -
- Static variables are correctly inherited now. -
- Focus and clipboard management in gb.qt were fixed. -
- A lot of gb.gtk bugs was fixed too. -
See the ChangeLog for the other bug fixes. -
{News Archive}++ + + ++26 jul 2009 - Release of Gambas 2.15++++
+ The main changes of this release are: +
+
+ +- A big bug was fixed in the interpreter that made it crash randomly on some systems. +
- String to number conversion was fixed, especially when converting Long numbers. +
- The Firebird driver is compiled correctly now. +
- The SQLite 3 driver now correctly returns the default value of fields. +
- Raising or lowering controls now works correctly in the GTK+ component. +
- The SMTP component now strictly follows RFC 2047 when sending mails with subjects encoded in UTF-8. +
- The Xml.ToString() method was fixed in the XML component. +
See the ChangeLog for other bug fixes. +
diff --git a/app/src/MakeWebSite/gambas.sourceforge.net/top-right-corner.png b/app/src/MakeWebSite/gambas.sourceforge.net/top-right-corner.png index cc909e73fdf4eaf6f0677b5c765b1ed6c3cfe572..17f85019903d3aae74c4cef054e4e718c0fe64f0 100644 GIT binary patch delta 32 lcmbQmG>d71IVS@M{B+)3KhZ&+lU<6DTPXFNpTxwBO#q2C2^#d71Ip+q3a}3X{@A&6Tbdcv{WML8%VB_7lYhuPG0Ixg>mH+?% diff --git a/app/src/MakeWebSite/news/2009-07-26.html b/app/src/MakeWebSite/news/2009-07-26.html new file mode 100644 index 000000000..1949f33e6 --- /dev/null +++ b/app/src/MakeWebSite/news/2009-07-26.html @@ -0,0 +1,13 @@ +Release of Gambas 2.15 +The main changes of this release are: +
+
+ +- A big bug was fixed in the interpreter that made it crash randomly on some systems. +
- String to number conversion was fixed, especially when converting Long numbers. +
- The Firebird driver is compiled correctly now. +
- The SQLite 3 driver now correctly returns the default value of fields. +
- Raising or lowering controls now works correctly in the GTK+ component. +
- The SMTP component now strictly follows RFC 2047 when sending mails with subjects encoded in UTF-8. +
- The Xml.ToString() method was fixed in the XML component. +
See the ChangeLog for other bug fixes. diff --git a/app/src/MakeWebSite/news/fr/2009-07-26.html b/app/src/MakeWebSite/news/fr/2009-07-26.html new file mode 100644 index 000000000..53c3074e7 --- /dev/null +++ b/app/src/MakeWebSite/news/fr/2009-07-26.html @@ -0,0 +1,13 @@ +Publication de Gambas 2.15 +
Les changements principaux dans cette version sont les suivants : +
+
+- Un bug important a été corrigé dans l'interpréteur qui le faisait planter de manière aléatoire sur certains systèmes. +
- La conversion des chaînes de caractères en nombres a été corrigée, tout particulièrement dans le cas des entiers de type Long. +
- Le pilote Firebird est compilé correctement désormais. +
- Le pilote SQLite 3 retourne correctement la valeur par défaut des champs maintenant. +
- Mettre les contrôles en avant-plan ou en arrière-plan fonctionne correctement maintenant dans le composant GTK+. +
- Le composant SMTP respecte maintenant la RFC 2047 de manière stricte lorsqu'il s'agit d'encoder les sujets de mail en UTF-8. +
- La méthode Xml.ToString() a été corrigée dans le composant XML. +
Se reporter au ChangeLog pour les autres corrections de bugs. + diff --git a/app/src/gambas3/.src/Debug/Design.module b/app/src/gambas3/.src/Debug/Design.module index 626110c6b..45b6d9a17 100644 --- a/app/src/gambas3/.src/Debug/Design.module +++ b/app/src/gambas3/.src/Debug/Design.module @@ -726,21 +726,27 @@ Private Sub Start(sCmd As String) sTitle = Project.Name & " (" & ("Output terminal") & ")" - Select Case Desktop.Type + sProg = Settings["/Terminal"] - Case "KDE", "KDE4" - sProg = "konsole" - - Case "GNOME" - sProg = "gnome-terminal" - - Case "XFCE" - sProg = "Terminal" + If Not sProg Then + + Select Case Desktop.Type - Default - sProg = "xterm" - - End Select + Case "KDE", "KDE4" + sProg = "konsole" + + Case "GNOME" + sProg = "gnome-terminal" + + Case "XFCE" + sProg = "Terminal" + + Default + sProg = "xterm" + + End Select + + Endif If Project.CheckProgram(sProg) Then sProg = "xterm" @@ -758,6 +764,7 @@ Private Sub Start(sCmd As String) aExec.Insert(["konsole", "--nofork", "--caption", sTitle, "--hold", "--name", Project.Name & "-output", "-e"], 0) Case "gnome-terminal" + ' gnome terminal cannot hold at end aExec = ["gnome-terminal", "--hide-menubar", "--title=" & sTitle, "-e", aExec.Join(" ")] Case "Terminal" diff --git a/app/src/gambas3/.src/FAbout.form b/app/src/gambas3/.src/FAbout.form index 3b0d051b2..0b339d897 100644 --- a/app/src/gambas3/.src/FAbout.form +++ b/app/src/gambas3/.src/FAbout.form @@ -4,7 +4,7 @@ MoveScaled(3,6,82,72) Background = Color.TextBackground Text = ("About Gambas...") - Icon = Picture["img/16/logo.png"] + Icon = Picture["img/logo/logo-32-head.png"] Resizable = False { TabStrip1 TabStrip MoveScaled(1,18,80,48) diff --git a/app/src/gambas3/.src/FMain.class b/app/src/gambas3/.src/FMain.class index c3868f1f5..5a190334b 100644 --- a/app/src/gambas3/.src/FMain.class +++ b/app/src/gambas3/.src/FMain.class @@ -1120,10 +1120,10 @@ Private Sub RefreshMenu() GetCurrent If $sKey = Project.KEY_CONNECTION Or If Project.IsConnectionPath($sKey) Then - Project.SetCurrentPopup(mnuDatabase) + If tvwProject.HasFocus Then Project.SetCurrentPopup(mnuDatabase) mnuDatabase_Show Else - Project.SetCurrentPopup(mnuPopup) + If tvwProject.HasFocus Then Project.SetCurrentPopup(mnuPopup) mnuPopup_Show Endif diff --git a/app/src/gambas3/.src/FMain.form b/app/src/gambas3/.src/FMain.form index f98b54173..76a774a48 100644 --- a/app/src/gambas3/.src/FMain.form +++ b/app/src/gambas3/.src/FMain.form @@ -3,7 +3,7 @@ { Form Form MoveScaled(0,0,134,86) Text = ("") - Icon = Picture["img/logo/logo-32.png"] + Icon = Picture["img/logo/logo-32-head.png"] Arrangement = Arrange.Vertical { mnuFile Menu Text = ("&File") @@ -279,11 +279,6 @@ Text = ("&Update all forms") Picture = Picture["icon:/small/refresh"] } - { mnuDatabaseManager Menu - Action = "database-manager" - Text = ("&Database manager...") - Picture = Picture["img/16/database-manager.png"] - } { Menu20 Menu Text = ("") } @@ -908,11 +903,6 @@ Shortcut = "Ctrl+X" Picture = "icon:/small/cut" } - { Action database-manager - Text = "&Database manager..." - Shortcut = "" - Picture = "img/16/database-manager.png" - } { Action delete Text = "&Delete..." Shortcut = "Del" diff --git a/app/src/gambas3/.src/FOption.class b/app/src/gambas3/.src/FOption.class index 4a6ae15a1..ded45661e 100644 --- a/app/src/gambas3/.src/FOption.class +++ b/app/src/gambas3/.src/FOption.class @@ -3,6 +3,7 @@ Static Private $aTheme As String[] = ["amethyst", "amber", "emerald", "ruby", "sapphire", "visual", "obsidian", "quest", "quick"] Static Private $aThemeName As String[] = [("Amethyst"), ("Amber"), ("Emerald"), ("Ruby"), ("Sapphire"), ("Visual"), ("Obsidian"), ("Quest"), ("Quick")] Static Private $aBrowser As String[] = ["konqueror", "firefox", "epiphany", "seamonkey", "opera"] +Static Private $aTerminal As String[] = ["konsole", "gnome-terminal", "Terminal", "xterm"] Private $cLast As Collection Private $cCurrent As Collection @@ -55,6 +56,7 @@ Public Sub _new() cmbTheme.Add(("Select a theme"), 0) cmbIconTheme.List = [("Desktop"), "Gnome", "KDE", "KDE4"] cmbBrowser.List = [("(Default)"), "Konqueror", "Firefox", "Epiphany", "SeaMonkey", "Opera"] + cmbTerminal.List = [("(Default)"), "Konsole", "Gnome Terminal", "XFCE Terminal", "XTerm"] $cLast = MTheme.ReadSettings(Settings, "/Highlight", True) $cCurrent = MTheme.Copy($cLast) @@ -81,6 +83,7 @@ Public Sub _new() ReadConfig cmbIconTheme.Index = ["gnome", "kde"].Find(Settings["/Theme"]) + 1 cmbBrowser.Index = $aBrowser.Find(Settings["/Browser"]) + 1 + cmbTerminal.Index = $aTerminal.Find(Settings["/Terminal"]) + 1 $bNoChange = False For iInd = 0 To MTheme.ColorKeys.Max @@ -316,7 +319,7 @@ End Public Sub cmbBrowser_Click() If cmbBrowser.Index > 0 Then - Settings["/Browser"] = LCase(cmbBrowser.Text) + Settings["/Browser"] = $aBrowser[cmbBrowser.Index - 1] Else Settings["/Browser"] = "" Endif @@ -325,6 +328,16 @@ Public Sub cmbBrowser_Click() End +Public Sub cmbTerminal_Click() + + If cmbTerminal.Index > 0 Then + Settings["/Terminal"] = $aTerminal[cmbTerminal.Index - 1] + Else + Settings["/Terminal"] = "" + Endif + +End + ' PUBLIC SUB cmbImageEditor_Click() ' ' IF cmbImageEditor.Index > 0 THEN diff --git a/app/src/gambas3/.src/FOption.form b/app/src/gambas3/.src/FOption.form index 8bc1391a9..4bbd2be98 100644 --- a/app/src/gambas3/.src/FOption.form +++ b/app/src/gambas3/.src/FOption.form @@ -1,7 +1,7 @@ # Gambas Form File 3.0 { Form Form - MoveScaled(0,0,75,77) + MoveScaled(0,0,75,82) Action = "option" Text = ("Preferences") Icon = Picture["icon:/small/options"] @@ -32,7 +32,7 @@ } } { TabStrip1 TabStrip - MoveScaled(1,1,73,70) + MoveScaled(1,1,73,75) Arrangement = Arrange.Vertical Spacing = True Margin = True @@ -228,6 +228,22 @@ List = [] } } + { HBox2 HBox + MoveScaled(2,65,69,4) + Spacing = True + Indent = True + { Label4 Label + MoveScaled(0,0,47,4) + Text = ("Terminal") + } + { cmbTerminal ComboBox + MoveScaled(48,0,17,4) + Expand = True + Text = ("") + ReadOnly = True + List = [] + } + } Index = 1 Text = ("Editor") { Label9 Label @@ -407,7 +423,7 @@ Index = 0 } { btnClose Button - MoveScaled(59,72,15,4) + MoveScaled(59,77,15,4) Text = ("Close") Default = True Cancel = True diff --git a/app/src/gambas3/.src/FWelcome.form b/app/src/gambas3/.src/FWelcome.form index 02e556d63..1daf3bf23 100644 --- a/app/src/gambas3/.src/FWelcome.form +++ b/app/src/gambas3/.src/FWelcome.form @@ -5,7 +5,7 @@ Background = Color.TextBackground Foreground = Color.TextForeground Text = ("Welcome to Gambas 3") - Icon = Picture["img/logo/logo-32.png"] + Icon = Picture["img/logo/logo-32-head.png"] Arrangement = Arrange.Vertical Spacing = True Margin = True diff --git a/app/src/gambas3/.src/Project.module b/app/src/gambas3/.src/Project.module index e5366b69f..f4c9163ff 100644 --- a/app/src/gambas3/.src/Project.module +++ b/app/src/gambas3/.src/Project.module @@ -477,6 +477,11 @@ Private Function CloseProject() As Boolean If Not hForm.Closed Then + If Not hForm.Path Then + Debug "hForm.Path = NULL ?" + Stop + Endif + Inc nOpen If hForm = ActiveForm Then Config["/OpenFile/Active"] = nOpen @@ -489,7 +494,7 @@ Private Function CloseProject() As Boolean If sState Then sState = ":" & sState Config["/OpenFile/File[" & CStr(nOpen) & "]"] = hForm.Path & sState - If aFold Then Config["/OpenFile/Fold[" & CStr(nOpen) & "]"] = aFold + If aFold And If aFold.Count Then Config["/OpenFile/Fold[" & CStr(nOpen) & "]"] = aFold Endif diff --git a/app/src/gambas3/img/16/database-manager.png b/app/src/gambas3/img/16/database-manager.png deleted file mode 100644 index 9f6e8fa21307acd297a6eaa7aaff7b4707776069..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 891 zcmV->1BCpEP)
WFU8GbZ8({Xk{QrNlj4iWF>9@00Q4hL_t(I%cWCUNK|1I z{{FlFckV1YjWXlhvavyIwXz7Y# mdtb0xP3}mbZe8NLnF% z$`+!aU7Kl7%bGED78_^3JzR?jtA`Gphx2g0?QnqqEb{A6vF602OpdSRC9_MAEHT+s zc&E&5zuUGgU;8V-)?F8Hy|a6}Am&;aR+cr!1ctYQnjBE_raUm13mUKa9KC-8a4%ff z?4C2P#p-Z@Fa)FF2tuES5shdtTC8Ab>6eX-u0_M|-p*DOL!44EOhtZhea*B!QdPGv z-#)cyAf16|P$*cQ2gmV9jE#X1KoCXbDHMgyg0XuYCyqBX?c87QDIPr2`I5I7C53aB z&sgSv{6dUH6Uej5h{rRSIe$7NN})kRB-D>fM|@c0-Afgx+Q>3w_pN6^VezcO6o3(? z|IMeWWHOCnchOgtGqgFJ`CBzD`$6|d!15vp%cAdf0Mn~BSjZITlJR8#02BNav=mLY zYKhU2rll3GZC8$YkBS0cPJpuj$r i$Ue&k!4$&+pHq zzE!sSHZS=-;ln2@o1;lb%h0GB85BSxG6-QHimWEHuP%-yCwn P4 NY3^VE|y=@)GS^_;bBYo$C?Ir3Zdw;P Pi9u_EB#yc~AcJuB%pw4pq%m8;zt`5FiKwhLTC{VQXvZekzqqe+QVl^Xr<3 RNAUmv002ovPDHLkV1f=YeL(;K diff --git a/app/src/gambas3/img/16/find-list.png b/app/src/gambas3/img/16/find-list.png deleted file mode 100644 index 23a6ed26035a5e239fdc845bf070e8192ac91449..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 985 zcmV;~119{5P) WFU8GbZ8({Xk{QrNlj4iWF>9@00TWqL_t(I%Waa|YaC@5 zhkxIE-+VheyF1CwW;fZG# Mi@w^8D0O!tquLztS zktF_!AkwF(045O92!rsl>o}kLE!;hE;x!)+nZh>6*|X;rQKIi=)UMM?cScPnB?y85 z#6TQ{Xf_&4W^L)eL4&ojMi*!1Kqyf?n2f@ZdO@9|bR^)0xw`ysD~M1&M?RzZ0U} z_CRR@aw<6*_?;=o)o%h=0WkH;cP9Y=%a;HKMDJzQF15Q`K~Jt5NzS1g4anI9Iza$N zDe3Dk?AOcs5dbr9e{pfTqMI;`2HI^83?w=rr; 3jVly9kvxz z@juXF?`YNYTr&)V1NlNOEz2?(6+j7rrfIl1`!hNnilH3s`C$CcV{c8QwDZ@j#-m62 z?3>^D^5RlaFqa4OIpuvdmzt0gEa|m7)%un*%cyjtkP6-yCiAb4sO!<@nm$+B65cuf zZMgyftXgaOZAfc|Kd=^yyMDWReI1JzKH8x<^JY=qd-R3L!IAxG>Do`PHWxPV dKWJ0f&Y&tF~pyN^k$O#eE~-&c+_IYWDBTcg@pd zCqIUqP9Y*m &1R#js )iH-WWQd7fVktg9cu{d&D7gn*>By65e73vhpR24z{wIVbOZ z>wG$$wBPSPodG~Lo6S@dg{-x0^KQ4(XfzVwfj`#(Js>m2C{0u4d9KA`adv(Mo`56p z0Q|lNdixXq0#O{t$2g9kffwKa47*Kto&C?Ix_1%qm?ViC3 2z8T zheO{y=lNDZ1iU6m;-V;Ww*tD5Jx~L`_zwLC=iw@UUXHB500000NkvXXu0mjfe@Me; diff --git a/app/src/gambas3/img/16/find-next.png b/app/src/gambas3/img/16/find-next.png deleted file mode 100644 index c25af1a55c0c6eff13bc79a332767d2518109b3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1021 zcmV WFU8GbZ8({Xk{QrNlj4iWF>9@00Uu3L_t(I%WaX}Yg=Ui zhkx&R-*a+uKGNi*Nt