Re: [Gambas-user] Gambas not starting
Hello, Could you say to us witch distribution you use (because there are many) and how did you install Gambas packages please ? Olivier > Le 10 nov. 2017 à 17:06, Jussi Lahtinena écrit : > > Open terminal and type in gambas3. There should be some error message. > > > Jussi > > On Fri, Nov 10, 2017 at 8:14 PM, Bruce Cunningham > wrote: > >> Hello, >> >> Are there any logs that could help me troubleshoot why Gambas will not >> start? I installed it on an ARM based single board computer (like a >> Raspberry Pi) running Debian Wheezy. It looks like it installed correctly, >> but will not start. >> >> Should I try to build it from source? I'm not a strong Linux guy, but I >> could give it a try? >> >> Bruce >> >> >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Benoit
Salut, Oui pas de soucis. — Olivier Cruilles Email: olivier.cruil...@yahoo.fr Le August 28, 2017 à 09:28:53, Fabien Bodard (gambas...@gmail.com) a écrit: Tu reçois mes mails direct ? -- Fabien Bodard -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Question about webForm object
Benoit, I’m playing with webForm object for a new project and I try to render a FormWeb over a module ‘Main’ executed as startup rather than define the FormWeb as default startup object. Example: Module Main ' Gambas module file Public Sub Main() ‘ Some functions executed here ‘ before Render the FormWeb ‘ == > Ex: ModTrans.Creation_List_Langue() ‘ Render the FormWeb FormWebMain.Render() End It works using Main module but the render is not exactly the same than when the FormWeb is defined as default startup. For example, the contraints in the web page are not applied using Main module but work fine when FormWeb start directly. So, is it possible to render a FormWeb using .Render() property or it’s a bad idea ? Thank you for the answer. — Olivier Cruilles -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Looking for hyphenation library for gambas
Hello Fernando, You can take a look at my project available for download in server farm of Gambas, named gbDocEditor. Inside you can find a complet Class using Aspell library. This editor use it self this class. Olivier Cruilles > Le 1 mai 2017 à 08:00, Fernando Cabrala écrit > : > > Hi > > In another thread I asked for help concerning the installation and > configuration of the aspell module. Now I see that I also need to access a > hyphenation library. Does any of you have tried and succeeded in using > libraries like libhyphenlo.so, or libhyphen.so? > > > > > -- > Fernando Cabral > Blogue: http://fernandocabral.org > Twitter: http://twitter.com/fjcabral > e-mail: fernandojosecab...@gmail.com > Facebook: f...@fcabral.com.br > Telegram: +55 (37) 99988-8868 <%2837%29%2099988-8868> > Wickr ID: fernandocabral > WhatsApp: +55 (37) 99988-8868 <%2837%29%2099988-8868> > Skype: fernandojosecabral > Telefone fixo: +55 (37) 3521-2183 <%2837%29%203521-2183> > Telefone celular: +55 (37) 99988-8868 <%2837%29%2099988-8868> > > Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos, > nenhum político ou cientista poderá se gabar de nada. > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] ... Is mailing list dead ?
For me it works. — Olivier Cruilles Le March 2, 2017 à 09:34:49, Gianluigi (bagone...@gmail.com) a écrit: For me all these things together :-) Gianluigi 2017-03-02 12:49 GMT+01:00 Fabien Bodard: > Le 2 mars 2017 10:47 AM, "Rolf-Werner Eilert" a > écrit : > > > > Am 02.03.2017 10:07, schrieb Fabien Bodard: > > > This is a try to get some contact to the extern world :-) > > > > > > > Gambas is so good, nobody has a problem ;) > Seem that true... or problems are easily resolved > > > > Rolf > > > > > > > > -- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Erratum: ColumnView icon detection
Sorry for the mistake, it’s not a GridView that I’m talking about but a ColumnView object. — Olivier Cruilles Le January 18, 2017 à 09:39:32, Yahoo (olivier.cruil...@yahoo.fr) a écrit: Hello, In one of my project I use icons in a GridView object to indicate if a line is ‘checked’ or not and for the moment a double click on these lines can change this state as ‘Checked’ or 'Not Checked’. Would anyone know if it's possible to detect if the user click specifically on the icon on a line of a GridView to do this change of state. Is there a way to access to the Icon Object of a line of a GridView in fact. Thank you — Olivier Cruilles -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Gridview icon detection
Hello, In one of my project I use icons in a GridView object to indicate if a line is ‘checked’ or not and for the moment a double click on these lines can change this state as ‘Checked’ or 'Not Checked’. Would anyone know if it's possible to detect if the user click specifically on the icon on a line of a GridView to do this change of state. Is there a way to access to the Icon Object of a line of a GridView in fact. Thank you — Olivier Cruilles -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How to?
Dim col as string = "#FF" Label1.Foreground = Val("" & col & "&") Olivier Cruilles Le March 24, 2016 à 13:17:50, abbat81 (abbat...@mail.ru) a écrit: Dim col as string = "#FF" How to conver? CInt(Replace(st, "#", "&")) doesn't work Label1.Foreground = col -- View this message in context: http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF-How-to-tp55763p55764.html Sent from the gambas-user mailing list archive at Nabble.com. -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Syntax highlighting in the wiki
Great Benoit. Email: olivier.cruil...@yahoo.fr > Le 21 mars 2016 à 02:53, Benoît Minisinia > écrit : > > Hi guys, > > You now have syntax highlighting in the wiki! > > This is a reimplementation of Tobias' idea, but it is automatically > handled by the gb.markdown component. > > To highlight any piece of code, put it between > > [[ code > ... > ]] > > being a language or a syntax supported by the > gb.eval.highlight component: gambas, c, c++, javascript, css, html, sql, > diff, webpage (the gambas' ones). > > If you need more highlighters, you have to write it and add it to the > gb.eval.highlight component. > > Enjoy! > > -- > Benoît Minisini > > -- > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140 > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to input hide password into gambas command line project ?
Thank you Fabien for the code. — Olivier Cruilles Le October 2, 2015 à 02:29:27, Fabien Bodard (gambas...@gmail.com) a écrit: This is a class i've found in my old archives :-) ' Gambas module file Public Sub Main() Dim i As Integer Dim s As String For i = 1 To 25 s &= String(80, " ") & "\n" Next vt100.SetAttribute([42]) Print s Print "e" VT100.SetAttribute([1]) VT100.SetColor(VT100.Yellow, VT100.Blue) Print " Coucou " VT100.SetColor(7, 0) Print Print VT100.FontSetG1 For i = 0 To 10 Print "Test de terminal" Next Wait 3 VT100.ForceCursorPosition(5, 5) For i = 0 To 80 Wait 0.05 VT100.ForceCursorPosition(5, i) Next End It may help you. I've added at the end the codes to manage echo. Regards, Fabien Bodard 2015-10-01 19:59 GMT+02:00 Fabien Bodard <gambas...@gmail.com>: > You can use escape codes too : > > Local Echo (Keyboard Send-Receive) > > This mode selects local echo, which causes every character transmitted > by the terminal to automatically appear on the screen. Therefore, the > computer does not have to transmit (echo) the character back to the > terminal for display. When local echo is off, the terminal only > transmits characters to the computer. The computer must echo the > characters back to the terminal for display. Select send-receive mode > by using the following sequences. > > Send-Receive Mode (SRM) > > ESC [ 1 2 h > 033 133 061 062 150 > Set turns off local echo. The terminal transmits characters to the > computer, which must echo characters for display on screen. > > ESC [ 1 2 l > 033 133 061 062 154 > Reset selects local echo. Characters transmitted to the computer > automatically appear on the screen. > > > > In mode off the program must return the char itself and the terminal > don't display the hitten key. > > > When i'll finished my term emulator i will think to a simplified > component that could implement simple terminal things, > like QBasic does in the past. > > So i had to just type Term.Foreground() > or Term.EchoOff... then ... > > > > 2015-10-01 19:22 GMT+02:00 Yahoo <olivier.cruil...@yahoo.fr>: >> Yes exactly, it’s the way that I've found to restore the terminal. >> >> Thank you >> >> >> — >> Olivier Cruilles >> >> >> Le October 1, 2015 à 13:18:31, Tobias Boege (tabo...@gmail.com) a écrit: >> >> On Thu, 01 Oct 2015, Yahoo wrote: >>> About gb.ncurses, when I say the terminal become unusable I mean that the >>> Carrier Return does not work after closing my program, so press on the >>> enter key does not create to a new line and the prompt is written on the >>> same line, at the location where is the cursor. >>> >> >> That should indeed not happen. It seems gb.ncurses does not clean up >> properly. On my system, gb.ncurses works fine... But you can use the >> program "reset" to restore the default settings in any case. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> -- >> >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> -- >> >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] How to input hide password into gambas command line project ?
Hello all, Since few day I work on a little project that consist to a cli program written in Gambas3 where the first task is to ask to the user to enter a password but of course, all written character must be hidden. I try to use INPUT instruction but all characters entered are automatically written on the terminal so it’s not a good solution. I try to use gb.ncurses to do the same work and a strange thing happens. Just enabling gb.ncurses on the project without any instruction to create a new Window (as described in the gb.ncurses tutorial) and automatically all characters written in console to the INPUT instruction are hidden. This solution could work but I have other problem when for example I terminate the program, the terminal where the program is started become unusable. I don’t know why but in the end this solution is not usable in my case. Does someone could help me on this problem please ? PS: Event Application_Signal(Signal As Integer) raise correctly when gb.ncurses is disabled in console based program (Gambas 3.8.90+svn7374+build31~ubuntu14.04.1 installed into Linux Mint 17.2) but does not raise when gb.ncurses is enabled, event if no instruction regarding this component is used in the program. Thank you Olivier Cruilles -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to input hide password into gambas command line project ?
Thank you for all explications. I never thanked that what this way to do it. So, I put your code in my project and it work as expected and fine. About gb.ncurses, when I say the terminal become unusable I mean that the Carrier Return does not work after closing my program, so press on the enter key does not create to a new line and the prompt is written on the same line, at the location where is the cursor. Cordialement, — Olivier Cruilles Email: olivier.cruil...@yahoo.fr Le October 1, 2015 à 12:23:06, Tobias Boege (tabo...@gmail.com) a écrit: On Thu, 01 Oct 2015, Yahoo wrote: > Hello all, > > Since few day I work on a little project that consist to a cli program > written in Gambas3 where the first task is to ask to the user to enter a > password but of course, all written character must be hidden. > > I try to use INPUT instruction but all characters entered are automatically > written on the terminal so it???s not a good solution. > I try to use gb.ncurses to do the same work and a strange thing happens. Just > enabling gb.ncurses on the project without any instruction to create a new > Window (as described in the gb.ncurses tutorial) and automatically all > characters written in console to the INPUT instruction are hidden. > If you use gb.ncurses, you must do all terminal I/O using gb.ncurses or else you may mess up its internal state. That means instead of Input or Read you have to use Window.Read(). The way gb.ncurses initialises the ncurses library (the normal way) creates a clean new window, the standard screen, and you can't get rid of that. Therefore gb.ncurses is useful only for projects which want a full-featured TUI and would hence clean the screen anyway. Indeed there are at least three better options if you just want to tempora- rily disable echoing of input characters: (1) Use the "stty" program as shown in the attached project, (2) Use the termios.h functions from the C library via Extern (super ugly), or (3) Use gb.termios which is a component I have written for demonstration purposes and is not in the official source tree. Incidentally it brings the termios structures from point (2) to Gambas. You can find its sources here[0]. The test project available there does exactly hidden password input. > This solution could work but I have other problem when for example I > terminate the program, the terminal where the program is started become > unusable. I don???t know why but in the end this solution is not usable in my > case. > What terminal becomes unusable? And what does "unusable" mean? If you started the project from within the IDE and checked the "Use a terminal emulator" option, it is normal that the terminal won't respond after the process died (a possible interpretation of "unusable"). Once the Gambas process exits, there is no process left to use the terminal (no shell is started by the IDE to host the Gambas process), but the window is not destroyed. It just won't respond, so that you can read the last words of your process. This behaviour is explicitly enforced by the IDE. If this is not your case, then be more specific and send a project that reproduces the problem. Regards, Tobi [0] http://www-e.uni-magdeburg.de/tboege/gambas -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to input hide password into gambas command line project ?
Yes exactly, it’s the way that I've found to restore the terminal. Thank you — Olivier Cruilles Le October 1, 2015 à 13:18:31, Tobias Boege (tabo...@gmail.com) a écrit: On Thu, 01 Oct 2015, Yahoo wrote: > About gb.ncurses, when I say the terminal become unusable I mean that the > Carrier Return does not work after closing my program, so press on the enter > key does not create to a new line and the prompt is written on the same line, > at the location where is the cursor. > That should indeed not happen. It seems gb.ncurses does not clean up properly. On my system, gb.ncurses works fine... But you can use the program "reset" to restore the default settings in any case. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas3, ServerSocket and SSL support
Hello, Very interesting this little project. Can we use it or interface it with the embedded http server of Gambas gb.http. In case it is possible, can someone give me a little example. If no possible, how can I create a project like gambaswiki example but incluying HTTPS support please ? Thank you in advance. Regards, Olivier Cruilles Le September 25, 2015 à 12:39:57, Benoît Minisini (gam...@users.sourceforge.net) a écrit: Le 25/09/2015 18:29, Tobias Boege a écrit : > On Fri, 25 Sep 2015, Alexie wrote: >> Hi All, >> >> Gambas3 has a lot of networking features, including acting like a (Web) >> Server. Only thing what is lacking is SSL support and IPv6 (separate topic >> :-)) ... I made some code for DomotiGa, to support SSL in the ServerSocket. >> I basically create a wrapper around the ServerSocket and Socket, called the >> 'CServerSocket.class' and 'CSocket.class'. They resemble almost the same >> features/parameters/events of the original classes ... Including native >> support for HTTP and WebSocket, so you don't have to decode/parse it >> yourself - you get directly the good data with a read event ... It has been >> tested on Ubuntu and Raspbian devices. Also I have done some benchmarking >> and didn't notice impact on performance. >> >> Attached is the code, including an example to use the 'new' >> CServerSocket.class and CSocket.class. >> >> Just let me know if you like it or find bugs! >> > > It seems you are using OpenSSL libraries via Extern. We already have a > gb.openssl component, but it lacks SSL support. (Back then, I only cared > to transfer hashes and ciphers from libcrypto.) > > If you know C, your work hours might be most profitable if you modify > gb.openssl instead of hacking with Extern. Once this modification is good > enough that you have no Extern left in your classes, those classes can > easily wander into a Gambas component like "gb.openssl.net" and override > gb.net's classes. > > Regards, > Tobi > Cool. The ServerSocket seams clean, but the Socket class should have nothing related to a specific protocol. Those parts should have been put into other classes like HttpSocket and WebSocket (if it is not the same thing). And as Tobias said, all external functions should be replaced by functions in the gb.openssl component, so that dependencies are correctly managed. The final result will be put in a component named "gb.net.ssl" (not openssl, because the openssl is inside gb.openssl, and theoritically we could have a compatible gb.mybetterssl component). Regards, -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Bug during Webview Eval() usage
Hi Benoit, I have found a bug (Segmentation fault 11) during execution of around 320 Eval() in a short time inside a loop (for each …) in a Webview. Some time this loop works fine and each Webview1.Eval(cmd) are executed and another time I have this error. I don’t know if it’s important but I run a Linux Mint 17.2 on virtualBox machine. I use the latest SVN release 7227 I tried to execute this project as described on Gambas Web Site with gdb but I get the same error text, no more. I tried to compile Gambas SVN manually with only QT5 Webkit = Same error I tried to compile Gambas SVN manually with only QT4 Webkit = Same error Do you need a little project to reproduce the error because in this case I must create it from the main project ? Segmentation Fault 11 FormTracerouteMap.Fin_Traitement_Tracert.750: $TabPointGridview.Count = 308 FormTracerouteMap.Fin_Traitement_Tracert.751: $TabPolyline.Count = 35 FormTracerouteMap.Fin_Traitement_Tracert.754: Affichage des points + Polyline. FormTracerouteMap.TimerQueueLog_Timer.706: TimerQueueLog_Timer() STOPPED !! FormTracerouteMap.TimerQueueLog_Timer.711: Fin traitement traceroute. NbreId=45, NbreDataInterprete=45, NbreTracerouteError=0, NbrePolyline=0, $NbreCheckId=45, $DataReceive=0, $TimeoutTaskTraceroute=0 FormTracerouteMap.Fin_Traitement_Tracert.750: $TabPointGridview.Count = 316 FormTracerouteMap.Fin_Traitement_Tracert.751: $TabPolyline.Count = 37 FormTracerouteMap.Fin_Traitement_Tracert.754: Affichage des points + Polyline. FormTracerouteMap.TimerQueueLog_Timer.706: TimerQueueLog_Timer() STOPPED !! FormTracerouteMap.TimerQueueLog_Timer.711: Fin traitement traceroute. NbreId=45, NbreDataInterprete=45, NbreTracerouteError=0, NbrePolyline=0, $NbreCheckId=45, $DataReceive=0, $TimeoutTaskTraceroute=0 1 0xb3a300c7 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3WTF11OSAllocator16reserveAndCommitEjNS0_5UsageEbbb+0x137) [0xb3a300c7] 2 0xb3a30120 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x18b0120) [0xb3a30120] 3 0xb3a158ba /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x18958ba) [0xb3a158ba] 4 0xb3704c62 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1584c62) [0xb3704c62] 5 0xb3705170 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1585170) [0xb3705170] 6 0xb3706429 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1586429) [0xb3706429] 7 0xb3962dd5 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x17e2dd5) [0xb3962dd5] 8 0xb39698f4 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x17e98f4) [0xb39698f4] 9 0xb3963fc0 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3JSC8JSObject10putByIndexEPNS_6JSCellEPNS_9ExecStateEjNS_7JSValueEb+0x80) [0xb3963fc0] 10 0xb3967e37 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3JSC8JSObject3putEPNS_6JSCellEPNS_9ExecStateENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE+0x207) [0xb3967e37] 11 0xb3774cde /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x15f4cde) [0xb3774cde] 12 0xb3846dd0 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x16c6dd0) [0xb3846dd0] 13 0xb38525d2 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x16d25d2) [0xb38525d2] 14 0x97476e41 [0x97476e41] 15 0xb37eed84 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x166ed84) [0xb37eed84] 16 0x2 [0x2] 17 0xfffb [0xfffb] [System] Gambas=3.8.0 OperatingSystem=Linux Kernel=3.16.0-37-generic Architecture=x86 Distribution=Linux Mint 17.1 Rebecca Desktop=MATE Theme=Gtk Language=fr_CA.UTF-8 Memory=4052M [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.28.0.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-9aRBjxeCeo,guid=091e6b223ee678201b2ed1aa55af8da3 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-hfiYfY GNOME_KEYRING_PID=2689 GPG_AGENT_INFO=/tmp/keyring-GnQRJQ/gpg:0:1 GTK_IM_MODULE=ibus HOME=/home/ocruilles LANG=fr_CA.UTF-8 LOGNAME=ocruilles MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-GnQRJQ MDMSESSION=mate MDM_LANG=fr_CA.UTF-8 MDM_XSERVER_LOCATION=local PATH=/home/ocruilles/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ocruilles QT4_IM_MODULE=xim QT_IM_MODULE=ibus SESSION_MANAGER=local/ocruilles-linux:@/tmp/.ICE-unix/2701,unix/ocruilles-linux:/tmp/.ICE-unix/2701 SHELL=/bin/bash SSH_AGENT_PID=2790 SSH_AUTH_SOCK=/tmp/keyring-GnQRJQ/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER=ocruilles USERNAME=ocruilles WINDOWPATH=8 XAUTHORITY=/home/ocruilles/.Xauthority
Re: [Gambas-user] mkinteger..and the reverse function
Oups, sorry Olivier Le 1 août 2015 à 05:09, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 01/08/2015 09:40, Olivier Cruilles a écrit : hello, myInteger = Cint(val(myString)) Olivier Le 1 août 2015 à 01:39, nando nand...@nothingsimple.com a écrit : I'm putting this out there... I'm using MkInteger$, MkShort$ Who knows what the opposite functions would be. I can't find them myString = MkInteger$(12345678) 'convert an integer to a string representation myInteger = ?? (myString) 'convert back to an integer anyone? -Nando No, its Integer@(): Print Integer@(MkInteger$(12345678)) 12345678 Regards, -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New feature in Task Class
maybe this can help but I'm not C developer. https://www.kernel.org/doc/Documentation/cgroups/cpusets.txt Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr Le 13 mars 2015 à 10:24, Tobias Boege tabo...@gmail.com a écrit : On Fri, 13 Mar 2015, Beno?t Minisini wrote: Le 13/03/2015 14:07, Yahoo a ?crit : Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and more exactly witch CPUs the process could use to run but not if it is possible to do that for a process Fork. In my idea, I will limit the main process of my program on 1 specific cpu and if I start Task to limit these Task to use specific others CPUs. Thank you in advance. Olivier Cruilles A task is a forked process, so if you know how to do that programmatically (which API to use), just tell me. You can specify a fixed set of CPUs a thread may run on using sched_setaffinity(2) but my manpage lists it in the Linux Programmer's Manual which may indicate that it is not portable? Since every process is a thread, this will also work with forks. Regards, Tobi -- There's an old saying: Don't change anything... ever! -- Mr. Monk -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New feature in Task Class
No problem as soon you have time. Thank very much Olivier Cruilles Le 13 mars 2015 à 16:40, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 13/03/2015 21:31, Olivier Cruilles a écrit : Benoit, Do you need more information ? All I had found on Internet turn around of cpuset and sched_getaffinity(). Olivier I will look at that later, I have a release to do. Regards, -- Benoît Minisini -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] New feature in Task Class
Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and more exactly witch CPUs the process could use to run but not if it is possible to do that for a process Fork. In my idea, I will limit the main process of my program on 1 specific cpu and if I start Task to limit these Task to use specific others CPUs. Thank you in advance. Olivier Cruilles -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New feature in Task Class
To limit a process to use only specific cpu core I use 'taskset ' command on linux and 'cpulimit' command to limit cpu usage. This one is interesting too: http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups Does it that you ask me ? Olivier Cruilles Le 13 mars 2015 à 09:41, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 13/03/2015 14:07, Yahoo a écrit : Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and more exactly witch CPUs the process could use to run but not if it is possible to do that for a process Fork. In my idea, I will limit the main process of my program on 1 specific cpu and if I start Task to limit these Task to use specific others CPUs. Thank you in advance. Olivier Cruilles A task is a forked process, so if you know how to do that programmatically (which API to use), just tell me. Regards, -- Benoît Minisini -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New feature in Task Class
May be this one ? http://man7.org/linux/man-pages/man2/getrlimit.2.html Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr Le 13 mars 2015 à 09:41, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 13/03/2015 14:07, Yahoo a écrit : Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and more exactly witch CPUs the process could use to run but not if it is possible to do that for a process Fork. In my idea, I will limit the main process of my program on 1 specific cpu and if I start Task to limit these Task to use specific others CPUs. Thank you in advance. Olivier Cruilles A task is a forked process, so if you know how to do that programmatically (which API to use), just tell me. Regards, -- Benoît Minisini -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Watermark on text box
Hello all, Thanks you for all your ideas and answers. As soon I will test that and see if I'm able to solve this need. Olivier Le 11 févr. 2015 à 07:36, Gian bago...@libero.it a écrit : Il 11/02/2015 13:09, Julio Sanchez ha scritto: Tobias: Guay:) 2015-02-10 22:56 GMT+01:00 Jorge Carriónsho...@gmail.com: Yes, :OK and I say it in Italian :))) Wunderbar! -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Watermark on text box
Hi Benoit, Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. It could be very useful to help the user of a software to know what do enter in some fields Olivier -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] A suggestion
Hello, It will be Nice that, yes. Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr Le 15 déc. 2014 à 05:16, Fabien Bodard gambas...@gmail.com a écrit : Why not having a Math tool component that can provide some basics things such as geometry area routine, and many other daily usefull things... ? -- Fabien Bodard -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Official release of Gambas 3.6
Thanks you Benoit for all this work. Olivier Cruilles Le 16 oct. 2014 à 11:41, Benoît Minisini gam...@users.sourceforge.net a écrit : Hi, After almost on year since the last major version, and many last-minute bug fixes, Gambas 3.6 has just been officially released! This new release fixes 459 bugs, adds 465 new features and 22 optimizations. Some of the main changes are: - A new open project dialog in the IDE. - Support for session management. - Offline help automatically downloaded from the wiki. - Single-file mode for the IDE. - Support for transparent windows. - Shadowed text drawing routines. - New controls: Spinner, SwitchButton, DirBox, FontBox. - gb.gtk3 is a new GUI component based on GTK+ 3. - gb.inotify is a new component to monitor filesystem events with Linux inotify interface. - gb.markdown is a new component that implements the Gambas Markdown syntax. - The gb.net.smtp component has been entirely rewritten in Gambas and fixed. See the Release Notes for the list of all new features and bug fixes. Now let's start hacking for Gambas 3.7. The main goal now is making a dedicated Gambas software repository. In the meantime, enjoy it! -- Benoît Minisini -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Webview picture display.
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 -- 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=157508191iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Information about instruction in Gambas v3
Hello all, I'm currently trying to translate a Perl script in Gambas v3 so can someone say to me if this kind of instruction exist in Gambas. The instruction in Perl are: 'pack' and 'unpack' This is the documentation to have an idea: http://www.perlmonks.org/?node_id=224666 These instructions are used to split a string into respectively variables like Byte, 16 bits integer, 32 bits integer, etc... It's just to know if exist an equivalent in Gambas or not to not re-invet the wheel. Thank you in advance [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=2.6.43.8-1.fc15.i686 Architecture=x86 Distribution=redhat Fedora release 14 (Laughlin) Desktop=GNOME Theme=QGtk Language=fr_FR.UTF-8 Memory=3284M [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.2 GStreamer=libgstreamer-0.10.so.0.27.0 GTK+=libgtk-x11-2.0.so.0.2200.0 Poppler=libpoppler.so.7.0.0 Qt4=libQtCore.so.4.7.4 SDL=libSDL-1.2.so.0.11.3 Olivier -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user