From bbruen at ...2308... Mon Sep 1 01:06:01 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 1 Sep 2014 08:36:01 +0930 Subject: [Gambas-user] How to reset a toolbar config? Message-ID: <20140901083601.d8035c27f77b360d88f31aa2@...2308...> I have this recurring problem with the gb.form.mdi Toolbar. For some reason, unknown, I occasionally lose the project config file contents that describe the customised toolbar or those lines get "corrupted". The original config lines are: [gb.form.mdi/Toolbars/tbrTasks] Layout=["$lblFilter","taskfilter0","taskfilter.1","taskfilter.2","taskfilter.3","$lblSort","tasksort.0","$lblSearch","tasksearch.0","task.refresh"] The corrupted lines are: [gb.form.mdi/Toolbars/tbrTasks] Layout=["$lblFilter","taskfilter.1","$lblSort","$lblSearch","tasksearch.0"] My problem is that there appears to be no way to "reset" the toolbar in the IDE to get the original lines back. I have to manually edit the config file in an external editor. Is there a way to reset it in the IDE and I just can't find it? tia Bruce -- B Bruen From gambas at ...1... Mon Sep 1 01:29:43 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 01 Sep 2014 01:29:43 +0200 Subject: [Gambas-user] How to reset a toolbar config? In-Reply-To: <20140901083601.d8035c27f77b360d88f31aa2@...2308...> References: <20140901083601.d8035c27f77b360d88f31aa2@...2308...> Message-ID: <5403AFE7.8020703@...1...> Le 01/09/2014 01:06, B Bruen a ?crit : > I have this recurring problem with the gb.form.mdi Toolbar. For some reason, unknown, I occasionally lose the project config file contents that describe the customised toolbar or those lines get "corrupted". > > The original config lines are: > [gb.form.mdi/Toolbars/tbrTasks] > Layout=["$lblFilter","taskfilter0","taskfilter.1","taskfilter.2","taskfilter.3","$lblSort","tasksort.0","$lblSearch","tasksearch.0","task.refresh"] > > The corrupted lines are: > [gb.form.mdi/Toolbars/tbrTasks] > Layout=["$lblFilter","taskfilter.1","$lblSort","$lblSearch","tasksearch.0"] > > My problem is that there appears to be no way to "reset" the toolbar in the IDE to get the original lines back. I have to manually edit the config file in an external editor. > > Is there a way to reset it in the IDE and I just can't find it? > > > tia > Bruce > There must be a bug somewhere in the IDE. Do you more information about when exactly the toolbar configuration is corrupted? Can you send the project? -- Beno?t Minisini From bbruen at ...2308... Mon Sep 1 02:41:09 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 1 Sep 2014 10:11:09 +0930 Subject: [Gambas-user] How to reset a toolbar config? In-Reply-To: <5403AFE7.8020703@...1...> References: <20140901083601.d8035c27f77b360d88f31aa2@...2308...> <5403AFE7.8020703@...1...> Message-ID: <20140901101109.bfdf0bb4b2166a6df032a7e5@...2308...> On Mon, 01 Sep 2014 01:29:43 +0200 Beno?t Minisini wrote: > Le 01/09/2014 01:06, B Bruen a ?crit : > > I have this recurring problem with the gb.form.mdi Toolbar. For some reason, unknown, I occasionally lose the project config file contents that describe the customised toolbar or those lines get "corrupted". > > > > The original config lines are: > > [gb.form.mdi/Toolbars/tbrTasks] > > Layout=["$lblFilter","taskfilter0","taskfilter.1","taskfilter.2","taskfilter.3","$lblSort","tasksort.0","$lblSearch","tasksearch.0","task.refresh"] > > > > The corrupted lines are: > > [gb.form.mdi/Toolbars/tbrTasks] > > Layout=["$lblFilter","taskfilter.1","$lblSort","$lblSearch","tasksearch.0"] > > > > My problem is that there appears to be no way to "reset" the toolbar in the IDE to get the original lines back. I have to manually edit the config file in an external editor. > > > > Is there a way to reset it in the IDE and I just can't find it? > > > > > > tia > > Bruce > > > > There must be a bug somewhere in the IDE. > > Do you more information about when exactly the toolbar configuration is > corrupted? > > Can you send the project? > > -- > Beno?t Minisini > I don't think it's the IDE that corrupts it (as I don't think the IDE creates those config entries?) A couple of theories: maybe running the project through the IDE with debug and setting a custom toolbar layout? or maybe if the executable crashes after (and not related to) setting the custom layout? But I have not found a true cause as I don't notice the toolbar change until some time later. The project is too big. I'll try to mock up something that shows it over the next week (I'll be away for a few days). Other information: 1. The toolbar contains labels, menubuttons, toolbuttons, and a buttonbox. All have actions (except the labels of course) and it is interesting that the labels are always left in the config entry after the corruption happens and I always get one actioned item included and visible in the toolbar, but it has moved to the right hand end of the Layout line (as in the example above). 2. I am fairly sure that it only happens after I have "Configure"d the toolbar while the project is running. When does the runtime write that config out, when the configure popup is closed or after the project exits? 3. The actions are named by group and default position , e.g. "taskfilter.0" etc. This does not seem to be an issue though? 4. The Configure popup "Reset" button does not correct the layout after the corruption occurs. This, I suppose after thinking this through, is the real issue. How and where does the "Reset" button get its' layout information from? I would have thought that it goes back to the .form file? B -- B Bruen From kevinfishburne at ...1887... Mon Sep 1 05:19:38 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 31 Aug 2014 23:19:38 -0400 Subject: [Gambas-user] gb.sdl Music.Play plays high quality wav files too slowly Message-ID: <5403E5CA.4040307@...1887...> I noticed that wave files that are 96000 Hz, 32-bit float are played too slowly. I don't know if this is an SDL bug or what... Audacious, VLC, Audacity, etc. play the file correctly. For now I'm downsampling the files so they'll play at the correct pitch/speed. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From abbat.81 at ...787... Mon Sep 1 12:08:37 2014 From: abbat.81 at ...787... (abbat81) Date: Mon, 1 Sep 2014 03:08:37 -0700 (PDT) Subject: [Gambas-user] Font style in Printing Example Message-ID: <1409566117032-47901.post@...3046...> Hi, There is "molly-malone.txt" with some tags like:


/ In Gambas it is marked as Html, but how can I set align="center"? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Mon Sep 1 13:24:50 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 1 Sep 2014 12:24:50 +0100 Subject: [Gambas-user] R: Font style in Printing Example In-Reply-To: <1409566117032-47901.post@...3046...> Message-ID: <1409570690.57084.YahooMailBasic@...3271...> Hi, an example with TextEdit: ************************************** Public Sub Form_Open() TextEdit1.RichText = "

molly-malone.txt

" End ************************************** Regards vuott -------------------------------------------- Lun 1/9/14, abbat81 ha scritto: Oggetto: [Gambas-user] Font style in Printing Example A: gambas-user at lists.sourceforge.net Data: Luned? 1 settembre 2014, 12:08 Hi, There is "molly-malone.txt" with some tags like:


/ In Gambas it is marked as Html, but how can I set align="center"? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Slashdot TV.? Video for Nerds.? Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From abbat.81 at ...787... Mon Sep 1 14:02:47 2014 From: abbat.81 at ...787... (abbat81) Date: Mon, 1 Sep 2014 05:02:47 -0700 (PDT) Subject: [Gambas-user] R: Font style in Printing Example In-Reply-To: <1409570690.57084.YahooMailBasic@...3271...> References: <1409566117032-47901.post@...3046...> <1409570690.57084.YahooMailBasic@...3271...> Message-ID: <1409572967196-47903.post@...3046...> It must be joke Thanks anyway -- View this message in context: http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901p47903.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Mon Sep 1 15:30:46 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 1 Sep 2014 15:30:46 +0200 Subject: [Gambas-user] gambaswiki.org driving me nuts Message-ID: <20140901133046.GB733@...2774...> Hi, some time ago I noticed that gambaswiki.org does not work for me sometimes. This happens every couple days and so this very moment again. What I do is: - enter a URL, like http://gambaswiki.org/wiki/comp in this case. - hovering a link (to the gb component), my browser says it directs to http://www.gambaswiki.org/wiki/comp/comp/gb which is wrong as it contains the "comp" part twice. This happens for _all_ the links on this page. Also, the "up arrow" image found in the top bar of the site on the left does not show up. Looking at the URL which my browser tries to load shows: http://gambaswiki.org/wiki/comp/up.png where again the "comp" part is one too many. Recently someone pointed out that he finds it rather strange that I type the entire URLs for most pages I know the schema of instead of googling or navigating to them, i.e. I will enter http://gambaswiki.org/wiki/// instead of visiting gambaswiki.org and clicking my way through to the symbol documentation. (I don't think this is too unusual...?) Maybe it has something to do with it? But note that it happens only once in a while. After I visited the wiki once and managed to get good pages again, the effect does not occur until some days after. I would be really glad if someone gets an idea of what might be happening now. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From abbat.81 at ...787... Mon Sep 1 16:43:22 2014 From: abbat.81 at ...787... (abbat81) Date: Mon, 1 Sep 2014 07:43:22 -0700 (PDT) Subject: [Gambas-user] How to use WBrowser.Print(True) Message-ID: <1409582602450-47905.post@...3046...> Hi, I want to print HTML by "WBrowser.Print(True)" but I get: "Unknown symbol 'Print' in class in WebView" WebVew is created: Private WBrowser As WebView WBrowser = New WebView(FPreview) How to fix it to print HTML ? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-use-WBrowser-Print-True-tp47905.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Mon Sep 1 19:42:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 01 Sep 2014 19:42:51 +0200 Subject: [Gambas-user] gambaswiki.org driving me nuts In-Reply-To: <20140901133046.GB733@...2774...> References: <20140901133046.GB733@...2774...> Message-ID: <5404B01B.5030607@...1...> Le 01/09/2014 15:30, Tobias Boege a ?crit : > Hi, > > some time ago I noticed that gambaswiki.org does not work for me sometimes. > This happens every couple days and so this very moment again. > > What I do is: > - enter a URL, like http://gambaswiki.org/wiki/comp in this case. > - hovering a link (to the gb component), my browser says it directs > to http://www.gambaswiki.org/wiki/comp/comp/gb which is wrong as > it contains the "comp" part twice. > If I enter that URL in my Firefox, all links are correct. Which browser do you use? -- Beno?t Minisini From gambas at ...1... Mon Sep 1 19:44:02 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 01 Sep 2014 19:44:02 +0200 Subject: [Gambas-user] gambaswiki.org driving me nuts In-Reply-To: <5404B01B.5030607@...1...> References: <20140901133046.GB733@...2774...> <5404B01B.5030607@...1...> Message-ID: <5404B062.2050707@...1...> Le 01/09/2014 19:42, Beno?t Minisini a ?crit : > Le 01/09/2014 15:30, Tobias Boege a ?crit : >> Hi, >> >> some time ago I noticed that gambaswiki.org does not work for me >> sometimes. >> This happens every couple days and so this very moment again. >> >> What I do is: >> - enter a URL, like http://gambaswiki.org/wiki/comp in this case. >> - hovering a link (to the gb component), my browser says it directs >> to http://www.gambaswiki.org/wiki/comp/comp/gb which is wrong as >> it contains the "comp" part twice. >> > > If I enter that URL in my Firefox, all links are correct. > > Which browser do you use? > OK, I think I get it: the links are wrong if you type: http://gambaswiki.org/wiki/comp/ with the slash at the end! -- Beno?t Minisini From taboege at ...626... Mon Sep 1 21:51:49 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 1 Sep 2014 21:51:49 +0200 Subject: [Gambas-user] gambaswiki.org driving me nuts In-Reply-To: <5404B062.2050707@...1...> References: <20140901133046.GB733@...2774...> <5404B01B.5030607@...1...> <5404B062.2050707@...1...> Message-ID: <20140901195148.GC733@...2774...> On Mon, 01 Sep 2014, Beno?t Minisini wrote: > Le 01/09/2014 19:42, Beno?t Minisini a ?crit : > > Le 01/09/2014 15:30, Tobias Boege a ?crit : > >> Hi, > >> > >> some time ago I noticed that gambaswiki.org does not work for me > >> sometimes. > >> This happens every couple days and so this very moment again. > >> > >> What I do is: > >> - enter a URL, like http://gambaswiki.org/wiki/comp in this case. > >> - hovering a link (to the gb component), my browser says it directs > >> to http://www.gambaswiki.org/wiki/comp/comp/gb which is wrong as > >> it contains the "comp" part twice. > >> > > > > If I enter that URL in my Firefox, all links are correct. > > > > Which browser do you use? > > > > OK, I think I get it: the links are wrong if you type: > > http://gambaswiki.org/wiki/comp/ > > with the slash at the end! > Yes, right! I can reproduce it this way deliberately. Great observation. It must be something about <%/%> in the WebPages, right? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Mon Sep 1 22:01:29 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 1 Sep 2014 22:01:29 +0200 Subject: [Gambas-user] How to use WBrowser.Print(True) In-Reply-To: <1409582602450-47905.post@...3046...> References: <1409582602450-47905.post@...3046...> Message-ID: <20140901200129.GD733@...2774...> On Mon, 01 Sep 2014, abbat81 wrote: > Hi, > > I want to print HTML by "WBrowser.Print(True)" > > but I get: > > "Unknown symbol 'Print' in class in WebView" > Yes, because there is no such thing as a Print method in the WebView class. > WebVew is created: > > Private WBrowser As WebView > WBrowser = New WebView(FPreview) > > How to fix it to print HTML ? > Assuming you want to print the _rendition_ of the HTML, I think you can do it by Dim hPrinter As New Printer If hPrinter.Configure() Then Return WBrowser.Frame.Print(hPrinter) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Sep 2 00:03:38 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 02 Sep 2014 00:03:38 +0200 Subject: [Gambas-user] gambaswiki.org driving me nuts In-Reply-To: <20140901195148.GC733@...2774...> References: <20140901133046.GB733@...2774...> <5404B01B.5030607@...1...> <5404B062.2050707@...1...> <20140901195148.GC733@...2774...> Message-ID: <5404ED3A.5060808@...1...> Le 01/09/2014 21:51, Tobias Boege a ?crit : >> OK, I think I get it: the links are wrong if you type: >> >> http://gambaswiki.org/wiki/comp/ >> >> with the slash at the end! >> > > Yes, right! I can reproduce it this way deliberately. Great observation. It > must be something about <%/%> in the WebPages, right? > No, it was a bug in the web server. I fixed it by a workaround in the gb.web component. -- Beno?t Minisini From rmorgan62 at ...626... Tue Sep 2 05:17:28 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 1 Sep 2014 20:17:28 -0700 Subject: [Gambas-user] R: Font style in Printing Example In-Reply-To: <1409572967196-47903.post@...3046...> References: <1409566117032-47901.post@...3046...> <1409570690.57084.YahooMailBasic@...3271...> <1409572967196-47903.post@...3046...> Message-ID: Abbat81, You really didn't give any details about your text. Is the text being displayed as a web page or in a gui control? If a control which one? Or is the text being used in a console app? Give a few more details or attach your project and people can help you better. On Mon, Sep 1, 2014 at 5:02 AM, abbat81 wrote: > It must be joke > > Thanks anyway > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901p47903.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From rmorgan62 at ...626... Tue Sep 2 05:18:29 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 1 Sep 2014 20:18:29 -0700 Subject: [Gambas-user] How to use WBrowser.Print(True) In-Reply-To: <20140901200129.GD733@...2774...> References: <1409582602450-47905.post@...3046...> <20140901200129.GD733@...2774...> Message-ID: OK, the thread was split so I didn't see this earlier. Sorry. On Mon, Sep 1, 2014 at 1:01 PM, Tobias Boege wrote: > On Mon, 01 Sep 2014, abbat81 wrote: > > Hi, > > > > I want to print HTML by "WBrowser.Print(True)" > > > > but I get: > > > > "Unknown symbol 'Print' in class in WebView" > > > > Yes, because there is no such thing as a Print method in the WebView class. > > > WebVew is created: > > > > Private WBrowser As WebView > > WBrowser = New WebView(FPreview) > > > > How to fix it to print HTML ? > > > > Assuming you want to print the _rendition_ of the HTML, I think you can do > it by > > Dim hPrinter As New Printer > > If hPrinter.Configure() Then Return > WBrowser.Frame.Print(hPrinter) > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From abbat.81 at ...787... Tue Sep 2 09:33:58 2014 From: abbat.81 at ...787... (abbat81) Date: Tue, 2 Sep 2014 00:33:58 -0700 (PDT) Subject: [Gambas-user] R: Font style in Printing Example In-Reply-To: References: <1409566117032-47901.post@...3046...> <1409570690.57084.YahooMailBasic@...3271...> <1409572967196-47903.post@...3046...> Message-ID: <1409643238769-47913.post@...3046...> Randall, I didn't give any attachment because this is the Example "Printing", which everybody can open in his own Gambas. Thanks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/Font-style-in-Printing-Example-tp47901p47913.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Tue Sep 2 12:20:29 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 02 Sep 2014 10:20:29 +0000 Subject: [Gambas-user] Issue 554 in gambas: Cannot seem to catch an error from a Exec[] process anymore Message-ID: <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 554 by r... at ...1740...: Cannot seem to catch an error from a Exec[] process anymore https://code.google.com/p/gambas/issues/detail?id=554 1) Describe the problem. If an executed command isn't found the error cannot be catched with 'catch' or suppressed with 'try' (so it seems) 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-35-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7953M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. Run project, the gambas ide will report it as 'cannot run child process:cannot run executable: No such file or directory' Unless all the catch code and error event routine, and even try is used in the code. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: If you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. Attachments: ExecErrorManagement-0.0.1.tar.gz 4.8 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From abbat.81 at ...787... Tue Sep 2 14:09:00 2014 From: abbat.81 at ...787... (abbat81) Date: Tue, 2 Sep 2014 05:09:00 -0700 (PDT) Subject: [Gambas-user] WebView -> Image/Picture.Save Message-ID: <1409659740002-47916.post@...3046...> Hi, Is it possible to transfer a WebView content to Image or Picture? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-Image-Picture-Save-tp47916.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Sep 2 14:58:46 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 02 Sep 2014 14:58:46 +0200 Subject: [Gambas-user] WebView -> Image/Picture.Save In-Reply-To: <1409659740002-47916.post@...3046...> References: <1409659740002-47916.post@...3046...> Message-ID: <5405BF06.4030501@...1...> Le 02/09/2014 14:09, abbat81 a ?crit : > Hi, > > Is it possible to transfer a WebView content to Image or Picture? > > Thanks > Yes, by using the MyWebView.Document.Paint() method. Regards, -- Beno?t Minisini From abbat.81 at ...787... Tue Sep 2 16:45:19 2014 From: abbat.81 at ...787... (abbat81) Date: Tue, 2 Sep 2014 07:45:19 -0700 (PDT) Subject: [Gambas-user] WebView can not Reload/Refresh Message-ID: <1409669119026-47918.post@...3046...> Hi, AIfter once WebView loaded a content I can't renew those content which is changed. Public Sub Button1_Click() Webview_Form.Show WebView1.Html = " " End Then: Webview_Form.Close Then: Change the "999.jpg" Then again: Button1_Click() And here we have an old image, not new, just changed. How can I make to renew content after Form_Close? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Tue Sep 2 17:50:48 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 2 Sep 2014 16:50:48 +0100 Subject: [Gambas-user] WebView -> Image/Picture.Save In-Reply-To: <5405BF06.4030501@...1...> Message-ID: <1409673048.14637.YahooMailBasic@...3268...> > using the MyWebView.Document.Paint() method. ...guide on line says "Sub Paint ( [ Clip As Rect] ) " If I write: MyWebView.Document.Paint(rect(0, 0, 200, 200)) I obtain this error: " Type mismatch: wanted Rect], got Rect instead " What's Rect] ? ...is it a bug ? Regards vuottttt From gambas at ...1... Tue Sep 2 18:34:37 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 02 Sep 2014 18:34:37 +0200 Subject: [Gambas-user] WebView -> Image/Picture.Save In-Reply-To: <1409673048.14637.YahooMailBasic@...3268...> References: <1409673048.14637.YahooMailBasic@...3268...> Message-ID: <5405F19D.2090302@...1...> Le 02/09/2014 17:50, Ru Vuott a ?crit : > >> using the MyWebView.Document.Paint() method. > > > ...guide on line says "Sub Paint ( [ Clip As Rect] ) " > > If I write: > > MyWebView.Document.Paint(rect(0, 0, 200, 200)) > > I obtain this error: > > " Type mismatch: wanted Rect], got Rect instead" > > > What's Rect] ? > > ...is it a bug ? > > Regards > vuottttt > Oops, yes. It is fixed in revision #6444. Regards, -- Beno?t Minisini From rmorgan62 at ...626... Tue Sep 2 19:59:00 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 2 Sep 2014 10:59:00 -0700 Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <1409669119026-47918.post@...3046...> References: <1409669119026-47918.post@...3046...> Message-ID: Is the page being cached? If so, you will need to empty the cache to see the new content. On Tue, Sep 2, 2014 at 7:45 AM, abbat81 wrote: > Hi, > > AIfter once WebView loaded a content I can't renew those content which is > changed. > > > > > Public Sub Button1_Click() > > Webview_Form.Show > WebView1.Html = " " > > End > > > Then: > Webview_Form.Close > > Then: > Change the "999.jpg" > > Then again: > Button1_Click() > > And here we have an old image, not new, just changed. > > How can I make to renew content after Form_Close? > > Thanks > > > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From vuott at ...325... Tue Sep 2 21:09:48 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 2 Sep 2014 20:09:48 +0100 Subject: [Gambas-user] WebView -> Image/Picture.Save In-Reply-To: <5405F19D.2090302@...1...> Message-ID: <1409684988.15302.YahooMailBasic@...3274...> Well, Beno?t, now it works. bye vuott -------------------------------------------- Mar 2/9/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] WebView -> Image/Picture.Save A: "mailing list for gambas users" Data: Marted? 2 settembre 2014, 18:34 Le 02/09/2014 17:50, Ru Vuott a ?crit : > >> using the MyWebView.Document.Paint() method. > > > ...guide on line says "Sub Paint ( [ Clip As Rect] ) " > > If I write: > >? ???MyWebView.Document.Paint(rect(0, 0, 200, 200)) > > I obtain this error: > > " Type mismatch: wanted Rect], got Rect instead" > > > What's? Rect]? ? > > ...is it a bug ? > > Regards > vuottttt > Oops, yes. It is fixed in revision #6444. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Slashdot TV.? Video for Nerds.? Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sbungay at ...3301... Tue Sep 2 22:42:24 2014 From: sbungay at ...3301... (Stephen) Date: Tue, 02 Sep 2014 16:42:24 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... Message-ID: <54062BB0.9010104@...3301...> Has anyone got some good documentation on how to use a Drawing Area, quite frankly I've gone cross-eyed trying to make sense of it by parsing the paint example. Steve. From jussi.lahtinen at ...626... Tue Sep 2 23:30:38 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 3 Sep 2014 00:30:38 +0300 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54062BB0.9010104@...3301...> References: <54062BB0.9010104@...3301...> Message-ID: FMain contains subs named Example## (where ## are numbers). These subs are executed in Draw event "DrawingArea1_Draw()", with command Object.Call(Me, $sFunctionName). So that Example1 is same as "Arc" , Example2 is "Arc negative", Example3 is "Clip", etc. You can write all the content of those subs directly into draw event. Here are the paint commands: http://gambaswiki.org/wiki/comp/gb.qt4/paint And here is more about the drawing area: http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea I'm not sure what is the problem exactly, so, give some more information (code?) on what you are trying to do and how it fails (error messages)? Jussi On Tue, Sep 2, 2014 at 11:42 PM, Stephen wrote: > Has anyone got some good documentation on how to use a Drawing Area, > quite frankly I've gone cross-eyed trying to make sense of it by parsing > the paint example. > > Steve. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...3301... Tue Sep 2 23:58:03 2014 From: sbungay at ...3301... (Stephen) Date: Tue, 02 Sep 2014 17:58:03 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: References: <54062BB0.9010104@...3301...> Message-ID: <54063D6B.5000903@...3301...> I guess it is the need to use the draw event in order to do anything with the drawing area that had me spun. I think in terms of methods, properties and events, but I do not think in terms of events being the very thing that actually does the work. I'm thinking of it now in terms of Macros, using the Object.Call(me, $sFunctionName) treats the code in $sFunctionName like a Macro, (am I on the right track?) Flexible & powerful yes. Intuitive in it's usage, not so much. What I want to do is use a drawing area to create a matrix of images & Text to be printed out on business card stock (Avery 5371). I *think* I am begining to see how this can be done... but it is all still somewhat murky. If I can get the images arranged in the DrawingArea then the next step is to persist the DrawingArea to a file as a PNG, or perhaps a PDF (I have no clue how I'm going to do that yet), and then spool that file out the the printer using a shell command (unless there is a better way to do it from within GAMBAS). One of the things that really confused me was the paint.reset command telling me it had no device.... ummm... no "device"? To me a device is a piece of hardware, a printer, a modem, a screen, keyboard, mouse, soundcard, NIC, Com port etc. It didn't make sense to me and I saw no way to give paint.reset any kind of parameter to point it to the object on which it could be used. It really threw me, until I realized that Paint.Reset when called from within the DRAW event of a drawing area gave it context. I fully expected to use the drawing area as an object, something like DrawingArea1.reset. Anyway I'm past that now, and busy documenting my education. BTW, how does reset differ from clear? On 09/02/2014 05:30 PM, Jussi Lahtinen wrote: > FMain contains subs named Example## (where ## are numbers). > These subs are executed in Draw event "DrawingArea1_Draw()", with command > Object.Call(Me, $sFunctionName). So that Example1 is same as "Arc" , > Example2 is "Arc negative", Example3 is "Clip", etc. > > You can write all the content of those subs directly into draw event. > > Here are the paint commands: > http://gambaswiki.org/wiki/comp/gb.qt4/paint > > And here is more about the drawing area: > http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea > > I'm not sure what is the problem exactly, so, give some more information > (code?) on what you are trying to do and how it fails (error messages)? > > > Jussi > > > > On Tue, Sep 2, 2014 at 11:42 PM, Stephen wrote: > >> Has anyone got some good documentation on how to use a Drawing Area, >> quite frankly I've gone cross-eyed trying to make sense of it by parsing >> the paint example. >> >> Steve. >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From jussi.lahtinen at ...626... Wed Sep 3 00:22:20 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 3 Sep 2014 01:22:20 +0300 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54063D6B.5000903@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> Message-ID: > I guess it is the need to use the draw event in order to do anything > with the drawing area that had me spun. I think in terms of methods, > properties and events, but I do not think in terms of events being the > very thing that actually does the work. > Draw event is called every time drawingarea needs to be drawn. Thus it is where you put the drawing commands. But you can change this behavior by setting Cached property to True. Then you start painting by determining painting device (Gambas cannot know where to draw, if you are not in specific drawing event) Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. See the documentation. > I'm thinking of it now in terms of Macros, using the Object.Call(me, > $sFunctionName) treats the code in $sFunctionName like a Macro, (am I on > the right track?) Flexible & powerful yes. Intuitive in it's usage, not > so much. > This only enables you to use string value to call a function. There are many alternatives for this. > One of the things that really confused me was the paint.reset command > telling me it had no device.... ummm... no "device"? To me a device is a > piece of hardware, a printer, a modem, a screen, keyboard, mouse, > soundcard, NIC, Com port etc. In Unix/Linux device has bit broader meaning, see example /dev/null or /dev/random. Not all devices are physical devices. > BTW, how does reset differ from clear? > http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset Jussi From sbungay at ...3301... Wed Sep 3 01:05:45 2014 From: sbungay at ...3301... (Stephen) Date: Tue, 02 Sep 2014 19:05:45 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> Message-ID: <54064D49.7040608@...3301...> On 09/02/2014 06:22 PM, Jussi Lahtinen wrote: >> I guess it is the need to use the draw event in order to do anything >> with the drawing area that had me spun. I think in terms of methods, >> properties and events, but I do not think in terms of events being the >> very thing that actually does the work. >> > Draw event is called every time drawingarea needs to be drawn. Yes, so we force the event by the refresh method. I'm slowly making progress... documenting things as I go. Thank you taking the time to help. > Thus it is > where you put the drawing commands. > > But you can change this behavior by setting Cached property to True. > Then you start painting by determining painting device (Gambas cannot know > where to draw, if you are not in specific drawing event) > Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. > See the documentation. > > > > >> I'm thinking of it now in terms of Macros, using the Object.Call(me, >> $sFunctionName) treats the code in $sFunctionName like a Macro, (am I on >> the right track?) Flexible& powerful yes. Intuitive in it's usage, not >> so much. >> > This only enables you to use string value to call a function. There are > many alternatives for this. > > > > >> One of the things that really confused me was the paint.reset command >> telling me it had no device.... ummm... no "device"? To me a device is a >> piece of hardware, a printer, a modem, a screen, keyboard, mouse, >> soundcard, NIC, Com port etc. > > In Unix/Linux device has bit broader meaning, see example /dev/null or > /dev/random. Not all devices are physical devices. > > > > >> BTW, how does reset differ from clear? >> > http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear > http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset > > > > Jussi > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From abbat.81 at ...787... Wed Sep 3 10:01:15 2014 From: abbat.81 at ...787... (abbat81) Date: Wed, 3 Sep 2014 01:01:15 -0700 (PDT) Subject: [Gambas-user] Webview history cache In-Reply-To: <201001060956.24859.gambas@...1...> References: <201001061709.31231.rterry@...1946...> <201001060956.24859.gambas@...1...> Message-ID: <1409731275306-47928.post@...3046...> "Thanks" for: "Shell "rm -rf " & Shell$(WebSettings.Cache.Path) &/ "*" Wait" Now, I've lost all my data in ~/* ....crazy day(((((((((((((((((( -- View this message in context: http://gambas.8142.n7.nabble.com/Webview-history-cache-tp28915p47928.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed Sep 3 11:27:27 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Sep 2014 11:27:27 +0200 Subject: [Gambas-user] Webview history cache In-Reply-To: <1409731275306-47928.post@...3046...> References: <201001061709.31231.rterry@...1946...> <201001060956.24859.gambas@...1...> <1409731275306-47928.post@...3046...> Message-ID: <5406DEFF.20304@...1...> Le 03/09/2014 10:01, abbat81 a ?crit : > "Thanks" for: > > "Shell "rm -rf " & Shell$(WebSettings.Cache.Path) &/ "*" Wait" > > Now, I've lost all my data in ~/* > > ....crazy day(((((((((((((((((( > Oh my God, I'm sorry!!! It's all my fault, because the WebSettings.Cache.Path is not initialized apparently (i.e. there is no cache by default). :-/ I will fix that so that it does not occur for other people... Sorry again. -- Beno?t Minisini From sbungay at ...3301... Wed Sep 3 12:39:06 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 03 Sep 2014 06:39:06 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54064D49.7040608@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> Message-ID: <5406EFCA.8040407@...3301...> Attached is a sample project that dynamically instantiates 10 business card sized DrawingAreas within a Panel on a forum. The form represents a North American letter-sized sheet of paper. Since the Draw event must be used to draw within each of the Drawing areas, and the the Drawing Areas are brought into existence at run-time, the question is how to draw something on them? The actual project uses a database to dynamically create (or re-create) QR or Barcode images. Steve. On 09/02/2014 07:05 PM, Stephen wrote: > On 09/02/2014 06:22 PM, Jussi Lahtinen wrote: >>> I guess it is the need to use the draw event in order to do anything >>> with the drawing area that had me spun. I think in terms of methods, >>> properties and events, but I do not think in terms of events being the >>> very thing that actually does the work. >>> >> Draw event is called every time drawingarea needs to be drawn. > Yes, so we force the event by the refresh method. I'm slowly making > progress... documenting things as I go. Thank you taking the time to help. > >> Thus it is >> where you put the drawing commands. >> >> But you can change this behavior by setting Cached property to True. >> Then you start painting by determining painting device (Gambas cannot know >> where to draw, if you are not in specific drawing event) >> Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. >> See the documentation. >> >> >> >> >>> I'm thinking of it now in terms of Macros, using the Object.Call(me, >>> $sFunctionName) treats the code in $sFunctionName like a Macro, (am I on >>> the right track?) Flexible& powerful yes. Intuitive in it's usage, not >>> so much. >>> >> This only enables you to use string value to call a function. There are >> many alternatives for this. >> >> >> >> >>> One of the things that really confused me was the paint.reset command >>> telling me it had no device.... ummm... no "device"? To me a device is a >>> piece of hardware, a printer, a modem, a screen, keyboard, mouse, >>> soundcard, NIC, Com port etc. >> In Unix/Linux device has bit broader meaning, see example /dev/null or >> /dev/random. Not all devices are physical devices. >> >> >> >> >>> BTW, how does reset differ from clear? >>> >> http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear >> http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset >> >> >> >> Jussi >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems -------------- next part -------------- A non-text attachment was scrubbed... Name: Bar-0.0.1.tar.gz Type: application/x-gzip Size: 5772 bytes Desc: not available URL: From vuott at ...325... Wed Sep 3 16:15:51 2014 From: vuott at ...325... (Ru Vuott) Date: Wed, 3 Sep 2014 15:15:51 +0100 Subject: [Gambas-user] ERROR with revision 6446 ! Message-ID: <1409753751.87526.YahooMailBasic@...3268...> Hello, with revision 6446 I obtained this error: **************************** make[5]: Entering directory `/home/vuott/trunk/gb.qt4/src/webkit' CXX gb_qt4_webkit_la-cwebsettings.lo cwebsettings.cpp: In function 'void WebSettingsCache_Path(void*, void*)': cwebsettings.cpp:196:36: error: 'struct GB_INTERFACE::' has no member named 'Home' QString root = QString(GB.System.Home()); ^ cwebsettings.cpp: In function 'void WebSettingsCache_Clear(void*, void*)': cwebsettings.cpp:249:5: error: 'struct GB_INTERFACE' has no member named 'BrowseDirectory' GB.BrowseDirectory(_cache_path, NULL, remove_file); ^ make[5]: *** [gb_qt4_webkit_la-cwebsettings.lo] Error 1 make[5]: Leaving directory `/home/vuott/trunk/gb.qt4/src/webkit' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/vuott/trunk/gb.qt4/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.qt4' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.qt4' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 *************************************************************** Regards vuott From gambas at ...1... Wed Sep 3 16:33:36 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 03 Sep 2014 16:33:36 +0200 Subject: [Gambas-user] ERROR with revision 6446 ! In-Reply-To: <1409753751.87526.YahooMailBasic@...3268...> References: <1409753751.87526.YahooMailBasic@...3268...> Message-ID: <540726C0.9070401@...1...> Le 03/09/2014 16:15, Ru Vuott a ?crit : > Hello, > > with revision 6446 I obtained this error: > > **************************** > make[5]: Entering directory `/home/vuott/trunk/gb.qt4/src/webkit' > CXX gb_qt4_webkit_la-cwebsettings.lo > cwebsettings.cpp: In function 'void WebSettingsCache_Path(void*, void*)': > cwebsettings.cpp:196:36: error: 'struct GB_INTERFACE::' has no member named 'Home' > QString root = QString(GB.System.Home()); > ^ > cwebsettings.cpp: In function 'void WebSettingsCache_Clear(void*, void*)': > cwebsettings.cpp:249:5: error: 'struct GB_INTERFACE' has no member named 'BrowseDirectory' > GB.BrowseDirectory(_cache_path, NULL, remove_file); > ^ > make[5]: *** [gb_qt4_webkit_la-cwebsettings.lo] Error 1 > make[5]: Leaving directory `/home/vuott/trunk/gb.qt4/src/webkit' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.qt4/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > *************************************************************** > > Regards > vuott > Fixed in revision #6447. Regards, -- Beno?t Minisini From sbungay at ...3301... Wed Sep 3 17:14:12 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 03 Sep 2014 11:14:12 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <5406EFCA.8040407@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> Message-ID: <54073044.9030002@...3301...> Typographical error in the code (not that it is causing a problem). This line mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card" & CInt(X) CInt(X) is redundant and not at all what I was thinking about when I typed that line. It should more properly read; mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card" & CStr(X) I'm beginning to think that what I am trying to accomplish is not possible. How can a Draw event that is not in the compile-time source be accessed during run-time? On 09/03/2014 06:39 AM, Stephen wrote: > Attached is a sample project that dynamically instantiates 10 > business card sized DrawingAreas within a Panel on a forum. The form > represents a North American letter-sized sheet of paper. Since the > Draw event must be used to draw within each of the Drawing areas, and > the the Drawing Areas are brought into existence at run-time, the > question is how to draw something on them? > > The actual project uses a database to dynamically create (or > re-create) QR or Barcode images. > > Steve. > > On 09/02/2014 07:05 PM, Stephen wrote: >> On 09/02/2014 06:22 PM, Jussi Lahtinen wrote: >>>> I guess it is the need to use the draw event in order to do anything >>>> with the drawing area that had me spun. I think in terms of methods, >>>> properties and events, but I do not think in terms of events being the >>>> very thing that actually does the work. >>>> >>> Draw event is called every time drawingarea needs to be drawn. >> Yes, so we force the event by the refresh method. I'm slowly making >> progress... documenting things as I go. Thank you taking the time to >> help. >> >>> Thus it is >>> where you put the drawing commands. >>> >>> But you can change this behavior by setting Cached property to True. >>> Then you start painting by determining painting device (Gambas >>> cannot know >>> where to draw, if you are not in specific drawing event) >>> Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. >>> See the documentation. >>> >>> >>> >>> >>>> I'm thinking of it now in terms of Macros, using the Object.Call(me, >>>> $sFunctionName) treats the code in $sFunctionName like a Macro, (am >>>> I on >>>> the right track?) Flexible& powerful yes. Intuitive in it's >>>> usage, not >>>> so much. >>>> >>> This only enables you to use string value to call a function. There are >>> many alternatives for this. >>> >>> >>> >>> >>>> One of the things that really confused me was the paint.reset command >>>> telling me it had no device.... ummm... no "device"? To me a device >>>> is a >>>> piece of hardware, a printer, a modem, a screen, keyboard, mouse, >>>> soundcard, NIC, Com port etc. >>> In Unix/Linux device has bit broader meaning, see example /dev/null or >>> /dev/random. Not all devices are physical devices. >>> >>> >>> >>> >>>> BTW, how does reset differ from clear? >>>> >>> http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear >>> http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset >>> >>> >>> >>> Jussi >>> ------------------------------------------------------------------------------ >>> >>> Slashdot TV. >>> Video for Nerds. Stuff that matters. >>> http://tv.slashdot.org/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From sbungay at ...3301... Wed Sep 3 17:18:33 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 03 Sep 2014 11:18:33 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54073044.9030002@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> Message-ID: <54073149.6080601@...3301...> Paint.Begin and use cached mode? Trying that now. On 09/03/2014 11:14 AM, Stephen wrote: > Typographical error in the code (not that it is causing a problem). > This line > > mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& CInt(X) > > CInt(X) is redundant and not at all what I was thinking about when I > typed that line. It should more properly read; > > mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& CStr(X) > > I'm beginning to think that what I am trying to accomplish is not > possible. How can a Draw event that is not in the compile-time source be > accessed during run-time? > > On 09/03/2014 06:39 AM, Stephen wrote: >> Attached is a sample project that dynamically instantiates 10 >> business card sized DrawingAreas within a Panel on a forum. The form >> represents a North American letter-sized sheet of paper. Since the >> Draw event must be used to draw within each of the Drawing areas, and >> the the Drawing Areas are brought into existence at run-time, the >> question is how to draw something on them? >> >> The actual project uses a database to dynamically create (or >> re-create) QR or Barcode images. >> >> Steve. >> >> On 09/02/2014 07:05 PM, Stephen wrote: >>> On 09/02/2014 06:22 PM, Jussi Lahtinen wrote: >>>>> I guess it is the need to use the draw event in order to do anything >>>>> with the drawing area that had me spun. I think in terms of methods, >>>>> properties and events, but I do not think in terms of events being the >>>>> very thing that actually does the work. >>>>> >>>> Draw event is called every time drawingarea needs to be drawn. >>> Yes, so we force the event by the refresh method. I'm slowly making >>> progress... documenting things as I go. Thank you taking the time to >>> help. >>> >>>> Thus it is >>>> where you put the drawing commands. >>>> >>>> But you can change this behavior by setting Cached property to True. >>>> Then you start painting by determining painting device (Gambas >>>> cannot know >>>> where to draw, if you are not in specific drawing event) >>>> Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. >>>> See the documentation. >>>> >>>> >>>> >>>> >>>>> I'm thinking of it now in terms of Macros, using the Object.Call(me, >>>>> $sFunctionName) treats the code in $sFunctionName like a Macro, (am >>>>> I on >>>>> the right track?) Flexible& powerful yes. Intuitive in it's >>>>> usage, not >>>>> so much. >>>>> >>>> This only enables you to use string value to call a function. There are >>>> many alternatives for this. >>>> >>>> >>>> >>>> >>>>> One of the things that really confused me was the paint.reset command >>>>> telling me it had no device.... ummm... no "device"? To me a device >>>>> is a >>>>> piece of hardware, a printer, a modem, a screen, keyboard, mouse, >>>>> soundcard, NIC, Com port etc. >>>> In Unix/Linux device has bit broader meaning, see example /dev/null or >>>> /dev/random. Not all devices are physical devices. >>>> >>>> >>>> >>>> >>>>> BTW, how does reset differ from clear? >>>>> >>>> http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear >>>> http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset >>>> >>>> >>>> >>>> Jussi >>>> ------------------------------------------------------------------------------ >>>> >>>> Slashdot TV. >>>> Video for Nerds. Stuff that matters. >>>> http://tv.slashdot.org/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From sbungay at ...3301... Wed Sep 3 17:28:59 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 03 Sep 2014 11:28:59 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54073149.6080601@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> Message-ID: <540733BB.3000208@...3301...> Uh huh. It figures, almost four hours after the initial post, frustration levels climbing, I sent that email then the solution hits me square between the eyes. Yes use cached mode. On 09/03/2014 11:18 AM, Stephen wrote: > Paint.Begin and use cached mode? Trying that now. > > On 09/03/2014 11:14 AM, Stephen wrote: >> Typographical error in the code (not that it is causing a problem). >> This line >> >> mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& CInt(X) >> >> CInt(X) is redundant and not at all what I was thinking about when I >> typed that line. It should more properly read; >> >> mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& CStr(X) >> >> I'm beginning to think that what I am trying to accomplish is not >> possible. How can a Draw event that is not in the compile-time source be >> accessed during run-time? >> >> On 09/03/2014 06:39 AM, Stephen wrote: >>> Attached is a sample project that dynamically instantiates 10 >>> business card sized DrawingAreas within a Panel on a forum. The form >>> represents a North American letter-sized sheet of paper. Since the >>> Draw event must be used to draw within each of the Drawing areas, and >>> the the Drawing Areas are brought into existence at run-time, the >>> question is how to draw something on them? >>> >>> The actual project uses a database to dynamically create (or >>> re-create) QR or Barcode images. >>> >>> Steve. >>> >>> On 09/02/2014 07:05 PM, Stephen wrote: >>>> On 09/02/2014 06:22 PM, Jussi Lahtinen wrote: >>>>>> I guess it is the need to use the draw event in order to do anything >>>>>> with the drawing area that had me spun. I think in terms of methods, >>>>>> properties and events, but I do not think in terms of events being the >>>>>> very thing that actually does the work. >>>>>> >>>>> Draw event is called every time drawingarea needs to be drawn. >>>> Yes, so we force the event by the refresh method. I'm slowly making >>>> progress... documenting things as I go. Thank you taking the time to >>>> help. >>>> >>>>> Thus it is >>>>> where you put the drawing commands. >>>>> >>>>> But you can change this behavior by setting Cached property to True. >>>>> Then you start painting by determining painting device (Gambas >>>>> cannot know >>>>> where to draw, if you are not in specific drawing event) >>>>> Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. >>>>> See the documentation. >>>>> >>>>> >>>>> >>>>> >>>>>> I'm thinking of it now in terms of Macros, using the Object.Call(me, >>>>>> $sFunctionName) treats the code in $sFunctionName like a Macro, (am >>>>>> I on >>>>>> the right track?) Flexible& powerful yes. Intuitive in it's >>>>>> usage, not >>>>>> so much. >>>>>> >>>>> This only enables you to use string value to call a function. There are >>>>> many alternatives for this. >>>>> >>>>> >>>>> >>>>> >>>>>> One of the things that really confused me was the paint.reset command >>>>>> telling me it had no device.... ummm... no "device"? To me a device >>>>>> is a >>>>>> piece of hardware, a printer, a modem, a screen, keyboard, mouse, >>>>>> soundcard, NIC, Com port etc. >>>>> In Unix/Linux device has bit broader meaning, see example /dev/null or >>>>> /dev/random. Not all devices are physical devices. >>>>> >>>>> >>>>> >>>>> >>>>>> BTW, how does reset differ from clear? >>>>>> >>>>> http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear >>>>> http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset >>>>> >>>>> >>>>> >>>>> Jussi >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> Slashdot TV. >>>>> Video for Nerds. Stuff that matters. >>>>> http://tv.slashdot.org/ >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>> ------------------------------------------------------------------------------ >>> Slashdot TV. >>> Video for Nerds. Stuff that matters. >>> http://tv.slashdot.org/ >>> >>> >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From jussi.lahtinen at ...626... Wed Sep 3 17:40:52 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 3 Sep 2014 18:40:52 +0300 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54073044.9030002@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> Message-ID: > mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card" & CStr(X) > > I'm beginning to think that what I am trying to accomplish is not > possible. How can a Draw event that is not in the compile-time source be > accessed during run-time? > I don't know why you need multiple drawing areas, but your drawing areas will raise the event by its name. They will be: Public Sub Card1_Draw() Public Sub Card2_Draw() ... But maybe it is easier to set the drawing areas as Cached. Jussi From jussi.lahtinen at ...626... Wed Sep 3 17:41:16 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 3 Sep 2014 18:41:16 +0300 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <540733BB.3000208@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> <540733BB.3000208@...3301...> Message-ID: Everything works now? Jussi On Wed, Sep 3, 2014 at 6:28 PM, Stephen wrote: > Uh huh. It figures, almost four hours after the initial post, > frustration levels climbing, I sent that email then the solution hits me > square between the eyes. > > Yes use cached mode. > > On 09/03/2014 11:18 AM, Stephen wrote: > > Paint.Begin and use cached mode? Trying that now. > > > > On 09/03/2014 11:14 AM, Stephen wrote: > >> Typographical error in the code (not that it is causing a problem). > >> This line > >> > >> mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& > CInt(X) > >> > >> CInt(X) is redundant and not at all what I was thinking about when I > >> typed that line. It should more properly read; > >> > >> mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& > CStr(X) > >> > >> I'm beginning to think that what I am trying to accomplish is not > >> possible. How can a Draw event that is not in the compile-time source be > >> accessed during run-time? > >> > >> On 09/03/2014 06:39 AM, Stephen wrote: > >>> Attached is a sample project that dynamically instantiates 10 > >>> business card sized DrawingAreas within a Panel on a forum. The form > >>> represents a North American letter-sized sheet of paper. Since the > >>> Draw event must be used to draw within each of the Drawing areas, and > >>> the the Drawing Areas are brought into existence at run-time, the > >>> question is how to draw something on them? > >>> > >>> The actual project uses a database to dynamically create (or > >>> re-create) QR or Barcode images. > >>> > >>> Steve. > >>> > >>> On 09/02/2014 07:05 PM, Stephen wrote: > >>>> On 09/02/2014 06:22 PM, Jussi Lahtinen wrote: > >>>>>> I guess it is the need to use the draw event in order to do anything > >>>>>> with the drawing area that had me spun. I think in terms of methods, > >>>>>> properties and events, but I do not think in terms of events being > the > >>>>>> very thing that actually does the work. > >>>>>> > >>>>> Draw event is called every time drawingarea needs to be drawn. > >>>> Yes, so we force the event by the refresh method. I'm slowly > making > >>>> progress... documenting things as I go. Thank you taking the time to > >>>> help. > >>>> > >>>>> Thus it is > >>>>> where you put the drawing commands. > >>>>> > >>>>> But you can change this behavior by setting Cached property to True. > >>>>> Then you start painting by determining painting device (Gambas > >>>>> cannot know > >>>>> where to draw, if you are not in specific drawing event) > >>>>> Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. > >>>>> See the documentation. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>> I'm thinking of it now in terms of Macros, using the Object.Call(me, > >>>>>> $sFunctionName) treats the code in $sFunctionName like a Macro, (am > >>>>>> I on > >>>>>> the right track?) Flexible& powerful yes. Intuitive in it's > >>>>>> usage, not > >>>>>> so much. > >>>>>> > >>>>> This only enables you to use string value to call a function. There > are > >>>>> many alternatives for this. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>> One of the things that really confused me was the paint.reset > command > >>>>>> telling me it had no device.... ummm... no "device"? To me a device > >>>>>> is a > >>>>>> piece of hardware, a printer, a modem, a screen, keyboard, mouse, > >>>>>> soundcard, NIC, Com port etc. > >>>>> In Unix/Linux device has bit broader meaning, see example /dev/null > or > >>>>> /dev/random. Not all devices are physical devices. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>> BTW, how does reset differ from clear? > >>>>>> > >>>>> http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear > >>>>> http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset > >>>>> > >>>>> > >>>>> > >>>>> Jussi > >>>>> > ------------------------------------------------------------------------------ > >>>>> > >>>>> Slashdot TV. > >>>>> Video for Nerds. Stuff that matters. > >>>>> http://tv.slashdot.org/ > >>>>> _______________________________________________ > >>>>> Gambas-user mailing list > >>>>> Gambas-user at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>> > ------------------------------------------------------------------------------ > >>> Slashdot TV. > >>> Video for Nerds. Stuff that matters. > >>> http://tv.slashdot.org/ > >>> > >>> > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > -- > Kindest Regards > Stephen A. Bungay, Prop. > Smarts On Site Information Systems > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Sep 3 17:43:59 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 03 Sep 2014 17:43:59 +0200 Subject: [Gambas-user] Gradient smoothing? In-Reply-To: <1409726157.225685766@...3373...> References: <1409726157.225685766@...3373...> Message-ID: <5407373F.408@...1...> Le 03/09/2014 08:35, ??????? ?????????? a ?crit : > > Dear Benot Minisini ! > > I like your Gambas project, but shortage of documentation on some functions creates small problems. > For example the realized function (Fill.Gradient = Vertical) - works with Fill.Gradient remarkably, but there is no function > smoothing of roughnesses (this function is realized in Visual Basic Net, > it is effective for development of user control). > To my regret - I didn't find this function in "Gambas". > > Private Sub ShowPensAndSmoothingMode(ByVal eAs PaintEventArgs) > > ' Set the SmoothingMode property to smooth the line. > e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias > > ' Create a new Pen object. > Dim greenPenAs New Pen(Color.Green) > > ' Set the width to 6. > greenPen.Width = 6.0F > > ' Set the DashCap to round. > greenPen.DashCap = Drawing2D.DashCap.Round > > ' Create a custom dash pattern. > greenPen.DashPattern =New Single() {4.0F, 2.0F, 1.0F, 3.0F} > > ' Draw a line. > e.Graphics.DrawLine(greenPen, 20.0F, 20.0F, 100.0F, 240.0F) > > ' Change the SmoothingMode to none. > e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.None > > ' Draw another line. > e.Graphics.DrawLine(greenPen, 100.0F, 240.0F, 160.0F, 20.0F) > > ' Dispose of the custom pen. > greenPen.Dispose() > End Sub > > > > http://msdn.microsoft.com/ru-ru/library/system.drawing.graphics.smoothingmode(v=vs.90).aspx > > > > Dmitry Klishin Use Paint.AntiAlias for that. Beware that it has no effect on drawing fonts, and that coordinates do not translate to the same pixel(s) in both mode. With antialiasing on, (X,Y) points between pixels (four pixels are concerned), whereas with antialiasing off, it points directly inside the pixel (only one pixel is concerned). If you are not aware of that, draw a single point and use a magnify program to see what that means (for example KMag). Regards, -- Beno?t Minisini From vuott at ...325... Wed Sep 3 17:46:53 2014 From: vuott at ...325... (Ru Vuott) Date: Wed, 3 Sep 2014 16:46:53 +0100 Subject: [Gambas-user] ERROR with revision 6446 ! In-Reply-To: <540726C0.9070401@...1...> Message-ID: <1409759213.46141.YahooMailBasic@...3273...> Yes, now it works. Regards vuott -------------------------------------------- Mer 3/9/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] ERROR with revision 6446 ! A: "mailing list for gambas users" Data: Mercoled? 3 settembre 2014, 16:33 Le 03/09/2014 16:15, Ru Vuott a ?crit : > Hello, > > with revision 6446 I obtained this error: > > **************************** > make[5]: Entering directory `/home/vuott/trunk/gb.qt4/src/webkit' >? ? CXX? ? ? gb_qt4_webkit_la-cwebsettings.lo > cwebsettings.cpp: In function 'void WebSettingsCache_Path(void*, void*)': > cwebsettings.cpp:196:36: error: 'struct GB_INTERFACE::' has no member named 'Home' >? ???QString root = QString(GB.System.Home()); >? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^ > cwebsettings.cpp: In function 'void WebSettingsCache_Clear(void*, void*)': > cwebsettings.cpp:249:5: error: 'struct GB_INTERFACE' has no member named 'BrowseDirectory' >? ? GB.BrowseDirectory(_cache_path, NULL, remove_file); >? ? ???^ > make[5]: *** [gb_qt4_webkit_la-cwebsettings.lo] Error 1 > make[5]: Leaving directory `/home/vuott/trunk/gb.qt4/src/webkit' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/vuott/trunk/gb.qt4/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/vuott/trunk/gb.qt4' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/vuott/trunk' > make: *** [all] Error 2 > > *************************************************************** > > Regards > vuott > Fixed in revision #6447. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Slashdot TV.? Video for Nerds.? Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sbungay at ...3301... Wed Sep 3 19:03:51 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 03 Sep 2014 13:03:51 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> <540733BB.3000208@...3301...> Message-ID: <540749F7.6040300@...3301...> Yes indeed :) Using cache mode for each instantiated DrawingArea we can manipulate them as desired. You asked why am I using 10 drawing areas, oddly enough the answer is to simplify things from a layout standpoint... didn't figure on having this much trouble with it... but persistence (and help) pays off. Now to print the darn things. On 09/03/2014 11:41 AM, Jussi Lahtinen wrote: > Everything works now? > > > Jussi > > > On Wed, Sep 3, 2014 at 6:28 PM, Stephen wrote: > >> Uh huh. It figures, almost four hours after the initial post, >> frustration levels climbing, I sent that email then the solution hits me >> square between the eyes. >> >> Yes use cached mode. >> >> On 09/03/2014 11:18 AM, Stephen wrote: >>> Paint.Begin and use cached mode? Trying that now. >>> >>> On 09/03/2014 11:14 AM, Stephen wrote: >>>> Typographical error in the code (not that it is causing a problem). >>>> This line >>>> >>>> mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& >> CInt(X) >>>> CInt(X) is redundant and not at all what I was thinking about when I >>>> typed that line. It should more properly read; >>>> >>>> mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card"& >> CStr(X) >>>> I'm beginning to think that what I am trying to accomplish is not >>>> possible. How can a Draw event that is not in the compile-time source be >>>> accessed during run-time? >>>> >>>> On 09/03/2014 06:39 AM, Stephen wrote: >>>>> Attached is a sample project that dynamically instantiates 10 >>>>> business card sized DrawingAreas within a Panel on a forum. The form >>>>> represents a North American letter-sized sheet of paper. Since the >>>>> Draw event must be used to draw within each of the Drawing areas, and >>>>> the the Drawing Areas are brought into existence at run-time, the >>>>> question is how to draw something on them? >>>>> >>>>> The actual project uses a database to dynamically create (or >>>>> re-create) QR or Barcode images. >>>>> >>>>> Steve. >>>>> >>>>> On 09/02/2014 07:05 PM, Stephen wrote: >>>>>> On 09/02/2014 06:22 PM, Jussi Lahtinen wrote: >>>>>>>> I guess it is the need to use the draw event in order to do anything >>>>>>>> with the drawing area that had me spun. I think in terms of methods, >>>>>>>> properties and events, but I do not think in terms of events being >> the >>>>>>>> very thing that actually does the work. >>>>>>>> >>>>>>> Draw event is called every time drawingarea needs to be drawn. >>>>>> Yes, so we force the event by the refresh method. I'm slowly >> making >>>>>> progress... documenting things as I go. Thank you taking the time to >>>>>> help. >>>>>> >>>>>>> Thus it is >>>>>>> where you put the drawing commands. >>>>>>> >>>>>>> But you can change this behavior by setting Cached property to True. >>>>>>> Then you start painting by determining painting device (Gambas >>>>>>> cannot know >>>>>>> where to draw, if you are not in specific drawing event) >>>>>>> Paint.Begin(hNameOfPaintingDevice) and end with Paint.End. >>>>>>> See the documentation. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> I'm thinking of it now in terms of Macros, using the Object.Call(me, >>>>>>>> $sFunctionName) treats the code in $sFunctionName like a Macro, (am >>>>>>>> I on >>>>>>>> the right track?) Flexible& powerful yes. Intuitive in it's >>>>>>>> usage, not >>>>>>>> so much. >>>>>>>> >>>>>>> This only enables you to use string value to call a function. There >> are >>>>>>> many alternatives for this. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> One of the things that really confused me was the paint.reset >> command >>>>>>>> telling me it had no device.... ummm... no "device"? To me a device >>>>>>>> is a >>>>>>>> piece of hardware, a printer, a modem, a screen, keyboard, mouse, >>>>>>>> soundcard, NIC, Com port etc. >>>>>>> In Unix/Linux device has bit broader meaning, see example /dev/null >> or >>>>>>> /dev/random. Not all devices are physical devices. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> BTW, how does reset differ from clear? >>>>>>>> >>>>>>> http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/clear >>>>>>> http://gambaswiki.org/wiki/comp/gb.qt4/paint/reset >>>>>>> >>>>>>> >>>>>>> >>>>>>> Jussi >>>>>>> >> ------------------------------------------------------------------------------ >>>>>>> Slashdot TV. >>>>>>> Video for Nerds. Stuff that matters. >>>>>>> http://tv.slashdot.org/ >>>>>>> _______________________________________________ >>>>>>> Gambas-user mailing list >>>>>>> Gambas-user at lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>>>> >> ------------------------------------------------------------------------------ >>>>> Slashdot TV. >>>>> Video for Nerds. Stuff that matters. >>>>> http://tv.slashdot.org/ >>>>> >>>>> >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> -- >> Kindest Regards >> Stephen A. Bungay, Prop. >> Smarts On Site Information Systems >> >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From jussi.lahtinen at ...626... Wed Sep 3 20:33:54 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 3 Sep 2014 21:33:54 +0300 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <540749F7.6040300@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> <540733BB.3000208@...3301...> <540749F7.6040300@...3301...> Message-ID: > You asked why am I using 10 drawing areas, oddly enough the answer is to > simplify things from a layout standpoint... Just figure out how to draw one card and make multiple copies of it to same one big drawing area..? > Now to print the darn things. > Yeah... to print the things you need to give the same drawing commands to the Printer object. See how above would make things simple... Or you need to give picture of the wanted result for the Printer object. Not sure what is reasonable way to do this. Jussi From sbungay at ...3301... Wed Sep 3 22:16:22 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 03 Sep 2014 16:16:22 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> <540733BB.3000208@...3301...> <540749F7.6040300@...3301...> Message-ID: <54077716.1070608@...3301...> On 09/03/2014 02:33 PM, Jussi Lahtinen wrote: >> You asked why am I using 10 drawing areas, oddly enough the answer is to >> simplify things from a layout standpoint... > > Just figure out how to draw one card and make multiple copies of it to same > one big drawing area..? > > Since each drawing area is the same size, the same drawing commands, right down to the coordinates, are used to draw on each one, only a portion of the contents of each small DrawingArea changes (in this case its a QR Code). Everything else remains the same. The drawing portion of the program does not have to be concerned with placing an item on a page (one large DrawingArea), and it doesn't care where the DrawingArea it is manipulating is going to be placed, another piece of code is concerned with that functionality. All well and good, until we get to printing... >> Now to print the darn things. >> > Yeah... to print the things you need to give the same drawing commands to > the Printer object. See how above would make things simple... > Or you need to give picture of the wanted result for the Printer object. > Not sure what is reasonable way to do this. > > I was thinking of taking the panel containing the drawing areas, turning it into one big bitmap, and then spooling that file off to the printer. Has anyone out there done this kind of thing? > Jussi > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From taboege at ...626... Wed Sep 3 22:27:14 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 3 Sep 2014 22:27:14 +0200 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54077716.1070608@...3301...> References: <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> <540733BB.3000208@...3301...> <540749F7.6040300@...3301...> <54077716.1070608@...3301...> Message-ID: <20140903202714.GD783@...2774...> On Wed, 03 Sep 2014, Stephen wrote: > On 09/03/2014 02:33 PM, Jussi Lahtinen wrote: > >> You asked why am I using 10 drawing areas, oddly enough the answer is to > >> simplify things from a layout standpoint... > > > > Just figure out how to draw one card and make multiple copies of it to same > > one big drawing area..? > > > > > Since each drawing area is the same size, the same drawing commands, > right down to the coordinates, are used to draw on each one, only a > portion of the contents of each small DrawingArea changes (in this case > its a QR Code). Everything else remains the same. The drawing portion of > the program does not have to be concerned with placing an item on a page > (one large DrawingArea), and it doesn't care where the DrawingArea it is > manipulating is going to be placed, another piece of code is concerned > with that functionality. > All well and good, until we get to printing... > >> Now to print the darn things. > >> > > Yeah... to print the things you need to give the same drawing commands to > > the Printer object. See how above would make things simple... > > Or you need to give picture of the wanted result for the Printer object. > > Not sure what is reasonable way to do this. > > > > > > I was thinking of taking the panel containing the drawing areas, > turning it into one big bitmap, and then spooling that file off to the > printer. Has anyone out there done this kind of thing? > Sounds a bit weird. A Printer object is also a potential drawing device, so you shouldn't take screenshots to print something of which your program knows how to reproduce it. Do you have a feeling by now how painting works in Gambas (or how it is supposed to work)? If not, I have some spare time the next days... As far as my experience goes, painting is a black box for many newbies. But when you get used to it, it makes kinda sense :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sbungay at ...3301... Wed Sep 3 22:40:57 2014 From: sbungay at ...3301... (Stephen) Date: Wed, 03 Sep 2014 16:40:57 -0400 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <20140903202714.GD783@...2774...> References: <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> <540733BB.3000208@...3301...> <540749F7.6040300@...3301...> <54077716.1070608@...3301...> <20140903202714.GD783@...2774...> Message-ID: <54077CD9.3000407@...3301...> On 09/03/2014 04:27 PM, Tobias Boege wrote: > On Wed, 03 Sep 2014, Stephen wrote: >> On 09/03/2014 02:33 PM, Jussi Lahtinen wrote: >>>> You asked why am I using 10 drawing areas, oddly enough the answer is to >>>> simplify things from a layout standpoint... >>> Just figure out how to draw one card and make multiple copies of it to same >>> one big drawing area..? >>> >>> >> Since each drawing area is the same size, the same drawing commands, >> right down to the coordinates, are used to draw on each one, only a >> portion of the contents of each small DrawingArea changes (in this case >> its a QR Code). Everything else remains the same. The drawing portion of >> the program does not have to be concerned with placing an item on a page >> (one large DrawingArea), and it doesn't care where the DrawingArea it is >> manipulating is going to be placed, another piece of code is concerned >> with that functionality. >> All well and good, until we get to printing... >>>> Now to print the darn things. >>>> >>> Yeah... to print the things you need to give the same drawing commands to >>> the Printer object. See how above would make things simple... >>> Or you need to give picture of the wanted result for the Printer object. >>> Not sure what is reasonable way to do this. >>> >>> >> I was thinking of taking the panel containing the drawing areas, >> turning it into one big bitmap, and then spooling that file off to the >> printer. Has anyone out there done this kind of thing? >> > Sounds a bit weird. A Printer object is also a potential drawing device, > so you shouldn't take screenshots to print something of which your program > knows how to reproduce it. > > Do you have a feeling by now how painting works in Gambas (or how it is > supposed to work)? If not, I have some spare time the next days... As far > as my experience goes, painting is a black box for many newbies. But when > you get used to it, it makes kinda sense :-) > > Regards, > Tobi > Hi Tobi; Yeah I'm slowly coming to grips with painting. I wasn't thinking of doing a screen shot. Painting is a bit... err... different, not at all how I expected it to work, but oh well, one never stops learning. Thanks for the offer... I'll take you up on it if I get stuck. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From jussi.lahtinen at ...626... Wed Sep 3 22:53:30 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 3 Sep 2014 23:53:30 +0300 Subject: [Gambas-user] Drawing Areas, painting on them, and printing the results... In-Reply-To: <54077716.1070608@...3301...> References: <54062BB0.9010104@...3301...> <54063D6B.5000903@...3301...> <54064D49.7040608@...3301...> <5406EFCA.8040407@...3301...> <54073044.9030002@...3301...> <54073149.6080601@...3301...> <540733BB.3000208@...3301...> <540749F7.6040300@...3301...> <54077716.1070608@...3301...> Message-ID: > Since each drawing area is the same size, the same drawing commands, > right down to the coordinates, are used to draw on each one, only a > portion of the contents of each small DrawingArea changes (in this case > its a QR Code). Everything else remains the same. Sounds perfect place to pass coordinates and QR Code as arguments for the drawing function. Then call it like this: Public Sub Cards_Draw() Dim ii As Integer, jj As Integer For ii = 0 to 2 '' 10 cards? asymmetric layout? For jj = 0 to 2 DrawCard(ii * iCardSizeX, jj * iCardSizeY, iQRCode[(ii * 3) + jj]) Next Next End And to print the same thing, just: Public Sub MyPrinter_Draw() Dim ii As Integer, jj As Integer For ii = 0 to 2 '' 10 card? asymmetric layout? For jj = 0 to 2 DrawCard(ii * iCardSizeX, jj * iCardSizeY, iQRCode[(ii * 3) + jj]) Next Next End But maybe I don't fully understand what you are trying to achieve. Jussi From introlinux at ...626... Wed Sep 3 22:57:59 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Wed, 3 Sep 2014 22:57:59 +0200 Subject: [Gambas-user] How to auto-reload webview Message-ID: In this project, when I try to change fonts, Webview1 need right click and select "reload" to show new font choosen. Is there any way to auto-refresh or auto-reload the page showed in Webview1? I tried with webview1.reload() and webview1.refresh(), but this doesn't work. Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: palabrotas-0.0.9.tar.gz Type: application/x-gzip Size: 334673 bytes Desc: not available URL: From lists at ...2828... Thu Sep 4 09:52:36 2014 From: lists at ...2828... (CJ) Date: Thu, 4 Sep 2014 09:52:36 +0200 Subject: [Gambas-user] I-Nex - Nice Gambas Program Message-ID: <000001cfc815$33daa7f0$0f00a8c0@...2829...> I haven't seen it mentioned here so I just wanted to share what looks like a nice Gambas program that I bumbed into. It's open source and called "I-Nex" and shows lots of hardware information about the computer. http://i-nex.linux.pl Haven't tried it yet but it looks really nice. Maybe this could be something worth mentioning in upcoming Gambas Magazine? /CJ From karl.reinl at ...9... Thu Sep 4 22:40:46 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 04 Sep 2014 22:40:46 +0200 Subject: [Gambas-user] DEVELOPMENT ENVIRONMENT using the file write permissions changes In-Reply-To: <53C52358.5090700@...1...> References: <1405428372.3474.14.camel@...40...> <53C52358.5090700@...1...> Message-ID: <1409863246.3513.5.camel@...40...> Am Dienstag, den 15.07.2014, 14:49 +0200 schrieb Beno?t Minisini: > Le 15/07/2014 14:46, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > > > Date: 2014-07-11 11:51:47 +0000 (Fri, 11 Jul 2014) > > Log Message: > > ----------- > > [DEVELOPMENT ENVIRONMENT] > > * NEW: All files can be "locked". This is implemented by using the file > > write permissions. The old form locking mechanism has been removed. > > Salut Beno?t, I dug a bit deeper, Project.SetReadOnly(Path, ) is, at least in FEditor only used on load, but never on unload, so files in my case symlinks, which are set to readOnly will stay so if I change the project or close the IDE. I tried this on FEditor Public Sub Form_Close() Project.AddRecentFile(Me) Project.SetReadOnly(Path, False) End Ok, think its a bit rough, but works. Finally it must be checked how stated the file, when opened, to reset/keep this stat. -- Amicalement Charlie This problem persist still on IDE, am I the only who's using linked files in project ? -- Amicalement Charlie From abbat.81 at ...787... Fri Sep 5 11:50:26 2014 From: abbat.81 at ...787... (abbat81) Date: Fri, 5 Sep 2014 02:50:26 -0700 (MST) Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: References: <1409669119026-47918.post@...3046...> Message-ID: <1409910626453-47952.post@...3046...> And where is cach for WebView1? How can I clear it? This is very bad way: "Shell "rm -rf " & Shell$(WebSettings.Cache.Path) &/ "*" Wait" -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47952.html Sent from the gambas-user mailing list archive at Nabble.com. From abbat.81 at ...787... Fri Sep 5 12:07:03 2014 From: abbat.81 at ...787... (abbat81) Date: Fri, 5 Sep 2014 03:07:03 -0700 (MST) Subject: [Gambas-user] I-Nex - Nice Gambas Program In-Reply-To: <1a3c5af2d49836fb47b1859318ceb34c@...3374...> References: <000001cfc815$33daa7f0$0f00a8c0@...2829...> <1a3c5af2d49836fb47b1859318ceb34c@...3374...> Message-ID: <1409911623441-47953.post@...3046...> -- View this message in context: http://gambas.8142.n7.nabble.com/I-Nex-Nice-Gambas-Program-tp47947p47953.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Sep 5 12:15:58 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 05 Sep 2014 12:15:58 +0200 Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <1409910626453-47952.post@...3046...> References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> Message-ID: <54098D5E.4060809@...1...> Le 05/09/2014 11:50, abbat81 a ?crit : > And where is cach for WebView1? > How can I clear it? > > This is very bad way: > "Shell "rm -rf " & Shell$(WebSettings.Cache.Path) &/ "*" Wait" > In the last revisions, I added the method WebSettings.Cache.Clear() to clear the cache correctly. Regards, -- Beno?t Minisini From abbat.81 at ...787... Fri Sep 5 12:53:51 2014 From: abbat.81 at ...787... (abbat81) Date: Fri, 5 Sep 2014 03:53:51 -0700 (MST) Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <54098D5E.4060809@...1...> References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> <54098D5E.4060809@...1...> Message-ID: <1409914431803-47956.post@...3046...> Thanks Beno?t, how can I use it now? I have a Gambas 3.5.1 and I get "Unknown symbol "Clear"" . If I update my Gambas to 3.5.4 - will I get the "WebSettings.Cache.Clear()" ? I'd clear the cache by myself but WebSettings.Cache.Path gives me nothing Regards. -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47956.html Sent from the gambas-user mailing list archive at Nabble.com. From introlinux at ...626... Fri Sep 5 13:40:32 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Fri, 5 Sep 2014 13:40:32 +0200 Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <1409914431803-47956.post@...3046...> References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> <54098D5E.4060809@...1...> <1409914431803-47956.post@...3046...> Message-ID: Hi, this method could help me with my problem? http://sourceforge.net/p/gambas/mailman/message/32793455/ 2014-09-05 12:53 GMT+02:00 abbat81 : > Thanks Beno?t, > > how can I use it now? > > I have a Gambas 3.5.1 and I get "Unknown symbol "Clear"" . > > If I update my Gambas to 3.5.4 - will I get the "WebSettings.Cache.Clear()" > ? > > I'd clear the cache by myself but WebSettings.Cache.Path gives me nothing > > Regards. > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47956.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From abbat.81 at ...787... Fri Sep 5 13:51:05 2014 From: abbat.81 at ...787... (abbat81) Date: Fri, 5 Sep 2014 04:51:05 -0700 (MST) Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> <54098D5E.4060809@...1...> <1409914431803-47956.post@...3046...> Message-ID: <1409917865922-47959.post@...3046...> Thanks Antonio, I downloded the attachment and I could not any solution in your link. Can tou tell me here? how to relod WebView? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47959.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Sep 5 14:07:17 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 05 Sep 2014 14:07:17 +0200 Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <1409917865922-47959.post@...3046...> References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> <54098D5E.4060809@...1...> <1409914431803-47956.post@...3046...> <1409917865922-47959.post@...3046...> Message-ID: <5409A775.9010001@...1...> Le 05/09/2014 13:51, abbat81 a ?crit : > Thanks Antonio, > > I downloded the attachment and I could not any solution in your link. > > Can tou tell me here? how to relod WebView? > > Thanks > OK, I finally found out how to reload the page without using the cache. This is just a QT API omission in the QWebView class, but the function can be triggered in another class. I will fix that soon... -- Beno?t Minisini From abbat.81 at ...787... Fri Sep 5 14:23:54 2014 From: abbat.81 at ...787... (abbat81) Date: Fri, 5 Sep 2014 05:23:54 -0700 (MST) Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <5409A775.9010001@...1...> References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> <54098D5E.4060809@...1...> <1409914431803-47956.post@...3046...> <1409917865922-47959.post@...3046...> <5409A775.9010001@...1...> Message-ID: <1409919834931-47961.post@...3046...> Beno?t, I have a Form1 and Form2, which has that cahed WebView1. How can I Close-Quit-Kill a Form2 with WebView1 to drop WebView1. I mean, how to Close Form2 from Form1 to get new content in Form2.WebView1 openin next time Form2? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47961.html Sent from the gambas-user mailing list archive at Nabble.com. From introlinux at ...626... Fri Sep 5 18:07:16 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Fri, 5 Sep 2014 18:07:16 +0200 Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <1409917865922-47959.post@...3046...> References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> <54098D5E.4060809@...1...> <1409914431803-47956.post@...3046...> <1409917865922-47959.post@...3046...> Message-ID: It must be a misunderstanding, I do not have the solution, just wondering if my problem in that project would have the same solution as yours. 2014-09-05 13:51 GMT+02:00 abbat81 : > Thanks Antonio, > > I downloded the attachment and I could not any solution in your link. > > Can tou tell me here? how to relod WebView? > > Thanks > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/WebView-can-not-Reload-Refresh-tp47918p47959.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Sep 5 19:57:49 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 05 Sep 2014 19:57:49 +0200 Subject: [Gambas-user] WebView can not Reload/Refresh In-Reply-To: <5409A775.9010001@...1...> References: <1409669119026-47918.post@...3046...> <1409910626453-47952.post@...3046...> <54098D5E.4060809@...1...> <1409914431803-47956.post@...3046...> <1409917865922-47959.post@...3046...> <5409A775.9010001@...1...> Message-ID: <5409F99D.50405@...1...> Le 05/09/2014 14:07, Beno?t Minisini a ?crit : > Le 05/09/2014 13:51, abbat81 a ?crit : >> Thanks Antonio, >> >> I downloded the attachment and I could not any solution in your link. >> >> Can tou tell me here? how to relod WebView? >> >> Thanks >> > > OK, I finally found out how to reload the page without using the cache. > This is just a QT API omission in the QWebView class, but the function > can be triggered in another class. > > I will fix that soon... > Fixed in revision #6450. Now the WebView.Reload method takes an optional boolean argument. Set it to TRUE, and the cache will be bypassed. Beware, I didn't test! Regards, -- Beno?t Minisini From gambas at ...2524... Sat Sep 6 05:18:35 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 06 Sep 2014 03:18:35 +0000 Subject: [Gambas-user] Issue 555 in gambas: Auto-Resize does not work with labels in GTK Message-ID: <0-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-X86-64 Desktop-Any GUI-Any New issue 555 by zachsmit... at ...626...: Auto-Resize does not work with labels in GTK https://code.google.com/p/gambas/issues/detail?id=555 1) Auto-Resize no longer works with labels in GTK+. It does work in QT4. 2) [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.16.1-1-ARCH Architecture=x86_64 Distribution=arch Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=3956M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.401.0 GTK+=libgtk-x11-2.0.so.0.2400.24 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Project attached 5) Run the example and you'll see that the label size does not expand to the size of its contents. Attachments: auto_resize-0.0.1.tar.gz 4.5 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Sep 6 11:39:03 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 06 Sep 2014 09:39:03 +0000 Subject: [Gambas-user] Issue 555 in gambas: Auto-Resize does not work with labels in GTK In-Reply-To: <0-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Arch-X86-64 -GUI-Any Version-3.5.0 Arch-Any GUI-GTK Comment #1 on issue 555 by benoit.m... at ...626...: Auto-Resize does not work with labels in GTK https://code.google.com/p/gambas/issues/detail?id=555 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Sep 6 11:40:03 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 06 Sep 2014 09:40:03 +0000 Subject: [Gambas-user] Issue 555 in gambas: Auto-Resize does not work with labels in GTK In-Reply-To: <1-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> <0-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12621378612963444743-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 555 by benoit.m... at ...626...: Auto-Resize does not work with labels in GTK https://code.google.com/p/gambas/issues/detail?id=555 Fixed in revision #6452. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From pata.karlsson at ...626... Sat Sep 6 20:29:13 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Sat, 6 Sep 2014 20:29:13 +0200 Subject: [Gambas-user] Loading non UTF-8 text files to TextArea Message-ID: Hi, I got: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed when trying TextArea.Text=File.Load("iso8859-1.txt") So my TextArea stays empty. I have found an old bug report regarding this tagged as wont fix. Since the file loads as expected in qt, is it future safe to use qt in my app, will it always work? Does qt support "every other" encoding too? Im asking since Im working on a gui for iconv. /Patrik From gambas at ...1... Sat Sep 6 20:45:24 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 06 Sep 2014 20:45:24 +0200 Subject: [Gambas-user] Loading non UTF-8 text files to TextArea In-Reply-To: References: Message-ID: <540B5644.8010307@...1...> Le 06/09/2014 20:29, Patrik Karlsson a ?crit : > Hi, > > I got: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion > 'g_utf8_validate (text, len, NULL)' failed > when trying TextArea.Text=File.Load("iso8859-1.txt") > > So my TextArea stays empty. If the file contents is not UTF-8, it's up to you to convert it to UTF-8. TextArea.Text = Conv(File.Load("iso8859-1.txt"), "ISO-8859-1", "UTF-8") > > I have found an old bug report regarding this tagged as wont fix. > > Since the file loads as expected in qt, is it future safe to use qt in my > app, will it always work? > > Does qt support "every other" encoding too? > Im asking since Im working on a gui for iconv. > > /Patrik It should not work in Qt either, unless it has some automatic conversion inside, or it is more tolerant. Regards, -- Beno?t Minisini From gambas at ...1... Sun Sep 7 13:15:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 07 Sep 2014 13:15:33 +0200 Subject: [Gambas-user] Newbie IDE In-Reply-To: <540BD4DE.9000504@...3375...> References: <5409CA98.6060209@...3375...> <20140905143840.GD915@...2774...> <5409CE7B.2070501@...1...> <5409D2C2.7070306@...3375...> <5409D3D8.6060004@...1...> <540A34C6.3040304@...3375...> <540BB3C3.9080207@...1...> <540BD4DE.9000504@...3375...> Message-ID: <540C3E55.90907@...1...> Le 07/09/2014 05:45, John Leake a ?crit : > Hi Beno?t, > > Thank you for the response. It is quite amazing what small problems can > obstruct a newbies progress. My numerous references to M$ below are not > in any way a criticism of Gambas. I am just vocalising my newbie > experiences as they happen. Hi, You should use the mailing-list instead of just my own e-mail. That way all your questions and the answers are archived, and other people may have better answers than me too. > >>> Could I suggest that an item be added to Preferences/Interface > > I have changed Prefs/Interface and it works ok and the option reflects > the current state correctly on entry. But I am still coming to grips > with SVN. I have added what you requested in revision #6456, but the way I want. :-). As a button in the IDE toolbar that unhides the menu when it is hidden. > > What is the correct uri for /trunk ? If you don't know how to deal with subversion, read that first: http://gambaswiki.org/wiki/howto/svn > >>> 2) I am struggling to create a radio button that has a graphic like a >>> conventional button but has the behaviour of a radio button. > > Thank you, I found it just by trying each similar control in the > toolbox. I nearly gave up and was beginning to think it was all a waste > of time. If I could have searched for Toggle Button I would not have > started to lay down doubts about the system. > >>> 3) Searchable help with variable scope. > > As you get older it is difficult to retain lots of detail especially > when the knowledge domain is unfamiliar. I found the M$ Visual Studio 6 > Enterprise way of help to be very useful. > > A) A split screen with search links on the left (ordered by relevance) > and the retrieved content on the right. > > B) A combo box could let you select the scope of the search from say; > All, Gambas language reference, Gambas examples, Contributed help, > Locally held documents, My Reminders, Everyone?s Reminders, ... > > C) Contents, Index, and Search tabs > > The Reminders in B) would be fantastic. I remember with M$ the > difficulty trying to find the ASCII character table. It used to > frustrate me to have to search over and over with different search > terms. Another really nice feature with M$ is the automatic context > search that is steered by what is selected or under the cursor when you > press F1. Also having Example Code in the help can really speed up ones > progress. > > I think an improved help system is likely to reduce the email noise > quite a lot but more importantly it could help retain newbies that would > otherwise leave and not come back over the most trivial of annoyances. > I agree with yuo, but the help system is "just" a wiki written in Gambas. This is the reason why it does not have all the features of the MS help system. And because of lack of time, I can't improve it the way you want. You will have to use "Google" to search it. Of course, if someone comes with an improved help system that is compatible with the wiki, everybody will be happy! Regards, -- Beno?t Minisini From abbat.81 at ...787... Sun Sep 7 13:57:19 2014 From: abbat.81 at ...787... (abbat81) Date: Sun, 7 Sep 2014 04:57:19 -0700 (MST) Subject: [Gambas-user] WebView -> Image/Picture.Save In-Reply-To: <1409684988.15302.YahooMailBasic@...3274...> References: <1409659740002-47916.post@...3046...> <5405BF06.4030501@...1...> <1409673048.14637.YahooMailBasic@...3268...> <5405F19D.2090302@...1...> <1409684988.15302.YahooMailBasic@...3274...> Message-ID: <1410091039525-47984.post@...3046...> How can I use fixed revision #6444 ? -- View this message in context: http://gambas.8142.n7.nabble.com/WebView-Image-Picture-Save-tp47916p47984.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Sun Sep 7 15:31:36 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 7 Sep 2014 16:31:36 +0300 Subject: [Gambas-user] WebView -> Image/Picture.Save In-Reply-To: <1410091039525-47984.post@...3046...> References: <1409659740002-47916.post@...3046...> <5405BF06.4030501@...1...> <1409673048.14637.YahooMailBasic@...3268...> <5405F19D.2090302@...1...> <1409684988.15302.YahooMailBasic@...3274...> <1410091039525-47984.post@...3046...> Message-ID: http://gambaswiki.org/wiki/howto/svn Jussi On Sun, Sep 7, 2014 at 2:57 PM, abbat81 wrote: > How can I use > fixed revision #6444 ? > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/WebView-Image-Picture-Save-tp47916p47984.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jusabejusabe at ...626... Sun Sep 7 16:02:24 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 7 Sep 2014 16:02:24 +0200 Subject: [Gambas-user] =?utf-8?b?QSBnYW1lIG1hZGUg4oCL4oCLaW4gMTk0NSBnYW1i?= =?utf-8?q?as3?= Message-ID: A simple game done in Gambas3, unused gb.sdl library. You can download both the source code and installer deb in http://jsbsan.blogspot.com.es/2014/09/1945-the-game.html Includes a simple library made in gambas3 for use with sprites and tiled Enjoy it Julio From jussi.lahtinen at ...626... Sun Sep 7 16:58:22 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 7 Sep 2014 17:58:22 +0300 Subject: [Gambas-user] =?utf-8?b?QSBnYW1lIG1hZGUg4oCL4oCLaW4gMTk0NSBnYW1i?= =?utf-8?q?as3?= In-Reply-To: References: Message-ID: "La p?gina que estabas buscando en este blog no existe." Jussi On Sun, Sep 7, 2014 at 5:02 PM, Julio Sanchez wrote: > A simple game done in Gambas3, unused gb.sdl library. > > You can download both the source code and installer deb in > > http://jsbsan.blogspot.com.es/2014/09/1945-the-game.html > > Includes a simple library made in gambas3 for use with sprites and tiled > > Enjoy it > > Julio > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From introlinux at ...626... Sun Sep 7 17:17:48 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Sun, 7 Sep 2014 17:17:48 +0200 Subject: [Gambas-user] =?utf-8?b?QSBnYW1lIG1hZGUg4oCL4oCLaW4gMTk0NSBnYW1i?= =?utf-8?q?as3?= In-Reply-To: References: Message-ID: In the blog I searched for "1945" and: http://jsbsan.blogspot.com.es/2014/09/1945-el-juego.html 2014-09-07 16:58 GMT+02:00 Jussi Lahtinen : > "La p?gina que estabas buscando en este blog no existe." > > > Jussi > > On Sun, Sep 7, 2014 at 5:02 PM, Julio Sanchez > wrote: > > > A simple game done in Gambas3, unused gb.sdl library. > > > > You can download both the source code and installer deb in > > > > http://jsbsan.blogspot.com.es/2014/09/1945-the-game.html > > > > Includes a simple library made in gambas3 for use with sprites and tiled > > > > Enjoy it > > > > Julio > > > > > ------------------------------------------------------------------------------ > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jscops at ...11... Sun Sep 7 17:37:45 2014 From: jscops at ...11... (Jack) Date: Sun, 07 Sep 2014 17:37:45 +0200 Subject: [Gambas-user] =?utf-8?b?QSBnYW1lIG1hZGUg4oCL4oCLaW4gMTk0NSBnYW1i?= =?utf-8?q?as3?= In-Reply-To: References: Message-ID: <540C7BC9.3050409@...11...> Le 07/09/2014 16:02, Julio Sanchez a ?crit : > A simple game done in Gambas3, unused gb.sdl library. > > You can download both the source code and installer deb in > > http://jsbsan.blogspot.com.es/2014/09/1945-the-game.html > > Includes a simple library made in gambas3 for use with sprites and tiled > > Enjoy it Very nice work Julio. Jack From taboege at ...626... Sun Sep 7 17:50:48 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 7 Sep 2014 17:50:48 +0200 Subject: [Gambas-user] [Gambas-devel] Creating a Control In-Reply-To: <540C77D0.1010404@...3375...> References: <540C77D0.1010404@...3375...> Message-ID: <20140907155048.GA28596@...2774...> On Sun, 07 Sep 2014, John Leake wrote: > Hi All, > I am struggling to understand how to create a new control. > > Please forgive me, I have read the help on this but I am none the wiser. > > As a test I just want to create a control that behaves like a > ToggleButton but changes colour each time it is clicked. > > Could anyone help me get started ? > Hui, I don't know how simple you think this is but depending on from where you want to start, it can require quite some code (involving drawing every part of your control if you want to write it from scratch). Of course, you can, on the other side, start with a ToggleButton and add just the colour plays to it which would require significantly less code. It depends on how much control you need to have. There are different approaches (hard ~ more control): - inherit ToggleButton [0] (easy), - inherit UserControl [1] (harder, chosen often in Gambas sources), - create a Form and put your things together [2] (less applicable here but useful to remember when you want to create compound controls) (also easy). You may also want to integrate the control into the IDE's Form editor [3]. I tried to put example classes together for the above approaches but you are way better off subscribing to the gambas-user mailing list (you are still on gambas-devel here which is for discussion about contributions to Gambas, not questions about programming in it). Some people there have done this sort of thing way more often than me. See the SF info page [4]. Regards, Tobi General advice: if you have a slight idea already of what to search for, it is a very good idea to look at the Gambas source code. Lots of things you use as a Gambas programmer are implemented in Gambas itself. [0] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.form/.src/MessageLabel.class or have a look at http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.form/.src/TagBox/TagComboBox.class for an example of a very lazy coder :-) [1] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.form/.src/Spinner.class This is actually a pretty good example! [2] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.form/.src/FInputBox.class Plus the other *InputBox.{form,class} files in that directory. [3] http://gambaswiki.org/wiki/dev/gambas [4] https://lists.sourceforge.net/lists/listinfo/gambas-user -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Sun Sep 7 22:27:45 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 07 Sep 2014 20:27:45 +0000 Subject: [Gambas-user] Issue 349 in gambas: GTK issue with disabled button text when reparented In-Reply-To: <1-6813199134517018827-6218991680076043872-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6218991680076043872-gambas=googlecode.com@...2524...> <0-6813199134517018827-6218991680076043872-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6218991680076043872-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 349 by benoit.m... at ...626...: GTK issue with disabled button text when reparented https://code.google.com/p/gambas/issues/detail?id=349 Finally fixed in revision #6457. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Sep 7 22:28:45 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 07 Sep 2014 20:28:45 +0000 Subject: [Gambas-user] Issue 263 in gambas: The TextBox will remain always in the foreground. In-Reply-To: <6-6813199134517018827-14329216359082015794-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-14329216359082015794-gambas=googlecode.com@...2524...> <0-6813199134517018827-14329216359082015794-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-14329216359082015794-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #7 on issue 263 by benoit.m... at ...626...: The TextBox will remain always in the foreground. https://code.google.com/p/gambas/issues/detail?id=263 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From n.rogozarski at ...626... Mon Sep 8 13:50:07 2014 From: n.rogozarski at ...626... (Roki) Date: Mon, 08 Sep 2014 13:50:07 +0200 Subject: [Gambas-user] Groups in Report Message-ID: <540D97EF.2050307@...626...> Ok guys! I have a question about creating a group in gb.report. I want to show data for the vehicles, which I took from a database and grouped according to their type. For example : ----- Cars --- Licence plate | Make | Model | sm3 | kW --- ST-5555AB | Mercedes | C220 | 1989 | 88 and so on... ----- Truck --- ST-1111AC | IVECO | 240L | 4500 | 102 and so on... I successfully created a report with the data, but stuck with creating groups. Is there any small example, which will help ??? From jusabejusabe at ...626... Mon Sep 8 14:19:01 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Mon, 8 Sep 2014 14:19:01 +0200 Subject: [Gambas-user] Groups in Report In-Reply-To: <540D97EF.2050307@...626...> References: <540D97EF.2050307@...626...> Message-ID: Roki: Hi, create a class that is able to make reports easily with the report component. You can see forum-es.org prawns (that's Spanish), but it is very easy to use. http://www.gambas-es.org/viewtopic.php?f=5&t=3711&highlight=generador Greetings Julio 2014-09-08 13:50 GMT+02:00 Roki : > Ok guys! I have a question about creating a group in gb.report. > I want to show data for the vehicles, which I took from a database and > grouped according to their type. > For example : > ----- Cars > --- Licence plate | Make | Model | sm3 | kW > --- ST-5555AB | Mercedes | C220 | 1989 | 88 > and so on... > ----- Truck > --- ST-1111AC | IVECO | 240L | 4500 | 102 > and so on... > > I successfully created a report with the data, but stuck with creating > groups. > Is there any small example, which will help ??? > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Mon Sep 8 14:34:45 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 8 Sep 2014 14:34:45 +0200 Subject: [Gambas-user] [Gambas-devel] Creating a Control In-Reply-To: <540D9494.8050305@...3375...> References: <540C77D0.1010404@...3375...> <540D9494.8050305@...3375...> Message-ID: <20140908123445.GA889@...2774...> On Mon, 08 Sep 2014, John Leake wrote: > Hi All, > > Many thanks for your responses. I am posting this in the devel list > because I am prepared to spend the time improving the IDE. > Yes, but you only see 3 - 4 people regularly on gambas-devel (and mainly through gambas-devel-svn when they do commits), as opposed to at least 10 on gambas-user. In the difference are people like Bruce Bruen who earns a living programming in Gambas and doing such things. > So for directions I go to http://www.gambasdoc.org/help/dev/gambas?v3 > > Lets say I just want to create a ToggleButton of my own that is > unchanged from that which exists already Except for the name of course. > > Start > ----- > 1) create a new project and set its project type to 'Graphical > application' and check the option 'Component programming'. > No, you are not programming a component here. A component is a shared library which you can plug into the interpreter to add functionality. You don't do that here (yet?), you're just experimenting in an ordinary project, not a component project. This decision isn't messing things up. Components written in Gambas are just a superset of ordinary projects (IIRC?). But you shouldn't include the additional meta data if you don't need to. > 2) Select the parent directory (my work is in ~/dev/Gambas3). > > 3) Give the project a name and title of 'MyToggleButton'. > > 4) Drop a toggle button onto 'FTest' and run. All good so far. > > The docs say:- > > "Only the _IsControl and the _Properties constants are mandatory." > > and > > "These hidden constants are inherited like any other constant. So you > don't have to actually declare them in each control, as soon as there is > some inheritance relationships between them. " > > So there is not much more to do since I do not want to change any > behaviour or control properties. Just get the control to show up in the > control toolbox and allow users to design with it just like the original > ToggleButton. > > 5) From the docs "Each control must have an icon that will be displayed > in the IDE control tool box.". I was hoping that I would inherit these > also. There are already two png files in > '~/dev/gambas3/MyToggleButton/.hidden/control' so I change the images so > I can distinguish them from the originals. > > The docs say "The IDE can make binary packages of your component, as it > does for any other normal projects." so > > 6) Project/Make/Executable - good no errors. > Very good so far. > 7) Close and save the project and create a new one that should show > 'MyToggleButton' in the 'Form/Controls' tab but alas it is not there ! > > End > --- > > This may be a naive point of view but shouldn?t it just work like this if ? > It's very natural that it is not there: your MyToggleButton is a class in your first project. That's why the IDE can read it and add it to the Controls tab. If you open another project without this class, the class... cannot be found. Your custom controls are local to your project, so to say. If you want to use it in other projects, you can - create a component, install it and plug it in (Project -> Properties -> Components), - create a so-called library [0] or - copy your classes over or create symlinks to them. Regards, Tobi [0] http://gambaswiki.org/wiki/doc/library -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From pata.karlsson at ...626... Mon Sep 8 16:07:18 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Mon, 8 Sep 2014 16:07:18 +0200 Subject: [Gambas-user] Loading non UTF-8 text files to TextArea In-Reply-To: <540B5644.8010307@...1...> References: <540B5644.8010307@...1...> Message-ID: 2014-09-06 20:45 GMT+02:00 Beno?t Minisini : > Le 06/09/2014 20:29, Patrik Karlsson a ?crit : > > Hi, > > > > I got: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion > > 'g_utf8_validate (text, len, NULL)' failed > > when trying TextArea.Text=File.Load("iso8859-1.txt") > > > > So my TextArea stays empty. > > If the file contents is not UTF-8, it's up to you to convert it to UTF-8. > > TextArea.Text = Conv(File.Load("iso8859-1.txt"), "ISO-8859-1", "UTF-8") > > > > > I have found an old bug report regarding this tagged as wont fix. > > > > Since the file loads as expected in qt, is it future safe to use qt in my > > app, will it always work? > > > > Does qt support "every other" encoding too? > > Im asking since Im working on a gui for iconv. > > > > /Patrik > > It should not work in Qt either, unless it has some automatic conversion > inside, or it is more tolerant. > > Regards, > > -- > Beno?t Minisini > > "It should not work..." :) In that case I'll be using Conv(), thanks! /Patrik From pata.karlsson at ...626... Mon Sep 8 16:23:32 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Mon, 8 Sep 2014 16:23:32 +0200 Subject: [Gambas-user] Radio menu item Message-ID: I was looking for a way to have menu items behave like radio 'buttons' and the only thing I found was an old archive post from 2009. http://sourceforge.net/p/gambas/mailman/message/24068134/ Is it possible to have radio menu items now? /Patrik I guess I could make "Toggle" menu items behave like a radio group but I don't like that idea. From taboege at ...626... Mon Sep 8 16:47:50 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 8 Sep 2014 16:47:50 +0200 Subject: [Gambas-user] [Gambas-devel] Creating a Control In-Reply-To: <540DB59B.7000006@...3375...> References: <540C77D0.1010404@...3375...> <540D9494.8050305@...3375...> <20140908123445.GA889@...2774...> <540DB59B.7000006@...3375...> Message-ID: <20140908144750.GB889@...2774...> On Mon, 08 Sep 2014, John Leake wrote: > Hi Tobi, > > Thank you for the response. Please do not forget I am a complete newbie > to Gambas and just trying to get bye following the docs without > bothering anyone. > Yes, I lose focus of such information while writing. Sorry. > >> Start > >> ----- > >> 1) create a new project and set its project type to 'Graphical > >> application' and check the option 'Component programming'. > >> > > > > No, you are not programming a component here. A component is a shared > > library which you can plug into the interpreter to add functionality. > > You don't do that here (yet?), you're just experimenting in an ordinary > > project, not a component project. > > The docs say create a new project and mark its type as component. They > also say that component controls are just ordinary projects. > Yes, the link is actually about writing an own component (shared library) but it's also cited frequently as a resource of how to implement your own (graphical) control. Both topics are technically independent of one another, i.e. you don't need to create a component to add new controls to your project and new components don't always contain controls. But typically (?) they're used together. > What should I do instead of 1) ? > If you just want to experiment/exercise, then don't check the "Component programming" box. It's not a big deal if you do. The IDE will just behave a little differently and the project contains some more bits of meta data. You only need to check this box if you are a) exploring how to integrate your own component into other projects or b) seriously writing a useful component. > > It's very natural that it is not there: your MyToggleButton is a class in > > your first project. > > Again from a newbies perspective I have made a new component. Perhaps > it should be found by Gambas (at least as a locally created new > component) > Look at it from a developer's point of view: what would it take to collect all custom controls from projects the user might have? It would need to scan at least the entire home directory of the user (not all projects containing custom controls might have ever been opened by that IDE; you could have just downloaded them, e.g.). No sane program would do that on each startup. The Gambas IDE requires *you* to put your stuff into one of the (very) finite number of standard locations so that it can be found. One of those standard locations is the project's source code directory and /usr/lib/gambas3 for components. [ But note (again?): I don't really work with custom (not in the official source tree) components and libraries. I just don't create them because my projects are simple and heterogenous enough to be self-contained. Almost all my experience here is from reading the docs and occasional mails about it. I just answer because I'm afraid Benoit is too busy and so nobody else will respond. Maybe I should stop doing that so that others don't think you are already "being treated"? Or maybe you should write to gambas-user where the chances are higher that people with custom components/libraries listen. Ceterum censeo Carthaginem esse delendam ;-) ] > where my new projects can make use of it and also where it > can be combined with additional new local controls to create more > aggregated controls. > > One way of achieving this would be to have a publish function that > copies or moves the new code into the correct place for it to be picked > up along with all the existing/native controls. > Yes, this "publish" function is the "cp" program :-) Except there is no great global "pool" of classes when using "cp". If you miss an integrated function for this way of organisation, you are very welcome to implement it once you can imagine how to do it. > > cannot be found. Your custom controls are local to your project, so to say. > > How can I use my new local control an new projects ? > > > If you want to use it in other projects, you can > > - create a component, install it and plug it in (Project -> Properties -> > > Components), > > Sorry I cannot find instruction for this. > I think your next mail addresses this... > w.r.t. 5) From the docs "Each control must have an icon that will be > displayed > in the IDE control tool box.". > > Shouldn't the default be images from the original control ? > So you suppose that if there is no picture to symbolise a control, the parent class should be drawn. I would agree. But maybe this logic is just not integrated yet (I think it would require to extract files from other components). Let's (implicitely) ask Benoit. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Mon Sep 8 17:23:20 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 8 Sep 2014 17:23:20 +0200 Subject: [Gambas-user] Radio menu item In-Reply-To: References: Message-ID: <20140908152320.GC889@...2774...> On Mon, 08 Sep 2014, Patrik Karlsson wrote: > I was looking for a way to have menu items behave like radio 'buttons' and > the only thing I found was an old archive post from 2009. > http://sourceforge.net/p/gambas/mailman/message/24068134/ > > Is it possible to have radio menu items now? > > /Patrik > > I guess I could make "Toggle" menu items behave like a radio group but I > don't like that idea. Why not? How else would you signify to your user that it's not an ordinary menu? Do you know if the traditional look of RadioButtons is supported in menus in QT and GTK? Even Kate -- which is what comes to my mind when I think about monstrous menus -- has this CheckBox-like look for RadioButton- like menus (in the version which I use). Attached is a project that implements such RadioButton-like menus using a hack (because the IDE menu editor doesn't seem to be extensible enough to manage custom properties of the Menu class -- nobody would expect the IDE to be able to do that!): it uses the Tag field of the menus. You can make your Menu a Toggle = True one and set the Tag to a string like "Radio:". Then, whenever such a Menu is activated, all other menus of the same group (in the same window) are de-activated. It also overrides the native Menu class to integrate seemlessly and let you work with the IDE menu editor. If you can dismiss that, you can make the code cleaner, of course. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: RadioMenu-0.0.1.tar.gz Type: application/octet-stream Size: 4612 bytes Desc: not available URL: From gambas at ...2524... Mon Sep 8 17:44:34 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 08 Sep 2014 15:44:34 +0000 Subject: [Gambas-user] Issue 556 in gambas: IDE aborts [13] null object in class file when copying name of a static public variable Message-ID: <0-6813199134517018827-8418746497562254062-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 556 by michaeli... at ...626...: IDE aborts [13] null object in class file when copying name of a static public variable https://code.google.com/p/gambas/issues/detail?id=556 1) Describe the problem. The problem only occurs if you have already bee using the IDE for some time. Switch to editing a class file just containing Static Public variables as below. Double click to select one of the file names. Right click and select copy. The following message occurs. If you remember to use ctrl-c for the copy it does not occur. This application has raised an error and must abort [13] null object FEditor.CreateMenu.506 ' Gambas class file Static Public start_time As Float = 0 Static Public end_time As Float = 0 Static Public B4process_1_fileLoop As Float = 0 Static Public AfterProcess_1_fileLoop As Float = 0 Static Public B4process_2_fileLoop As Float = 0 Static Public AfterProcess_2_fileLoop As Float = 0 2) Give information about your system. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=MATE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From pata.karlsson at ...626... Mon Sep 8 20:38:33 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Mon, 8 Sep 2014 20:38:33 +0200 Subject: [Gambas-user] Radio menu item In-Reply-To: <20140908152320.GC889@...2774...> References: <20140908152320.GC889@...2774...> Message-ID: 2014-09-08 17:23 GMT+02:00 Tobias Boege : > > I guess I could make "Toggle" menu items behave like a radio group but > > don't like that idea. > > Why not? How else would you signify to your user that it's not an ordinary > menu? Well, toggle is ok, what I do not want for a radio menu item to have the visual style of an ordinary CheckBoxMenuItem. > Do you know if the traditional look of RadioButtons is supported in > menus in QT and GTK? Yes. I'm in Ubuntu now and the gnome-calculator and nautilus file manager has radio menu items looking as it should be. Attached is a project that implements such RadioButton-like menus using a > hack That's a really nice trick! Still, would it be possible to have real radio menu items? /Patrik From taboege at ...626... Mon Sep 8 22:28:04 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 8 Sep 2014 22:28:04 +0200 Subject: [Gambas-user] gb.db: NOT NULL fields? Message-ID: <20140908202804.GF889@...2774...> Hi, when creating a table in a database, I wonder if it's possible to have fields tagged as "NOT NULL" [0]. I don't know if it's there already or if it would be portable across other DMBS (just asking on behalf of another person). I would imagine a new optional argument to Table.Fields.Add()... Regards, Tobi [0] http://dev.mysql.com/doc/refman/5.1/en/create-table.html in MySQL. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Sep 8 22:34:12 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 08 Sep 2014 22:34:12 +0200 Subject: [Gambas-user] gb.db: NOT NULL fields? In-Reply-To: <20140908202804.GF889@...2774...> References: <20140908202804.GF889@...2774...> Message-ID: <540E12C4.5020808@...1...> Le 08/09/2014 22:28, Tobias Boege a ?crit : > Hi, > > when creating a table in a database, I wonder if it's possible to have > fields tagged as "NOT NULL" [0]. I don't know if it's there already or > if it would be portable across other DMBS (just asking on behalf of > another person). > > I would imagine a new optional argument to Table.Fields.Add()... > > Regards, > Tobi > > [0] http://dev.mysql.com/doc/refman/5.1/en/create-table.html in MySQL. > To have a "NOT NULL" field, you just have to give its default value when creating it. Regards, -- Beno?t Minisini From gambas at ...2524... Tue Sep 9 12:57:21 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 09 Sep 2014 10:57:21 +0000 Subject: [Gambas-user] Issue 257 in gambas: Database password retrieval error and abort in IDE In-Reply-To: <15-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> References: <15-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> <0-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Message-ID: <16-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Comment #16 on issue 257 by raulmm... at ...626...: Database password retrieval error and abort in IDE https://code.google.com/p/gambas/issues/detail?id=257 I have the same problem. I have migrated from Xubuntu to Linux Mint 17 KDE, but the problem persists. First, do not save passwords in XCFE knew. Out of bounds, he said. Then So, I tried KDE. I have kwallet disabled, and now the problem is that it does not handle well the sql user passwords. When I establish a connection, it seems to work, I have access to the tables and the data stored on them. But when I run the program, I get the hateful warning. gb.db: warning: unable to retrieve connection password: Dams / Connection1: Unknown symbol 'Passwords' in class 'Desktop' It is a problem Gambas? Or all desktops I've tried? Attachments: instant?nea2.png 22.3 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From abbat.81 at ...787... Tue Sep 9 14:07:44 2014 From: abbat.81 at ...787... (abbat81) Date: Tue, 9 Sep 2014 05:07:44 -0700 (MST) Subject: [Gambas-user] Gambas3 Text CodePage problem Message-ID: <1410264464734-48028.post@...3046...> Hi, I've just installed Gambas3 on a fresh Lubuntu 12.04.5. And I got a problem. It's Ukrainian language. How to fix It? -- View this message in context: http://gambas.8142.n7.nabble.com/Gambas3-Text-CodePage-problem-tp48028.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Tue Sep 9 14:15:05 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 9 Sep 2014 14:15:05 +0200 Subject: [Gambas-user] Gambas3 Text CodePage problem In-Reply-To: <1410264464734-48028.post@...3046...> References: <1410264464734-48028.post@...3046...> Message-ID: <20140909121505.GA994@...2774...> On Tue, 09 Sep 2014, abbat81 wrote: > Hi, > > I've just installed Gambas3 on a fresh Lubuntu 12.04.5. > > And I got a problem. > > It's Ukrainian language. > > How to fix It? > > > What does $ locale say? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Sep 9 14:23:50 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 09 Sep 2014 14:23:50 +0200 Subject: [Gambas-user] Gambas3 Text CodePage problem In-Reply-To: <1410264464734-48028.post@...3046...> References: <1410264464734-48028.post@...3046...> Message-ID: <540EF156.4050201@...1...> Le 09/09/2014 14:07, abbat81 a ?crit : > Hi, > > I've just installed Gambas3 on a fresh Lubuntu 12.04.5. > > And I got a problem. > > It's Ukrainian language. > > How to fix It? > > > > Everything is UTF-8, so the problem may be in the font you are using. -- Beno?t Minisini From abbat.81 at ...787... Tue Sep 9 14:23:27 2014 From: abbat.81 at ...787... (abbat81) Date: Tue, 9 Sep 2014 05:23:27 -0700 (MST) Subject: [Gambas-user] Gambas3 Text CodePage problem In-Reply-To: <20140909121505.GA994@...2774...> References: <1410264464734-48028.post@...3046...> <20140909121505.GA994@...2774...> Message-ID: <1410265407763-48030.post@...3046...> $locale LANG=uk_UA.UTF-8 LANGUAGE= LC_CTYPE="uk_UA.UTF-8" LC_NUMERIC="uk_UA.UTF-8" LC_TIME="uk_UA.UTF-8" LC_COLLATE="uk_UA.UTF-8" LC_MONETARY="uk_UA.UTF-8" LC_MESSAGES="uk_UA.UTF-8" LC_PAPER="uk_UA.UTF-8" LC_NAME="uk_UA.UTF-8" LC_ADDRESS="uk_UA.UTF-8" LC_TELEPHONE="uk_UA.UTF-8" LC_MEASUREMENT="uk_UA.UTF-8" LC_IDENTIFICATION="uk_UA.UTF-8" LC_ALL= Tobias Boege-2 wrote > On Tue, 09 Sep 2014, abbat81 wrote: >> Hi, >> >> I've just installed Gambas3 on a fresh Lubuntu 12.04.5. >> >> And I got a problem. >> >> It's Ukrainian language. >> >> How to fix It? >> >> <http://gambas.8142.n7.nabble.com/file/n48028/2014-09-09-150043_1280x1024_scrot.png> >> > > What does > > $ locale > > say? > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at ...3286... > https://lists.sourceforge.net/lists/listinfo/gambas-user -- View this message in context: http://gambas.8142.n7.nabble.com/Gambas3-Text-CodePage-problem-tp48028p48030.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Sep 9 14:24:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 09 Sep 2014 14:24:51 +0200 Subject: [Gambas-user] Gambas3 Text CodePage problem In-Reply-To: <540EF156.4050201@...1...> References: <1410264464734-48028.post@...3046...> <540EF156.4050201@...1...> Message-ID: <540EF193.9010501@...1...> Le 09/09/2014 14:23, Beno?t Minisini a ?crit : > Le 09/09/2014 14:07, abbat81 a ?crit : >> Hi, >> >> I've just installed Gambas3 on a fresh Lubuntu 12.04.5. >> >> And I got a problem. >> >> It's Ukrainian language. >> >> How to fix It? >> >> >> >> >> > > Everything is UTF-8, so the problem may be in the font you are using. > If it is not the font, just send your project so that I can look at it. -- Beno?t Minisini From gambas.fr at ...626... Tue Sep 9 14:46:58 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 9 Sep 2014 14:46:58 +0200 Subject: [Gambas-user] Groups in Report In-Reply-To: References: <540D97EF.2050307@...626...> Message-ID: Hi roki, actually you eed to do it manually by making a procedure that generate the recurssive part for each group elements. I need absolutly find a way to correct the automatic indexation bug... 2014-09-08 14:19 GMT+02:00 Julio Sanchez : > Roki: > > Hi, create a class that is able to make reports easily with the report > component. > You can see forum-es.org prawns (that's Spanish), but it is very easy to > use. > > http://www.gambas-es.org/viewtopic.php?f=5&t=3711&highlight=generador > > > Greetings > > Julio > > > > 2014-09-08 13:50 GMT+02:00 Roki : > >> Ok guys! I have a question about creating a group in gb.report. >> I want to show data for the vehicles, which I took from a database and >> grouped according to their type. >> For example : >> ----- Cars >> --- Licence plate | Make | Model | sm3 | kW >> --- ST-5555AB | Mercedes | C220 | 1989 | 88 >> and so on... >> ----- Truck >> --- ST-1111AC | IVECO | 240L | 4500 | 102 >> and so on... >> >> I successfully created a report with the data, but stuck with creating >> groups. >> Is there any small example, which will help ??? >> >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce >> Perforce version control. Predictably reliable. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Tue Sep 9 15:03:59 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 9 Sep 2014 15:03:59 +0200 Subject: [Gambas-user] Gambas3 Text CodePage problem In-Reply-To: <1410265407763-48030.post@...3046...> References: <1410264464734-48028.post@...3046...> <20140909121505.GA994@...2774...> <1410265407763-48030.post@...3046...> Message-ID: <20140909130359.GC994@...2774...> On Tue, 09 Sep 2014, abbat81 wrote: > $locale > LANG=uk_UA.UTF-8 > LANGUAGE= > LC_CTYPE="uk_UA.UTF-8" > LC_NUMERIC="uk_UA.UTF-8" > LC_TIME="uk_UA.UTF-8" > LC_COLLATE="uk_UA.UTF-8" > LC_MONETARY="uk_UA.UTF-8" > LC_MESSAGES="uk_UA.UTF-8" > LC_PAPER="uk_UA.UTF-8" > LC_NAME="uk_UA.UTF-8" > LC_ADDRESS="uk_UA.UTF-8" > LC_TELEPHONE="uk_UA.UTF-8" > LC_MEASUREMENT="uk_UA.UTF-8" > LC_IDENTIFICATION="uk_UA.UTF-8" > LC_ALL= These settings tell the IDE that you want Ukrainian messages. I don't know if /etc/locale.conf is the right place to configure your locale on your system but maybe you should look for it. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Sep 9 23:15:19 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 9 Sep 2014 23:15:19 +0200 Subject: [Gambas-user] [Gambas-devel] Creating a Control In-Reply-To: <540F0C45.6070903@...3375...> References: <540E204D.9090701@...3375...> <540EC829.20605@...3375...> <540ECF96.7010905@...3375...> <540ED2F0.2050204@...3375...> <1410264437.3654.5.camel@...40...> <540F0C45.6070903@...3375...> Message-ID: <20140909211519.GI994@...2774...> On Tue, 09 Sep 2014, John Leake wrote: > So to elaborate: If a user wishes to create a new type of control then > it is highly likely that the control will be based on existing controls. > So as an example, if the new control contains a ToggleButton and the > way that ToggleButton is used in the new control is no different from > the original stock ToggleButton then the user should not be required to > write any code to implement the ToggleButton. > I can't imagine what you are trying to do. It sounds like you want to take a class A and derive another class A' from it -- but so that A = A' ("=" means equality of code). The way to go here would be: just use A. No coding effort needed then. (See, optimising this task seems pointless because nobody ever does it.) BUT, what you *may* want to do is to compose a new control out of existing ones, one of which is of class A. This we would call (at least I do it) a "compound control". (If that's not your goal you might still want to remember this for later.) You can't do that without some coding because most likely you write such a thing for a purpose (so that it does something special, which, in turn, you must code) -- but it's a task that is actually kinda fun (!) in Gambas. There is a small compound control of mine which I could rip out of its project for you to see: it is a smaller version of the ColorChooser from gb.form with discrete colour steps. (I needed a dialog-less, visual and not-so-fine-grained way to pick some colours out of little space on a Form, so the MinimalColorChooser was born.) The general strategy to create a compound control whose name shall be A, is the following: 1. Create a form named F##A (you know the C preprocessor's token paste operator, right?), 2. Arrange the controls you want A to be made of on the form (the good thing is that you can design this by using the IDE's Form editor), 3. Wire the controls' actions together in the Form's class file, 4. Create properties, methods and events for your purpose in F##A, 5. Create your actual class A which is Export'd and Inherits UserControl. You create an instance of F##A on yourself in the constructor of that class (since you inherit UserControl, you can create controls on your own surface and a Form can be created as a container on a window, too, not only as a top-level window), 6. Expose the needed parts of F##A's interface to public through the interface of your exported class A, 7. Do the IDE integration stuff, i.e. draw an icon and set the public constants which govern IDE integration, in A. That's at least what I do and just did to create the attached project. The relevant parts are in the directory MinimalColorChooser. I think it's normal if it takes you a while to get to grips with it as I consider custom control creation an advanced topic. But it's beautiful to do with Gambas. If you have any questions, don't hesitate! [ You *will* also want to explore the automatic layouting capabilities of Gambas, if you don't already have experience with it from other languages. You will see that the FMain in my project is full of containers like HBox and VBox. These arrange their children in special ways. The key properties to look at here are: Arrangement, Expand, Margin, Spacing and sometimes AutoResize. Take a weekend or so off (judging from my own experience) to experiment with these and how a wrong setting can mess up everything :-) To get motivated: arrange some controls on a Form, run your project and resize the Form -- not very pretty. Now resize the window in my project. ] > If this idea is extrapolated to its simplest form then a user should be > able to create a new ToggleButton by informing the IDE that this is a > new control and that the control is based on the stock ToggleButton and > that is all that needs to be done. After all what is the point of > inheritance if you have to add code just to get back the functionality > that was already there in the first place. Note that you are talking about IDE integration here (right?). You can write --8<--[ MyToggleButton.class ]---------------------------------------------- ' Gambas class file Inherits ToggleButton --8<------------------------------------------------------------------------ and the interpreter will be happy and everything will be there. Integrating a control into the IDE requires some more things. I don't see yet why it is so important to make it require even less effort. Maybe you've got real world experience here [ heck, you've worked longer as a developer than I am alive :-) ], but I deem custom controls to be a thing which newbies should stay away from. Regards, Tobi PS: I insist on keeping gambas-user CC'd :-P -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: MinimalColorChooser-0.0.1.tar.gz Type: application/octet-stream Size: 6345 bytes Desc: not available URL: From gambas at ...2524... Wed Sep 10 00:02:04 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 09 Sep 2014 22:02:04 +0000 Subject: [Gambas-user] Issue 556 in gambas: IDE aborts [13] null object in class file when copying name of a static public variable In-Reply-To: <0-6813199134517018827-8418746497562254062-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8418746497562254062-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8418746497562254062-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-3.5.0 Comment #1 on issue 556 by benoit.m... at ...626...: IDE aborts [13] null object in class file when copying name of a static public variable https://code.google.com/p/gambas/issues/detail?id=556 Please post your full project, otherwise I can't debug! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Wed Sep 10 04:50:57 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 10 Sep 2014 12:20:57 +0930 Subject: [Gambas-user] The new IDE opening screen Message-ID: <20140910122057.3d132762b4192a02ead3eeb5@...2308...> Simple question: What does the search function actually search? Obviously by project name but what else? I would have thought it also searched the project description but I am getting results that don't match that expectation. tia -- B Bruen From gambas at ...2524... Wed Sep 10 10:13:26 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 08:13:26 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow Message-ID: <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.5.0 Type-Crash Priority-High Dist-Ubuntu Usability Desktop-KDE GUI-Any New issue 557 by lukadisa... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 Hi, I have installed gambas3 on my kubuntu with gambas repository but when I launch gamabs3 I receive stack overflow error (screen shot 1.png). I also try to set unlimited memory to stack on my system (with command ulimit -s unlimited) but I continue tu receive the same error. I try to compile gambas3 but I receive the same error. I try to launch gambas3 from root and it start. Can you help me?? Attachments: 1.png 26.1 KB 2.png 25.9 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Wed Sep 10 13:25:30 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 10 Sep 2014 13:25:30 +0200 Subject: [Gambas-user] [Gambas-devel] Creating a Control In-Reply-To: <54101CD4.5090403@...3375...> References: <540EC829.20605@...3375...> <540ECF96.7010905@...3375...> <540ED2F0.2050204@...3375...> <1410264437.3654.5.camel@...40...> <540F0C45.6070903@...3375...> <20140909211519.GI994@...2774...> <54101CD4.5090403@...3375...> Message-ID: <20140910112530.GB1118@...2774...> On Wed, 10 Sep 2014, John Leake wrote: > Hi Tobias, > > Thank you for your response. > > I am simply trying to improve the user experience while I can still see > things from a newbies perspective. > > Not all users find writing code fun. Many have a problem to solve or > wish to make boring or time consuming actions less so. > > Surely the Gambas community want to expand their user base ! > Yes! OK, I'll stop arguing about it. It's a noble objective and we can discuss things when there is an actual manifestation of it. > [ big 8< ] > > Note that you are talking about IDE integration here (right?). You can write > > > > --8<--[ MyToggleButton.class ]---------------------------------------------- > > ' Gambas class file > > > > Inherits ToggleButton > > --8<------------------------------------------------------------------------ > > > > and the interpreter will be happy and everything will be there. Integrating > > May be the documentation should reflect that. > > > I don't see yet why it is > > so important to make it require even less effort. Maybe you've got real > > world experience here [ heck, you've worked longer as a developer than I am > > > alive :-) ], but I deem custom controls to be a thing which newbies should > > stay away from. > > Should they be excluded by technical jargon or have to read reams of > documentation and learn strange (to them) concepts ? > Maybe we hit a mentality border here. Gambas was my first programming language and I taught the basics myself in a few months (by looking at the examples only and spending way too much time at the computer; I didn't know what forums and mailing lists _were_ back then). I believe a newbie should take time to explore things themselves and make lots of errors. The frustration one experiences helps to remember important points ;-) -- that's at least what served me well enough and I always found the fruits to be rewarding. With time comes a good understanding of how the Gambas system "thinks" about your code and you can understand more advanced topics with great ease. I have programmed quite some time in Gambas without knowing about custom controls. But when I first needed to make one, I just did it. With the experience I had, it fell into shape naturally. As a Mathematics student, I like the analogy to... Mathematics: if you're a normal person, you _need_ to go through vast amounts of exercises to get a feeling for your objects and ideas. So technically, yes, I want people to work hard and know Gambas before they go to custom controls because if they do, they are probably already fit enough to do it by themselves. You must understand: That's the way I went and since I'm content with it, my reflex is to try to impose it on others. But OTOH, I realise that not everyone likes to go through this process -- let alone have time to do so -- just to learn a programming language so your attempts are very appreciated. Whatever helps people, right? > > PS: I insist on keeping gambas-user CC'd :-P > > Sorry what is this ? > I already talked about it. It's a mailing list dedicated to questions about programming *in* Gambas. Things like how to integrate controls into the IDE, make custom controls, feature requests and everything that has to do with writing code in Gambas, as opposed to gambas-devel (which we're currently at) which is for questions related to contributions/internals and programming *for* Gambas (mostly in C/C++). I keep CC'ing them because I think this discussion is relevant to that list mostly. Also the people there are _the_ users of the IDE and may have opinions/suggestions. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Sep 10 14:36:06 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 10 Sep 2014 14:36:06 +0200 Subject: [Gambas-user] The new IDE opening screen In-Reply-To: <20140910122057.3d132762b4192a02ead3eeb5@...2308...> References: <20140910122057.3d132762b4192a02ead3eeb5@...2308...> Message-ID: <541045B6.2020301@...1...> Le 10/09/2014 04:50, B Bruen a ?crit : > Simple question: What does the search function actually search? Obviously by project name but what else? > I would have thought it also searched the project description but I am getting results that don't match that expectation. > > tia > You're right. It seraches in the project name, title, authors... but not in the project description! A miss. I will add that. -- Beno?t Minisini From gambas at ...2524... Wed Sep 10 14:39:17 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 12:39:17 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Type-Crash -Priority-High Type-Bug Priority-Medium Comment #1 on issue 557 by benoit.m... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 You must give all the requested information about your system, and tell how exactly you installed Gambas. Otherwise nobody can help you! P.S. You should better use the mailing-list for installation problems like that. The bug tracker is mainly for bug in the language itself. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Wed Sep 10 16:01:25 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 10 Sep 2014 16:01:25 +0200 Subject: [Gambas-user] Question about .project ExecPath and .settings [Executable]/Path Message-ID: <1410357685.6336.13.camel@...40...> Salut Beno?t, first I thought it only concerns projects where type=Library, but now I think you changed that everywhere. The .project ExecPath moved to .settings [Executable]/Path, right? I ask you, because I didn't find anything about in svn commit logs. -- Amicalement Charlie From gambas at ...2524... Wed Sep 10 16:40:32 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 14:40:32 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <1-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #2 on issue 557 by lukadisanto: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 My system is kubuntu 14.04 64bit. My kernel is 3.13.0-35-generic My kde version is 4.13.3 My copumputer have 8 gb ddr3 ram and my cpu have 8 cores 2.2GHz. I have installed a 250GB ssd. Now I have reinstalled gambas using ppa:gambas-team/gambas3 (sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update sudo apt-get install gambas3) What others informations do you need? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 17:01:00 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 15:01:00 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <2-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #3 on issue 557 by benoit.m... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 In the IDE, "?" menu, and then "system information". It will give you all what I need. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 17:41:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 15:41:37 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <3-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #4 on issue 557 by jussi.la... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 I don't think the IDE work in this situation..? What is your desktop theme? Can you try to change it and see whether it changes the situation? What is your Qt (libQtcore4) version? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 17:46:36 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 15:46:36 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <4-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #5 on issue 557 by benoit.m... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 Indeed, sorry! :-) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 17:54:02 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 15:54:02 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <5-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #6 on issue 557 by lukadisanto: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 my libqtcore4 version is 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 (aptitude show libqtcore4) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 18:17:09 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 16:17:09 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <6-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #7 on issue 557 by jussi.la... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 Theme information is still missing. Stock class is for icons etc, so that is important. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 18:24:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 16:24:44 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <7-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #8 on issue 557 by lukadisanto: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 If i change icon theme gambas work!!! thank you!!! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 18:39:35 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 16:39:35 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <8-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #9 on issue 557 by jussi.la... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 OK, but Gambas should not crash with any theme... Please can you tell what was the theme that caused this? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 18:49:38 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 16:49:38 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <9-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #10 on issue 557 by lukadisanto: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 Yes, the theme is FaenzaFlattr. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 18:51:49 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 16:51:49 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <10-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #11 on issue 557 by lukadisanto: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 http://kde-look.org/content/show.php/FaenzaFlattr?content=164770 (icon link) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 19:22:54 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 17:22:54 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #12 on issue 557 by benoit.m... at ...626...: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 It may be fixed in revision #6465. Please tell me if a few days when the gambas-team ppa is updated. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 10 20:39:01 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 10 Sep 2014 18:39:01 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #13 on issue 557 by lukadisanto: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 Ok, i will tell you. Thank you -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Sep 11 17:44:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 11 Sep 2014 15:44:12 +0000 Subject: [Gambas-user] Issue 558 in gambas: Gambas is missing a Radio Menu Item Message-ID: <0-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 558 by pata.kar... at ...626...: Gambas is missing a Radio Menu Item https://code.google.com/p/gambas/issues/detail?id=558 1) Gambas is missing a Radio Menu Item. It's a common UI element and it's bad design letting a checkbox indicate a "radio item". -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Thu Sep 11 19:57:59 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 11 Sep 2014 19:57:59 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser Message-ID: <20140911175758.GJ1564@...2774...> Hi, attached is a project which shows odd behaviour. At first glance, the source code seems OK to me, so it might be a bug. It needs: - MySQL running, a user named "test" without password but with the ability to create a database.table "Kontakte.kontakte". To reproduce: - (If you start the application without the above-mentioned table, it will automatically be created and filled with sample data.) - Select a record, - Go to the DataControl for the "Vorname" field and delete its contents, - Click anywhere into the DataBrowser, - Application hangs. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: KontakteMySQL-0.1.24.tar.gz Type: application/octet-stream Size: 10973 bytes Desc: not available URL: From t.lee.davidson at ...626... Thu Sep 11 22:36:59 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 11 Sep 2014 16:36:59 -0400 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <20140911175758.GJ1564@...2774...> References: <20140911175758.GJ1564@...2774...> Message-ID: <541207EB.2060001@...626...> I get the same behavior: application hangs (with mysqld taking about 20-40% of CPU and gbx3 taking about 7-16%). Upon relaunch of the app, the db table does indeed appear to have been updated. On 09/11/2014 01:57 PM, Tobias Boege wrote: > Hi, > > attached is a project which shows odd behaviour. At first glance, the source > code seems OK to me, so it might be a bug. > > It needs: > - MySQL running, a user named "test" without password but with the ability > to create a database.table "Kontakte.kontakte". > > To reproduce: > - (If you start the application without the above-mentioned table, it will > automatically be created and filled with sample data.) > - Select a record, > - Go to the DataControl for the "Vorname" field and delete its contents, > - Click anywhere into the DataBrowser, > - Application hangs. > > Regards, > Tobi > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Sep 11 22:36:41 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 11 Sep 2014 22:36:41 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <541207EB.2060001@...626...> References: <20140911175758.GJ1564@...2774...> <541207EB.2060001@...626...> Message-ID: <20140911203641.GL1564@...2774...> On Thu, 11 Sep 2014, T Lee Davidson wrote: > I get the same behavior: application hangs (with mysqld taking about > 20-40% of CPU and gbx3 taking about 7-16%). > > Upon relaunch of the app, the db table does indeed appear to have been > updated. > Right. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From johny.provoost at ...27... Thu Sep 11 23:23:58 2014 From: johny.provoost at ...27... (Johny Provoost) Date: Thu, 11 Sep 2014 23:23:58 +0200 Subject: [Gambas-user] error on gb.report.clear Message-ID: <541212EE.10205@...27...> Does anyone knows why I get an error [unknown symbol '_Free' in class 'Reportsection'] when i use .clear (ex. labels.clear) in a report? Everything else in the report works, the only thing is that I must close the program before print a new report, otherwise I get the same text in the report over and over again. I thought that report.clear should help this, but then I get an error. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-35-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=nl_BE.UTF-8 Memory=2945M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Kind Regards, Johny From chrisml at ...3340... Fri Sep 12 00:02:21 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 12 Sep 2014 00:02:21 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <20140911175758.GJ1564@...2774...> (sfid-) References: <20140911175758.GJ1564@...2774...> (sfid-) Message-ID: <54121BED.3060008@...3340...> Hi Tobi, Am 11.09.2014 um 19:57 schrieb Tobias Boege: > attached is a project which shows odd behaviour. At first glance, the source > code seems OK to me, so it might be a bug. > > It needs: > - MySQL running, a user named "test" without password but with the ability > to create a database.table "Kontakte.kontakte". > > To reproduce: > - (If you start the application without the above-mentioned table, it will > automatically be created and filled with sample data.) > - Select a record, > - Go to the DataControl for the "Vorname" field and delete its contents, > - Click anywhere into the DataBrowser, > - Application hangs. By a look at "create_table.sql" I see you have not so much sense of databases ;-) 1st: Use backticks in column names only if you want to name with "reserved words" like "if", "select" or names with commas or blancs. A name for a column like "nachname" needs no backticks. 2nd: ("ACHTUNG ... ") Primary key is unique per table. To use "Nachname" as PK prevents you from inserting "Schmidt" more than one time in a table. Usually one uses a column with long integer for PK as a unique number per tuple (datensatz). That means a unique number for example per customer or invoice. Now to the code: sSQL_Anweisung = "INSERT INTO `kontakte` VALUES " sSQL_Anweisung &= "('1','Arno','Adler','Arneburg','39606','Am Hafen 3','03937864322')," ... could be eventually dangerous. You should define the columns where you want to insert your data: "insert into kontakte (id, vorname, ...) values (1, 'Tobias', ...) (2, 'Albert', ...)" etc. Ok, I do not use DataBrowser, so I do not know how it works and why MySQL hangs. Normally a database "hang" is a deadlock. This means two connections try to write the same tuple at the same time. You could see this by increasing verbosity of the database logging and watching the database logfiles with tail -f ... It seems that you use 2 connections at the same time in your application that want to write the same tuple (or table, MyISAM engine does table level locking IMHO). BTW: Table locking is bad (only makes sense for single user). Good database engines do only row or even column locking for write (or delete). Remove that code that creates a table from the connect function (that is really bad). Use one connection which you create in a module (not class), so you get a singleton and do writing over this one connection one after the other. Then you get no deadlocks. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Fri Sep 12 00:28:15 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 12 Sep 2014 00:28:15 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <54121BED.3060008@...3340...> (sfid-) References: <20140911175758.GJ1564@...2774...> (sfid-) <54121BED.3060008@...3340...> (sfid-) Message-ID: <541221FF.2000000@...3340...> Hi Tobi, I wrote: > Use one connection which you create in a module (not > class) Now I saw, you use a module. That's ok. But I am quite sure you create a deadlock. But I'm too tired to test it now. https://de.wikipedia.org/wiki/Deadlock_%28Informatik%29 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From taboege at ...626... Fri Sep 12 00:34:28 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 12 Sep 2014 00:34:28 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <54121BED.3060008@...3340...> References: <20140911175758.GJ1564@...2774...> <54121BED.3060008@...3340...> Message-ID: <20140911223428.GM1564@...2774...> On Fri, 12 Sep 2014, Christof Thalhofer wrote: > Hi Tobi, > > Am 11.09.2014 um 19:57 schrieb Tobias Boege: > > > attached is a project which shows odd behaviour. At first glance, the source > > code seems OK to me, so it might be a bug. > > > > It needs: > > - MySQL running, a user named "test" without password but with the ability > > to create a database.table "Kontakte.kontakte". > > > > To reproduce: > > - (If you start the application without the above-mentioned table, it will > > automatically be created and filled with sample data.) > > - Select a record, > > - Go to the DataControl for the "Vorname" field and delete its contents, > > - Click anywhere into the DataBrowser, > > - Application hangs. > > By a look at "create_table.sql" I see you have not so much sense of > databases ;-) > This is not my code. I'm just forwarding a bug report to the list. > 1st: Use backticks in column names only if you want to name with > "reserved words" like "if", "select" or names with commas or blancs. A > name for a column like "nachname" needs no backticks. > > 2nd: ("ACHTUNG ... ") Primary key is unique per table. To use "Nachname" > as PK prevents you from inserting "Schmidt" more than one time in a > table. Usually one uses a column with long integer for PK as a unique > number per tuple (datensatz). That means a unique number for example per > customer or invoice. > > Now to the code: > > sSQL_Anweisung = "INSERT INTO `kontakte` VALUES " > sSQL_Anweisung &= "('1','Arno','Adler','Arneburg','39606','Am Hafen > 3','03937864322')," > ... > > could be eventually dangerous. You should define the columns where you > want to insert your data: > > "insert into kontakte (id, vorname, ...) values (1, 'Tobias', ...) (2, > 'Albert', ...)" > > etc. > That's how I learned it in school, too. And guess what: the material I learned it from was from the same person which did it wrong here :-) > Ok, I do not use DataBrowser, so I do not know how it works and why > MySQL hangs. Normally a database "hang" is a deadlock. This means two > connections try to write the same tuple at the same time. > > You could see this by increasing verbosity of the database logging and > watching the database logfiles with tail -f ... > > It seems that you use 2 connections at the same time in your application > that want to write the same tuple (or table, MyISAM engine does table > level locking IMHO). > Umm, I don't think there are two Connections involved here... Where do you see that? > BTW: Table locking is bad (only makes sense for single user). Good > database engines do only row or even column locking for write (or delete). > > Remove that code that creates a table from the connect function (that is > really bad). > This piece of code there I recognise. It's from the PictureDatabase example delivered with Gambas. So you suggest keeping table creation somewhere else? Rumour has it that you want to contribute to Gambas, so changing the PictureDatabase example to be less "bad" would be a good start! > Use one connection which you create in a module (not > class), so you get a singleton and do writing over this one connection > one after the other. > > Then you get no deadlocks. > Have you tested that? Do you have a patch for the project? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Sep 12 00:45:05 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 12 Sep 2014 00:45:05 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <20140911175758.GJ1564@...2774...> References: <20140911175758.GJ1564@...2774...> Message-ID: <541225F1.1090808@...1...> Le 11/09/2014 19:57, Tobias Boege a ?crit : > Hi, > > attached is a project which shows odd behaviour. At first glance, the source > code seems OK to me, so it might be a bug. > > It needs: > - MySQL running, a user named "test" without password but with the ability > to create a database.table "Kontakte.kontakte". > > To reproduce: > - (If you start the application without the above-mentioned table, it will > automatically be created and filled with sample data.) > - Select a record, > - Go to the DataControl for the "Vorname" field and delete its contents, > - Click anywhere into the DataBrowser, > - Application hangs. > > Regards, > Tobi > I confirm that there is an infinite recursion somewhere. Now I'm trying to find it... Regards, -- Beno?t Minisini From gambas at ...1... Fri Sep 12 02:46:14 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 12 Sep 2014 02:46:14 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <541225F1.1090808@...1...> References: <20140911175758.GJ1564@...2774...> <541225F1.1090808@...1...> Message-ID: <54124256.5080901@...1...> Le 12/09/2014 00:45, Beno?t Minisini a ?crit : > Le 11/09/2014 19:57, Tobias Boege a ?crit : >> Hi, >> >> attached is a project which shows odd behaviour. At first glance, the >> source >> code seems OK to me, so it might be a bug. >> >> It needs: >> - MySQL running, a user named "test" without password but with the >> ability >> to create a database.table "Kontakte.kontakte". >> >> To reproduce: >> - (If you start the application without the above-mentioned table, >> it will >> automatically be created and filled with sample data.) >> - Select a record, >> - Go to the DataControl for the "Vorname" field and delete its >> contents, >> - Click anywhere into the DataBrowser, >> - Application hangs. >> >> Regards, >> Tobi >> > > I confirm that there is an infinite recursion somewhere. > > Now I'm trying to find it... > > Regards, > It should be fixed in revision #6467. But you made a mistake by wanting an editable DataView on a read-only DataSource. It couldn't work. I fixed that by making DataView and DataControl read-only if their DataSource is read-only too. Regards, -- Beno?t Minisini From chrisml at ...3340... Fri Sep 12 08:47:29 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 12 Sep 2014 08:47:29 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <20140911223428.GM1564@...2774...> (sfid-) References: <20140911175758.GJ1564@...2774...> <54121BED.3060008@...3340...> <20140911223428.GM1564@...2774...> (sfid-) Message-ID: <54129701.9030500@...3340...> Hi Tobi, Am 12.09.2014 um 00:34 schrieb Tobias Boege: >> By a look at "create_table.sql" I see you have not so much sense of >> databases ;-) > > This is not my code. I'm just forwarding a bug report to the list. Ok :) Sorry for that ... >> could be eventually dangerous. You should define the columns where you >> want to insert your data: >> >> "insert into kontakte (id, vorname, ...) values (1, 'Tobias', ...) (2, >> 'Albert', ...)" >> >> etc. >> > That's how I learned it in school, too. And guess what: the material I > learned it from was from the same person which did it wrong here :-) :-) Not every teacher is a good db programmer. It's better to name the columns you want to access, because not always you use all columns and later on you can change the order of columns in a table without breaking your previously written program, as long as you do not remove columns. >> It seems that you use 2 connections at the same time in your application >> that want to write the same tuple (or table, MyISAM engine does table >> level locking IMHO). > > Umm, I don't think there are two Connections involved here... Where do you > see that? I did not test it. I see this by the symptoms. Your application and the database create load but do nothing. I guess, they talk to each other and say: App: Write Data please DB: No, forbidden, table is locked, try later ... App: Write Data please DB: No, forbidden, table is locked, try later ... ... And because there is nobody else writing on the same table except your app, there must be the error. >> Remove that code that creates a table from the connect function (that is >> really bad). > > This piece of code there I recognise. It's from the PictureDatabase example > delivered with Gambas. So you suggest keeping table creation somewhere else? Yes, the function establishes one time the connection to db and this functionality is normally used ever and ever in a database frontend program. Why should it contain the functionality to create tables? > Rumour has it that you want to contribute to Gambas, so changing the > PictureDatabase example to be less "bad" would be a good start! Grmbl. > Have you tested that? Do you have a patch for the project? No. I don't even know how to create a patch for Gambas. Where is the example you are talking about? ... Ah ok, now I see it. But that works. The db connection code is not very well designed (mixes functionality), but ok ... Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From taboege at ...626... Fri Sep 12 10:52:00 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 12 Sep 2014 10:52:00 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <54129701.9030500@...3340...> References: <20140911175758.GJ1564@...2774...> <54121BED.3060008@...3340...> <20140911223428.GM1564@...2774...> <54129701.9030500@...3340...> Message-ID: <20140912085200.GA976@...2774...> On Fri, 12 Sep 2014, Christof Thalhofer wrote: > > This piece of code there I recognise. It's from the PictureDatabase example > > delivered with Gambas. So you suggest keeping table creation somewhere else? > > Yes, the function establishes one time the connection to db and this > functionality is normally used ever and ever in a database frontend > program. Why should it contain the functionality to create tables? > > > Rumour has it that you want to contribute to Gambas, so changing the > > PictureDatabase example to be less "bad" would be a good start! > > Grmbl. > If you have time, of course! Or do what you want. It was just a quick idea. > > Have you tested that? Do you have a patch for the project? > > No. I don't even know how to create a patch for Gambas. > Not for Gambas. For my Gambas project only. This is pretty easy *slap on my back*. You have a source archive of the old project, right? Then you uncompress it and change the project. In the IDE menu: Project -> Patch -> Create, a wizard will guide you through the creation of a patch for a Gambas project. The result is what you changed in the currently opened project from the source archive you select in the wizard. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Sep 12 13:54:57 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 12 Sep 2014 13:54:57 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <54124256.5080901@...1...> References: <20140911175758.GJ1564@...2774...> <541225F1.1090808@...1...> <54124256.5080901@...1...> Message-ID: <20140912115457.GB976@...2774...> On Fri, 12 Sep 2014, Beno?t Minisini wrote: > Le 12/09/2014 00:45, Beno?t Minisini a ?crit : > > Le 11/09/2014 19:57, Tobias Boege a ?crit : > >> Hi, > >> > >> attached is a project which shows odd behaviour. At first glance, the > >> source > >> code seems OK to me, so it might be a bug. > >> > >> It needs: > >> - MySQL running, a user named "test" without password but with the > >> ability > >> to create a database.table "Kontakte.kontakte". > >> > >> To reproduce: > >> - (If you start the application without the above-mentioned table, > >> it will > >> automatically be created and filled with sample data.) > >> - Select a record, > >> - Go to the DataControl for the "Vorname" field and delete its > >> contents, > >> - Click anywhere into the DataBrowser, > >> - Application hangs. > >> > >> Regards, > >> Tobi > >> > > > > I confirm that there is an infinite recursion somewhere. > > > > Now I'm trying to find it... > > > > Regards, > > > > It should be fixed in revision #6467. > Yep. > But you made a mistake by wanting an editable DataView on a read-only > DataSource. It couldn't work. I fixed that by making DataView and > DataControl read-only if their DataSource is read-only too. > That was the second thing on my list. Thanks! :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Fri Sep 12 20:21:37 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 12 Sep 2014 20:21:37 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <20140912085200.GA976@...2774...> (sfid-) References: <20140911175758.GJ1564@...2774...> <54121BED.3060008@...3340...> <20140911223428.GM1564@...2774...> <54129701.9030500@...3340...> <20140912085200.GA976@...2774...> (sfid-) Message-ID: <541339B1.4070206@...3340...> Hi, Am 12.09.2014 um 10:52 schrieb Tobias Boege: >> Grmbl. > > If you have time, of course! Or do what you want. It was just a quick idea. :-) Had a nice afternoon updating some machines / waiting for the next question / programming your thing. >>> Have you tested that? Do you have a patch for the project? >> >> No. I don't even know how to create a patch for Gambas. > > Not for Gambas. For my Gambas project only. This is pretty easy *slap on > my back*. You have a source archive of the old project, right? Then you > uncompress it and change the project. In the IDE menu: Project -> Patch > -> Create, a wizard will guide you through the creation of a patch for a > Gambas project. The result is what you changed in the currently opened > project from the source archive you select in the wizard. Ok, the patch is attached. It works on my Mysql-server (but also there are some hangs, maybe that was, what Benoit fixed). I did a module which contains the connection to db together with the credentials. One could fetch them from Settings there. If you have a look at the connection, you will see, it is not closed als long as the app lives. It is persistant and u can reuse it in different places of your app. I personally always work with results, that are defined in the functions, and fill the controls with the data of the results which are queried via this one connection. This one persistant connection (per DB) ensures, that you will not do something ugly where two parts of your application fiddle with the same data via different connections. This is especially important, when your app grows ... I did and do not like the code, that creates the database, it injects unneccessary complexity. Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: KontakteMySQL-0.1.25.patch Type: text/x-patch Size: 11704 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From epost at ...3323... Fri Sep 12 23:19:33 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Fri, 12 Sep 2014 23:19:33 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <54136365.4030909@...3323...> Hello Beno?t! If I drop a TrayIcon on my FMain and set Visible = True, there's an error saying: "Unable to find system tray". [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.15.10-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE4 Theme=QtCurve Language=nb_NO.UTF-8 Memory=9902M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.401.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.24 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From willy at ...2734... Sat Sep 13 00:51:09 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 13 Sep 2014 00:51:09 +0200 Subject: [Gambas-user] CTRL+A (select all) bug Message-ID: <1410562269.7253.9.camel@...3024...> Hi, Select all, using CTRL+A in IDE results in the last line NOT being selected. Selection ends at the beginning of the last line. How to reproduce: Make sure that in the code editor (or on a text file contained in the project data folder) the last line is NOT an empty line. Do CTRL+A and see that selection ends at the beginning of the last line instead of at the end. So all but last line is selected. See attached screenshot [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.2.0-68-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=QGtk Language=en_GB.UTF-8 Memory=2446M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org -------------- next part -------------- A non-text attachment was scrubbed... Name: SelectAllBug.png Type: image/png Size: 102960 bytes Desc: not available URL: From shanep1967 at ...169... Sat Sep 13 02:53:19 2014 From: shanep1967 at ...169... (Shane) Date: Sat, 13 Sep 2014 10:53:19 +1000 Subject: [Gambas-user] Textbox bug Message-ID: <5413957F.1020909@...169...> All of a sudden i can't type text in textboxs anymore i can delete but thats it? shane. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Linux Mint 16 Petra Desktop=GNOME Theme=QGtk Language=en_AU.UTF-8 Memory=3807M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.4 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.200.0 GTK+3=libgtk-3.so.0.803.4 GTK+=libgtk-x11-2.0.so.0.2400.20 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.28.0.0 Poppler=libpoppler.so.43.0.0 Qt4=libQtCore.so.4.8.4 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: textboxtest-0.0.1.tar.gz Type: application/gzip Size: 3817 bytes Desc: not available URL: From taboege at ...626... Sat Sep 13 05:36:21 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 13 Sep 2014 05:36:21 +0200 Subject: [Gambas-user] Graph classes Message-ID: <20140913033621.GF976@...2774...> Hi list, with #6468, it is finally possible to use Graphs from gb.data. You have a base "Graph" class from which all implementations inherit. It also acts like a driver/dispatcher for implementation functions. (Little) more on that below. GraphMatrix is a concrete graph implementation in gb.data based on an adjacency matrix (a full n*n one at the moment -- I may go for sparse matrices later). More implementations may follow as I have time. You can also create your own graph classes in Gambas. It's more complicated than you might want it to be but you don't invent new graph classes on a daily basis, right? That's mainly because I made excessive use of virtual classes to have a nice interface without additional memory usage. At least the process of creating your own graph class is convoluted enough that I cannot explain it now, so either self-study or wait for the tutorial/ GambasMag article (depends on how fast December approaches) :-) Attached are three projects: - ConnectivityMatrix: shows how to use GraphMatrix. It (sort of) computes the connected components of a graph, but by taking the sum over powers of the adjacency matrix (using gb.gsl). - custom-graph: a very quickly written project which implements a "DirectoryGraph", i.e. a graph which represents a directory hierarchy where "being contained in a directory" and (symbolic) links are edges. The class is written in Gambas and rather minimal. The project creates a (graphviz) dot file and its png of the graph of /usr/lib/gambas3/*so*. - GraphFloodFill: is a more sophisticated project. At its heart it interprets an Image object as a graph by implicitly taking the pixels as vertices and defining edges between pixels of the same colour (or from any colour to white or transparent). The BreadthFirstSearch class implements a BFS for a general Graph object. ImageGraph contains just enough functionality to allow a BFS on it. This together allows to do a flood fill on the backing Image object. There is also a neat little colour chooser because the traditional one from gb.form was too bulky for the form. Questions? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: ConnectivityMatrix-0.1.1.tar.gz Type: application/octet-stream Size: 4754 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: custom-graph-0.0.1.tar.gz Type: application/octet-stream Size: 4771 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GraphFloodfill-0.2.1.tar.gz Type: application/octet-stream Size: 8419 bytes Desc: not available URL: From pata.karlsson at ...626... Sat Sep 13 13:06:07 2014 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Sat, 13 Sep 2014 13:06:07 +0200 Subject: [Gambas-user] alphatrans Message-ID: Hi, I made a gui for iconv that makes it easy to convert file encoding. Feel free to try it out and come with any suggestions that you might have. Screenshot and source code: http://trixon.se/linux/alphatrans/ /Patrik From ian.roper at ...1974... Sat Sep 13 13:24:57 2014 From: ian.roper at ...1974... (Ian) Date: Sat, 13 Sep 2014 19:24:57 +0800 Subject: [Gambas-user] Textbox bug In-Reply-To: <5413957F.1020909@...169...> References: <5413957F.1020909@...169...> Message-ID: <54142989.5070907@...1974...> I have the same problem. If I select gb.GTK, gb.GTK3 or the standard gb.GUI, when I run the application I cannot enter text into any of the input controls such as text, textarea, spinbox?ect fields. Backspace and Tab DO work !, I can also 'paste' text into a control. However drawing images; simple lines, circles ect on a drawing area component will work correctly. If I switch to gb.QT4 with or without the gb.QT4.ext then text entry works but the drawing of images stops. Stepping through the code, it runs without error but produces no display on any drawing area control. Note # This is on a fresh rebuild of Linux Mint 17 "Qiana" with the latest overnight updates from the gambas-team/gambas-daily PPA. The only thing I can add is that I get this warning in the console: (rdadmin:5856): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed with the gb.GUI or gb.GTK component selected. No error reported in the console with gb.GTK3 but the problem still exists as stated. Another has also reported this on the gambas forum at whiteislandsofware.com with Ubuntu 14.04 Cheers, Ian Roper. On 13/09/14 08:53, Shane wrote: > All of a sudden i can't type text in textboxs anymore i can delete but > thats it? > > shane. > > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.11.0-26-generic > Architecture=x86_64 > Distribution=Linux Mint 16 Petra > Desktop=GNOME > Theme=QGtk > Language=en_AU.UTF-8 > Memory=3807M > [Libraries] > Cairo=libcairo.so.2.11200.16 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.4 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.200.0 > GTK+3=libgtk-3.so.0.803.4 > GTK+=libgtk-x11-2.0.so.0.2400.20 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.28.0.0 > Poppler=libpoppler.so.43.0.0 > Qt4=libQtCore.so.4.8.4 > SDL=libSDL-1.2.so.0.11.4 > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Sep 13 14:06:29 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 14:06:29 +0200 Subject: [Gambas-user] Textbox bug In-Reply-To: <54142989.5070907@...1974...> References: <5413957F.1020909@...169...> <54142989.5070907@...1974...> Message-ID: <54143345.5020501@...1...> Le 13/09/2014 13:24, Ian a ?crit : > I have the same problem. > If I select gb.GTK, gb.GTK3 or the standard gb.GUI, when I run the > application I cannot enter text into any of the input controls such as > text, textarea, spinbox?ect fields. > Backspace and Tab DO work !, I can also 'paste' text into a control. > However drawing images; simple lines, circles ect on a drawing area > component will work correctly. > > If I switch to gb.QT4 with or without the gb.QT4.ext then text entry > works but the drawing of images stops. > Stepping through the code, it runs without error but produces no display > on any drawing area control. > > Note # This is on a fresh rebuild of Linux Mint 17 "Qiana" with the > latest overnight updates from the gambas-team/gambas-daily PPA. > > The only thing I can add is that I get this warning in the console: > (rdadmin:5856): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion > 'GTK_IS_WIDGET (widget)' failed > with the gb.GUI or gb.GTK component selected. > No error reported in the console with gb.GTK3 but the problem still > exists as stated. > > Another has also reported this on the gambas forum at > whiteislandsofware.com with Ubuntu 14.04 > > Cheers, > Ian Roper. > I confirm the same problem. But it worked a few days ago without me changing anything, so I think there was a recent update on input methods that broke gb.gtk keyboard events management. I'm currently investigating... -- Beno?t Minisini From gambas at ...1... Sat Sep 13 14:42:47 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 14:42:47 +0200 Subject: [Gambas-user] Textbox bug In-Reply-To: <54143345.5020501@...1...> References: <5413957F.1020909@...169...> <54142989.5070907@...1974...> <54143345.5020501@...1...> Message-ID: <54143BC7.7050607@...1...> Le 13/09/2014 14:06, Beno?t Minisini a ?crit : > Le 13/09/2014 13:24, Ian a ?crit : >> I have the same problem. >> If I select gb.GTK, gb.GTK3 or the standard gb.GUI, when I run the >> application I cannot enter text into any of the input controls such as >> text, textarea, spinbox?ect fields. >> Backspace and Tab DO work !, I can also 'paste' text into a control. >> However drawing images; simple lines, circles ect on a drawing area >> component will work correctly. >> >> If I switch to gb.QT4 with or without the gb.QT4.ext then text entry >> works but the drawing of images stops. >> Stepping through the code, it runs without error but produces no display >> on any drawing area control. >> >> Note # This is on a fresh rebuild of Linux Mint 17 "Qiana" with the >> latest overnight updates from the gambas-team/gambas-daily PPA. >> >> The only thing I can add is that I get this warning in the console: >> (rdadmin:5856): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion >> 'GTK_IS_WIDGET (widget)' failed >> with the gb.GUI or gb.GTK component selected. >> No error reported in the console with gb.GTK3 but the problem still >> exists as stated. >> >> Another has also reported this on the gambas forum at >> whiteislandsofware.com with Ubuntu 14.04 >> >> Cheers, >> Ian Roper. >> > > I confirm the same problem. But it worked a few days ago without me > changing anything, so I think there was a recent update on input methods > that broke gb.gtk keyboard events management. > > I'm currently investigating... > Things should be better in revision #6469. Please note that if you manually change the input method of the text box from its popup menu, things stop working very well. Maybe because there is now way to be aware of that change outside of the textbox. Regards, -- Beno?t Minisini From gambas at ...1... Sat Sep 13 17:47:56 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 17:47:56 +0200 Subject: [Gambas-user] CTRL+A (select all) bug In-Reply-To: <1410562269.7253.9.camel@...3024...> References: <1410562269.7253.9.camel@...3024...> Message-ID: <5414672C.8070805@...1...> Le 13/09/2014 00:51, Willy Raets a ?crit : > Hi, > > Select all, using CTRL+A in IDE results in the last line NOT being > selected. Selection ends at the beginning of the last line. > > How to reproduce: > Make sure that in the code editor (or on a text file contained in the > project data folder) the last line is NOT an empty line. > Do CTRL+A and see that selection ends at the beginning of the last line > instead of at the end. So all but last line is selected. > Fixed in revision #6470. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Sep 13 18:15:05 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 13 Sep 2014 16:15:05 +0000 Subject: [Gambas-user] Issue 554 in gambas: Cannot seem to catch an error from a Exec[] process anymore In-Reply-To: <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Comment #1 on issue 554 by r... at ...1740...: Cannot seem to catch an error from a Exec[] process anymore https://code.google.com/p/gambas/issues/detail?id=554 Any update on this bugreport, is it valid reproduce-able? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From epost at ...3323... Sat Sep 13 18:42:52 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 18:42:52 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <54136365.4030909@...3323...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> Message-ID: <5414740C.3080709@...3323...> Den 12. sep. 2014 23:19, skrev J?rn Erik M?rne: > Hello Beno?t! > > If I drop a TrayIcon on my FMain and set Visible = True, there's an > error saying: "Unable to find system tray". > > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.15.10-1-MANJARO > Architecture=x86_64 > Distribution=Manjaro Linux > Desktop=KDE4 > Theme=QtCurve > Language=nb_NO.UTF-8 > Memory=9902M > [Libraries] > Cairo=libcairo.so.2.11200.16 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.8.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.401.0 > GTK+3=libgtk-3.so.0.1200.2 > GTK+=libgtk-x11-2.0.so.0.2400.24 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.46.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 I also tried the SystemTray example, and all I get is a window with a yellow box... nothing happens when I resize it. If I haven't done anything wrong, it seems Gambas cannot connect to my system tray? From gambas at ...1... Sat Sep 13 18:52:44 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 18:52:44 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <5414740C.3080709@...3323...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> Message-ID: <5414765C.8010401@...1...> Le 13/09/2014 18:42, J?rn Erik M?rne a ?crit : > Den 12. sep. 2014 23:19, skrev J?rn Erik M?rne: >> Hello Beno?t! >> >> If I drop a TrayIcon on my FMain and set Visible = True, there's an >> error saying: "Unable to find system tray". >> >> >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.15.10-1-MANJARO >> Architecture=x86_64 >> Distribution=Manjaro Linux >> Desktop=KDE4 >> Theme=QtCurve >> Language=nb_NO.UTF-8 >> Memory=9902M >> [Libraries] >> Cairo=libcairo.so.2.11200.16 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.8.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.401.0 >> GTK+3=libgtk-3.so.0.1200.2 >> GTK+=libgtk-x11-2.0.so.0.2400.24 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.46.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 > I also tried the SystemTray example, and all I get is a window with a > yellow box... nothing happens when I resize it. If I haven't done > anything wrong, it seems Gambas cannot connect to my system tray? > Please send your project. "Unable to find system tray" means that Qt was unable to find it. But it never happened here with KDE4. Regards, -- Beno?t Minisini From gambas at ...2524... Sat Sep 13 18:55:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 13 Sep 2014 16:55:15 +0000 Subject: [Gambas-user] Issue 554 in gambas: Cannot seem to catch an error from a Exec[] process anymore In-Reply-To: <1-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.5.0 Comment #2 on issue 554 by benoit.m... at ...626...: Cannot seem to catch an error from a Exec[] process anymore https://code.google.com/p/gambas/issues/detail?id=554 It's just that technically it is not really a bug. Because on Unix, the child process starts before searching for the program to run. So I only can catch the error later. I think I should search for the program to run before creating the child process, so that we can get the error immediately. But it introduces a performance penalty when running each process... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Sep 13 18:56:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 13 Sep 2014 16:56:15 +0000 Subject: [Gambas-user] Issue 558 in gambas: Gambas is missing a Radio Menu Item In-Reply-To: <0-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 558 by benoit.m... at ...626...: Gambas is missing a Radio Menu Item https://code.google.com/p/gambas/issues/detail?id=558 I'm currently searching if it possible and reliable to introduce radio menu items both in gb.gtk and gb.qt4. Not so simple... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Sep 13 18:57:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 13 Sep 2014 16:57:15 +0000 Subject: [Gambas-user] Issue 558 in gambas: Gambas is missing a Radio Menu Item In-Reply-To: <1-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> <0-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Comment #2 on issue 558 by benoit.m... at ...626...: Gambas is missing a Radio Menu Item https://code.google.com/p/gambas/issues/detail?id=558 I'm currently searching if it is possible and reliable to introduce radio menu items both in gb.gtk and gb.qt4. Not so simple... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From epost at ...3323... Sat Sep 13 18:58:13 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 18:58:13 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <5414765C.8010401@...1...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> <5414765C.8010401@...1...> Message-ID: <541477A5.2070208@...3323...> Den 13. sep. 2014 18:52, skrev Beno?t Minisini: > Le 13/09/2014 18:42, J?rn Erik M?rne a ?crit : >> Den 12. sep. 2014 23:19, skrev J?rn Erik M?rne: >>> Hello Beno?t! >>> >>> If I drop a TrayIcon on my FMain and set Visible = True, there's an >>> error saying: "Unable to find system tray". >>> >>> >>> [System] >>> Gambas=3.5.90 >>> OperatingSystem=Linux >>> Kernel=3.15.10-1-MANJARO >>> Architecture=x86_64 >>> Distribution=Manjaro Linux >>> Desktop=KDE4 >>> Theme=QtCurve >>> Language=nb_NO.UTF-8 >>> Memory=9902M >>> [Libraries] >>> Cairo=libcairo.so.2.11200.16 >>> Curl=libcurl.so.4.3.0 >>> DBus=libdbus-1.so.3.8.6 >>> GStreamer=libgstreamer-0.10.so.0.30.0 >>> GStreamer=libgstreamer-1.0.so.0.401.0 >>> GTK+3=libgtk-3.so.0.1200.2 >>> GTK+=libgtk-x11-2.0.so.0.2400.24 >>> OpenGL=libGL.so.1.2.0 >>> Poppler=libpoppler.so.46.0.0 >>> Qt4=libQtCore.so.4.8.6 >>> SDL=libSDL-1.2.so.0.11.4 >> I also tried the SystemTray example, and all I get is a window with a >> yellow box... nothing happens when I resize it. If I haven't done >> anything wrong, it seems Gambas cannot connect to my system tray? >> > Please send your project. "Unable to find system tray" means that Qt was > unable to find it. But it never happened here with KDE4. > > Regards, > It's attached -------------- next part -------------- A non-text attachment was scrubbed... Name: TrayIcon-0.0.1.tar.gz Type: application/gzip Size: 4623 bytes Desc: not available URL: From gambas at ...2524... Sat Sep 13 19:03:57 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 13 Sep 2014 17:03:57 +0000 Subject: [Gambas-user] Issue 554 in gambas: Cannot seem to catch an error from a Exec[] process anymore In-Reply-To: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Comment #3 on issue 554 by r... at ...1740...: Cannot seem to catch an error from a Exec[] process anymore https://code.google.com/p/gambas/issues/detail?id=554 I understand, but I can't remember that this not catching the error problem occurred with older version, or at least didn't let the error management going nuts. If you have this code in a bigger project like DomotiGa, it triggers all kinds of error and false positives in other parts of the project, which were fine, as if the error management is filled with garbage or doesn't know what to do... Now I check if the command exists before running it (with 'which') that's also a very big penalty. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From epost at ...3323... Sat Sep 13 19:51:19 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 19:51:19 +0200 Subject: [Gambas-user] Bubbles are invisible In-Reply-To: <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Message-ID: <54148417.6040806@...3323...> In Manjaro bubbles are invisible: [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.15.10-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE4 Theme=QtCurve Language=nb_NO.UTF-8 Memory=9902M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.401.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.24 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-bubble.png Type: image/png Size: 19508 bytes Desc: not available URL: From epost at ...3323... Sat Sep 13 19:53:14 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 19:53:14 +0200 Subject: [Gambas-user] Bubbles are invisible In-Reply-To: <54148417.6040806@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> Message-ID: <5414848A.7080508@...3323...> Den 13. sep. 2014 19:51, skrev J?rn Erik M?rne: > In Manjaro bubbles are invisible: > > > > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.15.10-1-MANJARO > Architecture=x86_64 > Distribution=Manjaro Linux > Desktop=KDE4 > Theme=QtCurve > Language=nb_NO.UTF-8 > Memory=9902M > [Libraries] > Cairo=libcairo.so.2.11200.16 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.8.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.401.0 > GTK+3=libgtk-3.so.0.1200.2 > GTK+=libgtk-x11-2.0.so.0.2400.24 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.46.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 Sorry, I meant "Ballons" :) From epost at ...3323... Sat Sep 13 20:27:07 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 20:27:07 +0200 Subject: [Gambas-user] Off-line help is not working In-Reply-To: <5414848A.7080508@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414848A.7080508@...3323...> Message-ID: <54148C7B.2020809@...3323...> Off-line help is not working. Tested in both Manjaro and Ubuntu 14.04 - see attached screenshot. -------------- next part -------------- A non-text attachment was scrubbed... Name: no-offline-help.png Type: image/png Size: 6634 bytes Desc: not available URL: From iss_boss at ...770... Sat Sep 13 21:00:17 2014 From: iss_boss at ...770... (ISS Boss) Date: Sat, 13 Sep 2014 15:00:17 -0400 Subject: [Gambas-user] [Bulk] Off-line help is not working In-Reply-To: <54148C7B.2020809@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414848A.7080508@...3323...> <54148C7B.2020809@...3323...> Message-ID: <54149441.3010600@...770...> I get this all the time and asked about it months ago. Nothing happened. I can get help, but I have to go out of the IDE to get it. Cumbersome, at best. Bill J??rn Erik M??rne wrote on 09/13/2014 14:27: Off-line help is not working. Tested in both Manjaro and Ubuntu 14.04 - see attached screenshot. ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. [1]http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [2]Gambas-user at lists.sourceforge.net [3]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk 2. mailto:Gambas-user at lists.sourceforge.net 3. https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Sep 13 21:03:25 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 21:03:25 +0200 Subject: [Gambas-user] Fwd: Re: Off-line help is not working In-Reply-To: <541492DE.30506@...1...> References: <541492DE.30506@...1...> Message-ID: <541494FD.6030609@...1...> Le 13/09/2014 20:27, J?rn Erik M?rne a ?crit : > Off-line help is not working. Tested in both Manjaro and Ubuntu 14.04 - > see attached screenshot. > > Have you downloaded it? -- Beno?t Minisini From gambas at ...1... Sat Sep 13 21:03:52 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 21:03:52 +0200 Subject: [Gambas-user] Off-line help is not working In-Reply-To: <541494CF.9070102@...1...> References: <541494CF.9070102@...1...> Message-ID: <54149518.6060901@...1...> Le 13/09/2014 20:59, J?rn Erik M?rne a ?crit : > > Den 13. sep. 2014 20:54, skrev Beno?t Minisini: >> Le 13/09/2014 20:54, Beno?t Minisini a ?crit : >>> Le 13/09/2014 20:27, J?rn Erik M?rne a ?crit : >>>> Off-line help is not working. Tested in both Manjaro and Ubuntu 14.04 - >>>> see attached screenshot. >>>> >>>> >>> >>> Have you downloaded it? >>> >> >> And another point: please create a new thread for a different subject. >> Don't answer a non-related thread! >> > > I don't understand... this email has the topic "Re: Off-line help is not > working" here with me. What does it say at your email client? > > Every other mail I sent today had a specific topic for each issue, one > was named "Bubbles are invisible" and the other "TrayIcon error" > . > According to Thunderbird, you answered a mail with a different subject, you didn't create a new message. It doesn't matter what you effectively put in your mail's subject. Regards, -- Beno?t Minisini From gambas at ...1... Sat Sep 13 21:33:43 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 21:33:43 +0200 Subject: [Gambas-user] Off-line help is not working In-Reply-To: <54149A8B.7060701@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414848A.7080508@...3323...> <54148C7B.2020809@...3323...> <541492DE.30506@...1...> <54149A8B.7060701@...3323...> Message-ID: <54149C17.9050605@...1...> Le 13/09/2014 21:27, J?rn Erik M?rne a ?crit : > > Den 13. sep. 2014 20:54, skrev Beno?t Minisini: >> Le 13/09/2014 20:27, J?rn Erik M?rne a ?crit : >>> Off-line help is not working. Tested in both Manjaro and Ubuntu 14.04 - >>> see attached screenshot. >>> >>> >> >> Have you downloaded it? >> > > I now see (and recall) there is a "Download documentation" button that > is greyed out. On my Manjaro PC it says "Documentation is up to date", > and in Ubuntu it says "Documentation is not available"... > I forgot: The 'wget' program is used for downloading the documentation. Is it installed on your system? -- Beno?t Minisini From epost at ...3323... Sat Sep 13 21:41:49 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 21:41:49 +0200 Subject: [Gambas-user] Off-line help is not working In-Reply-To: <54149C17.9050605@...1...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414848A.7080508@...3323...> <54148C7B.2020809@...3323...> <541492DE.30506@...1...> <54149A8B.7060701@...3323...> <54149C17.9050605@...1...> Message-ID: <54149DFD.4070607@...3323...> Den 13. sep. 2014 21:33, skrev Beno?t Minisini: > Le 13/09/2014 21:27, J?rn Erik M?rne a ?crit : >> >> Den 13. sep. 2014 20:54, skrev Beno?t Minisini: >>> Le 13/09/2014 20:27, J?rn Erik M?rne a ?crit : >>>> Off-line help is not working. Tested in both Manjaro and Ubuntu >>>> 14.04 - >>>> see attached screenshot. >>>> >>>> >>> >>> Have you downloaded it? >>> >> >> I now see (and recall) there is a "Download documentation" button that >> is greyed out. On my Manjaro PC it says "Documentation is up to date", >> and in Ubuntu it says "Documentation is not available"... >> > > I forgot: The 'wget' program is used for downloading the > documentation. Is it installed on your system? > yes, it is From gambas at ...1... Sat Sep 13 22:34:28 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 13 Sep 2014 22:34:28 +0200 Subject: [Gambas-user] [Gambas-devel] Gambas IDE trunk slow start In-Reply-To: <541492C1.7000309@...1...> References: <54147605.5040607@...1...> <541492C1.7000309@...1...> Message-ID: <5414AA54.3060104@...1...> Le 13/09/2014 20:53, Beno?t Minisini a ?crit : > Le 13/09/2014 19:21, Ron a ?crit : >> Did more testing, it's only slow when a lot of files are open on >> startup (forms, classes)... >> Did a ctrl-alt-w and it's fast. >> >> But the stable Gambas doesn't have this issue. >> >> Every 60 files (some big ones) gives a 2 Second delay I think >> >> I may be nitpicking... but we (I) don't want a slower IDE unless there >> is a good reason for it :-) >> >> Regards, >> Ron. >> > > I agree. Can you send your project? I don't notice this behaviour. > I tested with the IDE source code. I opened more than 100 files, and it takes about 2 seconds to open the IDE with all that files (I have a core i5 @ 3,4 Ghz) By the way, why opening more so many files? What for? -- Beno?t Minisini From gambas at ...2524... Sat Sep 13 22:40:09 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 13 Sep 2014 20:40:09 +0000 Subject: [Gambas-user] Issue 554 in gambas: Cannot seem to catch an error from a Exec[] process anymore In-Reply-To: <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 554 by benoit.m... at ...626...: Cannot seem to catch an error from a Exec[] process anymore https://code.google.com/p/gambas/issues/detail?id=554 Fixed in revision #6471: the executable is searched in the PATH environment variable before forking, so that an error is raised immediately if it cannot be found. The result of the search is kept so that the child process does not have to do the search again. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sat Sep 13 22:41:08 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 13 Sep 2014 22:41:08 +0200 Subject: [Gambas-user] [Gambas-devel] Gambas IDE trunk slow start In-Reply-To: <5414AA54.3060104@...1...> References: <54147605.5040607@...1...> <541492C1.7000309@...1...> <5414AA54.3060104@...1...> Message-ID: <5414ABE4.1020607@...1...> Le 13/09/2014 22:34, Beno?t Minisini a ?crit : > > By the way, why opening more so many files? What for? > Too much more. -- Beno?t Minisini From gambas at ...1... Sat Sep 13 22:42:34 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 13 Sep 2014 22:42:34 +0200 Subject: [Gambas-user] Bubbles are invisible In-Reply-To: <54148417.6040806@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> Message-ID: <5414AC3A.5000008@...1...> Le 13/09/2014 19:51, J?rn Erik M?rne a ?crit : > In Manjaro bubbles are invisible: > I cannot reproduce that. Can you try to change your colour theme and/or your widget theme to see if it changes anything? -- Beno?t Minisini From ron at ...1740... Sat Sep 13 22:54:19 2014 From: ron at ...1740... (Ron) Date: Sat, 13 Sep 2014 22:54:19 +0200 Subject: [Gambas-user] [Gambas-devel] Gambas IDE trunk slow start In-Reply-To: <5414AA54.3060104@...1...> References: <54147605.5040607@...1...> <541492C1.7000309@...1...> <5414AA54.3060104@...1...> Message-ID: I work on a big project with more than 100000 lines of code.. And simply never close a code window. You can find it here github.com/DomotiGa the project is called DomotiGa3 I cannot reproduce it anymore... I also get max 2sec delay now... Maybe there was something wrong with one or more files or .settings entries.. After the 'close all windows action' it got emptied... Ignore it for now... Regards Ron Op 13 sep. 2014 22:35 schreef "Beno?t Minisini" < gambas at ...1...>: > Le 13/09/2014 20:53, Beno?t Minisini a ?crit : > > Le 13/09/2014 19:21, Ron a ?crit : > >> Did more testing, it's only slow when a lot of files are open on > >> startup (forms, classes)... > >> Did a ctrl-alt-w and it's fast. > >> > >> But the stable Gambas doesn't have this issue. > >> > >> Every 60 files (some big ones) gives a 2 Second delay I think > >> > >> I may be nitpicking... but we (I) don't want a slower IDE unless there > >> is a good reason for it :-) > >> > >> Regards, > >> Ron. > >> > > > > I agree. Can you send your project? I don't notice this behaviour. > > > > I tested with the IDE source code. I opened more than 100 files, and it > takes about 2 seconds to open the IDE with all that files (I have a core > i5 @ 3,4 Ghz) > > By the way, why opening more so many files? What for? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rmorgan62 at ...626... Sat Sep 13 23:04:25 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 13 Sep 2014 14:04:25 -0700 Subject: [Gambas-user] Missing Keyword in Wiki Message-ID: This is just an FYI for the Wiki maintainers. The "Each" keyword is missing from the Language index page. It can be found in the Loop Constructs page but should be added to the Language Index page as well. That will give users a quick way to find it. -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From epost at ...3323... Sat Sep 13 23:07:30 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 23:07:30 +0200 Subject: [Gambas-user] Bubbles are invisible In-Reply-To: <5414AC3A.5000008@...1...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414AC3A.5000008@...1...> Message-ID: <5414B212.1090005@...3323...> Den 13. sep. 2014 22:42, skrev Beno?t Minisini: > Le 13/09/2014 19:51, J?rn Erik M?rne a ?crit : >> In Manjaro bubbles are invisible: >> > > I cannot reproduce that. Can you try to change your colour theme > and/or your widget theme to see if it changes anything? > Aha, I found it. I tried desktop theme and and window style, but the issue is actually with the colour theme (I was using Breeze, the KDE5 colour theme, but on KDE4). From epost at ...3323... Sat Sep 13 23:13:20 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 23:13:20 +0200 Subject: [Gambas-user] Off-line help is not working In-Reply-To: <54149DFD.4070607@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414848A.7080508@...3323...> <54148C7B.2020809@...3323...> <541492DE.30506@...1...> <54149A8B.7060701@...3323...> <54149C17.9050605@...1...> <54149DFD.4070607@...3323...> Message-ID: <5414B370.3030204@...3323...> Den 13. sep. 2014 21:41, skrev J?rn Erik M?rne: > Den 13. sep. 2014 21:33, skrev Beno?t Minisini: >> Le 13/09/2014 21:27, J?rn Erik M?rne a ?crit : >>> Den 13. sep. 2014 20:54, skrev Beno?t Minisini: >>>> Le 13/09/2014 20:27, J?rn Erik M?rne a ?crit : >>>>> Off-line help is not working. Tested in both Manjaro and Ubuntu >>>>> 14.04 - >>>>> see attached screenshot. >>>>> >>>>> >>>> Have you downloaded it? >>>> >>> I now see (and recall) there is a "Download documentation" button that >>> is greyed out. On my Manjaro PC it says "Documentation is up to date", >>> and in Ubuntu it says "Documentation is not available"... >>> >> I forgot: The 'wget' program is used for downloading the >> documentation. Is it installed on your system? >> > yes, it is Now I got to download the documentation on Ubuntu as well (I suspect a WiFi hickup could be the issue why it wasn't available earlier on), but the problem with "This page does not exist" remains... From epost at ...3323... Sat Sep 13 23:17:32 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 13 Sep 2014 23:17:32 +0200 Subject: [Gambas-user] Bubbles are invisible In-Reply-To: <5414B212.1090005@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414AC3A.5000008@...1...> <5414B212.1090005@...3323...> Message-ID: <5414B46C.8010005@...3323...> Den 13. sep. 2014 23:07, skrev J?rn Erik M?rne: > Den 13. sep. 2014 22:42, skrev Beno?t Minisini: >> Le 13/09/2014 19:51, J?rn Erik M?rne a ?crit : >>> In Manjaro bubbles are invisible: >>> >> I cannot reproduce that. Can you try to change your colour theme >> and/or your widget theme to see if it changes anything? >> > Aha, I found it. I tried desktop theme and and window style, but the > issue is actually with the colour theme (I was using Breeze, the KDE5 > colour theme, but on KDE4). > It appears that when KDE's tooltip colour is set to: #FCFCFC Bubbles turn invisible... I changed it to #FFFFFF and that works well, even #FEFEFE... strange? From epost at ...3323... Sat Sep 13 23:28:44 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sat, 13 Sep 2014 23:28:44 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro Message-ID: <5414B70C.5020207@...3323...> If I may add one more issue - hope I am not flooding here now, but this one has been around since day one. On Manjaro, making installation packages fail... ======================================== Saving CHANGELOG file. ======================================== Creating package for Archlinux. ======================================== Making build directory. cd /tmp/gambas.1000/30587/archlinux makepkg -g >> PKGBUILD ==> Henter kilder... ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og den er heller ikke en URL. Creating package... cd /tmp/gambas.1000/30587/archlinux makepkg --allsource ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) ==> Henter kilder... ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og den er heller ikke en URL. cd /tmp/gambas.1000/30587/archlinux makepkg -d ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) ==> ADVARSEL: Hopper over kontroll av avhengigheter. ==> Henter kilder... ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og den er heller ikke en URL. cd /tmp/gambas.1000/30587/archlinux cp syncthinggui-0.0.4-1*.tar.* /home/myUser/Programmering/GambasBuilds/Sycthing\ GUI/archlinux cp: klarte ikke ? hente informasjon om ?syncthinggui-0.0.4-1*.tar.*?: Ingen slik fil eller filkatalog The packages have been successfully created. From Karl.Reinl at ...2345... Sat Sep 13 23:40:00 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 13 Sep 2014 23:40:00 +0200 Subject: [Gambas-user] tried to find the IDE-svn crash, found that Message-ID: <1410644400.23712.8.camel@...40...> Salut Beno?t, when I go in menu Project/version control, the IDE says 'good by' without any information. using gdb: Reading symbols from /usr/bin/gbx3...done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". ERROR: #2: Cannot load class 'AngleBox': Unable to load class file [Inferior 1 (process 23638) exited with code 01] (gdb) bt No stack. using valgrind: see attached valgrind.out rev.6471.tar.bz2 are the makeing rev.6471 logs [System] Gambas=3.5.90 (rev 6471) OperatingSystem=Linux Kernel=3.2.0-68-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie -------------- next part -------------- ==23661== Memcheck, a memory error detector ==23661== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==23661== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==23661== Command: gbx3 ==23661== ERROR: #2: Cannot load class 'AngleBox': Unable to load class file ==23661== ==23661== HEAP SUMMARY: ==23661== in use at exit: 129,138 bytes in 1,146 blocks ==23661== total heap usage: 2,556 allocs, 1,410 frees, 1,211,913 bytes allocated ==23661== ==23661== LEAK SUMMARY: ==23661== definitely lost: 288 bytes in 1 blocks ==23661== indirectly lost: 0 bytes in 0 blocks ==23661== possibly lost: 80 bytes in 1 blocks ==23661== still reachable: 128,770 bytes in 1,144 blocks ==23661== suppressed: 0 bytes in 0 blocks ==23661== Rerun with --leak-check=full to see details of leaked memory ==23661== ==23661== For counts of detected and suppressed errors, rerun with: -v ==23661== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -------------- next part -------------- A non-text attachment was scrubbed... Name: rev.6471.tar.bz2 Type: application/x-bzip-compressed-tar Size: 14812 bytes Desc: not available URL: From gambas at ...1... Sat Sep 13 23:41:15 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 13 Sep 2014 23:41:15 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <5414B70C.5020207@...3323...> References: <5414B70C.5020207@...3323...> Message-ID: <5414B9FB.7060208@...1...> Le 13/09/2014 23:28, J?rn Erik M?rne a ?crit : > If I may add one more issue - hope I am not flooding here now, but this > one has been around since day one. On Manjaro, making installation > packages fail... > > ======================================== > > Saving CHANGELOG file. > > ======================================== > > Creating package for Archlinux. > > ======================================== > > Making build directory. > cd /tmp/gambas.1000/30587/archlinux > makepkg -g >> PKGBUILD > ==> Henter kilder... > ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og > den er heller ikke en URL. > Creating package... > > cd /tmp/gambas.1000/30587/archlinux > makepkg --allsource > ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) > ==> Henter kilder... > ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og > den er heller ikke en URL. > cd /tmp/gambas.1000/30587/archlinux > makepkg -d > ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) > ==> ADVARSEL: Hopper over kontroll av avhengigheter. > ==> Henter kilder... > ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og > den er heller ikke en URL. > cd /tmp/gambas.1000/30587/archlinux > cp syncthinggui-0.0.4-1*.tar.* > /home/myUser/Programmering/GambasBuilds/Sycthing\ GUI/archlinux > cp: klarte ikke ? hente informasjon om ?syncthinggui-0.0.4-1*.tar.*?: > Ingen slik fil eller filkatalog > The packages have been successfully created. > > Can you translate the messages in english for me? I see that many things failed, but I have no idea what. -- Beno?t Minisini From epost at ...3323... Sat Sep 13 23:47:42 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sat, 13 Sep 2014 23:47:42 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <5414B9FB.7060208@...1...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> Message-ID: <5414BB7E.4000307@...3323...> Den 13. sep. 2014 23:41, skrev Beno?t Minisini: > Le 13/09/2014 23:28, J?rn Erik M?rne a ?crit : >> If I may add one more issue - hope I am not flooding here now, but this >> one has been around since day one. On Manjaro, making installation >> packages fail... >> >> ======================================== >> >> Saving CHANGELOG file. >> >> ======================================== >> >> Creating package for Archlinux. >> >> ======================================== >> >> Making build directory. >> cd /tmp/gambas.1000/30587/archlinux >> makepkg -g >> PKGBUILD >> ==> Henter kilder... >> ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og >> den er heller ikke en URL. >> Creating package... >> >> cd /tmp/gambas.1000/30587/archlinux >> makepkg --allsource >> ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) >> ==> Henter kilder... >> ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og >> den er heller ikke en URL. >> cd /tmp/gambas.1000/30587/archlinux >> makepkg -d >> ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) >> ==> ADVARSEL: Hopper over kontroll av avhengigheter. >> ==> Henter kilder... >> ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og >> den er heller ikke en URL. >> cd /tmp/gambas.1000/30587/archlinux >> cp syncthinggui-0.0.4-1*.tar.* >> /home/myUser/Programmering/GambasBuilds/Sycthing\ GUI/archlinux >> cp: klarte ikke ? hente informasjon om ?syncthinggui-0.0.4-1*.tar.*?: >> Ingen slik fil eller filkatalog >> The packages have been successfully created. >> >> > Can you translate the messages in english for me? I see that many things > failed, but I have no idea what. > ======================================== Saving CHANGELOG file. ======================================== Creating package for Archlinux. ======================================== Making build directory. cd /tmp/gambas.1000/30587/archlinux makepkg -g >> PKGBUILD ==> Fetching sources ==> ERROR: syncthinggui-0.0.4.tar.bz2 was not found in the build-folder, and is not a URL. Creating package... cd /tmp/gambas.1000/30587/archlinux makepkg --allsource ==> Adding package: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) ==> Fetching sources... ==> ERROR: syncthinggui-0.0.4.tar.bz2 was not found in the build-folder, and is not a URL. cd /tmp/gambas.1000/30587/archlinux makepkg -d ==> Creating package: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) ==> WARNING: Skipping dependency control. ==> Fetching sources... ==> ERROR: syncthinggui-0.0.4.tar.bz2 was not found in the build-folder, and is not a URL. cd /tmp/gambas.1000/30587/archlinux cp syncthinggui-0.0.4-1*.tar.* /home/myUser/Programmering/GambasBuilds/Sycthing\ GUI/archlinux cp: could not retrieve information about ?syncthinggui-0.0.4-1*.tar.*?: No such file or folder The packages have been successfully created. From epost at ...3323... Sun Sep 14 00:05:38 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sun, 14 Sep 2014 00:05:38 +0200 Subject: [Gambas-user] Bubbles are invisible In-Reply-To: <5414B46C.8010005@...3323...> References: <2-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <0-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <3-6813199134517018827-13687992083076595661-gambas=googlecode.com@...2524...> <54148417.6040806@...3323...> <5414AC3A.5000008@...1...> <5414B212.1090005@...3323...> <5414B46C.8010005@...3323...> Message-ID: <5414BFB2.6010409@...3323...> Den 13. sep. 2014 23:17, skrev J?rn Erik M?rne: > > Den 13. sep. 2014 23:07, skrev J?rn Erik M?rne: >> Den 13. sep. 2014 22:42, skrev Beno?t Minisini: >>> Le 13/09/2014 19:51, J?rn Erik M?rne a ?crit : >>>> In Manjaro bubbles are invisible: >>>> >>> I cannot reproduce that. Can you try to change your colour theme >>> and/or your widget theme to see if it changes anything? >>> >> Aha, I found it. I tried desktop theme and and window style, but the >> issue is actually with the colour theme (I was using Breeze, the KDE5 >> colour theme, but on KDE4). >> > > It appears that when KDE's tooltip colour is set to: #FCFCFC > Bubbles turn invisible... I changed it to #FFFFFF and that works well, > even #FEFEFE... strange? Its not quite right in Ubuntu 14.04 either. If you compare the two attachments you'll see how the tooltips are coloured and how the balloon is coloured - white on light yellow... -------------- next part -------------- A non-text attachment was scrubbed... Name: Baloon.png Type: image/png Size: 28147 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Baloon2.png Type: image/png Size: 19421 bytes Desc: not available URL: From epost at ...3323... Sun Sep 14 00:14:27 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sun, 14 Sep 2014 00:14:27 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <541477A5.2070208@...3323...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> <5414765C.8010401@...1...> <541477A5.2070208@...3323...> Message-ID: <5414C1C3.9040904@...3323...> Den 13. sep. 2014 18:58, skrev J?rn Erik M?rne: > > Den 13. sep. 2014 18:52, skrev Beno?t Minisini: >> Le 13/09/2014 18:42, J?rn Erik M?rne a ?crit : >>> Den 12. sep. 2014 23:19, skrev J?rn Erik M?rne: >>>> Hello Beno?t! >>>> >>>> If I drop a TrayIcon on my FMain and set Visible = True, there's an >>>> error saying: "Unable to find system tray". >>>> >>>> >>>> [System] >>>> Gambas=3.5.90 >>>> OperatingSystem=Linux >>>> Kernel=3.15.10-1-MANJARO >>>> Architecture=x86_64 >>>> Distribution=Manjaro Linux >>>> Desktop=KDE4 >>>> Theme=QtCurve >>>> Language=nb_NO.UTF-8 >>>> Memory=9902M >>>> [Libraries] >>>> Cairo=libcairo.so.2.11200.16 >>>> Curl=libcurl.so.4.3.0 >>>> DBus=libdbus-1.so.3.8.6 >>>> GStreamer=libgstreamer-0.10.so.0.30.0 >>>> GStreamer=libgstreamer-1.0.so.0.401.0 >>>> GTK+3=libgtk-3.so.0.1200.2 >>>> GTK+=libgtk-x11-2.0.so.0.2400.24 >>>> OpenGL=libGL.so.1.2.0 >>>> Poppler=libpoppler.so.46.0.0 >>>> Qt4=libQtCore.so.4.8.6 >>>> SDL=libSDL-1.2.so.0.11.4 >>> I also tried the SystemTray example, and all I get is a window with a >>> yellow box... nothing happens when I resize it. If I haven't done >>> anything wrong, it seems Gambas cannot connect to my system tray? >>> >> Please send your project. "Unable to find system tray" means that Qt was >> unable to find it. But it never happened here with KDE4. >> >> Regards, >> > It's attached I just tested this in Ubuntu 14.04 and here it runs without error, but there's no icon added to the tray, and when I close the window, Gambas "believes" it is still runnung, so I need to use stop... From Karl.Reinl at ...2345... Sun Sep 14 11:47:06 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 14 Sep 2014 11:47:06 +0200 Subject: [Gambas-user] Returned mail: see transcript for details Message-ID: <1410688026.3436.6.camel@...40...> Salut Beno?t. tested crash report the following addresse gambas-user at ...1... should be gambas-user at lists.sourceforge.net Charlie The original message was received at Sun, 14 Sep 2014 11:42:12 +0200 from x2f23831.dyn.telefonica.de [2.242.56.49] ----- The following addresses had permanent fatal errors ----- (reason: 550 unknown user) ----- Transcript of session follows ----- ... while talking to mx.sourceforge.net.: >>> DATA <<< 550 unknown user 550 5.1.1 ... User unknown -------------- next part -------------- An embedded message was scrubbed... From: Charlie Reinl Subject: [CRASH REPORT] Gambas 3 Date: Sun, 14 Sep 2014 11:42:12 +0200 Size: 2664 URL: From gambas at ...1... Sun Sep 14 13:38:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Sep 2014 13:38:33 +0200 Subject: [Gambas-user] Returned mail: see transcript for details In-Reply-To: <1410688026.3436.6.camel@...40...> References: <1410688026.3436.6.camel@...40...> Message-ID: <54157E39.5030208@...1...> Le 14/09/2014 11:47, Charlie Reinl a ?crit : > Salut Beno?t. > > tested crash report the following addresse > > gambas-user at ...1... > > should be gambas-user at lists.sourceforge.net > > Charlie > No, I want the crash report to go to my private e-mail, not the mailing-list! Because it may include private data. -- Beno?t Minisini From vuott at ...325... Sun Sep 14 14:06:14 2014 From: vuott at ...325... (Ru Vuott) Date: Sun, 14 Sep 2014 13:06:14 +0100 Subject: [Gambas-user] Skipped 'trunk/comp/src/gb.report/.info' -- Node remains in conflict Message-ID: <1410696374.39998.YahooMailBasic@...3274...> Hello, updating via SVN my Gambas, I obtained this strange notice: ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk Skipped 'trunk/comp/src/gb.report/.info' -- Node remains in conflict Checked out revision 6473. What is this ? Regards vuott From Karl.Reinl at ...2345... Sun Sep 14 14:42:50 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 14 Sep 2014 14:42:50 +0200 Subject: [Gambas-user] Returned mail: see transcript for details In-Reply-To: <54157E39.5030208@...1...> References: <1410688026.3436.6.camel@...40...> <54157E39.5030208@...1...> Message-ID: <1410698570.3571.2.camel@...40...> Am Sonntag, den 14.09.2014, 13:38 +0200 schrieb Beno?t Minisini: > Le 14/09/2014 11:47, Charlie Reinl a ?crit : > > Salut Beno?t. > > > > tested crash report the following addresse > > > > gambas-user at ...1... > > > > should be gambas-user at lists.sourceforge.net > > > > Charlie > > > > No, I want the crash report to go to my private e-mail, not the > mailing-list! Because it may include private data. > Salut Beno?t, The address is your account, but the CC on that email is filled with the gambas-user at ...1... -- Amicalement Charlie From gambas at ...1... Sun Sep 14 15:01:06 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 14 Sep 2014 15:01:06 +0200 Subject: [Gambas-user] Returned mail: see transcript for details In-Reply-To: <1410698570.3571.2.camel@...40...> References: <1410688026.3436.6.camel@...40...> <54157E39.5030208@...1...> <1410698570.3571.2.camel@...40...> Message-ID: <54159192.2000203@...1...> Le 14/09/2014 14:42, Charlie Reinl a ?crit : > Am Sonntag, den 14.09.2014, 13:38 +0200 schrieb Beno?t Minisini: >> Le 14/09/2014 11:47, Charlie Reinl a ?crit : >>> Salut Beno?t. >>> >>> tested crash report the following addresse >>> >>> gambas-user at ...1... >>> >>> should be gambas-user at lists.sourceforge.net >>> >>> Charlie >>> >> >> No, I want the crash report to go to my private e-mail, not the >> mailing-list! Because it may include private data. >> > > Salut Beno?t, > > The address is your account, but the CC on that email is filled with the > gambas-user at ...1... > > Ha ok! I didn't understand. I will fix it. Finally maybe I can send the mail to the mailing-list, as there is a check box to explicitely tell if the project must be sent or not. -- Beno?t Minisini From willy at ...2734... Sun Sep 14 16:05:18 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 14 Sep 2014 16:05:18 +0200 Subject: [Gambas-user] Me.close BUG Message-ID: <1410703518.5173.8.camel@...3024...> Hi, It came to my attention that closing a Main form with a simple Me.Close doesn't close any other forms that still might be open. It didn't used to be that way as far as I can remember, so it must have sneaked in somewhere along the road. Using Quit does close Main form and any other form that might still be opened, but isn't advised for GUI and it also leaves some allocations not freed. so not the way to go. How to reproduce: Make a project that opens another form, now close the main form using Me.Close in event and see that only main form gets closed Tested on Mint 13 Maya with Gambas 3.5.4 from Gambas-team stable PPA [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.2.0-68-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=QGtk Language=en_GB.UTF-8 Memory=2446M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 Tested on Lubuntu 14.04 with Gambas 3.5.90 from Gambas-team daily builds PPA (rev#6469 I believe) [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-33-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=LXDE Theme=QGtk Language=en_US.UTF-8 Memory=1002M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...1... Sun Sep 14 16:23:01 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Sep 2014 16:23:01 +0200 Subject: [Gambas-user] Me.close BUG In-Reply-To: <1410703518.5173.8.camel@...3024...> References: <1410703518.5173.8.camel@...3024...> Message-ID: <5415A4C5.1080808@...1...> Le 14/09/2014 16:05, Willy Raets a ?crit : > Hi, > > It came to my attention that closing a Main form with a simple Me.Close > doesn't close any other forms that still might be open. > It didn't used to be that way as far as I can remember, so it must have > sneaked in somewhere along the road. This was automatic before (the first form was the main one), but this is not always desirable. So now you must explicitely define which of your form is the boss, with the Application.MainWindow property. -- Beno?t Minisini From taboege at ...626... Sun Sep 14 16:24:29 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 14 Sep 2014 16:24:29 +0200 Subject: [Gambas-user] Me.close BUG In-Reply-To: <1410703518.5173.8.camel@...3024...> References: <1410703518.5173.8.camel@...3024...> Message-ID: <20140914142429.GA808@...2774...> On Sun, 14 Sep 2014, Willy Raets wrote: > Hi, > > It came to my attention that closing a Main form with a simple Me.Close > doesn't close any other forms that still might be open. > It didn't used to be that way as far as I can remember, so it must have > sneaked in somewhere along the road. > As far as _I_ can remember it was always like this. You can set Application.MainWindow from gb.qt4 (which is initially Null!) to your main form to have all windows closed as soon as the main window is closed. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sun Sep 14 16:29:56 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 14 Sep 2014 16:29:56 +0200 Subject: [Gambas-user] Me.close BUG In-Reply-To: <20140914142429.GA808@...2774...> References: <1410703518.5173.8.camel@...3024...> <20140914142429.GA808@...2774...> Message-ID: <20140914142956.GB808@...2774...> On Sun, 14 Sep 2014, Tobias Boege wrote: > On Sun, 14 Sep 2014, Willy Raets wrote: > > Hi, > > > > It came to my attention that closing a Main form with a simple Me.Close > > doesn't close any other forms that still might be open. > > It didn't used to be that way as far as I can remember, so it must have > > sneaked in somewhere along the road. > > > > As far as _I_ can remember it was always like this. > Seems my memory isn't as good anymore. The change happened in 2011: r3581 | gambas | 2011-02-19 03:21:34 +0100 (Sat, 19 Feb 2011) | 18 lines * NEW: The application main window is not automatically defined anymore. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From willy at ...2734... Sun Sep 14 16:36:39 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 14 Sep 2014 16:36:39 +0200 Subject: [Gambas-user] Me.close BUG In-Reply-To: <5415A4C5.1080808@...1...> References: <1410703518.5173.8.camel@...3024...> <5415A4C5.1080808@...1...> Message-ID: <1410705399.5173.33.camel@...3024...> On zo, 2014-09-14 at 16:23 +0200, Beno?t Minisini wrote: > Le 14/09/2014 16:05, Willy Raets a ?crit : > > Hi, > > > > It came to my attention that closing a Main form with a simple Me.Close > > doesn't close any other forms that still might be open. > > It didn't used to be that way as far as I can remember, so it must have > > sneaked in somewhere along the road. > > This was automatic before (the first form was the main one), but this is > not always desirable. > > So now you must explicitely define which of your form is the boss, with > the Application.MainWindow property. Thanks for the quick response. Seems I've got some work to do on all my projects :) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...2524... Sun Sep 14 16:55:13 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 14 Sep 2014 14:55:13 +0000 Subject: [Gambas-user] Issue 257 in gambas: Database password retrieval error and abort in IDE In-Reply-To: <16-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> References: <16-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> <0-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Message-ID: <17-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #17 on issue 257 by benoit.m... at ...626...: Database password retrieval error and abort in IDE https://code.google.com/p/gambas/issues/detail?id=257 The message is incorrect. Your project actually need the 'gb.desktop' component to be able to access the database passwords stored in the KDE waller / GNOME keyring. As for XFCE, I don't know if it has something like a specific password wallet. At the moment, if the desktop is KDE/KDE4, the KDE waller is used. Otherwise the GNOME 2 keyring is used. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Sun Sep 14 16:57:11 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 14 Sep 2014 16:57:11 +0200 Subject: [Gambas-user] Firebird? Message-ID: <20140914145711.GD808@...2774...> Hi, I have seen in the commit logs that gb.db.firebird does not exist anymore but there are traces of Firebird in the docs, among them: - http://gambaswiki.org/wiki/doc/odbc which implies that firebird can be used through ODBC (I have no clue about that), - http://gambaswiki.org/wiki/install/fedora which lists some firebird packages to install to compile Gambas, - http://gambaswiki.org/wiki/comp/gb.db/connection/type which says we can set Connection.Type = "firebird". Is any of these not meant to be in the docs anymore? I will try to remove wrong information when I understand the situation (and install a warning on gb.db's page because Hans has spent a day installing and configuring firebird until I just found out that it may not be relevant anymore). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Sep 14 17:13:05 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Sep 2014 17:13:05 +0200 Subject: [Gambas-user] Firebird? In-Reply-To: <20140914145711.GD808@...2774...> References: <20140914145711.GD808@...2774...> Message-ID: <5415B081.6010806@...1...> Le 14/09/2014 16:57, Tobias Boege a ?crit : > Hi, > > I have seen in the commit logs that gb.db.firebird does not exist anymore > but there are traces of Firebird in the docs, among them: > > - http://gambaswiki.org/wiki/doc/odbc which implies that firebird can be > used through ODBC (I have no clue about that), > - http://gambaswiki.org/wiki/install/fedora which lists some firebird > packages to install to compile Gambas, > - http://gambaswiki.org/wiki/comp/gb.db/connection/type which says we can > set Connection.Type = "firebird". > > Is any of these not meant to be in the docs anymore? I will try to remove > wrong information when I understand the situation (and install a warning on > gb.db's page because Hans has spent a day installing and configuring > firebird until I just found out that it may not be relevant anymore). > > Regards, > Tobi > Firebird is not GPL-compatible, so I cannot integrate it into Gambas. You can remove any reference to it. Regards, -- Beno?t Minisini From gambas at ...2524... Sun Sep 14 17:14:21 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 14 Sep 2014 15:14:21 +0000 Subject: [Gambas-user] Issue 257 in gambas: Database password retrieval error and abort in IDE In-Reply-To: <17-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> References: <17-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> <0-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Message-ID: <18-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Comment #18 on issue 257 by benoit.m... at ...626...: Database password retrieval error and abort in IDE https://code.google.com/p/gambas/issues/detail?id=257 The message is incorrect. Your project actually needs the 'gb.desktop' component to be able to access the database passwords stored in the KDE wallet / GNOME keyring. As for XFCE, I don't know if it has something like a specific password wallet. At the moment, if the desktop is KDE/KDE4, the KDE wallet is used. Otherwise the GNOME 2 keyring is used. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From willy at ...2734... Sun Sep 14 17:25:33 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 14 Sep 2014 17:25:33 +0200 Subject: [Gambas-user] Firebird? In-Reply-To: <20140914145711.GD808@...2774...> References: <20140914145711.GD808@...2774...> Message-ID: <1410708333.5173.43.camel@...3024...> On zo, 2014-09-14 at 16:57 +0200, Tobias Boege wrote: > Hi, > > I have seen in the commit logs that gb.db.firebird does not exist anymore > but there are traces of Firebird in the docs, among them: > > - http://gambaswiki.org/wiki/doc/odbc which implies that firebird can be > used through ODBC (I have no clue about that), ODBC stands for Open Database Connectivity. Any database system supporting ODBC can be accessed. I believe that goes for Firebird (never ever used it, but most DBMS support it) > - http://gambaswiki.org/wiki/install/fedora which lists some firebird > packages to install to compile Gambas, I haven't written the compilation instructions, but do not believe that any firebird packages are needed for Gambas installation (that might be a historical left over from Gambas 2) Have you encountered any firebird packages in the compilation instructions for other distributions? > - http://gambaswiki.org/wiki/comp/gb.db/connection/type which says we can > set Connection.Type = "firebird". I guess another historical left over. I believe there used to be a firebird component in Gambas 2, but because of firebird licenses not being conform GNU General Public license, it was removed from Gambas. > Is any of these not meant to be in the docs anymore? I will try to remove > wrong information when I understand the situation (and install a warning on > gb.db's page because Hans has spent a day installing and configuring > firebird until I just found out that it may not be relevant anymore). > Beno?t should know for sure. > Regards, > Tobi > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From epost at ...3323... Sun Sep 14 19:16:02 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sun, 14 Sep 2014 19:16:02 +0200 Subject: [Gambas-user] Error when project's build folder has been relocated Message-ID: <5415CD52.5080805@...3323...> If I move my project's build folder (where I store the install packages) to a new place (and the IDE is NOT running of course), and then open the project in the IDE and try to make a install package, I get this error (see attached screenshot). Here the path in the error is the old path I used to export to. Now I have to make that folder in order to get the make install package dialog to open. -------------- next part -------------- A non-text attachment was scrubbed... Name: make-install-package.png Type: image/png Size: 33422 bytes Desc: not available URL: From gambas at ...1... Sun Sep 14 21:06:12 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Sep 2014 21:06:12 +0200 Subject: [Gambas-user] How to auto-reload webview In-Reply-To: References: Message-ID: <5415E724.5080805@...1...> Le 03/09/2014 22:57, Antonio S?nchez a ?crit : > In this project, when I try to change fonts, Webview1 need right click and > select "reload" to show new font choosen. Is there any way to auto-refresh > or auto-reload the page showed in Webview1? > > > I tried with webview1.reload() and webview1.refresh(), but this doesn't > work. > > > Thanks. > You can try webview1.Reload(True) with a recent development version, or you can assign the URL property again. Regards, -- Beno?t Minisini From gambas at ...1... Sun Sep 14 21:06:18 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 14 Sep 2014 21:06:18 +0200 Subject: [Gambas-user] Error when project's build folder has been relocated In-Reply-To: <5415CD52.5080805@...3323...> References: <5415CD52.5080805@...3323...> Message-ID: <5415E72A.2090102@...1...> Le 14/09/2014 19:16, J?rn Erik M?rne a ?crit : > If I move my project's build folder (where I store the install packages) > to a new place (and the IDE is NOT running of course), and then open the > project in the IDE and try to make a install package, I get this error > (see attached screenshot). > > > > Here the path in the error is the old path I used to export to. Now I > have to make that folder in order to get the make install package dialog > to open. > It should be fixed in revision #6476. Regards, -- Beno?t Minisini From olivier.cruilles at ...614... Sun Sep 14 21:41:55 2014 From: olivier.cruilles at ...614... (Yahoo) Date: Sun, 14 Sep 2014 15:41:55 -0400 Subject: [Gambas-user] Webview picture display. Message-ID: Hello all, I'm trying to display pictures into a Webview object. It works well when the HTML page to display come from a file but I don't know how to do the same by injecting HTML text into the Webview object. I don't know how to link image in this case. Does someone have an idea of how to do that please ? Olivier From gambas at ...2524... Mon Sep 15 05:29:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 15 Sep 2014 03:29:22 +0000 Subject: [Gambas-user] Issue 558 in gambas: Gambas is missing a Radio Menu Item In-Reply-To: <2-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> <0-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 558 by benoit.m... at ...626...: Gambas is missing a Radio Menu Item https://code.google.com/p/gambas/issues/detail?id=558 Done in revision #6477. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Sep 15 09:15:50 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 15 Sep 2014 07:15:50 +0000 Subject: [Gambas-user] Issue 557 in gambas: Stack Overflow In-Reply-To: <13-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> References: <13-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Message-ID: <14-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> Comment #14 on issue 557 by lukadisanto: Stack Overflow https://code.google.com/p/gambas/issues/detail?id=557 I add gambas3 daily ppa and i see that gambas start with FaenzaFlattr icons. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jleake at ...3375... Mon Sep 15 21:14:35 2014 From: jleake at ...3375... (John Leake) Date: Mon, 15 Sep 2014 20:14:35 +0100 Subject: [Gambas-user] Modules Message-ID: <54173A9B.5050308@...3375...> Hi All, I am really struggling with the Gambas 3 documentation. Can anyone tell me where I can find out what constitutes a 'module' ? Best regards, John Leake From gambas at ...1... Mon Sep 15 21:25:12 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 15 Sep 2014 21:25:12 +0200 Subject: [Gambas-user] Modules In-Reply-To: <54173A9B.5050308@...3375...> References: <54173A9B.5050308@...3375...> Message-ID: <54173D18.8010607@...1...> Le 15/09/2014 21:14, John Leake a ?crit : > Hi All, > > I am really struggling with the Gambas 3 documentation. > > Can anyone tell me where I can find out what constitutes a 'module' ? > > Best regards, > John Leake > A module is just a class whose all methods and properties are static. It's a thing coming from Visual Basic. -- Beno?t Minisini From jleake at ...3375... Mon Sep 15 21:29:17 2014 From: jleake at ...3375... (John Leake) Date: Mon, 15 Sep 2014 20:29:17 +0100 Subject: [Gambas-user] Modules In-Reply-To: <54173D18.8010607@...1...> References: <54173A9B.5050308@...3375...> <54173D18.8010607@...1...> Message-ID: <54173E0D.3020702@...3375...> > A module is just a class whose all methods and properties are static. > It's a thing coming from Visual Basic. > Thank you. When and how is an instance instantiated ? From taboege at ...626... Mon Sep 15 21:30:38 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 15 Sep 2014 21:30:38 +0200 Subject: [Gambas-user] Modules In-Reply-To: <54173A9B.5050308@...3375...> References: <54173A9B.5050308@...3375...> Message-ID: <20140915193038.GB4437@...2774...> On Mon, 15 Sep 2014, John Leake wrote: > Hi All, > > I am really struggling with the Gambas 3 documentation. > > Can anyone tell me where I can find out what constitutes a 'module' ? > See [0]: "A static class is a class whose all members are static (see below). In Gambas, a static class is also named a module." Regards, Tobi [0] http://gambaswiki.org/wiki/doc/object-model -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Sep 15 21:36:04 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 15 Sep 2014 21:36:04 +0200 Subject: [Gambas-user] Modules In-Reply-To: <54173E0D.3020702@...3375...> References: <54173A9B.5050308@...3375...> <54173D18.8010607@...1...> <54173E0D.3020702@...3375...> Message-ID: <54173FA4.6000002@...1...> Le 15/09/2014 21:29, John Leake a ?crit : >> A module is just a class whose all methods and properties are static. >> It's a thing coming from Visual Basic. >> > Thank you. When and how is an instance instantiated ? > It's static, that means it cannot be instantiated. -- Beno?t Minisini From jleake at ...3375... Mon Sep 15 21:43:38 2014 From: jleake at ...3375... (John Leake) Date: Mon, 15 Sep 2014 20:43:38 +0100 Subject: [Gambas-user] Modules In-Reply-To: <54173FA4.6000002@...1...> References: <54173A9B.5050308@...3375...> <54173D18.8010607@...1...> <54173E0D.3020702@...3375...> <54173FA4.6000002@...1...> Message-ID: <5417416A.9080907@...3375...> What scope do Functions/Subs and variables have when defined or declared within a module ? From gambas at ...1... Mon Sep 15 21:46:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 15 Sep 2014 21:46:40 +0200 Subject: [Gambas-user] Modules In-Reply-To: <5417416A.9080907@...3375...> References: <54173A9B.5050308@...3375...> <54173D18.8010607@...1...> <54173E0D.3020702@...3375...> <54173FA4.6000002@...1...> <5417416A.9080907@...3375...> Message-ID: <54174220.30506@...1...> Le 15/09/2014 21:43, John Leake a ?crit : > What scope do Functions/Subs and variables have when defined or declared > within a module ? > Private by default. It's like a class, except everything is static. -- Beno?t Minisini From jleake at ...3375... Mon Sep 15 23:52:17 2014 From: jleake at ...3375... (John Leake) Date: Mon, 15 Sep 2014 22:52:17 +0100 Subject: [Gambas-user] Modules In-Reply-To: <54174220.30506@...1...> References: <54173A9B.5050308@...3375...> <54173D18.8010607@...1...> <54173E0D.3020702@...3375...> <54173FA4.6000002@...1...> <5417416A.9080907@...3375...> <54174220.30506@...1...> Message-ID: <54175F91.2000102@...3375...> > > Private by default. It's like a class, except everything is static. > So if I have a module containing some general purpose functions that I wish to share across all the forms in a project, can simply declare these functions as Public within the module ? From gambas at ...1... Tue Sep 16 00:03:22 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 16 Sep 2014 00:03:22 +0200 Subject: [Gambas-user] Modules In-Reply-To: <54175F91.2000102@...3375...> References: <54173A9B.5050308@...3375...> <54173D18.8010607@...1...> <54173E0D.3020702@...3375...> <54173FA4.6000002@...1...> <5417416A.9080907@...3375...> <54174220.30506@...1...> <54175F91.2000102@...3375...> Message-ID: <5417622A.6070303@...1...> Le 15/09/2014 23:52, John Leake a ?crit : >> >> Private by default. It's like a class, except everything is static. >> > So if I have a module containing some general purpose functions that I > wish to share across all the forms in a project, can simply declare > these functions as Public within the module ? > Yes. -- Beno?t Minisini From bbruen at ...2308... Tue Sep 16 01:02:46 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 16 Sep 2014 08:32:46 +0930 Subject: [Gambas-user] Modules In-Reply-To: <5417622A.6070303@...1...> References: <54173A9B.5050308@...3375...> <54173D18.8010607@...1...> <54173E0D.3020702@...3375...> <54173FA4.6000002@...1...> <5417416A.9080907@...3375...> <54174220.30506@...1...> <54175F91.2000102@...3375...> <5417622A.6070303@...1...> Message-ID: <20140916083246.276992dc0cea17a64d04060b@...2308...> On Tue, 16 Sep 2014 00:03:22 +0200 Beno?t Minisini wrote: > Le 15/09/2014 23:52, John Leake a ?crit : > >> > >> Private by default. It's like a class, except everything is static. > >> > > So if I have a module containing some general purpose functions that I > > wish to share across all the forms in a project, can simply declare > > these functions as Public within the module ? > > > > Yes. > > -- > Beno?t Minisini > Also, if you need to share objects around the various parts of the project you can declare them in the module as either public variables or (if you want to add some shareable features) as properties of the module. However, remember this: As you are accessing static features you need to explicitly use the module name qualifier when you reference them in other code. So for example: in module "MyUtil" Public CurrentCustomer As CCustomer Public Sub Execute_Current_Customer(PrejudiceLevel As Integer) CurrentCustomer = Null End in, say, "FMain" Public Sub Load(CustID) MyUtil.CurrentCustomer.Load(CustID) If MyUtil.CurrentCustomer.IsLatePayer then MyUtil.Execute_Current_Customer(iExtreme) EndIf etc hth Bruce -- B Bruen Note: temporary change to email address From gambas at ...1... Tue Sep 16 01:50:05 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 16 Sep 2014 01:50:05 +0200 Subject: [Gambas-user] Planning the release of Gambas 3.6... Message-ID: <54177B2D.2000603@...1...> Hi, I plan to release Gambas 3.6 "soon" (not immediately). I want to release Gambas 3.6 as soon as possible, as there is a lot of important bug fixes in it that cannot really be backported to Gambas 3.5. If someone has a very important bug that is not fixed yet, or a needed feature that should be implement before, you must tell now. And I will see what I can do. :-) Regards, -- Beno?t Minisini From gambas at ...1... Tue Sep 16 02:03:59 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 16 Sep 2014 02:03:59 +0200 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 Message-ID: <54177E6F.2090908@...1...> Hi again, For the next version, I'd like to implement a Gambas dedicated software repository. Here are my current thoughts about it, and I'd like to hear comments and ideas from you. I want to start with something as simple as possible first... 1) The Gambas repository is an http web service, but without website at the moment. It will allow to: - upload software. - search for software. - download software. 2) A software is a compiled Gambas project, with eventually the source project. Nothing more. 3) In the IDE, I will add a dialog to upload your project. 4) Uploading a project requires: - a login and a password, so you should be able to create an account from the IDE. - a project name. - a project description. - a project icon. - a project screenshot (optional). - a project major version. - tags. Some tags will be automatic (for example the component used by the project), some will be predefined. - a project control sum (MD5/SHA...). 5) I will made an external Gambas program to: - Search for projects inside the repository. - Download and install a project somewhere in the user home directory. 6) That program should be able to know how to install the needed gambas binary packages according to the system distribution. If it is not possible, it should at least warn the user about missing components. 7) A Gambas program may depend on other programs in the repository. That way libraries will be able to be put in the repository too. 8) Gambas examples will be moved from the source tree to the repository. 9) The repository will be able to include the same program in different X.Y versions. 10) The web service protocol will be documented, and the server will be a GPL Gambas project, so that anybody can bring up its own repository if needed. 11) Consequently, we should be able to define different source repositories (like Ubuntu ppas) for downloading, and different targets for publishing. Now just tell me what you think about that. -- Beno?t Minisini From willy at ...2734... Tue Sep 16 02:04:08 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 16 Sep 2014 02:04:08 +0200 Subject: [Gambas-user] Planning the release of Gambas 3.6... In-Reply-To: <54177B2D.2000603@...1...> References: <54177B2D.2000603@...1...> Message-ID: <1410825848.7421.4.camel@...3024...> On di, 2014-09-16 at 01:50 +0200, Beno?t Minisini wrote: > Hi, > > I plan to release Gambas 3.6 "soon" (not immediately). > > I want to release Gambas 3.6 as soon as possible, as there is a lot of > important bug fixes in it that cannot really be backported to Gambas 3.5. > If someone has a very important bug that is not fixed yet, or a needed > feature that should be implement before, you must tell now. Will the gb.smtp component have the authentication fix? That is about the most important thing I'm waiting for. > > And I will see what I can do. :-) > > Regards, > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From rmorgan62 at ...626... Tue Sep 16 02:21:57 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 15 Sep 2014 17:21:57 -0700 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: <54177E6F.2090908@...1...> References: <54177E6F.2090908@...1...> Message-ID: Just my thoughts, I think a web front end for the website to allow searching of project would be important. Also, perhaps projects should be sorted into components and programs... On Mon, Sep 15, 2014 at 5:03 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi again, > > For the next version, I'd like to implement a Gambas dedicated software > repository. > > Here are my current thoughts about it, and I'd like to hear comments and > ideas from you. I want to start with something as simple as possible > first... > > 1) The Gambas repository is an http web service, but without website at > the moment. It will allow to: > - upload software. > - search for software. > - download software. > > 2) A software is a compiled Gambas project, with eventually the source > project. Nothing more. > > 3) In the IDE, I will add a dialog to upload your project. > > 4) Uploading a project requires: > - a login and a password, so you should be able to create an account > from the IDE. > - a project name. > - a project description. > - a project icon. > - a project screenshot (optional). > - a project major version. > - tags. Some tags will be automatic (for example the component used by > the project), some will be predefined. > - a project control sum (MD5/SHA...). > > 5) I will made an external Gambas program to: > - Search for projects inside the repository. > - Download and install a project somewhere in the user home directory. > > 6) That program should be able to know how to install the needed gambas > binary packages according to the system distribution. If it is not > possible, it should at least warn the user about missing components. > > 7) A Gambas program may depend on other programs in the repository. That > way libraries will be able to be put in the repository too. > > 8) Gambas examples will be moved from the source tree to the repository. > > 9) The repository will be able to include the same program in different > X.Y versions. > > 10) The web service protocol will be documented, and the server will be > a GPL Gambas project, so that anybody can bring up its own repository if > needed. > > 11) Consequently, we should be able to define different source > repositories (like Ubuntu ppas) for downloading, and different targets > for publishing. > > Now just tell me what you think about that. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...1... Tue Sep 16 02:35:52 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 16 Sep 2014 02:35:52 +0200 Subject: [Gambas-user] Planning the release of Gambas 3.6... In-Reply-To: <1410827159.7421.8.camel@...3024...> References: <54177B2D.2000603@...1...> <1410825848.7421.4.camel@...3024...> <54178253.2070000@...1...> <1410827159.7421.8.camel@...3024...> Message-ID: <541785E8.80805@...1...> Le 16/09/2014 02:25, Willy Raets a ?crit : > On di, 2014-09-16 at 02:20 +0200, Beno?t Minisini wrote: >> Le 16/09/2014 02:04, Willy Raets a ?crit : >>> On di, 2014-09-16 at 01:50 +0200, Beno?t Minisini wrote: >>>> Hi, >>>> >>>> I plan to release Gambas 3.6 "soon" (not immediately). >>>> >>>> I want to release Gambas 3.6 as soon as possible, as there is a lot of >>>> important bug fixes in it that cannot really be backported to Gambas 3.5. >>>> If someone has a very important bug that is not fixed yet, or a needed >>>> feature that should be implement before, you must tell now. >>> >>> Will the gb.smtp component have the authentication fix? That is about >>> the most important thing I'm waiting for. >>> >> >> It's fixed in /trunk, unless you are talking about another bug I'm not >> aware of. > > I know it is fixed in trunk and I have tested the fix to work, but you > wrote that gb.smtp was unfinished (as you were rewriting the component) > and not sure it would make the 3.6 release. > So, does it make the 3.6 release or will it be in the 3.7 release? > In Gambas 3.6. It's fixed in /trunk, and /trunk is the next Gambas 3.6. -- Beno?t Minisini From willy at ...2734... Tue Sep 16 02:37:35 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 16 Sep 2014 02:37:35 +0200 Subject: [Gambas-user] Planning the release of Gambas 3.6... In-Reply-To: <541785E8.80805@...1...> References: <54177B2D.2000603@...1...> <1410825848.7421.4.camel@...3024...> <54178253.2070000@...1...> <1410827159.7421.8.camel@...3024...> <541785E8.80805@...1...> Message-ID: <1410827855.7421.9.camel@...3024...> On di, 2014-09-16 at 02:35 +0200, Beno?t Minisini wrote: > Le 16/09/2014 02:25, Willy Raets a ?crit : > > On di, 2014-09-16 at 02:20 +0200, Beno?t Minisini wrote: > >> Le 16/09/2014 02:04, Willy Raets a ?crit : > >>> On di, 2014-09-16 at 01:50 +0200, Beno?t Minisini wrote: > >>>> Hi, > >>>> > >>>> I plan to release Gambas 3.6 "soon" (not immediately). > >>>> > >>>> I want to release Gambas 3.6 as soon as possible, as there is a lot of > >>>> important bug fixes in it that cannot really be backported to Gambas 3.5. > >>>> If someone has a very important bug that is not fixed yet, or a needed > >>>> feature that should be implement before, you must tell now. > >>> > >>> Will the gb.smtp component have the authentication fix? That is about > >>> the most important thing I'm waiting for. > >>> > >> > >> It's fixed in /trunk, unless you are talking about another bug I'm not > >> aware of. > > > > I know it is fixed in trunk and I have tested the fix to work, but you > > wrote that gb.smtp was unfinished (as you were rewriting the component) > > and not sure it would make the 3.6 release. > > So, does it make the 3.6 release or will it be in the 3.7 release? > > > > In Gambas 3.6. It's fixed in /trunk, and /trunk is the next Gambas 3.6. Great, Thank you very much. > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From t.lee.davidson at ...626... Tue Sep 16 03:26:30 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Mon, 15 Sep 2014 21:26:30 -0400 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: <54177E6F.2090908@...1...> References: <54177E6F.2090908@...1...> Message-ID: <541791C6.2090303@...626...> If I recall correctly, this idea has come up before. And, I think it's a great idea. Good to hear there is "official" support for it with a project in planning. I think Randall's suggestion of a web front end is a good idea. That would expose the software, and Gambas itself, to a larger audience than just those who have the external Search/Download Gambas program installed. > 3) In the IDE, I will add a dialog to upload your project. Restricting the ability to upload software to within the IDE and, hence, only those who have Gambas installed is a good idea. I do marketing, and I know there are unscrupulous marketers out there who will abuse any site they can just to make a buck. (Note: I do not consider *anyone* on this list to be in that category.) > 4) Uploading a project requires: > - a project screenshot (optional). Maybe multiple screenshots optional? Eventually? > - tags. Some tags will be automatic (for example the component used by > the project), some will be predefined. I also think software should be categorized especially if a web front end is implemented. But, perhaps predefined tags would cover that. > I want to start with something as simple as possible first... What you have proposed, Beno?t, does not sound very simple ;-) Very cool, yes! But not simple. And in the interest of simple-at-first, I would like to add to a *future* wishlist: 12) A feedback/support venue similar in concept to what is provided on wordpress.org for themes and plugins. This would quite likely require the implementation of a web front-end, but maybe not. I think this is exciting! You will let us know how we can help, won't you, Beno?t? Lee On 09/15/2014 08:03 PM, Beno?t Minisini wrote: > Hi again, > > For the next version, I'd like to implement a Gambas dedicated software > repository. > > Here are my current thoughts about it, and I'd like to hear comments and > ideas from you. I want to start with something as simple as possible > first... > > 1) The Gambas repository is an http web service, but without website at > the moment. It will allow to: > - upload software. > - search for software. > - download software. > > 2) A software is a compiled Gambas project, with eventually the source > project. Nothing more. > > 3) In the IDE, I will add a dialog to upload your project. > > 4) Uploading a project requires: > - a login and a password, so you should be able to create an account > from the IDE. > - a project name. > - a project description. > - a project icon. > - a project screenshot (optional). > - a project major version. > - tags. Some tags will be automatic (for example the component used by > the project), some will be predefined. > - a project control sum (MD5/SHA...). > > 5) I will made an external Gambas program to: > - Search for projects inside the repository. > - Download and install a project somewhere in the user home directory. > > 6) That program should be able to know how to install the needed gambas > binary packages according to the system distribution. If it is not > possible, it should at least warn the user about missing components. > > 7) A Gambas program may depend on other programs in the repository. That > way libraries will be able to be put in the repository too. > > 8) Gambas examples will be moved from the source tree to the repository. > > 9) The repository will be able to include the same program in different > X.Y versions. > > 10) The web service protocol will be documented, and the server will be > a GPL Gambas project, so that anybody can bring up its own repository if > needed. > > 11) Consequently, we should be able to define different source > repositories (like Ubuntu ppas) for downloading, and different targets > for publishing. > > Now just tell me what you think about that. > From olivier.cruilles at ...614... Tue Sep 16 04:30:17 2014 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Mon, 15 Sep 2014 22:30:17 -0400 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: <541791C6.2090303@...626...> References: <54177E6F.2090908@...1...> <541791C6.2090303@...626...> Message-ID: Salut Benoit, J'?cris en fran?ais car je sais pas le dire en anglais. A chaque fois que tu nous annonces une nouvelle ou une id?e que tu as je reste sur le cul, litt?ralement. Excellente id?e comme toujours...merci Olivier Cruilles Le 15 sept. 2014 ? 21:26, T Lee Davidson a ?crit : > If I recall correctly, this idea has come up before. And, I think it's a > great idea. Good to hear there is "official" support for it with a > project in planning. > > I think Randall's suggestion of a web front end is a good idea. That > would expose the software, and Gambas itself, to a larger audience than > just those who have the external Search/Download Gambas program installed. > > >> 3) In the IDE, I will add a dialog to upload your project. > > Restricting the ability to upload software to within the IDE and, hence, > only those who have Gambas installed is a good idea. I do marketing, and > I know there are unscrupulous marketers out there who will abuse any > site they can just to make a buck. (Note: I do not consider *anyone* on > this list to be in that category.) > > >> 4) Uploading a project requires: >> - a project screenshot (optional). > > Maybe multiple screenshots optional? Eventually? > >> - tags. Some tags will be automatic (for example the component used by >> the project), some will be predefined. > > I also think software should be categorized especially if a web front > end is implemented. But, perhaps predefined tags would cover that. > > >> I want to start with something as simple as possible first... > > What you have proposed, Beno?t, does not sound very simple ;-) Very > cool, yes! But not simple. > > And in the interest of simple-at-first, I would like to add to a > *future* wishlist: > > 12) A feedback/support venue similar in concept to what is provided on > wordpress.org for themes and plugins. This would quite likely require > the implementation of a web front-end, but maybe not. > > > I think this is exciting! You will let us know how we can help, won't > you, Beno?t? > > > Lee > > > On 09/15/2014 08:03 PM, Beno?t Minisini wrote: >> Hi again, >> >> For the next version, I'd like to implement a Gambas dedicated software >> repository. >> >> Here are my current thoughts about it, and I'd like to hear comments and >> ideas from you. I want to start with something as simple as possible >> first... >> >> 1) The Gambas repository is an http web service, but without website at >> the moment. It will allow to: >> - upload software. >> - search for software. >> - download software. >> >> 2) A software is a compiled Gambas project, with eventually the source >> project. Nothing more. >> >> 3) In the IDE, I will add a dialog to upload your project. >> >> 4) Uploading a project requires: >> - a login and a password, so you should be able to create an account >> from the IDE. >> - a project name. >> - a project description. >> - a project icon. >> - a project screenshot (optional). >> - a project major version. >> - tags. Some tags will be automatic (for example the component used by >> the project), some will be predefined. >> - a project control sum (MD5/SHA...). >> >> 5) I will made an external Gambas program to: >> - Search for projects inside the repository. >> - Download and install a project somewhere in the user home directory. >> >> 6) That program should be able to know how to install the needed gambas >> binary packages according to the system distribution. If it is not >> possible, it should at least warn the user about missing components. >> >> 7) A Gambas program may depend on other programs in the repository. That >> way libraries will be able to be put in the repository too. >> >> 8) Gambas examples will be moved from the source tree to the repository. >> >> 9) The repository will be able to include the same program in different >> X.Y versions. >> >> 10) The web service protocol will be documented, and the server will be >> a GPL Gambas project, so that anybody can bring up its own repository if >> needed. >> >> 11) Consequently, we should be able to define different source >> repositories (like Ubuntu ppas) for downloading, and different targets >> for publishing. >> >> Now just tell me what you think about that. >> > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ihaywood3 at ...626... Tue Sep 16 05:05:14 2014 From: ihaywood3 at ...626... (Ian Haywood) Date: Tue, 16 Sep 2014 13:05:14 +1000 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: <54177E6F.2090908@...1...> References: <54177E6F.2090908@...1...> Message-ID: On Tue, Sep 16, 2014 at 10:03 AM, Beno?t Minisini wrote: > 7) A Gambas program may depend on other programs in the repository. That > way libraries will be able to be put in the repository too. currently libraries must sit in a directory on $PATH. On most systems all directories in $PATH are not user-writable. Therefore a user cannot install libraries that compiled programs can use AFAICT I've proposed this before I know: a separate environment variable for directories to search, presumably GAMBASPATH (like PYTHONPATH, or Java's CLASSPATH) This would also help with my .project/.startup svn issue (which can't be fixed by Gambas directly as there is a lot of non-Gambas stuff in our repo) Ian From gambas at ...2524... Tue Sep 16 07:11:35 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 16 Sep 2014 05:11:35 +0000 Subject: [Gambas-user] Issue 559 in gambas: default charset is not unicode Message-ID: <0-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.5.4 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 559 by isaf... at ...626...: default charset is not unicode https://code.google.com/p/gambas/issues/detail?id=559 1) Describe the problem. According to Gambas 3 documentation when I create database and tables using database-independent method then it creates in unicode charset. But the table or field charset is not unicode when I create table in mariadb 10. 2) Give information about your system. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-35-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=1945M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Database: Mariadb 10 3) Provide a little project that reproduces the bug or the crash. Create a table: Dim hTable As Table If Not $con.Tables.Exist("tblextra") Then hTable = $con.Tables.Add("tblextra") hTable.Fields.Add("fldid", db.Serial) hTable.Fields.Add("fldextraid", gb.String, 200) hTable.PrimaryKey = ["fldid"] hTable.Update Endif Check collation and charset of table and fields using phpmyadmin. You won't find unicode. Insert a sentence in unicode character. When you output same sentence in textbox or textarea you get something like "????" -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jleake at ...3375... Tue Sep 16 07:50:31 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 06:50:31 +0100 Subject: [Gambas-user] Planning the release of Gambas 3.6... In-Reply-To: <54177B2D.2000603@...1...> References: <54177B2D.2000603@...1...> Message-ID: <5417CFA7.3000709@...3375...> Any chance of adding opacity and colour to simple controls ? From chrisml at ...3340... Tue Sep 16 07:59:58 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 16 Sep 2014 07:59:58 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <20140912085200.GA976@...2774...> (sfid-) References: <20140911175758.GJ1564@...2774...> <54121BED.3060008@...3340...> <20140911223428.GM1564@...2774...> <54129701.9030500@...3340...> <20140912085200.GA976@...2774...> (sfid-) Message-ID: <5417D1DE.6030306@...3340...> Hi Tobias, Am 12.09.2014 um 10:52 schrieb Tobias Boege: >>> Have you tested that? Do you have a patch for the project? Did a correction, please test it. Now it should not hang any more and work as expected. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: KontakteMySQL-0.1.26.tar.gz Type: application/gzip Size: 12128 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From rolf.frogs at ...221... Tue Sep 16 09:46:48 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 16 Sep 2014 09:46:48 +0200 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: <54177E6F.2090908@...1...> References: <54177E6F.2090908@...1...> Message-ID: <201409160946.50060.rolf.frogs@...221...> Hi Beno?t > For the next version, I'd like to implement a Gambas dedicated software > repository. It sounds good > 1) The Gambas repository is an http web service, but without website at > the moment. It will allow to: > - upload software. > - search for software. > - download software. > > 2) A software is a compiled Gambas project, with eventually the source > project. Nothing more. > > 3) In the IDE, I will add a dialog to upload your project. > > 4) Uploading a project requires: > - a login and a password, so you should be able to create an account > from the IDE. > - a project name. > - a project description. > - a project icon. > - a project screenshot (optional). > - a project major version. > - tags. Some tags will be automatic (for example the component used by > the project), some will be predefined. > - a project control sum (MD5/SHA...). > > 5) I will made an external Gambas program to: > - Search for projects inside the repository. > - Download and install a project somewhere in the user home directory. > > 6) That program should be able to know how to install the needed gambas > binary packages according to the system distribution. If it is not > possible, it should at least warn the user about missing components. > > 7) A Gambas program may depend on other programs in the repository. That > way libraries will be able to be put in the repository too. > > 8) Gambas examples will be moved from the source tree to the repository. That is not a good idea in my opinion, because one cannot start programming or look at examples without an internet connection. A set of basic examples should still be installed locally, when install gambas. Just my 2 ct. Rolf From taboege at ...626... Tue Sep 16 09:44:39 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 16 Sep 2014 09:44:39 +0200 Subject: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser In-Reply-To: <5417D1DE.6030306@...3340...> References: <20140911175758.GJ1564@...2774...> <54121BED.3060008@...3340...> <20140911223428.GM1564@...2774...> <54129701.9030500@...3340...> <20140912085200.GA976@...2774...> <5417D1DE.6030306@...3340...> Message-ID: <20140916074439.GD4437@...2774...> On Tue, 16 Sep 2014, Christof Thalhofer wrote: > Hi Tobias, > > Am 12.09.2014 um 10:52 schrieb Tobias Boege: > > >>> Have you tested that? Do you have a patch for the project? > > Did a correction, please test it. Now it should not hang any more and > work as expected. > Thank you! Attached is the patch corresponding to your change (just for completeness; I like patches better). I will send it to Hans as I'm running a more recent Gambas version in which the hang does not occur in the first place (with the original project). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: KontakteMySQL-0.1.24~KontakteMySQL-0.1.26.patch Type: text/x-diff-8bit Size: 11782 bytes Desc: not available URL: From gambas at ...1... Tue Sep 16 10:22:17 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 16 Sep 2014 10:22:17 +0200 Subject: [Gambas-user] Planning the release of Gambas 3.6... In-Reply-To: <5417CFA7.3000709@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> Message-ID: <5417F339.30000@...1...> Le 16/09/2014 07:50, John Leake a ?crit : > Any chance of adding opacity and colour to simple controls ? > You can already assign a transparent background color to controls. But: - toolkits don't support global opacity for one control. Or at least I didn't see where! - toolkits do not take background and foreground colors into account necessarily. It depends on the underlying widget theme. Regards, -- Beno?t Minisini From jusabejusabe at ...626... Tue Sep 16 10:43:18 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 16 Sep 2014 10:43:18 +0200 Subject: [Gambas-user] Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas Message-ID: Benoit: Request for improvement or expansion: Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas It would be a simple and easy way to add simple facts pluggins to ide gambas Regards Julio From jusabejusabe at ...626... Tue Sep 16 10:44:56 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 16 Sep 2014 10:44:56 +0200 Subject: [Gambas-user] Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas In-Reply-To: References: Message-ID: Note: You could also add a new menu with several configurable item 2014-09-16 10:43 GMT+02:00 Julio Sanchez : > Benoit: > > Request for improvement or expansion: > > Add configurable toolbar buttons within the IDE to assign external > programs and / or executables .gambas > > It would be a simple and easy way to add simple facts pluggins to ide > gambas > > Regards > > Julio > From rmorgan62 at ...626... Tue Sep 16 10:55:05 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 16 Sep 2014 01:55:05 -0700 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: <201409160946.50060.rolf.frogs@...221...> References: <54177E6F.2090908@...1...> <201409160946.50060.rolf.frogs@...221...> Message-ID: I would allow the user to chose during installation if basic help files and basic example files were to be downloaded locally. But let the user know that there are more available online. That way those like myself who often travel to where there is no internet can decide what they need to take with them. On Tue, Sep 16, 2014 at 12:46 AM, rolf wrote: > > Hi Beno?t > > > For the next version, I'd like to implement a Gambas dedicated software > > repository. > It sounds good > > > 1) The Gambas repository is an http web service, but without website at > > the moment. It will allow to: > > - upload software. > > - search for software. > > - download software. > > > > 2) A software is a compiled Gambas project, with eventually the source > > project. Nothing more. > > > > 3) In the IDE, I will add a dialog to upload your project. > > > > 4) Uploading a project requires: > > - a login and a password, so you should be able to create an account > > from the IDE. > > - a project name. > > - a project description. > > - a project icon. > > - a project screenshot (optional). > > - a project major version. > > - tags. Some tags will be automatic (for example the component used by > > the project), some will be predefined. > > - a project control sum (MD5/SHA...). > > > > 5) I will made an external Gambas program to: > > - Search for projects inside the repository. > > - Download and install a project somewhere in the user home directory. > > > > 6) That program should be able to know how to install the needed gambas > > binary packages according to the system distribution. If it is not > > possible, it should at least warn the user about missing components. > > > > 7) A Gambas program may depend on other programs in the repository. That > > way libraries will be able to be put in the repository too. > > > > 8) Gambas examples will be moved from the source tree to the repository. > That is not a good idea in my opinion, because one cannot start > programming or > look at examples without an internet connection. A set of basic examples > should still be installed locally, when install gambas. > > Just my 2 ct. > Rolf > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...1... Tue Sep 16 10:57:13 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 16 Sep 2014 10:57:13 +0200 Subject: [Gambas-user] Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas In-Reply-To: References: Message-ID: <5417FB69.2030904@...1...> Le 16/09/2014 10:44, Julio Sanchez a ?crit : > Note: > You could also add a new menu with several configurable item > > 2014-09-16 10:43 GMT+02:00 Julio Sanchez : > >> Benoit: >> >> Request for improvement or expansion: >> >> Add configurable toolbar buttons within the IDE to assign external >> programs and / or executables .gambas >> >> It would be a simple and easy way to add simple facts pluggins to ide >> gambas >> >> Regards >> >> Julio >> Can you post a "enhancement" issue about that into the issue tracker? If not already done of course! -- Beno?t Minisini From gambas at ...2524... Tue Sep 16 11:13:28 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 16 Sep 2014 09:13:28 +0000 Subject: [Gambas-user] Issue 559 in gambas: default charset is not unicode In-Reply-To: <0-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version-3.5.4 Version-3.5.0 Comment #1 on issue 559 by benoit.m... at ...626...: default charset is not unicode https://code.google.com/p/gambas/issues/detail?id=559 Please tell me where you read that in the documentation, because it is false. The database component does not specify the collation nor the charset when creating a table, so you get what the default is in your database server. I will check other DBMS to see how to specify collation and charset. Maybe I will be able to add that feature to the database component. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Sep 16 11:20:31 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 16 Sep 2014 09:20:31 +0000 Subject: [Gambas-user] Issue 560 in gambas: Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas Message-ID: <0-6813199134517018827-177981621960447893-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 560 by torredel... at ...626...: Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas https://code.google.com/p/gambas/issues/detail?id=560 Request for improvement or expansion: Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas It would be a simple and easy way to add simple facts pluggins to ide gambas Note: You could also add a new menu with several configurable item Regards Julio -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jusabejusabe at ...626... Tue Sep 16 11:22:51 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 16 Sep 2014 11:22:51 +0200 Subject: [Gambas-user] Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas In-Reply-To: <5417FB69.2030904@...1...> References: <5417FB69.2030904@...1...> Message-ID: Beno?t: ok, I just add, I think it is the 560 issue Regards Julio 2014-09-16 10:57 GMT+02:00 Beno?t Minisini : > Le 16/09/2014 10:44, Julio Sanchez a ?crit : > > Note: > > You could also add a new menu with several configurable item > > > > 2014-09-16 10:43 GMT+02:00 Julio Sanchez : > > > >> Benoit: > >> > >> Request for improvement or expansion: > >> > >> Add configurable toolbar buttons within the IDE to assign external > >> programs and / or executables .gambas > >> > >> It would be a simple and easy way to add simple facts pluggins to ide > >> gambas > >> > >> Regards > >> > >> Julio > >> > > Can you post a "enhancement" issue about that into the issue tracker? If > not already done of course! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Sep 16 11:24:52 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 16 Sep 2014 09:24:52 +0000 Subject: [Gambas-user] Issue 561 in gambas: Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas Message-ID: <0-6813199134517018827-10435532471081136347-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 561 by torredel... at ...626...: Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas https://code.google.com/p/gambas/issues/detail?id=561 Request for improvement or expansion: Add configurable toolbar buttons within the IDE to assign external programs and / or executables .gambas It would be a simple and easy way to add simple facts pluggins to ide gambas Note: You could also add a new menu with several configurable item Regards Julio -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Tue Sep 16 16:43:14 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 16 Sep 2014 16:43:14 +0200 Subject: [Gambas-user] Skipped 'trunk/comp/src/gb.report/.info' -- Node remains in conflict In-Reply-To: <1410696374.39998.YahooMailBasic@...3274...> References: <1410696374.39998.YahooMailBasic@...3274...> Message-ID: <54184C82.4090309@...1...> Le 14/09/2014 14:06, Ru Vuott a ?crit : > Hello, > > updating via SVN my Gambas, I obtained this strange notice: > > ~ $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > Skipped 'trunk/comp/src/gb.report/.info' -- Node remains in conflict > Checked out revision 6473. > > > > What is this ? > > Regards > vuott > "svn checkout" is not for updating, but for creating a new local repository. To update a repository, you must use "svn update". The message means that there is a pending conflict file inside your local repository. If you don't know how to deal with svn conflicts, the simpler is recreating a new local repository from scratch...with "svn checkout"! Regards, -- Beno?t Minisini From gambas at ...1... Tue Sep 16 16:44:47 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 16 Sep 2014 16:44:47 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <5414BB7E.4000307@...3323...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> Message-ID: <54184CDF.6090101@...1...> Le 13/09/2014 23:47, J?rn Erik M?rne a ?crit : > > Den 13. sep. 2014 23:41, skrev Beno?t Minisini: >> Le 13/09/2014 23:28, J?rn Erik M?rne a ?crit : >>> If I may add one more issue - hope I am not flooding here now, but this >>> one has been around since day one. On Manjaro, making installation >>> packages fail... >>> >>> ======================================== >>> >>> Saving CHANGELOG file. >>> >>> ======================================== >>> >>> Creating package for Archlinux. >>> >>> ======================================== >>> >>> Making build directory. >>> cd /tmp/gambas.1000/30587/archlinux >>> makepkg -g >> PKGBUILD >>> ==> Henter kilder... >>> ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og >>> den er heller ikke en URL. >>> Creating package... >>> >>> cd /tmp/gambas.1000/30587/archlinux >>> makepkg --allsource >>> ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) >>> ==> Henter kilder... >>> ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og >>> den er heller ikke en URL. >>> cd /tmp/gambas.1000/30587/archlinux >>> makepkg -d >>> ==> Lager pakke: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) >>> ==> ADVARSEL: Hopper over kontroll av avhengigheter. >>> ==> Henter kilder... >>> ==> FEIL: syncthinggui-0.0.4.tar.bz2 ble ikke funnet i build-mappen, og >>> den er heller ikke en URL. >>> cd /tmp/gambas.1000/30587/archlinux >>> cp syncthinggui-0.0.4-1*.tar.* >>> /home/myUser/Programmering/GambasBuilds/Sycthing\ GUI/archlinux >>> cp: klarte ikke ? hente informasjon om ?syncthinggui-0.0.4-1*.tar.*?: >>> Ingen slik fil eller filkatalog >>> The packages have been successfully created. >>> >>> >> Can you translate the messages in english for me? I see that many things >> failed, but I have no idea what. >> > > ======================================== > > Saving CHANGELOG file. > > ======================================== > > Creating package for Archlinux. > > ======================================== > > Making build directory. > cd /tmp/gambas.1000/30587/archlinux > makepkg -g >> PKGBUILD > ==> Fetching sources > ==> ERROR: syncthinggui-0.0.4.tar.bz2 was not found in the build-folder, > and is not a URL. > Creating package... > > cd /tmp/gambas.1000/30587/archlinux > makepkg --allsource > ==> Adding package: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 2014) > ==> Fetching sources... > ==> ERROR: syncthinggui-0.0.4.tar.bz2 was not found in the build-folder, > and is not a URL. > cd /tmp/gambas.1000/30587/archlinux > makepkg -d > ==> Creating package: syncthinggui 0.0.4-1 (l?. 13. sep. 23:23:28 +0200 > 2014) > ==> WARNING: Skipping dependency control. > ==> Fetching sources... > ==> ERROR: syncthinggui-0.0.4.tar.bz2 was not found in the build-folder, > and is not a URL. > cd /tmp/gambas.1000/30587/archlinux > cp syncthinggui-0.0.4-1*.tar.* > /home/myUser/Programmering/GambasBuilds/Sycthing\ GUI/archlinux > cp: could not retrieve information about ?syncthinggui-0.0.4-1*.tar.*?: > No such file or folder > The packages have been successfully created. Can you send me an archive of your project source? -- Beno?t Minisini From vuott at ...325... Tue Sep 16 17:07:47 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 16 Sep 2014 16:07:47 +0100 Subject: [Gambas-user] Skipped 'trunk/comp/src/gb.report/.info' -- Node remains in conflict In-Reply-To: <54184C82.4090309@...1...> Message-ID: <1410880067.5190.YahooMailBasic@...3275...> > If you don't know how to deal with svn conflicts, the simpler is > recreating a new local repository from scratch...with "svn checkout"! Excuse me, maybe i didn't understand... but " ~ $ svn checkout " and with what arguments ? :-( Regards vuott From rmorgan62 at ...626... Tue Sep 16 17:13:35 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 16 Sep 2014 08:13:35 -0700 Subject: [Gambas-user] Skipped 'trunk/comp/src/gb.report/.info' -- Node remains in conflict In-Reply-To: <1410880067.5190.YahooMailBasic@...3275...> References: <54184C82.4090309@...1...> <1410880067.5190.YahooMailBasic@...3275...> Message-ID: Ru, You would use the same argument but in a new directory or delete the current version in the current directory and re-run $ svn checkout svn:// svn.code.sf.net/p/gambas/code/gambas/trunk On Tue, Sep 16, 2014 at 8:07 AM, Ru Vuott wrote: > > If you don't know how to deal with svn conflicts, the simpler is > > recreating a new local repository from scratch...with "svn checkout"! > > Excuse me, > > maybe i didn't understand... but " ~ $ svn checkout " and with what > arguments ? :-( > > Regards > vuott > > > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From jleake at ...3375... Tue Sep 16 17:16:51 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 16:16:51 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5417F339.30000@...1...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> Message-ID: <54185463.9010900@...3375...> Hi All, I cannot see any change in back/fore colour change on any control. Should this work OK ? [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=XFCE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 John Leake From gambas at ...1... Tue Sep 16 17:24:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 16 Sep 2014 17:24:07 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <54185463.9010900@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> Message-ID: <54185617.8090606@...1...> Le 16/09/2014 17:16, John Leake a ?crit : > Hi All, > I cannot see any change in back/fore colour change on any control. > Should this work OK ? > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.11.0-26-generic > Architecture=x86_64 > Distribution=Ubuntu 12.04.5 LTS > Desktop=XFCE > Theme=QGtk > Language=en_GB.UTF-8 > Memory=7863M > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.5.8 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.1.0 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Poppler=libpoppler.so.19.0.0 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > > John Leake > I'm talking about the development version. -- Beno?t Minisini From jleake at ...3375... Tue Sep 16 17:28:06 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 16:28:06 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <54185617.8090606@...1...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> Message-ID: <54185706.4020008@...3375...> > > I'm talking about the development version. > Sorry, no wonder you want to get it out quickly. Will down load, build and report back. From vuott at ...325... Tue Sep 16 18:04:50 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 16 Sep 2014 17:04:50 +0100 Subject: [Gambas-user] Skipped 'trunk/comp/src/gb.report/.info' -- Node remains in conflict In-Reply-To: Message-ID: <1410883490.73276.YahooMailBasic@...3275...> Hello, > If you don't know how to deal with svn conflicts, the simpler is > recreating a new local repository from scratch...with "svn checkout"! >You would use the same argument but in a new > directory or delete the > current version in > the current directory and re-run $ svn checkout svn:// > svn.code.sf.net/p/gambas/code/gambas/trunk optime ! It works. Thank you vuott From jleake at ...3375... Tue Sep 16 19:47:10 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 18:47:10 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <54185706.4020008@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> Message-ID: <5418779E.8000801@...3375...> I followed the docs for v3 Compiling the Subversion repository. I checked out trunk and did $ ./reconf-all ... $ ./configure -C But there are lots of inaccessible header files. Attached the config.log -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log.tar.gz Type: application/x-gzip Size: 2983 bytes Desc: not available URL: From taboege at ...626... Tue Sep 16 19:57:22 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 16 Sep 2014 19:57:22 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418779E.8000801@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> Message-ID: <20140916175722.GC5614@...2774...> On Tue, 16 Sep 2014, John Leake wrote: > I followed the docs for v3 > Compiling the Subversion repository. > > I checked out trunk and did > > $ ./reconf-all > ... > $ ./configure -C > > But there are lots of inaccessible header files. > > Attached the config.log Did you see [0]? Your attachment doesn't look like what is requested there. Inaccessible headers could mean that they don't exist which could mean that you don't have the necessary dependencies[1]? Although I haven't seen that this causes a fail at the configure stage... Regards, Tobi [0] http://gambaswiki.org/wiki/doc/report#t3 [1] http://gambaswiki.org/wiki/install -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Tue Sep 16 20:53:20 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 19:53:20 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <20140916175722.GC5614@...2774...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> Message-ID: <54188720.5050500@...3375...> Hi Tobi, Thanks. A link to [0] in 'Compiling the Subversion repository' would save you a bit of email noise. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=XFCE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 I didn't run make because there is little or nothing to make with all the unreachable/missing header files. By the way I get the same errors with stable branch/3.5 so I it just looks like a build environment problem considering this is a virgin build under this setup. A bit more newbie experience to go into the melting pot. Best regards, John P.S. I don't know why I keep going to the wrong place in the help. Also I have not gone through each of tools yet I just assumed that the reconf and autoconf scripts would be the quickest way of finding any incompatibility. -------------- next part -------------- A non-text attachment was scrubbed... Name: output.txt.tar.gz Type: application/x-gzip Size: 12797 bytes Desc: not available URL: From gambas at ...2524... Tue Sep 16 21:02:20 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 16 Sep 2014 19:02:20 +0000 Subject: [Gambas-user] Issue 558 in gambas: Gambas is missing a Radio Menu Item In-Reply-To: <3-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> <0-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11459904907921477728-gambas=googlecode.com@...2524...> Comment #4 on issue 558 by pata.kar... at ...626...: Gambas is missing a Radio Menu Item https://code.google.com/p/gambas/issues/detail?id=558 Thanks, I'm looking forward to use it! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Tue Sep 16 21:28:52 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 16 Sep 2014 21:28:52 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <54188720.5050500@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> Message-ID: <20140916192852.GD5614@...2774...> On Tue, 16 Sep 2014, John Leake wrote: > Hi Tobi, > > Thanks. A link to [0] in 'Compiling the Subversion repository' would > save you a bit of email noise. > Sort of done. > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.11.0-26-generic > Architecture=x86_64 > Distribution=Ubuntu 12.04.5 LTS > Desktop=XFCE > Theme=QGtk > Language=en_GB.UTF-8 > Memory=7863M > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.5.8 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.1.0 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Poppler=libpoppler.so.19.0.0 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > > I didn't run make because there is little or nothing to make with all > the unreachable/missing header files. By the way I get the same errors > with stable branch/3.5 so I it just looks like a build environment > problem considering this is a virgin build under this setup. > Actually you built some critical parts of Gambas, without any error. You can already use the interpreter per se. But you lack a good list of components. Enough that you won't be able to compile the IDE... See the list I linked in my last mail. Or even better (I guess?), since you use Ubuntu, you may immediately have a look at: [2]. The guide was updated last in Aug 2014. Probably it is still correct. > A bit more newbie experience to go into the melting pot. > > Best regards, > > John > > P.S. I don't know why I keep going to the wrong place in the help. Also > I have not gone through each of tools yet I just assumed that the reconf > and autoconf scripts would be the quickest way of finding any > incompatibility. I don't know what you mean by this. What do you look for in the help? What tools do you mean? [2] http://gambaswiki.org/wiki/install/ubuntu -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Tue Sep 16 22:52:27 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 21:52:27 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <20140916192852.GD5614@...2774...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> Message-ID: <5418A30B.1040104@...3375...> >> P.S. I don't know why I keep going to the wrong place in the help. Also I usually use a web search engine with my problem which invariably directs me to: http://gambasdoc.org/help/doc/whatever which so far has fallen short of giving me enough info to sort thing out without pestering the mailing lists. >> I have not gone through each of tools yet I just assumed that the reconf >> and autoconf scripts would be the quickest way of finding any >> incompatibility. I mean I was lazy and ran the scripts before checking all the build tool versions listed in [2] > > I don't know what you mean by this. What do you look for in the help? What > tools do you mean? > > [2] http://gambaswiki.org/wiki/install/ubuntu > I had already installed 3.5.4 from that repo but have problems with control foreground and background and some other hard to describe behaviour when using Picture image with controls. Beno?t said I should use the dev version which is why I am trying to build trunk. I must say I am a little thrown by the minor version number being so significant. Is it normal here for example that stable 3.5.4 has broken features that are fixed in 3.5.90 ? Many thanks for your help and I hope my build log gives you enough info to fix building from trunk. John P.S. My installation of Ubuntu 12.04.5 LTS is a pretty clean install that is only about 4 weeks old on this machine. One other thing, I am concerned with, is how much noise I am generating and if I am going to be using daily builds might there be a danger of generating unnecessary additional noise caused by partial commit side effects ? From jleake at ...3375... Tue Sep 16 23:04:54 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 22:04:54 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418A30B.1040104@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> Message-ID: <5418A5F6.3090606@...3375...> Back on topic re Subject. If in the IDE you select a ToggleButton and set its Foreground or Background colour and then later wish put either back to its default (by selecting the control, then highlighting the property and pressing delete) the control is deleted instead of the property. From jleake at ...3375... Tue Sep 16 23:09:50 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 22:09:50 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418A5F6.3090606@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> Message-ID: <5418A71E.2090901@...3375...> On 16/09/14 22:04, John Leake wrote: > Back on topic re Subject. If in the IDE you select a ToggleButton and > set its Foreground or Background colour and then later wish put either > back to its default (by selecting the control, then highlighting the > property and pressing delete) the control is deleted instead of the > property. Same problem with Picture property. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=XFCE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 From gambas at ...1... Tue Sep 16 23:15:03 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 16 Sep 2014 23:15:03 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418A71E.2090901@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> Message-ID: <5418A857.8000902@...1...> Le 16/09/2014 23:09, John Leake a ?crit : > On 16/09/14 22:04, John Leake wrote: >> Back on topic re Subject. If in the IDE you select a ToggleButton and >> set its Foreground or Background colour and then later wish put either >> back to its default (by selecting the control, then highlighting the >> property and pressing delete) the control is deleted instead of the >> property. > > Same problem with Picture property. > The "delete" key is the shortcut for deleting the control. Use the "backspace" key for voiding the property. Regards, -- Beno?t Minisini From taboege at ...626... Tue Sep 16 23:16:51 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 16 Sep 2014 23:16:51 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418A71E.2090901@...3375...> References: <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> Message-ID: <20140916211651.GE5614@...2774...> On Tue, 16 Sep 2014, John Leake wrote: > On 16/09/14 22:04, John Leake wrote: > > Back on topic re Subject. If in the IDE you select a ToggleButton and > > set its Foreground or Background colour and then later wish put either > > back to its default (by selecting the control, then highlighting the > > property and pressing delete) the control is deleted instead of the > > property. > > Same problem with Picture property. > Use backspace. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Wed Sep 17 00:02:42 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 23:02:42 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418A857.8000902@...1...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> Message-ID: <5418B382.8090603@...3375...> > The "delete" key is the shortcut for deleting the control. Use the > "backspace" key for voiding the property. Sorry guys this is inconsistent and unintuitive and will drive newbies away for sure. Where does it tell the user that this is so. If you double click the text property it is highlighted and when you press delete the text is deleted not the control. If a user wants to delete the control they select the control (has the focus, it is their last action and when they press delete then it deletes the control). If a user selects a control to access its properties and then double clicks the property (the highlight gives then the visual feedback that the highlighted text is going to receive the delete) but instead the control vanishes. Please, please this is not a criticism. I am a newbie to Gambas IDE. I am gifted with newbie insight and will not be corrupted by idiosyncrasies like this. You guys have been working with this for so long you cannot see the problems that newbies will face. It has become second nature to you. I will guarantee that all newbies would feel this way. So what are we to do ? I think you have climbed to great heights of achievement and I like the overall architecture but I will not accept your response to this fundamental point of usability and what's more I could not live with it. If you are happy to guide me along as you have so far (and I thank you for all of that) I am happy to find bugs in your code in return. If you do not accept my input as being a bug then that is your right and I am fine with that. I am in the process of importing the repo into git so that I can work independently and you are welcome to clone it and explore what I have done. Still friends ? Best regards, John Leake From jleake at ...3375... Wed Sep 17 00:22:50 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 23:22:50 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418B382.8090603@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> Message-ID: <5418B83A.9040505@...3375...> Hi guys, ToolTip has the behaviour as Text property. From jleake at ...3375... Wed Sep 17 00:28:48 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 23:28:48 +0100 Subject: [Gambas-user] IDE image editing. In-Reply-To: <5418B83A.9040505@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> Message-ID: <5418B9A0.2050303@...3375...> Did you know that the image size tool button is no longer available in 3.5.90 [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=XFCE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 From taboege at ...626... Wed Sep 17 00:40:31 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 00:40:31 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418B382.8090603@...3375...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> Message-ID: <20140916224031.GF5614@...2774...> On Tue, 16 Sep 2014, John Leake wrote: > > The "delete" key is the shortcut for deleting the control. Use the > > "backspace" key for voiding the property. > Sorry guys this is inconsistent and unintuitive and will drive newbies > away for sure. > > Where does it tell the user that this is so. If you double click the > text property it is highlighted and when you press delete the text is > deleted not the control. > > If a user wants to delete the control they select the control (has the > focus, it is their last action and when they press delete then it > deletes the control). > > If a user selects a control to access its properties and then double > clicks the property (the highlight gives then the visual feedback that > the highlighted text is going to receive the delete) but instead the > control vanishes. > > Please, please this is not a criticism. I am a newbie to Gambas IDE. I > am gifted with newbie insight and will not be corrupted by > idiosyncrasies like this. You guys have been working with this for so > long you cannot see the problems that newbies will face. It has become > second nature to you. > Do I have to question my understanding of criticism? I really think this is criticism and where I come from this is nothing bad. Especially if the criticising person does it the conciliatory way :-) > I will guarantee that all newbies would feel this way. > That is a strong claim! No chance there is someone who does that twice and just accepts the way it works now? Maybe they'll realise that this happens only for input boxes which are read-only when time is right :-) > So what are we to do ? > > I think you have climbed to great heights of achievement and I like the > overall architecture but I will not accept your response to this > fundamental point of usability and what's more I could not live with it. > > If you are happy to guide me along as you have so far (and I thank you > for all of that) I am happy to find bugs in your code in return. If you > do not accept my input as being a bug then that is your right and I am > fine with that. > > I am in the process of importing the repo into git so that I can work > independently and you are welcome to clone it and explore what I have done. > > Still friends ? I don't think there would be a problem on Benoit's side to grant you write access to the svn repository. If that's a problem for *you*, I'm sad to say that, if your changes are good, you kind of put people into the hassle of seeing them through and importing them on their own. I can already see myself looking at your tree once a day in that future which I know I won't have time for... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Wed Sep 17 00:45:32 2014 From: jleake at ...3375... (John Leake) Date: Tue, 16 Sep 2014 23:45:32 +0100 Subject: [Gambas-user] form grab handles In-Reply-To: <5418B83A.9040505@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> Message-ID: <5418BD8C.505@...3375...> IDE - form design. Are the form grab handles supposed to be visible/active when a control is clicked ? From taboege at ...626... Wed Sep 17 01:37:58 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 01:37:58 +0200 Subject: [Gambas-user] Thread view broken Message-ID: <20140916233757.GG5614@...2774...> Hi people, as of recently there were more mails than usual which broke the thread view of which some mail clients are capable and which some of us like very much. On the one side, there are mails which start a new topic (judging from their content), but belong to an already existing thread. This happens when the sender replies to a message in an (unrelated) thread instead of creating an entirely new message. There is a screenshot showing multiple of these instances. On the other side, there are some mails which drop out of a thread for no apparent reason. My mail client uses the In-Reply-To and References headers to do its thread thing and I think this is the popular way. From those who write regularly, I see Ru Vuott doing this from time to time and PICCORO McKAY Lenz all the time. Maybe your mail clients have a blackout sometimes? Don't get me wrong. I'm not trying to be the "mail police". It's not too much traffic for me to relink the wrong mails once in a time. But if the mails would arrive correct, that would be great! Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: messed-up-threads.png Type: image/png Size: 77046 bytes Desc: not available URL: From gambas at ...1... Wed Sep 17 01:46:25 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 17 Sep 2014 01:46:25 +0200 Subject: [Gambas-user] IDE image editing. In-Reply-To: <5418B9A0.2050303@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> Message-ID: <5418CBD1.8050908@...1...> Le 17/09/2014 00:28, John Leake a ?crit : > Did you know that the image size tool button is no longer available in > 3.5.90 > No idea what you are talking about, but please start a new thread when the subject changes! -- Beno?t Minisini From gambas at ...1... Wed Sep 17 01:47:19 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 17 Sep 2014 01:47:19 +0200 Subject: [Gambas-user] form grab handles In-Reply-To: <5418BD8C.505@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418BD8C.505@...3375...> Message-ID: <5418CC07.1080506@...1...> Le 17/09/2014 00:45, John Leake a ?crit : > IDE - form design. > Are the form grab handles supposed to be visible/active when a control > is clicked ? > Why not? Please start a new thread when you want to talk about another subject! Thanks. -- Beno?t Minisini From gambas at ...1... Wed Sep 17 01:49:28 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 17 Sep 2014 01:49:28 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418A5F6.3090606@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> Message-ID: <5418CC88.30404@...1...> Le 16/09/2014 23:04, John Leake a ?crit : > Back on topic re Subject. If in the IDE you select a ToggleButton and > set its Foreground or Background colour and then later wish put either > back to its default (by selecting the control, then highlighting the > property and pressing delete) the control is deleted instead of the > property. > I changed the "delete" shortcut from DEL to SHIFT+DEL, so that we don't delete controls by accident anymore. Regards, -- Beno?t Minisini From jleake at ...3375... Wed Sep 17 02:19:26 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 01:19:26 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <20140916224031.GF5614@...2774...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> Message-ID: <5418D38E.1080307@...3375...> > Do I have to question my understanding of criticism? I really think this > is criticism and where I come from this is nothing bad. Especially if the > criticising person does it the conciliatory way :-) Thank you. Here, many will take their bat home if an outsider expresses an alternative view to those that have invested an enormous amount of time and effort in nurturing their baby. Also I know there is a huge potential for generating negative semantic friction when there are language barriers. I bow down to all that are bilingual/multilingual. I am only multilingual in the computer language domain and I am too old to make up for that deficiency now. > >> I will guarantee that all newbies would feel this way. >> > > That is a strong claim! No chance there is someone who does that twice and > just accepts the way it works now? Maybe they'll realise that this happens > only for input boxes which are read-only when time is right :-) > Yes I understand your point of view and I am sure that many will but I think that many more will not. The young and nimble are like sponges to new ideas. It is my observation in life that the more intelligent one is then the less likely they are able to see the obvious (that was a compliment by the way). Others who are old (and have to switch between many IDE's/languages and wrestle with all sorts of quirks) see it as an unnecessary pain. I am 100% confident users that are not computer language geeks but know that double clicking on some text means that it is highlighted and what they do next will replace that highlighted text. >> So what are we to do ? >> >> I think you have climbed to great heights of achievement and I like the >> overall architecture but I will not accept your response to this >> fundamental point of usability and what's more I could not live with it. >> >> If you are happy to guide me along as you have so far (and I thank you >> for all of that) I am happy to find bugs in your code in return. If you >> do not accept my input as being a bug then that is your right and I am >> fine with that. >> >> I am in the process of importing the repo into git so that I can work >> independently and you are welcome to clone it and explore what I have done. >> >> Still friends ? > > I don't think there would be a problem on Benoit's side to grant you write > access to the svn repository. If that's a problem for *you*, I'm sad to say > that, if your changes are good, you kind of put people into the hassle of > seeing them through and importing them on their own. I can already see > myself looking at your tree once a day in that future which I know I won't > have time for... Thank you but I have done SVN and it really is cumbersome when it comes to merging. As a result it does not fit very well with open source projects. Git is tricky to get your head around and I am no expert by any means. SVN with a Trac web interface was my choice also as technical director in my own business however when you use Git there is zero fear associated with allowing any number of strangers (with wildly differing abilities and views) to interact and share ideas. Mecurial is an alternative if M$ has any significance. Check out Linus and form your own opinionS (2007!). https://www.youtube.com/watch?v=4XpnKHJAok8 As for once a day, I should be so lucky as to have something interesting to look at. Just treat it as a branch that is hard to merge, not a backward step as I see it. If your community were to consider a switch then there are some good transitional examples that ran live right throughout the whole migration process. I will certainly make public my experiences. Hey it might just be too much for me an I will just wither away. Things should not be a hassle if you are importing perceived improvements. Should I call it Gambas-for-ideots ? I hope to continue the collaboration. Best regards, John Leake From jleake at ...3375... Wed Sep 17 02:22:22 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 01:22:22 +0100 Subject: [Gambas-user] form grab handles In-Reply-To: <5418CC07.1080506@...1...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418BD8C.505@...3375...> <5418CC07.1080506@...1...> Message-ID: <5418D43E.9060909@...3375...> >> IDE - form design. >> Are the form grab handles supposed to be visible/active when a control >> is clicked ? >> > > Why not? > > Please start a new thread when you want to talk about another subject! > Thanks. Sorry, I changed the email subject. What else should I do ? From t.lee.davidson at ...626... Wed Sep 17 02:29:02 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 16 Sep 2014 20:29:02 -0400 Subject: [Gambas-user] form grab handles In-Reply-To: <5418D43E.9060909@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418BD8C.505@...3375...> <5418CC07.1080506@...1...> <5418D43E.9060909@...3375...> Message-ID: <5418D5CE.704@...626...> Create a *new* message instead of simply replying to a message from a thread that already exists. Creating a new message will create a new thread. On 09/16/2014 08:22 PM, John Leake wrote: >>> IDE - form design. >>> Are the form grab handles supposed to be visible/active when a control >>> is clicked ? >>> >> >> Why not? >> >> Please start a new thread when you want to talk about another subject! >> Thanks. > > Sorry, I changed the email subject. What else should I do ? > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jleake at ...3375... Wed Sep 17 02:32:45 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 01:32:45 +0100 Subject: [Gambas-user] IDE image editing. In-Reply-To: <5418CBD1.8050908@...1...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> Message-ID: <5418D6AD.7000202@...3375...> > Le 17/09/2014 00:28, John Leake a ?crit : >> Did you know that the image size tool button is no longer available in >> 3.5.90 >> > > No idea what you are talking about, but please start a new thread when > the subject changes! > Sorry the context is in the Subject. I must have a misunderstanding how message threads are handled. I posted a little while ago on gambas-user about this difficulty I have with the source forge way of handling message threads:- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi All, I find myself having to do the following to post a message onto this list: 1) Search the web for 'Gambas user mailing list' or 'Gambas developer mailing list'. 2) Go to here https://sourceforge.net/p/gambas/mailman/gambas-user/?viewmonth=200710 3) Click on You can subscribe to this list here. which launches Thunderbird with the wrong From e-mail address. 4) Select the correct 'From' e-mail address (I have 10 at the moment). 5) Mess with the settings of Thunderbird because for some reason they are different from those I get if I launch Thunderbird myself (line wrap, fonts etc) rather than what happens when I click here. 6) Compose & send. Responding to a thread ------------------------------- When someone responds to my post and I receive an email why can I not just click 'Reply' with out having to go through steps 1 to 5 above ? If I click reply the message goes to the personal email address of the respondent and not the mailing list ! Best regards, John Leake <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Any suggestions ? From jleake at ...3375... Wed Sep 17 02:36:02 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 01:36:02 +0100 Subject: [Gambas-user] form grab handles In-Reply-To: <5418D5CE.704@...626...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418BD8C.505@...3375...> <5418CC07.1080506@...1...> <5418D43E.9060909@...3375...> <5418D5CE.704@...626...> Message-ID: <5418D772.90001@...3375...> Create a *new* message instead of simply replying to a message from a thread that already exists. Creating a new message will create a new thread. Thank you. I have just elucidated my difficulty with this. Where do I create a *new* message ? From t.lee.davidson at ...626... Wed Sep 17 02:46:28 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 16 Sep 2014 20:46:28 -0400 Subject: [Gambas-user] How to create a new thread Message-ID: <5418D9E4.3080100@...626...> You're using Thunderbird, right? In the header section of the message you should see the "To" field. Hovering over that should show "gambas-user at lists.sourceforge.net" Right click on that and choose "Compose message to" HTH, Lee On 09/16/2014 08:36 PM, John Leake wrote: > Create a *new* message instead of simply replying to a message from a > thread that already exists. Creating a new message will create a new thread. > > Thank you. I have just elucidated my difficulty with this. > Where do I create a *new* message ? > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jleake at ...3375... Wed Sep 17 02:49:05 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 01:49:05 +0100 Subject: [Gambas-user] IDE image editing. In-Reply-To: <5418D6AD.7000202@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> Message-ID: <5418DA81.2020805@...3375...> When editing an image in the IDE under 3.5.4 there was an image size tool bar button. It is no longer there under 3.5.90 From t.lee.davidson at ...626... Wed Sep 17 02:54:36 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 16 Sep 2014 20:54:36 -0400 Subject: [Gambas-user] Responding to a thread Message-ID: <5418DBCC.8010601@...626...> Not sure, John. In the header section, I have a "Reply" and a "Reply List" button. Using either one sends the message to the list address. There is also "Reply to List" in the Message menu. On 09/16/2014 08:32 PM, John Leake wrote: > Responding to a thread > ------------------------------- > When someone responds to my post and I receive an email why can I not > just click 'Reply' with out having to go through steps 1 to 5 above ? > > If I click reply the message goes to the personal email address of the > respondent and not the mailing list ! > > Best regards, > John Leake From jleake at ...3375... Wed Sep 17 03:00:31 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 02:00:31 +0100 Subject: [Gambas-user] How to create a new thread In-Reply-To: <5418D9E4.3080100@...626...> References: <5418D9E4.3080100@...626...> Message-ID: <5418DD2F.8000807@...3375...> Thank you. On 17/09/14 01:46, T Lee Davidson wrote: > You're using Thunderbird, right? > > In the header section of the message you should see the "To" field. > Hovering over that should show "gambas-user at lists.sourceforge.net" > > Right click on that and choose "Compose message to" > > HTH, > Lee > > > On 09/16/2014 08:36 PM, John Leake wrote: >> Create a *new* message instead of simply replying to a message from a >> thread that already exists. Creating a new message will create a new thread. >> >> Thank you. I have just elucidated my difficulty with this. >> Where do I create a *new* message ? >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce >> Perforce version control. Predictably reliable. >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jleake at ...3375... Wed Sep 17 03:16:43 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 02:16:43 +0100 Subject: [Gambas-user] Responding to a thread In-Reply-To: <5418DBCC.8010601@...626...> References: <5418DBCC.8010601@...626...> Message-ID: <5418E0FB.1000203@...3375...> Yes, same here. The hover tool tip shows 'Reply to Sender' for the Reply button and the Reply to list button tool tip shows Reply to List however both put the list email adr in the To: field when composing a reply. I?ve been told off by the boss over this early on but I cannot see the difference. So if a message is composed from scratch it will start a new thread irrespective from what is in the subject field. On 17/09/14 01:54, T Lee Davidson wrote: > Not sure, John. > > In the header section, I have a "Reply" and a "Reply List" button. Using > either one sends the message to the list address. > > There is also "Reply to List" in the Message menu. > > > On 09/16/2014 08:32 PM, John Leake wrote: >> Responding to a thread >> ------------------------------- >> When someone responds to my post and I receive an email why can I not >> just click 'Reply' with out having to go through steps 1 to 5 above ? >> >> If I click reply the message goes to the personal email address of the >> respondent and not the mailing list ! >> >> Best regards, >> John Leake > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Sep 17 03:19:08 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 17 Sep 2014 04:19:08 +0300 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418D38E.1080307@...3375...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> Message-ID: With svn you just checkout, edit the source if you want, and then compile. But with git, it requires something very different... git clone git checkout pristine-tar git checkout upstream git checkout master git-buildpackage -us -uc I don't know what those commands do, but they were advised and obviously required (intuitive tryouts failed). Applying or creating patch was even more mystical, and I never learned how to do it so that it would work consistently. You couldn't even compile locally edited sources without some mystical commands (why??). Also simply updating the sources failed several times, and every time I had to rm the source folder and "checkout" again to solve the mess. I don't know the reason for the whole mess, but I guess part of it was from the badly managed git repository. However, I have never seen such problems with svn. And yes, I believe that git has powerful features and certainly you can learn to use it, but is it really worth it? Couldn't these, at least essentially, same features be implemented with intuitive interface? There are a lot of alternatives. Jussi On Wed, Sep 17, 2014 at 3:19 AM, John Leake wrote: > > Do I have to question my understanding of criticism? I really think this > > is criticism and where I come from this is nothing bad. Especially if the > > criticising person does it the conciliatory way :-) > Thank you. Here, many will take their bat home if an outsider expresses > an alternative view to those that have invested an enormous amount of > time and effort in nurturing their baby. > > Also I know there is a huge potential for generating negative semantic > friction when there are language barriers. I bow down to all that are > bilingual/multilingual. I am only multilingual in the computer language > domain and I am too old to make up for that deficiency now. > > > >> I will guarantee that all newbies would feel this way. > >> > > > > That is a strong claim! No chance there is someone who does that twice > and > > just accepts the way it works now? Maybe they'll realise that this > happens > > only for input boxes which are read-only when time is right :-) > > > Yes I understand your point of view and I am sure that many will but I > think that many more will not. The young and nimble are like sponges to > new ideas. It is my observation in life that the more intelligent one is > then the less likely they are able to see the obvious (that was a > compliment by the way). Others who are old (and have to switch between > many IDE's/languages and wrestle with all sorts of quirks) see it as an > unnecessary pain. I am 100% confident users that are not computer > language geeks but know that double clicking on some text means that it > is highlighted and what they do next will replace that highlighted text. > > >> So what are we to do ? > >> > >> I think you have climbed to great heights of achievement and I like the > >> overall architecture but I will not accept your response to this > >> fundamental point of usability and what's more I could not live with it. > >> > >> If you are happy to guide me along as you have so far (and I thank you > >> for all of that) I am happy to find bugs in your code in return. If you > >> do not accept my input as being a bug then that is your right and I am > >> fine with that. > >> > >> I am in the process of importing the repo into git so that I can work > >> independently and you are welcome to clone it and explore what I have > done. > >> > >> Still friends ? > > > > I don't think there would be a problem on Benoit's side to grant you > write > > access to the svn repository. If that's a problem for *you*, I'm sad to > say > > that, if your changes are good, you kind of put people into the hassle of > > seeing them through and importing them on their own. I can already see > > myself looking at your tree once a day in that future which I know I > won't > > have time for... > Thank you but I have done SVN and it really is cumbersome when it comes > to merging. As a result it does not fit very well with open source > projects. Git is tricky to get your head around and I am no expert by > any means. > > SVN with a Trac web interface was my choice also as technical director > in my own business however when you use Git there is zero fear > associated with allowing any number of strangers (with wildly differing > abilities and views) to interact and share ideas. Mecurial is an > alternative if M$ has any significance. Check out Linus and form your > own opinionS (2007!). > > https://www.youtube.com/watch?v=4XpnKHJAok8 > > As for once a day, I should be so lucky as to have something interesting > to look at. > > Just treat it as a branch that is hard to merge, not a backward step as > I see it. If your community were to consider a switch then there are > some good transitional examples that ran live right throughout the whole > migration process. I will certainly make public my experiences. > > Hey it might just be too much for me an I will just wither away. > > Things should not be a hassle if you are importing perceived improvements. > > Should I call it Gambas-for-ideots ? > > I hope to continue the collaboration. > > Best regards, > > John Leake > > > > > > > > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Sep 17 03:37:29 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 17 Sep 2014 03:37:29 +0200 Subject: [Gambas-user] IDE image editing. In-Reply-To: <5418DA81.2020805@...3375...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> <5418DA81.2020805@...3375...> Message-ID: <5418E5D9.4070905@...1...> Le 17/09/2014 02:49, John Leake a ?crit : > When editing an image in the IDE under 3.5.4 there was an image size > tool bar button. > > It is no longer there under 3.5.90 > OK, I see! You can add it back by configuring the toolbar. To configure a toolbar, click with the right mouse button on it. Regards, -- Beno?t Minisini From jleake at ...3375... Wed Sep 17 03:48:55 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 02:48:55 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> Message-ID: <5418E887.4000901@...3375...> Hi Jussi, I hope I have clicked the right reply button. I do not recognise the work flow you have annotated. I think there are many approaches that fit particular needs. Staging/non staging etc. The most significant features are:- 1) SVN will not detect a corruption - with Git the sha1 hash will confirm that your source is unadulterated no matter who you pull it from. 2) With SVN, all your eggs are in one basket - Linus does not (or need to) back up the linux kernel because everyone has a copy. 3) With Git branching and merging are really cheap and hence very fast - SVN fosters long periods of lone worker activity (during which there is no source code control) simply because merging is difficult and you do not want to commit half baked fixes because of the repercussions to other users by forcing more merges on them. 4) With Git you can work on the source without having a connection to the server and still remain protected by source control. But hey I am a long long way from being an expert watch the 2007 video if you have an inclination and an hour to spend. To me it works best through a good Gui client or when it is part of your IDE (I am used to Jetbrains). But if you are a command-line junkie then fill your boots. On 17/09/14 02:19, Jussi Lahtinen wrote: > With svn you just checkout, edit the source if you want, and then compile. > But with git, it requires something very different... > git clone > git checkout pristine-tar > git checkout upstream > git checkout master > git-buildpackage -us -uc > > I don't know what those commands do, but they were advised and obviously > required (intuitive tryouts failed). Applying or creating patch was even > more mystical, and I never learned how to do it so that it would work > consistently. You couldn't even compile locally edited sources without some > mystical commands (why??). Also simply updating the sources failed several > times, and every time I had to rm the source folder and "checkout" again to > solve the mess. > > I don't know the reason for the whole mess, but I guess part of it was from > the badly managed git repository. However, I have never seen such problems > with svn. And yes, I believe that git has powerful features and certainly > you can learn to use it, but is it really worth it? Couldn't these, at > least essentially, same features be implemented with intuitive interface? > There are a lot of alternatives. > > > > Jussi > > > On Wed, Sep 17, 2014 at 3:19 AM, John Leake wrote: > >>> Do I have to question my understanding of criticism? I really think this >>> is criticism and where I come from this is nothing bad. Especially if the >>> criticising person does it the conciliatory way :-) >> Thank you. Here, many will take their bat home if an outsider expresses >> an alternative view to those that have invested an enormous amount of >> time and effort in nurturing their baby. >> >> Also I know there is a huge potential for generating negative semantic >> friction when there are language barriers. I bow down to all that are >> bilingual/multilingual. I am only multilingual in the computer language >> domain and I am too old to make up for that deficiency now. >>> >>>> I will guarantee that all newbies would feel this way. >>>> >>> >>> That is a strong claim! No chance there is someone who does that twice >> and >>> just accepts the way it works now? Maybe they'll realise that this >> happens >>> only for input boxes which are read-only when time is right :-) >>> >> Yes I understand your point of view and I am sure that many will but I >> think that many more will not. The young and nimble are like sponges to >> new ideas. It is my observation in life that the more intelligent one is >> then the less likely they are able to see the obvious (that was a >> compliment by the way). Others who are old (and have to switch between >> many IDE's/languages and wrestle with all sorts of quirks) see it as an >> unnecessary pain. I am 100% confident users that are not computer >> language geeks but know that double clicking on some text means that it >> is highlighted and what they do next will replace that highlighted text. >> >>>> So what are we to do ? >>>> >>>> I think you have climbed to great heights of achievement and I like the >>>> overall architecture but I will not accept your response to this >>>> fundamental point of usability and what's more I could not live with it. >>>> >>>> If you are happy to guide me along as you have so far (and I thank you >>>> for all of that) I am happy to find bugs in your code in return. If you >>>> do not accept my input as being a bug then that is your right and I am >>>> fine with that. >>>> >>>> I am in the process of importing the repo into git so that I can work >>>> independently and you are welcome to clone it and explore what I have >> done. >>>> >>>> Still friends ? >>> >>> I don't think there would be a problem on Benoit's side to grant you >> write >>> access to the svn repository. If that's a problem for *you*, I'm sad to >> say >>> that, if your changes are good, you kind of put people into the hassle of >>> seeing them through and importing them on their own. I can already see >>> myself looking at your tree once a day in that future which I know I >> won't >>> have time for... >> Thank you but I have done SVN and it really is cumbersome when it comes >> to merging. As a result it does not fit very well with open source >> projects. Git is tricky to get your head around and I am no expert by >> any means. >> >> SVN with a Trac web interface was my choice also as technical director >> in my own business however when you use Git there is zero fear >> associated with allowing any number of strangers (with wildly differing >> abilities and views) to interact and share ideas. Mecurial is an >> alternative if M$ has any significance. Check out Linus and form your >> own opinionS (2007!). >> >> https://www.youtube.com/watch?v=4XpnKHJAok8 >> >> As for once a day, I should be so lucky as to have something interesting >> to look at. >> >> Just treat it as a branch that is hard to merge, not a backward step as >> I see it. If your community were to consider a switch then there are >> some good transitional examples that ran live right throughout the whole >> migration process. I will certainly make public my experiences. >> >> Hey it might just be too much for me an I will just wither away. >> >> Things should not be a hassle if you are importing perceived improvements. >> >> Should I call it Gambas-for-ideots ? >> >> I hope to continue the collaboration. >> >> Best regards, >> >> John Leake >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce >> Perforce version control. Predictably reliable. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jleake at ...3375... Wed Sep 17 03:51:42 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 02:51:42 +0100 Subject: [Gambas-user] IDE image editing. In-Reply-To: <5418E5D9.4070905@...1...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> <5418DA81.2020805@...3375...> <5418E5D9.4070905@...1...> Message-ID: <5418E92E.9090705@...3375...> Sorry, more ignorance on my part. Its no wonder all you gambas gurus have no idea what I am talking about! On 17/09/14 02:37, Beno?t Minisini wrote: > Le 17/09/2014 02:49, John Leake a ?crit : >> When editing an image in the IDE under 3.5.4 there was an image size >> tool bar button. >> >> It is no longer there under 3.5.90 >> > > OK, I see! You can add it back by configuring the toolbar. To configure > a toolbar, click with the right mouse button on it. > > Regards, > From rmorgan62 at ...626... Wed Sep 17 04:26:59 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 16 Sep 2014 19:26:59 -0700 Subject: [Gambas-user] Hot to get Class Name of Object Message-ID: Hi All, This may be answered else where but I was unable to locate an answer using google. I need to be able to query an object for it's class name. I have an object that gets passed an owner object then, the owner is changed to a new object of a different class (think fire balls being tossed a enemy subjects). I need to know if the object is owned by the player or the enemy. This way I can change it's state appropriately. Thanks in advance for the helpful replies. Randall -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From taboege at ...626... Wed Sep 17 04:29:43 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 04:29:43 +0200 Subject: [Gambas-user] Hot to get Class Name of Object In-Reply-To: References: Message-ID: <20140917022943.GH5614@...2774...> On Tue, 16 Sep 2014, Randall Morgan wrote: > Hi All, > > This may be answered else where but I was unable to locate an answer using > google. > > I need to be able to query an object for it's class name. I have an object > that gets passed an owner object then, the owner is changed to a new object > of a different class (think fire balls being tossed a enemy subjects). I > need to know if the object is owned by the player or the enemy. This way I > can change it's state appropriately. > > Thanks in advance for the helpful replies. > Object.Class(yourObject).Name. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rmorgan62 at ...626... Wed Sep 17 04:48:48 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 16 Sep 2014 19:48:48 -0700 Subject: [Gambas-user] Hot to get Class Name of Object In-Reply-To: <20140917022943.GH5614@...2774...> References: <20140917022943.GH5614@...2774...> Message-ID: Thanks Tobi On Tue, Sep 16, 2014 at 7:29 PM, Tobias Boege wrote: > On Tue, 16 Sep 2014, Randall Morgan wrote: > > Hi All, > > > > This may be answered else where but I was unable to locate an answer > using > > google. > > > > I need to be able to query an object for it's class name. I have an > object > > that gets passed an owner object then, the owner is changed to a new > object > > of a different class (think fire balls being tossed a enemy subjects). I > > need to know if the object is owned by the player or the enemy. This way > I > > can change it's state appropriately. > > > > Thanks in advance for the helpful replies. > > > > Object.Class(yourObject).Name. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From t.lee.davidson at ...626... Wed Sep 17 05:47:55 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 16 Sep 2014 23:47:55 -0400 Subject: [Gambas-user] Responding to a thread In-Reply-To: <5418E0FB.1000203@...3375...> References: <5418DBCC.8010601@...626...> <5418E0FB.1000203@...3375...> Message-ID: <5419046B.3060609@...626...> On 09/16/2014 09:16 PM, John Leake wrote: > Yes, same here. The hover tool tip shows 'Reply to Sender' for the > Reply button and the Reply to list button tool tip shows Reply to List > however both put the list email adr in the To: field when composing a reply. > > I?ve been told off by the boss over this early on but I cannot see the > difference. If by, "the boss", you mean Beno?t, then I don't think you were actually, "told off." It was probably more like he was merely honoring another list user's plea for the preservation of thread integrity. > So if a message is composed from scratch it will start a new thread > irrespective from what is in the subject field. To my knowledge, it is the "In reply to" field in the message header that keeps track of message threading. Whether or not the list management software takes into account the subject text, I do not know, but I doubt it. Your statement is likely entirely correct. HTH, Lee > On 17/09/14 01:54, T Lee Davidson wrote: >> Not sure, John. >> >> In the header section, I have a "Reply" and a "Reply List" button. Using >> either one sends the message to the list address. >> >> There is also "Reply to List" in the Message menu. >> >> >> On 09/16/2014 08:32 PM, John Leake wrote: >>> Responding to a thread >>> ------------------------------- >>> When someone responds to my post and I receive an email why can I not >>> just click 'Reply' with out having to go through steps 1 to 5 above ? >>> >>> If I click reply the message goes to the personal email address of the >>> respondent and not the mailing list ! >>> >>> Best regards, >>> John Leake >> >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce >> Perforce version control. Predictably reliable. >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Wed Sep 17 07:36:30 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 07:36:30 +0200 Subject: [Gambas-user] IDE image editing. In-Reply-To: <5418D6AD.7000202@...3375...> (sfid-) References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> (sfid-) Message-ID: <54191DDE.10609@...3340...> Am 17.09.2014 um 02:32 schrieb John Leake: > I posted a little while ago on gambas-user about this difficulty I have > with the source forge way of handling message threads:- You are a mailinglist-hacker, look at the screenshot, what your mail created in my thunderbird. Funny :-) Maybe you should read somewhere something about how to post in and use mailinglists. Maybe especially together with thunderbird and it's threading model. Maybe that's useful for you: > http://fedoraproject.org/wiki/Mailing_list_guidelines Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot - 17.09.2014 - 07:23:11.png Type: image/png Size: 10425 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Wed Sep 17 07:52:14 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 07:52:14 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: (sfid-) References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> (sfid-) Message-ID: <5419218E.9090107@...3340...> Am 17.09.2014 um 03:19 schrieb Jussi Lahtinen: > git checkout pristine-tar > git checkout upstream > git checkout master Thats silly. git checkout just changes branches. In this example you switch between three branches and do nothing. BTW. Git is phantastic. I was coming from CVS to SVN and half a year ago I switched over to Git with all my repos. Never could be happier. Now just for testing a new feature I create a new branch. And if it is ok I merge the code from that branch back to the code I'm workin on. I have a master branch, a working branch for next release and lots of testing branches ... It's so easy ... But you have to learn and understand the different concept of git and especially it's concept of branching, merging and the "stage area". But if you're done with that, your productivity increases dramatically. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From eilert-sprachen at ...221... Wed Sep 17 09:02:24 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 17 Sep 2014 09:02:24 +0200 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: References: <54177E6F.2090908@...1...> <201409160946.50060.rolf.frogs@...221...> Message-ID: <54193200.70500@...221...> I agree. At least it should be possible to hold the help files locally in case there is no (regular) internet access. Can't the IDE decide where to load them from? IF internet access THEN download ELSE locally... Rolf Am 16.09.2014 10:55, schrieb Randall Morgan: > I would allow the user to chose during installation if basic help files and > basic example files were to be downloaded locally. But let the user know > that there are more available online. That way those like myself who often > travel to where there is no internet can decide what they need to take with > them. > > On Tue, Sep 16, 2014 at 12:46 AM, rolf wrote: > >> >> Hi Beno?t >> >>> For the next version, I'd like to implement a Gambas dedicated software >>> repository. >> It sounds good >> >>> 1) The Gambas repository is an http web service, but without website at >>> the moment. It will allow to: >>> - upload software. >>> - search for software. >>> - download software. >>> >>> 2) A software is a compiled Gambas project, with eventually the source >>> project. Nothing more. >>> >>> 3) In the IDE, I will add a dialog to upload your project. >>> >>> 4) Uploading a project requires: >>> - a login and a password, so you should be able to create an account >>> from the IDE. >>> - a project name. >>> - a project description. >>> - a project icon. >>> - a project screenshot (optional). >>> - a project major version. >>> - tags. Some tags will be automatic (for example the component used by >>> the project), some will be predefined. >>> - a project control sum (MD5/SHA...). >>> >>> 5) I will made an external Gambas program to: >>> - Search for projects inside the repository. >>> - Download and install a project somewhere in the user home directory. >>> >>> 6) That program should be able to know how to install the needed gambas >>> binary packages according to the system distribution. If it is not >>> possible, it should at least warn the user about missing components. >>> >>> 7) A Gambas program may depend on other programs in the repository. That >>> way libraries will be able to be put in the repository too. >>> >>> 8) Gambas examples will be moved from the source tree to the repository. >> That is not a good idea in my opinion, because one cannot start >> programming or >> look at examples without an internet connection. A set of basic examples >> should still be installed locally, when install gambas. >> >> Just my 2 ct. >> Rolf >> >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce. >> Perforce version control. Predictably reliable. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > From jleake at ...3375... Wed Sep 17 09:37:28 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 08:37:28 +0100 Subject: [Gambas-user] IDE image editing. In-Reply-To: <54191DDE.10609@...3340...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> (sfid-) <54191DDE.10609@...3340...> Message-ID: <54193A38.40905@...3375...> Hey that looks cool. Thank you. You can certainly get someons attention with a few >>>>>>>>>> From chrisml at ...3340... Wed Sep 17 09:57:36 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 09:57:36 +0200 Subject: [Gambas-user] IDE image editing. In-Reply-To: <54193A38.40905@...3375...> (sfid-) References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> (sfid-) <54191DDE.10609@...3340...> <54193A38.40905@...3375...> (sfid-) Message-ID: <54193EF0.7050307@...3340...> Am 17.09.2014 um 09:37 schrieb John Leake: > Hey that looks cool. Thank you. You can certainly get someons > attention with a few >>>>>>>>>> No that is'nt cool. It's a failure. This occurs only in Thunderbird, not other MUAs. And it's very difficult to follow the threads you want to start just by changing the subject on an answer. You're creating different topics within one thread, you're creating spaghetti-threads. Look at this screenshot. Please learn how to post in mailinglists. I gave you the right advice. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot - 17.09.2014 - 09:51:22.png Type: image/png Size: 32614 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jleake at ...3375... Wed Sep 17 11:26:39 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 10:26:39 +0100 Subject: [Gambas-user] IDE image editing. In-Reply-To: <54193EF0.7050307@...3340...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> (sfid-) <54191DDE.10609@...3340...> <54193A38.40905@...3375...> (sfid-) <54193EF0.7050307@...3340...> Message-ID: <541953CF.9010808@...3375...> I was joking. It is ignorance on my part and I have written about my concerns wrt generating unnecessary noise. If only people would say from the start something like; 'Did you know these threads are hard to follow, can I help you do it right'. From chrisml at ...3340... Wed Sep 17 13:26:08 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 13:26:08 +0200 Subject: [Gambas-user] IDE image editing. In-Reply-To: <541953CF.9010808@...3375...> (sfid-) References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> (sfid-) <54191DDE.10609@...3340...> <54193A38.40905@...3375...> (sfid-) <54193EF0.7050307@...3340...> <541953CF.9010808@...3375...> (sfid-) Message-ID: <54196FD0.3080508@...3340...> Am 17.09.2014 um 11:26 schrieb John Leake: > I was joking. It is ignorance on my part and I have written about my > concerns wrt generating unnecessary noise. If only people would say > from the start something like; > 'Did you know these threads are hard to follow, can I help you do it right'. Ok, sorry, did not want to annoy you. If you have questions about mailinglists etc. feel free to write me personally (not by answering to this mail, but instead write a message to my mailaddress). Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From rmorgan62 at ...626... Wed Sep 17 13:55:49 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 17 Sep 2014 04:55:49 -0700 Subject: [Gambas-user] Wiki Update Message-ID: A colleague pointed out to me that the wiki does not specify is Gambas arrays are Zero or One based index. I told him zero based. However, I though the wiki maintainer might want to add that to the wiki page for arrays. -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From taboege at ...626... Wed Sep 17 14:15:33 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 14:15:33 +0200 Subject: [Gambas-user] Wiki Update In-Reply-To: References: Message-ID: <20140917121533.GC1120@...2774...> On Wed, 17 Sep 2014, Randall Morgan wrote: > A colleague pointed out to me that the wiki does not specify is Gambas > arrays are Zero or One based index. I told him zero based. However, I > though the wiki maintainer might want to add that to the wiki page for > arrays. > Which do you mean? There are Boolean[], String[], etc. (the native arrays) under /comp/gb/, where the Array class plays a special role. We have array pages under /lang/, too. The problem is that you can only say that the native array classes in the gb component have zero-based indices. Putting this note into the documentation of the Array class wouldn't be quite correct as each class may decide upon their indexing on their own. You can even index by using Floats or Objects. Maybe we should add that sentence to every native array page...? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rmorgan62 at ...626... Wed Sep 17 14:22:35 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 17 Sep 2014 05:22:35 -0700 Subject: [Gambas-user] Wiki Update In-Reply-To: <20140917121533.GC1120@...2774...> References: <20140917121533.GC1120@...2774...> Message-ID: We were looking at: http://gambaswiki.org/wiki/cat/arraydecl But don't all array indices in Gambas begin at Zero? On Wed, Sep 17, 2014 at 5:15 AM, Tobias Boege wrote: > On Wed, 17 Sep 2014, Randall Morgan wrote: > > A colleague pointed out to me that the wiki does not specify is Gambas > > arrays are Zero or One based index. I told him zero based. However, I > > though the wiki maintainer might want to add that to the wiki page for > > arrays. > > > > Which do you mean? There are Boolean[], String[], etc. (the native arrays) > under /comp/gb/, where the Array class plays a special role. We have array > pages under /lang/, too. > > The problem is that you can only say that the native array classes in > the gb component have zero-based indices. Putting this note into the > documentation of the Array class wouldn't be quite correct as each class > may decide upon their indexing on their own. You can even index by using > Floats or Objects. > > Maybe we should add that sentence to every native array page...? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From jleake at ...3375... Wed Sep 17 15:06:35 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 14:06:35 +0100 Subject: [Gambas-user] IDE image editing. In-Reply-To: <54196FD0.3080508@...3340...> References: <54177B2D.2000603@...1...> <5417CFA7.3000709@...3375...> <5417F339.30000@...1...> <54185463.9010900@...3375...> <54185617.8090606@...1...> <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <5418B83A.9040505@...3375...> <5418B9A0.2050303@...3375...> <5418CBD1.8050908@...1...> <5418D6AD.7000202@...3375...> (sfid-) <54191DDE.10609@...3340...> <54193A38.40905@...3375...> (sfid-) <54193EF0.7050307@...3340...> <541953CF.9010808@...3375...> (sfid-) <54196FD0.3080508@...3340...> Message-ID: <5419875B.1070700@...3375...> many thanks. From taboege at ...626... Wed Sep 17 15:04:05 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 15:04:05 +0200 Subject: [Gambas-user] Wiki Update In-Reply-To: References: <20140917121533.GC1120@...2774...> Message-ID: <20140917130405.GD1120@...2774...> On Wed, 17 Sep 2014, Randall Morgan wrote: > We were looking at: http://gambaswiki.org/wiki/cat/arraydecl > But don't all array indices in Gambas begin at Zero? > What does it mean to be an array? I'm not sure. If you call an "array" what can be used like an array then these are the classes implementing the _get() and/or _put() special methods. Collection also implements these methods but takes string indices. Tomorrow I can add "Matlab-compatible" classes to a component which index from 1 on, or a class that uses matrices or powers of Pi to index. But yes, if you qualify an array as either: a) native arrays or b) array classes created on-the-fly by the interpreter when using the [] syntax ("derived arrays") then you can say that indexing begins at zero, for sure. These make ~ 80% of array uses in my projects, from a very quick grep. So much for its raison d'etre. Maybe we should add an article into the Lexicon[0]? Regards, Tobi [0] http://gambaswiki.org/wiki/def -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Wed Sep 17 15:28:31 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 17 Sep 2014 15:28:31 +0200 Subject: [Gambas-user] ...And what is planned for Gambas 3.7 In-Reply-To: <54193200.70500@...221...> References: <54177E6F.2090908@...1...> <201409160946.50060.rolf.frogs@...221...> <54193200.70500@...221...> Message-ID: Well it's a good idea... For the user interface ... You can take some ideas from gambasforge ;-) I think a repository of classes;components that can be moderate can be a good idea too. So users can use a large bases of offered free code. Maybe a repository for ide adds too The upload door must be via the use There is a need for different access point : - End user - Programmer via ide I think the ability to comment and notate programs is inprtant too. But you need to add moderator feedback. It's an huge work ... Good luck ! Mais l'id?e est me semble t-il assez novatrice pour ce qui est de la facilitation de l'installation. Managing all the distrib spec can become a nightmare soon, no ? Le 17 sept. 2014 09:03, "Rolf-Werner Eilert" a ?crit : > I agree. At least it should be possible to hold the help files locally > in case there is no (regular) internet access. Can't the IDE decide > where to load them from? IF internet access THEN download ELSE locally... > > Rolf > > > Am 16.09.2014 10:55, schrieb Randall Morgan: > > I would allow the user to chose during installation if basic help files > and > > basic example files were to be downloaded locally. But let the user know > > that there are more available online. That way those like myself who > often > > travel to where there is no internet can decide what they need to take > with > > them. > > > > On Tue, Sep 16, 2014 at 12:46 AM, rolf wrote: > > > >> > >> Hi Beno?t > >> > >>> For the next version, I'd like to implement a Gambas dedicated software > >>> repository. > >> It sounds good > >> > >>> 1) The Gambas repository is an http web service, but without website at > >>> the moment. It will allow to: > >>> - upload software. > >>> - search for software. > >>> - download software. > >>> > >>> 2) A software is a compiled Gambas project, with eventually the source > >>> project. Nothing more. > >>> > >>> 3) In the IDE, I will add a dialog to upload your project. > >>> > >>> 4) Uploading a project requires: > >>> - a login and a password, so you should be able to create an account > >>> from the IDE. > >>> - a project name. > >>> - a project description. > >>> - a project icon. > >>> - a project screenshot (optional). > >>> - a project major version. > >>> - tags. Some tags will be automatic (for example the component used by > >>> the project), some will be predefined. > >>> - a project control sum (MD5/SHA...). > >>> > >>> 5) I will made an external Gambas program to: > >>> - Search for projects inside the repository. > >>> - Download and install a project somewhere in the user home directory. > >>> > >>> 6) That program should be able to know how to install the needed gambas > >>> binary packages according to the system distribution. If it is not > >>> possible, it should at least warn the user about missing components. > >>> > >>> 7) A Gambas program may depend on other programs in the repository. > That > >>> way libraries will be able to be put in the repository too. > >>> > >>> 8) Gambas examples will be moved from the source tree to the > repository. > >> That is not a good idea in my opinion, because one cannot start > >> programming or > >> look at examples without an internet connection. A set of basic examples > >> should still be installed locally, when install gambas. > >> > >> Just my 2 ct. > >> Rolf > >> > >> > >> > ------------------------------------------------------------------------------ > >> Want excitement? > >> Manually upgrade your production database. > >> When you want reliability, choose Perforce. > >> Perforce version control. Predictably reliable. > >> > >> > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Sep 17 15:44:34 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 17 Sep 2014 15:44:34 +0200 Subject: [Gambas-user] Thread view broken In-Reply-To: <20140916233757.GG5614@...2774...> References: <20140916233757.GG5614@...2774...> Message-ID: :-) the 90's client mail ... Really stable ! .. it didn't take ages Le 17 sept. 2014 01:41, "Tobias Boege" a ?crit : > Hi people, > > as of recently there were more mails than usual which broke the thread view > of which some mail clients are capable and which some of us like very much. > > On the one side, there are mails which start a new topic (judging from > their > content), but belong to an already existing thread. This happens when the > sender replies to a message in an (unrelated) thread instead of creating an > entirely new message. There is a screenshot showing multiple of these > instances. > > On the other side, there are some mails which drop out of a thread for no > apparent reason. My mail client uses the In-Reply-To and References headers > to do its thread thing and I think this is the popular way. From those who > write regularly, I see Ru Vuott doing this from time to time and PICCORO > McKAY Lenz all the time. Maybe your mail clients have a blackout sometimes? > > Don't get me wrong. I'm not trying to be the "mail police". It's not too > much traffic for me to relink the wrong mails once in a time. But if the > mails would arrive correct, that would be great! > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From jussi.lahtinen at ...626... Wed Sep 17 16:27:37 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 17 Sep 2014 17:27:37 +0300 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5419218E.9090107@...3340...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5419218E.9090107@...3340...> Message-ID: > > git checkout pristine-tar > > git checkout upstream > > git checkout master > > Thats silly. git checkout just changes branches. In this example you > switch between three branches and do nothing. > Well this is what the admin of the git repository told me to do. I tried several times, and this really was required. Maybe there is some magic in git... Jussi From rmorgan62 at ...626... Wed Sep 17 16:35:36 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 17 Sep 2014 07:35:36 -0700 Subject: [Gambas-user] Wiki Update In-Reply-To: <20140917130405.GD1120@...2774...> References: <20140917121533.GC1120@...2774...> <20140917130405.GD1120@...2774...> Message-ID: I am talking about native gambas arrays of any standard gambas type.... On Wed, Sep 17, 2014 at 6:04 AM, Tobias Boege wrote: > On Wed, 17 Sep 2014, Randall Morgan wrote: > > We were looking at: http://gambaswiki.org/wiki/cat/arraydecl > > But don't all array indices in Gambas begin at Zero? > > > > What does it mean to be an array? I'm not sure. If you call an "array" what > can be used like an array then these are the classes implementing the > _get() > and/or _put() special methods. > > Collection also implements these methods but takes string indices. Tomorrow > I can add "Matlab-compatible" classes to a component which index from 1 on, > or a class that uses matrices or powers of Pi to index. > > But yes, if you qualify an array as either: > a) native arrays or > b) array classes created on-the-fly by the interpreter when using the > [] syntax ("derived arrays") > then you can say that indexing begins at zero, for sure. These make ~ 80% > of array uses in my projects, from a very quick grep. So much for its > raison d'etre. > > Maybe we should add an article into the Lexicon[0]? > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/def > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From jussi.lahtinen at ...626... Wed Sep 17 16:39:18 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 17 Sep 2014 17:39:18 +0300 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5418E887.4000901@...3375...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5418E887.4000901@...3375...> Message-ID: > 1) SVN will not detect a corruption - with Git the sha1 hash will > confirm that your source is unadulterated no matter who you pull it from. > Applies to situation where there is more than one repo where to pull. AFAIK there isn't for Gambas. > 2) With SVN, all your eggs are in one basket - Linus does not (or need > to) back up the linux kernel because everyone has a copy. > Well, backups are something you have to do anyway. Unless everything important in you computer is on the git repo. I don't think so. 3) With Git branching and merging are really cheap and hence very fast - > SVN fosters long periods of lone worker activity (during which there is > no source code control) simply because merging is difficult and you do > not want to commit half baked fixes because of the repercussions to > other users by forcing more merges on them. > Maybe, I didn't get that far. > 4) With Git you can work on the source without having a connection to > the server and still remain protected by source control. > I didn't like how this source control was implemented, I find it extremely clumsy. > To me it works best through a good Gui client or when it is part of your > IDE (I am used to Jetbrains). But if you are a command-line junkie then > fill your boots. > I'm OK with both. Maybe some nice GUI would hide the complexity and make git great... sounds just quite a bit of work. Jussi From chrisml at ...3340... Wed Sep 17 17:01:47 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 17:01:47 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: (sfid-) References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5419218E.9090107@...3340...> (sfid-) Message-ID: <5419A25B.3050302@...3340...> Am 17.09.2014 um 16:27 schrieb Jussi Lahtinen: >>> git checkout pristine-tar >>> git checkout upstream >>> git checkout master >> >> Thats silly. git checkout just changes branches. In this example you >> switch between three branches and do nothing. > > Well this is what the admin of the git repository told me to do. I tried > several times, and this really was required. > Maybe there is some magic in git... No. Respectively strange ... http://git-scm.com/docs/git-checkout git co changes the working tree. In your case first to pristine-tar then to upstream then to master You could also do one time "git checkout master" And the result is the same. Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jussi.lahtinen at ...626... Wed Sep 17 17:15:43 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 17 Sep 2014 18:15:43 +0300 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5419A25B.3050302@...3340...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5419218E.9090107@...3340...> <5419A25B.3050302@...3340...> Message-ID: > http://git-scm.com/docs/git-checkout > > git co changes the working tree. > Seems it doesn't just switch. "Updates files in the working tree to match the version in the index or the specified tree." Jussi From jleake at ...3375... Wed Sep 17 17:38:24 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 16:38:24 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5418E887.4000901@...3375...> Message-ID: <5419AAF0.7010507@...3375...> Just watch the Linus 2007 video and make your own mind up. On 17/09/14 15:39, Jussi Lahtinen wrote: >> 1) SVN will not detect a corruption - with Git the sha1 hash will >> confirm that your source is unadulterated no matter who you pull it from. >> > > Applies to situation where there is more than one repo where to pull. AFAIK > there isn't for Gambas. > > > >> 2) With SVN, all your eggs are in one basket - Linus does not (or need >> to) back up the linux kernel because everyone has a copy. >> > > Well, backups are something you have to do anyway. Unless everything > important in you computer is on the git repo. I don't think so. > > > 3) With Git branching and merging are really cheap and hence very fast - >> SVN fosters long periods of lone worker activity (during which there is >> no source code control) simply because merging is difficult and you do >> not want to commit half baked fixes because of the repercussions to >> other users by forcing more merges on them. >> > > Maybe, I didn't get that far. > > > >> 4) With Git you can work on the source without having a connection to >> the server and still remain protected by source control. >> > > I didn't like how this source control was implemented, I find it extremely > clumsy. > > > >> To me it works best through a good Gui client or when it is part of your >> IDE (I am used to Jetbrains). But if you are a command-line junkie then >> fill your boots. >> > > I'm OK with both. Maybe some nice GUI would hide the complexity and make > git great... sounds just quite a bit of work. > > > > Jussi > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Wed Sep 17 18:22:16 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 18:22:16 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: (sfid-) References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5418E887.4000901@...3375...> (sfid-) Message-ID: <5419B538.1060106@...3340...> Am 17.09.2014 um 16:39 schrieb Jussi Lahtinen: >> 1) SVN will not detect a corruption - with Git the sha1 hash will >> confirm that your source is unadulterated no matter who you pull it from. > > Applies to situation where there is more than one repo where to pull. AFAIK > there isn't for Gambas. No, that ist for detection of file corruption on disk. Or even file corruption in general. > 3) With Git branching and merging are really cheap and hence very fast - >> SVN fosters long periods of lone worker activity (during which there is >> no source code control) simply because merging is difficult and you do >> not want to commit half baked fixes because of the repercussions to >> other users by forcing more merges on them. > > Maybe, I didn't get that far. Yeah. This is the greatest advantage of Git: You have the complete repository at your own computer in this one single hidden dir. If you are working with your code, and want to try out just one simple thing, you create a new branch: git branch thisnewbutton And switch into that branch: git checkout thisnewbutton (I write "git co thi) Now start coding and committing by and by. After finished last commit, switch to branch master: git checkout master And do a merge: git merge thisnewbutton And you are done. If you want to send your code to the central main repository you do a "git push" and that's it. On my main project lying around on the server I have a master and a current development branch. But on my machines where I work on both of these branches I have except that a couple of branches just for testing and trying out some things. If something works well, I merge it usually into the development branch and push that onto the main repo. If I have to do a hotfix in master + development, i usually fix it in development and cherry-pick that hotfix into master, even if there are lots of commits in between. Another very cool advantage of Git is the superfast git grep. It greps through the whole project in milliseconds and gives you every occurance of a string in every file. > I'm OK with both. Maybe some nice GUI would hide the complexity and make > git great... sounds just quite a bit of work. There are lots of different interfaces to Git. I like tig best and use it all the time. It's fast, easy, usable everyvere. And I use gitweb on the server to have a look at it in the browser. http://www.youtube.com/watch?v=ZDR433b0HJY 3 or 5 hours working with Git (understanding staging) and you never want to go back to SVN any more. Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jleake at ...3375... Wed Sep 17 18:36:42 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 17:36:42 +0100 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5419B538.1060106@...3340...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5418E887.4000901@...3375...> (sfid-) <5419B538.1060106@...3340...> Message-ID: <5419B89A.5090806@...3375...> One more thing is disk space. With SVN there are two entire copies of the repo. On Git there is one and all the rest are diffs. On the corruption front it works by sha hashing so you are mathematically guaranteed that the code is sound! On 17/09/14 17:22, Christof Thalhofer wrote: > Am 17.09.2014 um 16:39 schrieb Jussi Lahtinen: >>> 1) SVN will not detect a corruption - with Git the sha1 hash will >>> confirm that your source is unadulterated no matter who you pull it from. >> >> Applies to situation where there is more than one repo where to pull. AFAIK >> there isn't for Gambas. > > No, that ist for detection of file corruption on disk. Or even file > corruption in general. > >> 3) With Git branching and merging are really cheap and hence very fast - >>> SVN fosters long periods of lone worker activity (during which there is >>> no source code control) simply because merging is difficult and you do >>> not want to commit half baked fixes because of the repercussions to >>> other users by forcing more merges on them. >> >> Maybe, I didn't get that far. > > Yeah. This is the greatest advantage of Git: You have the complete > repository at your own computer in this one single hidden dir. If you > are working with your code, and want to try out just one simple thing, > you create a new branch: > > git branch thisnewbutton > > And switch into that branch: > > git checkout thisnewbutton > (I write "git co thi) > > Now start coding and committing by and by. After finished last commit, > switch to branch master: > > git checkout master > > And do a merge: > > git merge thisnewbutton > > And you are done. > > If you want to send your code to the central main repository you do a > "git push" and that's it. > > On my main project lying around on the server I have a master and a > current development branch. > > But on my machines where I work on both of these branches I have except > that a couple of branches just for testing and trying out some things. > If something works well, I merge it usually into the development branch > and push that onto the main repo. > > If I have to do a hotfix in master + development, i usually fix it in > development and cherry-pick that hotfix into master, even if there are > lots of commits in between. > > Another very cool advantage of Git is the superfast git grep. It greps > through the whole project in milliseconds and gives you every occurance > of a string in every file. > >> I'm OK with both. Maybe some nice GUI would hide the complexity and make >> git great... sounds just quite a bit of work. > > There are lots of different interfaces to Git. I like tig best and use > it all the time. It's fast, easy, usable everyvere. And I use gitweb on > the server to have a look at it in the browser. > > http://www.youtube.com/watch?v=ZDR433b0HJY > > 3 or 5 hours working with Git (understanding staging) and you never want > to go back to SVN any more. > > > Alles Gute > > Christof Thalhofer > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Wed Sep 17 18:41:54 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 18:41:54 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: (sfid-) References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5419218E.9090107@...3340...> <5419A25B.3050302@...3340...> (sfid-) Message-ID: <5419B9D2.6070908@...3340...> Am 17.09.2014 um 17:15 schrieb Jussi Lahtinen: >> http://git-scm.com/docs/git-checkout >> >> git co changes the working tree. > > Seems it doesn't just switch. > "Updates files in the working tree to match the version in the index or the > specified tree." Yes shure, all different files in the the whole tree of the filesystem are changed by changing the branch. See a branch as a different version of your program's source tree. You can switch between the different versions of your program in a millisecond. Try it out by yourself if you don't believe. Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...2524... Wed Sep 17 20:32:13 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 17 Sep 2014 18:32:13 +0000 Subject: [Gambas-user] Issue 526 in gambas: Please create an AppData file for Gambas3 In-Reply-To: <3-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> <0-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-84595539987633980-gambas=googlecode.com@...2524...> Comment #4 on issue 526 by hughsi... at ...626...: Please create an AppData file for Gambas3 https://code.google.com/p/gambas/issues/detail?id=526 The AppData file needs to be installed to /usr/share/appdata/ on Linux and the basename needs to match the .desktop basename. It would also be great if you could integrate the file with your translation system (e.g. intltool) to make the descriptions translated. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jleake at ...3375... Wed Sep 17 20:51:22 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 19:51:22 +0100 Subject: [Gambas-user] Building /trunk Message-ID: <5419D82A.5010401@...3375...> I am working through the build errors in output.txt and the first header file that cannot be found is Could someone tell me what the C standard header path should be set to. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=XFCE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -------------- next part -------------- A non-text attachment was scrubbed... Name: output.txt.tar.gz Type: application/x-gzip Size: 12797 bytes Desc: not available URL: From jussi.lahtinen at ...626... Wed Sep 17 20:59:47 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 17 Sep 2014 21:59:47 +0300 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: <5419B538.1060106@...3340...> References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5418E887.4000901@...3375...> <5419B538.1060106@...3340...> Message-ID: > No, that ist for detection of file corruption on disk. Or even file > corruption in general. > Hmmm... I wonder what is the difference exactly. How svn can detect conflict, if it cannot detect corruption? > Now start coding and committing by and by. > What I didn't like is the way you need to make the commits, a lot of work for just adding one line to the sources. > There are lots of different interfaces to Git. I like tig best and use > it all the time. It's fast, easy, usable everyvere. And I use gitweb on > the server to have a look at it in the browser. > Thanks, I will keep that on my mind. I'm not right now involved with projects using git, but if I need I'll try that next time. Jussi From jussi.lahtinen at ...626... Wed Sep 17 21:02:45 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 17 Sep 2014 22:02:45 +0300 Subject: [Gambas-user] Building /trunk In-Reply-To: <5419D82A.5010401@...3375...> References: <5419D82A.5010401@...3375...> Message-ID: You are missing a lot of devs. http://gambaswiki.org/wiki/install?w&l=en Jussi On Wed, Sep 17, 2014 at 9:51 PM, John Leake wrote: > I am working through the build errors in output.txt and the first header > file that cannot be found is > Could someone tell me what the C standard header path should be set to. > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.11.0-26-generic > Architecture=x86_64 > Distribution=Ubuntu 12.04.5 LTS > Desktop=XFCE > Theme=QGtk > Language=en_GB.UTF-8 > Memory=7863M > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.5.8 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.1.0 > GTK+3=libgtk-3.so.0.400.2 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Poppler=libpoppler.so.19.0.0 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From taboege at ...626... Wed Sep 17 21:04:13 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 21:04:13 +0200 Subject: [Gambas-user] Building /trunk In-Reply-To: <5419D82A.5010401@...3375...> References: <5419D82A.5010401@...3375...> Message-ID: <20140917190413.GG1120@...2774...> On Wed, 17 Sep 2014, John Leake wrote: > I am working through the build errors in output.txt and the first header > file that cannot be found is > Could someone tell me what the C standard header path should be set to. > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.11.0-26-generic > Architecture=x86_64 > Distribution=Ubuntu 12.04.5 LTS configure should (con)figure this out itself. Do you have libffi installed? For Ubuntu, the package is allegedly[0] called "libffi-dev". [0] http://gambaswiki.org/wiki/install/ubuntu -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Wed Sep 17 21:40:29 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 20:40:29 +0100 Subject: [Gambas-user] Building /trunk In-Reply-To: <20140917190413.GG1120@...2774...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> Message-ID: <5419E3AD.9040306@...3375...> Nearly there. || THESE COMPONENTS ARE DISABLED: || - gb.jit || Unable to find file: libintl.so || Unable to find file: libiconv.so Any ideas ? On 17/09/14 20:04, Tobias Boege wrote: > On Wed, 17 Sep 2014, John Leake wrote: >> I am working through the build errors in output.txt and the first header >> file that cannot be found is >> Could someone tell me what the C standard header path should be set to. >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.11.0-26-generic >> Architecture=x86_64 >> Distribution=Ubuntu 12.04.5 LTS > > configure should (con)figure this out itself. Do you have libffi installed? > For Ubuntu, the package is allegedly[0] called "libffi-dev". > > [0] http://gambaswiki.org/wiki/install/ubuntu > -------------- next part -------------- A non-text attachment was scrubbed... Name: output.txt.tar.gz Type: application/x-gzip Size: 15212 bytes Desc: not available URL: From taboege at ...626... Wed Sep 17 21:51:33 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 21:51:33 +0200 Subject: [Gambas-user] Building /trunk In-Reply-To: <5419E3AD.9040306@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> Message-ID: <20140917195133.GH1120@...2774...> On Wed, 17 Sep 2014, John Leake wrote: > Nearly there. > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > Great. gb.jit needs LLVM >= 3.3, I think (although its configure.ac says only >= 3.1)... Depending on your Ubuntu version this may or may not be in your repositories yet. If it's not, it is still packaged for Gambas in the Gambas-Team's PPA[0] (which is yet another version number: 3.2). Maybe someone who uses Ubuntu can help here. (At least I'm running gb.jit fine with LLVM 3.3svn which I compiled last December or so.) > || Unable to find file: libintl.so > || Unable to find file: libiconv.so > Any ideas ? libintl.so and libiconv.so are likely inside your system's C library, so don't worry about them. (Unless the build fails, but I haven't seen that happening here yet.) Regards, Tobi [0] https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Wed Sep 17 21:58:03 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 17 Sep 2014 21:58:03 +0200 Subject: [Gambas-user] Building /trunk In-Reply-To: <20140917195133.GH1120@...2774...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> Message-ID: <20140917195803.GI1120@...2774...> On Wed, 17 Sep 2014, Tobias Boege wrote: > On Wed, 17 Sep 2014, John Leake wrote: > > Nearly there. > > || THESE COMPONENTS ARE DISABLED: > > || - gb.jit > > > > Great. gb.jit needs LLVM >= 3.3, I think (although its configure.ac says > only >= 3.1)... Depending on your Ubuntu version this may or may not be > in your repositories yet. If it's not, it is still packaged for Gambas in > the Gambas-Team's PPA[0] (which is yet another version number: 3.2). Maybe > someone who uses Ubuntu can help here. > > (At least I'm running gb.jit fine with LLVM 3.3svn which I compiled last > December or so.) > Oh, and if you don't feel like doing this now, it's not a problem. gb.jit adds a just-in-time compiler for Gambas bytecode. This component is purely optional and will "just" speed up execution (of appropriate code). You can go ahead without gb.jit, compile, install and run Gambas -- all of it! (Except for some benchmarks of... the JIT compiler.) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Wed Sep 17 22:06:35 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 17 Sep 2014 22:06:35 +0200 Subject: [Gambas-user] Control Backgroung/Foreground colour In-Reply-To: (sfid-) References: <54185706.4020008@...3375...> <5418779E.8000801@...3375...> <20140916175722.GC5614@...2774...> <54188720.5050500@...3375...> <20140916192852.GD5614@...2774...> <5418A30B.1040104@...3375...> <5418A5F6.3090606@...3375...> <5418A71E.2090901@...3375...> <5418A857.8000902@...1...> <5418B382.8090603@...3375...> <20140916224031.GF5614@...2774...> <5418D38E.1080307@...3375...> <5418E887.4000901@...3375...> <5419B538.1060106@...3340...> (sfid-) Message-ID: <5419E9CB.4040701@...3340...> Am 17.09.2014 um 20:59 schrieb Jussi Lahtinen: >> No, that ist for detection of file corruption on disk. Or even file >> corruption in general. >> > Hmmm... I wonder what is the difference exactly. How svn can detect > conflict, if it cannot detect corruption? Hmmm... :-), too complicated for me to answer. Ask Linus, he did a talk about that, there: http://www.youtube.com/watch?v=4XpnKHJAok8#t=56m16s >> Now start coding and committing by and by. > > What I didn't like is the way you need to make the commits, a lot of work > for just adding one line to the sources. Yes, that was my thought also, when I started using Git. Why there is a staging area between me and the repo? In the beginning I did "Fuck! Commit all!" as in SVN. Now I know, that if I work, I often see a piece of code, that is malformatted or has a little thing, that is to be fixed, but has nothing to do with the task, I'm working on. I fix it, yeah, inbetween. When I commit the work with tig (sorry, I am not anymore able to explain it in Git commands) out of the staging-area, now I'm commiting things in the context of what has been done. I do not commit the work of an afternoon, but I commit 1) the task I did and then 2) the two or three other things I did, while resolving the first task, in separate commits. So my commits are much cleaner. They show really the task I worked on and not the garbage I did else in maybe other files or other places in the same file. You can commit even parts of the file you changed, in Git they are called "hunks". http://git-scm.com/book/en/Git-Tools-Interactive-Staging If I want to see, what I did five weeks ago, I see, what I did, and not what I did else that afternoon. And If I did just lazy editing around, I do a commit all and call it "anything". > Thanks, I will keep that on my mind. I'm not right now involved with > projects using git, but if I need I'll try that next time. Yeah, cool, try it out. Take a lazy sunday afternoon with Git. :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jleake at ...3375... Wed Sep 17 22:33:15 2014 From: jleake at ...3375... (John Leake) Date: Wed, 17 Sep 2014 21:33:15 +0100 Subject: [Gambas-user] Building /trunk In-Reply-To: <20140917195803.GI1120@...2774...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> Message-ID: <5419F00B.3080005@...3375...> My Ubuntu version is 12.04.5 LTS as shown at the head if this thread. I just did a sudo apt-get install llvm and hey all I have now is || Unable to find file: libintl.so || Unable to find file: libiconv.so Before make and sudo make install I did:- sudo apt-get purge ganmas3 and sudo apt-get autoremove and verified that there was no gambas3 executable then make and sudo make install and all seems OK. Summary to this thread ---------------------- I used a net se to look for how to build gambas3 trunk from the subversion repo which pulled up http://www.gambasdoc.org/help/howto/svn?v3#t2 This was not enough info even though I followed the steps to the letter. user help pointed me to http://gambaswiki.org/wiki/doc/report#t3 http://gambaswiki.org/wiki/install This was also not enough so more help pointed me to http://gambaswiki.org/wiki/install/ubuntu#t6 This did not quite make it so more help suggested I install llvm and the feeling I got was almost better than sex. Conclusion ---------- If all the docs relating to building trunk were combined and in the same place I would have got here with just a single request for help. Many thanks to you all, John Leake On 17/09/14 20:58, Tobias Boege wrote: > On Wed, 17 Sep 2014, Tobias Boege wrote: >> On Wed, 17 Sep 2014, John Leake wrote: >>> Nearly there. >>> || THESE COMPONENTS ARE DISABLED: >>> || - gb.jit >>> >> >> Great. gb.jit needs LLVM >= 3.3, I think (although its configure.ac says >> only >= 3.1)... Depending on your Ubuntu version this may or may not be >> in your repositories yet. If it's not, it is still packaged for Gambas in >> the Gambas-Team's PPA[0] (which is yet another version number: 3.2). Maybe >> someone who uses Ubuntu can help here. >> >> (At least I'm running gb.jit fine with LLVM 3.3svn which I compiled last >> December or so.) >> > > Oh, and if you don't feel like doing this now, it's not a problem. gb.jit > adds a just-in-time compiler for Gambas bytecode. This component is purely > optional and will "just" speed up execution (of appropriate code). > > You can go ahead without gb.jit, compile, install and run Gambas -- all of > it! (Except for some benchmarks of... the JIT compiler.) > From Karl.Reinl at ...2345... Wed Sep 17 23:08:56 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 17 Sep 2014 23:08:56 +0200 Subject: [Gambas-user] Building /trunk In-Reply-To: <5419F00B.3080005@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> Message-ID: <1410988136.3486.13.camel@...40...> Am Mittwoch, den 17.09.2014, 21:33 +0100 schrieb John Leake: > My Ubuntu version is 12.04.5 LTS as shown at the head if this thread. > I just did a sudo apt-get install llvm and hey all I have now is > || Unable to find file: libintl.so > || Unable to find file: libiconv.so > Before make and sudo make install > I did:- > sudo apt-get purge ganmas3 > and > sudo apt-get autoremove > and verified that there was no gambas3 executable > then make and sudo make install and all seems OK. > > Summary to this thread > ---------------------- > I used a net se to look for how to build gambas3 trunk from the > subversion repo which pulled up > > http://www.gambasdoc.org/help/howto/svn?v3#t2 > > This was not enough info even though I followed the steps to the letter. > user help pointed me to > > http://gambaswiki.org/wiki/doc/report#t3 > http://gambaswiki.org/wiki/install > > This was also not enough so more help pointed me to > > http://gambaswiki.org/wiki/install/ubuntu#t6 > > This did not quite make it so more help suggested I install llvm and the > feeling I got was almost better than sex. ? better than what ? I know 0 , 1 and bits and bytes but what is sex... a new kind of pizza with coffee in ? > > Conclusion > ---------- > If all the docs relating to building trunk were combined and in the same > place I would have got here with just a single request for help. > > Many thanks to you all, > John Leake > > On 17/09/14 20:58, Tobias Boege wrote: > > On Wed, 17 Sep 2014, Tobias Boege wrote: > >> On Wed, 17 Sep 2014, John Leake wrote: > >>> Nearly there. > >>> || THESE COMPONENTS ARE DISABLED: > >>> || - gb.jit > >>> > >> > >> Great. gb.jit needs LLVM >= 3.3, I think (although its configure.ac says > >> only >= 3.1)... Depending on your Ubuntu version this may or may not be > >> in your repositories yet. If it's not, it is still packaged for Gambas in > >> the Gambas-Team's PPA[0] (which is yet another version number: 3.2). Maybe > >> someone who uses Ubuntu can help here. > >> > >> (At least I'm running gb.jit fine with LLVM 3.3svn which I compiled last > >> December or so.) > >> > > > > Oh, and if you don't feel like doing this now, it's not a problem. gb.jit > > adds a just-in-time compiler for Gambas bytecode. This component is purely > > optional and will "just" speed up execution (of appropriate code). > > > > You can go ahead without gb.jit, compile, install and run Gambas -- all of > > it! (Except for some benchmarks of... the JIT compiler.) > > From jussi.lahtinen at ...626... Wed Sep 17 23:52:25 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 18 Sep 2014 00:52:25 +0300 Subject: [Gambas-user] Building /trunk In-Reply-To: <5419F00B.3080005@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> Message-ID: *"If all the docs relating to building trunk were combined and in the same place I would have got here with just a single request for help."* > http://www.gambasdoc.org/help/howto/svn?v3#t2 > Old documentation. This is going to be removed. New version of this is in http://gambaswiki.org/wiki/install . > http://gambaswiki.org/wiki/doc/report#t3 > This is documentation about bug reporting. Compiling documentation should have link to this. > http://gambaswiki.org/wiki/install > General installing instructions. Which contains link to... http://gambaswiki.org/wiki/install/ubuntu#t6 > ...this. Which is specific installing instructions for Ubuntu. So, they all do not belong into same page. Jussi From t.lee.davidson at ...626... Thu Sep 18 00:16:07 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 17 Sep 2014 18:16:07 -0400 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <5419F00B.3080005@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> Message-ID: <541A0827.7030109@...626...> This again brings up an issue I brought up previously: that every page on the old wiki should have that same notice that is on the home page. "THE WIKI IS NOW IN READ-ONLY MODE. THE NEW WIKI IS NOW HOSTED AT http://gambaswiki.org" I asked if that could be done, but I don't see it yet. And, I realize not everyone has all the time in the world. Even better yet, though, might be a page specific 301 ("Moved Permanently") redirect to the new Wiki so that SEs would update their links. Could that be done with the old wiki, relatively easily? On 09/17/2014 04:33 PM, John Leake wrote: > I used a net se to look for how to build gambas3 trunk from the > subversion repo which pulled up > > http://www.gambasdoc.org/help/howto/svn?v3#t2 From gambas at ...1... Thu Sep 18 01:05:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Sep 2014 01:05:07 +0200 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A0827.7030109@...626...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> Message-ID: <541A13A3.2090901@...1...> /// My God! Stop using the same thread for all subjects! /// Le 18/09/2014 00:16, T Lee Davidson a ?crit : > This again brings up an issue I brought up previously: that every page > on the old wiki should have that same notice that is on the home page. > > "THE WIKI IS NOW IN READ-ONLY MODE. > THE NEW WIKI IS NOW HOSTED AT http://gambaswiki.org" > > I asked if that could be done, but I don't see it yet. And, I realize > not everyone has all the time in the world. This is done. I added a message in every page. > > Even better yet, though, might be a page specific 301 ("Moved > Permanently") redirect to the new Wiki so that SEs would update their > links. Could that be done with the old wiki, relatively easily? > No, because the old documentation must stay a little for Gambas 2 users. The new wiki is only for Gambas >= 3. Regards, -- Beno?t Minisini From willy at ...2734... Thu Sep 18 01:50:31 2014 From: willy at ...2734... (Willy Raets) Date: Thu, 18 Sep 2014 01:50:31 +0200 Subject: [Gambas-user] Stat() Auth and Mode (misunderstanding or bug?) Message-ID: <1410997831.32756.9.camel@...3024...> Hi all, Following was brought to my attention: To reproduce make a file named test in your home folder. Create a console project in IDE with any name you like Public Sub Main() Dim sPath As String sPath = User.Home &/ "test" With Stat(sPath) Print "Auth: " & .Auth Print "Mode: " & .Mode End With End Run the project. Output is: Auth: rw-r--r-- Mode: 420 Should mode not be 644 or do I misunderstand Stat().Mode? user rw- = 6 group r-- = 4 other r-- = 4 My info: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.2.0-68-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=QGtk Language=en_GB.UTF-8 Memory=2446M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...1... Thu Sep 18 01:53:22 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Sep 2014 01:53:22 +0200 Subject: [Gambas-user] Stat() Auth and Mode (misunderstanding or bug?) In-Reply-To: <1410997831.32756.9.camel@...3024...> References: <1410997831.32756.9.camel@...3024...> Message-ID: <541A1EF2.6010305@...1...> Le 18/09/2014 01:50, Willy Raets a ?crit : > Hi all, > > Following was brought to my attention: > > To reproduce make a file named test in your home folder. > Create a console project in IDE with any name you like > > Public Sub Main() > > Dim sPath As String > sPath = User.Home &/ "test" > With Stat(sPath) > Print "Auth: " & .Auth > Print "Mode: " & .Mode > End With > > End > > Run the project. > Output is: > > Auth: rw-r--r-- > Mode: 420 > > Should mode not be 644 or do I misunderstand Stat().Mode? > > user rw- = 6 > group r-- = 4 > other r-- = 4 > 644 is octal. In decimal it is 420. -- Beno?t Minisini From willy at ...2734... Thu Sep 18 02:09:38 2014 From: willy at ...2734... (Willy Raets) Date: Thu, 18 Sep 2014 02:09:38 +0200 Subject: [Gambas-user] Stat() Auth and Mode (misunderstanding or bug?) In-Reply-To: <541A1EF2.6010305@...1...> References: <1410997831.32756.9.camel@...3024...> <541A1EF2.6010305@...1...> Message-ID: <1410998978.32756.21.camel@...3024...> On do, 2014-09-18 at 01:53 +0200, Beno?t Minisini wrote: > Le 18/09/2014 01:50, Willy Raets a ?crit : > > Hi all, > > > > Following was brought to my attention: > > > > To reproduce make a file named test in your home folder. > > Create a console project in IDE with any name you like > > > > Public Sub Main() > > > > Dim sPath As String > > sPath = User.Home &/ "test" > > With Stat(sPath) > > Print "Auth: " & .Auth > > Print "Mode: " & .Mode > > End With > > > > End > > > > Run the project. > > Output is: > > > > Auth: rw-r--r-- > > Mode: 420 > > > > Should mode not be 644 or do I misunderstand Stat().Mode? > > > > user rw- = 6 > > group r-- = 4 > > other r-- = 4 > > > > 644 is octal. In decimal it is 420. That explains a lot and at the same time it is confusing as I got used to octal representation when running chmod on linux. I guess I'll have to rewire my brain when using Stat().Mode in Gambas :) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From jleake at ...3375... Thu Sep 18 02:19:34 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 01:19:34 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A13A3.2090901@...1...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> Message-ID: <541A2516.7060301@...3375...> What is going on here ? I really do not understand. I (John Leake the gambas newbie) started a new thread about the problems I was experiencing in attempting to build from svn trunk. Please do not loose sight of the fact that it all worked in the end (which is a major achievement). I was careful to be as self sufficient as possible. With my limited knowledge of this domain I was forced to used common SE techniques (in the absence of any direct integrated help) to try and find a definitive explanation as to how I should p[roceed. At the end of the thread I made extra effort to pull my entire experience into a concise conclusion so that other newbies do not generate the same old noise that seems to have been going on since 2008. Why does documentation get the short end of the stick and never get the attention it deserves. It would save everyone a whole shed load of time if it was streamlined and put in one place along side the code that it was meant to represent. It really cannot exist outside of source code control. Where will you be when there is a gambas4, 5 and 6 ? If you combine the help (relevant to this thread) from each of the 4 urls' I had to visit it would only be a few lines longer than any of the urls if taken separately. By the way I selected version 3 where there was an option to do so. What is wrong with a generic explanation followed by caveats pertinent to each distro where required ? From jleake at ...3375... Thu Sep 18 02:26:54 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 01:26:54 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A2516.7060301@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> Message-ID: <541A26CE.2030208@...3375...> Sorry guys I did about sixteen hours on this yesterday and only had about 4 hours sleep last night so I will just have to call it a dorris and let all you fit youngsters slug it out. From jleake at ...3375... Thu Sep 18 02:39:17 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 01:39:17 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A26CE.2030208@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> Message-ID: <541A29B5.10709@...3375...> WARNING - building Gambas3 can fuck up your desktop. My window borders have vanished. From jleake at ...3375... Thu Sep 18 02:47:25 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 01:47:25 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A29B5.10709@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> Message-ID: <541A2B9D.9010409@...3375...> I cannot deal with this right now. Despite purging Gambas3 autoremove and update and reinstalling my desktop it has all turned to ratshit!!! On 18/09/14 01:39, John Leake wrote: > WARNING - building Gambas3 can fuck up your desktop. > My window borders have vanished. > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Sep 18 03:17:14 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 18 Sep 2014 04:17:14 +0300 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A2B9D.9010409@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> Message-ID: Hard to believe it is Gambas issue. I think your window manager has crashed, either restart it or reboot. If it is config issue, then it's more complicated. Jussi On Thu, Sep 18, 2014 at 3:47 AM, John Leake wrote: > I cannot deal with this right now. Despite purging Gambas3 autoremove > and update and reinstalling my desktop it has all turned to ratshit!!! > > On 18/09/14 01:39, John Leake wrote: > > WARNING - building Gambas3 can fuck up your desktop. > > My window borders have vanished. > > > > > ------------------------------------------------------------------------------ > > Want excitement? > > Manually upgrade your production database. > > When you want reliability, choose Perforce > > Perforce version control. Predictably reliable. > > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rmorgan62 at ...626... Thu Sep 18 07:40:07 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 17 Sep 2014 22:40:07 -0700 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> Message-ID: Hi John, I run a system similar to yours. Still running 12.04 LTS and have not only routinely built Gambas 3 from source but, I have gone back and forth between the repo versions and the trunk code. If you take care to ensure all the listed prerequisites are installed, Gambas 3 build fine and does not mess with the any of the desktops I have ran. I would doubt that GB messed anything up. I suppose it is possible but I don't think it is likely. I think what you may be experiencing is the newbie learning curve that every newbie experiences. Are you familiar with managing a *nix OS? Are you familiar with SVN or other VCS systems? If not, in time you will be. If you are, then building Gambas should be straight-forward. Evenry *nix project has dependencies and every *nix OS provides it's own repo and often it's own dependency names... If you work on Ubuntu get used to pulling newer versions of libraries from upstream (Debian) to keep the latest software working... All in all though, Ubuntu is a great OS. I run Fedora, Ubuntu, Mint, and others and find Ubuntu my preferred, non-server *nix OS. So pat yourself on the back for crossing the first major hurtle on the way to learning and using a great Basic variant language! You'll have a challenging road ahead but each step is worth the effort and the learning curve for Gambas rounds off quickly. Randall On Wed, Sep 17, 2014 at 6:17 PM, Jussi Lahtinen wrote: > Hard to believe it is Gambas issue. I think your window manager has > crashed, either restart it or reboot. > If it is config issue, then it's more complicated. > > > Jussi > > On Thu, Sep 18, 2014 at 3:47 AM, John Leake wrote: > > > I cannot deal with this right now. Despite purging Gambas3 autoremove > > and update and reinstalling my desktop it has all turned to ratshit!!! > > > > On 18/09/14 01:39, John Leake wrote: > > > WARNING - building Gambas3 can fuck up your desktop. > > > My window borders have vanished. > > > > > > > > > ------------------------------------------------------------------------------ > > > Want excitement? > > > Manually upgrade your production database. > > > When you want reliability, choose Perforce > > > Perforce version control. Predictably reliable. > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Want excitement? > > Manually upgrade your production database. > > When you want reliability, choose Perforce > > Perforce version control. Predictably reliable. > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From jleake at ...3375... Thu Sep 18 10:38:30 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 09:38:30 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> Message-ID: <541A9A06.3050906@...3375...> Hi Jussi, One good thing here is that the system seems faster unless it is the volume of adrenalin coursing through my arteries. What a bloody mess. Hi Randal, I have been a self employed software engineer for more than 30 years with a degree in Electronics and Physics. I built my own video card, RS232 keyboard, S100-bus single board computer based on the Motorola 6809 MCU (the first micro to allow position independent code with a truly orthogonal instruction set) and an fsk modulator/demodulator so I could save programs to cassette tape. I wrote my first assembler in hex and typed it in and saved the code all using the above hardware. Ok so I was 60 years old this year and I admit I was not that bright when I was a lot younger never mind the damage caused by flying along on the tail end of the late 1960s revolution. I am a newbie to Gambas that is all. Linux is not my strongest OS, but certainly my favourite. As you get older you spend less time looking into the interior of a tool and more time putting it to good use. I have tried more than a dozen distros and currently run 2 with regular use of 4 others under VirtualBox. Including some M$ shite. The distro that is buggered up is BackBox 13 something. I am still fuming over this bloody awful mess so sorry if I have inadvertently dropped a shit load of baggage on you. End of rant. So moving forward any one got any bright ideas to track down the cause of this. I could have been hacked since I have been building a four NIC firewall using a Raspberry Pi and could have had my guard down. Some of the symptoms -------------------- (1) System wide keyboard short cuts all fucked up. (2) No Window decoration. (3) Window layering, focus, bring to top - knackered. (4) Default position on window launch not what it used to be. (5) Thunderbird text menus not working. Any one got any bright ideas where I should start to unravel this mess ? Best regards, John Leake From jleake at ...3375... Thu Sep 18 10:58:11 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 09:58:11 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A9A06.3050906@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> Message-ID: <541A9EA3.50903@...3375...> > Some of the symptoms > -------------------- > > (1) System wide keyboard short cuts all fucked up. > (2) No Window decoration. > (3) Window layering, focus, bring to top - knackered. > (4) Default position on window launch not what it used to be. > (5) Thunderbird text menus not working. (6) Firefox text menus not working (7) Right Click context menus not working (8) Desktop Panels not on top What I have tried without success --------------------------------- sudo apt-get purge gambas sudo apt-get autoremove BackBox restore desktop Lots of reboots because the windows eventually fill the whole screen and the top one is the last program launched. Some of my ideas ---------------- Fucked up (sorry incompatible) graphics libraries. From gambas at ...1... Thu Sep 18 11:10:44 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Sep 2014 11:10:44 +0200 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A9EA3.50903@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> Message-ID: <541AA194.8020107@...1...> Le 18/09/2014 10:58, John Leake a ?crit : >> Some of the symptoms >> -------------------- >> >> (1) System wide keyboard short cuts all fucked up. >> (2) No Window decoration. >> (3) Window layering, focus, bring to top - knackered. >> (4) Default position on window launch not what it used to be. >> (5) Thunderbird text menus not working. > (6) Firefox text menus not working > (7) Right Click context menus not working > (8) Desktop Panels not on top > > What I have tried without success > --------------------------------- > sudo apt-get purge gambas > sudo apt-get autoremove > BackBox restore desktop > Lots of reboots because the windows eventually fill the whole screen and > the top one is the last program launched. > > Some of my ideas > ---------------- > Fucked up (sorry incompatible) graphics libraries. > > Gambas cannot destroy your system, installed from source of from binary packages. This is something else. Regards, -- Beno?t Minisini From jleake at ...3375... Thu Sep 18 11:14:52 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 10:14:52 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541A9EA3.50903@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> Message-ID: <541AA28C.9060004@...3375...> >> Some of the symptoms >> -------------------- >> >> (1) System wide keyboard short cuts all fucked up. >> (2) No Window decoration. >> (3) Window layering, focus, bring to top - knackered. >> (4) Default position on window launch not what it used to be. >> (5) Thunderbird text menus not working. > (6) Firefox text menus not working > (7) Right Click context menus not working > (8) Desktop Panels not on top > > What I have tried without success > --------------------------------- > sudo apt-get purge gambas > sudo apt-get autoremove > BackBox restore desktop > Lots of reboots because the windows eventually fill the whole screen and > the top one is the last program launched. Removing all the gambas repos and updating and rebooting rm -rf .gnome .gnome2 .gconf .gconfd .metacity > > Some of my ideas > ---------------- > Fucked up (sorry incompatible) graphics libraries. > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jleake at ...3375... Thu Sep 18 11:16:35 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 10:16:35 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541AA194.8020107@...1...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA194.8020107@...1...> Message-ID: <541AA2F3.80002@...3375...> > Gambas cannot destroy your system, installed from source of from binary > packages. This is something else. Any suggestions ? From jleake at ...3375... Thu Sep 18 11:51:05 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 10:51:05 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541AA28C.9060004@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> Message-ID: <541AAB09.7020708@...3375...> >>> Some of the symptoms >>> -------------------- >>> >>> (1) System wide keyboard short cuts all fucked up. >>> (2) No Window decoration. >>> (3) Window layering, focus, bring to top - knackered. >>> (4) Default position on window launch not what it used to be. >>> (5) Thunderbird text menus not working. >> (6) Firefox text menus not working >> (7) Right Click context menus not working >> (8) Desktop Panels not on top >> >> What I have tried without success >> --------------------------------- >> sudo apt-get purge gambas >> sudo apt-get autoremove >> BackBox restore desktop >> Lots of reboots because the windows eventually fill the whole screen and >> the top one is the last program launched. > Removing all the gambas repos and updating and rebooting > rm -rf .gnome .gnome2 .gconf .gconfd .metacity > >> >> Some of my ideas >> ---------------- >> Fucked up (sorry incompatible) graphics libraries. >> What seemed to help ------------------- sudo apt-get install metacity - this gave be back window focus and bring to top as well as window decoration (although ugly/basic) and context menus, keyboard short cuts, and working firefox/thunderbird text menus. Can anyone explain what might have happened ? From dosida at ...626... Thu Sep 18 13:04:48 2014 From: dosida at ...626... (Dimitris Anogiatis) Date: Thu, 18 Sep 2014 05:04:48 -0600 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541AAB09.7020708@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> <541AAB09.7020708@...3375...> Message-ID: /me scratches head... Ubuntu 12.04LTS with metacity and gnome2? I thought Ubuntu switched to Unity a LOOONG time ago or am I missing something here? On Thu, Sep 18, 2014 at 3:51 AM, John Leake wrote: > >>> Some of the symptoms > >>> -------------------- > >>> > >>> (1) System wide keyboard short cuts all fucked up. > >>> (2) No Window decoration. > >>> (3) Window layering, focus, bring to top - knackered. > >>> (4) Default position on window launch not what it used to be. > >>> (5) Thunderbird text menus not working. > >> (6) Firefox text menus not working > >> (7) Right Click context menus not working > >> (8) Desktop Panels not on top > >> > >> What I have tried without success > >> --------------------------------- > >> sudo apt-get purge gambas > >> sudo apt-get autoremove > >> BackBox restore desktop > >> Lots of reboots because the windows eventually fill the whole screen and > >> the top one is the last program launched. > > Removing all the gambas repos and updating and rebooting > > rm -rf .gnome .gnome2 .gconf .gconfd .metacity > > > >> > >> Some of my ideas > >> ---------------- > >> Fucked up (sorry incompatible) graphics libraries. > >> > What seemed to help > ------------------- > sudo apt-get install metacity - this gave be back window focus and bring > to top as well as window decoration (although ugly/basic) and context > menus, keyboard short cuts, and working firefox/thunderbird text menus. > > Can anyone explain what might have happened ? > > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Sep 18 13:07:42 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 18 Sep 2014 14:07:42 +0300 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541AAB09.7020708@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> <541AAB09.7020708@...3375...> Message-ID: John, not to offense, but your messages are mess. What is your distro, Ubuntu or BackBox? Why metacity?? Neither of them uses metacity. Jussi On Thu, Sep 18, 2014 at 12:51 PM, John Leake wrote: > >>> Some of the symptoms > >>> -------------------- > >>> > >>> (1) System wide keyboard short cuts all fucked up. > >>> (2) No Window decoration. > >>> (3) Window layering, focus, bring to top - knackered. > >>> (4) Default position on window launch not what it used to be. > >>> (5) Thunderbird text menus not working. > >> (6) Firefox text menus not working > >> (7) Right Click context menus not working > >> (8) Desktop Panels not on top > >> > >> What I have tried without success > >> --------------------------------- > >> sudo apt-get purge gambas > >> sudo apt-get autoremove > >> BackBox restore desktop > >> Lots of reboots because the windows eventually fill the whole screen and > >> the top one is the last program launched. > > Removing all the gambas repos and updating and rebooting > > rm -rf .gnome .gnome2 .gconf .gconfd .metacity > > > >> > >> Some of my ideas > >> ---------------- > >> Fucked up (sorry incompatible) graphics libraries. > >> > What seemed to help > ------------------- > sudo apt-get install metacity - this gave be back window focus and bring > to top as well as window decoration (although ugly/basic) and context > menus, keyboard short cuts, and working firefox/thunderbird text menus. > > Can anyone explain what might have happened ? > > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Sep 18 13:13:06 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 18 Sep 2014 14:13:06 +0300 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> <541AAB09.7020708@...3375...> Message-ID: If you use BackBox, uninstall metacity and try to delete ~/.cache/sessions. Assuming you still have xfwm4 installed. Jussi On Thu, Sep 18, 2014 at 2:07 PM, Jussi Lahtinen wrote: > John, not to offense, but your messages are mess. What is your distro, > Ubuntu or BackBox? Why metacity?? Neither of them uses metacity. > > > Jussi > > On Thu, Sep 18, 2014 at 12:51 PM, John Leake wrote: > >> >>> Some of the symptoms >> >>> -------------------- >> >>> >> >>> (1) System wide keyboard short cuts all fucked up. >> >>> (2) No Window decoration. >> >>> (3) Window layering, focus, bring to top - knackered. >> >>> (4) Default position on window launch not what it used to be. >> >>> (5) Thunderbird text menus not working. >> >> (6) Firefox text menus not working >> >> (7) Right Click context menus not working >> >> (8) Desktop Panels not on top >> >> >> >> What I have tried without success >> >> --------------------------------- >> >> sudo apt-get purge gambas >> >> sudo apt-get autoremove >> >> BackBox restore desktop >> >> Lots of reboots because the windows eventually fill the whole screen >> and >> >> the top one is the last program launched. >> > Removing all the gambas repos and updating and rebooting >> > rm -rf .gnome .gnome2 .gconf .gconfd .metacity >> > >> >> >> >> Some of my ideas >> >> ---------------- >> >> Fucked up (sorry incompatible) graphics libraries. >> >> >> What seemed to help >> ------------------- >> sudo apt-get install metacity - this gave be back window focus and bring >> to top as well as window decoration (although ugly/basic) and context >> menus, keyboard short cuts, and working firefox/thunderbird text menus. >> >> Can anyone explain what might have happened ? >> >> >> >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce >> Perforce version control. Predictably reliable. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From jleake at ...3375... Thu Sep 18 14:01:51 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 13:01:51 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> <541AAB09.7020708@...3375...> Message-ID: <541AC9AF.80800@...3375...> > /me scratches head... Ubuntu 12.04LTS with metacity and gnome2? I thought > Ubuntu switched to Unity a LOOONG time ago or am I missing something here? The distro is BackBox 3.13 which is Ubuntu 12.0.4 LTS with a light front end instead of all that unity bloatware. From jleake at ...3375... Thu Sep 18 14:13:23 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 13:13:23 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> <541AAB09.7020708@...3375...> Message-ID: <541ACC63.4030603@...3375...> > John, not to offense, but your messages are mess. What is your distro, > Ubuntu or BackBox? Why metacity?? Neither of them uses metacity. Hi Jussi, No offence taken. I have been trying to find out why my threading is a mess but have not got to the bottom of that yet. BackBox 3.13 is based on Debian and Ubuntu LTS http://distrowatch.com/table.php?distribution=backbox Searching the net for similar problems led me to try metacity. It all seems to function OK now. It just looks a little unpolished. Have you any idea how I might trace the cause of this ? I suppose I could reinstate the gambas3 test ppa s do another rebuild to see if there is a connection. From taboege at ...626... Thu Sep 18 14:15:12 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 18 Sep 2014 14:15:12 +0200 Subject: [Gambas-user] Stat() Auth and Mode (misunderstanding or bug?) In-Reply-To: <1410998978.32756.21.camel@...3024...> References: <1410997831.32756.9.camel@...3024...> <541A1EF2.6010305@...1...> <1410998978.32756.21.camel@...3024...> Message-ID: <20140918121512.GA1080@...2774...> On Thu, 18 Sep 2014, Willy Raets wrote: > On do, 2014-09-18 at 01:53 +0200, Beno??t Minisini wrote: > > Le 18/09/2014 01:50, Willy Raets a ??crit : > > > Hi all, > > > > > > Following was brought to my attention: > > > > > > To reproduce make a file named test in your home folder. > > > Create a console project in IDE with any name you like > > > > > > Public Sub Main() > > > > > > Dim sPath As String > > > sPath = User.Home &/ "test" > > > With Stat(sPath) > > > Print "Auth: " & .Auth > > > Print "Mode: " & .Mode > > > End With > > > > > > End > > > > > > Run the project. > > > Output is: > > > > > > Auth: rw-r--r-- > > > Mode: 420 > > > > > > Should mode not be 644 or do I misunderstand Stat().Mode? > > > > > > user rw- = 6 > > > group r-- = 4 > > > other r-- = 4 > > > > > > > 644 is octal. In decimal it is 420. > > That explains a lot and at the same time it is confusing as I got used > to octal representation when running chmod on linux. > > I guess I'll have to rewire my brain when using Stat().Mode in Gambas :) > Think of it as: Mode returns an Integer. Integers only have *values*, they do *not* come with specific representation information, like a number base. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Thu Sep 18 14:21:22 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 13:21:22 +0100 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> <541AAB09.7020708@...3375...> Message-ID: <541ACE42.3040308@...3375...> > If you use BackBox, uninstall metacity and try to delete ~/.cache/sessions. > Assuming you still have xfwm4 installed. Done and I do have xfwm4 installed and I am back to an almost unusable system. From rmorgan62 at ...626... Thu Sep 18 17:08:17 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 18 Sep 2014 08:08:17 -0700 Subject: [Gambas-user] Building /trunk, deprecated documentation In-Reply-To: <541ACE42.3040308@...3375...> References: <5419D82A.5010401@...3375...> <20140917190413.GG1120@...2774...> <5419E3AD.9040306@...3375...> <20140917195133.GH1120@...2774...> <20140917195803.GI1120@...2774...> <5419F00B.3080005@...3375...> <541A0827.7030109@...626...> <541A13A3.2090901@...1...> <541A2516.7060301@...3375...> <541A26CE.2030208@...3375...> <541A29B5.10709@...3375...> <541A2B9D.9010409@...3375...> <541A9A06.3050906@...3375...> <541A9EA3.50903@...3375...> <541AA28C.9060004@...3375...> <541AAB09.7020708@...3375...> <541ACE42.3040308@...3375...> Message-ID: John, We are about in the same boat but I have a few years on you in using Gambas. I worked with a 4004 and the 74181 ALUs... I was lucky enough to have access to a Altair 8800. Though I am 5 years your junior... The 6809 and I spent a lot of time together. I even built a 6809 emulator. I think you will enjoy Gambas 3. While not quite Dartmouth Basic, it retains much of the Basic language while adding many powerful features. The object model is a bit different and sometimes seems restrictive from a C/C++ point of view. But that usually is caused by a limited understanding of the object model and how to work with it. What you will find here is a lot of people willing to help you. So dig in and enjoy the journey! On Thu, Sep 18, 2014 at 5:21 AM, John Leake wrote: > > If you use BackBox, uninstall metacity and try to delete > ~/.cache/sessions. > > Assuming you still have xfwm4 installed. > > Done and I do have xfwm4 installed and I am back to an almost unusable > system. > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...1... Thu Sep 18 17:16:02 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 18 Sep 2014 17:16:02 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <5419427D.1000001@...3323...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> Message-ID: <541AF732.7080802@...1...> Le 17/09/2014 10:12, J?rn Erik M?rne a ?crit : > Den 17. sep. 2014 03:41, skrev Beno?t Minisini: >> Le 16/09/2014 17:19, J?rn Erik M?rne a ?crit : >>> >>> It really doesn't matter what project you use, as all of them fail the >>> same way. I had Manjaro on two different PCs and the result was the same >>> on both. Here is a slightly modified version of that project I used to >>> show the error attached in the previous mail. (Perhaps you'll also see >>> that because of the TrayIcon that is included in the project, you'll >>> have to force quit the app to stop it. Clicking x just closes the >>> window, but leaves Gambas still in running mode... also, in Ubuntu, the >>> tray icon is not showing, however now it is showing in KDE Manjaro... I >>> have no idea why it all of a sudden changed like that.) >>> >>> Kind regards >>> J?rn Erik >> >> I know it doesn't matter, but I always need the project to reproduce >> the same conditions as much as possible! >> >> Now I'm currently compiling Gambas on a ArchLinux installed (with many >> problems) inside VirtualBox... >> >> But I didn't write the code that makes ArchLinux package, not being an >> ArchLinux user, and the guy who wrote it disappeared. >> >> So be patient! >> > > No hurry :) I am just reporting bugs I find, but I also know you are > doing a lot, and I am in no way expecting you to fix it immediately, > though you are often very quick :) Thanks for making Gambas Beno?t, it > is truly a very nice project. > > Wishing you a very good day! > > Kind regards > J?rn Erik > The ArchLinux packages should be fixed in revision #6487. If you can confirm, it would be cool. Regards, -- Beno?t Minisini From t.lee.davidson at ...626... Thu Sep 18 19:24:35 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 18 Sep 2014 13:24:35 -0400 Subject: [Gambas-user] Locating a function's source code? Message-ID: <541B1553.8070200@...626...> Hi All, I am almost lost when it comes to browsing the source code tree for specific pieces of code. The Gambas home page (http://gambas.sourceforge.net/en/main.html) has a "Browse Source Code" link, but that page only shows the latest commits. And, anything I do there to try to browse the tree, just seems to take me around in circles. The HTTP access command there and the SVN command on the Wiki's "How To Deal With Subversion" page (http://gambaswiki.org/wiki/howto/svn) both assume that one wants to checkout a copy of the repository. I do not. I found that I can browse the code by converting the SVN-protocol URI to a HTTP-protocol URI (http://svn.code.sf.net/p/gambas/code/gambas/), and use my web browser to view the code tree. Okay, good. Now where do I go from here? Suppose I wish to view the source code for the "Hex$" function. The Wiki page for that function (http://gambaswiki.org/wiki/lang/hex) does not give any clue as to what component or class it belongs to. A look at the gb component and the gb class does not reveal that function. So, I guess it is a built-in function native to the interpreter (?). If I decide to go with that assumption, that brings me back to, "where do I go from here?" I know that I would look in "trunk" for code upcoming in the next major release, and in "branches" if I want to see how the function is implemented in my current version. But exactly where would I look? In "app/", in "main/", somewhere else? And how might I be able to figure this out for myself next time? I appreciate any guidance anyone may care to give. Lee From jleake at ...3375... Thu Sep 18 19:42:54 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 18:42:54 +0100 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <541B1553.8070200@...626...> References: <541B1553.8070200@...626...> Message-ID: <541B199E.1030704@...3375...> Hi Lee, I feel the same way and have experienced the same kind of inability to help oneself so you are not alone in this respect. I have been told that it just takes time to get familiar with how things work and how things are done. I intend to rectify this. That said the community is very friendly and willing to help in any way they can. However the amount of email noise this generates will only increase and go off the scale as the tool becomes more popular. I think that the only thing stopping avalanches of unnecessary questions by newcomers is that the newcomers are probably giving it a try, getting nowhere fast and then leaving never to be seen again. Best regards, John Leake On 18/09/14 18:24, T Lee Davidson wrote: > Hi All, > > I am almost lost when it comes to browsing the source code tree for > specific pieces of code. > > The Gambas home page (http://gambas.sourceforge.net/en/main.html) has a > "Browse Source Code" link, but that page only shows the latest commits. > And, anything I do there to try to browse the tree, just seems to take > me around in circles. > > The HTTP access command there and the SVN command on the Wiki's "How To > Deal With Subversion" page (http://gambaswiki.org/wiki/howto/svn) both > assume that one wants to checkout a copy of the repository. I do not. > > I found that I can browse the code by converting the SVN-protocol URI to > a HTTP-protocol URI (http://svn.code.sf.net/p/gambas/code/gambas/), and > use my web browser to view the code tree. > > Okay, good. Now where do I go from here? > > > Suppose I wish to view the source code for the "Hex$" function. The Wiki > page for that function (http://gambaswiki.org/wiki/lang/hex) does not > give any clue as to what component or class it belongs to. A look at the > gb component and the gb class does not reveal that function. > > So, I guess it is a built-in function native to the interpreter (?). If > I decide to go with that assumption, that brings me back to, "where do I > go from here?" > > I know that I would look in "trunk" for code upcoming in the next major > release, and in "branches" if I want to see how the function is > implemented in my current version. But exactly where would I look? > > In "app/", in "main/", somewhere else? > > And how might I be able to figure this out for myself next time? > > > I appreciate any guidance anyone may care to give. > > > Lee > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Sep 18 19:55:11 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Sep 2014 19:55:11 +0200 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <541B1553.8070200@...626...> References: <541B1553.8070200@...626...> Message-ID: <541B1C7F.4000607@...1...> Le 18/09/2014 19:24, T Lee Davidson a ?crit : > Hi All, > > I am almost lost when it comes to browsing the source code tree for > specific pieces of code. > > The Gambas home page (http://gambas.sourceforge.net/en/main.html) has a > "Browse Source Code" link, but that page only shows the latest commits. > And, anything I do there to try to browse the tree, just seems to take > me around in circles. > > The HTTP access command there and the SVN command on the Wiki's "How To > Deal With Subversion" page (http://gambaswiki.org/wiki/howto/svn) both > assume that one wants to checkout a copy of the repository. I do not. > > I found that I can browse the code by converting the SVN-protocol URI to > a HTTP-protocol URI (http://svn.code.sf.net/p/gambas/code/gambas/), and > use my web browser to view the code tree. > > Okay, good. Now where do I go from here? > > > Suppose I wish to view the source code for the "Hex$" function. The Wiki > page for that function (http://gambaswiki.org/wiki/lang/hex) does not > give any clue as to what component or class it belongs to. A look at the > gb component and the gb class does not reveal that function. > > So, I guess it is a built-in function native to the interpreter (?). If > I decide to go with that assumption, that brings me back to, "where do I > go from here?" > > I know that I would look in "trunk" for code upcoming in the next major > release, and in "branches" if I want to see how the function is > implemented in my current version. But exactly where would I look? > > In "app/", in "main/", somewhere else? > > And how might I be able to figure this out for myself next time? > > > I appreciate any guidance anyone may care to give. > > > Lee > All native functions are implemented in the interpreter source code. The interpreter source code is located in /trunk/main/gbx. The Hex$() function is implemented in the 'SUBR_hex_bin()' function of the 'gbx_subr_conv.c' file. But I don't know what you want to do exactly. If you don't know C and don't know how the interpreter internally works without me telling you, you won't go very far. Regards, -- Beno?t Minisini From taboege at ...626... Thu Sep 18 19:57:59 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 18 Sep 2014 19:57:59 +0200 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <541B1553.8070200@...626...> References: <541B1553.8070200@...626...> Message-ID: <20140918175759.GE1080@...2774...> On Thu, 18 Sep 2014, T Lee Davidson wrote: > Hi All, > > I am almost lost when it comes to browsing the source code tree for > specific pieces of code. > > The Gambas home page (http://gambas.sourceforge.net/en/main.html) has a > "Browse Source Code" link, but that page only shows the latest commits. > And, anything I do there to try to browse the tree, just seems to take > me around in circles. > > The HTTP access command there and the SVN command on the Wiki's "How To > Deal With Subversion" page (http://gambaswiki.org/wiki/howto/svn) both > assume that one wants to checkout a copy of the repository. I do not. > > I found that I can browse the code by converting the SVN-protocol URI to > a HTTP-protocol URI (http://svn.code.sf.net/p/gambas/code/gambas/), and > use my web browser to view the code tree. > > Okay, good. Now where do I go from here? > > > Suppose I wish to view the source code for the "Hex$" function. The Wiki > page for that function (http://gambaswiki.org/wiki/lang/hex) does not > give any clue as to what component or class it belongs to. A look at the > gb component and the gb class does not reveal that function. > > So, I guess it is a built-in function native to the interpreter (?). Yes, everything you find under /lang in the documentation belongs to the language, which means that it's built into the interpreter. > If > I decide to go with that assumption, that brings me back to, "where do I > go from here?" > > I know that I would look in "trunk" for code upcoming in the next major > release, and in "branches" if I want to see how the function is > implemented in my current version. But exactly where would I look? > > In "app/", in "main/", somewhere else? > > And how might I be able to figure this out for myself next time? > There are some places to remember: - /gb.*: components written in C/C++ - /comp/src/gb.*: components written in Gambas - /app/src/*: Gambas programs such as the IDE, the wiki and the scripter - /examples: the example projects available from the IDE - /main/gbc: compiler, informer, archiver - /main/gbx: interpreter - /main/lib: components in C/C++ without dependencies You are clearly looking for a built-in function of the interpreter here, so go into /main/gbx. Built-in functions do not belong to a (real[*]) class and almost certainly begin with "SUBR_", you find them very likely in a file whose name contains "subr". If you don't want to download the source tree, I cannot give you any further advice. You need to look around and with enough memory and experience with the files, you'll eventually find what you look for. [*] There seems to be a formal class named "." which has each intrinsic function as a method (see. gbx_class_info.c). ---------------------------------------------------------------------------- For the people who have a local copy of the tree: do a bold grep: $ grep hex -IR * gbx_api.c: (void *)SUBR_hex_bin, gbx_exec_loop.c: SUBR_hex_bin, /* 40 68 */ gbx_exec_loop.c: SUBR_hex_bin, /* 41 69 */ gbx_subr.h:void SUBR_hex_bin(ushort code); gbx_subr_conv.c:void SUBR_hex_bin(ushort code) ... SUBR_hex_bin might be what you want. From there, your real journey through the code begins. I recommend to use ctags and an editor which is capable of using it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From t.lee.davidson at ...626... Thu Sep 18 21:21:51 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 18 Sep 2014 15:21:51 -0400 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <541B199E.1030704@...3375...> References: <541B1553.8070200@...626...> <541B199E.1030704@...3375...> Message-ID: <541B30CF.3000104@...626...> Thank you, Beno?t, for pointing me to exactly what I was looking for this time. > There are some places to remember: > > - /gb.*: components written in C/C++ > - /comp/src/gb.*: components written in Gambas > - /app/src/*: Gambas programs such as the IDE, the wiki and the scripter > - /examples: the example projects available from the IDE > - /main/gbc: compiler, informer, archiver > - /main/gbx: interpreter > - /main/lib: components in C/C++ without dependencies That is a good general, birds-eye guide. And it does appear that to do any more than cursory (curiosity) browsing of the source code, it makes a whole lot of sense to just checkout a local copy of the repository. Thanks Tobi. From gambas at ...1... Thu Sep 18 22:49:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 18 Sep 2014 22:49:07 +0200 Subject: [Gambas-user] PDF example doesn't render landscape In-Reply-To: <5417BC94.6020102@...1823...> References: <5417BC94.6020102@...1823...> Message-ID: <541B4543.1060904@...1...> Le 16/09/2014 06:29, richard terry a ?crit : > hi Benoit, > > I've posted this to the list before and got no response from the list. > > The pdf sample dosn't render landscape pdf's such as the one enclosed > > ?is this a problem of the basic class as delcared her in the sample? > > Public hPdf As New PdfDocument > > Wondered if maybe you'd have time to include a bugfix for this in the > next update. > > Regards > > richard > > Hi, The problem should be fixed in revision #6488. Now the initial document rotation is taken into account, but I'm not sure it is really taken into account everywhere it should, because I didn't write the component. So please report any other problem you have with landscape documents. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Sep 18 22:57:31 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 18 Sep 2014 23:57:31 +0300 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <541B1553.8070200@...626...> References: <541B1553.8070200@...626...> Message-ID: > The Gambas home page (http://gambas.sourceforge.net/en/main.html) has a > "Browse Source Code" link, but that page only shows the latest commits. > And, anything I do there to try to browse the tree, just seems to take > me around in circles. > The Browse Source Code feature works perfectly here. Just click on the file name, not on the commit number, and you will see the code. Here is the code you were looking for, by using the feature: http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/main/gbx/gbx_subr_conv.c Jussi From jleake at ...3375... Thu Sep 18 23:06:31 2014 From: jleake at ...3375... (John Leake) Date: Thu, 18 Sep 2014 22:06:31 +0100 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: References: <541B1553.8070200@...626...> Message-ID: <541B4957.8070402@...3375...> Hi Jussi, I too am interested in this. How do you get from wishing to find out about Hex$ to the url > http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/main/gbx/gbx_subr_conv.c Best regards, John Leake From jussi.lahtinen at ...626... Thu Sep 18 23:32:27 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 19 Sep 2014 00:32:27 +0300 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <541B4957.8070402@...3375...> References: <541B1553.8070200@...626...> <541B4957.8070402@...3375...> Message-ID: Sorry to disappoint, but as far as I know the browsing feature doesn't have search. It's only for browsing. But like Tobias already said gbx stands for the interpreter ( you can also find it here: http://gambas.sourceforge.net/en/architecture.html ), and the file names are pretty intuitive. Rest is just clicking. I highly recommend to download the source code and use grep or other means to search what you need to find. Jussi On Fri, Sep 19, 2014 at 12:06 AM, John Leake wrote: > Hi Jussi, > I too am interested in this. How do you get from wishing to find out > about Hex$ to the url > > > > http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/main/gbx/gbx_subr_conv.c > > Best regards, > John Leake > > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1823... Thu Sep 18 23:56:36 2014 From: rterry at ...1823... (richard terry) Date: Fri, 19 Sep 2014 07:56:36 +1000 Subject: [Gambas-user] PDF example doesn't render landscape In-Reply-To: <541B4543.1060904@...1...> References: <5417BC94.6020102@...1823...> <541B4543.1060904@...1...> Message-ID: <541B5514.6030509@...1823...> On 19/09/14 06:49, Beno?t Minisini wrote: > Le 16/09/2014 06:29, richard terry a ?crit : >> hi Benoit, >> >> I've posted this to the list before and got no response from the list. >> >> The pdf sample dosn't render landscape pdf's such as the one enclosed >> >> ?is this a problem of the basic class as delcared her in the sample? >> >> Public hPdf As New PdfDocument >> >> Wondered if maybe you'd have time to include a bugfix for this in the >> next update. >> >> Regards >> >> richard >> >> > > Hi, > > The problem should be fixed in revision #6488. > > Now the initial document rotation is taken into account, but I'm not > sure it is really taken into account everywhere it should, because I > didn't write the component. So please report any other problem you > have with landscape documents. > > Regards, > Thanks for taking the time to do this, I'll have to wait until it filters into stable as I don't use the development versions Richard From t.lee.davidson at ...626... Fri Sep 19 01:30:35 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 18 Sep 2014 19:30:35 -0400 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: References: <541B1553.8070200@...626...> Message-ID: <541B6B1B.5080706@...626...> Thanks, Jussi. It does indeed work perfectly ... once one knows how to use it. In my case, I did not understand the column heading, "File"; in that it could also mean a directory of files (in the tree). On 09/18/2014 04:57 PM, Jussi Lahtinen wrote: >> The Gambas home page (http://gambas.sourceforge.net/en/main.html) has a >> "Browse Source Code" link, but that page only shows the latest commits. >> And, anything I do there to try to browse the tree, just seems to take >> me around in circles. >> > > The Browse Source Code feature works perfectly here. Just click on the file > name, not on the commit number, and you will see the code. > Here is the code you were looking for, by using the feature: > http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/main/gbx/gbx_subr_conv.c > > > Jussi > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Fri Sep 19 02:42:35 2014 From: willy at ...2734... (Willy Raets) Date: Fri, 19 Sep 2014 02:42:35 +0200 Subject: [Gambas-user] Stat() Auth and Mode (misunderstanding or bug?) In-Reply-To: <20140918121512.GA1080@...2774...> References: <1410997831.32756.9.camel@...3024...> <541A1EF2.6010305@...1...> <1410998978.32756.21.camel@...3024...> <20140918121512.GA1080@...2774...> Message-ID: <1411087355.2953.62.camel@...3024...> On do, 2014-09-18 at 14:15 +0200, Tobias Boege wrote: > On Thu, 18 Sep 2014, Willy Raets wrote: > > On do, 2014-09-18 at 01:53 +0200, Beno??t Minisini wrote: > > > Le 18/09/2014 01:50, Willy Raets a ??crit : > > > > Hi all, > > > > > > > > Following was brought to my attention: > > > > > > > > To reproduce make a file named test in your home folder. > > > > Create a console project in IDE with any name you like > > > > > > > > Public Sub Main() > > > > > > > > Dim sPath As String > > > > sPath = User.Home &/ "test" > > > > With Stat(sPath) > > > > Print "Auth: " & .Auth > > > > Print "Mode: " & .Mode > > > > End With > > > > > > > > End > > > > > > > > Run the project. > > > > Output is: > > > > > > > > Auth: rw-r--r-- > > > > Mode: 420 > > > > > > > > Should mode not be 644 or do I misunderstand Stat().Mode? > > > > > > > > user rw- = 6 > > > > group r-- = 4 > > > > other r-- = 4 > > > > > > > > > > 644 is octal. In decimal it is 420. > > > > That explains a lot and at the same time it is confusing as I got used > > to octal representation when running chmod on linux. > > > > I guess I'll have to rewire my brain when using Stat().Mode in Gambas :) > > > > Think of it as: Mode returns an Integer. Integers only have *values*, they > do *not* come with specific representation information, like a number base. Here is a function that converts a decimal to octal and returns it as an Integer :) Isn't that what we can do with Gambas ;) Just copy/paste into an empty console project, run the project and sit back and enjoy the mode looking familiar to CHMOD in linux :) === THE CODE ======================== 'Function: Octal 'Description: Convert decimal to octal 'Author: W.J.L. Raets 'License: GNU - GPL version 3 Public Sub Main() Dim sPath As String sPath = User.Home Print "Path: " & sPath With Stat(sPath) Print "Auth: " & .Auth Print "Mode: " & Octal(.Mode) End With Private Function Octal(Decimal As String) As Integer Dim iPos, iX, iTot As Integer Dim sTot As String iTot = 0 If Len(Decimal) <> 0 Then iPos = Val(Decimal) For iX = 1 To Len(Decimal) iTot = iPos / 8 ^ (Len(Decimal) - iX) iPos = iPos - 8 ^ (Len(Decimal) - iX) * iTot sTot &= iTot Next Else sTot = "0" Endif Return Val(sTot) End === END CODE ======================== -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...2524... Fri Sep 19 04:20:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 19 Sep 2014 02:20:22 +0000 Subject: [Gambas-user] Issue 559 in gambas: default charset is not unicode In-Reply-To: <1-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> <0-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Comment #2 on issue 559 by adamn... at ...626...: default charset is not unicode https://code.google.com/p/gambas/issues/detail?id=559 For postgesql: CREATE DATABASE testcharset WITH ENCODING='UTF8' OWNER= LC_COLLATE='POSIX' /* or LC_COLLATE='C' CONNECTION LIMIT=-1; -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From t.lee.davidson at ...626... Fri Sep 19 06:49:50 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 19 Sep 2014 00:49:50 -0400 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <20140918175759.GE1080@...2774...> References: <541B1553.8070200@...626...> <20140918175759.GE1080@...2774...> Message-ID: <541BB5EE.6010505@...626...> I have registered an account on the Wiki and now need to get a handle on the wiki syntax, so.... On 09/18/2014 01:57 PM, Tobias Boege wrote: > Everything you find under /lang in the documentation belongs to the > language, which means that it's built into the interpreter. > There are some places to remember: > > - /gb.*: components written in C/C++ > - /comp/src/gb.*: components written in Gambas > - /app/src/*: Gambas programs such as the IDE, the wiki and the scripter > - /examples: the example projects available from the IDE > - /main/gbc: compiler, informer, archiver > - /main/gbx: interpreter > - /main/lib: components in C/C++ without dependencies I think the above information would be good on the "How To Deal With Subversion" Wiki page, right underneath, "You can read the repository contents from the web at this address: http://sourceforge.net/p/gambas/code" What do you think? Yes? No? There is one thing I need clarified, though. I was under the impression that Gambas was written in C *only*. Does it also use C++ code? From epost at ...3323... Fri Sep 19 08:51:56 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Fri, 19 Sep 2014 08:51:56 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541AF732.7080802@...1...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> Message-ID: <541BD28C.9080901@...3323...> Den 18. sep. 2014 17:16, skrev Beno?t Minisini: > Le 17/09/2014 10:12, J?rn Erik M?rne a ?crit : >> Den 17. sep. 2014 03:41, skrev Beno?t Minisini: >>> Le 16/09/2014 17:19, J?rn Erik M?rne a ?crit : >>>> >>>> It really doesn't matter what project you use, as all of them fail the >>>> same way. I had Manjaro on two different PCs and the result was the >>>> same >>>> on both. Here is a slightly modified version of that project I used to >>>> show the error attached in the previous mail. (Perhaps you'll also see >>>> that because of the TrayIcon that is included in the project, you'll >>>> have to force quit the app to stop it. Clicking x just closes the >>>> window, but leaves Gambas still in running mode... also, in Ubuntu, >>>> the >>>> tray icon is not showing, however now it is showing in KDE >>>> Manjaro... I >>>> have no idea why it all of a sudden changed like that.) >>>> >>>> Kind regards >>>> J?rn Erik >>> >>> I know it doesn't matter, but I always need the project to reproduce >>> the same conditions as much as possible! >>> >>> Now I'm currently compiling Gambas on a ArchLinux installed (with many >>> problems) inside VirtualBox... >>> >>> But I didn't write the code that makes ArchLinux package, not being an >>> ArchLinux user, and the guy who wrote it disappeared. >>> >>> So be patient! >>> >> >> No hurry :) I am just reporting bugs I find, but I also know you are >> doing a lot, and I am in no way expecting you to fix it immediately, >> though you are often very quick :) Thanks for making Gambas Beno?t, it >> is truly a very nice project. >> >> Wishing you a very good day! >> >> Kind regards >> J?rn Erik >> > > The ArchLinux packages should be fixed in revision #6487. If you can > confirm, it would be cool. > > Regards, > Now, I can't compile Gambas any longer. Last successful compile was about a week ago. Has there been any new dependencies added recently? Kind regards J?rn Erik checking for libintl headers... ./configure: line 17183: cd: /home/myUser/Programmering/Gambas: No such file or directory /usr/include/ checking for libintl libraries... no configure: WARNING: Unable to find file: libintl.so ./configure: line 17340: ./warnings.log: Permission denied touch: cannot touch 'DISABLED': Permission denied touch: cannot touch 'DISABLED.libintl': Permission denied configure: WARNING: This library may be located inside the system C library ./configure: line 17398: ./warnings.log: Permission denied checking for libiconv headers... /usr/include/ checking for libiconv libraries... no configure: WARNING: Unable to find file: libiconv.so ./configure: line 17675: ./warnings.log: Permission denied touch: cannot touch 'DISABLED': Permission denied touch: cannot touch 'DISABLED.libiconv': Permission denied configure: WARNING: This library may be located inside the system C library ./configure: line 17733: ./warnings.log: Permission denied checking for libffi component with pkg-config... ./configure: line 18100: confdefs.h: Permission denied OK checking for gb.inotify headers... /usr/include/ checking for gb.inotify libraries... ./configure: line 19099: confdefs.h: Permission denied ./configure: line 19146: confdefs.h: Permission denied checking for xdg-mime... xdg-mime ./configure: line 19203: confcache: Permission denied ./configure: line 19264: confcache: Permission denied configure: not updating unwritable cache ../config.cache checking that generated files are newer than configure... done configure: creating ./config.status ./configure: line 19364: ./config.status: Permission denied ./configure: line 19378: ./config.status: Permission denied ./configure: line 19748: ./config.status: Permission denied ./configure: line 19776: ./config.status: Permission denied ./configure: line 19784: ./config.status: Permission denied ./configure: line 19817: ./config.status: Permission denied ./configure: line 19836: ./config.status: Permission denied ./configure: line 19913: ./config.status: Permission denied ./configure: line 19924: ./config.status: Permission denied ./configure: line 19935: ./config.status: Permission denied ./configure: line 20320: ./config.status: Permission denied ./configure: line 20423: conf10673subs.sh: Permission denied configure: error: could not make ./config.status configure: error: ./configure failed for main From Karl.Reinl at ...2345... Fri Sep 19 10:49:09 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 19 Sep 2014 10:49:09 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541BD28C.9080901@...3323...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> <541BD28C.9080901@...3323...> Message-ID: <1411116549.4643.2.camel@...40...> Am Freitag, den 19.09.2014, 08:51 +0200 schrieb J?rn Erik M?rne: > Den 18. sep. 2014 17:16, skrev Beno?t Minisini: > > Le 17/09/2014 10:12, J?rn Erik M?rne a ?crit : > >> Den 17. sep. 2014 03:41, skrev Beno?t Minisini: > >>> Le 16/09/2014 17:19, J?rn Erik M?rne a ?crit : > >>>> > >>>> It really doesn't matter what project you use, as all of them fail the > >>>> same way. I had Manjaro on two different PCs and the result was the > >>>> same > >>>> on both. Here is a slightly modified version of that project I used to > >>>> show the error attached in the previous mail. (Perhaps you'll also see > >>>> that because of the TrayIcon that is included in the project, you'll > >>>> have to force quit the app to stop it. Clicking x just closes the > >>>> window, but leaves Gambas still in running mode... also, in Ubuntu, > >>>> the > >>>> tray icon is not showing, however now it is showing in KDE > >>>> Manjaro... I > >>>> have no idea why it all of a sudden changed like that.) > >>>> > >>>> Kind regards > >>>> J?rn Erik > >>> > >>> I know it doesn't matter, but I always need the project to reproduce > >>> the same conditions as much as possible! > >>> > >>> Now I'm currently compiling Gambas on a ArchLinux installed (with many > >>> problems) inside VirtualBox... > >>> > >>> But I didn't write the code that makes ArchLinux package, not being an > >>> ArchLinux user, and the guy who wrote it disappeared. > >>> > >>> So be patient! > >>> > >> > >> No hurry :) I am just reporting bugs I find, but I also know you are > >> doing a lot, and I am in no way expecting you to fix it immediately, > >> though you are often very quick :) Thanks for making Gambas Beno?t, it > >> is truly a very nice project. > >> > >> Wishing you a very good day! > >> > >> Kind regards > >> J?rn Erik > >> > > > > The ArchLinux packages should be fixed in revision #6487. If you can > > confirm, it would be cool. > > > > Regards, > > > > Now, I can't compile Gambas any longer. Last successful compile was > about a week ago. Has there been any new dependencies added recently? > > Kind regards > J?rn Erik > > checking for libintl headers... ./configure: line 17183: cd: > /home/myUser/Programmering/Gambas: No such file or directory > /usr/include/ > checking for libintl libraries... no > configure: WARNING: Unable to find file: libintl.so > ./configure: line 17340: ./warnings.log: Permission denied > touch: cannot touch 'DISABLED': Permission denied > touch: cannot touch 'DISABLED.libintl': Permission denied > configure: WARNING: This library may be located inside the system C library > ./configure: line 17398: ./warnings.log: Permission denied > checking for libiconv headers... /usr/include/ > checking for libiconv libraries... no > configure: WARNING: Unable to find file: libiconv.so > ./configure: line 17675: ./warnings.log: Permission denied > touch: cannot touch 'DISABLED': Permission denied > touch: cannot touch 'DISABLED.libiconv': Permission denied > configure: WARNING: This library may be located inside the system C library > ./configure: line 17733: ./warnings.log: Permission denied > checking for libffi component with pkg-config... ./configure: line > 18100: confdefs.h: Permission denied > OK > checking for gb.inotify headers... /usr/include/ > checking for gb.inotify libraries... > ./configure: line 19099: confdefs.h: Permission denied > ./configure: line 19146: confdefs.h: Permission denied > checking for xdg-mime... xdg-mime > ./configure: line 19203: confcache: Permission denied > ./configure: line 19264: confcache: Permission denied > configure: not updating unwritable cache ../config.cache > checking that generated files are newer than configure... done > configure: creating ./config.status > ./configure: line 19364: ./config.status: Permission denied > ./configure: line 19378: ./config.status: Permission denied > ./configure: line 19748: ./config.status: Permission denied > ./configure: line 19776: ./config.status: Permission denied > ./configure: line 19784: ./config.status: Permission denied > ./configure: line 19817: ./config.status: Permission denied > ./configure: line 19836: ./config.status: Permission denied > ./configure: line 19913: ./config.status: Permission denied > ./configure: line 19924: ./config.status: Permission denied > ./configure: line 19935: ./config.status: Permission denied > ./configure: line 20320: ./config.status: Permission denied > ./configure: line 20423: conf10673subs.sh: Permission denied > configure: error: could not make ./config.status > configure: error: ./configure failed for main > Salut J?rn Erik, what I see is Permission denied seams to be a Permission problem. -- Amicalement Charlie From taboege at ...626... Fri Sep 19 10:50:59 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 19 Sep 2014 10:50:59 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541BD28C.9080901@...3323...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> <541BD28C.9080901@...3323...> Message-ID: <20140919085058.GA1067@...2774...> On Fri, 19 Sep 2014, J??rn Erik M??rne wrote: > > Den 18. sep. 2014 17:16, skrev Beno??t Minisini: > > Le 17/09/2014 10:12, J??rn Erik M??rne a ??crit : > >> Den 17. sep. 2014 03:41, skrev Beno??t Minisini: > >>> Le 16/09/2014 17:19, J??rn Erik M??rne a ??crit : > >>>> > >>>> It really doesn't matter what project you use, as all of them fail the > >>>> same way. I had Manjaro on two different PCs and the result was the > >>>> same > >>>> on both. Here is a slightly modified version of that project I used to > >>>> show the error attached in the previous mail. (Perhaps you'll also see > >>>> that because of the TrayIcon that is included in the project, you'll > >>>> have to force quit the app to stop it. Clicking x just closes the > >>>> window, but leaves Gambas still in running mode... also, in Ubuntu, > >>>> the > >>>> tray icon is not showing, however now it is showing in KDE > >>>> Manjaro... I > >>>> have no idea why it all of a sudden changed like that.) > >>>> > >>>> Kind regards > >>>> J??rn Erik > >>> > >>> I know it doesn't matter, but I always need the project to reproduce > >>> the same conditions as much as possible! > >>> > >>> Now I'm currently compiling Gambas on a ArchLinux installed (with many > >>> problems) inside VirtualBox... > >>> > >>> But I didn't write the code that makes ArchLinux package, not being an > >>> ArchLinux user, and the guy who wrote it disappeared. > >>> > >>> So be patient! > >>> > >> > >> No hurry :) I am just reporting bugs I find, but I also know you are > >> doing a lot, and I am in no way expecting you to fix it immediately, > >> though you are often very quick :) Thanks for making Gambas Beno??t, it > >> is truly a very nice project. > >> > >> Wishing you a very good day! > >> > >> Kind regards > >> J??rn Erik > >> > > > > The ArchLinux packages should be fixed in revision #6487. If you can > > confirm, it would be cool. > > > > Regards, > > > > Now, I can't compile Gambas any longer. Last successful compile was > about a week ago. Has there been any new dependencies added recently? > > Kind regards > J??rn Erik > > checking for libintl headers... ./configure: line 17183: cd: > /home/myUser/Programmering/Gambas: No such file or directory > /usr/include/ > checking for libintl libraries... no > configure: WARNING: Unable to find file: libintl.so > ./configure: line 17340: ./warnings.log: Permission denied > touch: cannot touch 'DISABLED': Permission denied > touch: cannot touch 'DISABLED.libintl': Permission denied > configure: WARNING: This library may be located inside the system C library > ./configure: line 17398: ./warnings.log: Permission denied > checking for libiconv headers... /usr/include/ > checking for libiconv libraries... no > configure: WARNING: Unable to find file: libiconv.so > ./configure: line 17675: ./warnings.log: Permission denied > touch: cannot touch 'DISABLED': Permission denied > touch: cannot touch 'DISABLED.libiconv': Permission denied > configure: WARNING: This library may be located inside the system C library > ./configure: line 17733: ./warnings.log: Permission denied > checking for libffi component with pkg-config... ./configure: line > 18100: confdefs.h: Permission denied > OK > checking for gb.inotify headers... /usr/include/ > checking for gb.inotify libraries... > ./configure: line 19099: confdefs.h: Permission denied > ./configure: line 19146: confdefs.h: Permission denied > checking for xdg-mime... xdg-mime > ./configure: line 19203: confcache: Permission denied > ./configure: line 19264: confcache: Permission denied > configure: not updating unwritable cache ../config.cache > checking that generated files are newer than configure... done > configure: creating ./config.status > ./configure: line 19364: ./config.status: Permission denied > ./configure: line 19378: ./config.status: Permission denied > ./configure: line 19748: ./config.status: Permission denied > ./configure: line 19776: ./config.status: Permission denied > ./configure: line 19784: ./config.status: Permission denied > ./configure: line 19817: ./config.status: Permission denied > ./configure: line 19836: ./config.status: Permission denied > ./configure: line 19913: ./config.status: Permission denied > ./configure: line 19924: ./config.status: Permission denied > ./configure: line 19935: ./config.status: Permission denied > ./configure: line 20320: ./config.status: Permission denied > ./configure: line 20423: conf10673subs.sh: Permission denied > configure: error: could not make ./config.status > configure: error: ./configure failed for main > No, these say "Permission denied" (a lot!). Something with your source tree is not OK anymore. Did you build as root last time? The first two lines also suggest that you moved the tree elsewhere? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Sep 19 11:10:03 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 19 Sep 2014 11:10:03 +0200 Subject: [Gambas-user] Locating a function's source code? In-Reply-To: <541BB5EE.6010505@...626...> References: <541B1553.8070200@...626...> <20140918175759.GE1080@...2774...> <541BB5EE.6010505@...626...> Message-ID: <20140919091003.GB1067@...2774...> On Fri, 19 Sep 2014, T Lee Davidson wrote: > I have registered an account on the Wiki and now need to get a handle on > the wiki syntax, so.... > ... so look at [0] first :-) > On 09/18/2014 01:57 PM, Tobias Boege wrote: > > Everything you find under /lang in the documentation belongs to the > > language, which means that it's built into the interpreter. > > > > There are some places to remember: > > > > - /gb.*: components written in C/C++ > > - /comp/src/gb.*: components written in Gambas > > - /app/src/*: Gambas programs such as the IDE, the wiki and the scripter > > - /examples: the example projects available from the IDE > > - /main/gbc: compiler, informer, archiver > > - /main/gbx: interpreter > > - /main/lib: components in C/C++ without dependencies > > I think the above information would be good on the "How To Deal With > Subversion" Wiki page, right underneath, "You can read the repository > contents from the web at this address: http://sourceforge.net/p/gambas/code" > > What do you think? Yes? No? > Yes, why not! > There is one thing I need clarified, though. I was under the impression > that Gambas was written in C *only*. Does it also use C++ code? > It has C++ where appropriate. Like in gb.jit as the LLVM interface is much more intuitive to talk to in C++ than C. The same goes for gb.qt4 and QT4. To have an overview of components using C++, look at: $ find -name *.cpp | xargs dirname | sort | uniq ./TEMPLATE ./gb.db.sqlite2/src ./gb.db.sqlite3/src ./gb.gtk/src ./gb.gtk3/src ./gb.jit/src ./gb.pdf/src ./gb.qt4/src ./gb.qt4/src/ext ./gb.qt4/src/opengl ./gb.qt4/src/webkit ./gb.sdl/src ./gb.xml/src ./gb.xml/src/html ./gb.xml/src/xslt ./main/lib/clipper ./main/lib/image.effect Regards, Tobi [0] http://gambaswiki.org/wiki/doc/wiki -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Fri Sep 19 15:59:38 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 19 Sep 2014 16:59:38 +0300 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541BD28C.9080901@...3323...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> <541BD28C.9080901@...3323...> Message-ID: Like others have already said, it seems to be permission problem. Maybe by using sudo in wrong place..? I suggest to delete your source folder and checkout again. Should be the easiest way. Jussi On Fri, Sep 19, 2014 at 9:51 AM, J?rn Erik M?rne wrote: > > Den 18. sep. 2014 17:16, skrev Beno?t Minisini: > > Le 17/09/2014 10:12, J?rn Erik M?rne a ?crit : > >> Den 17. sep. 2014 03:41, skrev Beno?t Minisini: > >>> Le 16/09/2014 17:19, J?rn Erik M?rne a ?crit : > >>>> > >>>> It really doesn't matter what project you use, as all of them fail the > >>>> same way. I had Manjaro on two different PCs and the result was the > >>>> same > >>>> on both. Here is a slightly modified version of that project I used to > >>>> show the error attached in the previous mail. (Perhaps you'll also see > >>>> that because of the TrayIcon that is included in the project, you'll > >>>> have to force quit the app to stop it. Clicking x just closes the > >>>> window, but leaves Gambas still in running mode... also, in Ubuntu, > >>>> the > >>>> tray icon is not showing, however now it is showing in KDE > >>>> Manjaro... I > >>>> have no idea why it all of a sudden changed like that.) > >>>> > >>>> Kind regards > >>>> J?rn Erik > >>> > >>> I know it doesn't matter, but I always need the project to reproduce > >>> the same conditions as much as possible! > >>> > >>> Now I'm currently compiling Gambas on a ArchLinux installed (with many > >>> problems) inside VirtualBox... > >>> > >>> But I didn't write the code that makes ArchLinux package, not being an > >>> ArchLinux user, and the guy who wrote it disappeared. > >>> > >>> So be patient! > >>> > >> > >> No hurry :) I am just reporting bugs I find, but I also know you are > >> doing a lot, and I am in no way expecting you to fix it immediately, > >> though you are often very quick :) Thanks for making Gambas Beno?t, it > >> is truly a very nice project. > >> > >> Wishing you a very good day! > >> > >> Kind regards > >> J?rn Erik > >> > > > > The ArchLinux packages should be fixed in revision #6487. If you can > > confirm, it would be cool. > > > > Regards, > > > > Now, I can't compile Gambas any longer. Last successful compile was > about a week ago. Has there been any new dependencies added recently? > > Kind regards > J?rn Erik > > checking for libintl headers... ./configure: line 17183: cd: > /home/myUser/Programmering/Gambas: No such file or directory > /usr/include/ > checking for libintl libraries... no > configure: WARNING: Unable to find file: libintl.so > ./configure: line 17340: ./warnings.log: Permission denied > touch: cannot touch 'DISABLED': Permission denied > touch: cannot touch 'DISABLED.libintl': Permission denied > configure: WARNING: This library may be located inside the system C library > ./configure: line 17398: ./warnings.log: Permission denied > checking for libiconv headers... /usr/include/ > checking for libiconv libraries... no > configure: WARNING: Unable to find file: libiconv.so > ./configure: line 17675: ./warnings.log: Permission denied > touch: cannot touch 'DISABLED': Permission denied > touch: cannot touch 'DISABLED.libiconv': Permission denied > configure: WARNING: This library may be located inside the system C library > ./configure: line 17733: ./warnings.log: Permission denied > checking for libffi component with pkg-config... ./configure: line > 18100: confdefs.h: Permission denied > OK > checking for gb.inotify headers... /usr/include/ > checking for gb.inotify libraries... > ./configure: line 19099: confdefs.h: Permission denied > ./configure: line 19146: confdefs.h: Permission denied > checking for xdg-mime... xdg-mime > ./configure: line 19203: confcache: Permission denied > ./configure: line 19264: confcache: Permission denied > configure: not updating unwritable cache ../config.cache > checking that generated files are newer than configure... done > configure: creating ./config.status > ./configure: line 19364: ./config.status: Permission denied > ./configure: line 19378: ./config.status: Permission denied > ./configure: line 19748: ./config.status: Permission denied > ./configure: line 19776: ./config.status: Permission denied > ./configure: line 19784: ./config.status: Permission denied > ./configure: line 19817: ./config.status: Permission denied > ./configure: line 19836: ./config.status: Permission denied > ./configure: line 19913: ./config.status: Permission denied > ./configure: line 19924: ./config.status: Permission denied > ./configure: line 19935: ./config.status: Permission denied > ./configure: line 20320: ./config.status: Permission denied > ./configure: line 20423: conf10673subs.sh: Permission denied > configure: error: could not make ./config.status > configure: error: ./configure failed for main > > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From a.baudrez at ...626... Fri Sep 19 16:14:36 2014 From: a.baudrez at ...626... (Alain Baudrez) Date: Fri, 19 Sep 2014 16:14:36 +0200 Subject: [Gambas-user] Translation of Gambas Message-ID: I've noticed some translation errors in the Dutch implementation of Gambas 3. Where can I find the po or or the pot-files so that those errors can be corrected? A.J. From gambas at ...1... Fri Sep 19 16:18:49 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 19 Sep 2014 16:18:49 +0200 Subject: [Gambas-user] Translation of Gambas In-Reply-To: References: Message-ID: <541C3B49.8070509@...1...> Le 19/09/2014 16:14, Alain Baudrez a ?crit : > I've noticed some translation errors in the Dutch implementation of Gambas > 3. > > Where can I find the po or or the pot-files so that those errors can be > corrected? > > > A.J. You can translate the IDE directly from the IDE, as it is a Gambas project. You must checkout the sources from /trunk (http://gambaswiki.org/wiki/howto/svn) and the project is in '/trunk/app/src/gambas3'. There are other dutch translations in Gambas components too, the projects are in '/trunk/comp/src'. Regards, -- Beno?t Minisini From epost at ...3323... Fri Sep 19 16:53:52 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Fri, 19 Sep 2014 16:53:52 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> <541BD28C.9080901@...3323...> Message-ID: <541C4380.5000602@...3323...> >Salut J?rn Erik, Hei p? deg Charlie :) >what I see is Permission denied seams to be a Permission problem. >No, these say "Permission denied" (a lot!). Something with your source tree >is not OK anymore. Did you build as root last time? The first two lines also >suggest that you moved the tree elsewhere? >Like others have already said, it seems to be permission problem. Maybe by >using sudo in wrong place..? >I suggest to delete your source folder and checkout again. Should be the >easiest way. > > >Jussi Thanks for the suggestions. This is how I've done it: For a long time I've kept a dir where I just do svn update, ./reconf-all, ./configure -C, make After that I would run a PKGBUILD script to make an arch package out of it. This work until last week. Then this started to happen. I thought I'd wait to see if it would resolve with a newer code base, but it didn't. So, yesterday I deleted the SVN dir, and did a fresh checkout, but it is still the same result... I currently have no idea what it is, but it seems strange that I have permission problems in my home dir... From willy at ...2734... Fri Sep 19 22:24:26 2014 From: willy at ...2734... (Willy Raets) Date: Fri, 19 Sep 2014 22:24:26 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info Message-ID: <1411158266.2876.13.camel@...3024...> Hi all, I have this Gambas library. I have made sure classes have their description (using ''' at the beginning) and public functions/methods have their description (using '' just before the function/method) I have this exported class named Update. When typing Update in an application using the library the help shows up with info on the class Update (see Screenshot01.png) I can correctly see my info, being: "Update provides methods for handling your application updates, version checking, provide online information from (rich) text files and show changelog. This class is not creatable." But I can also see that Gambas seems to add stuff: "This class can be used like an object by creating an hidden instance on demand. This class is creatable." Now these two are a contradictions. My help info says: "This class is not creatable." Gambas adds info: "This class is creatable." The class Update is an exported class, but all functions and methods are Static. (see Screenshot02.png) No instances can be made of the class nor of it's public functions/methods. I noticed this in Gambas 3.5.4, had a look (in VM) at an installed Gambas 3.5.90 (#rev.6469), but there the info is the same. Shouldn't a class with Create static NOT show the added Gambas info on being able to be created, or am I misunderstanding something? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot01.png Type: image/png Size: 39106 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot02.png Type: image/png Size: 56219 bytes Desc: not available URL: From taboege at ...626... Fri Sep 19 22:30:18 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 19 Sep 2014 22:30:18 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <1411158266.2876.13.camel@...3024...> References: <1411158266.2876.13.camel@...3024...> Message-ID: <20140919203018.GC1067@...2774...> On Fri, 19 Sep 2014, Willy Raets wrote: > Hi all, > > I have this Gambas library. > I have made sure classes have their description (using ''' at the > beginning) and public functions/methods have their description (using '' > just before the function/method) > > I have this exported class named Update. > When typing Update in an application using the library the help shows up > with info on the class Update (see Screenshot01.png) > > I can correctly see my info, being: > "Update provides methods for handling your application updates, version > checking, > provide online information from (rich) text files and show changelog. > This class is not creatable." > > But I can also see that Gambas seems to add stuff: > "This class can be used like an object by creating an hidden instance on > demand. > This class is creatable." > > Now these two are a contradictions. My help info says: > "This class is not creatable." > Gambas adds info: > "This class is creatable." > > The class Update is an exported class, but all functions and methods are > Static. (see Screenshot02.png) > No instances can be made of the class nor of it's public > functions/methods. > > I noticed this in Gambas 3.5.4, had a look (in VM) at an installed > Gambas 3.5.90 (#rev.6469), but there the info is the same. > > Shouldn't a class with Create static NOT show the added Gambas info on > being able to be created, or am I misunderstanding something? > I think you can instantiate your class, even if everything is static in there and you have Create Static set -- the instance you get from New would just be rather useless. (IIRC I tried that a few days ago: I tried to create an object of a module, and it worked!) The only thing which would forbid instantiation is the Create Private keyword. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Sep 20 00:09:13 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 20 Sep 2014 00:09:13 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <20140919203018.GC1067@...2774...> References: <1411158266.2876.13.camel@...3024...> <20140919203018.GC1067@...2774...> Message-ID: <541CA989.1010106@...1...> Le 19/09/2014 22:30, Tobias Boege a ?crit : > On Fri, 19 Sep 2014, Willy Raets wrote: >> Hi all, >> >> I have this Gambas library. >> I have made sure classes have their description (using ''' at the >> beginning) and public functions/methods have their description (using '' >> just before the function/method) >> >> I have this exported class named Update. >> When typing Update in an application using the library the help shows up >> with info on the class Update (see Screenshot01.png) >> >> I can correctly see my info, being: >> "Update provides methods for handling your application updates, version >> checking, >> provide online information from (rich) text files and show changelog. >> This class is not creatable." >> >> But I can also see that Gambas seems to add stuff: >> "This class can be used like an object by creating an hidden instance on >> demand. >> This class is creatable." >> >> Now these two are a contradictions. My help info says: >> "This class is not creatable." >> Gambas adds info: >> "This class is creatable." >> >> The class Update is an exported class, but all functions and methods are >> Static. (see Screenshot02.png) >> No instances can be made of the class nor of it's public >> functions/methods. >> >> I noticed this in Gambas 3.5.4, had a look (in VM) at an installed >> Gambas 3.5.90 (#rev.6469), but there the info is the same. >> >> Shouldn't a class with Create static NOT show the added Gambas info on >> being able to be created, or am I misunderstanding something? >> > > I think you can instantiate your class, even if everything is static in > there and you have Create Static set -- the instance you get from New would > just be rather useless. (IIRC I tried that a few days ago: I tried to create > an object of a module, and it worked!) The only thing which would forbid > instantiation is the Create Private keyword. > Indeed. I removed the constraint where a class without dynamic variable is not instanciable. But I don't know why I suddenly found that useful... -- Beno?t Minisini From willy at ...2734... Sat Sep 20 00:17:35 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 20 Sep 2014 00:17:35 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <20140919203018.GC1067@...2774...> References: <1411158266.2876.13.camel@...3024...> <20140919203018.GC1067@...2774...> Message-ID: <1411165055.2876.70.camel@...3024...> On vr, 2014-09-19 at 22:30 +0200, Tobias Boege wrote: > On Fri, 19 Sep 2014, Willy Raets wrote: > > Hi all, > > > > I have this Gambas library. > > I have made sure classes have their description (using ''' at the > > beginning) and public functions/methods have their description (using '' > > just before the function/method) > > > > I have this exported class named Update. > > When typing Update in an application using the library the help shows up > > with info on the class Update (see Screenshot01.png) > > > > I can correctly see my info, being: > > "Update provides methods for handling your application updates, version > > checking, > > provide online information from (rich) text files and show changelog. > > This class is not creatable." > > > > But I can also see that Gambas seems to add stuff: > > "This class can be used like an object by creating an hidden instance on > > demand. > > This class is creatable." > > > > Now these two are a contradictions. My help info says: > > "This class is not creatable." > > Gambas adds info: > > "This class is creatable." > > > > The class Update is an exported class, but all functions and methods are > > Static. (see Screenshot02.png) > > No instances can be made of the class nor of it's public > > functions/methods. > > > > I noticed this in Gambas 3.5.4, had a look (in VM) at an installed > > Gambas 3.5.90 (#rev.6469), but there the info is the same. > > > > Shouldn't a class with Create static NOT show the added Gambas info on > > being able to be created, or am I misunderstanding something? > > > > I think you can instantiate your class, even if everything is static in > there and you have Create Static set -- the instance you get from New would > just be rather useless. I guess it could, but as _new() isn't even in the code it would not be very useful. So, from the point of view of a developer using the library the added gambas info is misleading at least and in contradiction. I'm trying to tell them to to instantiate as it is useless. Gambas added info tells the opposite. This is what wiki says on the subject of a static class: "1.1. Classes .... A static class is a class whose all members are static (see below). In Gambas, a static class is also named a module. A static class cannot be instantiated: it would create an object with no dynamic variable, which is useless." Source: http://gambaswiki.org/wiki/doc/object-model > (IIRC I tried that a few days ago: I tried to create > an object of a module, and it worked!) The only thing which would forbid > instantiation is the Create Private keyword. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From jussi.lahtinen at ...626... Sat Sep 20 00:23:50 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 20 Sep 2014 01:23:50 +0300 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541C4380.5000602@...3323...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> <541BD28C.9080901@...3323...> <541C4380.5000602@...3323...> Message-ID: Go to the source folder and run "ls -a -l". Jussi On Fri, Sep 19, 2014 at 5:53 PM, J?rn Erik M?rne wrote: > >Salut J?rn Erik, > > Hei p? deg Charlie :) > > >what I see is Permission denied seams to be a Permission problem. > > >No, these say "Permission denied" (a lot!). Something with your source > tree > >is not OK anymore. Did you build as root last time? The first two lines > also > >suggest that you moved the tree elsewhere? > > >Like others have already said, it seems to be permission problem. Maybe by > >using sudo in wrong place..? > >I suggest to delete your source folder and checkout again. Should be the > >easiest way. > > > > > >Jussi > > Thanks for the suggestions. This is how I've done it: > > For a long time I've kept a dir where I just do svn update, ./reconf-all, > ./configure -C, make > After that I would run a PKGBUILD script to make an arch package out of > it. This work until last week. Then this started to happen. > I thought I'd wait to see if it would resolve with a newer code base, but > it didn't. So, yesterday I deleted the SVN dir, and did a fresh checkout, > but it is still the same result... I currently have no idea what it is, but > it seems strange that I have permission problems in my home dir... > > > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Sat Sep 20 00:28:16 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 20 Sep 2014 00:28:16 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <541CA989.1010106@...1...> References: <1411158266.2876.13.camel@...3024...> <20140919203018.GC1067@...2774...> <541CA989.1010106@...1...> Message-ID: <1411165696.2876.75.camel@...3024...> On za, 2014-09-20 at 00:09 +0200, Beno?t Minisini wrote: > Le 19/09/2014 22:30, Tobias Boege a ?crit : > > On Fri, 19 Sep 2014, Willy Raets wrote: > >> Hi all, > >> > >> I have this Gambas library. > >> I have made sure classes have their description (using ''' at the > >> beginning) and public functions/methods have their description (using '' > >> just before the function/method) > >> > >> I have this exported class named Update. > >> When typing Update in an application using the library the help shows up > >> with info on the class Update (see Screenshot01.png) > >> > >> I can correctly see my info, being: > >> "Update provides methods for handling your application updates, version > >> checking, > >> provide online information from (rich) text files and show changelog. > >> This class is not creatable." > >> > >> But I can also see that Gambas seems to add stuff: > >> "This class can be used like an object by creating an hidden instance on > >> demand. > >> This class is creatable." > >> > >> Now these two are a contradictions. My help info says: > >> "This class is not creatable." > >> Gambas adds info: > >> "This class is creatable." > >> > >> The class Update is an exported class, but all functions and methods are > >> Static. (see Screenshot02.png) > >> No instances can be made of the class nor of it's public > >> functions/methods. > >> > >> I noticed this in Gambas 3.5.4, had a look (in VM) at an installed > >> Gambas 3.5.90 (#rev.6469), but there the info is the same. > >> > >> Shouldn't a class with Create static NOT show the added Gambas info on > >> being able to be created, or am I misunderstanding something? > >> > > > > I think you can instantiate your class, even if everything is static in > > there and you have Create Static set -- the instance you get from New would > > just be rather useless. (IIRC I tried that a few days ago: I tried to create > > an object of a module, and it worked!) The only thing which would forbid > > instantiation is the Create Private keyword. > > > > Indeed. I removed the constraint where a class without dynamic variable > is not instanciable. But I don't know why I suddenly found that useful... > I remember it not being there (I mean the added info for a static class) in previous Gambas version before 3.5.x Anyway, the help info and wiki are in contradiction (see my previous answer). Seems either one of them needs to be changed. And since it is of no use to instantiate a static class, I would prefer the added help info to be gone. But I'll leave it up to you to see what is best as you have the best all over view on the matter and maybe added it for some good reason. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From jleake at ...3375... Sat Sep 20 00:38:43 2014 From: jleake at ...3375... (John Leake) Date: Fri, 19 Sep 2014 23:38:43 +0100 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <541CA989.1010106@...1...> References: <1411158266.2876.13.camel@...3024...> <20140919203018.GC1067@...2774...> <541CA989.1010106@...1...> Message-ID: <541CB073.80005@...3375...> > Indeed. I removed the constraint where a class without dynamic variable > is not instanciable. But I don't know why I suddenly found that useful... > I am also dabbling with source comments and auto generated help wrt modules in general and singleton objects. Would the SVN commit history shine some light on this ? From gambas at ...1... Sat Sep 20 01:02:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 20 Sep 2014 01:02:07 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <1411158266.2876.13.camel@...3024...> References: <1411158266.2876.13.camel@...3024...> Message-ID: <541CB5EF.7010001@...1...> Le 19/09/2014 22:24, Willy Raets a ?crit : > Hi all, > > I have this Gambas library. > I have made sure classes have their description (using ''' at the > beginning) and public functions/methods have their description (using '' > just before the function/method) > > I have this exported class named Update. > When typing Update in an application using the library the help shows up > with info on the class Update (see Screenshot01.png) > > I can correctly see my info, being: > "Update provides methods for handling your application updates, version > checking, > provide online information from (rich) text files and show changelog. > This class is not creatable." > > But I can also see that Gambas seems to add stuff: > "This class can be used like an object by creating an hidden instance on > demand. > This class is creatable." > > Now these two are a contradictions. My help info says: > "This class is not creatable." > Gambas adds info: > "This class is creatable." > > The class Update is an exported class, but all functions and methods are > Static. (see Screenshot02.png) > No instances can be made of the class nor of it's public > functions/methods. > > I noticed this in Gambas 3.5.4, had a look (in VM) at an installed > Gambas 3.5.90 (#rev.6469), but there the info is the same. > > Shouldn't a class with Create static NOT show the added Gambas info on > being able to be created, or am I misunderstanding something? > > Can you send your project? Normally the sentence "This class is creatable" is not display if you don't have a "_new" public method. Regards, -- Beno?t Minisini From gambas at ...1... Sat Sep 20 01:05:25 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 20 Sep 2014 01:05:25 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <541CB5EF.7010001@...1...> References: <1411158266.2876.13.camel@...3024...> <541CB5EF.7010001@...1...> Message-ID: <541CB6B5.4090506@...1...> Le 20/09/2014 01:02, Beno?t Minisini a ?crit : > > Can you send your project? Normally the sentence "This class is > creatable" is not display if you don't have a "_new" public method. > > Regards, > Sorry, it is displayed when the help comes from the source code! I fix that... -- Beno?t Minisini From gambas at ...1... Sat Sep 20 01:12:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 20 Sep 2014 01:12:33 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <541CB6B5.4090506@...1...> References: <1411158266.2876.13.camel@...3024...> <541CB5EF.7010001@...1...> <541CB6B5.4090506@...1...> Message-ID: <541CB861.9040703@...1...> Le 20/09/2014 01:05, Beno?t Minisini a ?crit : > Le 20/09/2014 01:02, Beno?t Minisini a ?crit : >> >> Can you send your project? Normally the sentence "This class is >> creatable" is not display if you don't have a "_new" public method. >> >> Regards, >> > > Sorry, it is displayed when the help comes from the source code! I fix > that... > OK, it should be fixed in revision #6490. Regards, -- Beno?t Minisini From jleake at ...3375... Sat Sep 20 01:19:00 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 00:19:00 +0100 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <541CB861.9040703@...1...> References: <1411158266.2876.13.camel@...3024...> <541CB5EF.7010001@...1...> <541CB6B5.4090506@...1...> <541CB861.9040703@...1...> Message-ID: <541CB9E4.805@...3375...> Thank you. Should the documentation in the wiki also be updated to reflect this new behaviour ? On 20/09/14 00:12, Beno?t Minisini wrote: > Le 20/09/2014 01:05, Beno?t Minisini a ?crit : >> Le 20/09/2014 01:02, Beno?t Minisini a ?crit : >>> >>> Can you send your project? Normally the sentence "This class is >>> creatable" is not display if you don't have a "_new" public method. >>> >>> Regards, >>> >> >> Sorry, it is displayed when the help comes from the source code! I fix >> that... >> > > OK, it should be fixed in revision #6490. > > Regards, > From willy at ...2734... Sat Sep 20 02:14:03 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 20 Sep 2014 02:14:03 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <541CB861.9040703@...1...> References: <1411158266.2876.13.camel@...3024...> <541CB5EF.7010001@...1...> <541CB6B5.4090506@...1...> <541CB861.9040703@...1...> Message-ID: <1411172043.2876.77.camel@...3024...> On za, 2014-09-20 at 01:12 +0200, Beno?t Minisini wrote: > Le 20/09/2014 01:05, Beno?t Minisini a ?crit : > > Le 20/09/2014 01:02, Beno?t Minisini a ?crit : > >> > >> Can you send your project? Normally the sentence "This class is > >> creatable" is not display if you don't have a "_new" public method. > >> > >> Regards, > >> > > > > Sorry, it is displayed when the help comes from the source code! I fix > > that... > > > > OK, it should be fixed in revision #6490. Thanks, I'll check as soon as Daily Builds PPA os updated to this revision and report back if it worked. > > Regards, > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Sat Sep 20 02:31:21 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 20 Sep 2014 02:31:21 +0200 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <541CB9E4.805@...3375...> References: <1411158266.2876.13.camel@...3024...> <541CB5EF.7010001@...1...> <541CB6B5.4090506@...1...> <541CB861.9040703@...1...> <541CB9E4.805@...3375...> Message-ID: <1411173081.2876.91.camel@...3024...> On za, 2014-09-20 at 00:19 +0100, John Leake wrote: > Thank you. Should the documentation in the wiki also be updated to > reflect this new behaviour ? I don't think so as the fix should make Gambas confirm the documentation :) Modules normally don't have the _new public method. As a matter of fact modules are static classes. When creating a static class yourself (so not using a module, but a class with create static, as in my case), you normally don't implement a _new public method either. The goal of a static class is to provide properties, functions and methods that can't be instantiated (including the class itself, as that is of very little practical use). If you want a class that can be instantiated you normally use a non-static class. At least to my understanding of the matter. Please correct me if I'm wrong. > > On 20/09/14 00:12, Beno?t Minisini wrote: > > Le 20/09/2014 01:05, Beno?t Minisini a ?crit : > >> Le 20/09/2014 01:02, Beno?t Minisini a ?crit : > >>> > >>> Can you send your project? Normally the sentence "This class is > >>> creatable" is not display if you don't have a "_new" public method. > >>> > >>> Regards, > >>> > >> > >> Sorry, it is displayed when the help comes from the source code! I fix > >> that... > >> > > > > OK, it should be fixed in revision #6490. > > > > Regards, > > > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From jleake at ...3375... Sat Sep 20 10:02:00 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 09:02:00 +0100 Subject: [Gambas-user] Class info contradicts by Gambas added class info In-Reply-To: <1411173081.2876.91.camel@...3024...> References: <1411158266.2876.13.camel@...3024...> <541CB5EF.7010001@...1...> <541CB6B5.4090506@...1...> <541CB861.9040703@...1...> <541CB9E4.805@...3375...> <1411173081.2876.91.camel@...3024...> Message-ID: <541D3478.9070204@...3375...> On 20/09/14 01:31, Willy Raets wrote: > On za, 2014-09-20 at 00:19 +0100, John Leake wrote: >> Thank you. Should the documentation in the wiki also be updated to >> reflect this new behaviour ? > > I don't think so as the fix should make Gambas confirm the > documentation :) > It only fixes your particular problem relating to auto generated help. What about the quote in the docs:- "A static class cannot be instantiated: it would create an object with no dynamic variable, which is useless." From jleake at ...3375... Sat Sep 20 10:59:03 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 09:59:03 +0100 Subject: [Gambas-user] Static Classes and Modules Message-ID: <541D41D7.6030309@...3375...> Hi All, Could someone please clarify the characteristics of a static class. My understanding of Static Classes from other languages is: They cannot be created or more precisely no more than one instance of the class can exist. This means that if a process alters the state of the class then that changed state is seen by all other processes that hold a reference to that class. In Ruby for example, the same behaviour is achieved through Class methods and Class variables ie they act on the class itself and not on instances of that class. Here multiple instances of a class have their own state but if any one instance of that class changes the state of a class variable then all instances of that class will see that change. >From the docs; "In Gambas, a static class is also named a module. A static class cannot be instantiated: it would create an object with no dynamic variable, which is useless." So could someone tell me if a class without any dynamic variable ie a static class, can or cannot be created ? From taboege at ...626... Sat Sep 20 11:22:30 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 20 Sep 2014 11:22:30 +0200 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <541D41D7.6030309@...3375...> References: <541D41D7.6030309@...3375...> Message-ID: <20140920092230.GA887@...2774...> On Sat, 20 Sep 2014, John Leake wrote: > Hi All, > Could someone please clarify the characteristics of a static class. > > My understanding of Static Classes from other languages is: > > They cannot be created or more precisely no more than one instance of > the class can exist. This means that if a process alters the state of > the class then that changed state is seen by all other processes that > hold a reference to that class. > That's what static means in Gambas, too. There is only the discrepancy with creating objects from static classes of which we don't know why it exists. A static property (in a class definition) is shared by all objects of that class. A static method must not refer to dynamic symbols of the class, i.e. must be executable without object context. > In Ruby for example, the same behaviour is achieved through Class > methods and Class variables ie they act on the class itself and not on > instances of that class. Here multiple instances of a class have their > own state but if any one instance of that class changes the state of a > class variable then all instances of that class will see that change. > > >From the docs; > "In Gambas, a static class is also named a module. > > A static class cannot be instantiated: it would create an object with no > dynamic variable, which is useless." > > So could someone tell me if a class without any dynamic variable ie a > static class, can or cannot be created ? > Or you can try it out. What I did was creating a module and making objects from it with New -- it works, but those objects are even more limited than I had expected. In their code, there seems to be no way to even see that they are any different from the automatic instance (singleton). The module's code was: --8<--[ Module1.module ]---------------------------------------------------- ' Gambas module file Public Sub Print() Print Me End --8<------------------------------------------------------------------------ and the program: --8<--[ MMain.module ]------------------------------------------------------ ' Gambas module file Public Sub Main() Dim h As New Module1, g As New Module1 Print Module1 Module1.Print() Print "---" Print h h.Print() Print "---" Print g g.Print() End --8<------------------------------------------------------------------------ with the output: (Class Module1) (Class Module1) --- (Module 0x...b8) (Class Module1) --- (Module 0x...e8) (Class Module1) So indeed, there are different objects (especially, it's possible to instantiate modules) but "Me" inside the module code always refers to the singleton. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From abbat.81 at ...787... Sat Sep 20 12:24:23 2014 From: abbat.81 at ...787... (abbat81) Date: Sat, 20 Sep 2014 03:24:23 -0700 (MST) Subject: [Gambas-user] How to get Count(Current_month).Days ? Message-ID: <1411208663937-48371.post@...3046...> Hi, How can I get count of days in current month.year? In terminal I use: "cal -m 02 2012 | xargs | sed 's/ /\n/g' | tail -n 1" But it doesn't work in Shell "****" To *** Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-get-Count-Current-month-Days-tp48371.html Sent from the gambas-user mailing list archive at Nabble.com. From jscops at ...11... Sat Sep 20 12:35:58 2014 From: jscops at ...11... (Jack) Date: Sat, 20 Sep 2014 12:35:58 +0200 Subject: [Gambas-user] How to get Count(Current_month).Days ? In-Reply-To: <1411208663937-48371.post@...3046...> References: <1411208663937-48371.post@...3046...> Message-ID: <541D588E.3000505@...11...> Le 20/09/2014 12:24, abbat81 a ?crit : > Hi, > > How can I get count of days in current month.year? > > > In terminal I use: > "cal -m 02 2012 | xargs | sed 's/ /\n/g' | tail -n 1" > > But it doesn't work in Shell "****" To *** > Salut, for day : CInt(Now) - CInt(Date(Year(Now), 1, 1)) + 1 for week : Week(Now) -- Cordialement Jacky Tripoteau From jleake at ...3375... Sat Sep 20 11:55:06 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 10:55:06 +0100 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <20140920092230.GA887@...2774...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> Message-ID: <541D4EFA.8010907@...3375...> Thanks Tobi, >> So could someone tell me if a class without any dynamic variable ie a >> static class, can or cannot be created ? >> > > Or you can try it out. > > What I did was creating a module and making objects from it with New -- it > works, but those objects are even more limited than I had expected. In their > code, there seems to be no way to even see that they are any different from > the automatic instance (singleton). The module's code was: > > --8<--[ Module1.module ]---------------------------------------------------- > ' Gambas module file > > Public Sub Print() > Print Me > End > --8<------------------------------------------------------------------------ > > and the program: > > --8<--[ MMain.module ]------------------------------------------------------ > ' Gambas module file > > Public Sub Main() > Dim h As New Module1, g As New Module1 > > Print Module1 > Module1.Print() > Print "---" > Print h > h.Print() > Print "---" > Print g > g.Print() > End > --8<------------------------------------------------------------------------ > > with the output: > > (Class Module1) > (Class Module1) > --- > (Module 0x...b8) > (Class Module1) > --- > (Module 0x...e8) > (Class Module1) > > So indeed, there are different objects (especially, it's possible to > instantiate modules) but "Me" inside the module code always refers to > the singleton. > This is where I have a problem h and g are different. From jscops at ...11... Sat Sep 20 12:48:58 2014 From: jscops at ...11... (Jack) Date: Sat, 20 Sep 2014 12:48:58 +0200 Subject: [Gambas-user] How to get Count(Current_month).Days ? In-Reply-To: <541D588E.3000505@...11...> References: <1411208663937-48371.post@...3046...> <541D588E.3000505@...11...> Message-ID: <541D5B9A.2000108@...11...> Le 20/09/2014 12:35, Jack a ?crit : > Le 20/09/2014 12:24, abbat81 a ?crit : >> Hi, >> >> How can I get count of days in current month.year? >> >> >> In terminal I use: >> "cal -m 02 2012 | xargs | sed 's/ /\n/g' | tail -n 1" >> >> But it doesn't work in Shell "****" To *** >> > > Salut, > > > for day : CInt(Now) - CInt(Date(Year(Now), 1, 1)) + 1 > for week : Week(Now) > you must read (CInt(Now) - CInt(Date(Year(Now), 1, 1)) + 1) -- Cordialement Jacky Tripoteau From jleake at ...3375... Sat Sep 20 12:51:42 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 11:51:42 +0100 Subject: [Gambas-user] How to get Count(Current_month).Days ? In-Reply-To: <541D5B9A.2000108@...11...> References: <1411208663937-48371.post@...3046...> <541D588E.3000505@...11...> <541D5B9A.2000108@...11...> Message-ID: <541D5C3E.1000604@...3375...> What about datediff(date(year(now),month(now),1,0,0,0,0),date(year(now),month(now)+1,1,0,0,0,0),gb.day) From jleake at ...3375... Sat Sep 20 13:14:09 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 12:14:09 +0100 Subject: [Gambas-user] How to get Count(Current_month).Days ? In-Reply-To: <541D5C3E.1000604@...3375...> References: <1411208663937-48371.post@...3046...> <541D588E.3000505@...11...> <541D5B9A.2000108@...11...> <541D5C3E.1000604@...3375...> Message-ID: <541D6181.1050901@...3375...> Or more concicely datediff(date(year(now),month(now),1),date(year(now),month(now)+1,1),gb.day) From jleake at ...3375... Sat Sep 20 13:26:12 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 12:26:12 +0100 Subject: [Gambas-user] Gambas language specification Message-ID: <541D6454.1070201@...3375...> Hi All, Could anyone point me to the languages definitive specification as used by yacc and lex ? From epost at ...3323... Sat Sep 20 15:29:26 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sat, 20 Sep 2014 15:29:26 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541AF732.7080802@...1...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> Message-ID: <541D8136.5030904@...3323...> Den 18. sep. 2014 17:16, skrev Beno?t Minisini: > Le 17/09/2014 10:12, J?rn Erik M?rne a ?crit : >> Den 17. sep. 2014 03:41, skrev Beno?t Minisini: >>> Le 16/09/2014 17:19, J?rn Erik M?rne a ?crit : >>>> >>>> It really doesn't matter what project you use, as all of them fail the >>>> same way. I had Manjaro on two different PCs and the result was the >>>> same >>>> on both. Here is a slightly modified version of that project I used to >>>> show the error attached in the previous mail. (Perhaps you'll also see >>>> that because of the TrayIcon that is included in the project, you'll >>>> have to force quit the app to stop it. Clicking x just closes the >>>> window, but leaves Gambas still in running mode... also, in Ubuntu, >>>> the >>>> tray icon is not showing, however now it is showing in KDE >>>> Manjaro... I >>>> have no idea why it all of a sudden changed like that.) >>>> >>>> Kind regards >>>> J?rn Erik >>> >>> I know it doesn't matter, but I always need the project to reproduce >>> the same conditions as much as possible! >>> >>> Now I'm currently compiling Gambas on a ArchLinux installed (with many >>> problems) inside VirtualBox... >>> >>> But I didn't write the code that makes ArchLinux package, not being an >>> ArchLinux user, and the guy who wrote it disappeared. >>> >>> So be patient! >>> >> >> No hurry :) I am just reporting bugs I find, but I also know you are >> doing a lot, and I am in no way expecting you to fix it immediately, >> though you are often very quick :) Thanks for making Gambas Beno?t, it >> is truly a very nice project. >> >> Wishing you a very good day! >> >> Kind regards >> J?rn Erik >> > > The ArchLinux packages should be fixed in revision #6487. If you can > confirm, it would be cool. > > Regards, > Hi! It is getting somewhere, but not quite there yet, it seems. I can now make a package, but when I try to install it (no matter which one) I get some error messages about the package file: 1. Missing meta data 2. Invalid or corrupt package Kind regards J?rn Erik From taboege at ...626... Sat Sep 20 15:29:16 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 20 Sep 2014 15:29:16 +0200 Subject: [Gambas-user] Gambas language specification In-Reply-To: <541D6454.1070201@...3375...> References: <541D6454.1070201@...3375...> Message-ID: <20140920132916.GB887@...2774...> On Sat, 20 Sep 2014, John Leake wrote: > Hi All, > Could anyone point me to the languages definitive specification as used > by yacc and lex ? > I think nobody can. But the more I think about it, it should be possible to produce those files in less than a week... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Sat Sep 20 19:09:41 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 18:09:41 +0100 Subject: [Gambas-user] Gambas language specification In-Reply-To: <20140920132916.GB887@...2774...> References: <541D6454.1070201@...3375...> <20140920132916.GB887@...2774...> Message-ID: <541DB4D5.8020101@...3375...> It the original files that generated the compiler are not available it is too risky to reverse engineer them. On 20/09/14 14:29, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> Hi All, >> Could anyone point me to the languages definitive specification as used >> by yacc and lex ? >> > > I think nobody can. > > But the more I think about it, it should be possible to produce those files > in less than a week... > > Regards, > Tobi > From jleake at ...3375... Sat Sep 20 19:11:55 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 18:11:55 +0100 Subject: [Gambas-user] Gambas language specification In-Reply-To: <541DB4D5.8020101@...3375...> References: <541D6454.1070201@...3375...> <20140920132916.GB887@...2774...> <541DB4D5.8020101@...3375...> Message-ID: <541DB55B.5030002@...3375...> Anyone know when the parser and compiler were last generated ? From taboege at ...626... Sat Sep 20 20:01:57 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 20 Sep 2014 20:01:57 +0200 Subject: [Gambas-user] Gambas language specification In-Reply-To: <541DB55B.5030002@...3375...> References: <541D6454.1070201@...3375...> <20140920132916.GB887@...2774...> <541DB4D5.8020101@...3375...> <541DB55B.5030002@...3375...> Message-ID: <20140920180157.GC887@...2774...> On Sat, 20 Sep 2014, John Leake wrote: > Anyone know when the parser and compiler were last generated ? > What makes you so sure that the sources are generated? I don't know the compiler at all (!) but these sources look hand-written, everywhere. When I said "to produce [ bison/flex sources ] in less than a week", I meant to originally write them. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Sep 20 20:24:46 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 20 Sep 2014 20:24:46 +0200 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <541D4EFA.8010907@...3375...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> Message-ID: <541DC66E.9000806@...1...> Le 20/09/2014 11:55, John Leake a ?crit : > Thanks Tobi, >>> So could someone tell me if a class without any dynamic variable ie a >>> static class, can or cannot be created ? >>> >> >> Or you can try it out. >> >> What I did was creating a module and making objects from it with New -- it >> works, but those objects are even more limited than I had expected. In their >> code, there seems to be no way to even see that they are any different from >> the automatic instance (singleton). The module's code was: >> >> --8<--[ Module1.module ]---------------------------------------------------- >> ' Gambas module file >> >> Public Sub Print() >> Print Me >> End >> --8<------------------------------------------------------------------------ >> >> and the program: >> >> --8<--[ MMain.module ]------------------------------------------------------ >> ' Gambas module file >> >> Public Sub Main() >> Dim h As New Module1, g As New Module1 >> >> Print Module1 >> Module1.Print() >> Print "---" >> Print h >> h.Print() >> Print "---" >> Print g >> g.Print() >> End >> --8<------------------------------------------------------------------------ >> >> with the output: >> >> (Class Module1) >> (Class Module1) >> --- >> (Module 0x...b8) >> (Class Module1) >> --- >> (Module 0x...e8) >> (Class Module1) >> >> So indeed, there are different objects (especially, it's possible to >> instantiate modules) but "Me" inside the module code always refers to >> the singleton. >> > This is where I have a problem h and g are different. > Static classes should not be instanciable. So don't do that even if the interpreter allows it. It's there from the beginning, and it's probably a mistake. I must investigate before doing anything, because it may be a backward-compatibility problem: I sometimes have to keep bugs for that reason, and I must wait for a major release to fix it. Regards, -- Beno?t Minisini From gambas at ...1... Sat Sep 20 20:26:22 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 20 Sep 2014 20:26:22 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541D8136.5030904@...3323...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> <541D8136.5030904@...3323...> Message-ID: <541DC6CE.2050200@...1...> Le 20/09/2014 15:29, J?rn Erik M?rne a ?crit : > Hi! It is getting somewhere, but not quite there yet, it seems. I can > now make a package, but when I try to install it (no matter which one) I > get some error messages about the package file: > 1. Missing meta data > 2. Invalid or corrupt package > > Kind regards > J?rn Erik > I will try to install it too on my ArchLinux VM. Can you tell me how you do that? And do you have more detailed errors or just these messages? -- Beno?t Minisini From gambas at ...1... Sat Sep 20 20:27:20 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 20 Sep 2014 20:27:20 +0200 Subject: [Gambas-user] Gambas language specification In-Reply-To: <541DB55B.5030002@...3375...> References: <541D6454.1070201@...3375...> <20140920132916.GB887@...2774...> <541DB4D5.8020101@...3375...> <541DB55B.5030002@...3375...> Message-ID: <541DC708.1050501@...1...> Le 20/09/2014 19:11, John Leake a ?crit : > Anyone know when the parser and compiler were last generated ? > The compiler was written by hand. For performance reasons if you want to know why. Regards, -- Beno?t Minisini From bbruen at ...2308... Sat Sep 20 20:49:23 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 21 Sep 2014 04:19:23 +0930 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <541D4EFA.8010907@...3375...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> Message-ID: <20140921041923.b259998e314c4e03e4a2f9f5@...2308...> On Sat, 20 Sep 2014 10:55:06 +0100 John Leake wrote: > Thanks Tobi, > >> So could someone tell me if a class without any dynamic variable ie a > >> static class, can or cannot be created ? > >> > > > > Or you can try it out. > > > > What I did was creating a module and making objects from it with New -- it > > works, but those objects are even more limited than I had expected. In their > > code, there seems to be no way to even see that they are any different from > > the automatic instance (singleton). The module's code was: > > > > --8<--[ Module1.module ]---------------------------------------------------- > > ' Gambas module file > > > > Public Sub Print() > > Print Me > > End > > --8<------------------------------------------------------------------------ > > > > and the program: > > > > --8<--[ MMain.module ]------------------------------------------------------ > > ' Gambas module file > > > > Public Sub Main() > > Dim h As New Module1, g As New Module1 > > > > Print Module1 > > Module1.Print() > > Print "---" > > Print h > > h.Print() > > Print "---" > > Print g > > g.Print() > > End > > --8<------------------------------------------------------------------------ > > > > with the output: > > > > (Class Module1) > > (Class Module1) > > --- > > (Module 0x...b8) > > (Class Module1) > > --- > > (Module 0x...e8) > > (Class Module1) > > > > So indeed, there are different objects (especially, it's possible to > > instantiate modules) but "Me" inside the module code always refers to > > the singleton. > > > This is where I have a problem h and g are different. > (Caveat: without knowing how Benoit did it.) Because h and g are different. They are pointers to the heap entries for each of those objects. Even if those objects do not have any memory allocated for dynamic variable data (and are therefore "useless" in the sense that they are empty objects not useless in the sense of "incapable of doing anything useful"). In a class Me will refer to the object address in the "dynamic" heap but in a module Me will refer to the address in the "static" heap. Similarly, anything declared as static in a class will be allocated space in the "static" heap and each of that classes objects will have reference entries for those items that point to the same addresses in the "static" heap. Anything declared in a module is assumed to be static, so your Public Sub Print() is in reality equivalent to Static Public Sub Print() and thus returns the address in the "static" heap. BTW this is slightly different to a singleton, in theory at least. According to my memory, the singleton "pattern" is used to restrict creation only one instance of a certain class. That is, there will be only one instance "allowed" in the "dynamic" heap. The intent was to provide a way to control allocation of resources for the object. For example, if the program needed a large resource hungry chunk of data, but that data was only used in certain cases of execution, then rather than "always" allocating space for it in the "global" memory area, a singleton class was used which was only instantiated when required (and presumably destroyed when no longer required). So, to my way of thinking, a Gambas module is not the same as a singleton. It will always occupy space when it is loaded, whether or not it is referenced anywhere else in the project. Anyway... regards -- B Bruen From taboege at ...626... Sat Sep 20 20:55:12 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 20 Sep 2014 20:55:12 +0200 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <20140921041923.b259998e314c4e03e4a2f9f5@...2308...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> <20140921041923.b259998e314c4e03e4a2f9f5@...2308...> Message-ID: <20140920185512.GD887@...2774...> On Sun, 21 Sep 2014, B Bruen wrote: > On Sat, 20 Sep 2014 10:55:06 +0100 > John Leake wrote: > > > Thanks Tobi, > > >> So could someone tell me if a class without any dynamic variable ie a > > >> static class, can or cannot be created ? > > >> > > > > > > Or you can try it out. > > > > > > What I did was creating a module and making objects from it with New -- it > > > works, but those objects are even more limited than I had expected. In their > > > code, there seems to be no way to even see that they are any different from > > > the automatic instance (singleton). The module's code was: > > > > > > --8<--[ Module1.module ]---------------------------------------------------- > > > ' Gambas module file > > > > > > Public Sub Print() > > > Print Me > > > End > > > --8<------------------------------------------------------------------------ > > > > > > and the program: > > > > > > --8<--[ MMain.module ]------------------------------------------------------ > > > ' Gambas module file > > > > > > Public Sub Main() > > > Dim h As New Module1, g As New Module1 > > > > > > Print Module1 > > > Module1.Print() > > > Print "---" > > > Print h > > > h.Print() > > > Print "---" > > > Print g > > > g.Print() > > > End > > > --8<------------------------------------------------------------------------ > > > > > > with the output: > > > > > > (Class Module1) > > > (Class Module1) > > > --- > > > (Module 0x...b8) > > > (Class Module1) > > > --- > > > (Module 0x...e8) > > > (Class Module1) > > > > > > So indeed, there are different objects (especially, it's possible to > > > instantiate modules) but "Me" inside the module code always refers to > > > the singleton. > > > > > This is where I have a problem h and g are different. > > > (Caveat: without knowing how Benoit did it.) > Because h and g are different. They are pointers to the heap entries for each of those objects. Even if those objects do not have any memory allocated for dynamic variable data (and are therefore "useless" in the sense that they are empty objects not useless in the sense of "incapable of doing anything useful"). > In a class Me will refer to the object address in the "dynamic" heap but in a module Me will refer to the address in the "static" heap. Similarly, anything declared as static in a class will be allocated space in the "static" heap and each of that classes objects will have reference entries for those items that point to the same addresses in the "static" heap. > Anything declared in a module is assumed to be static, so your Public Sub Print() is in reality equivalent to Static Public Sub Print() and thus returns the address in the "static" heap. > You are right. The staticness of the function makes Me = AutoInstance seem correct to me again. Although we shouldn't still be discussing properties of things that don't exist :-) > BTW this is slightly different to a singleton, in theory at least. According to my memory, the singleton "pattern" is used to restrict creation only one instance of a certain class. That is, there will be only one instance "allowed" in the "dynamic" heap. The intent was to provide a way to control allocation of resources for the object. For example, if the program needed a large resource hungry chunk of data, but that data was only used in certain cases of execution, then rather than "always" allocating space for it in the "global" memory area, a singleton class was used which was only instantiated when required (and presumably destroyed when no longer required). So, to my way of thinking, a Gambas module is not the same as a singleton. It will always occupy space when it is loaded, whether or not it is referenced anywhere else in the project. > A class is loaded when it is first referenced and the automatic instance is created when it is first needed (i.e. the class name is used like an object), so you are safe here from unnecessary memory allocations. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From epost at ...3323... Sat Sep 20 21:11:18 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sat, 20 Sep 2014 21:11:18 +0200 Subject: [Gambas-user] Make installation package fails on Manjaro In-Reply-To: <541DC6CE.2050200@...1...> References: <5414B70C.5020207@...3323...> <5414B9FB.7060208@...1...> <5414BB7E.4000307@...3323...> <54184CDF.6090101@...1...> <541854E5.3030300@...3323...> <5418E6E4.5010408@...1...> <5419427D.1000001@...3323...> <541AF732.7080802@...1...> <541D8136.5030904@...3323...> <541DC6CE.2050200@...1...> Message-ID: <541DD156.7050900@...3323...> Den 20. sep. 2014 20:26, skrev Beno?t Minisini: > Le 20/09/2014 15:29, J?rn Erik M?rne a ?crit : >> Hi! It is getting somewhere, but not quite there yet, it seems. I can >> now make a package, but when I try to install it (no matter which one) I >> get some error messages about the package file: >> 1. Missing meta data >> 2. Invalid or corrupt package >> >> Kind regards >> J?rn Erik >> > I will try to install it too on my ArchLinux VM. Can you tell me how you > do that? And do you have more detailed errors or just these messages? > I assume you mean how to install the generated package? Just type 'sudo pacman -U '. I am on a different PC now, so I cannot provide the exact copy from the terminal yet, but it basically just said that which I posted, that the package had missing meta data and that it was corrupt. It came out in Norwegian, so I just translated the errors. Kind regards J?rn Erik From jleake at ...3375... Sat Sep 20 22:39:17 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 21:39:17 +0100 Subject: [Gambas-user] Gambas language specification In-Reply-To: <20140920180157.GC887@...2774...> References: <541D6454.1070201@...3375...> <20140920132916.GB887@...2774...> <541DB4D5.8020101@...3375...> <541DB55B.5030002@...3375...> <20140920180157.GC887@...2774...> Message-ID: <541DE5F5.8080100@...3375...> It is difficult to have a wider discussion on this forum without being accused of being off topic or having to elucidate to the n'th degree why I would want to take a particular view or stance. So I have raised one or two pertinent subjects to assist my plans which have not received any response. On 20/09/14 19:01, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> Anyone know when the parser and compiler were last generated ? >> > > What makes you so sure that the sources are generated? I don't know the > compiler at all (!) but these sources look hand-written, everywhere. I am not sure at all. It is just the right thing to do. I do not know any modern language that has achieved recognised standardisation by independent bodies that did not use the formal approach to compiler design. > > When I said "to produce [ bison/flex sources ] in less than a week", I > meant to originally write them. > First, I am not looking to replace the compiler but I am looking for the true syntax of the language and its grammar. If the compiler was not generated from a formal specification then it is pretty pointless to create the formal specification in retrospect and generate parsers or whatever from that specification. From bbruen at ...2308... Sat Sep 20 23:01:18 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 21 Sep 2014 06:31:18 +0930 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <541DC66E.9000806@...1...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> <541DC66E.9000806@...1...> Message-ID: <20140921063118.6fe7881bfcac6c266ea8a3a7@...2308...> On Sat, 20 Sep 2014 20:24:46 +0200 Beno?t Minisini wrote: > Le 20/09/2014 11:55, John Leake a ?crit : > > Thanks Tobi, > >>> So could someone tell me if a class without any dynamic variable ie a > >>> static class, can or cannot be created ? > >>> > >> > >> Or you can try it out. > >> > >> What I did was creating a module and making objects from it with New -- it > >> works, but those objects are even more limited than I had expected. In their > >> code, there seems to be no way to even see that they are any different from > >> the automatic instance (singleton). The module's code was: > >> > >> --8<--[ Module1.module ]---------------------------------------------------- > >> ' Gambas module file > >> > >> Public Sub Print() > >> Print Me > >> End > >> --8<------------------------------------------------------------------------ > >> > >> and the program: > >> > >> --8<--[ MMain.module ]------------------------------------------------------ > >> ' Gambas module file > >> > >> Public Sub Main() > >> Dim h As New Module1, g As New Module1 > >> > >> Print Module1 > >> Module1.Print() > >> Print "---" > >> Print h > >> h.Print() > >> Print "---" > >> Print g > >> g.Print() > >> End > >> --8<------------------------------------------------------------------------ > >> > >> with the output: > >> > >> (Class Module1) > >> (Class Module1) > >> --- > >> (Module 0x...b8) > >> (Class Module1) > >> --- > >> (Module 0x...e8) > >> (Class Module1) > >> > >> So indeed, there are different objects (especially, it's possible to > >> instantiate modules) but "Me" inside the module code always refers to > >> the singleton. > >> > > This is where I have a problem h and g are different. > > > > Static classes should not be instanciable. So don't do that even if the > interpreter allows it. It's there from the beginning, and it's probably > a mistake. > > I must investigate before doing anything, because it may be a > backward-compatibility problem: I sometimes have to keep bugs for that > reason, and I must wait for a major release to fix it. > > Regards, > > -- > Beno?t Minisini > One small argument in favour of allowing instantiation of modules and "static" classes. We have a component called "GenUtil" that contains some utility functions and data that we use in lots and lots of our projects. Originally (some time back in Gambas2) it contained a class "StrUtil" that was coded as a class and thus needed instantiation in all the client projects that used it. Some time ago while modifying the library code I decided that, since the StrUtil methods were essentially static in nature and as the class had no dynamic data, I could change it to a module. Newer projects now access those methods via the module name as they should. But the older projects, that instantiate the module as an object and refer to the methods via the object name still work. I just checked and we have over 80 projects that reference that component. I have no idea how many of them use which means of referencing the StrUtil methods. So I would prefer that status quo remains. In fact I would prefer that only those classes coded as CREATE PRIVATE would exclude instantiation as even though a class bereft of dynamic data or methods today may have some dynamics tomorrow and vice versa. In short the decision that a class should prevent instantiation should be explicit i.e. via the CREATE PRIVATE command. regards Bruce -- B Bruen From jleake at ...3375... Sat Sep 20 23:02:09 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 22:02:09 +0100 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <20140921041923.b259998e314c4e03e4a2f9f5@...2308...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> <20140921041923.b259998e314c4e03e4a2f9f5@...2308...> Message-ID: <541DEB51.1050909@...3375...> Hi, Sorry if I have mislead you wrt singletons. I am doing some experiments with singletons not using modules as singletons. I have a problem with consistency. The docs say one thing whereas in reality something different is happening. A static class/module either should or should not be creatable, who knows ? But for goodness sake be consistent. Why should a user be exposed to underlying detail of where objects are created ? If you can create static classes or modules and the rules say there can only be one of them (ie they cannot be instantiated more than once) then from the outside they should be indistinguishable from each other. If the language allows you probe deeper (like obtaining the address of the object) then the results returned should be the same. On 20/09/14 19:49, B Bruen wrote: > On Sat, 20 Sep 2014 10:55:06 +0100 > John Leake wrote: > >> Thanks Tobi, >>>> So could someone tell me if a class without any dynamic variable ie a >>>> static class, can or cannot be created ? >>>> >>> >>> Or you can try it out. >>> >>> What I did was creating a module and making objects from it with New -- it >>> works, but those objects are even more limited than I had expected. In their >>> code, there seems to be no way to even see that they are any different from >>> the automatic instance (singleton). The module's code was: >>> >>> --8<--[ Module1.module ]---------------------------------------------------- >>> ' Gambas module file >>> >>> Public Sub Print() >>> Print Me >>> End >>> --8<------------------------------------------------------------------------ >>> >>> and the program: >>> >>> --8<--[ MMain.module ]------------------------------------------------------ >>> ' Gambas module file >>> >>> Public Sub Main() >>> Dim h As New Module1, g As New Module1 >>> >>> Print Module1 >>> Module1.Print() >>> Print "---" >>> Print h >>> h.Print() >>> Print "---" >>> Print g >>> g.Print() >>> End >>> --8<------------------------------------------------------------------------ >>> >>> with the output: >>> >>> (Class Module1) >>> (Class Module1) >>> --- >>> (Module 0x...b8) >>> (Class Module1) >>> --- >>> (Module 0x...e8) >>> (Class Module1) >>> >>> So indeed, there are different objects (especially, it's possible to >>> instantiate modules) but "Me" inside the module code always refers to >>> the singleton. >>> >> This is where I have a problem h and g are different. >> > (Caveat: without knowing how Benoit did it.) > Because h and g are different. They are pointers to the heap entries for each of those objects. Even if those objects do not have any memory allocated for dynamic variable data (and are therefore "useless" in the sense that they are empty objects not useless in the sense of "incapable of doing anything useful"). > In a class Me will refer to the object address in the "dynamic" heap but in a module Me will refer to the address in the "static" heap. Similarly, anything declared as static in a class will be allocated space in the "static" heap and each of that classes objects will have reference entries for those items that point to the same addresses in the "static" heap. > Anything declared in a module is assumed to be static, so your Public Sub Print() is in reality equivalent to Static Public Sub Print() and thus returns the address in the "static" heap. > > BTW this is slightly different to a singleton, in theory at least. According to my memory, the singleton "pattern" is used to restrict creation only one instance of a certain class. That is, there will be only one instance "allowed" in the "dynamic" heap. The intent was to provide a way to control allocation of resources for the object. For example, if the program needed a large resource hungry chunk of data, but that data was only used in certain cases of execution, then rather than "always" allocating space for it in the "global" memory area, a singleton class was used which was only instantiated when required (and presumably destroyed when no longer required). So, to my way of thinking, a Gambas module is not the same as a singleton. It will always occupy space when it is loaded, whether or not it is referenced anywhere else in the project. > > Anyway... > regards > From jleake at ...3375... Sat Sep 20 23:13:31 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 22:13:31 +0100 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <20140921063118.6fe7881bfcac6c266ea8a3a7@...2308...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> <541DC66E.9000806@...1...> <20140921063118.6fe7881bfcac6c266ea8a3a7@...2308...> Message-ID: <541DEDFB.90703@...3375...> Hi All, It is clear that many people have a huge investment in the status-qua. Just update the docs and say what can and cannot be compared (like the address of the object in this case). Then at least users are well informed before they code and rely on what they discover through experimentation. On 20/09/14 22:01, B Bruen wrote: > On Sat, 20 Sep 2014 20:24:46 +0200 > Beno?t Minisini wrote: > >> Le 20/09/2014 11:55, John Leake a ?crit : >>> Thanks Tobi, >>>>> So could someone tell me if a class without any dynamic variable ie a >>>>> static class, can or cannot be created ? >>>>> >>>> >>>> Or you can try it out. >>>> >>>> What I did was creating a module and making objects from it with New -- it >>>> works, but those objects are even more limited than I had expected. In their >>>> code, there seems to be no way to even see that they are any different from >>>> the automatic instance (singleton). The module's code was: >>>> >>>> --8<--[ Module1.module ]---------------------------------------------------- >>>> ' Gambas module file >>>> >>>> Public Sub Print() >>>> Print Me >>>> End >>>> --8<------------------------------------------------------------------------ >>>> >>>> and the program: >>>> >>>> --8<--[ MMain.module ]------------------------------------------------------ >>>> ' Gambas module file >>>> >>>> Public Sub Main() >>>> Dim h As New Module1, g As New Module1 >>>> >>>> Print Module1 >>>> Module1.Print() >>>> Print "---" >>>> Print h >>>> h.Print() >>>> Print "---" >>>> Print g >>>> g.Print() >>>> End >>>> --8<------------------------------------------------------------------------ >>>> >>>> with the output: >>>> >>>> (Class Module1) >>>> (Class Module1) >>>> --- >>>> (Module 0x...b8) >>>> (Class Module1) >>>> --- >>>> (Module 0x...e8) >>>> (Class Module1) >>>> >>>> So indeed, there are different objects (especially, it's possible to >>>> instantiate modules) but "Me" inside the module code always refers to >>>> the singleton. >>>> >>> This is where I have a problem h and g are different. >>> >> >> Static classes should not be instanciable. So don't do that even if the >> interpreter allows it. It's there from the beginning, and it's probably >> a mistake. >> >> I must investigate before doing anything, because it may be a >> backward-compatibility problem: I sometimes have to keep bugs for that >> reason, and I must wait for a major release to fix it. >> >> Regards, >> >> -- >> Beno?t Minisini >> > > One small argument in favour of allowing instantiation of modules and "static" classes. > > We have a component called "GenUtil" that contains some utility functions and data that we use in lots and lots of our projects. Originally (some time back in Gambas2) it contained a class "StrUtil" that was coded as a class and thus needed instantiation in all the client projects that used it. Some time ago while modifying the library code I decided that, since the StrUtil methods were essentially static in nature and as the class had no dynamic data, I could change it to a module. Newer projects now access those methods via the module name as they should. But the older projects, that instantiate the module as an object and refer to the methods via the object name still work. I just checked and we have over 80 projects that reference that component. I have no idea how many of them use which means of referencing the StrUtil methods. So I would prefer that status quo remains. > > In fact I would prefer that only those classes coded as CREATE PRIVATE would exclude instantiation as even though a class bereft of dynamic data or methods today may have some dynamics tomorrow and vice versa. In short the decision that a class should prevent instantiation should be explicit i.e. via the CREATE PRIVATE command. > > > regards > Bruce > From jleake at ...3375... Sat Sep 20 23:16:17 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 22:16:17 +0100 Subject: [Gambas-user] Alternate language generation. Message-ID: <541DEEA1.7010504@...3375...> Hi All, Do any of you old-timers to gambas recall any questions/interest in using the IDE to generate source for other languages ? From taboege at ...626... Sat Sep 20 23:34:40 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 20 Sep 2014 23:34:40 +0200 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <541DEEA1.7010504@...3375...> References: <541DEEA1.7010504@...3375...> Message-ID: <20140920213440.GE887@...2774...> On Sat, 20 Sep 2014, John Leake wrote: > Hi All, > Do any of you old-timers to gambas recall any questions/interest in > using the IDE to generate source for other languages ? > I do not but I have seen in the archives that *many* people where around Gambas before I arrived which aren't here anymore. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sat Sep 20 23:40:42 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 20 Sep 2014 23:40:42 +0200 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <20140920213440.GE887@...2774...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> Message-ID: <20140920214042.GF887@...2774...> On Sat, 20 Sep 2014, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: > > Hi All, > > Do any of you old-timers to gambas recall any questions/interest in > > using the IDE to generate source for other languages ? > > > > I do not but I have seen in the archives that *many* people where around [...] people *were* around [...] Of course > Gambas before I arrived which aren't here anymore. > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Slashdot TV. Video for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Sun Sep 21 00:00:21 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 21 Sep 2014 07:30:21 +0930 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <20140921063118.6fe7881bfcac6c266ea8a3a7@...2308...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> <541DC66E.9000806@...1...> <20140921063118.6fe7881bfcac6c266ea8a3a7@...2308...> Message-ID: <20140921073021.7494e74afaae702f7a14e06b@...2308...> Another thing just popped into mind: Consider an inheritance chain where at some level a class only defines static features (but inherits dynamic features from ancestral classes). If "only static feautures" presumed "non-instantiable class" then this would break subsequent inheritance. regards Bruce p.s. I have had a bit of a look around the web and this concept of "static" = "non-instantiable" seems to be an idea of a certain North American software company whose products are of limited appeal to the majority of Linux users :-) I might have to see if my old Bertram Meyer text book is in the attic as I am getting more and more sure that "static" means allocated at class level rather than at instance level and nothing more. -- B Bruen From jleake at ...3375... Sun Sep 21 00:17:03 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 23:17:03 +0100 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <20140920213440.GE887@...2774...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> Message-ID: <541DFCDF.1090002@...3375...> When did you arrive and what period do you refer to ? On 20/09/14 22:34, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> Hi All, >> Do any of you old-timers to gambas recall any questions/interest in >> using the IDE to generate source for other languages ? >> > > I do not but I have seen in the archives that *many* people where around > Gambas before I arrived which aren't here anymore. > From bbruen at ...2308... Sun Sep 21 00:24:07 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 21 Sep 2014 07:54:07 +0930 Subject: [Gambas-user] A good idea? Message-ID: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> As some will know, we use a lot of third-party (i.e. developed by us) components and libraries in our projects. Some of these are re-usable pop-up forms to provide common features across our gui apps. Things like "AboutMe" and "SysInfos" forms that we need to place in all our client applications. Each of these requires that we include the component in the project properties, create a menu item in the relevant form and an event handler for that menu item. All these handlers essentially do is create an instance of the pop-up and ShowModal it. The other day I had an idea. I created a virtual control "wrapper" class that takes care of the above by itself. All the coder need do is to place the virtual control on the relevant form in form design mode. Anyway, this seems to work! I cant see any problems and I am now looking at more complex uses of this approach. Perhaps it might be a way to implement the IDE add-ins mentioned recently? Here is a project that mocks up this approach in that it is totally self contained (i.e. doesn't use components or libraries). If you would take a look you'll see that the main form, i.e. the "client", has no code at all for managing the pop-up (but does have a handler for an event raised by the pop-up). What do you think? regards Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: virtctls-0.0.5.tar.gz Type: application/octet-stream Size: 6921 bytes Desc: not available URL: From bbruen at ...2308... Sun Sep 21 00:27:15 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 21 Sep 2014 07:57:15 +0930 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <541DFCDF.1090002@...3375...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> Message-ID: <20140921075715.35de2c4b6ea0795bf4b30a37@...2308...> On Sat, 20 Sep 2014 23:17:03 +0100 John Leake wrote: > When did you arrive and what period do you refer to ? > > On 20/09/14 22:34, Tobias Boege wrote: > > On Sat, 20 Sep 2014, John Leake wrote: > >> Hi All, > >> Do any of you old-timers to gambas recall any questions/interest in > >> using the IDE to generate source for other languages ? > >> > > > > I do not but I have seen in the archives that *many* people where around > > Gambas before I arrived which aren't here anymore. > > I thought Tobi had been around since the pre-mesozoic era (i.e. Gambas 1.0) :-) -- B Bruen From taboege at ...626... Sun Sep 21 00:29:36 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 21 Sep 2014 00:29:36 +0200 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <541DFCDF.1090002@...3375...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> Message-ID: <20140920222936.GG887@...2774...> On Sat, 20 Sep 2014, John Leake wrote: > When did you arrive and what period do you refer to ? > Legitimate questions. I joined the mailing list in 2012. There seems to be good traffic on this list since 2003 but this apparently was pre-Gambas1. There is no specific period I can refer you to. Whenever I stumble upon old threads in the archives, I look at the sender names (not the message dates). -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Sun Sep 21 00:36:24 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 23:36:24 +0100 Subject: [Gambas-user] Static Classes and Modules In-Reply-To: <20140921073021.7494e74afaae702f7a14e06b@...2308...> References: <541D41D7.6030309@...3375...> <20140920092230.GA887@...2774...> <541D4EFA.8010907@...3375...> <541DC66E.9000806@...1...> <20140921063118.6fe7881bfcac6c266ea8a3a7@...2308...> <20140921073021.7494e74afaae702f7a14e06b@...2308...> Message-ID: <541E0168.1010904@...3375...> The actual name 'Static Class Method or Static Class Variable' and the name 'Class Method or Class Variable' are exactly the same thing. They are directly synonymous with a static variable within a subroutine or function that retains its value between calls to that sub or func (ie it is not on the stack and is not dynamically created each time the sub or func is called). On 20/09/14 23:00, B Bruen wrote: > Another thing just popped into mind: > > Consider an inheritance chain where at some level a class only defines static features (but inherits dynamic features from ancestral classes). > > If "only static feautures" presumed "non-instantiable class" then this would break subsequent inheritance. > > regards > Bruce > > p.s. I have had a bit of a look around the web and this concept of "static" = "non-instantiable" seems to be an idea of a certain North American software company whose products are of limited appeal to the majority of Linux users :-) I might have to see if my old Bertram Meyer text book is in the attic as I am getting more and more sure that "static" means allocated at class level rather than at instance level and nothing more. > From taboege at ...626... Sun Sep 21 00:42:18 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 21 Sep 2014 00:42:18 +0200 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <20140921075715.35de2c4b6ea0795bf4b30a37@...2308...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> <20140921075715.35de2c4b6ea0795bf4b30a37@...2308...> Message-ID: <20140920224218.GH887@...2774...> On Sun, 21 Sep 2014, B Bruen wrote: > On Sat, 20 Sep 2014 23:17:03 +0100 > John Leake wrote: > > > When did you arrive and what period do you refer to ? > > > > On 20/09/14 22:34, Tobias Boege wrote: > > > On Sat, 20 Sep 2014, John Leake wrote: > > >> Hi All, > > >> Do any of you old-timers to gambas recall any questions/interest in > > >> using the IDE to generate source for other languages ? > > >> > > > > > > I do not but I have seen in the archives that *many* people where around > > > Gambas before I arrived which aren't here anymore. > > > > > I thought Tobi had been around since the pre-mesozoic era (i.e. Gambas 1.0) :-) > Hui, I saw[0] that Gambas 1.0 RC6 was distributed at the end of 2004. I just became 10 years old at that time; playing GameBoy not staring mails all day :-) [ But I have to admit that 2012 - 2014 doesn't sound as long in my ears as it feels in back. ] [0] http://marc.info/?l=gambas-user&m=110413577521516 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jleake at ...3375... Sun Sep 21 00:46:19 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 23:46:19 +0100 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <20140920222936.GG887@...2774...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> <20140920222936.GG887@...2774...> Message-ID: <541E03BB.6030507@...3375...> Are the archives searchable in any real meaningful way ? Or is that a silly question/obvious. I am getting tired so please respond as though I am a moron. On 20/09/14 23:29, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> When did you arrive and what period do you refer to ? >> > > Legitimate questions. I joined the mailing list in 2012. There seems to be > good traffic on this list since 2003 but this apparently was pre-Gambas1. > > There is no specific period I can refer you to. Whenever I stumble upon old > threads in the archives, I look at the sender names (not the message dates). > From jleake at ...3375... Sun Sep 21 00:53:29 2014 From: jleake at ...3375... (John Leake) Date: Sat, 20 Sep 2014 23:53:29 +0100 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <20140920224218.GH887@...2774...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> <20140921075715.35de2c4b6ea0795bf4b30a37@...2308...> <20140920224218.GH887@...2774...> Message-ID: <541E0569.8010003@...3375...> This is in great danger of getting off topic but holy shit. It has certainly come a long way since then. Who gave birth ? When did it come under source code control ? From taboege at ...626... Sun Sep 21 00:57:55 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 21 Sep 2014 00:57:55 +0200 Subject: [Gambas-user] A good idea? In-Reply-To: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> References: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> Message-ID: <20140920225755.GI887@...2774...> On Sun, 21 Sep 2014, B Bruen wrote: > As some will know, we use a lot of third-party (i.e. developed by us) components and libraries in our projects. > Some of these are re-usable pop-up forms to provide common features across our gui apps. Things like "AboutMe" and "SysInfos" forms that we need to place in all our client applications. > > Each of these requires that we include the component in the project properties, create a menu item in the relevant form and an event handler for that menu item. All these handlers essentially do is create an instance of the pop-up and ShowModal it. > > The other day I had an idea. I created a virtual control "wrapper" class that takes care of the above by itself. All the coder need do is to place the virtual control on the relevant form in form design mode. > > Anyway, this seems to work! I cant see any problems and I am now looking at more complex uses of this approach. Perhaps it might be a way to implement the IDE add-ins mentioned recently? > > Here is a project that mocks up this approach in that it is totally self contained (i.e. doesn't use components or libraries). If you would take a look you'll see that the main form, i.e. the "client", has no code at all for managing the pop-up (but does have a handler for an event raised by the pop-up). > > What do you think? > Veeeery nice idea! It looks a bit like an hack, though, because it's not obvious (from the IDE form editor or otherwise) what the virtual control does. I like it anyway. I think you could even have a "MenuMaker" class which is your VControl.class minus the menu-specific things. You would derive "HelpMaker" from that class which provides the necessary names, like "mnuHelp", etc. and a real MakeMenu method (or event handler?). For the others: there is an error "Component not found: genutil". You can either fix this yourselves or apply the attached patch. It seemed to be safe to just remove that component (?). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: virtctls-0.0.5~virtctls-0.0.5.patch Type: text/x-diff Size: 429 bytes Desc: not available URL: From taboege at ...626... Sun Sep 21 01:04:21 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 21 Sep 2014 01:04:21 +0200 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <541E0569.8010003@...3375...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> <20140921075715.35de2c4b6ea0795bf4b30a37@...2308...> <20140920224218.GH887@...2774...> <541E0569.8010003@...3375...> Message-ID: <20140920230421.GJ887@...2774...> On Sat, 20 Sep 2014, John Leake wrote: > This is in great danger of getting off topic but holy shit. It has > certainly come a long way since then. > I think slight off topic is tolerated here...? > Who gave birth ? > Pretty sure Benoit did. > When did it come under source code control ? > The earliest tag in the SVN history (I don't know of any other VCS Gambas was under) is 1.9.44 in 2006 which refers to revision 91 so there wasn't pretty much before, I guess. You can see these in the SVN web interface[0]. [0] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/tags/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sun Sep 21 01:10:06 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 21 Sep 2014 01:10:06 +0200 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <541E03BB.6030507@...3375...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> <20140920222936.GG887@...2774...> <541E03BB.6030507@...3375...> Message-ID: <20140920231006.GK887@...2774...> On Sat, 20 Sep 2014, John Leake wrote: > Are the archives searchable in any real meaningful way ? > Or is that a silly question/obvious. I am getting tired so please > respond as though I am a moron. > In the mailing lists overview[0], you have a search box on the left or search links (I see those links the first time, too). But I tend to use Google and prefix my search terms with "gambas-user". [0] http://sourceforge.net/p/gambas/mailman/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Sun Sep 21 01:18:27 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 21 Sep 2014 08:48:27 +0930 Subject: [Gambas-user] A good idea? In-Reply-To: <20140920225755.GI887@...2774...> References: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> <20140920225755.GI887@...2774...> Message-ID: <20140921084827.09b60035d15df7e5ba297b75@...2308...> On Sun, 21 Sep 2014 00:57:55 +0200 Tobias Boege wrote: > On Sun, 21 Sep 2014, B Bruen wrote: > > As some will know, we use a lot of third-party (i.e. developed by us) components and libraries in our projects. > > Some of these are re-usable pop-up forms to provide common features across our gui apps. Things like "AboutMe" and "SysInfos" forms that we need to place in all our client applications. > > > > Each of these requires that we include the component in the project properties, create a menu item in the relevant form and an event handler for that menu item. All these handlers essentially do is create an instance of the pop-up and ShowModal it. > > > > The other day I had an idea. I created a virtual control "wrapper" class that takes care of the above by itself. All the coder need do is to place the virtual control on the relevant form in form design mode. > > > > Anyway, this seems to work! I cant see any problems and I am now looking at more complex uses of this approach. Perhaps it might be a way to implement the IDE add-ins mentioned recently? > > > > Here is a project that mocks up this approach in that it is totally self contained (i.e. doesn't use components or libraries). If you would take a look you'll see that the main form, i.e. the "client", has no code at all for managing the pop-up (but does have a handler for an event raised by the pop-up). > > > > What do you think? > > > > Veeeery nice idea! It looks a bit like an hack, though, because it's not > obvious (from the IDE form editor or otherwise) what the virtual control > does. I like it anyway. > Very much a hack at the moment! In fact more of a proof of concept at this stage. > I think you could even have a "MenuMaker" class which is your VControl.class > minus the menu-specific things. You would derive "HelpMaker" from that class > which provides the necessary names, like "mnuHelp", etc. and a real MakeMenu > method (or event handler?). > Yes, that's what I was alluding to as the "more complex" matters. > For the others: there is an error "Component not found: genutil". You can > either fix this yourselves or apply the attached patch. It seemed to be safe > to just remove that component (?). > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk Oops! I just stuck that GenUtil reference in to get at the help for it while responding to another thread. It is immaterial to this thread - so yes just remove it. Thanks for the feedback. B -- B Bruen From jleake at ...3375... Sun Sep 21 03:12:32 2014 From: jleake at ...3375... (John Leake) Date: Sun, 21 Sep 2014 02:12:32 +0100 Subject: [Gambas-user] Alternate language generation. In-Reply-To: <20140920230421.GJ887@...2774...> References: <541DEEA1.7010504@...3375...> <20140920213440.GE887@...2774...> <541DFCDF.1090002@...3375...> <20140921075715.35de2c4b6ea0795bf4b30a37@...2308...> <20140920224218.GH887@...2774...> <541E0569.8010003@...3375...> <20140920230421.GJ887@...2774...> Message-ID: <541E2600.5050809@...3375...> I have drilled down into the guts of Gambas and rattled a few cages in the process but I would like to thank you all for your time, patience and tolerance towards a Gambas newbie. I like the IDE and what has been achieved since its inception and I think that it holds great potential for the future. It is certainly (and I really mean this) the best and most accessible open source RAD tool available today. I am sorry if my direct approach has upset any one but that is who I am and life is too short to bugger about with politics and egos. I also feel a slight tide of resistance to what I would like to do to improve the experience for newcomers and it is unfortunate (for me) that there does not appear to be a concrete base behind the language semantic definition. This is only a technical issue but without it I cannot see any consensus of opinion that would prevail and thus form a solid unquestionable reference point in any debate. Thank you all again and good luck. From chrisml at ...3340... Sun Sep 21 08:55:22 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 21 Sep 2014 08:55:22 +0200 Subject: [Gambas-user] DB Connection additional parameters Message-ID: <541E765A.1010604@...3340...> Hello, is there any chance to add additional parameters when establishing a Gambas connection to a DB? For instance Postgresql libpq allows the delivery of "application_name" in the connection string and a lot more parameters: http://www.postgresql.org/docs/9.0/static/libpq-connect.html Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jscops at ...11... Sun Sep 21 08:59:28 2014 From: jscops at ...11... (Jack) Date: Sun, 21 Sep 2014 08:59:28 +0200 Subject: [Gambas-user] A good idea? In-Reply-To: <20140920225755.GI887@...2774...> References: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> <20140920225755.GI887@...2774...> Message-ID: <541E7750.5050201@...11...> Le 21/09/2014 00:57, Tobias Boege a ?crit : > For the others: there is an error "Component not found: genutil". You can > either fix this yourselves or apply the attached patch. It seemed to be safe > to just remove that component (?). Or recompile the project -- Cordialement Jacky Tripoteau From epost at ...3323... Sun Sep 21 12:09:37 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sun, 21 Sep 2014 12:09:37 +0200 Subject: [Gambas-user] Making a simple C++ component Message-ID: <541EA3E1.7040804@...3323...> Hi! I had a C++ introduction course at the University, so my knowledge of the language is very basic (no play on words intended :) ). I've been looking at how to put together a simple C++ component, tried to get an understanding from the documentation and looking at some components in the svn repo. I hvave gotten to the point of making the "skeleton" from the script inside the TEMPLATES folder. Now, just to get an understanding of how it is done, how can I make a simple component that has a property, and two methods, one for setting and one for getting the property's value? Kind regards J?rn Erik From taboege at ...626... Sun Sep 21 12:40:59 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 21 Sep 2014 12:40:59 +0200 Subject: [Gambas-user] Making a simple C++ component In-Reply-To: <541EA3E1.7040804@...3323...> References: <541EA3E1.7040804@...3323...> Message-ID: <20140921104059.GA874@...2774...> On Sun, 21 Sep 2014, J??rn Erik M??rne wrote: > Hi! > > I had a C++ introduction course at the University, so my knowledge of > the language is very basic (no play on words intended :) ). > > I've been looking at how to put together a simple C++ component, tried > to get an understanding from the documentation and looking at some > components in the svn repo. I hvave gotten to the point of making the > "skeleton" from the script inside the TEMPLATES folder. > > Now, just to get an understanding of how it is done, how can I make a > simple component that has a property, and two methods, one for setting > and one for getting the property's value? > If that helps you, you can have a look at main/lib/data/c_circular.c which implements a ring buffer in gb.data and is sufficiently simple. You normally do the following: 1. Create your source files c_ClassName.c and c_ClassName.h (or .cpp/.hpp), 2. Put them into your src/Makefile.am and ./reconf && ./configure, 3. Write your code: 3.1. You need a GB_DESC array which describes your class: you define method and property signatures there and link your C/C++ implementation functions, 3.2. Write those functions, 3.3. Make the GB_DESC array externally visible and declare it in your c_ClassName.h, 3.4. In your main.c you need to add the GB_DESC array to the list of exported classes, 4. make && sudo make install, 5. Create a new project, add your component and try it out. Doing that the first time is the toughest. Look at how other components do it. Normally, if you study the process of how a C/C++ class definition gets its way to the interpreter, it suffices to look at the files mentioned above: src/Makefile.am, src/c_ClassName.c src/c_ClassName.h, src/main.c. Regards, Tobi PS: Also, this question is more suited for the gambas-devel list. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Sep 21 15:48:35 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 21 Sep 2014 15:48:35 +0200 Subject: [Gambas-user] DB Connection additional parameters In-Reply-To: <541E765A.1010604@...3340...> References: <541E765A.1010604@...3340...> Message-ID: <541ED733.6060309@...1...> Le 21/09/2014 08:55, Christof Thalhofer a ?crit : > Hello, > > is there any chance to add additional parameters when establishing a > Gambas connection to a DB? For instance Postgresql libpq allows the > delivery of "application_name" in the connection string and a lot more > parameters: > > http://www.postgresql.org/docs/9.0/static/libpq-connect.html > > > Alles Gute > > Christof Thalhofer > There is no way to set these options with a specific SQL command? You have to pass them with the connection function? -- Beno?t Minisini From gambas at ...2524... Sun Sep 21 17:29:43 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 21 Sep 2014 15:29:43 +0000 Subject: [Gambas-user] Issue 559 in gambas: default charset is not unicode In-Reply-To: <2-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> <0-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Comment #3 on issue 559 by benoit.m... at ...626...: default charset is not unicode https://code.google.com/p/gambas/issues/detail?id=559 Apparently there is no standard way of defining collation. Each DBMS is completely different from the others. I know that SQL standard is a joke, but I'm always surprised... So it may not be possible to define a standard interface for that. Still investigating... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From charlie at ...2793... Sun Sep 21 17:40:58 2014 From: charlie at ...2793... (Charlie) Date: Sun, 21 Sep 2014 08:40:58 -0700 (MST) Subject: [Gambas-user] Caps Lock - Num Lock state howto In-Reply-To: <200804031925.09264.rospolosco@...152...> References: <200804031925.09264.rospolosco@...152...> Message-ID: <1411314058317-48416.post@...3046...> *I was playing with this routine and found that the following 2 lines can be replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks = Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks = Val(Right(Trim(sShellOutput), 1)) -- View this message in context: http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html Sent from the gambas-user mailing list archive at Nabble.com. From ea7dfh at ...2382... Sun Sep 21 19:06:36 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 21 Sep 2014 19:06:36 +0200 Subject: [Gambas-user] Caps Lock - Num Lock state howto In-Reply-To: <1411314058317-48416.post@...3046...> References: <200804031925.09264.rospolosco@...152...> <1411314058317-48416.post@...3046...> Message-ID: <541F059C.5090702@...2382...> El 21/09/14 a las #4, Charlie escribi?: > *I was playing with this routine and found that the following 2 lines can be > replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks = > Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks = > Val(Right(Trim(sShellOutput), 1)) > -- > View this message in context: http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html I was shocked when I realized this thread is from April 2008. I I myself subscribed to this list December 2008, so I haven't noticed this subject. Also, it seems the text get messed when writing through nabble (kind of a web forum). Thanks anyway, Charlie Regards -- Jesus Guardon From Karl.Reinl at ...2345... Sun Sep 21 19:38:04 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 21 Sep 2014 19:38:04 +0200 Subject: [Gambas-user] Caps Lock - Num Lock state howto In-Reply-To: <541F059C.5090702@...2382...> References: <200804031925.09264.rospolosco@...152...> <1411314058317-48416.post@...3046...> <541F059C.5090702@...2382...> Message-ID: <1411321084.3704.12.camel@...40...> Am Sonntag, den 21.09.2014, 19:06 +0200 schrieb Jesus: > El 21/09/14 a las #4, Charlie escribi?: > > *I was playing with this routine and found that the following 2 lines can be > > replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks = > > Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks = > > Val(Right(Trim(sShellOutput), 1)) > > > -- > > View this message in context: http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html > > I was shocked when I realized this thread is from April 2008. I I myself > subscribed to this list December 2008, so I haven't noticed this subject. > > Also, it seems the text get messed when writing through nabble (kind of > a web forum). > > Thanks anyway, Charlie > > > Regards Salut Jesus, who, what, where........Why from December 2008, can't see that. My mail says on german : Am Sonntag, den 21.09.2014, 08:40 -0700 schrieb Charlie -- Amicalement another Charlie From ea7dfh at ...2382... Sun Sep 21 20:18:19 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 21 Sep 2014 20:18:19 +0200 Subject: [Gambas-user] Caps Lock - Num Lock state howto In-Reply-To: <1411321084.3704.12.camel@...40...> References: <200804031925.09264.rospolosco@...152...> <1411314058317-48416.post@...3046...> <541F059C.5090702@...2382...> <1411321084.3704.12.camel@...40...> Message-ID: <541F166B.2020602@...2382...> El 21/09/14 a las #4, Charlie Reinl escribi?: > Am Sonntag, den 21.09.2014, 19:06 +0200 schrieb Jesus: >> El 21/09/14 a las #4, Charlie escribi?: >>> *I was playing with this routine and found that the following 2 lines can be >>> replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks = >>> Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks = >>> Val(Right(Trim(sShellOutput), 1)) >> >>> -- >>> View this message in context: http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html >> >> I was shocked when I realized this thread is from April 2008. I I myself >> subscribed to this list December 2008, so I haven't noticed this subject. >> >> Also, it seems the text get messed when writing through nabble (kind of >> a web forum). >> >> Thanks anyway, Charlie >> >> >> Regards > > Salut Jesus, > > who, what, where........Why from December 2008, can't see that. > My mail says on german : > Am Sonntag, den 21.09.2014, 08:40 -0700 schrieb Charlie > I'm talking of the original thread, not your last post which I replied. See that link: http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html Original post is from April 2008 by Stefano Palmeri. Since I'm only using Thunderbird to read mail and mailing list, I didn't noticed this until I did followed that link. Nothing to scare about ;-) BTW, I've tested 'xset' command and found interesting. Didn't know about it. Regards -- Jesus Guardon From willy at ...2734... Mon Sep 22 01:20:23 2014 From: willy at ...2734... (Willy Raets) Date: Mon, 22 Sep 2014 01:20:23 +0200 Subject: [Gambas-user] Request for implementation Message-ID: <1411341623.3278.53.camel@...3024...> Hi all, It would be nice if the translator in IDE could update some extra info in the translation files (.po) Example: #, 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 \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" Po-Revision-Date could be added when saving the translation as could Last Translator -> take name and mail from Packaging Preferences in IDE (if available) Or maybe this option should be a specific new Preference, as some maybe don;t want their name and mail in the po file. This way there is some kind of tracking on how recent or old translations are and someone to contact who has done the most recent translation, as it is simply added in the .po file. What do other Gambas translators or maybe soon to be translators think about this suggestion? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...2524... Mon Sep 22 04:56:45 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 22 Sep 2014 02:56:45 +0000 Subject: [Gambas-user] Issue 559 in gambas: default charset is not unicode In-Reply-To: <3-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> <0-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4215030808627936892-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 559 by benoit.m... at ...626...: default charset is not unicode https://code.google.com/p/gambas/issues/detail?id=559 Collation support has been implemented in revision #6494. It "just" allows you to define the collation of a specific text field, both by code and from the IDE database editor. In MySQL/MariaDB, if you don't define it, the default collation is used, which may be defined by the table, the server of the client. But you can't define these defaults, as that feature is not supported by other DBMS. Another important point: the charset support is implicit: if you specify a collation named "xxx_yyy", then the charset "xxx" is assumed. Please tell if you have any problem with it. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Mon Sep 22 04:59:03 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 22 Sep 2014 04:59:03 +0200 Subject: [Gambas-user] Collation support in database driver Message-ID: <541F9077.4090507@...1...> Collation support has been implemented in revision #6494, as a last-minute feature before the coming-soon Gambas 3.6. It "just" allows you to define the collation of a specific text field, both by code and from the IDE database editor. In MySQL/MariaDB, if you don't define it, the default collation is used, which may be defined by the table, the server of the client. But you can't define these defaults, as that feature is not supported by other DBMS. Another important point for MySQL: the charset support is implicit. If you specify a collation named "xxx_yyy", then the charset "xxx" is assumed. There is no explicit charset support otherwise. Please report any problem with it! -- Beno?t Minisini From chrisml at ...3340... Mon Sep 22 10:06:26 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 22 Sep 2014 10:06:26 +0200 Subject: [Gambas-user] DB Connection additional parameters In-Reply-To: <541ED733.6060309@...1...> (sfid-) References: <541E765A.1010604@...3340...> <541ED733.6060309@...1...> (sfid-) Message-ID: <541FD882.6040404@...3340...> Hello Benoit, Am 21.09.2014 um 15:48 schrieb Beno?t Minisini: > There is no way to set these options with a specific SQL command? You > have to pass them with the connection function? After I wrote the Mail I saw that there is the "SET" comand in Postgresql SQL, with which I can achieve that: "set application_name = 'app-xyz';" And that works. Unfortunately I had not the time to report that in the ML. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jusabejusabe at ...626... Mon Sep 22 10:08:16 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Mon, 22 Sep 2014 10:08:16 +0200 Subject: [Gambas-user] Direct assignment to arrays of inherited classes does not work Message-ID: Direct assignment to arrays of inherited classes does not work We have a class that inherits from the integer class [], we call SuperInteger, this is your code: Inherits Integer [] Public function higher() as integer dim itemt as integer dim ihigher as integer for each element in me ihigher = max (ihigher, item) next return ihigher end When I make an instance of the new : dim test as new SuperInteger It does not work this assignment: test = [86, 16, 212, 1, 43, 18] gambas3 says it's not the same type. Should I working? Right? Regards Julio From taboege at ...626... Mon Sep 22 10:46:49 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 22 Sep 2014 10:46:49 +0200 Subject: [Gambas-user] Direct assignment to arrays of inherited classes does not work In-Reply-To: References: Message-ID: <20140922084649.GA684@...2774...> On Mon, 22 Sep 2014, Julio Sanchez wrote: > Direct assignment to arrays of inherited classes does not work > > We have a class that inherits from the integer class [], we call > SuperInteger, this is your code: > Inherits Integer [] > > Public function higher() as integer > dim itemt as integer > dim ihigher as integer > > for each element in me > ihigher = max (ihigher, item) > next > > return ihigher > > end > > > When I make an instance of the new : > > dim test as new SuperInteger > > > It does not work this assignment: > test = [86, 16, 212, 1, 43, 18] > > gambas3 says it's not the same type. > Should I working? Right? > No, because it is not the same type :-) Even if B inherits A, it can be very difficult to make sense of an assignment myB = myA because myB could reference _lots_ of other information (which is not in the class A). What should happen to this information in the assignment? You simply can't convert myA to the B class. The clean solution would be to define a static B.FromA() method which takes an A object and returns a new B object which contains that A object and initialises all other information appropriately. So, you would implement Static Public Function FromArray(aArray As Integer[]) As SuperInteger or something along these lines in SuperInteger. For a more concise syntax, you may also use the _call() special method. Then you can do myB = SuperInteger([1, 2, 3, 4]) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jusabejusabe at ...626... Mon Sep 22 11:03:49 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Mon, 22 Sep 2014 11:03:49 +0200 Subject: [Gambas-user] Direct assignment to arrays of inherited classes does not work In-Reply-To: <20140922084649.GA684@...2774...> References: <20140922084649.GA684@...2774...> Message-ID: Thanks Tobi, I'll try :) Regards, Julio 2014-09-22 10:46 GMT+02:00 Tobias Boege : > On Mon, 22 Sep 2014, Julio Sanchez wrote: > > Direct assignment to arrays of inherited classes does not work > > > > We have a class that inherits from the integer class [], we call > > SuperInteger, this is your code: > > Inherits Integer [] > > > > Public function higher() as integer > > dim itemt as integer > > dim ihigher as integer > > > > for each element in me > > ihigher = max (ihigher, item) > > next > > > > return ihigher > > > > end > > > > > > When I make an instance of the new : > > > > dim test as new SuperInteger > > > > > > It does not work this assignment: > > test = [86, 16, 212, 1, 43, 18] > > > > gambas3 says it's not the same type. > > Should I working? Right? > > > > No, because it is not the same type :-) > > Even if B inherits A, it can be very difficult to make sense of an > assignment myB = myA because myB could reference _lots_ of other > information (which is not in the class A). What should happen to this > information in the assignment? You simply can't convert myA to the B > class. > > The clean solution would be to define a static B.FromA() method which > takes an A object and returns a new B object which contains that A > object and initialises all other information appropriately. > > So, you would implement > > Static Public Function FromArray(aArray As Integer[]) As SuperInteger > > or something along these lines in SuperInteger. For a more concise > syntax, you may also use the _call() special method. Then you can do > > myB = SuperInteger([1, 2, 3, 4]) > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Mon Sep 22 11:05:34 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 22 Sep 2014 11:05:34 +0200 Subject: [Gambas-user] Gambas2 program on ArchLinux Message-ID: <541FE65E.1060405@...221...> Good morning everyone, Someone here who knows ArchLinux? I have a student who would like to use a program I once wrote in Gambas2. I told him to install a Gambas2 package, then try the .gambas binary from me. It does run like this on my own laptop, but not on his machine. Anything special we should know about? Or is it possible he didn't find a Gambas2 but only a Gambas3 for his ArchLinux and just isn't aware? Thank you for any input! Rolf From taboege at ...626... Mon Sep 22 11:11:29 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 22 Sep 2014 11:11:29 +0200 Subject: [Gambas-user] Gambas2 program on ArchLinux In-Reply-To: <541FE65E.1060405@...221...> References: <541FE65E.1060405@...221...> Message-ID: <20140922091129.GB684@...2774...> On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: > Good morning everyone, > > Someone here who knows ArchLinux? I have a student who would like to use > a program I once wrote in Gambas2. > > I told him to install a Gambas2 package, then try the .gambas binary > from me. It does run like this on my own laptop, but not on his machine. > > Anything special we should know about? Or is it possible he didn't find > a Gambas2 but only a Gambas3 for his ArchLinux and just isn't aware? > Very likely. The only Gambas version in the official repositories is 3.5.4 and I couldn't find anything in the AUR. He may need to compile a Gambas2 by himself. I wish him luck because he may not find those old dependencies in the repositories either (but I don't know if this is going to be a problem). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From epost at ...3323... Mon Sep 22 11:25:25 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Mon, 22 Sep 2014 11:25:25 +0200 Subject: [Gambas-user] Ctrl+Alt+S is not working in Ubuntu 14.04 Message-ID: <541FEB05.1080105@...3323...> Ctrl+Alt+S is not working in Ubuntu 14.04. It is however working just fine under Manjaro KDE... From eilert-sprachen at ...221... Mon Sep 22 11:25:43 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 22 Sep 2014 11:25:43 +0200 Subject: [Gambas-user] Gambas2 program on ArchLinux In-Reply-To: <20140922091129.GB684@...2774...> References: <541FE65E.1060405@...221...> <20140922091129.GB684@...2774...> Message-ID: <541FEB17.20309@...221...> Am 22.09.2014 11:11, schrieb Tobias Boege: > On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: >> Good morning everyone, >> >> Someone here who knows ArchLinux? I have a student who would like to use >> a program I once wrote in Gambas2. >> >> I told him to install a Gambas2 package, then try the .gambas binary >> from me. It does run like this on my own laptop, but not on his machine. >> >> Anything special we should know about? Or is it possible he didn't find >> a Gambas2 but only a Gambas3 for his ArchLinux and just isn't aware? >> > > Very likely. The only Gambas version in the official repositories is 3.5.4 > and I couldn't find anything in the AUR. He may need to compile a Gambas2 > by himself. I wish him luck because he may not find those old dependencies > in the repositories either (but I don't know if this is going to be a > problem). > > Regards, > Tobi > Thank you, that makes it clearer. I will help him compile an older version, maybe we get it done. It isn't so important to have all the special libraries, it is a rather basic program. Rolf From gambas at ...1... Mon Sep 22 11:35:53 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 22 Sep 2014 11:35:53 +0200 Subject: [Gambas-user] Ctrl+Alt+S is not working in Ubuntu 14.04 In-Reply-To: <541FEB05.1080105@...3323...> References: <541FEB05.1080105@...3323...> Message-ID: <541FED79.1010606@...1...> Le 22/09/2014 11:25, J?rn Erik M?rne a ?crit : > Ctrl+Alt+S is not working in Ubuntu 14.04. It is however working just > fine under Manjaro KDE... > Application shortcuts do not work if they are already used by the desktop as global shortcuts. I don't think there is a way for a Gambas application to know these global shortcuts, so I guess you have to manually handle that case. Either by redefining the global shortcut from the desktop, or local the shortcut from the application. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Mon Sep 22 11:39:14 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 22 Sep 2014 11:39:14 +0200 Subject: [Gambas-user] Gambas2 program on ArchLinux In-Reply-To: <541FEB17.20309@...221...> References: <541FE65E.1060405@...221...> <20140922091129.GB684@...2774...> <541FEB17.20309@...221...> Message-ID: <1411378754.3462.9.camel@...40...> Am Montag, den 22.09.2014, 11:25 +0200 schrieb Rolf-Werner Eilert: > > Am 22.09.2014 11:11, schrieb Tobias Boege: > > On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: > >> Good morning everyone, > >> > >> Someone here who knows ArchLinux? I have a student who would like to use > >> a program I once wrote in Gambas2. > >> > >> I told him to install a Gambas2 package, then try the .gambas binary > >> from me. It does run like this on my own laptop, but not on his machine. > >> > >> Anything special we should know about? Or is it possible he didn't find > >> a Gambas2 but only a Gambas3 for his ArchLinux and just isn't aware? > >> > > > > Very likely. The only Gambas version in the official repositories is 3.5.4 > > and I couldn't find anything in the AUR. He may need to compile a Gambas2 > > by himself. I wish him luck because he may not find those old dependencies > > in the repositories either (but I don't know if this is going to be a > > problem). > > > > Regards, > > Tobi > > > > Thank you, that makes it clearer. I will help him compile an older > version, maybe we get it done. It isn't so important to have all the > special libraries, it is a rather basic program. > > Rolf Salut Rolf, Ubunto 12.04 LTS has it still in his repository The problem compiling gambas2 will be qt3 I think Ask PINO he tried that about a year ago. -- Amicalement Charlie From taboege at ...626... Mon Sep 22 11:38:45 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 22 Sep 2014 11:38:45 +0200 Subject: [Gambas-user] Gambas2 program on ArchLinux In-Reply-To: <541FEB17.20309@...221...> References: <541FE65E.1060405@...221...> <20140922091129.GB684@...2774...> <541FEB17.20309@...221...> Message-ID: <20140922093845.GC684@...2774...> On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: > > > Am 22.09.2014 11:11, schrieb Tobias Boege: > > On Mon, 22 Sep 2014, Rolf-Werner Eilert wrote: > >> Good morning everyone, > >> > >> Someone here who knows ArchLinux? I have a student who would like to use > >> a program I once wrote in Gambas2. > >> > >> I told him to install a Gambas2 package, then try the .gambas binary > >> from me. It does run like this on my own laptop, but not on his machine. > >> > >> Anything special we should know about? Or is it possible he didn't find > >> a Gambas2 but only a Gambas3 for his ArchLinux and just isn't aware? > >> > > > > Very likely. The only Gambas version in the official repositories is 3.5.4 > > and I couldn't find anything in the AUR. He may need to compile a Gambas2 > > by himself. I wish him luck because he may not find those old dependencies > > in the repositories either (but I don't know if this is going to be a > > problem). > > > > Regards, > > Tobi > > > > Thank you, that makes it clearer. I will help him compile an older > version, maybe we get it done. It isn't so important to have all the > special libraries, it is a rather basic program. > I just tried it out myself here on a not-so-up-to-date Arch Linux and I needed to change: acinclude.m4, line 20: AM_CONFIG_HEADER(...) -> AC_CONFIG_HEADERS(...) then ./reconf && ./configure brought me: THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.db.sqlite2 - gb.qte which is pretty good. Compilation failed later in gb.qt.kde and gb.pdf but without these, it ran through! Note that I run the Trinity desktop (3.5.13) which builds on QT3 (3.3.8d), so I had the bonus of having old QT libraries installed (whether that's a "bonus" clearly depends on context :-) Here, it is a bonus) which were indeed used for building gb.qt. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Mon Sep 22 14:35:16 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 22 Sep 2014 12:35:16 +0000 Subject: [Gambas-user] Issue 562 in gambas: Ubuntu ppa for Gambas has disappeared Message-ID: <0-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 562 by martindh... at ...626...: Ubuntu ppa for Gambas has disappeared https://code.google.com/p/gambas/issues/detail?id=562 The Installation page on the Gambas site points to a ppa for Gambas 3 run by nemh. That ppa seems no longer to be available: https://launchpad.net/~nemh/+archive/gambas3 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jussi.lahtinen at ...626... Mon Sep 22 14:51:55 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 22 Sep 2014 15:51:55 +0300 Subject: [Gambas-user] Gambas2 program on ArchLinux In-Reply-To: <541FE65E.1060405@...221...> References: <541FE65E.1060405@...221...> Message-ID: Maybe it would be easier to convert the program for Gambas3? It should be very easy. Jussi On Mon, Sep 22, 2014 at 12:05 PM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > Good morning everyone, > > Someone here who knows ArchLinux? I have a student who would like to use > a program I once wrote in Gambas2. > > I told him to install a Gambas2 package, then try the .gambas binary > from me. It does run like this on my own laptop, but not on his machine. > > Anything special we should know about? Or is it possible he didn't find > a Gambas2 but only a Gambas3 for his ArchLinux and just isn't aware? > > Thank you for any input! > > Rolf > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From charlie at ...2793... Mon Sep 22 17:47:31 2014 From: charlie at ...2793... (Charlie) Date: Mon, 22 Sep 2014 08:47:31 -0700 (MST) Subject: [Gambas-user] Issue 562 in gambas: Ubuntu ppa for Gambas has disappeared In-Reply-To: <0-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Message-ID: <1411400851342-48443.post@...3046...> The ppa has been change, you can run the following in Terminal to activate the latest ppa (Gambas stable). sudo add-apt-repository ppa:gambas-team/gambas3 -- View this message in context: http://gambas.8142.n7.nabble.com/Issue-562-in-gambas-Ubuntu-ppa-for-Gambas-has-disappeared-tp48436p48443.html Sent from the gambas-user mailing list archive at Nabble.com. From charlie at ...2793... Mon Sep 22 17:57:00 2014 From: charlie at ...2793... (Charlie) Date: Mon, 22 Sep 2014 08:57:00 -0700 (MST) Subject: [Gambas-user] Installation package(s) Message-ID: <1411401420963-48444.post@...3046...> I want to create an installation package but when I try I now get 13 files created, what are they all for and is there a way to get just one or am I missing something? Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/Installation-package-s-tp48444.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Mon Sep 22 18:02:34 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 22 Sep 2014 18:02:34 +0200 Subject: [Gambas-user] Gambas2 program on ArchLinux In-Reply-To: References: <541FE65E.1060405@...221...> Message-ID: <5420481A.6060208@...221...> There is a printing function included, and that would have to be completely re-written. I don't really have the time for that now, so I thought if there is an easier way to do it... Rolf Am 22.09.2014 14:51, schrieb Jussi Lahtinen: > Maybe it would be easier to convert the program for Gambas3? > It should be very easy. > > > Jussi > > On Mon, Sep 22, 2014 at 12:05 PM, Rolf-Werner Eilert < > eilert-sprachen at ...221...> wrote: > >> Good morning everyone, >> >> Someone here who knows ArchLinux? I have a student who would like to use >> a program I once wrote in Gambas2. >> >> I told him to install a Gambas2 package, then try the .gambas binary >> from me. It does run like this on my own laptop, but not on his machine. >> >> Anything special we should know about? Or is it possible he didn't find >> a Gambas2 but only a Gambas3 for his ArchLinux and just isn't aware? >> >> Thank you for any input! >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Sep 22 18:04:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 22 Sep 2014 16:04:30 +0000 Subject: [Gambas-user] Issue 562 in gambas: Ubuntu ppa for Gambas has disappeared In-Reply-To: <0-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 562 by tabo... at ...626...: Ubuntu ppa for Gambas has disappeared https://code.google.com/p/gambas/issues/detail?id=562 What page do you mean? In Google, "site:gambaswiki.org nemh" gives me exactly five matches, two of which are false positives and another two are outdated pages in non-English. The remainder is http://gambaswiki.org/wiki/doc/package. This is not really the "installation page". I don't even know why that page exists. The installation instructions are at http://gambaswiki.org/wiki/install. Meanwhile, I fix the /doc/package page, in case it has a meaning to someone... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas.fr at ...626... Mon Sep 22 18:09:08 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 22 Sep 2014 18:09:08 +0200 Subject: [Gambas-user] Direct assignment to arrays of inherited classes does not work In-Reply-To: References: <20140922084649.GA684@...2774...> Message-ID: strange... has we can say Control = TextBox ... no ? 2014-09-22 11:03 GMT+02:00 Julio Sanchez : > Thanks Tobi, I'll try :) > > Regards, > > Julio > > 2014-09-22 10:46 GMT+02:00 Tobias Boege : > >> On Mon, 22 Sep 2014, Julio Sanchez wrote: >> > Direct assignment to arrays of inherited classes does not work >> > >> > We have a class that inherits from the integer class [], we call >> > SuperInteger, this is your code: >> > Inherits Integer [] >> > >> > Public function higher() as integer >> > dim itemt as integer >> > dim ihigher as integer >> > >> > for each element in me >> > ihigher = max (ihigher, item) >> > next >> > >> > return ihigher >> > >> > end >> > >> > >> > When I make an instance of the new : >> > >> > dim test as new SuperInteger >> > >> > >> > It does not work this assignment: >> > test = [86, 16, 212, 1, 43, 18] >> > >> > gambas3 says it's not the same type. >> > Should I working? Right? >> > >> >> No, because it is not the same type :-) >> >> Even if B inherits A, it can be very difficult to make sense of an >> assignment myB = myA because myB could reference _lots_ of other >> information (which is not in the class A). What should happen to this >> information in the assignment? You simply can't convert myA to the B >> class. >> >> The clean solution would be to define a static B.FromA() method which >> takes an A object and returns a new B object which contains that A >> object and initialises all other information appropriately. >> >> So, you would implement >> >> Static Public Function FromArray(aArray As Integer[]) As SuperInteger >> >> or something along these lines in SuperInteger. For a more concise >> syntax, you may also use the _call() special method. Then you can do >> >> myB = SuperInteger([1, 2, 3, 4]) >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Mon Sep 22 18:17:43 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 22 Sep 2014 18:17:43 +0200 Subject: [Gambas-user] Direct assignment to arrays of inherited classes does not work In-Reply-To: References: <20140922084649.GA684@...2774...> Message-ID: for me if B inherit A so it can contain a A class ... it have the same base struct... For example in gb.report a reportcontrol can contain a ref to a reportLabel witch inherit reportcontrol... why it is not the same for arrays ? Fabien 2014-09-22 18:09 GMT+02:00 Fabien Bodard : > strange... > > has we can say Control = TextBox ... no ? > > > 2014-09-22 11:03 GMT+02:00 Julio Sanchez : >> Thanks Tobi, I'll try :) >> >> Regards, >> >> Julio >> >> 2014-09-22 10:46 GMT+02:00 Tobias Boege : >> >>> On Mon, 22 Sep 2014, Julio Sanchez wrote: >>> > Direct assignment to arrays of inherited classes does not work >>> > >>> > We have a class that inherits from the integer class [], we call >>> > SuperInteger, this is your code: >>> > Inherits Integer [] >>> > >>> > Public function higher() as integer >>> > dim itemt as integer >>> > dim ihigher as integer >>> > >>> > for each element in me >>> > ihigher = max (ihigher, item) >>> > next >>> > >>> > return ihigher >>> > >>> > end >>> > >>> > >>> > When I make an instance of the new : >>> > >>> > dim test as new SuperInteger >>> > >>> > >>> > It does not work this assignment: >>> > test = [86, 16, 212, 1, 43, 18] >>> > >>> > gambas3 says it's not the same type. >>> > Should I working? Right? >>> > >>> >>> No, because it is not the same type :-) >>> >>> Even if B inherits A, it can be very difficult to make sense of an >>> assignment myB = myA because myB could reference _lots_ of other >>> information (which is not in the class A). What should happen to this >>> information in the assignment? You simply can't convert myA to the B >>> class. >>> >>> The clean solution would be to define a static B.FromA() method which >>> takes an A object and returns a new B object which contains that A >>> object and initialises all other information appropriately. >>> >>> So, you would implement >>> >>> Static Public Function FromArray(aArray As Integer[]) As SuperInteger >>> >>> or something along these lines in SuperInteger. For a more concise >>> syntax, you may also use the _call() special method. Then you can do >>> >>> myB = SuperInteger([1, 2, 3, 4]) >>> >>> Regards, >>> Tobi >>> >>> -- >>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >>> >>> >>> ------------------------------------------------------------------------------ >>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From gambas at ...1... Mon Sep 22 18:21:25 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 22 Sep 2014 18:21:25 +0200 Subject: [Gambas-user] Direct assignment to arrays of inherited classes does not work In-Reply-To: References: <20140922084649.GA684@...2774...> Message-ID: <54204C85.1080501@...1...> Le 22/09/2014 18:09, Fabien Bodard a ?crit : > strange... > > has we can say Control = TextBox ... no ? > No, it's the other way. TextBox inherits Control, so you can assing a TextBox to a Control variable, but not the contrary. [...] returns a native array, so you can't assign it to a variable whose datatype is a class that inherits that native array. We need the ability to implement an automatic conversion functions directly in Gambas, not just in C/C++. I won't do that now! -- Beno?t Minisini From taboege at ...626... Mon Sep 22 18:20:38 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 22 Sep 2014 18:20:38 +0200 Subject: [Gambas-user] Direct assignment to arrays of inherited classes does not work In-Reply-To: References: <20140922084649.GA684@...2774...> Message-ID: <20140922162038.GG684@...2774...> On Mon, 22 Sep 2014, Fabien Bodard wrote: > strange... > > has we can say Control = TextBox ... no ? > Yes, this is because it is the other way around. TextBox inherits Control, so TextBox contains more information. To assign Control = TextBox, we just need to forget some of the additional stuff in TextBox, which is easy. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Mon Sep 22 19:07:46 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 22 Sep 2014 17:07:46 +0000 Subject: [Gambas-user] Issue 562 in gambas: Ubuntu ppa for Gambas has disappeared In-Reply-To: <1-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> <0-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Comment #2 on issue 562 by martindh... at ...626...: Ubuntu ppa for Gambas has disappeared https://code.google.com/p/gambas/issues/detail?id=562 I went to the project page: (First hit on Google). Then I clicked on "Distributions and OS" on the left to find out how to install in Ubuntu. That's where the broken link is. I actually had it installed from the PPA on one machine, and the PPA disappeared, giving errors during apt-get update. Cheers, Martin -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Sep 22 19:17:52 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 22 Sep 2014 17:17:52 +0000 Subject: [Gambas-user] Issue 562 in gambas: Ubuntu ppa for Gambas has disappeared In-Reply-To: <2-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> <0-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7838108480684570571-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 562 by tabo... at ...626...: Ubuntu ppa for Gambas has disappeared https://code.google.com/p/gambas/issues/detail?id=562 Corrected. Thanks. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From dosida at ...626... Mon Sep 22 20:18:14 2014 From: dosida at ...626... (Dimitris Anogiatis) Date: Mon, 22 Sep 2014 12:18:14 -0600 Subject: [Gambas-user] Installation package(s) In-Reply-To: <1411401420963-48444.post@...3046...> References: <1411401420963-48444.post@...3046...> Message-ID: I think that those 13 files are mostly all that's needed to put your program into a repository including the source code. If you just want to get the binary into your target system or on a website without going through a repository... then you only need one. On Mon, Sep 22, 2014 at 9:57 AM, Charlie wrote: > I want to create an installation package but when I try I now get 13 files > created, what are they all for and is there a way to get just one or am I > missing something? Thanks. > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Installation-package-s-tp48444.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Sep 23 02:29:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Sep 2014 02:29:26 +0200 Subject: [Gambas-user] Request for implementation In-Reply-To: <1411341623.3278.53.camel@...3024...> References: <1411341623.3278.53.camel@...3024...> Message-ID: <5420BEE6.10900@...1...> Le 22/09/2014 01:20, Willy Raets a ?crit : > Hi all, > > It would be nice if the translator in IDE could update some extra info > in the translation files (.po) > > Example: > #, 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 \n" > "Language-Team: LANGUAGE \n" > "MIME-Version: 1.0\n" > "Content-Type: text/plain; charset=UTF-8\n" > "Content-Transfer-Encoding: 8bit\n" > > Po-Revision-Date could be added when saving the translation as could > Last Translator -> take name and mail from Packaging Preferences in IDE > (if available) > Or maybe this option should be a specific new Preference, as some maybe > don;t want their name and mail in the po file. > > This way there is some kind of tracking on how recent or old > translations are and someone to contact who has done the most recent > translation, as it is simply added in the .po file. > > What do other Gambas translators or maybe soon to be translators think > about this suggestion? > I implemented that in revision #6503. The *.pot files header is updated by the compiler when its corresponding class is compiled. The *.po files header is updated when the translation is saved to the disk by the IDE translation dialog. Please report any problem! Regards, -- Beno?t Minisini From charlie at ...2793... Tue Sep 23 13:59:07 2014 From: charlie at ...2793... (Charlie) Date: Tue, 23 Sep 2014 04:59:07 -0700 (MST) Subject: [Gambas-user] Installation package(s) In-Reply-To: References: <1411401420963-48444.post@...3046...> Message-ID: <1411473547754-48465.post@...3046...> Thanks for the reply but I am still confused. I have tried a few of the .deb files but they don't seem to work so which one? control_1.0.4-0ubuntu1_all.deb control_1.0.4-0ubuntu1_amd64.changes control_1.0.4-0ubuntu1.diff.gz control_1.0.4-0ubuntu1.dsc control_1.0.4.orig.tar.gz control-gtk_1.0.4-0ubuntu1_all.deb control-gtk_1.0.4-0ubuntu1_amd64.changes control-gtk_1.0.4-0ubuntu1.dsc control-gtk_1.0.4-0ubuntu1.tar.gz control-qt4_1.0.4-0ubuntu1_all.deb control-qt4_1.0.4-0ubuntu1_amd64.changes control-qt4_1.0.4-0ubuntu1.dsc control-qt4_1.0.4-0ubuntu1.tar.gz -- View this message in context: http://gambas.8142.n7.nabble.com/Installation-package-s-tp48444p48465.html Sent from the gambas-user mailing list archive at Nabble.com. From willy at ...2734... Tue Sep 23 12:58:51 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 23 Sep 2014 12:58:51 +0200 Subject: [Gambas-user] Request for implementation In-Reply-To: <5420BEE6.10900@...1...> References: <1411341623.3278.53.camel@...3024...> <5420BEE6.10900@...1...> Message-ID: <1411469931.20755.0.camel@...3024...> On di, 2014-09-23 at 02:29 +0200, Beno?t Minisini wrote: > Le 22/09/2014 01:20, Willy Raets a ?crit : > > Hi all, > > > > It would be nice if the translator in IDE could update some extra info > > in the translation files (.po) > > > > Example: > > #, 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 \n" > > "Language-Team: LANGUAGE \n" > > "MIME-Version: 1.0\n" > > "Content-Type: text/plain; charset=UTF-8\n" > > "Content-Transfer-Encoding: 8bit\n" > > > > Po-Revision-Date could be added when saving the translation as could > > Last Translator -> take name and mail from Packaging Preferences in IDE > > (if available) > > Or maybe this option should be a specific new Preference, as some maybe > > don;t want their name and mail in the po file. > > > > This way there is some kind of tracking on how recent or old > > translations are and someone to contact who has done the most recent > > translation, as it is simply added in the .po file. > > > > What do other Gambas translators or maybe soon to be translators think > > about this suggestion? > > > > I implemented that in revision #6503. > > The *.pot files header is updated by the compiler when its corresponding > class is compiled. > > The *.po files header is updated when the translation is saved to the > disk by the IDE translation dialog. > > Please report any problem! > > Regards, > Great and thank you. I'll test as soon as daily PPA is at this revision and report back. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Tue Sep 23 15:20:59 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 23 Sep 2014 15:20:59 +0200 Subject: [Gambas-user] Installation package(s) In-Reply-To: <1411473547754-48465.post@...3046...> References: <1411401420963-48444.post@...3046...> <1411473547754-48465.post@...3046...> Message-ID: <1411478459.20755.4.camel@...3024...> On di, 2014-09-23 at 04:59 -0700, Charlie wrote: > Thanks for the reply but I am still confused. I have tried a few of the .deb > files but they don't seem to work so which one? > > control_1.0.4-0ubuntu1_all.deb > control_1.0.4-0ubuntu1_amd64.changes > control_1.0.4-0ubuntu1.diff.gz > control_1.0.4-0ubuntu1.dsc > control_1.0.4.orig.tar.gz > control-gtk_1.0.4-0ubuntu1_all.deb > control-gtk_1.0.4-0ubuntu1_amd64.changes > control-gtk_1.0.4-0ubuntu1.dsc > control-gtk_1.0.4-0ubuntu1.tar.gz > control-qt4_1.0.4-0ubuntu1_all.deb > control-qt4_1.0.4-0ubuntu1_amd64.changes > control-qt4_1.0.4-0ubuntu1.dsc > control-qt4_1.0.4-0ubuntu1.tar.gz > Hi Charlie, You have this many packages because your project uses gb.gui. When you use gb.gui the packager will also make gb.gtk and gb.qt4 packages. That is why you have this many packages. Use the control_1.0.4-0ubuntu1_all.deb to install. It should be the biggest in size compared to the two other .debs (being control-gtk_1.0.4-0ubuntu1_all.deb and control-qt4_1.0.4-0ubuntu1_all.deb) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...1... Tue Sep 23 15:34:44 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Sep 2014 15:34:44 +0200 Subject: [Gambas-user] Installation package(s) In-Reply-To: <1411478459.20755.4.camel@...3024...> References: <1411401420963-48444.post@...3046...> <1411473547754-48465.post@...3046...> <1411478459.20755.4.camel@...3024...> Message-ID: <542176F4.3010009@...1...> Le 23/09/2014 15:20, Willy Raets a ?crit : > On di, 2014-09-23 at 04:59 -0700, Charlie wrote: >> Thanks for the reply but I am still confused. I have tried a few of the .deb >> files but they don't seem to work so which one? >> >> control_1.0.4-0ubuntu1_all.deb >> control_1.0.4-0ubuntu1_amd64.changes >> control_1.0.4-0ubuntu1.diff.gz >> control_1.0.4-0ubuntu1.dsc >> control_1.0.4.orig.tar.gz >> control-gtk_1.0.4-0ubuntu1_all.deb >> control-gtk_1.0.4-0ubuntu1_amd64.changes >> control-gtk_1.0.4-0ubuntu1.dsc >> control-gtk_1.0.4-0ubuntu1.tar.gz >> control-qt4_1.0.4-0ubuntu1_all.deb >> control-qt4_1.0.4-0ubuntu1_amd64.changes >> control-qt4_1.0.4-0ubuntu1.dsc >> control-qt4_1.0.4-0ubuntu1.tar.gz >> > Hi Charlie, > > You have this many packages because your project uses gb.gui. > > When you use gb.gui the packager will also make gb.gtk and gb.qt4 > packages. That is why you have this many packages. > > Use the control_1.0.4-0ubuntu1_all.deb to install. It should be the > biggest in size compared to the two other .debs (being > control-gtk_1.0.4-0ubuntu1_all.deb and > control-qt4_1.0.4-0ubuntu1_all.deb) > > No! You have to install either the 'control-gtk_1.0.4-0ubuntu1_all.deb' or the 'control-qt4_1.0.4-0ubuntu1_all.deb' package, depending on which GUI you want to -be able- to use. If you want to -be able- to use GTK+ and QT4, you have to install both packages. The actual GUI that will be used at runtime depends on the running desktop, and if the corresponding Gambas GUI component (gb.gtk or gb.qt4) is installed. These GUI packages just ensure that at least one Gambas GUI component is installed, that's all. And they depends on the 'control_1.0.4-0ubuntu1_all.deb' package which is your project without the GUI dependency, so that it is installed too. Regards, -- Beno?t Minisini From willy at ...2734... Tue Sep 23 15:43:13 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 23 Sep 2014 15:43:13 +0200 Subject: [Gambas-user] Installation package(s) In-Reply-To: <542176F4.3010009@...1...> References: <1411401420963-48444.post@...3046...> <1411473547754-48465.post@...3046...> <1411478459.20755.4.camel@...3024...> <542176F4.3010009@...1...> Message-ID: <1411479793.20755.6.camel@...3024...> On di, 2014-09-23 at 15:34 +0200, Beno?t Minisini wrote: > Le 23/09/2014 15:20, Willy Raets a ?crit : > > On di, 2014-09-23 at 04:59 -0700, Charlie wrote: > >> Thanks for the reply but I am still confused. I have tried a few of the .deb > >> files but they don't seem to work so which one? > >> > >> control_1.0.4-0ubuntu1_all.deb > >> control_1.0.4-0ubuntu1_amd64.changes > >> control_1.0.4-0ubuntu1.diff.gz > >> control_1.0.4-0ubuntu1.dsc > >> control_1.0.4.orig.tar.gz > >> control-gtk_1.0.4-0ubuntu1_all.deb > >> control-gtk_1.0.4-0ubuntu1_amd64.changes > >> control-gtk_1.0.4-0ubuntu1.dsc > >> control-gtk_1.0.4-0ubuntu1.tar.gz > >> control-qt4_1.0.4-0ubuntu1_all.deb > >> control-qt4_1.0.4-0ubuntu1_amd64.changes > >> control-qt4_1.0.4-0ubuntu1.dsc > >> control-qt4_1.0.4-0ubuntu1.tar.gz > >> > > Hi Charlie, > > > > You have this many packages because your project uses gb.gui. > > > > When you use gb.gui the packager will also make gb.gtk and gb.qt4 > > packages. That is why you have this many packages. > > > > Use the control_1.0.4-0ubuntu1_all.deb to install. It should be the > > biggest in size compared to the two other .debs (being > > control-gtk_1.0.4-0ubuntu1_all.deb and > > control-qt4_1.0.4-0ubuntu1_all.deb) > > > > > > No! > > You have to install either the 'control-gtk_1.0.4-0ubuntu1_all.deb' or > the 'control-qt4_1.0.4-0ubuntu1_all.deb' package, depending on which GUI > you want to -be able- to use. If you want to -be able- to use GTK+ and > QT4, you have to install both packages. > > The actual GUI that will be used at runtime depends on the running > desktop, and if the corresponding Gambas GUI component (gb.gtk or > gb.qt4) is installed. > > These GUI packages just ensure that at least one Gambas GUI component is > installed, that's all. > > And they depends on the 'control_1.0.4-0ubuntu1_all.deb' package which > is your project without the GUI dependency, so that it is installed too. > > Regards, > Seems, my assumption was wrong, but I stopped using gb.gui in my projects since Gambas 3.5.x, so that might explain it ;) Thanks for the correction -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From taboege at ...626... Tue Sep 23 17:46:47 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 23 Sep 2014 17:46:47 +0200 Subject: [Gambas-user] DateBox popup transparency issue Message-ID: <20140923154647.GA868@...2774...> Hi, someone reported an issue with DateBox's chooser popup. After double-clicking on a date, the popup would stay halfways transparent and flicker according to the mouse movements. The attached screenshot kind of shows this. Project is also attached. After it didn't happen on my system, we found out that replacing gb.gui with gb.qt4 fixed the symptom. His system: [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-36-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=16030M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: testdata-0.0.1.tar.gz Type: application/octet-stream Size: 4885 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.jpg Type: image/jpeg Size: 175745 bytes Desc: not available URL: From willy at ...2734... Tue Sep 23 18:07:50 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 23 Sep 2014 18:07:50 +0200 Subject: [Gambas-user] Installation package(s) In-Reply-To: <542176F4.3010009@...1...> References: <1411401420963-48444.post@...3046...> <1411473547754-48465.post@...3046...> <1411478459.20755.4.camel@...3024...> <542176F4.3010009@...1...> Message-ID: <1411488470.20755.15.camel@...3024...> On di, 2014-09-23 at 15:34 +0200, Beno?t Minisini wrote: > Le 23/09/2014 15:20, Willy Raets a ?crit : > > On di, 2014-09-23 at 04:59 -0700, Charlie wrote: > >> Thanks for the reply but I am still confused. I have tried a few of the .deb > >> files but they don't seem to work so which one? > >> > >> control_1.0.4-0ubuntu1_all.deb > >> control_1.0.4-0ubuntu1_amd64.changes > >> control_1.0.4-0ubuntu1.diff.gz > >> control_1.0.4-0ubuntu1.dsc > >> control_1.0.4.orig.tar.gz > >> control-gtk_1.0.4-0ubuntu1_all.deb > >> control-gtk_1.0.4-0ubuntu1_amd64.changes > >> control-gtk_1.0.4-0ubuntu1.dsc > >> control-gtk_1.0.4-0ubuntu1.tar.gz > >> control-qt4_1.0.4-0ubuntu1_all.deb > >> control-qt4_1.0.4-0ubuntu1_amd64.changes > >> control-qt4_1.0.4-0ubuntu1.dsc > >> control-qt4_1.0.4-0ubuntu1.tar.gz > >> > > Hi Charlie, > > > > You have this many packages because your project uses gb.gui. > > > > When you use gb.gui the packager will also make gb.gtk and gb.qt4 > > packages. That is why you have this many packages. > > > > Use the control_1.0.4-0ubuntu1_all.deb to install. It should be the > > biggest in size compared to the two other .debs (being > > control-gtk_1.0.4-0ubuntu1_all.deb and > > control-qt4_1.0.4-0ubuntu1_all.deb) > > > > > > No! > > You have to install either the 'control-gtk_1.0.4-0ubuntu1_all.deb' or > the 'control-qt4_1.0.4-0ubuntu1_all.deb' package, depending on which GUI > you want to -be able- to use. If you want to -be able- to use GTK+ and > QT4, you have to install both packages. > > The actual GUI that will be used at runtime depends on the running > desktop, and if the corresponding Gambas GUI component (gb.gtk or > gb.qt4) is installed. > > These GUI packages just ensure that at least one Gambas GUI component is > installed, that's all. > > And they depends on the 'control_1.0.4-0ubuntu1_all.deb' package which > is your project without the GUI dependency, so that it is installed too. > > Regards, > A question (with gb.gtk3 component on mind): Will the future 'make installation packager' make a gtk3 package as well for a gb.gui project? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...1... Tue Sep 23 18:36:21 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 23 Sep 2014 18:36:21 +0200 Subject: [Gambas-user] DateBox popup transparency issue In-Reply-To: <20140923154647.GA868@...2774...> References: <20140923154647.GA868@...2774...> Message-ID: <5421A185.6080406@...1...> Le 23/09/2014 17:46, Tobias Boege a ?crit : > Hi, > > someone reported an issue with DateBox's chooser popup. After double-clicking > on a date, the popup would stay halfways transparent and flicker according to > the mouse movements. The attached screenshot kind of shows this. Project is > also attached. > > After it didn't happen on my system, we found out that replacing gb.gui with > gb.qt4 fixed the symptom. His system: > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.13.0-36-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.1 LTS > Desktop=GNOME > Theme=QGtk > Language=en_US.UTF-8 > Memory=16030M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Regards, > Tobi > I guess this is an Unity thing... By the way, it detects the desktop as being Gnome. If someone knows a way to detect that it is actually Unity. -- Beno?t Minisini From willy at ...2734... Tue Sep 23 19:11:12 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 23 Sep 2014 19:11:12 +0200 Subject: [Gambas-user] DateBox popup transparency issue In-Reply-To: <5421A185.6080406@...1...> References: <20140923154647.GA868@...2774...> <5421A185.6080406@...1...> Message-ID: <1411492272.4359.14.camel@...3024...> On di, 2014-09-23 at 18:36 +0200, Beno?t Minisini wrote: > Le 23/09/2014 17:46, Tobias Boege a ?crit : > > Hi, > > > > someone reported an issue with DateBox's chooser popup. After double-clicking > > on a date, the popup would stay halfways transparent and flicker according to > > the mouse movements. The attached screenshot kind of shows this. Project is > > also attached. > > > > After it didn't happen on my system, we found out that replacing gb.gui with > > gb.qt4 fixed the symptom. His system: > > > > [System] > > Gambas=3.5.4 > > OperatingSystem=Linux > > Kernel=3.13.0-36-generic > > Architecture=x86_64 > > Distribution=Ubuntu 14.04.1 LTS > > Desktop=GNOME > > Theme=QGtk > > Language=en_US.UTF-8 > > Memory=16030M > > [Libraries] > > Cairo=libcairo.so.2.11301.0 > > Curl=libcurl.so.4.3.0 > > DBus=libdbus-1.so.3.7.6 > > GStreamer=libgstreamer-0.10.so.0.30.0 > > GStreamer=libgstreamer-1.0.so.0.204.0 > > GTK+=libgtk-x11-2.0.so.0.2400.23 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.44.0.0 > > Qt4=libQtCore.so.4.8.6 > > SDL=libSDL-1.2.so.0.11.4 > > > > Regards, > > Tobi > > > > I guess this is an Unity thing... By the way, it detects the desktop as > being Gnome. If someone knows a way to detect that it is actually Unity. Private $sUnityVersion As String Private Function Unity() As Boolean Dim sOutput As String Try Exec ["unity", "--version"] To sOutput If Not (Error Or Len(sOut) = 0) Then bUnity = True $sUnityVersion = ExtractUnityVersion(sOutput) Return True Else Return False Endif Private Function ExtractUnityVersion(TextToParse As String) As String Dim iPosB, iPosE As Integer iPosB = InStr(TextToParse, " ", 1) + 1 iPosE = InStr(TextToParse, "\n", iPosB) Return Trim(Mid$(TextToParse, iPosB, iPosE - iPosB)) End Important is to check this before checking for gnome!! As far as I know it doesn't run with all window managers. It does run with: mutter, metacity, kwin and muffin. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From taboege at ...626... Tue Sep 23 19:12:21 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 23 Sep 2014 19:12:21 +0200 Subject: [Gambas-user] DateBox popup transparency issue In-Reply-To: <1411492272.4359.14.camel@...3024...> References: <20140923154647.GA868@...2774...> <5421A185.6080406@...1...> <1411492272.4359.14.camel@...3024...> Message-ID: <20140923171221.GB868@...2774...> On Tue, 23 Sep 2014, Willy Raets wrote: > On di, 2014-09-23 at 18:36 +0200, Beno??t Minisini wrote: > > Le 23/09/2014 17:46, Tobias Boege a ??crit : > > > Hi, > > > > > > someone reported an issue with DateBox's chooser popup. After double-clicking > > > on a date, the popup would stay halfways transparent and flicker according to > > > the mouse movements. The attached screenshot kind of shows this. Project is > > > also attached. > > > > > > After it didn't happen on my system, we found out that replacing gb.gui with > > > gb.qt4 fixed the symptom. His system: > > > > > > [...] > > > > > > Regards, > > > Tobi > > > > > > > I guess this is an Unity thing... By the way, it detects the desktop as > > being Gnome. If someone knows a way to detect that it is actually Unity. > > Private $sUnityVersion As String > > Private Function Unity() As Boolean > > Dim sOutput As String > Try Exec ["unity", "--version"] To sOutput > If Not (Error Or Len(sOut) = 0) Then > bUnity = True > $sUnityVersion = ExtractUnityVersion(sOutput) > Return True > Else > Return False > Endif > > > Private Function ExtractUnityVersion(TextToParse As String) As String > > Dim iPosB, iPosE As Integer > iPosB = InStr(TextToParse, " ", 1) + 1 > iPosE = InStr(TextToParse, "\n", iPosB) > Return Trim(Mid$(TextToParse, iPosB, iPosE - iPosB)) > > End > > Important is to check this before checking for gnome!! > > As far as I know it doesn't run with all window managers. > It does run with: mutter, metacity, kwin and muffin. > Wouldn't this just check if unity is installed? Doesn't mean it's running. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rmorgan62 at ...626... Tue Sep 23 19:18:58 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 23 Sep 2014 10:18:58 -0700 Subject: [Gambas-user] DateBox popup transparency issue In-Reply-To: <5421A185.6080406@...1...> References: <20140923154647.GA868@...2774...> <5421A185.6080406@...1...> Message-ID: Hi Beniot, Try this for checking desktops. It works for me on Ubuntu 12.04. This of course is a BASK script... if [ "$XDG_CURRENT_DESKTOP" = "" ]then desktop=$(echo "$XDG_DATA_DIRS" | sed 's/.*\(xfce\|kde\|gnome\).*/\1/')else desktop=$XDG_CURRENT_DESKTOPfi desktop=${desktop,,} # convert to lower case echo "$desktop" On Tue, Sep 23, 2014 at 9:36 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 23/09/2014 17:46, Tobias Boege a ?crit : > > Hi, > > > > someone reported an issue with DateBox's chooser popup. After > double-clicking > > on a date, the popup would stay halfways transparent and flicker > according to > > the mouse movements. The attached screenshot kind of shows this. Project > is > > also attached. > > > > After it didn't happen on my system, we found out that replacing gb.gui > with > > gb.qt4 fixed the symptom. His system: > > > > [System] > > Gambas=3.5.4 > > OperatingSystem=Linux > > Kernel=3.13.0-36-generic > > Architecture=x86_64 > > Distribution=Ubuntu 14.04.1 LTS > > Desktop=GNOME > > Theme=QGtk > > Language=en_US.UTF-8 > > Memory=16030M > > [Libraries] > > Cairo=libcairo.so.2.11301.0 > > Curl=libcurl.so.4.3.0 > > DBus=libdbus-1.so.3.7.6 > > GStreamer=libgstreamer-0.10.so.0.30.0 > > GStreamer=libgstreamer-1.0.so.0.204.0 > > GTK+=libgtk-x11-2.0.so.0.2400.23 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.44.0.0 > > Qt4=libQtCore.so.4.8.6 > > SDL=libSDL-1.2.so.0.11.4 > > > > Regards, > > Tobi > > > > I guess this is an Unity thing... By the way, it detects the desktop as > being Gnome. If someone knows a way to detect that it is actually Unity. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From taboege at ...626... Tue Sep 23 21:47:10 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 23 Sep 2014 21:47:10 +0200 Subject: [Gambas-user] gb.data: Trie class Message-ID: <20140923194710.GC868@...2774...> Hi, in revision #6506, I added two classes to gb.data: Trie and TriePrefix. Together they implement a Patricia Trie[0] a.k.a. Radix tree a.k.a. Prefix tree. Trie is the data container. It works just like a Collection. TriePrefix can be used to limit searches to a common prefix. This way you can start doing things way into the Trie and have to deal with less nodes. Since the commit adds lots of new code, I would like people to test it with the attached project. I will also attach the expected output in a text file. (JFTR: There are no memory errors/leaks with it on my system.) Also, Benoit: tell me what you think about the interface. I documented everything in the source code (c_trie.c). For the adventurous, I attach a simplistic command line interpreter which shows the major deal with tries: the ability to search through a set of strings simultaneously and doing fast (!) auto-completion of input among a number of strings. (NB: I haven't tested this project thoroughly.) Regards, Tobi PS: Please take revision #6507 which already corrects a bug. [0] http://en.wikipedia.org/wiki/Radix_tree -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: trietest-0.0.1.tar.gz Type: application/octet-stream Size: 4071 bytes Desc: not available URL: -------------- next part -------------- -> root q -> p tall -> small term -> 2+3 test -> tomorrow text -> words texte -> french texte+ -> french text+ -> words text+e -> french tex+t -> words tex+te -> french te+rm -> 2+3 te+st -> tomorrow te+xt -> words te+xte -> french t+all -> small t+erm -> 2+3 t+est -> tomorrow t+ext -> words t+exte -> french + -> root +q -> p +tall -> small +term -> 2+3 +test -> tomorrow +text -> words +texte -> french t text tall -------------- next part -------------- A non-text attachment was scrubbed... Name: AutoComplete-0.0.1.tar.gz Type: application/octet-stream Size: 5949 bytes Desc: not available URL: From gambas at ...1... Wed Sep 24 01:36:03 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 24 Sep 2014 01:36:03 +0200 Subject: [Gambas-user] gb.data: Trie class In-Reply-To: <20140923194710.GC868@...2774...> References: <20140923194710.GC868@...2774...> Message-ID: <542203E3.8010601@...1...> Le 23/09/2014 21:47, Tobias Boege a ?crit : > Hi, > > in revision #6506, I added two classes to gb.data: Trie and TriePrefix. > Together they implement a Patricia Trie[0] a.k.a. Radix tree a.k.a. Prefix > tree. > > Trie is the data container. It works just like a Collection. TriePrefix can > be used to limit searches to a common prefix. This way you can start doing > things way into the Trie and have to deal with less nodes. > > Since the commit adds lots of new code, I would like people to test it with > the attached project. I will also attach the expected output in a text file. > (JFTR: There are no memory errors/leaks with it on my system.) > > Also, Benoit: tell me what you think about the interface. I documented > everything in the source code (c_trie.c). > > For the adventurous, I attach a simplistic command line interpreter which > shows the major deal with tries: the ability to search through a set of > strings simultaneously and doing fast (!) auto-completion of input among a > number of strings. (NB: I haven't tested this project thoroughly.) > > Regards, > Tobi > > PS: Please take revision #6507 which already corrects a bug. > > [0] http://en.wikipedia.org/wiki/Radix_tree > > It's a shame that apparently "trie" is the usual name of that data structure, because it's not a true name, and nobody knows how to pronounce it (like "tree" or "try"?). The common "Radix tree" is better imho. But I'm far from being a tree specialist, so you will tell me. -- Beno?t Minisini From gambas at ...1... Wed Sep 24 01:58:49 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 24 Sep 2014 01:58:49 +0200 Subject: [Gambas-user] gb.data: Trie class In-Reply-To: <20140923194710.GC868@...2774...> References: <20140923194710.GC868@...2774...> Message-ID: <54220939.8080204@...1...> Le 23/09/2014 21:47, Tobias Boege a ?crit : > Also, Benoit: tell me what you think about the interface. I documented > everything in the source code (c_trie.c). > The interface seems perfect. It's just the name "Trie" that I find ugly. :-) Another point on the implementation: you should not use malloc(), free() and realloc(), but the functions provided by the interpreter API, i.e. GB.Alloc(), GB.Free() and GB.Realloc(). They are usually faster, especially if you allocate small chunks of data. Moreover, they can detect memory leaks by checking that every allocation has been freed at the end of the program. If you can compare with malloc() easily, don't hesitate not to trust me and check. :-) Regards, -- Beno?t Minisini From taboege at ...626... Wed Sep 24 09:47:00 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 24 Sep 2014 09:47:00 +0200 Subject: [Gambas-user] gb.data: Trie class In-Reply-To: <54220939.8080204@...1...> References: <20140923194710.GC868@...2774...> <54220939.8080204@...1...> Message-ID: <20140924074700.GD868@...2774...> On Wed, 24 Sep 2014, Beno?t Minisini wrote: > Le 23/09/2014 21:47, Tobias Boege a ?crit : > > Also, Benoit: tell me what you think about the interface. I documented > > everything in the source code (c_trie.c). > > > > The interface seems perfect. It's just the name "Trie" that I find ugly. :-) > I pronounce it like "try". RadixTree or PrefixTree would be options for the container -- nothing against that -- but what about the other class? RadixTreePrefix or even PrefixTreePrefix? :-) Naming it Patricia (from the acronym) would be fun but even more confusing, right? > Another point on the implementation: you should not use malloc(), free() > and realloc(), but the functions provided by the interpreter API, i.e. > GB.Alloc(), GB.Free() and GB.Realloc(). > > They are usually faster, especially if you allocate small chunks of data. > > Moreover, they can detect memory leaks by checking that every allocation > has been freed at the end of the program. > > If you can compare with malloc() easily, don't hesitate not to trust me > and check. :-) > The trie.c and trie.h are from another library I wrote. (That's why I double-tested the projects with valgrind.) It should not be a problem to convert the uses of malloc()/free() now. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Wed Sep 24 12:37:47 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 24 Sep 2014 10:37:47 +0000 Subject: [Gambas-user] Issue 563 in gambas: Add unit testing Message-ID: <0-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 563 by torredel... at ...626...: Add unit testing https://code.google.com/p/gambas/issues/detail?id=563 Add a system for performing unit testing, as the python doctest module, which makes it possible to put code into comments that can be run to check how you have been told https://docs.python.org/2/library/doctest.html -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Sep 24 13:18:02 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 24 Sep 2014 11:18:02 +0000 Subject: [Gambas-user] Issue 563 in gambas: Add unit testing In-Reply-To: <0-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Type-Bug -Priority-Medium Type-Enhancement Priority-Low Comment #1 on issue 563 by tabo... at ...626...: Add unit testing https://code.google.com/p/gambas/issues/detail?id=563 Before we get to unit tests from source code comments, we first need a unit test system at all! And if we do that, we might as well make it capable of more than running a single function. (For instance, what if you want to test methods of a class which only alter the object's state and not return a value; or if your function returns an object of which you want to examine multiple properties?) May I add to this feature request the following ideas (in the form of a TODO list) which came up recently at gambas-club.de: 1. Write a stand-alone unit test program for Gambas classes, which can read specifications from files; 2. Integrate that into the IDE (a new special directory in the project hierarchy would be nice to store unit test files for a project); 3. Add that doctest clone on top of that system. This looks like a longer-term project. IMHO a nice thing to have. Comments? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From willy at ...2734... Wed Sep 24 18:09:14 2014 From: willy at ...2734... (Willy Raets) Date: Wed, 24 Sep 2014 18:09:14 +0200 Subject: [Gambas-user] Request for implementation In-Reply-To: <5420BEE6.10900@...1...> References: <1411341623.3278.53.camel@...3024...> <5420BEE6.10900@...1...> Message-ID: <1411574954.3390.1.camel@...3024...> On di, 2014-09-23 at 02:29 +0200, Beno?t Minisini wrote: > Le 22/09/2014 01:20, Willy Raets a ?crit : > > Hi all, > > > > It would be nice if the translator in IDE could update some extra info > > in the translation files (.po) > > > > Example: > > #, 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 \n" > > "Language-Team: LANGUAGE \n" > > "MIME-Version: 1.0\n" > > "Content-Type: text/plain; charset=UTF-8\n" > > "Content-Transfer-Encoding: 8bit\n" > > > > Po-Revision-Date could be added when saving the translation as could > > Last Translator -> take name and mail from Packaging Preferences in IDE > > (if available) > > Or maybe this option should be a specific new Preference, as some maybe > > don;t want their name and mail in the po file. > > > > This way there is some kind of tracking on how recent or old > > translations are and someone to contact who has done the most recent > > translation, as it is simply added in the .po file. > > > > What do other Gambas translators or maybe soon to be translators think > > about this suggestion? > > > > I implemented that in revision #6503. > > The *.pot files header is updated by the compiler when its corresponding > class is compiled. > > The *.po files header is updated when the translation is saved to the > disk by the IDE translation dialog. > > Please report any problem! > > Regards, > I just tested the new feature and it works well See the nl.po file committed in rev.# 6508 for the result. Nice work. Thanks -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From karl.reinl at ...9... Wed Sep 24 19:56:48 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 24 Sep 2014 19:56:48 +0200 Subject: [Gambas-user] I like that new Open Project dialogue Message-ID: <1411581408.4045.4.camel@...40...> Salut Beno?t, this is really a big one, that new Open Project dialogue. I like it much, thanks. -- Amicalement Charlie From gambas at ...2524... Thu Sep 25 04:00:43 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 25 Sep 2014 02:00:43 +0000 Subject: [Gambas-user] Issue 563 in gambas: Add unit testing In-Reply-To: <1-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> <0-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15568449158494081632-gambas=googlecode.com@...2524...> Comment #2 on issue 563 by fabianfl... at ...626...: Add unit testing https://code.google.com/p/gambas/issues/detail?id=563 Not just a nice thing to have, but a needed thing. I used to do ad-hoc test, but then I wrote my own little and limited test framework (just a runner and a assert class), so have a well designed and fully capable unit test system would be a really useful and needed feature. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From eilert-sprachen at ...221... Thu Sep 25 09:05:22 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 25 Sep 2014 09:05:22 +0200 Subject: [Gambas-user] Trying how many pages before printing Message-ID: <5423BEB2.3090108@...221...> Hi folks, The only thing that keeps me from actually converting all my Gambas2 stuff into Gambas3 is the printing function. There are situations when you don't know how many pages you will end up with when starting to print. For instance, there are tables or longer texts which might be more than one page - or not. So it's necessary to figure out how many pages to print prior to start printing. In case of a simple line-by-line text or table, you can simply compute the space needed in advance. But in some cases, I have much more complex situations, and then it would be easiest to have a way to run a simple pre-print and count the pages. In those Gambas2 projects I mean, I have e. g. a printing function that runs in a DO LOOP. When printing reaches the end of the page, it simply opens a new page, jumps to the start position and continues printing there. How do you solve this for Gambas3? I thought, a simple way would be to order a single page, printing into a temporary pdf, and look if there is another page needed, order another one-page print, and so on. Counting each page, you produce only a one-page temporary pdf. Then you start the actual printing with the counted number of pages. Am I completely wrong here? Do you know a better/easier way? Thank you for any input! Rolf From dl7nb at ...17... Thu Sep 25 12:15:39 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Thu, 25 Sep 2014 12:15:39 +0200 Subject: [Gambas-user] Gambas3 on a banana pi? In-Reply-To: <5423BEB2.3090108@...221...> References: <5423BEB2.3090108@...221...> Message-ID: <5423EB4B.2080308@...17...> Hello, I try to get the latest Gambas 3.5.4 working on a banana pi. This little rascal works with a /ARM/-Cortex-A7-Dual-Core-CPU. When I install the Gambas3 in their original repo (Lbuntu from lemaker) I get version 3.1.1. This works, but it is not up to date. When I add the latest ppa: *ppa:gambas-team/gambas3 *I can not use it. After trying to install I get a lot of messages telling me that dependencies could not be solved. (All messages in german , so I do not add it here), Is this a known behaviour and what can I do???? btw: no problems on my PC with intel cpu.. Wolfgang From ualex73 at ...626... Thu Sep 25 13:05:16 2014 From: ualex73 at ...626... (Alexie) Date: Thu, 25 Sep 2014 13:05:16 +0200 Subject: [Gambas-user] Gambas3 on a banana pi? In-Reply-To: <5423EB4B.2080308@...17...> References: <5423BEB2.3090108@...221...> <5423EB4B.2080308@...17...> Message-ID: If you compile from scratch, following e.g. the Debian or Cubieboard instructions, does it work then? 2014-09-25 12:15 GMT+02:00 Wolfgang, dl7nb : > Hello, > > I try to get the latest Gambas 3.5.4 working on a banana pi. This little > rascal works with a /ARM/-Cortex-A7-Dual-Core-CPU. > When I install the Gambas3 in their original repo (Lbuntu from lemaker) > I get version 3.1.1. This works, but it is not up to date. > When I add the latest ppa: > > *ppa:gambas-team/gambas3 > > *I can not use it. After trying to install I get a lot of messages > telling me that dependencies could not be solved. (All messages in > german , so I do not add it here), > > Is this a known behaviour and what can I do???? > > btw: no problems on my PC with intel cpu.. > > > Wolfgang > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dl7nb at ...17... Thu Sep 25 13:37:21 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Thu, 25 Sep 2014 13:37:21 +0200 Subject: [Gambas-user] Gambas3 on a banana pi? In-Reply-To: References: <5423BEB2.3090108@...221...> <5423EB4B.2080308@...17...> Message-ID: <5423FE71.5070208@...17...> Hello Alexie! Never did that before. So this might then be the only way out. Well then Google will help on my new steps. Thank you for the fast answer. Wolfgang (It is a longer way from Windows to Linux than I thought... but its worth it!) Am 25.09.2014 um 13:05 schrieb Alexie: > If you compile from scratch, following e.g. the Debian or Cubieboard > instructions, does it work then? > > 2014-09-25 12:15 GMT+02:00 Wolfgang, dl7nb : > >> Hello, >> >> I try to get the latest Gambas 3.5.4 working on a banana pi. This little >> rascal works with a /ARM/-Cortex-A7-Dual-Core-CPU. >> When I install the Gambas3 in their original repo (Lbuntu from lemaker) >> I get version 3.1.1. This works, but it is not up to date. >> When I add the latest ppa: >> >> *ppa:gambas-team/gambas3 >> >> *I can not use it. After trying to install I get a lot of messages >> telling me that dependencies could not be solved. (All messages in >> german , so I do not add it here), >> >> Is this a known behaviour and what can I do???? >> >> btw: no problems on my PC with intel cpu.. >> >> >> Wolfgang >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Sep 25 14:30:28 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 25 Sep 2014 14:30:28 +0200 Subject: [Gambas-user] Gambas3 on a banana pi? In-Reply-To: <5423EB4B.2080308@...17...> References: <5423BEB2.3090108@...221...> <5423EB4B.2080308@...17...> Message-ID: <54240AE4.10609@...1...> Le 25/09/2014 12:15, Wolfgang, dl7nb a ?crit : > Hello, > > I try to get the latest Gambas 3.5.4 working on a banana pi. This little > rascal works with a /ARM/-Cortex-A7-Dual-Core-CPU. > When I install the Gambas3 in their original repo (Lbuntu from lemaker) > I get version 3.1.1. This works, but it is not up to date. > When I add the latest ppa: > > *ppa:gambas-team/gambas3 > > *I can not use it. After trying to install I get a lot of messages > telling me that dependencies could not be solved. (All messages in > german , so I do not add it here), > > Is this a known behaviour and what can I do???? > > btw: no problems on my PC with intel cpu.. > > > Wolfgang Please create a new message for a new topic. Don't answer a non-related topic! Regards, -- Beno?t Minisini From gambas at ...1... Thu Sep 25 14:33:18 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 25 Sep 2014 14:33:18 +0200 Subject: [Gambas-user] Trying how many pages before printing In-Reply-To: <5423BEB2.3090108@...221...> References: <5423BEB2.3090108@...221...> Message-ID: <54240B8E.3030705@...1...> Le 25/09/2014 09:05, Rolf-Werner Eilert a ?crit : > Hi folks, > > The only thing that keeps me from actually converting all my Gambas2 > stuff into Gambas3 is the printing function. There are situations when > you don't know how many pages you will end up with when starting to > print. For instance, there are tables or longer texts which might be > more than one page - or not. > > So it's necessary to figure out how many pages to print prior to start > printing. In case of a simple line-by-line text or table, you can simply > compute the space needed in advance. But in some cases, I have much more > complex situations, and then it would be easiest to have a way to run a > simple pre-print and count the pages. > > In those Gambas2 projects I mean, I have e. g. a printing function that > runs in a DO LOOP. When printing reaches the end of the page, it simply > opens a new page, jumps to the start position and continues printing there. > > How do you solve this for Gambas3? I thought, a simple way would be to > order a single page, printing into a temporary pdf, and look if there is > another page needed, order another one-page print, and so on. Counting > each page, you produce only a one-page temporary pdf. Then you start the > actual printing with the counted number of pages. > > Am I completely wrong here? Do you know a better/easier way? > > Thank you for any input! > > Rolf > You must know how many pages you have to print before printing, otherwise the user won't be able to see a preview, won't be able to print the pages it wants, and won't know if clicking on the print button will generate one page or one thousand. To know how many pages you have to print, you have to compute the layout of your printing. And yes, it may mean printing the things twice. One virtually to compute the number of pages, and one for real. Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Thu Sep 25 15:33:24 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 25 Sep 2014 15:33:24 +0200 Subject: [Gambas-user] Trying how many pages before printing In-Reply-To: <54240B8E.3030705@...1...> References: <5423BEB2.3090108@...221...> <54240B8E.3030705@...1...> Message-ID: <542419A4.3080000@...221...> Am 25.09.2014 14:33, schrieb Beno?t Minisini: > Le 25/09/2014 09:05, Rolf-Werner Eilert a ?crit : >> Hi folks, >> >> The only thing that keeps me from actually converting all my Gambas2 >> stuff into Gambas3 is the printing function. There are situations when >> you don't know how many pages you will end up with when starting to >> print. For instance, there are tables or longer texts which might be >> more than one page - or not. >> >> So it's necessary to figure out how many pages to print prior to start >> printing. In case of a simple line-by-line text or table, you can simply >> compute the space needed in advance. But in some cases, I have much more >> complex situations, and then it would be easiest to have a way to run a >> simple pre-print and count the pages. >> >> In those Gambas2 projects I mean, I have e. g. a printing function that >> runs in a DO LOOP. When printing reaches the end of the page, it simply >> opens a new page, jumps to the start position and continues printing there. >> >> How do you solve this for Gambas3? I thought, a simple way would be to >> order a single page, printing into a temporary pdf, and look if there is >> another page needed, order another one-page print, and so on. Counting >> each page, you produce only a one-page temporary pdf. Then you start the >> actual printing with the counted number of pages. >> >> Am I completely wrong here? Do you know a better/easier way? >> >> Thank you for any input! >> >> Rolf >> > > You must know how many pages you have to print before printing, > otherwise the user won't be able to see a preview, won't be able to > print the pages it wants, and won't know if clicking on the print button > will generate one page or one thousand. > > To know how many pages you have to print, you have to compute the layout > of your printing. And yes, it may mean printing the things twice. One > virtually to compute the number of pages, and one for real. > > Regards, > Ok, thank you Benoit for making that clear! I just wanted to know if I'm on the right way here. Regards Rolf From willy at ...2734... Fri Sep 26 00:07:59 2014 From: willy at ...2734... (Willy Raets) Date: Fri, 26 Sep 2014 00:07:59 +0200 Subject: [Gambas-user] Example: PhotoTouch gives error Message-ID: <1411682879.5172.4.camel@...3024...> During translation of the PhotoTouch example I wanted to run and see if translations are correct. I got an error thrown at me stating: gb.qt4: DrawingArea.Painted is depricated Do not use this anymore Time for an update I guess... ;) Using Gambas 3.5.90 (rev#6508) [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-36-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=LXDE Theme=QGtk Language=nl_NL.UTF-8 Memory=1002M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From ian.roper at ...1974... Fri Sep 26 11:32:04 2014 From: ian.roper at ...1974... (Ian) Date: Fri, 26 Sep 2014 17:32:04 +0800 Subject: [Gambas-user] [CRASH REPORT] any project type. Message-ID: <54253294.60307@...1974...> Greetings, If you create a breakpoint and highlight a variable of Type 'Result' you get a seg fault 11. If the break point is before the result contains a value then it returns NULL which is expected behaviour. Once the Result holds a value and you highlight it, the Gambas GUI gives the seg fault error. The GUI does not crash but will continue after the clicking OK on the error. Cheers, Ian Roper -------------- next part -------------- A non-text attachment was scrubbed... Name: Kingdom-0.0.1-crash-140926-172542.tar.bz2 Type: application/x-bzip Size: 770 bytes Desc: not available URL: From jussi.lahtinen at ...626... Fri Sep 26 14:27:56 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 26 Sep 2014 15:27:56 +0300 Subject: [Gambas-user] Session managment Message-ID: Revision 6392 introduced automatic session management. Not sure what it means, but I think it is reason why I see some of my programs having two instances after reboot, if I have not closed it before the reboot. So, how to handle this? Can I disable the session management with some code? Or do I need to write instance counter? Jussi From willy at ...2734... Fri Sep 26 17:00:14 2014 From: willy at ...2734... (Willy Raets) Date: Fri, 26 Sep 2014 17:00:14 +0200 Subject: [Gambas-user] Question on the .gitignore file Message-ID: <1411743614.3481.14.camel@...3024...> Hi, At work I have been playing with setting up a git repository on a server to have some version control on Gambas development. Now I have seen that the Gambas (trunk version) default makes a .gitignore file, witch is a very handy thing when working with git. I was wondering what is the use of ignoring the language .pot files (.lang/*.pot)? I mean if I'm working on a local clone (lets say AClone) of the main git repository on the server and I would add a new form, in a translatable project, a .pot file would be generated. These are to my understanding the .po template files. After an add and commit of working directory into origin (AClone on the local machine) and next pushing it to the server, it would ignore these .pot files. If someone (let say a translator) now clones the server to his local machine (lets say B), there would be no .pot file for the new form, so no template to translate. Could he do translations (in BClone)? Will the IDE generate a new .pot file the moment the translator (in BClone) would open the Translation form? If it does, I have no more questions and all is okay. If not the translator could not do translations for the new form and thus the .pot files should not be ignored in .gitignore Just wondering? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From ea7dfh at ...2382... Fri Sep 26 17:52:47 2014 From: ea7dfh at ...2382... (Jesus) Date: Fri, 26 Sep 2014 17:52:47 +0200 Subject: [Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore Message-ID: <54258BCF.3050005@...2382...> Hi Beno?t et all Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my setup. I have no idea when it started happening, sorry. Currently I'm using latest development version from 'gambas-team' PPA. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=XFCE Theme=QGtk Language=es_ES.UTF-8 Memory=16032M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Regards -- Jesus Guardon From gambas at ...1... Fri Sep 26 19:07:09 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 26 Sep 2014 19:07:09 +0200 Subject: [Gambas-user] Session managment In-Reply-To: References: Message-ID: <54259D3D.4010203@...1...> Le 26/09/2014 14:27, Jussi Lahtinen a ?crit : > Revision 6392 introduced automatic session management. Not sure what it > means, but I think it is reason why I see some of my programs having two > instances after reboot, if I have not closed it before the reboot. > > So, how to handle this? Can I disable the session management with some > code? Or do I need to write instance counter? > > > > Jussi Normally with your desktop, whatever it is, run all its applications through session manager, which is a program that register running application when you quit your desktop, and run them back when you come back. But it needs support from the application. Of course, if you one only one Gambas IDE window opened, you must have only one reopened, in the same state. If you have two, this is a bug. Session management can usually be disabled globally (at least in KDE, from its control center). I can't tell you more without more details. Regards, -- Beno?t Minisini From gambas at ...1... Fri Sep 26 19:09:53 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 26 Sep 2014 19:09:53 +0200 Subject: [Gambas-user] Question on the .gitignore file In-Reply-To: <1411743614.3481.14.camel@...3024...> References: <1411743614.3481.14.camel@...3024...> Message-ID: <54259DE1.2060007@...1...> Le 26/09/2014 17:00, Willy Raets a ?crit : > Hi, > > At work I have been playing with setting up a git repository on a server > to have some version control on Gambas development. > > Now I have seen that the Gambas (trunk version) default makes > a .gitignore file, witch is a very handy thing when working with git. > > I was wondering what is the use of ignoring the language .pot files > (.lang/*.pot)? > > I mean if I'm working on a local clone (lets say AClone) of the main git > repository on the server and I would add a new form, in a translatable > project, a .pot file would be generated. These are to my understanding > the .po template files. > > After an add and commit of working directory into origin (AClone on the > local machine) and next pushing it to the server, it would ignore > these .pot files. > > If someone (let say a translator) now clones the server to his local > machine (lets say B), there would be no .pot file for the new form, so > no template to translate. > Could he do translations (in BClone)? Will the IDE generate a new .pot > file the moment the translator (in BClone) would open the Translation > form? > > If it does, I have no more questions and all is okay. > > If not the translator could not do translations for the new form and > thus the .pot files should not be ignored in .gitignore > > Just wondering? > By principle, I don't put any file that is generated in subversion, git, or any version control system. Which is the case with *.pot files, that are generated by the compiler (with the bytecode files stored in the '.gambas' directory, that are not put into version control too). When you open the translation dialog, the project is compiled, so normally you should not have any problem. And you must not, so if you find something strange happening, tell me, it should be a bug. Regards, -- Beno?t Minisini From gambas at ...1... Fri Sep 26 19:10:32 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 26 Sep 2014 19:10:32 +0200 Subject: [Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore In-Reply-To: <54258BCF.3050005@...2382...> References: <54258BCF.3050005@...2382...> Message-ID: <54259E08.1000408@...1...> Le 26/09/2014 17:52, Jesus a ?crit : > Hi Beno?t et all > > Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my > setup. I have no idea when it started happening, sorry. Currently I'm > using latest development version from 'gambas-team' PPA. > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=XFCE > Theme=QGtk > Language=es_ES.UTF-8 > Memory=16032M > [Libraries] > Cairo=libcairo.so.0.0.0 > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Regards > Where should they supposed to work? -- Beno?t Minisini From willy at ...2734... Fri Sep 26 20:26:00 2014 From: willy at ...2734... (Willy Raets) Date: Fri, 26 Sep 2014 20:26:00 +0200 Subject: [Gambas-user] Question on the .gitignore file In-Reply-To: <54259DE1.2060007@...1...> References: <1411743614.3481.14.camel@...3024...> <54259DE1.2060007@...1...> Message-ID: <1411755960.3696.4.camel@...3024...> On vr, 2014-09-26 at 19:09 +0200, Beno?t Minisini wrote: > Le 26/09/2014 17:00, Willy Raets a ?crit : > > Hi, > > > > At work I have been playing with setting up a git repository on a server > > to have some version control on Gambas development. > > > > Now I have seen that the Gambas (trunk version) default makes > > a .gitignore file, witch is a very handy thing when working with git. > > > > I was wondering what is the use of ignoring the language .pot files > > (.lang/*.pot)? > > > > I mean if I'm working on a local clone (lets say AClone) of the main git > > repository on the server and I would add a new form, in a translatable > > project, a .pot file would be generated. These are to my understanding > > the .po template files. > > > > After an add and commit of working directory into origin (AClone on the > > local machine) and next pushing it to the server, it would ignore > > these .pot files. > > > > If someone (let say a translator) now clones the server to his local > > machine (lets say B), there would be no .pot file for the new form, so > > no template to translate. > > Could he do translations (in BClone)? Will the IDE generate a new .pot > > file the moment the translator (in BClone) would open the Translation > > form? > > > > If it does, I have no more questions and all is okay. > > > > If not the translator could not do translations for the new form and > > thus the .pot files should not be ignored in .gitignore > > > > Just wondering? > > > > By principle, I don't put any file that is generated in subversion, git, > or any version control system. Which is the case with *.pot files, that > are generated by the compiler (with the bytecode files stored in the > '.gambas' directory, that are not put into version control too). Okay, if the .pot files are generated by compiler then they are there when needed and all should be okay. > > When you open the translation dialog, the project is compiled, so > normally you should not have any problem. And you must not, so if you > find something strange happening, tell me, it should be a bug. I haven't encountered anything strange and after this explanation I'm not expecting anything strange. But if I do, I'll of course report it back. Thanks for explaining. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From jussi.lahtinen at ...626... Fri Sep 26 20:33:23 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 26 Sep 2014 21:33:23 +0300 Subject: [Gambas-user] Session managment In-Reply-To: <54259D3D.4010203@...1...> References: <54259D3D.4010203@...1...> Message-ID: > Normally with your desktop, whatever it is, run all its applications > through session manager, which is a program that register running > application when you quit your desktop, and run them back when you come > back. > > But it needs support from the application. > What you mean by support from the application? That it is automatically supported for all Gambas applications? > Of course, if you one only one Gambas IDE window opened, you must have > only one reopened, in the same state. If you have two, this is a bug. > There are two instances of my program, I think one is from startup script, and other is from session manager. Session management can usually be disabled globally (at least in KDE, > from its control center). > My desktop is Xfce and I have disabled option "automatically save session on logout". Jussi From epost at ...3323... Fri Sep 26 23:40:55 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Fri, 26 Sep 2014 23:40:55 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <5414C1C3.9040904@...3323...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> <5414765C.8010401@...1...> <541477A5.2070208@...3323...> <5414C1C3.9040904@...3323...> Message-ID: <5425DD67.6090501@...3323...> Den 14. sep. 2014 00:14, skrev J?rn Erik M?rne: > Den 13. sep. 2014 18:58, skrev J?rn Erik M?rne: >> Den 13. sep. 2014 18:52, skrev Beno?t Minisini: >>> Le 13/09/2014 18:42, J?rn Erik M?rne a ?crit : >>>> Den 12. sep. 2014 23:19, skrev J?rn Erik M?rne: >>>>> Hello Beno?t! >>>>> >>>>> If I drop a TrayIcon on my FMain and set Visible = True, there's an >>>>> error saying: "Unable to find system tray". >>>>> >>>>> >>>>> [System] >>>>> Gambas=3.5.90 >>>>> OperatingSystem=Linux >>>>> Kernel=3.15.10-1-MANJARO >>>>> Architecture=x86_64 >>>>> Distribution=Manjaro Linux >>>>> Desktop=KDE4 >>>>> Theme=QtCurve >>>>> Language=nb_NO.UTF-8 >>>>> Memory=9902M >>>>> [Libraries] >>>>> Cairo=libcairo.so.2.11200.16 >>>>> Curl=libcurl.so.4.3.0 >>>>> DBus=libdbus-1.so.3.8.6 >>>>> GStreamer=libgstreamer-0.10.so.0.30.0 >>>>> GStreamer=libgstreamer-1.0.so.0.401.0 >>>>> GTK+3=libgtk-3.so.0.1200.2 >>>>> GTK+=libgtk-x11-2.0.so.0.2400.24 >>>>> OpenGL=libGL.so.1.2.0 >>>>> Poppler=libpoppler.so.46.0.0 >>>>> Qt4=libQtCore.so.4.8.6 >>>>> SDL=libSDL-1.2.so.0.11.4 >>>> I also tried the SystemTray example, and all I get is a window with a >>>> yellow box... nothing happens when I resize it. If I haven't done >>>> anything wrong, it seems Gambas cannot connect to my system tray? >>>> >>> Please send your project. "Unable to find system tray" means that Qt was >>> unable to find it. But it never happened here with KDE4. >>> >>> Regards, >>> >> It's attached > I just tested this in Ubuntu 14.04 and here it runs without error, but > there's no icon added to the tray, and when I close the window, Gambas > "believes" it is still runnung, so I need to use stop... Any news about this? From gambas at ...1... Fri Sep 26 23:53:11 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 26 Sep 2014 23:53:11 +0200 Subject: [Gambas-user] Example: PhotoTouch gives error In-Reply-To: <1411682879.5172.4.camel@...3024...> References: <1411682879.5172.4.camel@...3024...> Message-ID: <5425E047.2040306@...1...> Le 26/09/2014 00:07, Willy Raets a ?crit : > During translation of the PhotoTouch example I wanted to run and see if > translations are correct. > > I got an error thrown at me stating: > gb.qt4: DrawingArea.Painted is depricated Do not use this anymore > > Time for an update I guess... ;) > Fixed in revision #6512. Regards, -- Beno?t Minisini From gambas at ...1... Fri Sep 26 23:53:31 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 26 Sep 2014 23:53:31 +0200 Subject: [Gambas-user] [CRASH REPORT] any project type. In-Reply-To: <54253294.60307@...1974...> References: <54253294.60307@...1974...> Message-ID: <5425E05B.9060504@...1...> Le 26/09/2014 11:32, Ian a ?crit : > Greetings, > > > If you create a breakpoint and highlight a variable of Type 'Result' you > get a seg fault 11. > > If the break point is before the result contains a value then it returns > NULL which is expected behaviour. > Once the Result holds a value and you highlight it, the Gambas GUI gives > the seg fault error. > The GUI does not crash but will continue after the clicking OK on the > error. > > > Cheers, > Ian Roper > Fixed in revision #6512. Regards, -- Beno?t Minisini From gambas at ...1... Fri Sep 26 23:57:25 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 26 Sep 2014 23:57:25 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <5425DD67.6090501@...3323...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> <5414765C.8010401@...1...> <541477A5.2070208@...3323...> <5414C1C3.9040904@...3323...> <5425DD67.6090501@...3323...> Message-ID: <5425E145.6010600@...1...> Le 26/09/2014 23:40, J?rn Erik M?rne a ?crit : >>> It's attached >> I just tested this in Ubuntu 14.04 and here it runs without error, but >> there's no icon added to the tray, and when I close the window, Gambas >> "believes" it is still runnung, so I need to use stop... > > Any news about this? > Well, it works as expected in KDE4 at least. And the TrayIcons are managed indepently, so if you close the windows, the trayicon keeps running (it is not owned by the window). You must explicitely close (i.e hide) the trayicon too to quit the application. Are you sure that you have the system tray plasma widget in your panel? -- Beno?t Minisini From epost at ...3323... Sat Sep 27 00:15:15 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Sat, 27 Sep 2014 00:15:15 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <5425E145.6010600@...1...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> <5414765C.8010401@...1...> <541477A5.2070208@...3323...> <5414C1C3.9040904@...3323...> <5425DD67.6090501@...3323...> <5425E145.6010600@...1...> Message-ID: <5425E573.2000702@...3323...> Den 26. sep. 2014 23:57, skrev Beno?t Minisini: > Le 26/09/2014 23:40, J?rn Erik M?rne a ?crit : >>>> It's attached >>> I just tested this in Ubuntu 14.04 and here it runs without error, but >>> there's no icon added to the tray, and when I close the window, Gambas >>> "believes" it is still runnung, so I need to use stop... >> Any news about this? >> > Well, it works as expected in KDE4 at least. And the TrayIcons are > managed indepently, so if you close the windows, the trayicon keeps > running (it is not owned by the window). You must explicitely close (i.e > hide) the trayicon too to quit the application. > > Are you sure that you have the system tray plasma widget in your panel? > I believed I had reported back that the KDE for some reason unbeknownst to me just happened to work as expected here too. However, in Ubuntu, there's no icon in tray... This is my code: Public Sub Form_Open() TrayIcon1.Picture = Picture["icon:/16/access"] TrayIcon1.Show() End Public Sub Form_Close() TrayIcon1.Hide() End Closing now works too with the .Hide() implemented :) From jockerfox at ...626... Sat Sep 27 18:38:58 2014 From: jockerfox at ...626... (jockerfox) Date: Sat, 27 Sep 2014 18:38:58 +0200 Subject: [Gambas-user] Gambas ready for Ubuntu Phone? Message-ID: <5426E822.6040400@...626...> Hi to all, is possible to run gambas project on ubutu phone ? From gambas at ...1... Sat Sep 27 18:48:34 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 27 Sep 2014 18:48:34 +0200 Subject: [Gambas-user] Gambas ready for Ubuntu Phone? In-Reply-To: <5426E822.6040400@...626...> References: <5426E822.6040400@...626...> Message-ID: <5426EA62.30509@...1...> Le 27/09/2014 18:38, jockerfox a ?crit : > Hi to all, > is possible to run gambas project on ubutu phone ? > No idea. Try and tell us. :-) -- Beno?t Minisini From rmorgan62 at ...626... Sat Sep 27 19:20:01 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 27 Sep 2014 10:20:01 -0700 Subject: [Gambas-user] Gambas ready for Ubuntu Phone? In-Reply-To: <5426EA62.30509@...1...> References: <5426E822.6040400@...626...> <5426EA62.30509@...1...> Message-ID: Try Gambas compiled for Arm. I've been told it can be made to run on Android. But I haven't tried it myself. On Sat, Sep 27, 2014 at 9:48 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 27/09/2014 18:38, jockerfox a ?crit : > > Hi to all, > > is possible to run gambas project on ubutu phone ? > > > > No idea. Try and tell us. :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From chrisml at ...3340... Sun Sep 28 13:17:38 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 28 Sep 2014 13:17:38 +0200 Subject: [Gambas-user] Auto comments in DEV Version Message-ID: <5427EE52.2030206@...3340...> Hi, yesterday I installed the dev version of Gambas from Launchpad. Now I see that auto-commenting (don't know the correct name of that feature) doesn't work any more. That means if I'm writing a comment and press the next line isn't commented out, as it was before. Is there a setting for that? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Sun Sep 28 13:21:19 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 28 Sep 2014 13:21:19 +0200 Subject: [Gambas-user] Auto comments in DEV Version In-Reply-To: <5427EE52.2030206@...3340...> References: <5427EE52.2030206@...3340...> Message-ID: <5427EF2F.8040100@...1...> Le 28/09/2014 13:17, Christof Thalhofer a ?crit : > Hi, > > yesterday I installed the dev version of Gambas from Launchpad. Now I > see that auto-commenting (don't know the correct name of that feature) > doesn't work any more. That means if I'm writing a comment and press > the next line isn't commented out, as it was before. > > Is there a setting for that? > > Alles Gute > > Christof Thalhofer > Now you must press SHIFT+ENTER for auto-comments. Regards, -- Beno?t Minisini From chrisml at ...3340... Sun Sep 28 14:33:15 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 28 Sep 2014 14:33:15 +0200 Subject: [Gambas-user] Auto comments in DEV Version In-Reply-To: <5427EF2F.8040100@...1...> (sfid-) References: <5427EE52.2030206@...3340...> <5427EF2F.8040100@...1...> (sfid-) Message-ID: <5428000B.6090802@...3340...> Am 28.09.2014 um 13:21 schrieb Beno?t Minisini: > Now you must press SHIFT+ENTER for auto-comments. Okay, thank you. Have a nice sunday afternoon! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From ea7dfh at ...2382... Sun Sep 28 21:59:10 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 28 Sep 2014 21:59:10 +0200 Subject: [Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore In-Reply-To: <54259E08.1000408@...1...> References: <54258BCF.3050005@...2382...> <54259E08.1000408@...1...> Message-ID: <5428688E.2090501@...2382...> El 26/09/14 a las #4, Beno?t Minisini escribi?: > Le 26/09/2014 17:52, Jesus a ?crit : >> Hi Beno?t et all >> >> Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my >> setup. I have no idea when it started happening, sorry. Currently I'm >> using latest development version from 'gambas-team' PPA. >> >> > > Where should they supposed to work? > In the text editor. I remember this worked in the past. You were able to zoom in/out the text (size) in the code editor, right? Regards -- Jesus Guardon From gambas at ...1... Mon Sep 29 00:58:21 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 29 Sep 2014 00:58:21 +0200 Subject: [Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore In-Reply-To: <5428688E.2090501@...2382...> References: <54258BCF.3050005@...2382...> <54259E08.1000408@...1...> <5428688E.2090501@...2382...> Message-ID: <5428928D.5000209@...1...> Le 28/09/2014 21:59, Jesus a ?crit : > El 26/09/14 a las #4, Beno?t Minisini escribi?: >> Le 26/09/2014 17:52, Jesus a ?crit : >>> Hi Beno?t et all >>> >>> Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my >>> setup. I have no idea when it started happening, sorry. Currently I'm >>> using latest development version from 'gambas-team' PPA. >>> >>> >> >> Where should they supposed to work? >> > > In the text editor. I remember this worked in the past. You were able to > zoom in/out the text (size) in the code editor, right? > > Regards > Strange... I'm sure I have never implemented such a feature! -- Beno?t Minisini From cybercamera at ...626... Mon Sep 29 02:40:20 2014 From: cybercamera at ...626... (Cam Era) Date: Mon, 29 Sep 2014 10:40:20 +1000 Subject: [Gambas-user] Gambas ready for Ubuntu Phone? In-Reply-To: References: <5426E822.6040400@...626...> <5426EA62.30509@...1...> Message-ID: jockerfox, I'll be interested to hear how you go with this, On Sun, Sep 28, 2014 at 3:20 AM, Randall Morgan wrote: > Try Gambas compiled for Arm. I've been told it can be made to run on > Android. But I haven't tried it myself. > > On Sat, Sep 27, 2014 at 9:48 AM, Beno?t Minisini < > gambas at ...1...> wrote: > > > Le 27/09/2014 18:38, jockerfox a ?crit : > > > Hi to all, > > > is possible to run gambas project on ubutu phone ? > > > > > > > No idea. Try and tell us. :-) > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Sep 29 13:48:55 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 29 Sep 2014 11:48:55 +0000 Subject: [Gambas-user] Issue 564 in gambas: gambas3 doesn't build with llvm-3.5 [PATCH] Message-ID: <0-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.5.0 Type-Review Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 564 by costamag... at ...626...: gambas3 doesn't build with llvm-3.5 [PATCH] https://code.google.com/p/gambas/issues/detail?id=564 llvm-3.5 changed some headers files location, leading to a fail to build from source https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763238 This patch makes gambas jit build correctly on debian with newer llvm-3.5, and should maintain retrocompatibility with olders llvm. --- a/gb.jit/configure.ac +++ b/gb.jit/configure.ac @@ -25,7 +25,7 @@ GB_COMPONENT( jit, JIT, gb.jit, [src], - [GB_FIND(llvm/AutoUpgrade.h llvm-c/Core.h, /usr/lib/llvm* /usr/local/lib /usr/local /usr/lib /usr `$LLVM_CONFIG --prefix`, include)], + [GB_FIND(AutoUpgrade.h llvm-c/Core.h, /usr/lib/llvm* /usr/local/lib /usr/local /usr/lib /usr `$LLVM_CONFIG --prefix`, include include/llvm include/llvm/IR)], [GB_FIND(libLLVM-$LLVM_VERSION.$SHLIBEXT, /usr/lib/llvm* /usr/local /usr `$LLVM_CONFIG --prefix`, lib)], [$C_LIB `$LLVM_CONFIG --ldflags` -lLLVM-$LLVM_VERSION], [-I../../main/gbx -I../../main/share -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS]) --- a/gb.jit/src/jit.h +++ b/gb.jit/src/jit.h @@ -42,7 +42,13 @@ #include "llvm/Intrinsics.h" #include "llvm/Instructions.h" #endif +#if (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 5) +#include "llvm/IR/Verifier.h" +#include "llvm/IR/CFG.h" +#else #include "llvm/Analysis/Verifier.h" +#include "llvm/Support/CFG.h" +#endif #include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/ExecutionEngine/GenericValue.h" @@ -57,7 +63,6 @@ #include "llvm/Support/IRBuilder.h" #endif #include "llvm/Support/DynamicLibrary.h" -#include "llvm/Support/CFG.h" #include "llvm/PassManager.h" #include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/IPO/PassManagerBuilder.h" -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Sep 29 13:59:38 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 29 Sep 2014 11:59:38 +0000 Subject: [Gambas-user] Issue 564 in gambas: gambas3 doesn't build with llvm-3.5 [PATCH] In-Reply-To: <0-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 564 by benoit.m... at ...626...: gambas3 doesn't build with llvm-3.5 [PATCH] https://code.google.com/p/gambas/issues/detail?id=564 Thanks, I will try it! It amazes me that such a project is unable to be installed with different versions on the same system *and* is unable to ensure backward-compatibility. You should at least have one of both! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Sep 29 14:23:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 29 Sep 2014 12:23:53 +0000 Subject: [Gambas-user] Issue 564 in gambas: gambas3 doesn't build with llvm-3.5 [PATCH] In-Reply-To: <1-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> <0-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 564 by benoit.m... at ...626...: gambas3 doesn't build with llvm-3.5 [PATCH] https://code.google.com/p/gambas/issues/detail?id=564 The 'configure.ac' patch didn't work. Here is what I did: GB_COMPONENT( jit, JIT, gb.jit, [src], - [GB_FIND(llvm/AutoUpgrade.h llvm-c/Core.h, /usr/lib/llvm* /usr/local/lib /usr/local /usr/lib /usr `$LLVM_CONFIG --prefix`, include)], + [GB_FIND(llvm/Config/llvm-config.h llvm-c/Core.h, /usr/lib/llvm* /usr/local/lib /usr/local /usr/lib /usr `$LLVM_CONFIG --prefix`, include)], [GB_FIND(libLLVM-$LLVM_VERSION.$SHLIBEXT, /usr/lib/llvm* /usr/local /usr `$LLVM_CONFIG --prefix`, lib)], [$C_LIB `$LLVM_CONFIG --ldflags` -lLLVM-$LLVM_VERSION], [-I../../main/gbx -I../../main/share -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS]) It has been committed in revision #6516. Tell me if it fixes the compilation with llvm 3.5, and I will close the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Sep 29 15:20:24 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 29 Sep 2014 13:20:24 +0000 Subject: [Gambas-user] Issue 564 in gambas: gambas3 doesn't build with llvm-3.5 [PATCH] In-Reply-To: <2-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> <0-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-15166494104811778626-gambas=googlecode.com@...2524...> Comment #3 on issue 564 by costamag... at ...626...: gambas3 doesn't build with llvm-3.5 [PATCH] https://code.google.com/p/gambas/issues/detail?id=564 yes, it is fixed, right :) thanks! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From lists at ...2828... Tue Sep 30 10:45:32 2014 From: lists at ...2828... (CJ) Date: Tue, 30 Sep 2014 10:45:32 +0200 Subject: [Gambas-user] Gambas ready for Ubuntu Phone? In-Reply-To: Message-ID: <000001cfdc8a$e7c70090$0f00a8c0@...2829...> > jockerfox, > > I'll be interested to hear how you go with this, Same here! If you need compiled files for Debian ARMEL just let me know. It would be quite easy to do a first test by copying the run time and run a simple "Hello World". /CJ From eilert-sprachen at ...221... Tue Sep 30 10:59:36 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 30 Sep 2014 10:59:36 +0200 Subject: [Gambas-user] TextArea Pop-up Menu on right click Message-ID: <542A70F8.50908@...221...> Hi, TextArea produces a pop-up menu when right-clicking on it. What can I do to get rid of this behavious, i. e. when I do not want the user to be able to manipulate the text via the pop-up menu? Thanks for your ideas! Rolf From eilert-sprachen at ...221... Tue Sep 30 11:41:08 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 30 Sep 2014 11:41:08 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu Message-ID: <542A7AB4.8000605@...221...> I tried to set the PopUpMenu property in the IDE to the (one and only) menu "mnDatei" in the project. Suddenly I get this error: This application has raised an unexpected error and must abort. Unable to load image. CFamily.DrawIcon.258 and the IDE crashes each time I go into the Form editor. As long as I stay in the source editor, Gambas keeps running. To restore the setting, I edited Form1.form and changed {TextArea1 TextArea . . PopupMenu = "" So, it's running again, but what would you have done? Thank you for helping Rolf From bbruen at ...2308... Tue Sep 30 15:10:05 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 30 Sep 2014 22:40:05 +0930 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542A70F8.50908@...221...> References: <542A70F8.50908@...221...> Message-ID: <20140930224005.f80431aced162daf5767cd4f@...2308...> On Tue, 30 Sep 2014 10:59:36 +0200 Rolf-Werner Eilert wrote: > Hi, > > TextArea produces a pop-up menu when right-clicking on it. What can I do > to get rid of this behavious, i. e. when I do not want the user to be > able to manipulate the text via the pop-up menu? > > Thanks for your ideas! > > Rolf > > Something like Public Sub Form_Open() TextArea1.PopupMenu = "mnuDummy" End (where mnuDummy does not exist) seems to work hth B -- B Bruen From gambas at ...1... Tue Sep 30 15:28:09 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 30 Sep 2014 15:28:09 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <542A7AB4.8000605@...221...> References: <542A7AB4.8000605@...221...> Message-ID: <542AAFE9.6040808@...1...> Le 30/09/2014 11:41, Rolf-Werner Eilert a ?crit : > I tried to set the PopUpMenu property in the IDE to the (one and only) > menu "mnDatei" in the project. Suddenly I get this error: > > This application has raised an unexpected > error and must abort. > > Unable to load image. > CFamily.DrawIcon.258 > > and the IDE crashes each time I go into the Form editor. As long as I > stay in the source editor, Gambas keeps running. > > To restore the setting, I edited Form1.form and changed > > {TextArea1 TextArea > . > . > PopupMenu = "" > > So, it's running again, but what would you have done? > > Thank you for helping > > Rolf > I cannot reproduce that. Please send your project in the "crashing" state. Regards, -- Beno?t Minisini From gambas at ...1... Tue Sep 30 15:29:05 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 30 Sep 2014 15:29:05 +0200 Subject: [Gambas-user] TextArea Pop-up Menu on right click In-Reply-To: <542A70F8.50908@...221...> References: <542A70F8.50908@...221...> Message-ID: <542AB021.7090107@...1...> Le 30/09/2014 10:59, Rolf-Werner Eilert a ?crit : > Hi, > > TextArea produces a pop-up menu when right-clicking on it. What can I do > to get rid of this behavious, i. e. when I do not want the user to be > able to manipulate the text via the pop-up menu? > > Thanks for your ideas! > > Rolf > Either set the "PopupMenu" property, or implement the "Menu" event handler. Regards, -- Beno?t Minisini From taboege at ...626... Tue Sep 30 16:07:18 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 30 Sep 2014 16:07:18 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <542A7AB4.8000605@...221...> References: <542A7AB4.8000605@...221...> Message-ID: <20140930140718.GA1292@...2774...> On Tue, 30 Sep 2014, Rolf-Werner Eilert wrote: > I tried to set the PopUpMenu property in the IDE to the (one and only) > menu "mnDatei" in the project. Suddenly I get this error: > > This application has raised an unexpected > error and must abort. > > Unable to load image. > CFamily.DrawIcon.258 > > and the IDE crashes each time I go into the Form editor. As long as I > stay in the source editor, Gambas keeps running. > > To restore the setting, I edited Form1.form and changed > > {TextArea1 TextArea > . > . > PopupMenu = "" > > So, it's running again, but what would you have done? > I know this error, too (had it 2 or 3 times), and I fixed it exactly as you did. But I could never reproduce any of the occurences, sadly... -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Sep 30 16:11:17 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 30 Sep 2014 16:11:17 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <20140930140718.GA1292@...2774...> References: <542A7AB4.8000605@...221...> <20140930140718.GA1292@...2774...> Message-ID: <20140930141117.GB1292@...2774...> On Tue, 30 Sep 2014, Tobias Boege wrote: > On Tue, 30 Sep 2014, Rolf-Werner Eilert wrote: > > I tried to set the PopUpMenu property in the IDE to the (one and only) > > menu "mnDatei" in the project. Suddenly I get this error: > > > > This application has raised an unexpected > > error and must abort. > > > > Unable to load image. > > CFamily.DrawIcon.258 > > > > and the IDE crashes each time I go into the Form editor. As long as I > > stay in the source editor, Gambas keeps running. > > > > To restore the setting, I edited Form1.form and changed > > > > {TextArea1 TextArea > > . > > . > > PopupMenu = "" > > > > So, it's running again, but what would you have done? > > > > I know this error, too (had it 2 or 3 times), and I fixed it exactly as you > did. But I could never reproduce any of the occurences, sadly... > Also, my errors likely weren't related to menus. I don't normally touch the menu editor. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From eilert-sprachen at ...221... Tue Sep 30 16:42:19 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 30 Sep 2014 16:42:19 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <20140930141117.GB1292@...2774...> References: <542A7AB4.8000605@...221...> <20140930140718.GA1292@...2774...> <20140930141117.GB1292@...2774...> Message-ID: <542AC14B.1080501@...221...> Am 30.09.2014 16:11, schrieb Tobias Boege: > On Tue, 30 Sep 2014, Tobias Boege wrote: >> On Tue, 30 Sep 2014, Rolf-Werner Eilert wrote: >>> I tried to set the PopUpMenu property in the IDE to the (one and only) >>> menu "mnDatei" in the project. Suddenly I get this error: >>> >>> This application has raised an unexpected >>> error and must abort. >>> >>> Unable to load image. >>> CFamily.DrawIcon.258 >>> >>> and the IDE crashes each time I go into the Form editor. As long as I >>> stay in the source editor, Gambas keeps running. >>> >>> To restore the setting, I edited Form1.form and changed >>> >>> {TextArea1 TextArea >>> . >>> . >>> PopupMenu = "" >>> >>> So, it's running again, but what would you have done? >>> >> >> I know this error, too (had it 2 or 3 times), and I fixed it exactly as you >> did. But I could never reproduce any of the occurences, sadly... >> > > Also, my errors likely weren't related to menus. I don't normally touch the > menu editor. > Yes you seem to be right here! Although the PopupMenu property has been changed, it still crashes. I tried around with it a bit and found that when I go with the mouse over a certain point in the form, it crashes. Well, that maybe random, but it might point to the reason at least. I attach the project. When you load it, you will land in the source editor. Switch to Form1.form. Nothing should happen at once. When you hover with the mouse over the form at about the point where the LCD zero is, the error occurs. Obviously, the form editor looks for an icon it has to show here... Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: MSyb-0.0.57.tar.gz Type: application/x-gzip Size: 36903 bytes Desc: not available URL: From eilert-sprachen at ...221... Tue Sep 30 16:43:15 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 30 Sep 2014 16:43:15 +0200 Subject: [Gambas-user] Strange error after switching PopUpMenu In-Reply-To: <542AAFE9.6040808@...1...> References: <542A7AB4.8000605@...221...> <542AAFE9.6040808@...1...> Message-ID: <542AC183.2040903@...221...> Am 30.09.2014 15:28, schrieb Beno?t Minisini: > Le 30/09/2014 11:41, Rolf-Werner Eilert a ?crit : >> I tried to set the PopUpMenu property in the IDE to the (one and only) >> menu "mnDatei" in the project. Suddenly I get this error: >> >> This application has raised an unexpected >> error and must abort. >> >> Unable to load image. >> CFamily.DrawIcon.258 >> >> and the IDE crashes each time I go into the Form editor. As long as I >> stay in the source editor, Gambas keeps running. >> >> To restore the setting, I edited Form1.form and changed >> >> {TextArea1 TextArea >> . >> . >> PopupMenu = "" >> >> So, it's running again, but what would you have done? >> >> Thank you for helping >> >> Rolf >> > > I cannot reproduce that. Please send your project in the "crashing" state. > > Regards, > I answered to a mail of Tobias and attached it there. Did it reach you, or was it blocked by the list? Regards Rolf From gambas at ...1... Tue Sep 30 18:07:56 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 30 Sep 2014 18:07:56 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <542AD442.4030702@...3323...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> <5414765C.8010401@...1...> <541477A5.2070208@...3323...> <5414C1C3.9040904@...3323...> <5425DD67.6090501@...3323...> <5425E145.6010600@...1...> <5425E573.2000702@...3323...> <542609ED.2070308@...1...> <542ABC66.60902@...1...> <542AD442.4030702@...3323...> Message-ID: <542AD55C.4080003@...1...> Le 30/09/2014 18:03, J?rn Erik M?rne a ?crit : >> Maybe I guess what you meant: trayicons do not display in the Ubuntu >> Unity desktop? >> >> Ubuntu decided to drop support for tray icons because they don't care >> anymore, this is the past, get rid of the past, break applications, >> welcome to the new indicator protocols with all documentation links >> poiting at error 404 pages. All other desktops keep supporting tray >> icons, even Gnome! >> >> So I have no immediate solution for that. I just have to implement the >> new protocol. But I must find where they put the documentation on the >> internet (if they did). Otherwise I have to deep into KDE source code >> to understand it (they implemented the protocol for KDE apps, but not >> for Qt yet). >> >> Regards, >> > To me I always thought Ubuntu was synonymous with Unity, and other DEs > was Kubuntu, Xubuntu, Ubuntu Gnome, ... > This is maybe what they want you to think. :-) -- Beno?t Minisini From epost at ...3323... Tue Sep 30 18:09:40 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Tue, 30 Sep 2014 18:09:40 +0200 Subject: [Gambas-user] TrayIcon error In-Reply-To: <542AD55C.4080003@...1...> References: <11-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <0-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <12-6813199134517018827-13382408978934772771-gambas=googlecode.com@...2524...> <54136365.4030909@...3323...> <5414740C.3080709@...3323...> <5414765C.8010401@...1...> <541477A5.2070208@...3323...> <5414C1C3.9040904@...3323...> <5425DD67.6090501@...3323...> <5425E145.6010600@...1...> <5425E573.2000702@...3323...> <542609ED.2070308@...1...> <542ABC66.60902@...1...> <542AD442.4030702@...3323...> <542AD55C.4080003@...1...> Message-ID: <542AD5C4.8020108@...3323...> Den 30. sep. 2014 18:07, skrev Beno?t Minisini: > Le 30/09/2014 18:03, J?rn Erik M?rne a ?crit : >>> Maybe I guess what you meant: trayicons do not display in the Ubuntu >>> Unity desktop? >>> >>> Ubuntu decided to drop support for tray icons because they don't care >>> anymore, this is the past, get rid of the past, break applications, >>> welcome to the new indicator protocols with all documentation links >>> poiting at error 404 pages. All other desktops keep supporting tray >>> icons, even Gnome! >>> >>> So I have no immediate solution for that. I just have to implement the >>> new protocol. But I must find where they put the documentation on the >>> internet (if they did). Otherwise I have to deep into KDE source code >>> to understand it (they implemented the protocol for KDE apps, but not >>> for Qt yet). >>> >>> Regards, >>> >> To me I always thought Ubuntu was synonymous with Unity, and other DEs >> was Kubuntu, Xubuntu, Ubuntu Gnome, ... >> > > This is maybe what they want you to think. :-) > Haha, perhaps :)