From bugtracker at ...3416... Tue Aug 1 01:46:45 2017 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 31 Jul 2017 23:46:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1131&from=L21haW4- Comment #1 by Adrien PROKOPOWICZ: I've actually found a fix to evaluate the expression before entering the WITH block. But since I'm not confident enough with the compiler's internals to commit it directly, I put it in a separate temporary branch on the git repository. The merge request can be found here : https://gitlab.com/prokopyl/gambas/merge_requests/1/diffs From fernandojosecabral at ...626... Wed Aug 2 03:38:33 2017 From: fernandojosecabral at ...626... (Fernando Cabral) Date: Tue, 1 Aug 2017 22:38:33 -0300 Subject: [Gambas-user] Why is this code running twice? Message-ID: I am trying to create a sundial faceplate. I took the analogic clock, discarded what I did not need and thought I was ready to work on the calculations and drawing of the hour angles. Nevertheless, I am mystified by two things I can't understand: a) The code produces a loop I can't see why (I am not referring to the FOR loop) b) I can't modify the drawing area dimensions ( dwgArea.width = 800 does not work) Besides, I have a question: when a drawing area is created, it (0,0) supposed to be the central point? The code follows: *Private Const W As Integer = 2048Private Const H As Integer = 2048Public Sub DwgArea_Draw() Dim angle As Float Dim eScale As Float Dim i As Integer Print "Executing" & Now dwgArea.width = 800 ' does nothing dwgArea.Height = 1000 ' does nothing Print dwgArea.width; dwgArea.Height Paint.Translate(dwgArea.W / 2, dwgArea.H / 2) Paint.Brush = Paint.Color(Color.SetAlpha(Color.Red, 128)) Paint.LineWidth = 1 For i = -15 To 195 Step 15 angle = Rad(CFloat(i)) Paint.MoveTo(0, 0) Paint.LineTo(Cos(angle) * W / 2, Sin(angle) * H / 2) Paint.Stroke Paint.Fill NextEnd* -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecabral at ...626... Facebook: f at ...3654... Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 Telefone celular: +55 (37) 99988-8868 Enquanto houver no mundo uma s? pessoa sem casa ou sem alimentos, nenhum pol?tico ou cientista poder? se gabar de nada. From cybercamera at ...626... Wed Aug 2 06:57:25 2017 From: cybercamera at ...626... (Cam Era) Date: Wed, 2 Aug 2017 14:57:25 +1000 Subject: [Gambas-user] Why is this code running twice? In-Reply-To: References: Message-ID: Fernando, is this the code? *Private Const W As Integer = 2048 Private Const H As Integer = 2048 Public Sub DwgArea_Draw() Dim angle As Float Dim eScale As Float Dim i As Integer Print "Executing" & Now dwgArea.width = 800 ' does nothing dwgArea.Height = 1000 ' does nothing Print dwgArea.width; dwgArea.Height Paint.Translate(dwgArea.W / 2, dwgArea.H / 2) Paint.Brush = Paint.Color(Color.SetAlpha(Color.Red, 128)) Paint.LineWidth = 1 For i = -15 To 195 Step 15 angle = Rad(CFloat(i)) Paint.MoveTo(0, 0) Paint.LineTo(Cos(angle) * W / 2, Sin(angle) * H / 2) Paint.Stroke Paint.Fill Next End* Does the whole DwgArea_Draw() routine get called twice? Can you set some breakpoints (F9) and check the calling stack to see what's going on? On Wed, Aug 2, 2017 at 11:38 AM, Fernando Cabral < fernandojosecabral at ...626...> wrote: > I am trying to create a sundial faceplate. I took the analogic clock, > discarded what I did not need and thought I was ready to work on the > calculations and drawing of the hour angles. > > Nevertheless, I am mystified by two things I can't understand: > a) The code produces a loop I can't see why (I am not referring to the FOR > loop) > b) I can't modify the drawing area dimensions ( dwgArea.width = 800 does > not work) > > Besides, I have a question: when a drawing area is created, it (0,0) > supposed to be the central point? > > The code follows: > > > > > > > > > > > > > > > > > > > > > > > > > > *Private Const W As Integer = 2048Private Const H As Integer = 2048Public > Sub DwgArea_Draw() Dim angle As Float Dim eScale As Float Dim i As > Integer Print "Executing" & Now dwgArea.width = 800 ' does nothing > dwgArea.Height = 1000 ' does nothing Print dwgArea.width; dwgArea.Height > Paint.Translate(dwgArea.W / 2, dwgArea.H / 2) Paint.Brush = > Paint.Color(Color.SetAlpha(Color.Red, 128)) Paint.LineWidth = 1 For i > = -15 To 195 Step 15 angle = Rad(CFloat(i)) Paint.MoveTo(0, 0) > Paint.LineTo(Cos(angle) * W / 2, Sin(angle) * H / 2) Paint.Stroke > Paint.Fill NextEnd* > > > > -- > Fernando Cabral > Blogue: http://fernandocabral.org > Twitter: http://twitter.com/fjcabral > e-mail: fernandojosecabral at ...626... > Facebook: f at ...3654... > Telegram: +55 (37) 99988-8868 > Wickr ID: fernandocabral > WhatsApp: +55 (37) 99988-8868 > Skype: fernandojosecabral > Telefone fixo: +55 (37) 3521-2183 > Telefone celular: +55 (37) 99988-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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Aug 2 11:40:39 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 2 Aug 2017 11:40:39 +0200 Subject: [Gambas-user] Why is this code running twice? In-Reply-To: References: Message-ID: Ok Fernando ... your code is no so bad :-) First never call the resizing of the caneva in the drawing event as it call itself the drawing event ... (normally if I rememember well it have been disabled) So you must resize in another place. then I don't really understand why you are resizing the drawingarea and not the windows... but you must have your idea. You need to call DrawingArea.Refresh Function to force the refresh so the _Draw event calling. Or resising the form, or anything else that force the need to refresh the area. For example if you want to make a clock you do : 'Where timer delay is 1000 for example Public sub MyTimer_Timer() $dCurTime = GetCurTime() dwgClock.Refresh End ==> the code revised ' Gambas class file Private Const W As Integer = 2048 Private Const H As Integer = 2048 Public Sub _new() dwgArea.width = 800 ' does nothing dwgArea.Height = 1000 ' does nothing Print dwgArea.width; dwgArea.Height dwgArea.Refresh End Public Sub DwgArea_Draw() Dim angle As Float Dim eScale As Float Dim i As Integer Print "Executing" & Now Paint.Translate(dwgArea.W / 2, dwgArea.H / 2) Paint.Brush = Paint.Color(Color.SetAlpha(Color.Red, 128)) Paint.LineWidth = 1 For i = -15 To 195 Step 15 angle = Rad(CFloat(i)) Paint.MoveTo(0, 0) Paint.LineTo(Cos(angle) * W / 2, Sin(angle) * H / 2) Print Cos(angle) * w / 2 Paint.Stroke 'Paint.Fill Next End Best Regards, Fabien Bodard From adrien.prokopowicz at ...626... Wed Aug 2 12:05:47 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 02 Aug 2017 12:05:47 +0200 Subject: [Gambas-user] Why is this code running twice? In-Reply-To: References: Message-ID: Le Wed, 02 Aug 2017 03:38:33 +0200, Fernando Cabral a ?crit: > I am trying to create a sundial faceplate. I took the analogic clock, > discarded what I did not need and thought I was ready to work on the > calculations and drawing of the hour angles. > > Nevertheless, I am mystified by two things I can't understand: > a) The code produces a loop I can't see why (I am not referring to the > FOR > loop) By default, DrawingAreas are not cached, which means it will need to redraw its contents a few times depending on the situation (most likely on startup, or when the window is resized). The docs[0] talk about that a little bit. If you do not want this to happen, you need to set the Cached[1] property to True, which will make the DrawingArea store the image in memory instead of redrawing it every time. In practice, this means two things : - Since the whole contents of the DrawingArea is stored, it will increase the memory usage a bit, however since nowadays every CPU and GPU has access to more than 1GB of memory, I would say it is negligible. - If you want to actually update the drawing, you will have to manually call the Refresh() method[2]. > b) I can't modify the drawing area dimensions ( dwgArea.width = 800 does > not work) We would neet your full project to be sure, but most likely your DrawingArea is inside a Form (or another container) that resizes its children, making fixed coordinates useless. If you want a fixed size window, you should try to resize the Form itself, however I would recommend to let the user resize the window as they want, and calculate the size of your drawing by reading the DrawingArea's ClientWidth and ClientHeight properties. However, depending on your drawing this may be a little tricky, so for small experiments having a fixed-sized window is okay too. :-) > > Besides, I have a question: when a drawing area is created, it (0,0) > supposed to be the central point? > No. Unlike math where the origin (0,0) is usually represented in the center, the origin of screen coordinates is always located in the top-left corner. If you want the actual center of your DrawingArea, you will have to use the following coordinates : x = DrawingArea.Width / 2 y = DrawingArea.Height / 2 Hope this helps. :-) Regards, [0] http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea [1] http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/cached [2] http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/refresh -- Adrien Prokopowicz From fernandojosecabral at ...626... Wed Aug 2 13:18:22 2017 From: fernandojosecabral at ...626... (Fernando Cabral) Date: Wed, 2 Aug 2017 08:18:22 -0300 Subject: [Gambas-user] Why is this code running twice? In-Reply-To: References: Message-ID: 2017-08-02 7:05 GMT-03:00 Adrien Prokopowicz : Le Wed, 02 Aug 2017 03:38:33 +0200, Fernando Cabral < > fernandojosecabral at ...626...> a ?crit: > > Besides, I have a question: when a drawing area is created, it (0,0) >> supposed to be the central point? >> >> > No. Unlike math where the origin (0,0) is usually represented in the > center, > the origin of screen coordinates is always located in the top-left corner. > > If you want the actual center of your DrawingArea, you will have to use > the following coordinates : > > x = DrawingArea.Width / 2 > y = DrawingArea.Height / 2 > Problem is: this simple instruction "Paint.MoveTo(0, 0)" moves the cursor to the center of the drawing area. I expected it to move it to the left superior corner. I can't figure why. Regards - fernando > Hope this helps. :-) > > Regards, > > [0] http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea > [1] http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/cached > [2] http://gambaswiki.org/wiki/comp/gb.qt4/drawingarea/refresh > > -- > Adrien Prokopowicz > -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecabral at ...626... Facebook: f at ...3654... Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 Telefone celular: +55 (37) 99988-8868 Enquanto houver no mundo uma s? pessoa sem casa ou sem alimentos, nenhum pol?tico ou cientista poder? se gabar de nada. From fernandojosecabral at ...626... Wed Aug 2 13:19:06 2017 From: fernandojosecabral at ...626... (Fernando Cabral) Date: Wed, 2 Aug 2017 08:19:06 -0300 Subject: [Gambas-user] Why is this code running twice? In-Reply-To: References: Message-ID: 2017-08-02 6:40 GMT-03:00 Fabien Bodard : > Ok Fernando ... your code is no so bad :-) > > I know. Some explanations bellow. > > First never call the resizing of the caneva in the drawing event as it > call itself the drawing event ... (normally if I rememember well it > have been disabled) > So you must resize in another place. > > then I don't really understand why you are resizing the drawingarea > and not the windows... but you must have your idea. > This was only a test (as other lines). I am trying to figure out how the code works. I got the original code from the software farm (analogic clock) and then I' ve been pruning it what I need. But this assignement, besides doing nothing, is not the reason for the loop. I know so because I can delete it and the behaviour is the same. > > You need to call DrawingArea.Refresh Function to force the refresh so > the _Draw event calling. Or resising the form, or anything else that > force the need to refresh the area. > You mean, for the resizing to take place? > > > For example if you want to make a clock you do : > > 'Where timer delay is 1000 for example > Public sub MyTimer_Timer() > > $dCurTime = GetCurTime() > dwgClock.Refresh > > End > > > Yep! That's the functionality the original code had. Nevertheless, the only thing I want (and I am trying to learn how to do) is to draw some lines at certain angles inside a square or a rectangle. (the angles you see in the for loop is only for testing the concept. Real angles will be a different). The "Print "executing" & Now' is also only for testing purpose. I suspected the code was in loop but could figure out why. So I placed this printing thing there to confirm. And, yes, it prints continuously changing the time. > > ==> the code revised > > ' Gambas class file > > Private Const W As Integer = 2048 > Private Const H As Integer = 2048 > > Public Sub _new() > > dwgArea.width = 800 ' does nothing > dwgArea.Height = 1000 ' does nothing Print dwgArea.width; dwgArea.Height > dwgArea.Refresh > End > > > > Public Sub DwgArea_Draw() > > Dim angle As Float > Dim eScale As Float > Dim i As Integer > > Print "Executing" & Now > > Paint.Translate(dwgArea.W / 2, dwgArea.H / 2) > Paint.Brush = Paint.Color(Color.SetAlpha(Color.Red, 128)) > Paint.LineWidth = 1 > > For i = -15 To 195 Step 15 > > angle = Rad(CFloat(i)) > Paint.MoveTo(0, 0) > Paint.LineTo(Cos(angle) * W / 2, Sin(angle) * H / 2) > Print Cos(angle) * w / 2 > Paint.Stroke > 'Paint.Fill > Next > > End > > > Best Regards, > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecabral at ...626... Facebook: f at ...3654... Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 Telefone celular: +55 (37) 99988-8868 Enquanto houver no mundo uma s? pessoa sem casa ou sem alimentos, nenhum pol?tico ou cientista poder? se gabar de nada. From fernandojosecabral at ...626... Wed Aug 2 13:20:42 2017 From: fernandojosecabral at ...626... (Fernando Cabral) Date: Wed, 2 Aug 2017 08:20:42 -0300 Subject: [Gambas-user] Why is this code running twice? In-Reply-To: References: Message-ID: 2017-08-02 6:40 GMT-03:00 Fabien Bodard : > Ok Fernando ... your code is no so bad :-) > > > ==> the code revised > > Still being executed twice. I have not been able to understand why. Thanks. - fernando > ' Gambas class file > > Private Const W As Integer = 2048 > Private Const H As Integer = 2048 > > Public Sub _new() > > dwgArea.width = 800 ' does nothing > dwgArea.Height = 1000 ' does nothing Print dwgArea.width; dwgArea.Height > dwgArea.Refresh > End > > > > Public Sub DwgArea_Draw() > > Dim angle As Float > Dim eScale As Float > Dim i As Integer > > Print "Executing" & Now > > Paint.Translate(dwgArea.W / 2, dwgArea.H / 2) > Paint.Brush = Paint.Color(Color.SetAlpha(Color.Red, 128)) > Paint.LineWidth = 1 > > For i = -15 To 195 Step 15 > > angle = Rad(CFloat(i)) > Paint.MoveTo(0, 0) > Paint.LineTo(Cos(angle) * W / 2, Sin(angle) * H / 2) > Print Cos(angle) * w / 2 > Paint.Stroke > 'Paint.Fill > Next > > End > > > Best Regards, > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecabral at ...626... Facebook: f at ...3654... Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 Telefone celular: +55 (37) 99988-8868 Enquanto houver no mundo uma s? pessoa sem casa ou sem alimentos, nenhum pol?tico ou cientista poder? se gabar de nada. From charlie at ...2793... Wed Aug 2 16:56:19 2017 From: charlie at ...2793... (Charlie) Date: Wed, 2 Aug 2017 07:56:19 -0700 (MST) Subject: [Gambas-user] Why is this code running twice? In-Reply-To: References: Message-ID: <1501685779170-59985.post@...3046...> Fernando Cabral wrote > I am trying to create a sundial faceplate. I took the analogic clock, > discarded what I did not need and thought I was ready to work on the > calculations and drawing of the hour angles. > > Nevertheless, I am mystified by two things I can't understand: > a) The code produces a loop I can't see why (I am not referring to the FOR > loop) > b) I can't modify the drawing area dimensions ( dwgArea.width = 800 does > not work) > > Besides, I have a question: when a drawing area is created, it (0,0) > supposed to be the central point? Have a look at the excellent program 'Painting' which is on the Farm under Example. ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Why-is-this-code-running-twice-tp59978p59985.html Sent from the gambas-user mailing list archive at Nabble.com. From buster6seven at ...626... Fri Aug 4 07:53:50 2017 From: buster6seven at ...626... (Shane) Date: Fri, 4 Aug 2017 15:53:50 +1000 Subject: [Gambas-user] mediaplayer Message-ID: I think there might be a bug in the mediaplayer as the event mediaplayer_Progress Event is never raised From rwe-sse at ...3629... Fri Aug 4 08:57:07 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Fri, 04 Aug 2017 08:57:07 +0200 Subject: [Gambas-user] Two colors and two entries in a GridView Message-ID: <59841AC3.2050309@...3629...> In a GridView, it occurs that I need two different entries with two different background colors in a few of the cells. So I thought about different solutions for this. 1. Using RichText doesn't produce any entries here on my system, don't know why, but it might have been an easy way to use it with a with two columns. But even .Data.RichText = "Hello" doesn't show anything in the cell... 2. Once upon a time, I used TextLabels created dynamically at runtime to show calendar entries. This means, however, they are hovering above the GridView, not alowing direct mouse-click access to the cell below. On my calendar it doesn't matter, but it would screw up things unnecessarily in my current project. 3. It is possible to add a picture to a cell, the picture being shown on the left-hand side of the cell with the text at its right. Now, I thought it might be possible to create a little Picture with the second color and second entry virtually in the background and simply send it to the cell. Do you think this is possible, and how? This is what I came about: - DrawingArea, Not Visible, Cached - its size = cell height, but cell width / 2 - Background for the second entry - Font as in the cell - write text for the second entry Then I would have to send this as a Picture to the GridView cell - but how? Thank you for reading up to here and for any ideas! Regards Rolf From taboege at ...626... Fri Aug 4 09:16:21 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 4 Aug 2017 09:16:21 +0200 Subject: [Gambas-user] Two colors and two entries in a GridView In-Reply-To: <59841AC3.2050309@...3629...> References: <59841AC3.2050309@...3629...> Message-ID: <20170804071621.GI547@...3600...> On Fri, 04 Aug 2017, Rolf-Werner Eilert wrote: > In a GridView, it occurs that I need two different entries with two > different background colors in a few of the cells. So I thought about > different solutions for this. > You mean two different colors in the same cell and that's why you can't use the Background property of the cell? > 1. Using RichText doesn't produce any entries here on my system, don't know > why, but it might have been an easy way to use it with a
with two > columns. But even .Data.RichText = "Hello" doesn't show anything in the > cell... > GridView.Data is only to be used to provide data to the GridView inside its Data event (see the documentation). To access a particular cell use GridView[Row, Column].RichText = ... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rwe-sse at ...3629... Fri Aug 4 10:04:35 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Fri, 04 Aug 2017 10:04:35 +0200 Subject: [Gambas-user] Two colors and two entries in a GridView In-Reply-To: <20170804071621.GI547@...3600...> References: <59841AC3.2050309@...3629...> <20170804071621.GI547@...3600...> Message-ID: <59842A93.7050508@...3629...> Am 04.08.2017 09:16, schrieb Tobias Boege: > On Fri, 04 Aug 2017, Rolf-Werner Eilert wrote: >> In a GridView, it occurs that I need two different entries with two >> different background colors in a few of the cells. So I thought about >> different solutions for this. >> > > You mean two different colors in the same cell and that's why you can't use > the Background property of the cell? Yes, that is what I meant. > >> 1. Using RichText doesn't produce any entries here on my system, don't know >> why, but it might have been an easy way to use it with a
with two >> columns. But even .Data.RichText = "Hello" doesn't show anything in the >> cell... >> > > GridView.Data is only to be used to provide data to the GridView inside its > Data event (see the documentation). To access a particular cell use > > GridView[Row, Column].RichText = ... Well, I did put it into the Data event, and using .Data.Text = "hello" runs. Using RichText does not. Do you remember the thread I started some two weeks ago, when I found that RichText showed pure text but would show nothing if I used
? That was on my laptop, newer system, now I am on my office system, maybe that is why. (Gambas is the same, 3.9.2) Anyway, I have made so many bad experiences with RichText in the GridView that I thought about other ways of implementing this. Regards Rolf From taboege at ...626... Fri Aug 4 10:10:44 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 4 Aug 2017 10:10:44 +0200 Subject: [Gambas-user] Two colors and two entries in a GridView In-Reply-To: <59842A93.7050508@...3629...> References: <59841AC3.2050309@...3629...> <20170804071621.GI547@...3600...> <59842A93.7050508@...3629...> Message-ID: <20170804081044.GJ547@...3600...> On Fri, 04 Aug 2017, Rolf-Werner Eilert wrote: > Anyway, I have made so many bad experiences with RichText in the GridView > that I thought about other ways of implementing this. > I don't know how your cells would be laid out but maybe you can get away with setting the RowSpan of the other cells in your row to 2. That would give you two cells on your row, one above the other and next to the ones with RowSpan=2, whose backgrounds can be set independently. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From hans at ...3219... Fri Aug 4 17:33:19 2017 From: hans at ...3219... (Hans Lehmann) Date: Fri, 4 Aug 2017 17:33:19 +0200 Subject: [Gambas-user] UDP-Socket-Client In-Reply-To: <20170730182027.GD584@...3600...> References: <20170730182027.GD584@...3600...> Message-ID: <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> Hello. Does anyone have any experience how to query with a UDP socket client on port 123 the time from a time server? A socket client on port 37 will work correctly, but only the seconds since 1.1.1900 will be returned. This accuracy is not enough. Sincerely Hans From gambas.fr at ...626... Sat Aug 5 13:07:13 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 5 Aug 2017 13:07:13 +0200 Subject: [Gambas-user] Two colors and two entries in a GridView Message-ID: I think you need to use the _Draw Event of the grid view. http://gambaswiki.org/wiki/comp/gb.qt4/gridview/.draw Event Draw ( X As Integer, Y As Integer, Width As Integer, Height As Integer, Row As Integer, Column As Integer ) the rect X,Y,Width,Height is the area where drawing. It is in fact dependent of the Scroll translation so use these value to place objects. To drawing a circle + a text in the _Draw event of the gridview: Paint.Ellipse(X,Y,Height, Height) Paint.Stroke Paint.DrawText("MyText",Width,Y,Width-Height,Height) -- Fabien Bodard From gambas.fr at ...626... Sat Aug 5 15:12:10 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 5 Aug 2017 15:12:10 +0200 Subject: [Gambas-user] Two colors and two entries in a GridView In-Reply-To: References: Message-ID: this is an example 2017-08-05 13:07 GMT+02:00 Fabien Bodard : > I think you need to use the _Draw Event of the grid view. > > http://gambaswiki.org/wiki/comp/gb.qt4/gridview/.draw > > Event Draw ( X As Integer, Y As Integer, Width As Integer, Height As > Integer, Row As Integer, Column As Integer ) > > > the rect X,Y,Width,Height is the area where drawing. It is in fact > dependent of the Scroll translation so use these value to place > objects. > > To drawing a circle + a text in the _Draw event of the gridview: > > Paint.Ellipse(X,Y,Height, Height) > Paint.Stroke > > Paint.DrawText("MyText",Width,Y,Width-Height,Height) > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gridviewdrawexample-0.0.1.tar.gz Type: application/x-gzip Size: 12368 bytes Desc: not available URL: From t.lee.davidson at ...626... Sun Aug 6 02:07:37 2017 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 5 Aug 2017 20:07:37 -0400 Subject: [Gambas-user] UDP-Socket-Client In-Reply-To: <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> References: <20170730182027.GD584@...3600...> <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> Message-ID: <51447fba-2525-8ab0-a6c7-e61e3bda593f@...626...> On 08/04/2017 11:33 AM, Hans Lehmann wrote: > Hello. > > Does anyone have any experience how to query with a UDP socket client on port 123 the time from a time server? A socket client > on port 37 will work correctly, but only the seconds since 1.1.1900 will be returned. This accuracy is not enough. > > Sincerely > > Hans I assume you mean that you need (not necessarily greater accuracy which is dependent upon the server, but) greater precision by retrieving also the fractional part of the seconds since the NTP epoch? No real-world, production experience here, but have a look at the attached example. -- Lee -------------- next part -------------- A non-text attachment was scrubbed... Name: ntpexample-0.0.1.tar.gz Type: application/gzip Size: 12414 bytes Desc: not available URL: From buster6seven at ...626... Sun Aug 6 06:18:50 2017 From: buster6seven at ...626... (Shane) Date: Sun, 6 Aug 2017 14:18:50 +1000 Subject: [Gambas-user] Shell command Message-ID: I have this in a sub form Public sdevices As String Public Sub SaveOps_Click() Settings["Options/CCompCLine"] = TextBox1.Text Settings["Options/stmDevice"] = ComboBox1.Current 'Settings.Save() Me.Close End Public Sub Form_Open() Dim devices As String[] Dim d As String ' TextBox1.Text = Settings["Options/CCompCLine"] Shell "stm8flash -l" To sdevices ' fill combobox with devices devices = Split(sdevices, " ") For Each d In devices ComboBox1.Add(d) Next ' ComboBox1.Find(Settings["Options/stmDevice"]) End but when I exit this form and then the main form i get s Seg fault but with the shell part commented out it is ok what am i doing wrong ? any ideas Thanks Shane From jussi.lahtinen at ...626... Sun Aug 6 14:17:53 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 6 Aug 2017 15:17:53 +0300 Subject: [Gambas-user] Shell command In-Reply-To: References: Message-ID: I guess settings component can't handle saving of arbitrary object. In this case "Settings["Options/stmDevice"] = ComboBox1.Current". Maybe you want to save ComboBox1.Current.Text? However there shouldn't be segfault. Jussi On Sun, Aug 6, 2017 at 7:18 AM, Shane wrote: > I have this in a sub form > > Public sdevices As String > > > Public Sub SaveOps_Click() > > Settings["Options/CCompCLine"] = TextBox1.Text > Settings["Options/stmDevice"] = ComboBox1.Current > 'Settings.Save() > Me.Close > End > > Public Sub Form_Open() > Dim devices As String[] > Dim d As String > ' > TextBox1.Text = Settings["Options/CCompCLine"] > Shell "stm8flash -l" To sdevices > ' fill combobox with devices > devices = Split(sdevices, " ") > For Each d In devices > ComboBox1.Add(d) > Next > ' ComboBox1.Find(Settings["Options/stmDevice"]) > > End > > but when I exit this form and then the main form i get s Seg fault > > but with the shell part commented out it is ok what am i doing wrong ? > > any ideas > > Thanks Shane > > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From hans at ...3219... Sun Aug 6 15:21:17 2017 From: hans at ...3219... (Hans Lehmann) Date: Sun, 6 Aug 2017 15:21:17 +0200 Subject: [Gambas-user] Difference DateDiff(...) ? In-Reply-To: <51447fba-2525-8ab0-a6c7-e61e3bda593f@...626...> References: <20170730182027.GD584@...3600...> <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> <51447fba-2525-8ab0-a6c7-e61e3bda593f@...626...> Message-ID: <63ff5ce7-be10-e697-7d75-367c60f0a684@...3219...> Hello, Why are two different results: Public Sub Main() Dim a, b As Long a = DateDiff("01/01/1900", "01/01/1935", gb.Second) b = DateDiff("01/01/1935", "01/01/1970 ", gb.Second) Print a + b Print DateDiff("01/01/1900", "01/01/1935", gb.Second) + DateDiff("01/01/1935", "01/01/1970 ", gb.Second) End Results: 2208988800 ' ok -2085978496 ' complement? Best regards Hans From d4t4full at ...626... Sun Aug 6 16:30:39 2017 From: d4t4full at ...626... (d4t4full at ...626...) Date: Sun, 06 Aug 2017 11:30:39 -0300 Subject: [Gambas-user] Difference DateDiff(...) ? In-Reply-To: <63ff5ce7-be10-e697-7d75-367c60f0a684@...3219...> References: <20170730182027.GD584@...3600...> <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> <51447fba-2525-8ab0-a6c7-e61e3bda593f@...626...> <63ff5ce7-be10-e697-7d75-367c60f0a684@...3219...> Message-ID: <4f8164af-22bb-4fde-a91c-e1bb1a6d5895@...626...> Without a machine nearby, I'd risk you're in the right track. The DIM AS LONG creates 64bit vars while DateDiff may return 32bit data (don't have the docs with me). Print will use 64bit to print the vars and 32bit with direct DateDiff (you may confirm by using CLng to affect the DateDiff's in the second Print) Remember that when you have the most significant bit (MSB) set, Gambas will interpret the value as twos-complement sign and yield negative values. Regards, zxMarce. On Aug 6, 2017, 10:21, at 10:21, Hans Lehmann wrote: >Hello, >Why are two different results: > >Public Sub Main() > > Dim a, b As Long > > a = DateDiff("01/01/1900", "01/01/1935", gb.Second) > b = DateDiff("01/01/1935", "01/01/1970 ", gb.Second) > > Print a + b > Print DateDiff("01/01/1900", "01/01/1935", gb.Second) + >DateDiff("01/01/1935", "01/01/1970 ", gb.Second) > >End > >Results: > >2208988800 ' ok >-2085978496 ' complement? > >Best regards > >Hans >------------------------------------------------------------------------------ >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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From tmorehen at ...3602... Sun Aug 6 17:00:12 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 6 Aug 2017 11:00:12 -0400 Subject: [Gambas-user] Difference DateDiff(...) ? In-Reply-To: <4f8164af-22bb-4fde-a91c-e1bb1a6d5895@...626...> References: <20170730182027.GD584@...3600...> <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> <51447fba-2525-8ab0-a6c7-e61e3bda593f@...626...> <63ff5ce7-be10-e697-7d75-367c60f0a684@...3219...> <4f8164af-22bb-4fde-a91c-e1bb1a6d5895@...626...> Message-ID: <11691c42-e9ce-466f-5092-71e430ae53a5@...3602...> zxMarce, you are exactly right. DateDiff returns an integer so when print adds the two datediff it adds 2 signed integers and gets an signed integer. Since the max value of a signed integer is 2147483647, the answer of 2208988800 overflows to -2085978496. So print's behaviour is as expected. The only question is: Should print raise an overflow error? Note that there has not been a hardware overflow so the gambas's math engine must do the overflow check (by matching signs). On 2017-08-06 10:30 AM, d4t4full at ...626... wrote: > Without a machine nearby, I'd risk you're in the right track. > > The DIM AS LONG creates 64bit vars while DateDiff may return 32bit data (don't have the docs with me). > > Print will use 64bit to print the vars and 32bit with direct DateDiff (you may confirm by using CLng to affect the DateDiff's in the second Print) > > Remember that when you have the most significant bit (MSB) set, Gambas will interpret the value as twos-complement sign and yield negative values. > > Regards, > zxMarce. > > > On Aug 6, 2017, 10:21, at 10:21, Hans Lehmann wrote: >> Hello, >> Why are two different results: >> >> Public Sub Main() >> >> Dim a, b As Long >> >> a = DateDiff("01/01/1900", "01/01/1935", gb.Second) >> b = DateDiff("01/01/1935", "01/01/1970 ", gb.Second) >> >> Print a + b >> Print DateDiff("01/01/1900", "01/01/1935", gb.Second) + >> DateDiff("01/01/1935", "01/01/1970 ", gb.Second) >> >> End >> >> Results: >> >> 2208988800 ' ok >> -2085978496 ' complement? >> >> Best regards >> >> Hans >> ------------------------------------------------------------------------------ >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tmorehen at ...3602... Sun Aug 6 17:56:27 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 6 Aug 2017 11:56:27 -0400 Subject: [Gambas-user] [CRASH REPORT] gbUDisk2 Message-ID: <057cc8c3-01fe-d973-ab6c-1fe040f05a46@...3602...> Hello all, Damn, my program crashed Gambas this way : 1) Run the program 2) Plug in a usb drive 3) Click the mount button, mounts OK 4) Click the unmount button Program crashes Aborted(6) Console shows realloc error invalid old size Background: I'm writing a Udisks2 module that communicates with UDisks2 over dbus. It gathers drive info on existing drives and receives notifications when a new drive is plugged in, usb stick etc. Two problems: 1) The crash above. Note that unmount works if the usb drive is already plugged in. Careful: the program defaults to unmounting /dev/sdb1. Make sure you use the right drive id. 2) The program intially sends some basic drive info to debug output. First, it prints the info item by item with no problems. Then it tries to print the same items in one print statement. Some of the output is garbage. What's worst, I've tried saving each info item to separate variables. If I step through the assignments one item at a time, the individual assignment is at first correct. However, after the next item is assigned, the previous item's value also changes. This looks like a buffer overrun or a stack overflow. -------------- next part -------------- A non-text attachment was scrubbed... Name: gbUDisk2-0.0.1-crash-170806-114746.tar.bz2 Type: application/x-bzip Size: 16423 bytes Desc: not available URL: From d4t4full at ...626... Sun Aug 6 20:27:30 2017 From: d4t4full at ...626... (d4t4full at ...626...) Date: Sun, 06 Aug 2017 15:27:30 -0300 Subject: [Gambas-user] Difference DateDiff(...) ? In-Reply-To: <11691c42-e9ce-466f-5092-71e430ae53a5@...3602...> References: <20170730182027.GD584@...3600...> <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> <51447fba-2525-8ab0-a6c7-e61e3bda593f@...626...> <63ff5ce7-be10-e697-7d75-367c60f0a684@...3219...> <4f8164af-22bb-4fde-a91c-e1bb1a6d5895@...626...> <11691c42-e9ce-466f-5092-71e430ae53a5@...3602...> Message-ID: <7e47e571-a685-49af-8e33-e34f883d5c2e@...626...> Toni, I don't think Print is at fault here at all. My guess is that DateDiff may need an "attitude adjustment" in these cases: It may need to either raise an overflow error or return a 64bit Long. Hope this helps, zxMarce. On Aug 6, 2017, 12:00, at 12:00, Tony Morehen wrote: >zxMarce, you are exactly right. DateDiff returns an integer so when >print adds the two datediff it adds 2 signed integers and gets an >signed >integer. Since the max value of a signed integer is 2147483647, the >answer of 2208988800 overflows to -2085978496. So print's behaviour is >as expected. The only question is: Should print raise an overflow >error? Note that there has not been a hardware overflow so the >gambas's >math engine must do the overflow check (by matching signs). > > >On 2017-08-06 10:30 AM, d4t4full at ...626... wrote: >> Without a machine nearby, I'd risk you're in the right track. >> >> The DIM AS LONG creates 64bit vars while DateDiff may return 32bit >data (don't have the docs with me). >> >> Print will use 64bit to print the vars and 32bit with direct DateDiff >(you may confirm by using CLng to affect the DateDiff's in the second >Print) >> >> Remember that when you have the most significant bit (MSB) set, >Gambas will interpret the value as twos-complement sign and yield >negative values. >> >> Regards, >> zxMarce. >> >> >> On Aug 6, 2017, 10:21, at 10:21, Hans Lehmann >wrote: >>> Hello, >>> Why are two different results: >>> >>> Public Sub Main() >>> >>> Dim a, b As Long >>> >>> a = DateDiff("01/01/1900", "01/01/1935", gb.Second) >>> b = DateDiff("01/01/1935", "01/01/1970 ", gb.Second) >>> >>> Print a + b >>> Print DateDiff("01/01/1900", "01/01/1935", gb.Second) + >>> DateDiff("01/01/1935", "01/01/1970 ", gb.Second) >>> >>> End >>> >>> Results: >>> >>> 2208988800 ' ok >>> -2085978496 ' complement? >>> >>> Best regards >>> >>> Hans >>> >------------------------------------------------------------------------------ >>> 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 at 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 at 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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From tmorehen at ...3602... Sun Aug 6 20:44:34 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 6 Aug 2017 14:44:34 -0400 Subject: [Gambas-user] Difference DateDiff(...) ? In-Reply-To: <7e47e571-a685-49af-8e33-e34f883d5c2e@...626...> References: <20170730182027.GD584@...3600...> <6ea56f3e-56f2-3023-5931-8404d90de0c3@...3219...> <51447fba-2525-8ab0-a6c7-e61e3bda593f@...626...> <63ff5ce7-be10-e697-7d75-367c60f0a684@...3219...> <4f8164af-22bb-4fde-a91c-e1bb1a6d5895@...626...> <11691c42-e9ce-466f-5092-71e430ae53a5@...3602...> <7e47e571-a685-49af-8e33-e34f883d5c2e@...626...> Message-ID: <49e144d4-1dd6-7a70-7809-df9c70387a07@...3602...> You're right. Print is not the problem. Another part of Gambas could raise an error. But Benoit is right. Doing this kind of check is too resource intensive. You're also right. Since DateDiff(gb.second) will overflow for a ~70 year difference, over the longer term, it should return a long. Since this kind of edge case is rare, it's not an urgent change and,in fact, may cause problems for existing code. On 2017-08-06 02:27 PM, d4t4full at ...626... wrote: > Toni, > > I don't think Print is at fault here at all. My guess is that DateDiff may need an "attitude adjustment" in these cases: It may need to either raise an overflow error or return a 64bit Long. > > Hope this helps, > zxMarce. > > > > On Aug 6, 2017, 12:00, at 12:00, Tony Morehen wrote: >> zxMarce, you are exactly right. DateDiff returns an integer so when >> print adds the two datediff it adds 2 signed integers and gets an >> signed >> integer. Since the max value of a signed integer is 2147483647, the >> answer of 2208988800 overflows to -2085978496. So print's behaviour is >> as expected. The only question is: Should print raise an overflow >> error? Note that there has not been a hardware overflow so the >> gambas's >> math engine must do the overflow check (by matching signs). >> >> >> On 2017-08-06 10:30 AM, d4t4full at ...626... wrote: >>> Without a machine nearby, I'd risk you're in the right track. >>> >>> The DIM AS LONG creates 64bit vars while DateDiff may return 32bit >> data (don't have the docs with me). >>> Print will use 64bit to print the vars and 32bit with direct DateDiff >> (you may confirm by using CLng to affect the DateDiff's in the second >> Print) >>> Remember that when you have the most significant bit (MSB) set, >> Gambas will interpret the value as twos-complement sign and yield >> negative values. >>> Regards, >>> zxMarce. >>> >>> >>> On Aug 6, 2017, 10:21, at 10:21, Hans Lehmann >> wrote: >>>> Hello, >>>> Why are two different results: >>>> >>>> Public Sub Main() >>>> >>>> Dim a, b As Long >>>> >>>> a = DateDiff("01/01/1900", "01/01/1935", gb.Second) >>>> b = DateDiff("01/01/1935", "01/01/1970 ", gb.Second) >>>> >>>> Print a + b >>>> Print DateDiff("01/01/1900", "01/01/1935", gb.Second) + >>>> DateDiff("01/01/1935", "01/01/1970 ", gb.Second) >>>> >>>> End >>>> >>>> Results: >>>> >>>> 2208988800 ' ok >>>> -2085978496 ' complement? >>>> >>>> Best regards >>>> >>>> Hans >>>> >> ------------------------------------------------------------------------------ >>>> 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From buster6seven at ...626... Mon Aug 7 02:35:49 2017 From: buster6seven at ...626... (Shane) Date: Mon, 7 Aug 2017 10:35:49 +1000 Subject: [Gambas-user] Shell command In-Reply-To: References: Message-ID: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> Hi Jussi I gave that a try by commenting that line out still the same result so that not the problem On 06/08/17 22:17, Jussi Lahtinen wrote: > I guess settings component can't handle saving of arbitrary object. In this > case "Settings["Options/stmDevice"] = ComboBox1.Current". Maybe you want to > save ComboBox1.Current.Text? > However there shouldn't be segfault. > > > Jussi > > On Sun, Aug 6, 2017 at 7:18 AM, Shane wrote: > >> I have this in a sub form >> >> Public sdevices As String >> >> >> Public Sub SaveOps_Click() >> >> Settings["Options/CCompCLine"] = TextBox1.Text >> Settings["Options/stmDevice"] = ComboBox1.Current >> 'Settings.Save() >> Me.Close >> End >> >> Public Sub Form_Open() >> Dim devices As String[] >> Dim d As String >> ' >> TextBox1.Text = Settings["Options/CCompCLine"] >> Shell "stm8flash -l" To sdevices >> ' fill combobox with devices >> devices = Split(sdevices, " ") >> For Each d In devices >> ComboBox1.Add(d) >> Next >> ' ComboBox1.Find(Settings["Options/stmDevice"]) >> >> End >> >> but when I exit this form and then the main form i get s Seg fault >> >> but with the shell part commented out it is ok what am i doing wrong ? >> >> any ideas >> >> Thanks Shane >> >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tmorehen at ...3602... Mon Aug 7 03:10:57 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 6 Aug 2017 21:10:57 -0400 Subject: [Gambas-user] Shell command In-Reply-To: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> References: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> Message-ID: <301d71da-336f-f69d-4f10-0fc4abc2d17f@...3602...> what is the output of the shell line? If you could post the complete output, we could properly test your code. You could try this line: devices = Split(sdevices, " ", "", True) On 2017-08-06 08:35 PM, Shane wrote: > Hi Jussi > > I gave that a try by commenting that line out still the same result so > that not the problem > > > > On 06/08/17 22:17, Jussi Lahtinen wrote: >> I guess settings component can't handle saving of arbitrary object. >> In this >> case "Settings["Options/stmDevice"] = ComboBox1.Current". Maybe you >> want to >> save ComboBox1.Current.Text? >> However there shouldn't be segfault. >> >> >> Jussi >> >> On Sun, Aug 6, 2017 at 7:18 AM, Shane wrote: >> >>> I have this in a sub form >>> >>> Public sdevices As String >>> >>> >>> Public Sub SaveOps_Click() >>> >>> Settings["Options/CCompCLine"] = TextBox1.Text >>> Settings["Options/stmDevice"] = ComboBox1.Current >>> 'Settings.Save() >>> Me.Close >>> End >>> >>> Public Sub Form_Open() >>> Dim devices As String[] >>> Dim d As String >>> ' >>> TextBox1.Text = Settings["Options/CCompCLine"] >>> Shell "stm8flash -l" To sdevices >>> ' fill combobox with devices >>> devices = Split(sdevices, " ") >>> For Each d In devices >>> ComboBox1.Add(d) >>> Next >>> ' ComboBox1.Find(Settings["Options/stmDevice"]) >>> >>> End >>> >>> but when I exit this form and then the main form i get s Seg fault >>> >>> but with the shell part commented out it is ok what am i doing wrong ? >>> >>> any ideas >>> >>> Thanks Shane >>> >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Mon Aug 7 03:29:38 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 7 Aug 2017 04:29:38 +0300 Subject: [Gambas-user] Shell command In-Reply-To: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> References: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> Message-ID: Is that all the code in the form? Can you give your system information? Jussi On Mon, Aug 7, 2017 at 3:35 AM, Shane wrote: > Hi Jussi > > I gave that a try by commenting that line out still the same result so > that not the problem > > > > > On 06/08/17 22:17, Jussi Lahtinen wrote: > >> I guess settings component can't handle saving of arbitrary object. In >> this >> case "Settings["Options/stmDevice"] = ComboBox1.Current". Maybe you want >> to >> save ComboBox1.Current.Text? >> However there shouldn't be segfault. >> >> >> Jussi >> >> On Sun, Aug 6, 2017 at 7:18 AM, Shane wrote: >> >> I have this in a sub form >>> >>> Public sdevices As String >>> >>> >>> Public Sub SaveOps_Click() >>> >>> Settings["Options/CCompCLine"] = TextBox1.Text >>> Settings["Options/stmDevice"] = ComboBox1.Current >>> 'Settings.Save() >>> Me.Close >>> End >>> >>> Public Sub Form_Open() >>> Dim devices As String[] >>> Dim d As String >>> ' >>> TextBox1.Text = Settings["Options/CCompCLine"] >>> Shell "stm8flash -l" To sdevices >>> ' fill combobox with devices >>> devices = Split(sdevices, " ") >>> For Each d In devices >>> ComboBox1.Add(d) >>> Next >>> ' ComboBox1.Find(Settings["Options/stmDevice"]) >>> >>> End >>> >>> but when I exit this form and then the main form i get s Seg fault >>> >>> but with the shell part commented out it is ok what am i doing wrong ? >>> >>> any ideas >>> >>> Thanks Shane >>> >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From buster6seven at ...626... Mon Aug 7 03:30:05 2017 From: buster6seven at ...626... (Shane) Date: Mon, 7 Aug 2017 11:30:05 +1000 Subject: [Gambas-user] Shell command In-Reply-To: <301d71da-336f-f69d-4f10-0fc4abc2d17f@...3602...> References: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> <301d71da-336f-f69d-4f10-0fc4abc2d17f@...3602...> Message-ID: Same thing here is a file with the output On 07/08/17 11:10, Tony Morehen wrote: > what is the output of the shell line? If you could post the complete > output, we could properly test your code. > > You could try this line: > > devices = Split(sdevices, " ", "", True) > > > On 2017-08-06 08:35 PM, Shane wrote: >> Hi Jussi >> >> I gave that a try by commenting that line out still the same result >> so that not the problem >> >> >> >> On 06/08/17 22:17, Jussi Lahtinen wrote: >>> I guess settings component can't handle saving of arbitrary object. >>> In this >>> case "Settings["Options/stmDevice"] = ComboBox1.Current". Maybe you >>> want to >>> save ComboBox1.Current.Text? >>> However there shouldn't be segfault. >>> >>> >>> Jussi >>> >>> On Sun, Aug 6, 2017 at 7:18 AM, Shane wrote: >>> >>>> I have this in a sub form >>>> >>>> Public sdevices As String >>>> >>>> >>>> Public Sub SaveOps_Click() >>>> >>>> Settings["Options/CCompCLine"] = TextBox1.Text >>>> Settings["Options/stmDevice"] = ComboBox1.Current >>>> 'Settings.Save() >>>> Me.Close >>>> End >>>> >>>> Public Sub Form_Open() >>>> Dim devices As String[] >>>> Dim d As String >>>> ' >>>> TextBox1.Text = Settings["Options/CCompCLine"] >>>> Shell "stm8flash -l" To sdevices >>>> ' fill combobox with devices >>>> devices = Split(sdevices, " ") >>>> For Each d In devices >>>> ComboBox1.Add(d) >>>> Next >>>> ' ComboBox1.Find(Settings["Options/stmDevice"]) >>>> >>>> End >>>> >>>> but when I exit this form and then the main form i get s Seg fault >>>> >>>> but with the shell part commented out it is ok what am i doing wrong ? >>>> >>>> any ideas >>>> >>>> Thanks Shane >>>> >>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- stlux???a stm8af526? stm8af528? stm8af52a? stm8af6213 stm8af6223 stm8af6223a stm8af6226 stm8af624? stm8af6266 stm8af6268 stm8af6269 stm8af628? stm8af62a? stm8al313? stm8al314? stm8al316? stm8al3l4? stm8al3l6? stm8l051f3 stm8l052c6 stm8l052r8 stm8l101f1 stm8l101?2 stm8l101?3 stm8l151?2 stm8l151?3 stm8l151?4 stm8l151?6 stm8l151?8 stm8l152?4 stm8l152?6 stm8l152?8 stm8l162?8 stm8s003?3 stm8s005?6 stm8s007c8 stm8s103f2 stm8s103?3 stm8s105?4 stm8s105?6 stm8s207c8 stm8s207cb stm8s207k8 stm8s207m8 stm8s207mb stm8s207r8 stm8s207rb stm8s207s8 stm8s207sb stm8s207?6 stm8s208c6 stm8s208s6 stm8s208?8 stm8s208?b stm8s903?3 stm8splnb1 stm8tl5??4 stnrg???a From buster6seven at ...626... Mon Aug 7 03:32:06 2017 From: buster6seven at ...626... (Shane) Date: Mon, 7 Aug 2017 11:32:06 +1000 Subject: [Gambas-user] Shell command In-Reply-To: References: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> Message-ID: <82d8ade6-b76b-ed32-6c9c-3723e8e128fd@...626...> here is all the code Public sdevices As String Public Sub SaveOps_Click() Settings["Options/CCompCLine"] = TextBox1.Text Settings["Options/stmDevice"] = ComboBox1.Current 'Settings.Save() Me.Close End Public Sub Form_Open() Dim devices As String[] Dim d As String ' 'TextBox1.Text = Settings["Options/CCompCLine"] Shell "stm8flash -l" To sdevices 'sdevices = Replace(sdevices, "\n", "") ' fill combobox with devices devices = Split(sdevices, " ", "", True) For Each d In devices ComboBox1.Add(d) Next ' ComboBox1.Find(Settings["Options/stmDevice"]) Print "end" End Public Sub Button1_Click() Me.Close End and system info [System] Gambas=3.10.90 OperatingSystem=Linux Kernel=4.4.0-45-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk Language=en_AU.UTF-8 Memory=3805M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 QT5=libQt5Core.so.5.8.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-o3iPH8ksHu,guid=7e7674d387bd0d61a1434e3e5987a82c 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-NMrGUV GNOME_KEYRING_PID=2227 GPG_AGENT_INFO=/run/user/1000/keyring-NMrGUV/gpg:0:1 HOME= KICAD_PATH=/usr/share/kicad KIGITHUB=https://github.com/KiCad LANG=en_AU.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=en_AU.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1540,unix/:/tmp/.ICE-unix/1540 SHELL=/bin/bash SSH_AGENT_PID=2046 SSH_AUTH_SOCK=/run/user/1000/keyring-NMrGUV/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1502062630.656915-940133850 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 On 07/08/17 11:29, Jussi Lahtinen wrote: > Is that all the code in the form? Can you give your system information? > > > Jussi > > On Mon, Aug 7, 2017 at 3:35 AM, Shane wrote: > >> Hi Jussi >> >> I gave that a try by commenting that line out still the same result so >> that not the problem >> >> >> >> >> On 06/08/17 22:17, Jussi Lahtinen wrote: >> >>> I guess settings component can't handle saving of arbitrary object. In >>> this >>> case "Settings["Options/stmDevice"] = ComboBox1.Current". Maybe you want >>> to >>> save ComboBox1.Current.Text? >>> However there shouldn't be segfault. >>> >>> >>> Jussi >>> >>> On Sun, Aug 6, 2017 at 7:18 AM, Shane wrote: >>> >>> I have this in a sub form >>>> Public sdevices As String >>>> >>>> >>>> Public Sub SaveOps_Click() >>>> >>>> Settings["Options/CCompCLine"] = TextBox1.Text >>>> Settings["Options/stmDevice"] = ComboBox1.Current >>>> 'Settings.Save() >>>> Me.Close >>>> End >>>> >>>> Public Sub Form_Open() >>>> Dim devices As String[] >>>> Dim d As String >>>> ' >>>> TextBox1.Text = Settings["Options/CCompCLine"] >>>> Shell "stm8flash -l" To sdevices >>>> ' fill combobox with devices >>>> devices = Split(sdevices, " ") >>>> For Each d In devices >>>> ComboBox1.Add(d) >>>> Next >>>> ' ComboBox1.Find(Settings["Options/stmDevice"]) >>>> >>>> End >>>> >>>> but when I exit this form and then the main form i get s Seg fault >>>> >>>> but with the shell part commented out it is ok what am i doing wrong ? >>>> >>>> any ideas >>>> >>>> Thanks Shane >>>> >>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From buster6seven at ...626... Mon Aug 7 03:52:05 2017 From: buster6seven at ...626... (Shane) Date: Mon, 7 Aug 2017 11:52:05 +1000 Subject: [Gambas-user] Shell command formating Message-ID: So again on the shell command I have this code Dim result As String Dim command As String path = File.SetExt(file_name, "ihx") command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path Shell command To result FMain.TextArea1.Text = result but the output is going to stdout and not the result String i know it to do with the command string but now do you set it up ? Thanks Shane.. From adrien.prokopowicz at ...626... Mon Aug 7 13:46:35 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 07 Aug 2017 13:46:35 +0200 Subject: [Gambas-user] mediaplayer In-Reply-To: References: Message-ID: Le Fri, 04 Aug 2017 07:53:50 +0200, Shane a ?crit: > I think there might be a bug in the mediaplayer as the event > mediaplayer_Progress Event is never raised > It works correctly for me : I have a label in my app that updates with this event and I use it regularly with the latest builds without any problem. Can you send us the project, maybe it's a problem with your code ? -- Adrien Prokopowicz From moviga at ...3488... Mon Aug 7 14:26:34 2017 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 07 Aug 2017 14:26:34 +0200 Subject: [Gambas-user] QTWebKit Message-ID: <45e5ea653c410aac9bd558c08004c2dd@...3488...> Until QTWebEngine becomes a viable alternative for QTWebKit (contentEditable and evaluating javascript, 5.9 seems to be getting somwhere??[1] ), there seems to be more hope for keeping gb.gui.qt.webkit alive for still some time to come: https://blogs.gnome.org/mcatanzaro/2017/08/06/endgame-for-webkit-woes/ [1]:http://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html#evaluatejavascript From adrien.prokopowicz at ...626... Mon Aug 7 15:02:09 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 07 Aug 2017 15:02:09 +0200 Subject: [Gambas-user] [CRASH REPORT] gbUDisk2 In-Reply-To: <057cc8c3-01fe-d973-ab6c-1fe040f05a46@...3602...> References: <057cc8c3-01fe-d973-ab6c-1fe040f05a46@...3602...> Message-ID: Le Sun, 06 Aug 2017 17:56:27 +0200, Tony Morehen a ?crit: > Hello all, > > Damn, my program crashed Gambas this way : > > 1) Run the program > 2) Plug in a usb drive > 3) Click the mount button, mounts OK > 4) Click the unmount button > Program crashes Aborted(6) > Console shows realloc error invalid old size > > Background: > I'm writing a Udisks2 module that communicates with UDisks2 over dbus. > It gathers drive info on existing drives and receives notifications when > a new drive is plugged in, usb stick etc. > Two problems: > 1) The crash above. Note that unmount works if the usb drive is already > plugged in. Careful: the program defaults to unmounting /dev/sdb1. > Make sure you use the right drive id. > 2) The program intially sends some basic drive info to debug output. > First, it prints the info item by item with no problems. Then it tries > to print the same items in one print statement. Some of the output is > garbage. What's worst, I've tried saving each info item to separate > variables. If I step through the assignments one item at a time, the > individual assignment is at first correct. However, after the next item > is assigned, the previous item's value also changes. This looks like a > buffer overrun or a stack overflow. After a bit of searching, I found that the offending code can be reduced to this single line : Print DBus["system://org.freedesktop.UDisks2"]["/org/freedesktop/UDisks2/block_devices/sda1", "org.freedesktop.UDisks2.Filesystem"].MountPoints It appears this property gets translated to a Byte[][], but the interpreter crashes when trying to create one from the native components, because the class's symbol table is not initialized yet (as object classes are created dynamically). However, creating one from Gambas code works, and in fact, creating one before the D-Bus call makes it not crash anymore : Dim x As New Byte[][] Print DBus["system://org.freedesktop.UDisks2"]["/org/freedesktop/UDisks2/block_devices/sda1", "org.freedesktop.UDisks2.Filesystem"].MountPoints 'works! Now you have a workaround, for until this is actually fixed. :) Regards, -- Adrien Prokopowicz From t.lee.davidson at ...626... Mon Aug 7 16:00:38 2017 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Mon, 7 Aug 2017 10:00:38 -0400 Subject: [Gambas-user] Shell command formating In-Reply-To: References: Message-ID: On 08/06/2017 09:52 PM, Shane wrote: > So again on the shell command I have this code > > Dim result As String > Dim command As String > > path = File.SetExt(file_name, "ihx") > > command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path > > Shell command To result > > FMain.TextArea1.Text = result > > but the output is going to stdout and not the result String i know it to do with the command string > > but now do you set it up ? > > Thanks Shane.. > Perhaps the output is actually going to stderr for some silly reason. Maybe try redirecting stderr to stdout: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path & " 2>&1" -- Lee From tmorehen at ...3602... Mon Aug 7 16:17:46 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Mon, 7 Aug 2017 10:17:46 -0400 Subject: [Gambas-user] Shell command In-Reply-To: <82d8ade6-b76b-ed32-6c9c-3723e8e128fd@...626...> References: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> <82d8ade6-b76b-ed32-6c9c-3723e8e128fd@...626...> Message-ID: <4e9b726b-34ef-bd50-a08f-6ef6f41e2973@...3602...> Shane, I can reproduce your crash here on 3.9.2. It's cause is the line: Settings["Options/stmDevice"] = ComboBox1.Current If that line is changed to: Settings["Options/stmDevice"] = ComboBox1.Current.Text or the simpler, and in my mind preferred: Settings["Options/stmDevice"] = ComboBox1.Text The segmentation fault goes away. So the code that I'd recommend you use (I commented the code changes): Public sdevices As String Public Sub SaveOps_Click() Settings["Options/CCompCLine"] = TextBox1.Text 'to fix the crash Settings["Options/stmDevice"] = ComboBox1.Text Settings.Save() Me.Close End Public Sub Form_Open() Dim d As String TextBox1.Text = Settings["Options/CCompCLine"] Shell "stm8flash -l" To sdevices ' fill combobox with devices 'trim gets rid of the trailing "\n" 'moving Split into the loop saves an intermediate, unneeded string creation For Each d In Split(Trim(sdevices), " ", "", True) ComboBox1.Add(d) Next 'index = find selects the saved device ComboBox1.Index = ComboBox1.Find(Settings["Options/stmDevice"]) End From tmorehen at ...3602... Mon Aug 7 16:30:32 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Mon, 7 Aug 2017 10:30:32 -0400 Subject: [Gambas-user] Shell command formating In-Reply-To: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> Message-ID: <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> Try changing command to: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path & " 2>1" On 2017-08-06 09:52 PM, Shane wrote: > command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path From tmorehen at ...3602... Mon Aug 7 19:31:54 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Mon, 7 Aug 2017 13:31:54 -0400 Subject: [Gambas-user] [CRASH REPORT] gbUDisk2 In-Reply-To: References: <057cc8c3-01fe-d973-ab6c-1fe040f05a46@...3602...> Message-ID: <29d8a3db-fe50-4283-121b-268b46612424@...3602...> #8173 seems to have fixed everything, including a crash when I enable dbus signalling, which I haven't brought up yet. Now I have to figure out how to install 8173 to all my PCs Some advice please. Currently, I have many calls like DBus["system://org.freedesktop.UDisks2"]["/org/freedesktop/UDisks2/block_devices/sda1", "org.freedesktop.UDisks2.Filesystem"].MountPoints. (status quo) I can replace it with new approach 1: Private $DBusApp As DBusApplication = New DBusApplication(MyDBus.System, $Application) mnt=$DBusApp["/org/freedesktop/UDisks2/block_devices/sda1", "org.freedesktop.UDisks2.Filesystem"].MountPoints or even new approach 2: Private Proxy as DBusProxy Proxy = $DBusApp["/org/freedesktop/UDisks2/block_devices/sda1", "org.freedesktop.UDisks2.Filesystem"] mnt=Proxy.Mountpoints What would be your preferred approach? I know that the DBus class caches DBus Applications so that there doesn't seem to be any resource advantages to new approach 1. New approach 2 will require 2 proxies for each drive, one for the Filesystem interface and one for the Block interface. On 2017-08-07 09:52 AM, Beno?t Minisini wrote: > Le 07/08/2017 ? 15:02, Adrien Prokopowicz a ?crit : >> Le Sun, 06 Aug 2017 17:56:27 +0200, Tony Morehen >> a ?crit: >> >>> Hello all, >>> >>> Damn, my program crashed Gambas this way : >>> >>> 1) Run the program >>> 2) Plug in a usb drive >>> 3) Click the mount button, mounts OK >>> 4) Click the unmount button >>> Program crashes Aborted(6) >>> Console shows realloc error invalid old size >>> >>> Background: >>> I'm writing a Udisks2 module that communicates with UDisks2 over dbus. >>> It gathers drive info on existing drives and receives notifications >>> when >>> a new drive is plugged in, usb stick etc. >>> Two problems: >>> 1) The crash above. Note that unmount works if the usb drive is >>> already >>> plugged in. Careful: the program defaults to unmounting /dev/sdb1. >>> Make sure you use the right drive id. >>> 2) The program intially sends some basic drive info to debug output. >>> First, it prints the info item by item with no problems. Then it tries >>> to print the same items in one print statement. Some of the output is >>> garbage. What's worst, I've tried saving each info item to separate >>> variables. If I step through the assignments one item at a time, the >>> individual assignment is at first correct. However, after the next item >>> is assigned, the previous item's value also changes. This looks like a >>> buffer overrun or a stack overflow. >> >> After a bit of searching, I found that the offending code can be >> reduced to >> this single line : >> >> Print >> DBus["system://org.freedesktop.UDisks2"]["/org/freedesktop/UDisks2/block_devices/sda1", >> "org.freedesktop.UDisks2.Filesystem"].MountPoints >> >> It appears this property gets translated to a Byte[][], but the >> interpreter crashes >> when trying to create one from the native components, because the >> class's symbol table >> is not initialized yet (as object classes are created dynamically). >> >> However, creating one from Gambas code works, and in fact, creating >> one before >> the D-Bus call makes it not crash anymore : >> >> Dim x As New Byte[][] >> Print >> DBus["system://org.freedesktop.UDisks2"]["/org/freedesktop/UDisks2/block_devices/sda1", >> "org.freedesktop.UDisks2.Filesystem"].MountPoints 'works! >> >> Now you have a workaround, for until this is actually fixed. :) >> >> Regards, > > Is it better with revision #8173? > From pinozollo at ...626... Tue Aug 8 03:23:03 2017 From: pinozollo at ...626... (Pino Zollo) Date: Mon, 7 Aug 2017 21:23:03 -0400 Subject: [Gambas-user] Packages for Mint 18.2 Message-ID: <39b3a097-0054-c3c6-6977-0245d2135625@...626...> Please edit the page http://gambas.sourceforge.net/en/main.html# these are the needed packages: sudo apt-get install build-essential g++ automake autoconf libtool libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl-dev libncurses5-dev libgmime-2.6-dev llvm-dev llvm libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev libssl-dev postgresql-server-dev-9.5 libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev Salud Pino From buster6seven at ...626... Tue Aug 8 03:43:07 2017 From: buster6seven at ...626... (Shane) Date: Tue, 8 Aug 2017 11:43:07 +1000 Subject: [Gambas-user] Shell command In-Reply-To: <4e9b726b-34ef-bd50-a08f-6ef6f41e2973@...3602...> References: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> <82d8ade6-b76b-ed32-6c9c-3723e8e128fd@...626...> <4e9b726b-34ef-bd50-a08f-6ef6f41e2973@...3602...> Message-ID: of cause missed that looking in wrong place Thanks Tony On 08/08/17 00:17, Tony Morehen wrote: > Shane, > > I can reproduce your crash here on 3.9.2. It's cause is the line: > > Settings["Options/stmDevice"] = ComboBox1.Current > > If that line is changed to: > > Settings["Options/stmDevice"] = ComboBox1.Current.Text > > or the simpler, and in my mind preferred: > > Settings["Options/stmDevice"] = ComboBox1.Text > > The segmentation fault goes away. > > So the code that I'd recommend you use (I commented the code changes): > > Public sdevices As String > > > Public Sub SaveOps_Click() > > Settings["Options/CCompCLine"] = TextBox1.Text > 'to fix the crash > Settings["Options/stmDevice"] = ComboBox1.Text > Settings.Save() > Me.Close > End > > Public Sub Form_Open() > Dim d As String > > TextBox1.Text = Settings["Options/CCompCLine"] > Shell "stm8flash -l" To sdevices > ' fill combobox with devices > 'trim gets rid of the trailing "\n" > 'moving Split into the loop saves an intermediate, unneeded string > creation > For Each d In Split(Trim(sdevices), " ", "", True) > ComboBox1.Add(d) > Next > 'index = find selects the saved device > ComboBox1.Index = ComboBox1.Find(Settings["Options/stmDevice"]) > End > > > > > > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From buster6seven at ...626... Tue Aug 8 03:54:14 2017 From: buster6seven at ...626... (Shane) Date: Tue, 8 Aug 2017 11:54:14 +1000 Subject: [Gambas-user] Shell command formating In-Reply-To: References: Message-ID: <7168fd53-75d8-7d84-5c07-9486f16d333c@...626...> That worked great T Lee thanks On 08/08/17 00:00, T Lee Davidson wrote: > On 08/06/2017 09:52 PM, Shane wrote: >> So again on the shell command I have this code >> >> Dim result As String >> Dim command As String >> >> path = File.SetExt(file_name, "ihx") >> >> command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path >> >> Shell command To result >> >> FMain.TextArea1.Text = result >> >> but the output is going to stdout and not the result String i know it >> to do with the command string >> >> but now do you set it up ? >> >> Thanks Shane.. >> > > Perhaps the output is actually going to stderr for some silly reason. > Maybe try redirecting stderr to stdout: > > command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path & " > 2>&1" > > From buster6seven at ...626... Tue Aug 8 03:55:30 2017 From: buster6seven at ...626... (Shane) Date: Tue, 8 Aug 2017 11:55:30 +1000 Subject: [Gambas-user] Shell command formating In-Reply-To: <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> Message-ID: thanks tony this works just needs the & in front of the 1 On 08/08/17 00:30, Tony Morehen wrote: > Try changing command to: > > command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path & " > 2>1" > > > On 2017-08-06 09:52 PM, Shane wrote: >> command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path > > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From hans at ...3219... Tue Aug 8 12:07:20 2017 From: hans at ...3219... (Hans Lehmann) Date: Tue, 8 Aug 2017 12:07:20 +0200 Subject: [Gambas-user] Read XML document directly ... In-Reply-To: References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> Message-ID: Hello, Question: Is there any way to access the nodes in an XML document by accessing the nodes and their attributes instead of sequentially iterating over the XML document?If YES, I would like a small example, if your time allows. Best regards Hans From adrien.prokopowicz at ...626... Tue Aug 8 13:32:49 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 08 Aug 2017 13:32:49 +0200 Subject: [Gambas-user] Read XML document directly ... In-Reply-To: References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> Message-ID: Le Tue, 08 Aug 2017 12:07:20 +0200, Hans Lehmann a ?crit: > Hello, > > Question: Is there any way to access the nodes in an XML document by > accessing the nodes and their attributes instead of sequentially > iterating over the XML document?If YES, I would like a small example, if > your time allows. > > Best regards > > Hans Hi Hans, It depends on what you want to do, but in general you would have to use the XmlDocument class to load all the document in memory, which gives you access to some methods to explore it. You can try a few examples here : https://gambas-playground.proko.eu/?gist=6c7007550e512894f48c5228cf8068b1 Regards, -- Adrien Prokopowicz From jussi.lahtinen at ...626... Tue Aug 8 14:00:52 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 8 Aug 2017 15:00:52 +0300 Subject: [Gambas-user] Shell command In-Reply-To: References: <74651183-0157-abf4-2b06-1bca25c1e92a@...626...> <82d8ade6-b76b-ed32-6c9c-3723e8e128fd@...626...> <4e9b726b-34ef-bd50-a08f-6ef6f41e2973@...3602...> Message-ID: Isn't that exactly what I suggested..? However there shouldn't be crash anyway, only error raised. Jussi On Tue, Aug 8, 2017 at 4:43 AM, Shane wrote: > of cause missed that looking in wrong place > > Thanks Tony > > > > On 08/08/17 00:17, Tony Morehen wrote: > >> Shane, >> >> I can reproduce your crash here on 3.9.2. It's cause is the line: >> >> Settings["Options/stmDevice"] = ComboBox1.Current >> >> If that line is changed to: >> >> Settings["Options/stmDevice"] = ComboBox1.Current.Text >> >> or the simpler, and in my mind preferred: >> >> Settings["Options/stmDevice"] = ComboBox1.Text >> >> The segmentation fault goes away. >> >> So the code that I'd recommend you use (I commented the code changes): >> >> Public sdevices As String >> >> >> Public Sub SaveOps_Click() >> >> Settings["Options/CCompCLine"] = TextBox1.Text >> 'to fix the crash >> Settings["Options/stmDevice"] = ComboBox1.Text >> Settings.Save() >> Me.Close >> End >> >> Public Sub Form_Open() >> Dim d As String >> >> TextBox1.Text = Settings["Options/CCompCLine"] >> Shell "stm8flash -l" To sdevices >> ' fill combobox with devices >> 'trim gets rid of the trailing "\n" >> 'moving Split into the loop saves an intermediate, unneeded string >> creation >> For Each d In Split(Trim(sdevices), " ", "", True) >> ComboBox1.Add(d) >> Next >> 'index = find selects the saved device >> ComboBox1.Index = ComboBox1.Find(Settings["Options/stmDevice"]) >> End >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Wed Aug 9 15:29:56 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 9 Aug 2017 15:29:56 +0200 Subject: [Gambas-user] Gambas ML problem Message-ID: What is happening to our ML? It does not seem to work anymore. Charlie here [0] asks this but I do not have receive it, and the last mails I received after 2 August here [0] do not appear. Probably Benoit has announced that version 3.10 is official but I have not received ... [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html From mckaygerhard at ...626... Wed Aug 9 15:34:18 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 9 Aug 2017 09:34:18 -0400 Subject: [Gambas-user] Gambas ML problem In-Reply-To: References: Message-ID: i neither received that anunce! also the mail list its horrible way, please at les CHANGE THE DEFAULT SETUP TO DONT DIGEST! so then each mail comes and arrives in own threath! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-09 9:29 GMT-04:00 Gianluigi : > What is happening to our ML? > It does not seem to work anymore. > Charlie here [0] asks this but I do not have receive it, and the last mails > I received after 2 August here [0] do not appear. > Probably Benoit has announced that version 3.10 is official but I have not > received ... > > [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rwe-sse at ...3629... Wed Aug 9 16:08:28 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 09 Aug 2017 16:08:28 +0200 Subject: [Gambas-user] Gambas ML problem In-Reply-To: References: Message-ID: <598B175C.40500@...3629...> Am 09.08.2017 15:29, schrieb Gianluigi: > What is happening to our ML? > It does not seem to work anymore. > Charlie here [0] asks this but I do not have receive it, and the last mails > I received after 2 August here [0] do not appear. > Probably Benoit has announced that version 3.10 is official but I have not > received ... > > [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html > ------------------------------------------------------------------------------ Everything fine on my side today. Regards Rolf From rwe-sse at ...3629... Wed Aug 9 16:14:33 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 09 Aug 2017 16:14:33 +0200 Subject: [Gambas-user] Creating a picture and inserting Message-ID: <598B18C9.8030704@...3629...> A similar question like a few days ago - now with a list view... Is there a way to create some form of a Picture and use it for the running program? What I think about: Using a DrawingArea, draw something small, make it a Picture and then directly use it to insert it into a ListView, GridView, on any Button etc. How can I save/re-use a Picture? Or do I have to draw it somewhere else? Thank you for your insight! Regards Rolf From jussi.lahtinen at ...626... Wed Aug 9 16:36:08 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 9 Aug 2017 17:36:08 +0300 Subject: [Gambas-user] Gambas ML problem In-Reply-To: <598B175C.40500@...3629...> References: <598B175C.40500@...3629...> Message-ID: +1 Jussi On Wed, Aug 9, 2017 at 5:08 PM, Rolf-Werner Eilert wrote: > Am 09.08.2017 15:29, schrieb Gianluigi: > >> What is happening to our ML? >> It does not seem to work anymore. >> Charlie here [0] asks this but I do not have receive it, and the last >> mails >> I received after 2 August here [0] do not appear. >> Probably Benoit has announced that version 3.10 is official but I have not >> received ... >> >> [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html >> ------------------------------------------------------------ >> ------------------ >> > > Everything fine on my side today. > > Regards > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Aug 9 16:46:33 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Aug 2017 16:46:33 +0200 Subject: [Gambas-user] Creating a picture and inserting In-Reply-To: <598B18C9.8030704@...3629...> References: <598B18C9.8030704@...3629...> Message-ID: well i do not understand what you want exactly ... drawing a picture with the mouse on the drawing area and copy the picture in a list view ? or Drawing picture/image dynamiquely in memory and then use it in a list view ? 2017-08-09 16:14 GMT+02:00 Rolf-Werner Eilert : > A similar question like a few days ago - now with a list view... > > Is there a way to create some form of a Picture and use it for the running > program? > > What I think about: Using a DrawingArea, draw something small, make it a > Picture and then directly use it to insert it into a ListView, GridView, on > any Button etc. > > How can I save/re-use a Picture? Or do I have to draw it somewhere else? > > Thank you for your insight! > > Regards > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From rwe-sse at ...3629... Wed Aug 9 17:00:24 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 09 Aug 2017 17:00:24 +0200 Subject: [Gambas-user] Creating a picture and inserting In-Reply-To: References: <598B18C9.8030704@...3629...> Message-ID: <598B2388.4000609@...3629...> I meant the latter: drawing the picture by the program dynamically and then use it directly. The only way I found was Picture.Save(), then Picture.Load() in the ListView or whatever, but that is somewhat roundabout. In my program, I could use it, because the picture would have to be made only once and then could stay the same, but it still needs to use the filesystem for it. Regards Rolf Am 09.08.2017 16:46, schrieb Fabien Bodard: > well i do not understand what you want exactly ... > > drawing a picture with the mouse on the drawing area and copy the > picture in a list view ? > > or > > Drawing picture/image dynamiquely in memory and then use it in a list view ? > > > > 2017-08-09 16:14 GMT+02:00 Rolf-Werner Eilert : >> A similar question like a few days ago - now with a list view... >> >> Is there a way to create some form of a Picture and use it for the running >> program? >> >> What I think about: Using a DrawingArea, draw something small, make it a >> Picture and then directly use it to insert it into a ListView, GridView, on >> any Button etc. >> >> How can I save/re-use a Picture? Or do I have to draw it somewhere else? >> >> Thank you for your insight! >> >> Regards >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambas.fr at ...626... Wed Aug 9 17:23:23 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Aug 2017 17:23:23 +0200 Subject: [Gambas-user] Creating a picture and inserting In-Reply-To: <598B2388.4000609@...3629...> References: <598B18C9.8030704@...3629...> <598B2388.4000609@...3629...> Message-ID: This is how :-) ' Gambas class file Public Sub Form_Open() Dim i As Integer Dim hImg As Image For i = 0 To 200 hImg = New Image(32, 32, Color.Transparent) Paint.Begin(hImg) Paint.Font.Bold = True Paint.Ellipse(0, 0, Paint.Width, Paint.Height) Paint.Brush = Paint.Color(Color.Yellow) Paint.Fill(True) Paint.Brush = Paint.Color(Color.Black) Paint.Stroke Paint.Text(i, 0, 0, Paint.Width, Paint.Height, Align.Center) Paint.Brush = Paint.Color(Color.red) Paint.Fill Paint.End ListView1.Add(i, "Item " & i, hImg.Picture) Next End 2017-08-09 17:00 GMT+02:00 Rolf-Werner Eilert : > I meant the latter: drawing the picture by the program dynamically and then > use it directly. > > The only way I found was Picture.Save(), then Picture.Load() in the ListView > or whatever, but that is somewhat roundabout. In my program, I could use it, > because the picture would have to be made only once and then could stay the > same, but it still needs to use the filesystem for it. > > Regards > Rolf > > > > Am 09.08.2017 16:46, schrieb Fabien Bodard: >> >> well i do not understand what you want exactly ... >> >> drawing a picture with the mouse on the drawing area and copy the >> picture in a list view ? >> >> or >> >> Drawing picture/image dynamiquely in memory and then use it in a list view >> ? >> >> >> >> 2017-08-09 16:14 GMT+02:00 Rolf-Werner Eilert : >>> >>> A similar question like a few days ago - now with a list view... >>> >>> Is there a way to create some form of a Picture and use it for the >>> running >>> program? >>> >>> What I think about: Using a DrawingArea, draw something small, make it a >>> Picture and then directly use it to insert it into a ListView, GridView, >>> on >>> any Button etc. >>> >>> How can I save/re-use a Picture? Or do I have to draw it somewhere else? >>> >>> Thank you for your insight! >>> >>> Regards >>> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From rwe-sse at ...3629... Wed Aug 9 17:42:04 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 09 Aug 2017 17:42:04 +0200 Subject: [Gambas-user] Creating a picture and inserting In-Reply-To: References: <598B18C9.8030704@...3629...> <598B2388.4000609@...3629...> Message-ID: <598B2D4C.6000102@...3629...> Yes! That was it! Thank you very much, Fabien! Regards Rolf Am 09.08.2017 17:23, schrieb Fabien Bodard: > Dim i As Integer > Dim hImg As Image > > For i = 0 To 200 > hImg = New Image(32, 32, Color.Transparent) > > Paint.Begin(hImg) > Paint.Font.Bold = True > > Paint.Ellipse(0, 0, Paint.Width, Paint.Height) > > Paint.Brush = Paint.Color(Color.Yellow) > Paint.Fill(True) > Paint.Brush = Paint.Color(Color.Black) > Paint.Stroke > > Paint.Text(i, 0, 0, Paint.Width, Paint.Height, Align.Center) > Paint.Brush = Paint.Color(Color.red) > Paint.Fill > > Paint.End > > ListView1.Add(i, "Item " & i, hImg.Picture) > Next From rwe-sse at ...3629... Wed Aug 9 18:20:49 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 09 Aug 2017 18:20:49 +0200 Subject: [Gambas-user] Creating a picture and inserting In-Reply-To: References: <598B18C9.8030704@...3629...> <598B2388.4000609@...3629...> Message-ID: <598B3661.8090003@...3629...> One more question: If I need a Picture (e.g. for a GridView), how do I convert it? Regards Rolf Am 09.08.2017 17:23, schrieb Fabien Bodard: > Dim i As Integer > Dim hImg As Image > > For i = 0 To 200 > hImg = New Image(32, 32, Color.Transparent) > > Paint.Begin(hImg) > Paint.Font.Bold = True > > Paint.Ellipse(0, 0, Paint.Width, Paint.Height) > > Paint.Brush = Paint.Color(Color.Yellow) > Paint.Fill(True) > Paint.Brush = Paint.Color(Color.Black) > Paint.Stroke > > Paint.Text(i, 0, 0, Paint.Width, Paint.Height, Align.Center) > Paint.Brush = Paint.Color(Color.red) > Paint.Fill > > Paint.End > > ListView1.Add(i, "Item " & i, hImg.Picture) > Next From bagonergi at ...626... Wed Aug 9 19:25:13 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 9 Aug 2017 19:25:13 +0200 Subject: [Gambas-user] Gambas ML problem In-Reply-To: References: <598B175C.40500@...3629...> Message-ID: I do not understand. Does it mean that you see here [0] mails sent in the last few days? Who received Charlie's email [1] or Ingo or alexchernoff mail? I am saying that Gambas User Nabble is not working and some things sent to them do not arrive by mail. [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html [1] http://gambas.8142.n7.nabble.com/Don-t-say-anything-td59988.html 2017-08-09 16:36 GMT+02:00 Jussi Lahtinen : > +1 > > > Jussi > > On Wed, Aug 9, 2017 at 5:08 PM, Rolf-Werner Eilert > wrote: > > > Am 09.08.2017 15:29, schrieb Gianluigi: > > > >> What is happening to our ML? > >> It does not seem to work anymore. > >> Charlie here [0] asks this but I do not have receive it, and the last > >> mails > >> I received after 2 August here [0] do not appear. > >> Probably Benoit has announced that version 3.10 is official but I have > not > >> received ... > >> > >> [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html > >> ------------------------------------------------------------ > >> ------------------ > >> > > > > Everything fine on my side today. > > > > Regards > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tmorehen at ...3602... Wed Aug 9 19:34:09 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Wed, 9 Aug 2017 13:34:09 -0400 Subject: [Gambas-user] Gambas ML problem In-Reply-To: References: <598B175C.40500@...3629...> Message-ID: <96df7d2b-fd4a-b4db-77e9-2d537bfc8576@...3602...> I haven't seen them either but nabble shows "This post has NOT been accepted by the mailing list yet." for all three posts. On 2017-08-09 01:25 PM, Gianluigi wrote: > I do not understand. > Does it mean that you see here [0] mails sent in the last few days? > Who received Charlie's email [1] or Ingo or alexchernoff mail? > > I am saying that Gambas User Nabble is not working and some things sent to > them do not arrive by mail. > > [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html > [1] http://gambas.8142.n7.nabble.com/Don-t-say-anything-td59988.html > > 2017-08-09 16:36 GMT+02:00 Jussi Lahtinen : > >> +1 >> >> >> Jussi >> >> On Wed, Aug 9, 2017 at 5:08 PM, Rolf-Werner Eilert >> wrote: >> >>> Am 09.08.2017 15:29, schrieb Gianluigi: >>> >>>> What is happening to our ML? >>>> It does not seem to work anymore. >>>> Charlie here [0] asks this but I do not have receive it, and the last >>>> mails >>>> I received after 2 August here [0] do not appear. >>>> Probably Benoit has announced that version 3.10 is official but I have >> not >>>> received ... >>>> >>>> [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html >>>> ------------------------------------------------------------ >>>> ------------------ >>>> >>> Everything fine on my side today. >>> >>> Regards >>> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Wed Aug 9 20:07:58 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 9 Aug 2017 20:07:58 +0200 Subject: [Gambas-user] Fwd: Gambas ML problem In-Reply-To: <28a704bf-d305-babc-2e66-33cd40ec7201@...1...> References: <28a704bf-d305-babc-2e66-33cd40ec7201@...1...> Message-ID: ---------- Forwarded message ---------- From: Beno?t Minisini Date: 2017-08-09 19:42 GMT+02:00 Subject: Re: [Gambas-user] Gambas ML problem To: Gianluigi Le 09/08/2017 ? 15:29, Gianluigi a ?crit : > What is happening to our ML? > It does not seem to work anymore. > Charlie here [0] asks this but I do not have receive it, and the last mails > I received after 2 August here [0] do not appear. > Probably Benoit has announced that version 3.10 is official but I have not > received ... > > [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html > Hi, As I cannot post to the mailing-list anymore, can you relay the message I put on http://gambas.sf.net on the mailing-list? Thanks in advance. -- Beno?t Minisini From bagonergi at ...626... Wed Aug 9 20:22:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 9 Aug 2017 20:22:40 +0200 Subject: [Gambas-user] Gambas ML problem In-Reply-To: <96df7d2b-fd4a-b4db-77e9-2d537bfc8576@...3602...> References: <598B175C.40500@...3629...> <96df7d2b-fd4a-b4db-77e9-2d537bfc8576@...3602...> Message-ID: I sent a Benoit message, if you did not receive it, read here http://gambas.sourceforge.net/en/main.html Regards Gianluigi 2017-08-09 19:34 GMT+02:00 Tony Morehen : > I haven't seen them either but nabble shows "This post has NOT been > accepted by the mailing list yet." for all three posts. > > > On 2017-08-09 01:25 PM, Gianluigi wrote: > >> I do not understand. >> Does it mean that you see here [0] mails sent in the last few days? >> Who received Charlie's email [1] or Ingo or alexchernoff mail? >> >> I am saying that Gambas User Nabble is not working and some things sent to >> them do not arrive by mail. >> >> [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html >> [1] http://gambas.8142.n7.nabble.com/Don-t-say-anything-td59988.html >> >> 2017-08-09 16:36 GMT+02:00 Jussi Lahtinen : >> >> +1 >>> >>> >>> Jussi >>> >>> On Wed, Aug 9, 2017 at 5:08 PM, Rolf-Werner Eilert >>> wrote: >>> >>> Am 09.08.2017 15:29, schrieb Gianluigi: >>>> >>>> What is happening to our ML? >>>>> It does not seem to work anymore. >>>>> Charlie here [0] asks this but I do not have receive it, and the last >>>>> mails >>>>> I received after 2 August here [0] do not appear. >>>>> Probably Benoit has announced that version 3.10 is official but I have >>>>> >>>> not >>> >>>> received ... >>>>> >>>>> [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html >>>>> ------------------------------------------------------------ >>>>> ------------------ >>>>> >>>>> Everything fine on my side today. >>>> >>>> Regards >>>> 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rwe-sse at ...3629... Thu Aug 10 08:46:16 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Thu, 10 Aug 2017 08:46:16 +0200 Subject: [Gambas-user] Creating a picture and inserting In-Reply-To: <598B3661.8090003@...3629...> References: <598B18C9.8030704@...3629...> <598B2388.4000609@...3629...> <598B3661.8090003@...3629...> Message-ID: <598C0138.3010304@...3629...> There was a typo in what I programmed yesterday, I found it - sorry for the noise and thank you very much again, Fabien! Regards Rolf Am 09.08.2017 18:20, schrieb Rolf-Werner Eilert: > One more question: > > If I need a Picture (e.g. for a GridView), how do I convert it? > > Regards > Rolf > > Am 09.08.2017 17:23, schrieb Fabien Bodard: >> Dim i As Integer >> Dim hImg As Image >> >> For i = 0 To 200 >> hImg = New Image(32, 32, Color.Transparent) >> >> Paint.Begin(hImg) >> Paint.Font.Bold = True >> >> Paint.Ellipse(0, 0, Paint.Width, Paint.Height) >> >> Paint.Brush = Paint.Color(Color.Yellow) >> Paint.Fill(True) >> Paint.Brush = Paint.Color(Color.Black) >> Paint.Stroke >> >> Paint.Text(i, 0, 0, Paint.Width, Paint.Height, Align.Center) >> Paint.Brush = Paint.Color(Color.red) >> Paint.Fill >> >> Paint.End >> >> ListView1.Add(i, "Item " & i, hImg.Picture) >> Next > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From tercoide at ...67... Thu Aug 10 15:11:04 2017 From: tercoide at ...67... (Martin Cristia) Date: Thu, 10 Aug 2017 13:11:04 +0000 Subject: [Gambas-user] Gambas + OpenGL --> Virtual reality Message-ID: (sorry if this was sent twice, somehow I got off of the list) Hi, folks; I need advice on transmitting a 3D drawing made with Gambas+OpenGL to an Virtual reality device; I mean from a GLArea to an android smartphone. This may be not language specific question, I know, but maybe anyone can point me in the rigth direction. Thanks. -- Saludos Ing. Martin P Cristia From moviga at ...3488... Thu Aug 10 22:05:02 2017 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 10 Aug 2017 22:05:02 +0200 Subject: [Gambas-user] Gambas + OpenGL --> Virtual reality In-Reply-To: References: Message-ID: <2727bccb8fb1de1cff9edc0fe4888844@...3488...> B4A may be a viable option. You need Windows and a few bucks though, but here is a 30% discount that might help a bit: https://www.b4x.com/android/purchase_30.html https://www.b4x.com/android/help/opengl.html https://www.b4x.com/android/help/opengl2.html Den 10.08.2017 15:11, skrev Martin Cristia: > (sorry if this was sent twice, somehow I got off of the list) > > Hi, folks; I need advice on transmitting a 3D drawing made with > Gambas+OpenGL to an Virtual reality device; I mean from a GLArea to an > android smartphone. > > This may be not language specific question, I know, but maybe anyone can > point me in the rigth direction. > > Thanks. From bagonergi at ...626... Thu Aug 10 22:49:36 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 10 Aug 2017 22:49:36 +0200 Subject: [Gambas-user] Video from Class feeds a DrawingArea problem Message-ID: http://gambas.8142.n7.nabble.com/Video-from-Class-feeds-a-DrawingArea-problem-td59987.html Hi Ingo, I think you can solve the problem with this code [0][1] from Vuott Gambas-it.org member. If you want, you can also join our Forum and ask questions in English. [0]----------------code in FMain: Public vc As VideoClass Public Sub Button1_Click() vc = New VideoClass vc.drwArea.Refresh() End [1]----------------code in VideoClass.class: Public hPipe As MediaPipeline Public hSource As MediaControl Public hSink As MediaControl Public hdrwVideo As DrawingArea Property {drwArea} As DrawingArea Public Sub _new() With hdrwVideo = New DrawingArea(fmain) .X = 0 .Y = 0 .W = FMain.W .H = 400 .Background = Color.Transparent End With hPipe = New MediaPipeline As "hPipe" hSource = New MediaControl(hPipe, "v4l2src") hSource["device"] = "/dev/video......" hSink = New MediaControl(hPipe, "xvimagesink") hSource.LinkTo(hSink) hSink.SetWindow(hdrwVideo) hPipe.Play() End Private Function drwArea_Read() As DrawingArea Return hdrwVideo End Private Sub drwArea_Write(Value As DrawingArea) hdrwVideo = Value hSink.SetWindow(hdrwVideo) End ----------------------------------end code. Regards Gianluigi From adrien.prokopowicz at ...626... Thu Aug 10 23:11:04 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 10 Aug 2017 23:11:04 +0200 Subject: [Gambas-user] XML - Property ReadFlags In-Reply-To: References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> Message-ID: Le Thu, 10 Aug 2017 18:42:37 +0200, Hans Lehmann a ?crit: > Hello Adrian, >Thank you for this example in the playground. Now I can successfully > work with the component gb.xml. >To the red marked lines in the source text section, I find no > description in the documentation. >Questions: What is the meaning of the Boolean property ReadFlags with > regard to the use of the class XmlReader?What is the effect of setting > the value to False? >Public Sub btnParseXMLNodes_Click() > txaNodes.Clear xmlReader.Open(sXMLPath) > xmlReader.ReadFlags[XmlReaderNodeType.Element] = True > xmlReader.ReadFlags[XmlReaderNodeType.Attribute] = True > xmlReader.Read() > While Not xmlReader.Eof > ... > Wend > End > Regards Hans When a ReadFlag is set to False, the Read() method will skip the corresponding XML node type if it encounters it. By default they are all set to True, setting them to true manually won't do anything. Here is an example, you can toggle the ReadFlags and see the result : https://gambas-playground.proko.eu/?gist=b90eeff3dacbec0548d01701f3c05133 -- Adrien Prokopowicz From karl.reinl at ...9... Fri Aug 11 00:37:02 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 11 Aug 2017 00:37:02 +0200 Subject: [Gambas-user] XML - Property ReadFlags In-Reply-To: References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> Message-ID: <1502404622.4293.27.camel@...3609...> Am Donnerstag, den 10.08.2017, 23:11 +0200 schrieb Adrien Prokopowicz: > Le Thu, 10 Aug 2017 18:42:37 +0200, Hans Lehmann a > ?crit: > > Hello Adrian, > >Thank you for this example in the playground. Now I can successfully > > work with the component gb.xml. > >To the red marked lines in the source text section, I find no > > description in the documentation. > >Questions: What is the meaning of the Boolean property ReadFlags with > > regard to the use of the class XmlReader?What is the effect of setting > > the value to False? > >Public Sub btnParseXMLNodes_Click() > > txaNodes.Clear xmlReader.Open(sXMLPath) > > xmlReader.ReadFlags[XmlReaderNodeType.Element] = True > > xmlReader.ReadFlags[XmlReaderNodeType.Attribute] = True > > xmlReader.Read() > > While Not xmlReader.Eof > > ... > > Wend > > End > > Regards Hans > > When a ReadFlag is set to False, the Read() method will skip the > corresponding > XML node type if it encounters it. > By default they are all set to True, setting them to true manually won't > do anything. > > Here is an example, you can toggle the ReadFlags and see the result : > > https://gambas-playground.proko.eu/?gist=b90eeff3dacbec0548d01701f3c05133 > Salut Adrian, is it the lib, the example or the playground. Have a look to the attached screen. All ReadFlags are set to False, but I get a '6 endelement' -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2017-08-11 00:20:53.png Type: image/png Size: 62452 bytes Desc: not available URL: From adamnt42 at ...626... Fri Aug 11 13:47:36 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 11 Aug 2017 21:17:36 +0930 Subject: [Gambas-user] Messaging between arbitrary objects Message-ID: <20170811211736.a0fa7133c96df0c65abc5543@...626...> Since it's soon to be the busiest time of our year (the spring thoroughbred auctions) I thought I'd just redesign our entire auction management system (haha). On any day we may have up to 10 or so auctions in progress at the same time. Some online (conducted by us or others) and some live (using our sale manager, which talks back to us) (and some we have no idea about). Last year, a change in the industry permitted a particular horse to be entered in more than one auction, to be withdrawn from subsequent lots if sold in a previous lot. You can imagine the mess this caused, both in setting schedules and in communicating between the auction houses. Luckily, last year the idea didn't really catch on in a big way, but over the year interest has been growing. Suffice to say we have a system that allows us to watch for sales of this type and manage them (at least in the auctions we "control"). The current way we do it is to have multiple "auction" monitors running as separate invocations of the monitor project. The only communication between them is via the human operators who have to watch each lot ... etc etc. Basically what I'm trying to do is have a single monitor that shows the progress of sales across a number of active auctions, sending messages between arbitrary pairs (or multiples) when a "marked" lot is either sold or passed in by an auction where it is the "early" one. So we have a main "controller" that launches a number of auction monitors and a particular monitor knows when a "marked" lot is offered and then sold or passed in. I can raise an event in the monitor, caught by the controller when another monitor object needs to be told to allow the sale of a "marked" lot to proceed or to withdraw it. The main controller then has to work out which of the other monitor instances is interested in this particular horse and then pass it a message via a public routine call. This is to put it mildly, bloody difficult and damned messy. What I'd like to do is have each monitor catch events from some other monitor both of whom are handling a "marked" lot. The controller when it invokes each monitor is able to indicate such marked pairs to each auction monitor (I have that bit worked out). The "conversation" I envisage would go along these lines: AuctionA AuctionB 1. When a marked lot is coming up for sale, i.e. in the next 5 lots offered | -------------------------->| "Lock lot X" 2. When the horse is offered and sold in the first auction | -------------------------->| "Withdraw lot X" 3. When the horse is passed in at the first auction | -------------------------->| "Unlock lot X" 4. Exception: when a certain time period has passed since message 1 | <------------------------- | "Query lot X" | --------------------------->| "Response (lock or unlock) lot X" 5. Exception: no response to query | --------------------------------------------> Alert controller (It's a bit more complex, but that is the general sense of it.) So, is there a way that I can tell the "AuctionB" monitor to listen for events raised by the "AuctionA" monitor? I thought I might be able to use the gb.qt4 "Watcher" for this but I can't seem to get it to happen. Is that the way to go? Any other ways or ideas. tia (and thanks for reading this very long post.) bruce -- B Bruen From gambas at ...1... Fri Aug 11 13:58:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Aug 2017 13:58:50 +0200 Subject: [Gambas-user] Messaging between arbitrary objects In-Reply-To: <20170811211736.a0fa7133c96df0c65abc5543@...626...> References: <20170811211736.a0fa7133c96df0c65abc5543@...626...> Message-ID: <81ed4dd3-790c-b78c-87be-facfdb4abf51@...1...> Le 11/08/2017 ? 13:47, adamnt42 at ...626... a ?crit : > > Since it's soon to be the busiest time of our year (the spring thoroughbred auctions) I thought I'd just redesign our entire auction management system (haha). > > On any day we may have up to 10 or so auctions in progress at the same time. Some online (conducted by us or others) and some live (using our sale manager, which talks back to us) (and some we have no idea about). Last year, a change in the industry permitted a particular horse to be entered in more than one auction, to be withdrawn from subsequent lots if sold in a previous lot. You can imagine the mess this caused, both in setting schedules and in communicating between the auction houses. Luckily, last year the idea didn't really catch on in a big way, but over the year interest has been growing. Suffice to say we have a system that allows us to watch for sales of this type and manage them (at least in the auctions we "control"). The current way we do it is to have multiple "auction" monitors running as separate invocations of the monitor project. The only communication between them is via the human operators who have to watch each lot ... etc etc. > Basically what I'm trying to do is have a single monitor that shows the progress of sales across a number of active auctions, sending messages between arbitrary pairs (or multiples) when a "marked" lot is either sold or passed in by an auction where it is the "early" one. So we have a main "controller" that launches a number of auction monitors and a particular monitor knows when a "marked" lot is offered and then sold or passed in. I can raise an event in the monitor, caught by the controller when another monitor object needs to be told to allow the sale of a "marked" lot to proceed or to withdraw it. The main controller then has to work out which of the other monitor instances is interested in this particular horse and then pass it a message via a public routine call. This is to put it mildly, bloody difficult and damned messy. > > What I'd like to do is have each monitor catch events from some other monitor both of whom are handling a "marked" lot. The controller when it invokes each monitor is able to indicate such marked pairs to each auction monitor (I have that bit worked out). The "conversation" I envisage would go along these lines: > AuctionA AuctionB > 1. When a marked lot is coming up for sale, i.e. in the next 5 lots offered | -------------------------->| "Lock lot X" > 2. When the horse is offered and sold in the first auction | -------------------------->| "Withdraw lot X" > 3. When the horse is passed in at the first auction | -------------------------->| "Unlock lot X" > 4. Exception: when a certain time period has passed since message 1 | <------------------------- | "Query lot X" > | --------------------------->| "Response (lock or unlock) lot X" > 5. Exception: no response to query | --------------------------------------------> Alert controller > > (It's a bit more complex, but that is the general sense of it.) > > So, is there a way that I can tell the "AuctionB" monitor to listen for events raised by the "AuctionA" monitor? I thought I might be able to use the gb.qt4 "Watcher" for this but I can't seem to get it to happen. Is that the way to go? Any other ways or ideas. > > tia > (and thanks for reading this very long post.) > > bruce > > > > If you have multiple processes that want to communicate, why not using D-Bus ? -- Beno?t Minisini From gambas at ...1... Fri Aug 11 14:11:22 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Aug 2017 14:11:22 +0200 Subject: [Gambas-user] Release of Gambas 3.10.0 (it seems that the ML is back for me!) Message-ID: <90521531-55d6-6899-46a2-13155a63919e@...1...> Hi everyone, The holidays were short, and here is the official release of Gambas 3.10.0. This was a busy year for me, so there is not a lot of new things in that version. The more important was the work on the gb.web.form component that allows to create web applications graphically from the IDE. Now examples must be made to help people use that component. All the details is on the website as usual: download link and release notes. A 3.10.1 will be released "soon", with some last minute bug fixes. Another job that must be done as earlyier as possible is the switch to git. I will try to do my best... Enjoy it! -- Beno?t Minisini From bagonergi at ...626... Fri Aug 11 14:12:38 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Aug 2017 14:12:38 +0200 Subject: [Gambas-user] Messaging between arbitrary objects In-Reply-To: <81ed4dd3-790c-b78c-87be-facfdb4abf51@...1...> References: <20170811211736.a0fa7133c96df0c65abc5543@...626...> <81ed4dd3-790c-b78c-87be-facfdb4abf51@...1...> Message-ID: Hi Bruce, You can take a look here [0] with the help of Google translate. Regards Gianluigi [0] http://www.gambas-it.org/wiki/index.php?title=Inviare_dati_da_un_programma_Gambas_ad_un_altro_mediante_le_risorse_del_Componente_DBus 2017-08-11 13:58 GMT+02:00 Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net>: > Le 11/08/2017 ? 13:47, adamnt42 at ...626... a ?crit : > >> >> Since it's soon to be the busiest time of our year (the spring >> thoroughbred auctions) I thought I'd just redesign our entire auction >> management system (haha). >> >> On any day we may have up to 10 or so auctions in progress at the same >> time. Some online (conducted by us or others) and some live (using our sale >> manager, which talks back to us) (and some we have no idea about). Last >> year, a change in the industry permitted a particular horse to be entered >> in more than one auction, to be withdrawn from subsequent lots if sold in a >> previous lot. You can imagine the mess this caused, both in setting >> schedules and in communicating between the auction houses. Luckily, last >> year the idea didn't really catch on in a big way, but over the year >> interest has been growing. Suffice to say we have a system that allows us >> to watch for sales of this type and manage them (at least in the auctions >> we "control"). The current way we do it is to have multiple "auction" >> monitors running as separate invocations of the monitor project. The only >> communication between them is via the human operators who have to watch >> each lot ... etc etc. >> Basically what I'm trying to do is have a single monitor that shows the >> progress of sales across a number of active auctions, sending messages >> between arbitrary pairs (or multiples) when a "marked" lot is either sold >> or passed in by an auction where it is the "early" one. So we have a main >> "controller" that launches a number of auction monitors and a particular >> monitor knows when a "marked" lot is offered and then sold or passed in. I >> can raise an event in the monitor, caught by the controller when another >> monitor object needs to be told to allow the sale of a "marked" lot to >> proceed or to withdraw it. The main controller then has to work out which >> of the other monitor instances is interested in this particular horse and >> then pass it a message via a public routine call. This is to put it >> mildly, bloody difficult and damned messy. >> >> What I'd like to do is have each monitor catch events from some other >> monitor both of whom are handling a "marked" lot. The controller when it >> invokes each monitor is able to indicate such marked pairs to each auction >> monitor (I have that bit worked out). The "conversation" I envisage would >> go along these lines: >> >> AuctionA >> AuctionB >> 1. When a marked lot is coming up for sale, i.e. in the next 5 lots >> offered | -------------------------->| "Lock lot X" >> 2. When the horse is offered and sold in the first auction >> | -------------------------->| "Withdraw lot >> X" >> 3. When the horse is passed in at the first auction >> | -------------------------->| "Unlock >> lot X" >> 4. Exception: when a certain time period has passed since message 1 >> | <------------------------- | "Query lot X" >> >> | >> --------------------------->| "Response (lock or unlock) lot X" >> 5. Exception: no response to query >> >> | --------------------------------------------> Alert controller >> >> (It's a bit more complex, but that is the general sense of it.) >> >> So, is there a way that I can tell the "AuctionB" monitor to listen for >> events raised by the "AuctionA" monitor? I thought I might be able to use >> the gb.qt4 "Watcher" for this but I can't seem to get it to happen. Is >> that the way to go? Any other ways or ideas. >> >> tia >> (and thanks for reading this very long post.) >> >> bruce >> >> >> > > If you have multiple processes that want to communicate, why not using > D-Bus ? > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From hans at ...3219... Fri Aug 11 14:25:33 2017 From: hans at ...3219... (Hans Lehmann) Date: Fri, 11 Aug 2017 14:25:33 +0200 Subject: [Gambas-user] XML - Display structure In-Reply-To: References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> Message-ID: <41dcec7b-197e-c569-a6f1-42851e0b7fa1@...3219...> Hello, I am unable to read and display the structure of the following XML file /xml.xml/: AnnaText1 PaulText2 Note: Indents for the display - for example, in a textarea - can be safely read from the Node.Depth property. The result should look like this: COMMENT RELEMENT: E1 ELEMENT: E2 ATTRIBUTE: ATTR1 VALUE: Berlin ATTRIBUTE: ATTR2 VALUE: Paris ELEMENT: E3 ELEMENT: E4 ATTRIBUTE: ATTR3 VALUE: w TEXT: Anna /ELEMENT: E4 TEXT: Text1 ELEMENT: E5 ATTRIBUTE: ATTR4 VALUE: m TEXT: Paul /ELEMENT: E5 TEXT: Text1 Text2 /ELEMENT: E3 /ELEMENT: E2 /ELEMENT: E1 Does anyone have an idea or suggestion or even a finished solution for the above mentioned task? My projects with XmlDocument and XmlReader do not display the structure of the xml.xml file correctly. But: Other XML files are displayed correctly. We are looking for a (general) solution for any XML files. Best regards Hans Here is the source code used: Private Sub Xml2TreeView(xmlDoc As XmlDocument, hTreeView As TreeView) ' Root-Element hTreeView.Clear() hTreeView.Add("0", xmlDoc.Root.TagName) AddChildren(1, xmlDoc.Root, 0, hTreeView) End Private Sub AddChildren(iIndex As Integer, xmlElement As XmlElement, iParent As Integer, hTreeView As TreeView) As Integer Dim xChild As XmlElement Dim S As Variant Dim xAttr As XmlNode Dim sAttr As String Dim elements As XmlElement[] Dim x As XMLElement Dim xVal As String For Each xChild In xmlElement.ChildElements xVal = "" 'Extract Element-Value if the element has no children If (xChild.ChildElements.Count = 0) Then xVal = ": " & xChild.Value If InStr(xChild.value, gb.lf) Then xVal = Replace(xVal, gb.lf, " ") 'remove line feeds xVal = Left$(xVal, 35) & " ...." 'show an extract Endif Endif If xChild.Attributes.Count > 0 Then 'Include attributes if contained in element ' Collect Attributes of the element sAttr = "" For Each xAttr In xChild.Attributes sAttr &= xAttr.name & " = " & xAttr.Value & " " Next hTreeView.Add(Str$(iIndex), xChild.TagName & " " & xVal & " " & Trim(sAttr), Null, Str$(iParent)) Else hTreeView.Add(Str$(iIndex), xChild.TagName & " " & xVal, Null, Str$(iParent)) Endif iIndex = AddChildren(iIndex + 1, xChild, iIndex, hTreeView) Next Return iIndex End Public Sub btnStart_Click() Dim xmlDoc As New XmlDocument(Application.Path &/ "xml.xml") Xml2TreeView(xmlDoc, TreeView1) If TreeView1 <> Null And TreeView1.Count > 0 Then TreeView1.MoveFirst() Repeat TreeView1.Item.Expanded = True Until TreeView1.MoveBelow() Endif TreeView1.MoveBack() TreeView1.Item.EnsureVisible() txaXMLContent.Text = xmlDoc.Content End From adrien.prokopowicz at ...626... Fri Aug 11 15:24:28 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 11 Aug 2017 15:24:28 +0200 Subject: [Gambas-user] XML - Property ReadFlags In-Reply-To: <459aa357-3da0-fb44-7b31-1b31e0a7e660@...3219...> References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> <459aa357-3da0-fb44-7b31-1b31e0a7e660@...3219...> Message-ID: Le Fri, 11 Aug 2017 09:05:18 +0200, Hans Lehmann a ?crit: >Hello Adrien, >Thanks for the explanation to ReadFlags in the above example. If you > want to read and display the content of the structure of an XML > document, the output is not helpful because it seems illogical. >https://gambas-playground.proko.eu/?gist=b90eeff3dacbec0548d01701f3c05133 > -------------------------------------------------------------------------- >Use "gb.xml" >Dim contents As String = "" > "" > "

Hello

" > "

Hi

" > "

Greetings

" > "
" > "
" >Dim reader As New XmlReader > reader.FromString(contents) >'Toggle these :) > reader.ReadFlags[XmlReaderNodeType.Element] = True > reader.ReadFlags[XmlReaderNodeType.Attribute] = True > reader.ReadFlags[XmlReaderNodeType.Text] = True > reader.ReadFlags[XmlReaderNodeType.EndElement] = false >reader.Read() >Repeat > Print reader.Node.Type;; > Select Case reader.Node.Type > Case XmlReaderNodeType.Element > Print "element";;reader.Node.name > Case XmlReaderNodeType.Attribute > Print "attribute" > Case XmlReaderNodeType.Text > Print "text";;reader.node.value > Case XmlReaderNodeType.Comment > Print "comment" > Case XmlReaderNodeType.CDATA > Print "cdata" > Case XmlReaderNodeType.EndElement > Print "endelement" > Default > Print "" > End Select > reader.Read() > Until reader.Eof >Original-Output in a console: >1 element xml1 element foo8 attribute8 attribute1 element p2 text Hello8 > attribute1 element p2 text Hi8 attribute1 element p2 text Greetings >This output I would have expected because it shows the structure of the > XML file. The upper output does not show which element the attributes > belong to. Extremely confusing! >1 element xml1 element foo1 element p8 attribute8 attribute2 text Hello1 > element p8 attribute2 text Hi1 element p8 attribute2 text Greetings >What now - what to do? >RegardsHans,who still has many questions about the component gb.xml ... This is the normal behavior : the Read() method returns when it *finishes* reading something. Therefore, it finishes reading the attributes *before* finishing reading the element. While this behavior is intended, I completely agree that it is very confusing. However, XmlReader is not an easy class to use : its design is based on the standard XML SAX API, which is meant to be used when your data comes from a stream (hence the complexity : you don't know what to expect going forward, and you have to remember yourself what has been previously read). The XmlDocument class, on the other hand, is based on the XML DOM API. It is much easier to navigate into an XML document, and all it requires is to have the entirety of the document loaded in memory. This requirement makes XmlReader more appropriate if you are in one of these two situations : - The Document comes from a very slow stream source (i.e. a *very* slow network connection), and you want to start reading the document before it finishes loading. - The Document you're trying to load is very big, and you can't afford to load it all in memory (today, it means more than 100MB in size, which is already crazy for an XML Document). These are the only two reasons I see for actually using the XmlReader class. Otherwise, use the XmlDocument class, it is *way* simpler and more powerful. :) (I also wrote a page on the wiki explaining the differences here : http://gambaswiki.org/wiki/doc/xml ) -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Fri Aug 11 16:13:40 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 11 Aug 2017 16:13:40 +0200 Subject: [Gambas-user] XML - Property ReadFlags In-Reply-To: <1502404622.4293.27.camel@...3609...> References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> <1502404622.4293.27.camel@...3609...> Message-ID: Le Fri, 11 Aug 2017 00:37:02 +0200, Karl Reinl a ?crit: > Am Donnerstag, den 10.08.2017, 23:11 +0200 schrieb Adrien Prokopowicz: >> Le Thu, 10 Aug 2017 18:42:37 +0200, Hans Lehmann a >> ?crit: >> > Hello Adrian, >> >Thank you for this example in the playground. Now I can successfully >> > work with the component gb.xml. >> >To the red marked lines in the source text section, I find no >> > description in the documentation. >> >Questions: What is the meaning of the Boolean property ReadFlags with >> > regard to the use of the class XmlReader?What is the effect of setting >> > the value to False? >> >Public Sub btnParseXMLNodes_Click() >> > txaNodes.Clear xmlReader.Open(sXMLPath) >> > xmlReader.ReadFlags[XmlReaderNodeType.Element] = True >> > xmlReader.ReadFlags[XmlReaderNodeType.Attribute] = True >> > xmlReader.Read() >> > While Not xmlReader.Eof >> > ... >> > Wend >> > End >> > Regards Hans >> >> When a ReadFlag is set to False, the Read() method will skip the >> corresponding >> XML node type if it encounters it. >> By default they are all set to True, setting them to true manually won't >> do anything. >> >> Here is an example, you can toggle the ReadFlags and see the result : >> >> https://gambas-playground.proko.eu/?gist=b90eeff3dacbec0548d01701f3c05133 >> > > Salut Adrian, > > is it the lib, the example or the playground. Have a look to the > attached screen. All ReadFlags are set to False, but I get a '6 > endelement' It is a mistake in my example code. Because all flags are set to false, the XmlReader will skip through the entire document until it hits the end (Eof). However, becaused I used a Repeat-Until loop, the Print still gets executed once, and the XmlReader.Node.Type property returns the type of what the reader read last, which is the end of the root element. A correct (although a bit more verbose) version of the example would be this : https://gambas-playground.proko.eu/?gist=9e84746e67859a9dacb55ec2dba34575 -- Adrien Prokopowicz From mckaygerhard at ...626... Sat Aug 12 03:34:31 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 11 Aug 2017 21:34:31 -0400 Subject: [Gambas-user] Release of Gambas 3.10.0 (it seems that the ML is back for me!) In-Reply-To: <90521531-55d6-6899-46a2-13155a63919e@...1...> References: <90521531-55d6-6899-46a2-13155a63919e@...1...> Message-ID: 2017-08-11 8:11 GMT-04:00 Beno?t Minisini via Gambas-user : > A 3.10.1 will be released "soon", with some last minute bug fixes. the odbc component! pleeaasssseeeeee! help! > Another job that must be done as earlyier as possible is the switch to git. > I will try to do my best... and git suppot for gambas..!, but witout remove the svn support From adrien.prokopowicz at ...626... Sat Aug 12 18:43:27 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 12 Aug 2017 18:43:27 +0200 Subject: [Gambas-user] XML - Display structure In-Reply-To: <41dcec7b-197e-c569-a6f1-42851e0b7fa1@...3219...> References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> <41dcec7b-197e-c569-a6f1-42851e0b7fa1@...3219...> Message-ID: Le Fri, 11 Aug 2017 14:25:33 +0200, Hans Lehmann a ?crit: > > Hello, > > I am unable to read and display the structure of the following XML file > xml.xml: > [...] > Does anyone have an idea or suggestion or even a finished solution for > the above mentioned task? My projects with >XmlDocument and XmlReader do > not display the structure of the xml.xml file correctly. But: Other XML > files are displayed >correctly. We are looking for a (general) solution > for any XML files. > The problem in your code is here : For Each xChild In xmlElement.ChildElements 'Extract Element-Value if the element has no children If (xChild.ChildElements.Count = 0) Then You are assuming elements have either text or other elements in them, but your E3 element has both. To do this, you have to treat each element separately, and to iterate on all node types using the Children property (not just Elements, which is what the ChildElements property does). The attached example gives a simple solution to your problem. Regards, -- Adrien Prokopowicz -------------- next part -------------- A non-text attachment was scrubbed... Name: XmlTree-0.0.1.tar.gz Type: application/x-gzip Size: 11992 bytes Desc: not available URL: From gambas at ...1... Sat Aug 12 20:10:58 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 12 Aug 2017 20:10:58 +0200 Subject: [Gambas-user] Switching to GitLab Message-ID: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Hi, The Gambas source repository is currently moving from SourceForge to GitLab. The Subversion repository is now read-only. The new git repository is at https://gitlab.com/gambas/gambas If you want a write access to the GitLab repository, sign in to GitLab and give me your account. The first 'gambas' is the name of the group of GitLab users. The second 'gambas' is the name of the project. Regards, -- Beno?t Minisini From d4t4full at ...626... Sat Aug 12 22:59:13 2017 From: d4t4full at ...626... (d4t4full at ...626...) Date: Sat, 12 Aug 2017 17:59:13 -0300 Subject: [Gambas-user] XML - Display structure In-Reply-To: References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> <41dcec7b-197e-c569-a6f1-42851e0b7fa1@...3219...> Message-ID: <45e15388-1bde-4c53-8c2e-f55489852f9a@...626...> Don't want to sound pedantic or be the wiseguy that states the obvious, but I think this is a perfect example for a recursive call. The way I picture this is a routine that initially receives the XML root node and displays all its attributes and text. Then, it calls itself recursively for each subnode. To mantain GUI hierarchy, a second optional parameter may be set to the parent node key in a treeview. This parameter is initially not passed when the node is root. Hope it helps, zxMarce. On Aug 12, 2017, 13:43, at 13:43, Adrien Prokopowicz wrote: >Le Fri, 11 Aug 2017 14:25:33 +0200, Hans Lehmann >a >?crit: > >> >> Hello, >> >> I am unable to read and display the structure of the following XML >file >> xml.xml: >> [...] >> Does anyone have an idea or suggestion or even a finished solution >for >> the above mentioned task? My projects with >XmlDocument and XmlReader >do >> not display the structure of the xml.xml file correctly. But: Other >XML >> files are displayed >correctly. We are looking for a (general) >solution >> for any XML files. >> > >The problem in your code is here : > > For Each xChild In xmlElement.ChildElements > 'Extract Element-Value if the element has no children > If (xChild.ChildElements.Count = 0) Then > >You are assuming elements have either text or other elements in them, >but >your >E3 element has both. > >To do this, you have to treat each element separately, and to iterate >on >all >node types using the Children property (not just Elements, which is >what >the >ChildElements property does). > >The attached example gives a simple solution to your problem. > >Regards, > >-- >Adrien Prokopowicz > >------------------------------------------------------------------------ > >------------------------------------------------------------------------------ >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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From adrien.prokopowicz at ...626... Sat Aug 12 23:19:44 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 12 Aug 2017 23:19:44 +0200 Subject: [Gambas-user] XML - Display structure In-Reply-To: <45e15388-1bde-4c53-8c2e-f55489852f9a@...626...> References: <84675d00-4d42-9e2a-a7d0-461086fc02b4@...3602...> <2799f538-422b-a4f8-5f7e-72b463adbaa9@...3602...> <41dcec7b-197e-c569-a6f1-42851e0b7fa1@...3219...> <45e15388-1bde-4c53-8c2e-f55489852f9a@...626...> Message-ID: Le Sat, 12 Aug 2017 22:59:13 +0200, a ?crit: > Don't want to sound pedantic or be the wiseguy that states the obvious, > but I think this is a perfect example for a recursive call. > > The way I picture this is a routine that initially receives the XML root > node and displays all its attributes and text. Then, it calls itself > recursively for each subnode. > > To mantain GUI hierarchy, a second optional parameter may be set to the > parent node key in a treeview. This parameter is initially not passed > when the node is root. > > Hope it helps, > zxMarce. > This is exactly what the example I attached is. :-) -- Adrien Prokopowicz From mckaygerhard at ...626... Sun Aug 13 01:14:21 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 12 Aug 2017 19:14:21 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: hi all, benoit. that's great news, long awaited, now I have more interest and expectations in the module odbc, my concern is that I cannot longer in future keep compiles "gambas" in my old linux .. I saw there that the openssl committee has been removed, after have been Need it on my embedded linux .. also was a great dessition not use github,and use gitlab, gitlab are more "free" software avocate rather thant github! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-12 14:10 GMT-04:00 Beno?t Minisini via Gambas-user : > Hi, > > The Gambas source repository is currently moving from SourceForge to GitLab. > > The Subversion repository is now read-only. > > The new git repository is at https://gitlab.com/gambas/gambas > > If you want a write access to the GitLab repository, sign in to GitLab and > give me your account. > > The first 'gambas' is the name of the group of GitLab users. > > The second 'gambas' is the name of the project. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Sun Aug 13 14:56:51 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 13 Aug 2017 14:56:51 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: Hi Benoit, I apologize for ignorance but I have never used Git. To update the Trunk, what should I do now? To subscribe to the new ML? To report a bug? Write access is only for participating in the code, or? Regards Gianluigi 2017-08-12 20:10 GMT+02:00 Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net>: > Hi, > > The Gambas source repository is currently moving from SourceForge to > GitLab. > > The Subversion repository is now read-only. > > The new git repository is at https://gitlab.com/gambas/gambas > > If you want a write access to the GitLab repository, sign in to GitLab and > give me your account. > > The first 'gambas' is the name of the group of GitLab users. > > The second 'gambas' is the name of the project. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From d4t4full at ...626... Sun Aug 13 15:02:41 2017 From: d4t4full at ...626... (d4t4full at ...626...) Date: Sun, 13 Aug 2017 10:02:41 -0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: <9b5ff133-4e14-4a1e-9a2d-0ddaa63181d0@...626...> +1 TIA zxMarce On Aug 13, 2017, 09:57, at 09:57, Gianluigi wrote: >Hi Benoit, > >I apologize for ignorance but I have never used Git. >To update the Trunk, what should I do now? >To subscribe to the new ML? >To report a bug? >Write access is only for participating in the code, or? > >Regards >Gianluigi > >2017-08-12 20:10 GMT+02:00 Beno?t Minisini via Gambas-user < >gambas-user at lists.sourceforge.net>: > >> Hi, >> >> The Gambas source repository is currently moving from SourceForge to >> GitLab. >> >> The Subversion repository is now read-only. >> >> The new git repository is at https://gitlab.com/gambas/gambas >> >> If you want a write access to the GitLab repository, sign in to >GitLab and >> give me your account. >> >> The first 'gambas' is the name of the group of GitLab users. >> >> The second 'gambas' is the name of the project. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------ >> ------------------ >> 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 at 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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Sun Aug 13 15:04:16 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 13 Aug 2017 09:04:16 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: http://gambaswiki.org/wiki/howto/git a llitte work in progres but enought to start 2017-08-13 8:56 GMT-04:00 Gianluigi : > Hi Benoit, > > I apologize for ignorance but I have never used Git. difference are more in concepts rather in things! > To update the Trunk, what should I do now? there's no truck, there's references (commits/push/merge) basically (git clone ) and then the updates from "upstream" comes with "git fetch & git pull" > To report a bug? gitlab have a redirection to the bugtraker already integrated by gambas team > Write access is only for participating in the code, or? write acces are not necesary explicit! there are "pull requests" u can "fork" then make commits and upload to your fork.. and from here "propose pull request" that gambas team can "merge" > > Regards > Gianluigi > > 2017-08-12 20:10 GMT+02:00 Beno?t Minisini via Gambas-user < > gambas-user at lists.sourceforge.net>: > >> Hi, >> >> The Gambas source repository is currently moving from SourceForge to >> GitLab. >> >> The Subversion repository is now read-only. >> >> The new git repository is at https://gitlab.com/gambas/gambas >> >> If you want a write access to the GitLab repository, sign in to GitLab and >> give me your account. >> >> The first 'gambas' is the name of the group of GitLab users. >> >> The second 'gambas' is the name of the project. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------ >> ------------------ >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adrien.prokopowicz at ...626... Sun Aug 13 15:19:05 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 13 Aug 2017 15:19:05 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a ?crit: > Hi Benoit, > > I apologize for ignorance but I have never used Git. > To update the Trunk, what should I do now? > To subscribe to the new ML? > To report a bug? > Write access is only for participating in the code, or? > > Regards > Gianluigi > I am currently writing a full guide for using Git(Lab) to contribute to Gambas, but if you just want to checkout the latest Gambas version in the repository, you can just do : git clone https://gitlab.com/gambas/gambas.git # Will create a new "gambas" directory And to update it later, just go in the created directory and do : git pull There is no new mailing-list to follow git commits for now, and the bugtracker hasn't moved. Write access to the repository is only for Gambas developers and component maintainers : you do not need write access to contribute to the Gambas code anymore, you can do it through merge requests (the guide I'm writing covers what they are and how to use them). Of course, if you just want to get the source code, nothing is needed but the two commands above. :-) -- Adrien Prokopowicz From bagonergi at ...626... Sun Aug 13 15:55:16 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 13 Aug 2017 15:55:16 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: Thank you for the reporting Regards Gianluigi 2017-08-13 15:04 GMT+02:00 PICCORO McKAY Lenz : > http://gambaswiki.org/wiki/howto/git a llitte work in progres but > enought to start > > 2017-08-13 8:56 GMT-04:00 Gianluigi : > > Hi Benoit, > > > > I apologize for ignorance but I have never used Git. > difference are more in concepts rather in things! > > To update the Trunk, what should I do now? > there's no truck, there's references (commits/push/merge) > basically (git clone ) and then the updates from "upstream" comes > with "git fetch & git pull" > > To report a bug? > gitlab have a redirection to the bugtraker already integrated by gambas > team > > Write access is only for participating in the code, or? > write acces are not necesary explicit! > there are "pull requests" u can "fork" then make commits and upload to > your fork.. and from here "propose pull request" that gambas team can > "merge" > > > > > Regards > > Gianluigi > > > > 2017-08-12 20:10 GMT+02:00 Beno?t Minisini via Gambas-user < > > gambas-user at lists.sourceforge.net>: > > > >> Hi, > >> > >> The Gambas source repository is currently moving from SourceForge to > >> GitLab. > >> > >> The Subversion repository is now read-only. > >> > >> The new git repository is at https://gitlab.com/gambas/gambas > >> > >> If you want a write access to the GitLab repository, sign in to GitLab > and > >> give me your account. > >> > >> The first 'gambas' is the name of the group of GitLab users. > >> > >> The second 'gambas' is the name of the project. > >> > >> Regards, > >> > >> -- > >> Beno?t Minisini > >> > >> ------------------------------------------------------------ > >> ------------------ > >> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Sun Aug 13 15:57:04 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 13 Aug 2017 15:57:04 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: In fact an idea of what Git was I already had. Don't worry, I have no intention of ruining your big job with my participation in the code :-) Maybe in the future I could participate in the wiki's Italian translations. For now I am interested in updating the trunk version. Thank you very much for the explanations. Regards Gianluigi 2017-08-13 15:19 GMT+02:00 Adrien Prokopowicz : > Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a > ?crit: > > Hi Benoit, >> >> I apologize for ignorance but I have never used Git. >> To update the Trunk, what should I do now? >> To subscribe to the new ML? >> To report a bug? >> Write access is only for participating in the code, or? >> >> Regards >> Gianluigi >> >> > I am currently writing a full guide for using Git(Lab) to contribute to > Gambas, > but if you just want to checkout the latest Gambas version in the > repository, > you can just do : > > git clone https://gitlab.com/gambas/gambas.git # Will create a new > "gambas" directory > > And to update it later, just go in the created directory and do : > > git pull > > There is no new mailing-list to follow git commits for now, and the > bugtracker > hasn't moved. > > Write access to the repository is only for Gambas developers and component > maintainers : > you do not need write access to contribute to the Gambas code anymore, you > can do it > through merge requests (the guide I'm writing covers what they are and how > to use them). > > Of course, if you just want to get the source code, nothing is needed but > the two commands > above. :-) > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sun Aug 13 16:09:26 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 13 Aug 2017 10:09:26 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: adrian, i started the howto/git in gambas wiki.. and i noted due git has more differences in concept rather in things there no easy way.. but please take a change and see whast usefully here.. its the most short i can do.. and has no spell errors.. http://gambaswiki.org/wiki/howto/git#t3 Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-13 9:19 GMT-04:00 Adrien Prokopowicz : > Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a ?crit: > >> Hi Benoit, >> >> I apologize for ignorance but I have never used Git. >> To update the Trunk, what should I do now? >> To subscribe to the new ML? >> To report a bug? >> Write access is only for participating in the code, or? >> >> Regards >> Gianluigi >> > > I am currently writing a full guide for using Git(Lab) to contribute to > Gambas, > but if you just want to checkout the latest Gambas version in the > repository, > you can just do : > > git clone https://gitlab.com/gambas/gambas.git # Will create a new "gambas" > directory > > And to update it later, just go in the created directory and do : > > git pull > > There is no new mailing-list to follow git commits for now, and the > bugtracker > hasn't moved. > > Write access to the repository is only for Gambas developers and component > maintainers : > you do not need write access to contribute to the Gambas code anymore, you > can do it > through merge requests (the guide I'm writing covers what they are and how > to use them). > > Of course, if you just want to get the source code, nothing is needed but > the two commands > above. :-) > > -- > Adrien Prokopowicz > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adamnt42 at ...626... Sun Aug 13 16:42:42 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 14 Aug 2017 00:12:42 +0930 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: <20170814001242.73caebb416ca76c4834e09b8@...626...> On Sun, 13 Aug 2017 15:19:05 +0200 "Adrien Prokopowicz" wrote: (in response to Gianluigi) > git clone https://gitlab.com/gambas/gambas.git # Will create a new "gambas" directory # Download a clone of the Gambas source repository to git clone https://gitlab.com/gambas/gambas.git or perhaps even # Copy the Gambas git repository HEAD from GitLab to a local path git clone --single-branch https://gitlab.com/gambas/gambas.git But we also need a way to clone at a particular tag, say 3.10.0, I dont know how to do that. bruce p.s. some markdown I have writ follows: #### [Downloading a local "working copy"] If you want to update your Gambas copy frequently as the developers add features and correct those seldom found bugs then you will want to create a "working copy" of the repository on your own machine (or local network drive or whatever). To do this you can still access the repository as an "anonymous" user, but you will need to have **git** installed on your system.\ *~(Add info on installing git if it's not in the distro).~* The command to use is: # Copy the Gambas git repository from GitLab to a local path git clone --single-branch https://gitlab.com/gambas/gambas.git (where is where you want the clone installed.) This will copy the entire history of the **latest Gambas version** (~not the latest Release~) to the and set up the git infrastrucure to support future updates. So, if you want to just download at specific release ... -- B Bruen From bagonergi at ...626... Sun Aug 13 16:54:33 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 13 Aug 2017 16:54:33 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: With SVN to get the latest version of Gambas in Ubuntu 16.04.02 English I wrote these commands to the terminal (as shown http://gambaswiki.org/wiki/install/ubuntu) ; =========================================================================================================== sudo apt update sudo apt install build-essential g++ automake autoconf libtool libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev postgresql-server-dev-9.5 libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev libglew1.6-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.5-dev libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev sudo apt install subversion svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk cd trunk ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > ~/Scrivania/R_conf-Trunk.log 2>&1 ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 ============================================================================================================ To update, I wrote these commands: ============================================================================================================ cd trunk sudo make uninstall cd rm -rf trunk/ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk cd trunk ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > ~/Scrivania/R_conf-Trunk.log 2>&1 ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 ============================================================================================================ Now what do I have to write to the terminal? Regards Gianluigi 2017-08-13 15:57 GMT+02:00 Gianluigi : > In fact an idea of what Git was I already had. > Don't worry, I have no intention of ruining your big job with my > participation in the code :-) > Maybe in the future I could participate in the wiki's Italian translations. > For now I am interested in updating the trunk version. > Thank you very much for the explanations. > > Regards > Gianluigi > > 2017-08-13 15:19 GMT+02:00 Adrien Prokopowicz < > adrien.prokopowicz at ...626...>: > >> Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a >> ?crit: >> >> Hi Benoit, >>> >>> I apologize for ignorance but I have never used Git. >>> To update the Trunk, what should I do now? >>> To subscribe to the new ML? >>> To report a bug? >>> Write access is only for participating in the code, or? >>> >>> Regards >>> Gianluigi >>> >>> >> I am currently writing a full guide for using Git(Lab) to contribute to >> Gambas, >> but if you just want to checkout the latest Gambas version in the >> repository, >> you can just do : >> >> git clone https://gitlab.com/gambas/gambas.git # Will create a new >> "gambas" directory >> >> And to update it later, just go in the created directory and do : >> >> git pull >> >> There is no new mailing-list to follow git commits for now, and the >> bugtracker >> hasn't moved. >> >> Write access to the repository is only for Gambas developers and >> component maintainers : >> you do not need write access to contribute to the Gambas code anymore, >> you can do it >> through merge requests (the guide I'm writing covers what they are and >> how to use them). >> >> Of course, if you just want to get the source code, nothing is needed but >> the two commands >> above. :-) >> >> -- >> Adrien Prokopowicz >> >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From bagonergi at ...626... Sun Aug 13 16:58:24 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 13 Aug 2017 16:58:24 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: Excuse me Ubuntu 16.04.02 Italian no English Regards Gianluigi 2017-08-13 16:54 GMT+02:00 Gianluigi : > With SVN to get the latest version of Gambas in Ubuntu 16.04.02 English I > wrote these commands to the terminal (as shown http://gambaswiki.org/wiki/ > install/ubuntu) ; > > ============================================================ > =============================================== > sudo apt update > > sudo apt install build-essential g++ automake autoconf libtool libbz2-dev > libmysqlclient-dev unixodbc-dev libpq-dev postgresql-server-dev-9.5 > libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev > libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev > libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev > libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev > libpoppler-private-dev libasound2-dev libesd0-dev libdirectfb-dev > libxtst-dev libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev > libglew1.6-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev > libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev > libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev > libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.5-dev libalure-dev > libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev > libsdl2-image-dev sane-utils libdumb1-dev libqt5opengl5-dev libqt5svg5-dev > libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev > > sudo apt install subversion > > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > > cd trunk > > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Trunk.log 2>&1 > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 > ============================================================ > ================================================ > > To update, I wrote these commands: > > ============================================================ > ================================================ > cd trunk > sudo make uninstall > cd > rm -rf trunk/ > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > cd trunk > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Trunk.log 2>&1 > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 > ============================================================ > ================================================ > > Now what do I have to write to the terminal? > > Regards > Gianluigi > > 2017-08-13 15:57 GMT+02:00 Gianluigi : > >> In fact an idea of what Git was I already had. >> Don't worry, I have no intention of ruining your big job with my >> participation in the code :-) >> Maybe in the future I could participate in the wiki's Italian >> translations. >> For now I am interested in updating the trunk version. >> Thank you very much for the explanations. >> >> Regards >> Gianluigi >> >> 2017-08-13 15:19 GMT+02:00 Adrien Prokopowicz < >> adrien.prokopowicz at ...626...>: >> >>> Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a >>> ?crit: >>> >>> Hi Benoit, >>>> >>>> I apologize for ignorance but I have never used Git. >>>> To update the Trunk, what should I do now? >>>> To subscribe to the new ML? >>>> To report a bug? >>>> Write access is only for participating in the code, or? >>>> >>>> Regards >>>> Gianluigi >>>> >>>> >>> I am currently writing a full guide for using Git(Lab) to contribute to >>> Gambas, >>> but if you just want to checkout the latest Gambas version in the >>> repository, >>> you can just do : >>> >>> git clone https://gitlab.com/gambas/gambas.git # Will create a new >>> "gambas" directory >>> >>> And to update it later, just go in the created directory and do : >>> >>> git pull >>> >>> There is no new mailing-list to follow git commits for now, and the >>> bugtracker >>> hasn't moved. >>> >>> Write access to the repository is only for Gambas developers and >>> component maintainers : >>> you do not need write access to contribute to the Gambas code anymore, >>> you can do it >>> through merge requests (the guide I'm writing covers what they are and >>> how to use them). >>> >>> Of course, if you just want to get the source code, nothing is needed >>> but the two commands >>> above. :-) >>> >>> -- >>> Adrien Prokopowicz >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > From mckaygerhard at ...626... Sun Aug 13 16:59:17 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 13 Aug 2017 10:59:17 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: $ wget https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0 for a stable version using a "tag reference" on a specific release. Git are de-centralized, a local working copy and a remote central reference. Git can be made many "reference changes" until "that changes are upload" to the central. The git are based on two king of principes: the time and the commits, all the chages are references in time, that references are called "commits". The most importat from developer view are the git local repository: consists of three "trees" maintained by git. the first one is your Working Directory which holds the actual files. the second one is the Index which acts as a staging area and finally the HEAD which points to the last commit you've made. Git its virtual respect the 3 directory in svn.. and (from my point of view) now i not have the ".svn" large amount of subdirectoryes that broke if some command was made incomplete.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-13 10:54 GMT-04:00 Gianluigi : > With SVN to get the latest version of Gambas in Ubuntu 16.04.02 English I > wrote these commands to the terminal (as shown > http://gambaswiki.org/wiki/install/ubuntu) ; > > =========================================================================================================== > sudo apt update > > sudo apt install build-essential g++ automake autoconf libtool libbz2-dev > libmysqlclient-dev unixodbc-dev libpq-dev postgresql-server-dev-9.5 > libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev > libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev > libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev > libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev > libpoppler-private-dev libasound2-dev libesd0-dev libdirectfb-dev > libxtst-dev libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev > libglew1.6-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev > libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev > libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev > libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.5-dev libalure-dev > libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev > libsdl2-image-dev sane-utils libdumb1-dev libqt5opengl5-dev libqt5svg5-dev > libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev > > sudo apt install subversion > > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > > cd trunk > > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Trunk.log 2>&1 > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 > ============================================================================================================ > > To update, I wrote these commands: > > ============================================================================================================ > cd trunk > sudo make uninstall > cd > rm -rf trunk/ > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > cd trunk > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Trunk.log 2>&1 > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 > ============================================================================================================ > > Now what do I have to write to the terminal? > > Regards > Gianluigi > > 2017-08-13 15:57 GMT+02:00 Gianluigi : > >> In fact an idea of what Git was I already had. >> Don't worry, I have no intention of ruining your big job with my >> participation in the code :-) >> Maybe in the future I could participate in the wiki's Italian translations. >> For now I am interested in updating the trunk version. >> Thank you very much for the explanations. >> >> Regards >> Gianluigi >> >> 2017-08-13 15:19 GMT+02:00 Adrien Prokopowicz < >> adrien.prokopowicz at ...626...>: >> >>> Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a >>> ?crit: >>> >>> Hi Benoit, >>>> >>>> I apologize for ignorance but I have never used Git. >>>> To update the Trunk, what should I do now? >>>> To subscribe to the new ML? >>>> To report a bug? >>>> Write access is only for participating in the code, or? >>>> >>>> Regards >>>> Gianluigi >>>> >>>> >>> I am currently writing a full guide for using Git(Lab) to contribute to >>> Gambas, >>> but if you just want to checkout the latest Gambas version in the >>> repository, >>> you can just do : >>> >>> git clone https://gitlab.com/gambas/gambas.git # Will create a new >>> "gambas" directory >>> >>> And to update it later, just go in the created directory and do : >>> >>> git pull >>> >>> There is no new mailing-list to follow git commits for now, and the >>> bugtracker >>> hasn't moved. >>> >>> Write access to the repository is only for Gambas developers and >>> component maintainers : >>> you do not need write access to contribute to the Gambas code anymore, >>> you can do it >>> through merge requests (the guide I'm writing covers what they are and >>> how to use them). >>> >>> Of course, if you just want to get the source code, nothing is needed but >>> the two commands >>> above. :-) >>> >>> -- >>> Adrien Prokopowicz >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mikeB at ...3673... Sun Aug 13 19:59:35 2017 From: mikeB at ...3673... (mikeB) Date: Sun, 13 Aug 2017 11:59:35 -0600 Subject: [Gambas-user] A couple of ?s about encryption In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: <708fecc1-9be4-0943-5a19-3e5f0e1db984@...3673...> eGreeetings, I am starting a project that involves encryption of passwords and user names - storing and recalling them. 1st ? = i noticed Gambas can save and recall files from a ".hidden" directory. If the files are encrypted before saving to a hidden dir - how secure is this? In other words would an experienced coder be able to find and copy these files? Would this be the secure/ recommended way/ place to store these files? 2nd ? = shelling out to the "gpg" command line to encrypt / decrypt the password files be a secure way of doing this or is there a better way (i.e. writing the encryption code within the Gambas project)? 3rd ? = Now a GNU question from a real newbie on this subject. With this type of program (Protected Passwords) how in the heck could it be released under GNU? Or should it be? Don't understand how it could possibly be "protected" if the source code was available to all? Any suggestions, from the group, would be GREATLY APPRECIATED! mikeB From taboege at ...626... Sun Aug 13 22:03:50 2017 From: taboege at ...626... (Tobias Boege) Date: Sun, 13 Aug 2017 22:03:50 +0200 Subject: [Gambas-user] A couple of ?s about encryption In-Reply-To: <708fecc1-9be4-0943-5a19-3e5f0e1db984@...3673...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <708fecc1-9be4-0943-5a19-3e5f0e1db984@...3673...> Message-ID: <20170813200350.GE541@...3600...> On Sun, 13 Aug 2017, mikeB wrote: > eGreeetings, > I am starting a project that involves encryption of passwords and user names > - storing and recalling them. > > 1st ? = i noticed Gambas can save and recall files from a ".hidden" > directory. If the files are encrypted before > saving to a hidden dir - how secure is this? In other words would an > experienced coder be able to find and > copy these files? Would this be the secure/ recommended way/ place to store > these files? > The .hidden directory is a normal directory inside your project directory. As the documentation states [1], it contains files that should not go into the Gambas executable. If you store files in there you will in general NOT have them available when your project executes. And something else that is true for all directories in the your project: you should not suppose that any of them is writable at runtime. You can only use them to supply initial encrypted data that is never altered by the program (if that's a good idea depends on your application). [ The whole truth is: you can still access .hidden at runtime and write to any directory in your project tree IF your project is run from the project directory (you have to use absolute paths from Application.Path then). There is no (sane) way to write to project directories from an executable archive (.gambas file). The .gambas files are archives of your project directory, which the interpreter unpacks in memory. Changing an in-memory directory would have no effect on the actual directory stored inside the archive, so it is forbidden from the start. ] But yes, the interpreter can unpack executable archives, so you should suppose that everyone will be able to figure out how to do it as well (they just have to read the Gambas source code). Your data is not protected whatsoever, except by the encryption you apply. > 2nd ? = shelling out to the "gpg" command line to encrypt / decrypt the > password files be a secure way of > doing this or is there a better way (i.e. writing the encryption code within > the Gambas project)? > I can't tell you if it's secure. First of all because I don't know enough about security, and second because we don't know enough about your situation. I remember hearing that security is not a yes/no question. It depends on where your threat comes from (and if you have identified all threats). E.g. suppose that you call "gpg ..." from your program. I'm an attacker and your program allows me to run it(!) (whether this is the case you didn't say). Then I can just modify the PATH environment variable to supply my own version of "gpg" which logs all the passwords you send to it. To write encryption code in your project, there is gb.openssl. But be warned that you have to know what you're doing. For example there are surprisingly many (at least to me when I first read them) considerations to be done when hashing passwords (have a look at [2]). Commonly used hashes are considered *too fast* to be secure, for instance. The site recommends, among others, scrypt for hashing passwords. OpenSSL seems to support it but gb.openssl apparently does not. I may have to look into that sometime. > 3rd ? = Now a GNU question from a real newbie on this subject. With this > type of program (Protected Passwords) > how in the heck could it be released under GNU? Or should it be? Don't > understand how it could possibly be > "protected" if the source code was available to all? > You mean the GPL. Again, I'm no lawyer, but this shouldn't be a problem, unless you want to ship passwords directly with your source code. Why would you do that? Passwords are (normally) user-supplied data, so let the user deal with them, e.g. by storing them away from your project source code inside a directory in the user's $HOME, or something. Your program should just contain the logic to treat passwords, not their values. The security of modern encryption is not derived from their *algorithm* but from *keys*, additional data that is provided to the algorithm alongside the data to be encrypted and those keys have to be kept secret (and not distributed with source code). This is called Kerckhoff's principle [3]. So, if you're doing it right, your source code should be free of sensitive information. Regards, Tobi [1] http://gambaswiki.org/wiki/doc/project_structure [2] https://crackstation.net/hashing-security.htm [3] https://en.wikipedia.org/wiki/Kerckhoffs%27s_principle -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From tmorehen at ...3602... Sun Aug 13 22:36:07 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 13 Aug 2017 16:36:07 -0400 Subject: [Gambas-user] A couple of ?s about encryption In-Reply-To: <708fecc1-9be4-0943-5a19-3e5f0e1db984@...3673...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <708fecc1-9be4-0943-5a19-3e5f0e1db984@...3673...> Message-ID: <527493f8-965d-5cbf-8a18-66dd1268aaf0@...3602...> Don't use .hidden. There is nothing secure about and its only used by the development/installation environments. Hidden directories in general do nothing for security. Don't worry about open source/GNU. All encryption programs use the same well known algorithms. It's passwords that guarantee security, not the algorithm. BTW, like hidden files, there is no security from obscurity. As far as shelling to a third-party encryption program like gpg or openssl, those programs are good and produce secure outputs, depending of course on the algorithm selected. However, the act of shelling exposes you to several attacks like man-in-the-middle. Not recommended. So internal encryption is recommended and Gambas has the gb.crypt and gb.openssl components to lighten your workload. Also, gb.desktop has several password-related functions that can save and retrieve passwords from your system's wallet/keyring. gb.crypt includes several one way hash algorithms like md5 or sha-256. With these, you save the password hash and then compare hashes on future logins. With these, you never save the actual passwords and the hashes are virtually impossible to decrypt. For two way encryption, where you need to go from plain text to encrypted text back to plain text, look at gb.openssl. It has methods for symmetric encryption (one password to both encrypt and decrypt text) and for asymmetric encryption(two passwords, one to encrypt and one to decrypt). Public key private key encryption is an example of the latter. Text encrypted with the private key can only be decrypted by the public key and vice versa. On 2017-08-13 01:59 PM, mikeB wrote: > eGreeetings, > I am starting a project that involves encryption of passwords and user > names - storing and recalling them. > > 1st ? = i noticed Gambas can save and recall files from a ".hidden" > directory. If the files are encrypted before > saving to a hidden dir - how secure is this? In other words would an > experienced coder be able to find and > copy these files? Would this be the secure/ recommended way/ place to > store these files? > > 2nd ? = shelling out to the "gpg" command line to encrypt / decrypt > the password files be a secure way of > doing this or is there a better way (i.e. writing the encryption code > within the Gambas project)? > > 3rd ? = Now a GNU question from a real newbie on this subject. With > this type of program (Protected Passwords) > how in the heck could it be released under GNU? Or should it be? Don't > understand how it could possibly be > "protected" if the source code was available to all? > > Any suggestions, from the group, would be GREATLY APPRECIATED! > mikeB > > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Sun Aug 13 23:24:47 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 14 Aug 2017 00:24:47 +0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: > ============================================================ > ================================================ > > To update, I wrote these commands: > > ============================================================ > ================================================ > cd trunk > sudo make uninstall > cd > rm -rf trunk/ > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > cd trunk > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Trunk.log 2>&1 > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 > ============================================================ > ================================================ > What? Why? No need to delete any sources, just use "svn update". I hope svn still stays as alternative way, as in my experience git will eventually make things very complicated. Jussi From jussi.lahtinen at ...626... Mon Aug 14 00:12:43 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 14 Aug 2017 01:12:43 +0300 Subject: [Gambas-user] Process.Wait freeze Message-ID: See attached project. Module mTest.DoTests the loop starting from 1680 freezes randomly in one of the hProcess.Wait commands. This may be old bug, because I haven't update the sources for quite a while. [System] Gambas=3.10.90 r8175 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7984M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.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 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-yCq7Dgrg0M,guid=9a0ab6b65eff69b32dd8204b59905528 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7856 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-xaFgNs GPG_AGENT_INFO=/run/user/1000/keyring-xaFgNs/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1559,unix/:/tmp/.ICE-unix/1559 SHELL=/bin/bash SSH_AGENT_PID=1692 SSH_AUTH_SOCK=/run/user/1000/keyring-xaFgNs/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1502631208.232811-2021673404 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@im=none Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.49.tar.gz Type: application/x-gzip Size: 18376 bytes Desc: not available URL: From adamnt42 at ...626... Mon Aug 14 00:13:08 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 14 Aug 2017 07:43:08 +0930 Subject: [Gambas-user] How to stop a control raising events? Message-ID: <20170814074308.243fc556faa3fb68a0a2c5c7@...626...> (A quicky!) Wasn't there a way to temporarily stop a control raising events, MyControl.Lock or somesuch? My memory fails! tia bruce -- B Bruen From jussi.lahtinen at ...626... Mon Aug 14 00:18:18 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 14 Aug 2017 01:18:18 +0300 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: Message-ID: The freeze from gdb. #0 0x00007ffff7b068b3 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000000000041e26d in WATCH_process (fd_end=fd_end at ...2861...=4, fd_output=-1, timeout=timeout at ...2861...=0) at gbx_watch.c:685 #2 0x00000000004286d9 in CPROCESS_wait_for (process=0x688298, timeout=0) at gbx_c_process.c:976 #3 0x000000000043250e in EXEC_native () at gbx_exec.c:1375 #4 0x000000000043cc4a in EXEC_loop () at gbx_exec_loop.c:1427 #5 0x00000000004316fb in EXEC_function_loop () at gbx_exec.c:931 #6 0x000000000043346f in EXEC_function_real () at gbx_exec.c:895 #7 EXEC_public_desc (class=, object=object at ...2861...=0x0, desc=desc at ...2861...=0x681aa8, nparam=nparam at ...2861...=0) at gbx_exec.c:1618 #8 0x0000000000404b68 in main (argc=1, argv=0x7fffffffdfd8) at gbx.c:416 Jussi On Mon, Aug 14, 2017 at 1:12 AM, Jussi Lahtinen wrote: > See attached project. Module mTest.DoTests the loop starting from 1680 > freezes randomly in one of the hProcess.Wait commands. This may be old bug, > because I haven't update the sources for quite a while. > > [System] > Gambas=3.10.90 r8175 > OperatingSystem=Linux > Kernel=3.19.0-32-generic > Architecture=x86_64 > Distribution=Linux Mint 17.3 Rosa > Desktop=CINNAMON > Theme=Gtk > Language=en_US.UTF-8 > Memory=7984M > > [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+2=libgtk-x11-2.0.so.0.2400.23 > GTK+3=libgtk-3.so.0.1000.8 > OpenGL=libGL.so.1.2.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 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > CLUTTER_BACKEND=x11 > CLUTTER_IM_MODULE=xim > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-yCq7Dgrg0M,guid= > 9a0ab6b65eff69b32dd8204b59905528 > DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path > DESKTOP_SESSION=cinnamon > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GB_PROFILE_MAX=1000 > GDMSESSION=cinnamon > GDM_XSERVER_LOCATION=local > GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=7856 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-xaFgNs > GPG_AGENT_INFO=/run/user/1000/keyring-xaFgNs/gpg:0:1 > GTK_IM_MODULE=xim > HOME= > INSIDE_NEMO_PYTHON= > LANG=en_US.UTF-8 > LC_ADDRESS=fi_FI.UTF-8 > LC_IDENTIFICATION=fi_FI.UTF-8 > LC_MEASUREMENT=fi_FI.UTF-8 > LC_MONETARY=fi_FI.UTF-8 > LC_NAME=fi_FI.UTF-8 > LC_NUMERIC=fi_FI.UTF-8 > LC_PAPER=fi_FI.UTF-8 > LC_TELEPHONE=fi_FI.UTF-8 > LC_TIME=en_US.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path > MDMSESSION=cinnamon > MDM_LANG=en_US.UTF-8 > MDM_XSERVER_LOCATION=local > PAPERSIZE=letter > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ > sbin:/bin:/usr/games:/usr/local/games > PWD= > QT4_IM_MODULE=xim > QT_STYLE_OVERRIDE=gtk > SESSION_MANAGER=local/:@/tmp/.ICE-unix/ > 1559,unix/:/tmp/.ICE-unix/1559 > SHELL=/bin/bash > SSH_AGENT_PID=1692 > SSH_AUTH_SOCK=/run/user/1000/keyring-xaFgNs/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER= > USERNAME= > WINDOWPATH=8 > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg > XDG_CURRENT_DESKTOP=X-Cinnamon > XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/ > usr/local/share/:/usr/share/:/usr/share/mdm/ > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1502631208.232811- > 2021673404 > XDG_SESSION_DESKTOP=cinnamon > XDG_SESSION_ID=c1 > XDG_VTNR=8 > XMODIFIERS=@im=none > > > Jussi > From taboege at ...626... Mon Aug 14 00:18:46 2017 From: taboege at ...626... (Tobias Boege) Date: Mon, 14 Aug 2017 00:18:46 +0200 Subject: [Gambas-user] How to stop a control raising events? In-Reply-To: <20170814074308.243fc556faa3fb68a0a2c5c7@...626...> References: <20170814074308.243fc556faa3fb68a0a2c5c7@...626...> Message-ID: <20170813221845.GI541@...3600...> On Mon, 14 Aug 2017, adamnt42 at ...626... wrote: > (A quicky!) > > Wasn't there a way to temporarily stop a control raising events, MyControl.Lock or somesuch? My memory fails! > tia > bruce Object.Lock(x) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From adamnt42 at ...626... Mon Aug 14 00:25:29 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 14 Aug 2017 07:55:29 +0930 Subject: [Gambas-user] How to stop a control raising events? In-Reply-To: <20170813221845.GI541@...3600...> References: <20170814074308.243fc556faa3fb68a0a2c5c7@...626...> <20170813221845.GI541@...3600...> Message-ID: <20170814075529.5931967eb702fc11b755a337@...626...> Thanks Tobi! b On Mon, 14 Aug 2017 00:18:46 +0200 Tobias Boege wrote: > On Mon, 14 Aug 2017, adamnt42 at ...626... wrote: > > (A quicky!) > > > > Wasn't there a way to temporarily stop a control raising events, MyControl.Lock or somesuch? My memory fails! > > tia > > bruce > > Object.Lock(x) > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From mikeB at ...3673... Mon Aug 14 01:45:11 2017 From: mikeB at ...3673... (mikeB) Date: Sun, 13 Aug 2017 17:45:11 -0600 Subject: [Gambas-user] A couple of ?s about encryption In-Reply-To: <527493f8-965d-5cbf-8a18-66dd1268aaf0@...3602...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <708fecc1-9be4-0943-5a19-3e5f0e1db984@...3673...> <527493f8-965d-5cbf-8a18-66dd1268aaf0@...3602...> Message-ID: <55f85f60-146c-7448-e7b1-4816fcc2c44a@...3673...> Thansk to all that responded to my query - think I can get on the right path now. mikeB On 08/13/2017 02:36 PM, Tony Morehen wrote: > Don't use .hidden. There is nothing secure about and its only used by > the development/installation environments. Hidden directories in > general do nothing for security. > > Don't worry about open source/GNU. All encryption programs use the > same well known algorithms. It's passwords that guarantee security, > not the algorithm. BTW, like hidden files, there is no security from > obscurity. > > As far as shelling to a third-party encryption program like gpg or > openssl, those programs are good and produce secure outputs, depending > of course on the algorithm selected. However, the act of shelling > exposes you to several attacks like man-in-the-middle. Not recommended. > > So internal encryption is recommended and Gambas has the gb.crypt and > gb.openssl components to lighten your workload. Also, gb.desktop has > several password-related functions that can save and retrieve > passwords from your system's wallet/keyring. > > gb.crypt includes several one way hash algorithms like md5 or > sha-256. With these, you save the password hash and then compare > hashes on future logins. With these, you never save the actual > passwords and the hashes are virtually impossible to decrypt. > > For two way encryption, where you need to go from plain text to > encrypted text back to plain text, look at gb.openssl. It has methods > for symmetric encryption (one password to both encrypt and decrypt > text) and for asymmetric encryption(two passwords, one to encrypt and > one to decrypt). Public key private key encryption is an example of > the latter. Text encrypted with the private key can only be decrypted > by the public key and vice versa. > > > On 2017-08-13 01:59 PM, mikeB wrote: >> eGreeetings, >> I am starting a project that involves encryption of passwords and >> user names - storing and recalling them. >> >> 1st ? = i noticed Gambas can save and recall files from a ".hidden" >> directory. If the files are encrypted before >> saving to a hidden dir - how secure is this? In other words would an >> experienced coder be able to find and >> copy these files? Would this be the secure/ recommended way/ place to >> store these files? >> >> 2nd ? = shelling out to the "gpg" command line to encrypt / decrypt >> the password files be a secure way of >> doing this or is there a better way (i.e. writing the encryption code >> within the Gambas project)? >> >> 3rd ? = Now a GNU question from a real newbie on this subject. With >> this type of program (Protected Passwords) >> how in the heck could it be released under GNU? Or should it be? >> Don't understand how it could possibly be >> "protected" if the source code was available to all? >> >> Any suggestions, from the group, would be GREATLY APPRECIATED! >> mikeB >> >> >> >> ------------------------------------------------------------------------------ >> >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tmorehen at ...3602... Mon Aug 14 01:54:18 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 13 Aug 2017 19:54:18 -0400 Subject: [Gambas-user] How to stop a control raising events? In-Reply-To: <20170813221845.GI541@...3600...> References: <20170814074308.243fc556faa3fb68a0a2c5c7@...626...> <20170813221845.GI541@...3600...> Message-ID: <565773fb-54b5-d4aa-ff82-643a3e8a7a2b@...3602...> Careful, though, Object.Lock inhibits all events associated with a control, including events from internal controls. For example, DirView has an internal TreeView control. When you click on a folder or set the Current property in code, DirView tells the TreeView to expand that branch. TreeView then raises the Expand event, requesting that DirView fill in the sub-folders of that branch. After that is done, DirView raises its click event. I wanted the click event to only occur when the user clicks on a folder so I surrounded the code setting DirView.Current with object.lock/unlock. All of a sudden, DirView stopped updating properly. This seemed to occur only during the initialization of DirView. It took me 2 days to figure out that the object.lock stopped the TreeView Expand event so DirView did not update. Another control was setting the DirView Current property during its initialization, not any of my own code, which made debugging even harder. I wound up replacing the object.lock with a boolean flag. When set, the flag stops the Click event code from running. On 2017-08-13 06:18 PM, Tobias Boege wrote: > On Mon, 14 Aug 2017, adamnt42 at ...626... wrote: >> (A quicky!) >> >> Wasn't there a way to temporarily stop a control raising events, MyControl.Lock or somesuch? My memory fails! >> tia >> bruce > Object.Lock(x) > From mckaygerhard at ...626... Mon Aug 14 04:18:08 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 13 Aug 2017 22:18:08 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: > I hope svn still stays as alternative way, as in my experience git will > eventually make things very complicated. git comes later after svn some years.. so if on all the world are used in several project managers, must be a OBVIOS reason.. in another way, svn and git can be in sync with the svn repository as secondary.. in the gitlab define a hook and setup the mirror.. another way define a hook in the SF svn repository and track the git repository, its not easyle but its possible and can be made it > > > Jussi > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Mon Aug 14 11:11:17 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 14 Aug 2017 11:11:17 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: Hi Jussi, thanks for the suggestion, but once I had problems and since I did so I did not have any more problems. So if I understand well, I can continue updating Gambas trunk from SVN. Is that so? Regards Gianluigi 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen : > > ============================================================ > > ================================================ > > > > To update, I wrote these commands: > > > > ============================================================ > > ================================================ > > cd trunk > > sudo make uninstall > > cd > > rm -rf trunk/ > > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > > cd trunk > > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > > ~/Scrivania/R_conf-Trunk.log 2>&1 > > > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 > > ============================================================ > > ================================================ > > > > What? Why? No need to delete any sources, just use "svn update". > > I hope svn still stays as alternative way, as in my experience git will > eventually make things very complicated. > > > Jussi > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Mon Aug 14 14:34:51 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 14 Aug 2017 14:34:51 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: I tried to install from SVN in a notebook where I had Gambas from PPA, I get this: make:*** No specified target and no makefile found. Stop. Who kindly explains step by step how can I have the trunk in my Notebook (Ubuntu 14.04.01) by compiling Gambas? Regards Gianluigi 2017-08-14 11:11 GMT+02:00 Gianluigi : > Hi Jussi, > thanks for the suggestion, but once I had problems and since I did so I > did not have any more problems. > So if I understand well, I can continue updating Gambas trunk from SVN. > Is that so? > > Regards > Gianluigi > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen : > >> > ============================================================ >> > ================================================ >> > >> > To update, I wrote these commands: >> > >> > ============================================================ >> > ================================================ >> > cd trunk >> > sudo make uninstall >> > cd >> > rm -rf trunk/ >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >> > cd trunk >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 >> > ============================================================ >> > ================================================ >> > >> >> What? Why? No need to delete any sources, just use "svn update". >> >> I hope svn still stays as alternative way, as in my experience git will >> eventually make things very complicated. >> >> >> Jussi >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From adamnt42 at ...626... Mon Aug 14 14:54:53 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 14 Aug 2017 22:24:53 +0930 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: <20170814222453.b39a9329f85fcbf716854af5@...626...> On Mon, 14 Aug 2017 14:34:51 +0200 Gianluigi wrote: > I tried to install from SVN in a notebook where I had Gambas from PPA, I > get this: > make:*** No specified target and no makefile found. Stop. What was the exact "make" command that you entered? > Who kindly explains step by step how can I have the trunk in my Notebook > (Ubuntu 14.04.01) by compiling Gambas? > > Regards > Gianluigi > > 2017-08-14 11:11 GMT+02:00 Gianluigi : > > > Hi Jussi, > > thanks for the suggestion, but once I had problems and since I did so I > > did not have any more problems. > > So if I understand well, I can continue updating Gambas trunk from SVN. > > Is that so? > > > > Regards > > Gianluigi > > > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen : > > > >> > ============================================================ > >> > ================================================ > >> > > >> > To update, I wrote these commands: > >> > > >> > ============================================================ > >> > ================================================ > >> > cd trunk > >> > sudo make uninstall > >> > cd > >> > rm -rf trunk/ > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > >> > cd trunk > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 > >> > > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log 2>&1 > >> > ============================================================ > >> > ================================================ > >> > > >> > >> What? Why? No need to delete any sources, just use "svn update". > >> > >> I hope svn still stays as alternative way, as in my experience git will > >> eventually make things very complicated. > >> > >> > >> Jussi > >> ------------------------------------------------------------ > >> ------------------ > >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From mckaygerhard at ...626... Mon Aug 14 15:06:13 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 14 Aug 2017 09:06:13 -0400 Subject: [Gambas-user] Gambas included in the hardinfo report tool Message-ID: I pull a patch to hardinfo utility to display gambas version compiler and runtime: https://github.com/lpereira/hardinfo/pull/145#issuecomment-322134068 in the development section report! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bagonergi at ...626... Mon Aug 14 15:50:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 14 Aug 2017 15:50:40 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <20170814222453.b39a9329f85fcbf716854af5@...626...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: Your question has caused me a doubt and I went to check the commands, I do not know for which obscure reason between ./configure -C and make a cd has gone out and I came out of the directory. I apologize for not having checked before asking. So now everything is clear to me, SVN for those who just want to fill the trunk works still. Thank you. Gianluigi 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : > On Mon, 14 Aug 2017 14:34:51 +0200 > Gianluigi wrote: > > > I tried to install from SVN in a notebook where I had Gambas from PPA, I > > get this: > > make:*** No specified target and no makefile found. Stop. > > What was the exact "make" command that you entered? > > > > > Who kindly explains step by step how can I have the trunk in my Notebook > > (Ubuntu 14.04.01) by compiling Gambas? > > > > Regards > > Gianluigi > > > > 2017-08-14 11:11 GMT+02:00 Gianluigi : > > > > > Hi Jussi, > > > thanks for the suggestion, but once I had problems and since I did so I > > > did not have any more problems. > > > So if I understand well, I can continue updating Gambas trunk from SVN. > > > Is that so? > > > > > > Regards > > > Gianluigi > > > > > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen : > > > > > >> > ============================================================ > > >> > ================================================ > > >> > > > >> > To update, I wrote these commands: > > >> > > > >> > ============================================================ > > >> > ================================================ > > >> > cd trunk > > >> > sudo make uninstall > > >> > cd > > >> > rm -rf trunk/ > > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > > >> > cd trunk > > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 > > >> > > > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log > 2>&1 > > >> > ============================================================ > > >> > ================================================ > > >> > > > >> > > >> What? Why? No need to delete any sources, just use "svn update". > > >> > > >> I hope svn still stays as alternative way, as in my experience git > will > > >> eventually make things very complicated. > > >> > > >> > > >> Jussi > > >> ------------------------------------------------------------ > > >> ------------------ > > >> 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 at 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 at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -- > B Bruen > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Mon Aug 14 21:16:49 2017 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 14 Aug 2017 21:16:49 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView Message-ID: Hi! I am trying to compile Gambas from GIT, and when it comes to building the IDE, this error pops up: FProperty.class:25: error: Unknown identifier: &1 WebView I been able to compile and use the IDE without the qt4 webkit component with previous versions of Gambas, and wondered if this could be the issue now... or is it something else? From gambas at ...1... Mon Aug 14 21:23:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 14 Aug 2017 21:23:55 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: References: Message-ID: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> Le 14/08/2017 ? 21:16, Moviga Technologies a ?crit : > Hi! > > I am trying to compile Gambas from GIT, and when it comes to building > the IDE, this error pops up: > > FProperty.class:25: error: Unknown identifier: &1 WebView > > I been able to compile and use the IDE without the qt4 webkit component > with previous versions of Gambas, and wondered if this could be the > issue now... or is it something else? The webkit component is required since a while. Regards, -- Beno?t Minisini From moviga at ...3488... Mon Aug 14 21:34:39 2017 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 14 Aug 2017 21:34:39 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> Message-ID: OK, both of them? It has been some months since last time I compiled Gambas, but at that time I disabled the qt4 webkit component, as it failed compilation on Arch. I should find out why it fails then, and try to fix that :) Den 14.08.2017 21:23, skrev Beno?t Minisini: > Le 14/08/2017 ? 21:16, Moviga Technologies a ?crit : > >> Hi! >> >> I am trying to compile Gambas from GIT, and when it comes to building >> the IDE, this error pops up: >> >> FProperty.class:25: error: Unknown identifier: &1 WebView >> >> I been able to compile and use the IDE without the qt4 webkit component >> with previous versions of Gambas, and wondered if this could be the >> issue now... or is it something else? > > The webkit component is required since a while. > > Regards, From lordheavym at ...626... Mon Aug 14 22:15:17 2017 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 14 Aug 2017 22:15:17 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> Message-ID: <1925152.jLOyN0o5nE@...3677...> Le lundi 14 ao?t 2017, 21:23:55 CEST Beno?t Minisini via Gambas-user a ?crit : > Le 14/08/2017 ? 21:16, Moviga Technologies a ?crit : > > Hi! > > > > I am trying to compile Gambas from GIT, and when it comes to building > > the IDE, this error pops up: > > > > FProperty.class:25: error: Unknown identifier: &1 WebView > > > > I been able to compile and use the IDE without the qt4 webkit component > > with previous versions of Gambas, and wondered if this could be the > > issue now... or is it something else? > > The webkit component is required since a while. > > Regards, See http://gambaswiki.org/bugtracker/edit?object=BUG.1137&from=L21haW4- The problem is with gb.gui(.qt.webkit) component, who can't choose gb.qt5/ gb.qt5.webkit components if gb.qt4 component is found but gb.qt4.webkit component isn't available. -- Laurent Carlier http://www.archlinux.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part. URL: From moviga at ...3488... Mon Aug 14 22:30:07 2017 From: moviga at ...3488... (Moviga Technologies) Date: Mon, 14 Aug 2017 22:30:07 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <1925152.jLOyN0o5nE@...3677...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> Message-ID: <762cbad0daaa975e6f61b15481a378c0@...3488...> Thanks! I am now running 3.10.90 :) From karl.reinl at ...9... Mon Aug 14 23:02:12 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Mon, 14 Aug 2017 23:02:12 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <762cbad0daaa975e6f61b15481a378c0@...3488...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> <762cbad0daaa975e6f61b15481a378c0@...3488...> Message-ID: <1502744532.5677.60.camel@...3609...> Am Montag, den 14.08.2017, 22:30 +0200 schrieb Moviga Technologies: > Thanks! I am now running 3.10.90 :) > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Salut, do you get a revision when making 'gbx3 -V' like '3.10.90 r8171' -- Amicalement Charlie From moviga at ...3488... Tue Aug 15 09:53:31 2017 From: moviga at ...3488... (Moviga Technologies) Date: Tue, 15 Aug 2017 09:53:31 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <1502744532.5677.60.camel@...3609...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> <762cbad0daaa975e6f61b15481a378c0@...3488...> <1502744532.5677.60.camel@...3609...> Message-ID: <89c6864feccfa6fbd6814840bb0dde4a@...3488...> Hmmm.... no, not in the 'app/src/gambas3/' directory. Should I? > Salut, > > do you get a revision when making 'gbx3 -V' like '3.10.90 r8171' From karl.reinl at ...9... Tue Aug 15 10:06:21 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 15 Aug 2017 10:06:21 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <89c6864feccfa6fbd6814840bb0dde4a@...3488...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> <762cbad0daaa975e6f61b15481a378c0@...3488...> <1502744532.5677.60.camel@...3609...> <89c6864feccfa6fbd6814840bb0dde4a@...3488...> Message-ID: <1502784381.5677.62.camel@...3609...> Am Dienstag, den 15.08.2017, 09:53 +0200 schrieb Moviga Technologies: > Hmmm.... no, not in the 'app/src/gambas3/' directory. Should I? > > > Salut, > > > > do you get a revision when making 'gbx3 -V' like '3.10.90 r8171' on svn when checking gbx3 -V you get the revision, so my question was if it is the same on git. From owlbrudder at ...626... Tue Aug 15 10:59:40 2017 From: owlbrudder at ...626... (Doug Hutcheson) Date: Tue, 15 Aug 2017 18:59:40 +1000 Subject: [Gambas-user] Declaring 'Public pbSwitch As Object[16]' throws error 'Syntax error in FMain.class:3' Message-ID: <1502787580.2636.11.camel@...626...> I have just found Gambas and have the usual learning curve. Sigh. I have copied the code from http://gambaswiki.org/wiki/comp/gb/object/a ttach into a new project and tried stepping through it. The first statement is the declaration 'Public pbSwitch As Object[16]' and this throws ''Syntax error in FMain.class:3'. If I delete the array dimension '16', I can step through the code until the first time the array is used when it falls over, of course. Can someone please tell me what I have done wrong? By the way, I am glad to have found Gambas, as it leverages my VB and LibreOffice Basic experience. Excellent application! Kind regards, Doug From taboege at ...626... Tue Aug 15 11:40:26 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 15 Aug 2017 11:40:26 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <1502784381.5677.62.camel@...3609...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> <762cbad0daaa975e6f61b15481a378c0@...3488...> <1502744532.5677.60.camel@...3609...> <89c6864feccfa6fbd6814840bb0dde4a@...3488...> <1502784381.5677.62.camel@...3609...> Message-ID: <20170815094026.GL541@...3600...> On Tue, 15 Aug 2017, Karl Reinl wrote: > Am Dienstag, den 15.08.2017, 09:53 +0200 schrieb Moviga Technologies: > > Hmmm.... no, not in the 'app/src/gambas3/' directory. Should I? > > > > > Salut, > > > > > > do you get a revision when making 'gbx3 -V' like '3.10.90 r8171' > > on svn when checking gbx3 -V you get the revision, so my question was if > it is the same on git. > With git we lose the straightforward revision numbers of svn and get commit hashes instead. I just made a commit that puts the (short) commit hash and the branch name into the place of the revision number when Gambas is compiled from git. I'm currently running $ gbx3 -V 3.10.90 raa559edd9 (master) Now I have to figure out how to propagate my change to the official tree. I git-version almost everything I work on, but collaborating with others on gitlab is new for me. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Aug 15 12:08:37 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 15 Aug 2017 12:08:37 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <20170815094026.GL541@...3600...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> <762cbad0daaa975e6f61b15481a378c0@...3488...> <1502744532.5677.60.camel@...3609...> <89c6864feccfa6fbd6814840bb0dde4a@...3488...> <1502784381.5677.62.camel@...3609...> <20170815094026.GL541@...3600...> Message-ID: <20170815100837.GM541@...3600...> On Tue, 15 Aug 2017, Tobias Boege wrote: > I'm currently running > > $ gbx3 -V > 3.10.90 raa559edd9 (master) > Which was obviously due to a bug ("r" is not a hexadecimal digit) which I caught before pushing the commit. Correct should now be "3.10.90 48c951987 (master)". -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Aug 15 13:03:03 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 15 Aug 2017 13:03:03 +0200 Subject: [Gambas-user] Declaring 'Public pbSwitch As Object[16]' throws error 'Syntax error in FMain.class:3' In-Reply-To: <1502787580.2636.11.camel@...626...> References: <1502787580.2636.11.camel@...626...> Message-ID: <20170815110303.GN541@...3600...> On Tue, 15 Aug 2017, Doug Hutcheson wrote: > I have just found Gambas and have the usual learning curve. Sigh. > > I have copied the code from http://gambaswiki.org/wiki/comp/gb/object/a > ttach into a new project and tried stepping through it. The first > statement is the declaration 'Public pbSwitch As Object[16]' and this > throws ''Syntax error in FMain.class:3'. If I delete the array > dimension '16', I can step through the code until the first time the > array is used when it falls over, of course. Can someone please tell me > what I have done wrong? > > By the way, I am glad to have found Gambas, as it leverages my VB and > LibreOffice Basic experience. Excellent application! > I don't know if "Public a As x[k]" was ever valid in Gambas (the source code in the markdown of that page looks like Gambas2). See the Array Declaration page [1]. You have normally two types of arrays in Gambas. The normal dynamic ones, which you can declare with Public a As New x[k] Public a As New x[](k) ' alternative (note the NEW keyword), and so-called embedded arrays: Public a[k] As x Usually you want the former (normal) arrays. I updated the example in the Object.Attach() documentation. Regards, Tobi [1] http://gambaswiki.org/wiki/lang/arraydecl -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Tue Aug 15 14:49:09 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 15 Aug 2017 14:49:09 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: For people with a hard head like mine, I would add that Gambas3's compilation from Git is as smooth as that from SVN in my notebook with Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I did so: First, I deleted every Gambas3 track with the commands suggested by Jussi Lahtinen and that is: sudo apt-get --purge remove gambas3 sudo apt-get autoremove gambas3 sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo rm -f /usr/local/bin/gambas3 sudo rm -f /usr/local/bin/gambas3.gambas sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/lib/gambas3 sudo rm -rf /usr/share/gambas3 sudo rm -f /usr/bin/gambas3 sudo rm -f /usr/bin/gambas3.gambas Then I installed Git: sudo apt-get install git Then I downloaded the development version that creates the gambasdevel folder in our home: git clone https://gitlab.com/gambas/gambas.git gambasdevel Then I did as I did before, with gambasdevel in place of trunk: cd gambasdevel ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 After checking that everything was ok: ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 Note: Change Scrivania with Desktop I have not tried yet, but I presume that, to compile the stable need to download with the command: mkdir gambasstable & cd gambasstable; wget https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; tar -zxvf *.tar.gz And then continue with gambasstable instead of gambasdevel. To avoid mistakes with commands, a good idea is to create a script, as a friend suggested to me :-) Regards Gianluigi 2017-08-14 15:50 GMT+02:00 Gianluigi : > Your question has caused me a doubt and I went to check the commands, I do > not know for which obscure reason between ./configure -C and make a cd has > gone out and I came out of the directory. > I apologize for not having checked before asking. > > So now everything is clear to me, SVN for those who just want to fill the > trunk works still. > > Thank you. > Gianluigi > > 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : > >> On Mon, 14 Aug 2017 14:34:51 +0200 >> Gianluigi wrote: >> >> > I tried to install from SVN in a notebook where I had Gambas from PPA, I >> > get this: >> > make:*** No specified target and no makefile found. Stop. >> >> What was the exact "make" command that you entered? >> >> >> >> > Who kindly explains step by step how can I have the trunk in my Notebook >> > (Ubuntu 14.04.01) by compiling Gambas? >> > >> > Regards >> > Gianluigi >> > >> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >> > >> > > Hi Jussi, >> > > thanks for the suggestion, but once I had problems and since I did so >> I >> > > did not have any more problems. >> > > So if I understand well, I can continue updating Gambas trunk from >> SVN. >> > > Is that so? >> > > >> > > Regards >> > > Gianluigi >> > > >> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen : >> > > >> > >> > ============================================================ >> > >> > ================================================ >> > >> > >> > >> > To update, I wrote these commands: >> > >> > >> > >> > ============================================================ >> > >> > ================================================ >> > >> > cd trunk >> > >> > sudo make uninstall >> > >> > cd >> > >> > rm -rf trunk/ >> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >> > >> > cd trunk >> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >> > >> > >> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log >> 2>&1 >> > >> > ============================================================ >> > >> > ================================================ >> > >> > >> > >> >> > >> What? Why? No need to delete any sources, just use "svn update". >> > >> >> > >> I hope svn still stays as alternative way, as in my experience git >> will >> > >> eventually make things very complicated. >> > >> >> > >> >> > >> Jussi >> > >> ------------------------------------------------------------ >> > >> ------------------ >> > >> 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 at 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 at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> -- >> B Bruen >> >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From bagonergi at ...626... Tue Aug 15 16:10:05 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 15 Aug 2017 16:10:05 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <20170815100837.GM541@...3600...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> <762cbad0daaa975e6f61b15481a378c0@...3488...> <1502744532.5677.60.camel@...3609...> <89c6864feccfa6fbd6814840bb0dde4a@...3488...> <1502784381.5677.62.camel@...3609...> <20170815094026.GL541@...3600...> <20170815100837.GM541@...3600...> Message-ID: Don't tell Jussi that I updated this way :-) cd gambasdevel sudo make uninstall cd rm -rf gambasdevel/ git clone https://gitlab.com/gambas/gambas.git gambasdevel cd gambasdevel ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 End now works well: gian at ...3678...:~$ gbx3 -V 3.10.90 48c9519 (master) gian at ...3678...:~$ [System] Gambas=3.10.90 48c9519 (master) OperatingSystem=Linux Kernel=3.13.0-128-generic Architecture=x86_64 Distribution=Ubuntu 14.04.5 LTS Desktop=UNITY Theme=Cleanlooks Language=it_IT.UTF-8 Memory=3845M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.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 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-uWDKYgNvYV DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/home/an/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=474 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-bs6ECB GNOME_KEYRING_PID= GPG_AGENT_INFO=/run/user/1000/keyring-bs6ECB/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar:unity-gtk-module HOME=/home/an IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=it_IT.UTF-8 LANGUAGE=it LOGNAME=an MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/an QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1671,unix/:/tmp/.ICE-unix/1671 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-bs6ECB/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1291 USER=an XAUTHORITY=/home/an/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/an XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@im=ibus Regards Gianluigi 2017-08-15 12:08 GMT+02:00 Tobias Boege : > On Tue, 15 Aug 2017, Tobias Boege wrote: > > I'm currently running > > > > $ gbx3 -V > > 3.10.90 raa559edd9 (master) > > > > Which was obviously due to a bug ("r" is not a hexadecimal digit) > which I caught before pushing the commit. Correct should now be > "3.10.90 48c951987 (master)". > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Tue Aug 15 16:24:30 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 15 Aug 2017 10:24:30 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: well the documentation in wiki was a fisr time made, with some correction of guys here.. seems commands are very complicated? of course are some other ways.. maybe that commands was wrote too fast .. in a hurry to make available to all,... i currenlty testing other ways to make the compilations.. and i'll try to do my best in that document at the wiki.. if have any suggestion please .. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-15 8:49 GMT-04:00 Gianluigi : > For people with a hard head like mine, I would add that Gambas3's > compilation from Git is as smooth as that from SVN in my notebook with > Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I > did so: > > First, I deleted every Gambas3 track with the commands suggested by Jussi > Lahtinen and that is: > > sudo apt-get --purge remove gambas3 > sudo apt-get autoremove gambas3 > > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > /usr/local/bin/gbi3 /usr/local/bin/gbs3 > sudo rm -rf /usr/local/lib/gambas3 > sudo rm -rf /usr/local/share/gambas3 > sudo rm -f /usr/local/bin/gambas3 > sudo rm -f /usr/local/bin/gambas3.gambas > > sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > /usr/local/bin/gbs3 > sudo rm -rf /usr/lib/gambas3 > sudo rm -rf /usr/share/gambas3 > sudo rm -f /usr/bin/gambas3 > sudo rm -f /usr/bin/gambas3.gambas > > Then I installed Git: > > sudo apt-get install git > > Then I downloaded the development version that creates the gambasdevel > folder in our home: > > git clone https://gitlab.com/gambas/gambas.git gambasdevel > > Then I did as I did before, with gambasdevel in place of trunk: > > cd gambasdevel > > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > > After checking that everything was ok: > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 > > Note: Change Scrivania with Desktop > > I have not tried yet, but I presume that, to compile the stable need to > download with the command: > > mkdir gambasstable & cd gambasstable; wget > https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; tar > -zxvf *.tar.gz > > And then continue with gambasstable instead of gambasdevel. > > To avoid mistakes with commands, a good idea is to create a script, as a > friend suggested to me :-) > > Regards > Gianluigi > > 2017-08-14 15:50 GMT+02:00 Gianluigi : > >> Your question has caused me a doubt and I went to check the commands, I do >> not know for which obscure reason between ./configure -C and make a cd has >> gone out and I came out of the directory. >> I apologize for not having checked before asking. >> >> So now everything is clear to me, SVN for those who just want to fill the >> trunk works still. >> >> Thank you. >> Gianluigi >> >> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : >> >>> On Mon, 14 Aug 2017 14:34:51 +0200 >>> Gianluigi wrote: >>> >>> > I tried to install from SVN in a notebook where I had Gambas from PPA, I >>> > get this: >>> > make:*** No specified target and no makefile found. Stop. >>> >>> What was the exact "make" command that you entered? >>> >>> >>> >>> > Who kindly explains step by step how can I have the trunk in my Notebook >>> > (Ubuntu 14.04.01) by compiling Gambas? >>> > >>> > Regards >>> > Gianluigi >>> > >>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >>> > >>> > > Hi Jussi, >>> > > thanks for the suggestion, but once I had problems and since I did so >>> I >>> > > did not have any more problems. >>> > > So if I understand well, I can continue updating Gambas trunk from >>> SVN. >>> > > Is that so? >>> > > >>> > > Regards >>> > > Gianluigi >>> > > >>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen : >>> > > >>> > >> > ============================================================ >>> > >> > ================================================ >>> > >> > >>> > >> > To update, I wrote these commands: >>> > >> > >>> > >> > ============================================================ >>> > >> > ================================================ >>> > >> > cd trunk >>> > >> > sudo make uninstall >>> > >> > cd >>> > >> > rm -rf trunk/ >>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >>> > >> > cd trunk >>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >>> > >> > >>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log >>> 2>&1 >>> > >> > ============================================================ >>> > >> > ================================================ >>> > >> > >>> > >> >>> > >> What? Why? No need to delete any sources, just use "svn update". >>> > >> >>> > >> I hope svn still stays as alternative way, as in my experience git >>> will >>> > >> eventually make things very complicated. >>> > >> >>> > >> >>> > >> Jussi >>> > >> ------------------------------------------------------------ >>> > >> ------------------ >>> > >> 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 at 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 at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> -- >>> B Bruen >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Tue Aug 15 16:41:21 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 15 Aug 2017 16:41:21 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: There is nothing complicated. It is I who have a tough head. And your English is like my head :-) :-P Ciao Gianluigi 2017-08-15 16:24 GMT+02:00 PICCORO McKAY Lenz : > well the documentation in wiki was a fisr time made, with some > correction of guys here.. > > seems commands are very complicated? of course are some other ways.. > maybe that commands was wrote too fast .. in a hurry to make available > to all,... > > i currenlty testing other ways to make the compilations.. and i'll try > to do my best in that document at the wiki.. if have any suggestion > please .. > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2017-08-15 8:49 GMT-04:00 Gianluigi : > > For people with a hard head like mine, I would add that Gambas3's > > compilation from Git is as smooth as that from SVN in my notebook with > > Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I > > did so: > > > > First, I deleted every Gambas3 track with the commands suggested by Jussi > > Lahtinen and that is: > > > > sudo apt-get --purge remove gambas3 > > sudo apt-get autoremove gambas3 > > > > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > > /usr/local/bin/gbi3 /usr/local/bin/gbs3 > > sudo rm -rf /usr/local/lib/gambas3 > > sudo rm -rf /usr/local/share/gambas3 > > sudo rm -f /usr/local/bin/gambas3 > > sudo rm -f /usr/local/bin/gambas3.gambas > > > > sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > > /usr/local/bin/gbs3 > > sudo rm -rf /usr/lib/gambas3 > > sudo rm -rf /usr/share/gambas3 > > sudo rm -f /usr/bin/gambas3 > > sudo rm -f /usr/bin/gambas3.gambas > > > > Then I installed Git: > > > > sudo apt-get install git > > > > Then I downloaded the development version that creates the gambasdevel > > folder in our home: > > > > git clone https://gitlab.com/gambas/gambas.git gambasdevel > > > > Then I did as I did before, with gambasdevel in place of trunk: > > > > cd gambasdevel > > > > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > > > > After checking that everything was ok: > > > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log > 2>&1 > > > > Note: Change Scrivania with Desktop > > > > I have not tried yet, but I presume that, to compile the stable need to > > download with the command: > > > > mkdir gambasstable & cd gambasstable; wget > > https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; > tar > > -zxvf *.tar.gz > > > > And then continue with gambasstable instead of gambasdevel. > > > > To avoid mistakes with commands, a good idea is to create a script, as a > > friend suggested to me :-) > > > > Regards > > Gianluigi > > > > 2017-08-14 15:50 GMT+02:00 Gianluigi : > > > >> Your question has caused me a doubt and I went to check the commands, I > do > >> not know for which obscure reason between ./configure -C and make a cd > has > >> gone out and I came out of the directory. > >> I apologize for not having checked before asking. > >> > >> So now everything is clear to me, SVN for those who just want to fill > the > >> trunk works still. > >> > >> Thank you. > >> Gianluigi > >> > >> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : > >> > >>> On Mon, 14 Aug 2017 14:34:51 +0200 > >>> Gianluigi wrote: > >>> > >>> > I tried to install from SVN in a notebook where I had Gambas from > PPA, I > >>> > get this: > >>> > make:*** No specified target and no makefile found. Stop. > >>> > >>> What was the exact "make" command that you entered? > >>> > >>> > >>> > >>> > Who kindly explains step by step how can I have the trunk in my > Notebook > >>> > (Ubuntu 14.04.01) by compiling Gambas? > >>> > > >>> > Regards > >>> > Gianluigi > >>> > > >>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : > >>> > > >>> > > Hi Jussi, > >>> > > thanks for the suggestion, but once I had problems and since I did > so > >>> I > >>> > > did not have any more problems. > >>> > > So if I understand well, I can continue updating Gambas trunk from > >>> SVN. > >>> > > Is that so? > >>> > > > >>> > > Regards > >>> > > Gianluigi > >>> > > > >>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen < > jussi.lahtinen at ...626...>: > >>> > > > >>> > >> > ============================================================ > >>> > >> > ================================================ > >>> > >> > > >>> > >> > To update, I wrote these commands: > >>> > >> > > >>> > >> > ============================================================ > >>> > >> > ================================================ > >>> > >> > cd trunk > >>> > >> > sudo make uninstall > >>> > >> > cd > >>> > >> > rm -rf trunk/ > >>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > >>> > >> > cd trunk > >>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > >>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 > >>> > >> > > >>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log > >>> 2>&1 > >>> > >> > ============================================================ > >>> > >> > ================================================ > >>> > >> > > >>> > >> > >>> > >> What? Why? No need to delete any sources, just use "svn update". > >>> > >> > >>> > >> I hope svn still stays as alternative way, as in my experience git > >>> will > >>> > >> eventually make things very complicated. > >>> > >> > >>> > >> > >>> > >> Jussi > >>> > >> ------------------------------------------------------------ > >>> > >> ------------------ > >>> > >> 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 at 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 at lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>> > >>> -- > >>> B Bruen > >>> > >>> ------------------------------------------------------------ > >>> ------------------ > >>> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Tue Aug 15 16:41:42 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 15 Aug 2017 10:41:42 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: fixed , update wiki, with wget https://gitlab.com/gambas/gambas/repository/stable/archive.tar.gz ; tar -zxvf archive.tar.gz for lasted stable git version, this will create a directory inside like gambas-stable-0a83e154ilawhefd17892346asi that marks last commit made to stable branch. Once done, inside that directory you do the compilation exactly the same way as when you compile a source archive downloaded from the website. See Compilation and Installation. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-15 10:24 GMT-04:00 PICCORO McKAY Lenz : > well the documentation in wiki was a fisr time made, with some > correction of guys here.. > > seems commands are very complicated? of course are some other ways.. > maybe that commands was wrote too fast .. in a hurry to make available > to all,... > > i currenlty testing other ways to make the compilations.. and i'll try > to do my best in that document at the wiki.. if have any suggestion > please .. > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2017-08-15 8:49 GMT-04:00 Gianluigi : >> For people with a hard head like mine, I would add that Gambas3's >> compilation from Git is as smooth as that from SVN in my notebook with >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I >> did so: >> >> First, I deleted every Gambas3 track with the commands suggested by Jussi >> Lahtinen and that is: >> >> sudo apt-get --purge remove gambas3 >> sudo apt-get autoremove gambas3 >> >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 >> sudo rm -rf /usr/local/lib/gambas3 >> sudo rm -rf /usr/local/share/gambas3 >> sudo rm -f /usr/local/bin/gambas3 >> sudo rm -f /usr/local/bin/gambas3.gambas >> >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 >> /usr/local/bin/gbs3 >> sudo rm -rf /usr/lib/gambas3 >> sudo rm -rf /usr/share/gambas3 >> sudo rm -f /usr/bin/gambas3 >> sudo rm -f /usr/bin/gambas3.gambas >> >> Then I installed Git: >> >> sudo apt-get install git >> >> Then I downloaded the development version that creates the gambasdevel >> folder in our home: >> >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> >> Then I did as I did before, with gambasdevel in place of trunk: >> >> cd gambasdevel >> >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> >> After checking that everything was ok: >> >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 >> >> Note: Change Scrivania with Desktop >> >> I have not tried yet, but I presume that, to compile the stable need to >> download with the command: >> >> mkdir gambasstable & cd gambasstable; wget >> https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; tar >> -zxvf *.tar.gz >> >> And then continue with gambasstable instead of gambasdevel. >> >> To avoid mistakes with commands, a good idea is to create a script, as a >> friend suggested to me :-) >> >> Regards >> Gianluigi >> >> 2017-08-14 15:50 GMT+02:00 Gianluigi : >> >>> Your question has caused me a doubt and I went to check the commands, I do >>> not know for which obscure reason between ./configure -C and make a cd has >>> gone out and I came out of the directory. >>> I apologize for not having checked before asking. >>> >>> So now everything is clear to me, SVN for those who just want to fill the >>> trunk works still. >>> >>> Thank you. >>> Gianluigi >>> >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : >>> >>>> On Mon, 14 Aug 2017 14:34:51 +0200 >>>> Gianluigi wrote: >>>> >>>> > I tried to install from SVN in a notebook where I had Gambas from PPA, I >>>> > get this: >>>> > make:*** No specified target and no makefile found. Stop. >>>> >>>> What was the exact "make" command that you entered? >>>> >>>> >>>> >>>> > Who kindly explains step by step how can I have the trunk in my Notebook >>>> > (Ubuntu 14.04.01) by compiling Gambas? >>>> > >>>> > Regards >>>> > Gianluigi >>>> > >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >>>> > >>>> > > Hi Jussi, >>>> > > thanks for the suggestion, but once I had problems and since I did so >>>> I >>>> > > did not have any more problems. >>>> > > So if I understand well, I can continue updating Gambas trunk from >>>> SVN. >>>> > > Is that so? >>>> > > >>>> > > Regards >>>> > > Gianluigi >>>> > > >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen : >>>> > > >>>> > >> > ============================================================ >>>> > >> > ================================================ >>>> > >> > >>>> > >> > To update, I wrote these commands: >>>> > >> > >>>> > >> > ============================================================ >>>> > >> > ================================================ >>>> > >> > cd trunk >>>> > >> > sudo make uninstall >>>> > >> > cd >>>> > >> > rm -rf trunk/ >>>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >>>> > >> > cd trunk >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >>>> > >> > >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log >>>> 2>&1 >>>> > >> > ============================================================ >>>> > >> > ================================================ >>>> > >> > >>>> > >> >>>> > >> What? Why? No need to delete any sources, just use "svn update". >>>> > >> >>>> > >> I hope svn still stays as alternative way, as in my experience git >>>> will >>>> > >> eventually make things very complicated. >>>> > >> >>>> > >> >>>> > >> Jussi >>>> > >> ------------------------------------------------------------ >>>> > >> ------------------ >>>> > >> 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 at 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 at lists.sourceforge.net >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> -- >>>> B Bruen >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> 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 at 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Tue Aug 15 17:28:32 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 15 Aug 2017 17:28:32 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: This is what I need to write on the Italian forum. Let's see if I understand: First with the command: mkdir gambasstable & cd gambasstable; wget https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; tar -zxvf *.tar.gz We created a folder called gambasstable in our home. Then it was enough to change the name gambasdevel with gambasstable in commands. Now it looks like we create a folder with a name like this: gambas-stable-0a83e154ilawhefd17892346asi And for you this would be a simplification. That's correct? 2017-08-15 16:41 GMT+02:00 PICCORO McKAY Lenz : > fixed , update wiki, with > > wget https://gitlab.com/gambas/gambas/repository/stable/archive.tar.gz > ; tar -zxvf archive.tar.gz > > for lasted stable git version, this will create a directory inside > like gambas-stable-0a83e154ilawhefd17892346asi that marks last commit > made to stable branch. > > Once done, inside that directory you do the compilation exactly the > same way as when you compile a source archive downloaded from the > website. See Compilation and Installation. > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2017-08-15 10:24 GMT-04:00 PICCORO McKAY Lenz : > > well the documentation in wiki was a fisr time made, with some > > correction of guys here.. > > > > seems commands are very complicated? of course are some other ways.. > > maybe that commands was wrote too fast .. in a hurry to make available > > to all,... > > > > i currenlty testing other ways to make the compilations.. and i'll try > > to do my best in that document at the wiki.. if have any suggestion > > please .. > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > > > 2017-08-15 8:49 GMT-04:00 Gianluigi : > >> For people with a hard head like mine, I would add that Gambas3's > >> compilation from Git is as smooth as that from SVN in my notebook with > >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I > >> did so: > >> > >> First, I deleted every Gambas3 track with the commands suggested by > Jussi > >> Lahtinen and that is: > >> > >> sudo apt-get --purge remove gambas3 > >> sudo apt-get autoremove gambas3 > >> > >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 > >> sudo rm -rf /usr/local/lib/gambas3 > >> sudo rm -rf /usr/local/share/gambas3 > >> sudo rm -f /usr/local/bin/gambas3 > >> sudo rm -f /usr/local/bin/gambas3.gambas > >> > >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > >> /usr/local/bin/gbs3 > >> sudo rm -rf /usr/lib/gambas3 > >> sudo rm -rf /usr/share/gambas3 > >> sudo rm -f /usr/bin/gambas3 > >> sudo rm -f /usr/bin/gambas3.gambas > >> > >> Then I installed Git: > >> > >> sudo apt-get install git > >> > >> Then I downloaded the development version that creates the gambasdevel > >> folder in our home: > >> > >> git clone https://gitlab.com/gambas/gambas.git gambasdevel > >> > >> Then I did as I did before, with gambasdevel in place of trunk: > >> > >> cd gambasdevel > >> > >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > >> > >> After checking that everything was ok: > >> > >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log > 2>&1 > >> > >> Note: Change Scrivania with Desktop > >> > >> I have not tried yet, but I presume that, to compile the stable need to > >> download with the command: > >> > >> mkdir gambasstable & cd gambasstable; wget > >> https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; > tar > >> -zxvf *.tar.gz > >> > >> And then continue with gambasstable instead of gambasdevel. > >> > >> To avoid mistakes with commands, a good idea is to create a script, as a > >> friend suggested to me :-) > >> > >> Regards > >> Gianluigi > >> > >> 2017-08-14 15:50 GMT+02:00 Gianluigi : > >> > >>> Your question has caused me a doubt and I went to check the commands, > I do > >>> not know for which obscure reason between ./configure -C and make a cd > has > >>> gone out and I came out of the directory. > >>> I apologize for not having checked before asking. > >>> > >>> So now everything is clear to me, SVN for those who just want to fill > the > >>> trunk works still. > >>> > >>> Thank you. > >>> Gianluigi > >>> > >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : > >>> > >>>> On Mon, 14 Aug 2017 14:34:51 +0200 > >>>> Gianluigi wrote: > >>>> > >>>> > I tried to install from SVN in a notebook where I had Gambas from > PPA, I > >>>> > get this: > >>>> > make:*** No specified target and no makefile found. Stop. > >>>> > >>>> What was the exact "make" command that you entered? > >>>> > >>>> > >>>> > >>>> > Who kindly explains step by step how can I have the trunk in my > Notebook > >>>> > (Ubuntu 14.04.01) by compiling Gambas? > >>>> > > >>>> > Regards > >>>> > Gianluigi > >>>> > > >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : > >>>> > > >>>> > > Hi Jussi, > >>>> > > thanks for the suggestion, but once I had problems and since I > did so > >>>> I > >>>> > > did not have any more problems. > >>>> > > So if I understand well, I can continue updating Gambas trunk from > >>>> SVN. > >>>> > > Is that so? > >>>> > > > >>>> > > Regards > >>>> > > Gianluigi > >>>> > > > >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen < > jussi.lahtinen at ...626...>: > >>>> > > > >>>> > >> > ============================================================ > >>>> > >> > ================================================ > >>>> > >> > > >>>> > >> > To update, I wrote these commands: > >>>> > >> > > >>>> > >> > ============================================================ > >>>> > >> > ================================================ > >>>> > >> > cd trunk > >>>> > >> > sudo make uninstall > >>>> > >> > cd > >>>> > >> > rm -rf trunk/ > >>>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > >>>> > >> > cd trunk > >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > > >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 > >>>> > >> > > >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk. > log > >>>> 2>&1 > >>>> > >> > ============================================================ > >>>> > >> > ================================================ > >>>> > >> > > >>>> > >> > >>>> > >> What? Why? No need to delete any sources, just use "svn update". > >>>> > >> > >>>> > >> I hope svn still stays as alternative way, as in my experience > git > >>>> will > >>>> > >> eventually make things very complicated. > >>>> > >> > >>>> > >> > >>>> > >> Jussi > >>>> > >> ------------------------------------------------------------ > >>>> > >> ------------------ > >>>> > >> 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 at 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 at lists.sourceforge.net > >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > >>>> -- > >>>> B Bruen > >>>> > >>>> ------------------------------------------------------------ > >>>> ------------------ > >>>> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Tue Aug 15 17:59:11 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 15 Aug 2017 11:59:11 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: i changed to a more minimal.. and make some spell checks, seems that git make the directory inside the tarbal with the SHA sum.. so maybe that's can be complicated for some.. umm try this for specific version from git: $ wget https://gitlab.com/gambas/gambas/repository/v3.10.0/archive.tar.gz -O gambas-3.10.0.tar.gz $ tar -zxvf gambas-3.10.0.tar.gz $ cd gambas-v3.10.0-* make sense of the "*" that only this dir will be on so will work! Once done, inside that directory you do the compilation exactly the same way as when you compile a source archive downloaded from the website. See Compilation and Installation. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-15 11:28 GMT-04:00 Gianluigi : > This is what I need to write on the Italian forum. > Let's see if I understand: > First with the command: > > mkdir gambasstable & cd gambasstable; wget > https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; tar > -zxvf *.tar.gz > > We created a folder called gambasstable in our home. > Then it was enough to change the name gambasdevel with gambasstable in > commands. > Now it looks like we create a folder with a name like this: > gambas-stable-0a83e154ilawhefd17892346asi > And for you this would be a simplification. > That's correct? > > 2017-08-15 16:41 GMT+02:00 PICCORO McKAY Lenz : > >> fixed , update wiki, with >> >> wget https://gitlab.com/gambas/gambas/repository/stable/archive.tar.gz >> ; tar -zxvf archive.tar.gz >> >> for lasted stable git version, this will create a directory inside >> like gambas-stable-0a83e154ilawhefd17892346asi that marks last commit >> made to stable branch. >> >> Once done, inside that directory you do the compilation exactly the >> same way as when you compile a source archive downloaded from the >> website. See Compilation and Installation. >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2017-08-15 10:24 GMT-04:00 PICCORO McKAY Lenz : >> > well the documentation in wiki was a fisr time made, with some >> > correction of guys here.. >> > >> > seems commands are very complicated? of course are some other ways.. >> > maybe that commands was wrote too fast .. in a hurry to make available >> > to all,... >> > >> > i currenlty testing other ways to make the compilations.. and i'll try >> > to do my best in that document at the wiki.. if have any suggestion >> > please .. >> > Lenz McKAY Gerardo (PICCORO) >> > http://qgqlochekone.blogspot.com >> > >> > >> > 2017-08-15 8:49 GMT-04:00 Gianluigi : >> >> For people with a hard head like mine, I would add that Gambas3's >> >> compilation from Git is as smooth as that from SVN in my notebook with >> >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I >> >> did so: >> >> >> >> First, I deleted every Gambas3 track with the commands suggested by >> Jussi >> >> Lahtinen and that is: >> >> >> >> sudo apt-get --purge remove gambas3 >> >> sudo apt-get autoremove gambas3 >> >> >> >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 >> >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 >> >> sudo rm -rf /usr/local/lib/gambas3 >> >> sudo rm -rf /usr/local/share/gambas3 >> >> sudo rm -f /usr/local/bin/gambas3 >> >> sudo rm -f /usr/local/bin/gambas3.gambas >> >> >> >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 >> >> /usr/local/bin/gbs3 >> >> sudo rm -rf /usr/lib/gambas3 >> >> sudo rm -rf /usr/share/gambas3 >> >> sudo rm -f /usr/bin/gambas3 >> >> sudo rm -f /usr/bin/gambas3.gambas >> >> >> >> Then I installed Git: >> >> >> >> sudo apt-get install git >> >> >> >> Then I downloaded the development version that creates the gambasdevel >> >> folder in our home: >> >> >> >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> >> >> >> Then I did as I did before, with gambasdevel in place of trunk: >> >> >> >> cd gambasdevel >> >> >> >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> >> >> >> After checking that everything was ok: >> >> >> >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log >> 2>&1 >> >> >> >> Note: Change Scrivania with Desktop >> >> >> >> I have not tried yet, but I presume that, to compile the stable need to >> >> download with the command: >> >> >> >> mkdir gambasstable & cd gambasstable; wget >> >> https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; >> tar >> >> -zxvf *.tar.gz >> >> >> >> And then continue with gambasstable instead of gambasdevel. >> >> >> >> To avoid mistakes with commands, a good idea is to create a script, as a >> >> friend suggested to me :-) >> >> >> >> Regards >> >> Gianluigi >> >> >> >> 2017-08-14 15:50 GMT+02:00 Gianluigi : >> >> >> >>> Your question has caused me a doubt and I went to check the commands, >> I do >> >>> not know for which obscure reason between ./configure -C and make a cd >> has >> >>> gone out and I came out of the directory. >> >>> I apologize for not having checked before asking. >> >>> >> >>> So now everything is clear to me, SVN for those who just want to fill >> the >> >>> trunk works still. >> >>> >> >>> Thank you. >> >>> Gianluigi >> >>> >> >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : >> >>> >> >>>> On Mon, 14 Aug 2017 14:34:51 +0200 >> >>>> Gianluigi wrote: >> >>>> >> >>>> > I tried to install from SVN in a notebook where I had Gambas from >> PPA, I >> >>>> > get this: >> >>>> > make:*** No specified target and no makefile found. Stop. >> >>>> >> >>>> What was the exact "make" command that you entered? >> >>>> >> >>>> >> >>>> >> >>>> > Who kindly explains step by step how can I have the trunk in my >> Notebook >> >>>> > (Ubuntu 14.04.01) by compiling Gambas? >> >>>> > >> >>>> > Regards >> >>>> > Gianluigi >> >>>> > >> >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >> >>>> > >> >>>> > > Hi Jussi, >> >>>> > > thanks for the suggestion, but once I had problems and since I >> did so >> >>>> I >> >>>> > > did not have any more problems. >> >>>> > > So if I understand well, I can continue updating Gambas trunk from >> >>>> SVN. >> >>>> > > Is that so? >> >>>> > > >> >>>> > > Regards >> >>>> > > Gianluigi >> >>>> > > >> >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen < >> jussi.lahtinen at ...626...>: >> >>>> > > >> >>>> > >> > ============================================================ >> >>>> > >> > ================================================ >> >>>> > >> > >> >>>> > >> > To update, I wrote these commands: >> >>>> > >> > >> >>>> > >> > ============================================================ >> >>>> > >> > ================================================ >> >>>> > >> > cd trunk >> >>>> > >> > sudo make uninstall >> >>>> > >> > cd >> >>>> > >> > rm -rf trunk/ >> >>>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >> >>>> > >> > cd trunk >> >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) >> > >> >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >> >>>> > >> > >> >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk. >> log >> >>>> 2>&1 >> >>>> > >> > ============================================================ >> >>>> > >> > ================================================ >> >>>> > >> > >> >>>> > >> >> >>>> > >> What? Why? No need to delete any sources, just use "svn update". >> >>>> > >> >> >>>> > >> I hope svn still stays as alternative way, as in my experience >> git >> >>>> will >> >>>> > >> eventually make things very complicated. >> >>>> > >> >> >>>> > >> >> >>>> > >> Jussi >> >>>> > >> ------------------------------------------------------------ >> >>>> > >> ------------------ >> >>>> > >> 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 at 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 at lists.sourceforge.net >> >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>>> >> >>>> >> >>>> -- >> >>>> B Bruen >> >>>> >> >>>> ------------------------------------------------------------ >> >>>> ------------------ >> >>>> 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From chrisml at ...3340... Tue Aug 15 18:36:06 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 15 Aug 2017 18:36:06 +0200 Subject: [Gambas-user] Gambas 3.10 on Launchpad? Message-ID: <8549cdfa-9f95-7724-37f8-2dc30b992bfe@...3340...> Hi, in Launchpad there still is Gambas 3.9 when will it be upgraded to 3.10? 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 bagonergi at ...626... Tue Aug 15 19:18:10 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 15 Aug 2017 19:18:10 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: Ok works gian at ...3678...:~$ cd gambas-v3.10.0-* gian at ...3678...:~/gambas-v3.10.0-bd1b84afcdafd1961d50b0f809c45eecca5b90eb$ 2017-08-15 17:59 GMT+02:00 PICCORO McKAY Lenz : > i changed to a more minimal.. and make some spell checks, seems that > git make the directory inside the tarbal with the SHA sum.. so maybe > that's can be complicated for some.. > > umm try this for specific version from git: > > $ wget https://gitlab.com/gambas/gambas/repository/v3.10.0/archive.tar.gz > -O gambas-3.10.0.tar.gz > $ tar -zxvf gambas-3.10.0.tar.gz > $ cd gambas-v3.10.0-* > > make sense of the "*" that only this dir will be on so will work! > > Once done, inside that directory you do the compilation exactly the > same way as when you compile a source archive downloaded from the > website. See Compilation and Installation. > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2017-08-15 11:28 GMT-04:00 Gianluigi : > > This is what I need to write on the Italian forum. > > Let's see if I understand: > > First with the command: > > > > mkdir gambasstable & cd gambasstable; wget > > https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; > tar > > -zxvf *.tar.gz > > > > We created a folder called gambasstable in our home. > > Then it was enough to change the name gambasdevel with gambasstable in > > commands. > > Now it looks like we create a folder with a name like this: > > gambas-stable-0a83e154ilawhefd17892346asi > > And for you this would be a simplification. > > That's correct? > > > > 2017-08-15 16:41 GMT+02:00 PICCORO McKAY Lenz : > > > >> fixed , update wiki, with > >> > >> wget https://gitlab.com/gambas/gambas/repository/stable/archive.tar.gz > >> ; tar -zxvf archive.tar.gz > >> > >> for lasted stable git version, this will create a directory inside > >> like gambas-stable-0a83e154ilawhefd17892346asi that marks last commit > >> made to stable branch. > >> > >> Once done, inside that directory you do the compilation exactly the > >> same way as when you compile a source archive downloaded from the > >> website. See Compilation and Installation. > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> > >> 2017-08-15 10:24 GMT-04:00 PICCORO McKAY Lenz : > >> > well the documentation in wiki was a fisr time made, with some > >> > correction of guys here.. > >> > > >> > seems commands are very complicated? of course are some other ways.. > >> > maybe that commands was wrote too fast .. in a hurry to make available > >> > to all,... > >> > > >> > i currenlty testing other ways to make the compilations.. and i'll try > >> > to do my best in that document at the wiki.. if have any suggestion > >> > please .. > >> > Lenz McKAY Gerardo (PICCORO) > >> > http://qgqlochekone.blogspot.com > >> > > >> > > >> > 2017-08-15 8:49 GMT-04:00 Gianluigi : > >> >> For people with a hard head like mine, I would add that Gambas3's > >> >> compilation from Git is as smooth as that from SVN in my notebook > with > >> >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN > yesterday I > >> >> did so: > >> >> > >> >> First, I deleted every Gambas3 track with the commands suggested by > >> Jussi > >> >> Lahtinen and that is: > >> >> > >> >> sudo apt-get --purge remove gambas3 > >> >> sudo apt-get autoremove gambas3 > >> >> > >> >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 > /usr/local/bin/gba3 > >> >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 > >> >> sudo rm -rf /usr/local/lib/gambas3 > >> >> sudo rm -rf /usr/local/share/gambas3 > >> >> sudo rm -f /usr/local/bin/gambas3 > >> >> sudo rm -f /usr/local/bin/gambas3.gambas > >> >> > >> >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > >> >> /usr/local/bin/gbs3 > >> >> sudo rm -rf /usr/lib/gambas3 > >> >> sudo rm -rf /usr/share/gambas3 > >> >> sudo rm -f /usr/bin/gambas3 > >> >> sudo rm -f /usr/bin/gambas3.gambas > >> >> > >> >> Then I installed Git: > >> >> > >> >> sudo apt-get install git > >> >> > >> >> Then I downloaded the development version that creates the > gambasdevel > >> >> folder in our home: > >> >> > >> >> git clone https://gitlab.com/gambas/gambas.git gambasdevel > >> >> > >> >> Then I did as I did before, with gambasdevel in place of trunk: > >> >> > >> >> cd gambasdevel > >> >> > >> >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > >> >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > >> >> > >> >> After checking that everything was ok: > >> >> > >> >> ( make && sudo make install ) > ~/Scrivania/Make_Inst- > Gambasdevel.log > >> 2>&1 > >> >> > >> >> Note: Change Scrivania with Desktop > >> >> > >> >> I have not tried yet, but I presume that, to compile the stable need > to > >> >> download with the command: > >> >> > >> >> mkdir gambasstable & cd gambasstable; wget > >> >> https://gitlab.com/gambas/gambas/repository/archive.tar. > gz?ref=v3.10.0; > >> tar > >> >> -zxvf *.tar.gz > >> >> > >> >> And then continue with gambasstable instead of gambasdevel. > >> >> > >> >> To avoid mistakes with commands, a good idea is to create a script, > as a > >> >> friend suggested to me :-) > >> >> > >> >> Regards > >> >> Gianluigi > >> >> > >> >> 2017-08-14 15:50 GMT+02:00 Gianluigi : > >> >> > >> >>> Your question has caused me a doubt and I went to check the > commands, > >> I do > >> >>> not know for which obscure reason between ./configure -C and make a > cd > >> has > >> >>> gone out and I came out of the directory. > >> >>> I apologize for not having checked before asking. > >> >>> > >> >>> So now everything is clear to me, SVN for those who just want to > fill > >> the > >> >>> trunk works still. > >> >>> > >> >>> Thank you. > >> >>> Gianluigi > >> >>> > >> >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : > >> >>> > >> >>>> On Mon, 14 Aug 2017 14:34:51 +0200 > >> >>>> Gianluigi wrote: > >> >>>> > >> >>>> > I tried to install from SVN in a notebook where I had Gambas from > >> PPA, I > >> >>>> > get this: > >> >>>> > make:*** No specified target and no makefile found. Stop. > >> >>>> > >> >>>> What was the exact "make" command that you entered? > >> >>>> > >> >>>> > >> >>>> > >> >>>> > Who kindly explains step by step how can I have the trunk in my > >> Notebook > >> >>>> > (Ubuntu 14.04.01) by compiling Gambas? > >> >>>> > > >> >>>> > Regards > >> >>>> > Gianluigi > >> >>>> > > >> >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : > >> >>>> > > >> >>>> > > Hi Jussi, > >> >>>> > > thanks for the suggestion, but once I had problems and since I > >> did so > >> >>>> I > >> >>>> > > did not have any more problems. > >> >>>> > > So if I understand well, I can continue updating Gambas trunk > from > >> >>>> SVN. > >> >>>> > > Is that so? > >> >>>> > > > >> >>>> > > Regards > >> >>>> > > Gianluigi > >> >>>> > > > >> >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen < > >> jussi.lahtinen at ...626...>: > >> >>>> > > > >> >>>> > >> > ============================== > ============================== > >> >>>> > >> > ================================================ > >> >>>> > >> > > >> >>>> > >> > To update, I wrote these commands: > >> >>>> > >> > > >> >>>> > >> > ============================== > ============================== > >> >>>> > >> > ================================================ > >> >>>> > >> > cd trunk > >> >>>> > >> > sudo make uninstall > >> >>>> > >> > cd > >> >>>> > >> > rm -rf trunk/ > >> >>>> > >> > svn checkout svn://svn.code.sf.net/p/ > gambas/code/gambas/trunk > >> >>>> > >> > cd trunk > >> >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure > -C ) > >> > > >> >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 > >> >>>> > >> > > >> >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk. > >> log > >> >>>> 2>&1 > >> >>>> > >> > ============================== > ============================== > >> >>>> > >> > ================================================ > >> >>>> > >> > > >> >>>> > >> > >> >>>> > >> What? Why? No need to delete any sources, just use "svn > update". > >> >>>> > >> > >> >>>> > >> I hope svn still stays as alternative way, as in my experience > >> git > >> >>>> will > >> >>>> > >> eventually make things very complicated. > >> >>>> > >> > >> >>>> > >> > >> >>>> > >> Jussi > >> >>>> > >> ------------------------------------------------------------ > >> >>>> > >> ------------------ > >> >>>> > >> 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 at 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 at lists.sourceforge.net > >> >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >>>> > >> >>>> > >> >>>> -- > >> >>>> B Bruen > >> >>>> > >> >>>> ------------------------------------------------------------ > >> >>>> ------------------ > >> >>>> 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 at 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Tue Aug 15 21:18:30 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 15 Aug 2017 15:18:30 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: ok, then wiki updated.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-15 13:18 GMT-04:00 Gianluigi : > Ok works > > gian at ...3678...:~$ cd gambas-v3.10.0-* > gian at ...3678...:~/gambas-v3.10.0-bd1b84afcdafd1961d50b0f809c45eecca5b90eb$ > > 2017-08-15 17:59 GMT+02:00 PICCORO McKAY Lenz : > >> i changed to a more minimal.. and make some spell checks, seems that >> git make the directory inside the tarbal with the SHA sum.. so maybe >> that's can be complicated for some.. >> >> umm try this for specific version from git: >> >> $ wget https://gitlab.com/gambas/gambas/repository/v3.10.0/archive.tar.gz >> -O gambas-3.10.0.tar.gz >> $ tar -zxvf gambas-3.10.0.tar.gz >> $ cd gambas-v3.10.0-* >> >> make sense of the "*" that only this dir will be on so will work! >> >> Once done, inside that directory you do the compilation exactly the >> same way as when you compile a source archive downloaded from the >> website. See Compilation and Installation. >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2017-08-15 11:28 GMT-04:00 Gianluigi : >> > This is what I need to write on the Italian forum. >> > Let's see if I understand: >> > First with the command: >> > >> > mkdir gambasstable & cd gambasstable; wget >> > https://gitlab.com/gambas/gambas/repository/archive.tar.gz?ref=v3.10.0; >> tar >> > -zxvf *.tar.gz >> > >> > We created a folder called gambasstable in our home. >> > Then it was enough to change the name gambasdevel with gambasstable in >> > commands. >> > Now it looks like we create a folder with a name like this: >> > gambas-stable-0a83e154ilawhefd17892346asi >> > And for you this would be a simplification. >> > That's correct? >> > >> > 2017-08-15 16:41 GMT+02:00 PICCORO McKAY Lenz : >> > >> >> fixed , update wiki, with >> >> >> >> wget https://gitlab.com/gambas/gambas/repository/stable/archive.tar.gz >> >> ; tar -zxvf archive.tar.gz >> >> >> >> for lasted stable git version, this will create a directory inside >> >> like gambas-stable-0a83e154ilawhefd17892346asi that marks last commit >> >> made to stable branch. >> >> >> >> Once done, inside that directory you do the compilation exactly the >> >> same way as when you compile a source archive downloaded from the >> >> website. See Compilation and Installation. >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> >> 2017-08-15 10:24 GMT-04:00 PICCORO McKAY Lenz : >> >> > well the documentation in wiki was a fisr time made, with some >> >> > correction of guys here.. >> >> > >> >> > seems commands are very complicated? of course are some other ways.. >> >> > maybe that commands was wrote too fast .. in a hurry to make available >> >> > to all,... >> >> > >> >> > i currenlty testing other ways to make the compilations.. and i'll try >> >> > to do my best in that document at the wiki.. if have any suggestion >> >> > please .. >> >> > Lenz McKAY Gerardo (PICCORO) >> >> > http://qgqlochekone.blogspot.com >> >> > >> >> > >> >> > 2017-08-15 8:49 GMT-04:00 Gianluigi : >> >> >> For people with a hard head like mine, I would add that Gambas3's >> >> >> compilation from Git is as smooth as that from SVN in my notebook >> with >> >> >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN >> yesterday I >> >> >> did so: >> >> >> >> >> >> First, I deleted every Gambas3 track with the commands suggested by >> >> Jussi >> >> >> Lahtinen and that is: >> >> >> >> >> >> sudo apt-get --purge remove gambas3 >> >> >> sudo apt-get autoremove gambas3 >> >> >> >> >> >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 >> /usr/local/bin/gba3 >> >> >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 >> >> >> sudo rm -rf /usr/local/lib/gambas3 >> >> >> sudo rm -rf /usr/local/share/gambas3 >> >> >> sudo rm -f /usr/local/bin/gambas3 >> >> >> sudo rm -f /usr/local/bin/gambas3.gambas >> >> >> >> >> >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 >> >> >> /usr/local/bin/gbs3 >> >> >> sudo rm -rf /usr/lib/gambas3 >> >> >> sudo rm -rf /usr/share/gambas3 >> >> >> sudo rm -f /usr/bin/gambas3 >> >> >> sudo rm -f /usr/bin/gambas3.gambas >> >> >> >> >> >> Then I installed Git: >> >> >> >> >> >> sudo apt-get install git >> >> >> >> >> >> Then I downloaded the development version that creates the >> gambasdevel >> >> >> folder in our home: >> >> >> >> >> >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> >> >> >> >> >> Then I did as I did before, with gambasdevel in place of trunk: >> >> >> >> >> >> cd gambasdevel >> >> >> >> >> >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> >> >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> >> >> >> >> >> After checking that everything was ok: >> >> >> >> >> >> ( make && sudo make install ) > ~/Scrivania/Make_Inst- >> Gambasdevel.log >> >> 2>&1 >> >> >> >> >> >> Note: Change Scrivania with Desktop >> >> >> >> >> >> I have not tried yet, but I presume that, to compile the stable need >> to >> >> >> download with the command: >> >> >> >> >> >> mkdir gambasstable & cd gambasstable; wget >> >> >> https://gitlab.com/gambas/gambas/repository/archive.tar. >> gz?ref=v3.10.0; >> >> tar >> >> >> -zxvf *.tar.gz >> >> >> >> >> >> And then continue with gambasstable instead of gambasdevel. >> >> >> >> >> >> To avoid mistakes with commands, a good idea is to create a script, >> as a >> >> >> friend suggested to me :-) >> >> >> >> >> >> Regards >> >> >> Gianluigi >> >> >> >> >> >> 2017-08-14 15:50 GMT+02:00 Gianluigi : >> >> >> >> >> >>> Your question has caused me a doubt and I went to check the >> commands, >> >> I do >> >> >>> not know for which obscure reason between ./configure -C and make a >> cd >> >> has >> >> >>> gone out and I came out of the directory. >> >> >>> I apologize for not having checked before asking. >> >> >>> >> >> >>> So now everything is clear to me, SVN for those who just want to >> fill >> >> the >> >> >>> trunk works still. >> >> >>> >> >> >>> Thank you. >> >> >>> Gianluigi >> >> >>> >> >> >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : >> >> >>> >> >> >>>> On Mon, 14 Aug 2017 14:34:51 +0200 >> >> >>>> Gianluigi wrote: >> >> >>>> >> >> >>>> > I tried to install from SVN in a notebook where I had Gambas from >> >> PPA, I >> >> >>>> > get this: >> >> >>>> > make:*** No specified target and no makefile found. Stop. >> >> >>>> >> >> >>>> What was the exact "make" command that you entered? >> >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> > Who kindly explains step by step how can I have the trunk in my >> >> Notebook >> >> >>>> > (Ubuntu 14.04.01) by compiling Gambas? >> >> >>>> > >> >> >>>> > Regards >> >> >>>> > Gianluigi >> >> >>>> > >> >> >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >> >> >>>> > >> >> >>>> > > Hi Jussi, >> >> >>>> > > thanks for the suggestion, but once I had problems and since I >> >> did so >> >> >>>> I >> >> >>>> > > did not have any more problems. >> >> >>>> > > So if I understand well, I can continue updating Gambas trunk >> from >> >> >>>> SVN. >> >> >>>> > > Is that so? >> >> >>>> > > >> >> >>>> > > Regards >> >> >>>> > > Gianluigi >> >> >>>> > > >> >> >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen < >> >> jussi.lahtinen at ...626...>: >> >> >>>> > > >> >> >>>> > >> > ============================== >> ============================== >> >> >>>> > >> > ================================================ >> >> >>>> > >> > >> >> >>>> > >> > To update, I wrote these commands: >> >> >>>> > >> > >> >> >>>> > >> > ============================== >> ============================== >> >> >>>> > >> > ================================================ >> >> >>>> > >> > cd trunk >> >> >>>> > >> > sudo make uninstall >> >> >>>> > >> > cd >> >> >>>> > >> > rm -rf trunk/ >> >> >>>> > >> > svn checkout svn://svn.code.sf.net/p/ >> gambas/code/gambas/trunk >> >> >>>> > >> > cd trunk >> >> >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure >> -C ) >> >> > >> >> >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >> >> >>>> > >> > >> >> >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk. >> >> log >> >> >>>> 2>&1 >> >> >>>> > >> > ============================== >> ============================== >> >> >>>> > >> > ================================================ >> >> >>>> > >> > >> >> >>>> > >> >> >> >>>> > >> What? Why? No need to delete any sources, just use "svn >> update". >> >> >>>> > >> >> >> >>>> > >> I hope svn still stays as alternative way, as in my experience >> >> git >> >> >>>> will >> >> >>>> > >> eventually make things very complicated. >> >> >>>> > >> >> >> >>>> > >> >> >> >>>> > >> Jussi >> >> >>>> > >> ------------------------------------------------------------ >> >> >>>> > >> ------------------ >> >> >>>> > >> 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 at 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 at lists.sourceforge.net >> >> >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >>>> >> >> >>>> >> >> >>>> -- >> >> >>>> B Bruen >> >> >>>> >> >> >>>> ------------------------------------------------------------ >> >> >>>> ------------------ >> >> >>>> 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 at 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 at 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Aug 15 22:27:16 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 15 Aug 2017 22:27:16 +0200 Subject: [Gambas-user] [Gambas-devel] gambas-cygport git project In-Reply-To: References: <77588165-dec2-74bf-be2b-fa15ede9adf1@...3617...> Message-ID: Le 15/08/2017 ? 21:54, Bastian Germann a ?crit : >> I saw that you made a merge request, but you use the __CYGWIN__ constant >> instead of the OS_CYGWIN constant. Is there any reason for that? > > There are no pending merge requests that introduce new __CYGWIN__ > preprocessor constants, but one rather removes some of these as the > original patch is not needed anymore. > > __CYGWIN__ is the standard preprocessor constant to test for Cygwin that > was used in the Gambas codebase before I created any patch for it. > OS_CYGWIN is a Gambas only constant that I used in my newer patches > after you suggested so some time ago. > >> If you can put all required cygwin changes under the OS_CYGWIN constant, >> then you don't need a separate repository anymore, do you? Or is there >> something I don't see there. > > To be clear: I do not need this repository as the Cygwin packages > include the cygport file that they were generated from. However I want > to give users the chance to easily collaborate on the cygport file. The > standard way to do this is to send patches to the cygin-apps mailing > list. This is not exactly user friendly for both the submitter and > maintainer. I am going to mention the gambas-cygport git repository's > URL as a comment with the next package update and it would be nicer to > have gambas/gambas-cygport instead of bgermann/gambas-cygport. > > Also it is nicer for people wanting to contribute to have a git repo > containing the cygport's history instead of downloading each package > version and diffing the cygport file for the same information. > OK, I see! -- Beno?t Minisini From owlbrudder at ...626... Wed Aug 16 01:33:27 2017 From: owlbrudder at ...626... (Doug Hutcheson) Date: Wed, 16 Aug 2017 09:33:27 +1000 Subject: [Gambas-user] Declaring 'Public pbSwitch As Object[16]' throws error 'Syntax error in FMain.class:3' In-Reply-To: <20170815110303.GN541@...3600...> References: <1502787580.2636.11.camel@...626...> <20170815110303.GN541@...3600...> Message-ID: <1502840007.2537.5.camel@...626...> Thanks for the explanation, Tobias. Having fixed the declaration, I am able to run the code, but all I see is an empty form with no controls. Sigh. I will keep hacking until I understand enough to make it work. Gambas is great work, by the way - just what I needed. Cheers, Doug On Tue, 2017-08-15 at 13:03 +0200, Tobias Boege wrote: > > I don't know if "Public a As x[k]" was ever valid in Gambas (the source code > in the markdown of that page looks like Gambas2). See the Array Declaration > page [1]. You have normally two types of arrays in Gambas. The normal dynamic > ones, which you can declare with > > Public a As New x[k] > Public a As New x[](k) ' alternative > > (note the NEW keyword), and so-called embedded arrays: > > Public a[k] As x > > Usually you want the former (normal) arrays. > > I updated the example in the Object.Attach() documentation. > > Regards, > Tobi > > [1] http://gambaswiki.org/wiki/lang/arraydecl > From taboege at ...626... Wed Aug 16 02:02:48 2017 From: taboege at ...626... (Tobias Boege) Date: Wed, 16 Aug 2017 02:02:48 +0200 Subject: [Gambas-user] Declaring 'Public pbSwitch As Object[16]' throws error 'Syntax error in FMain.class:3' In-Reply-To: <1502840007.2537.5.camel@...626...> References: <1502787580.2636.11.camel@...626...> <20170815110303.GN541@...3600...> <1502840007.2537.5.camel@...626...> Message-ID: <20170816000248.GT541@...3600...> On Wed, 16 Aug 2017, Doug Hutcheson wrote: > Thanks for the explanation, Tobias. Having fixed the declaration, I am > able to run the code, but all I see is an empty form with no controls. > Sigh. I will keep hacking until I understand enough to make it work. > In case you don't want to figure it out on your own (although you didn't ask), this is most likely because the code uses the Picture[] cache. It accesses Picture["imgSwtchOn.png"] and Picture["imgSwtchOff.png"], but you probably don't have those files in your application (you don't unless you added them on your own). Since Picture[] is the picture cache, it won't raise an error if the named pictures aren't found and returns a silent Null instead. Assigning Null to a PictureBox.Picture clears the PictureBox. This is why you don't see anything. Actually this example is horrible. Not only uses it resources which aren't available by default, it also relies on the geometry of the PictureBoxes and Mouse coordinates to identify which PictureBox raised the event, instead of simply using Last. And then it needlessly uses Object instead of PictureBox, and uses a *bitmask* to store the on/off state of the pictures instead of just the PictureBox's Tag property. Not to mention it isn't indented properly. There is a high density of things I would advise to avoid here. Why did you choose this of all to learn from? :-) I updated the example and it should work out of the box now. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From owlbrudder at ...626... Wed Aug 16 02:35:58 2017 From: owlbrudder at ...626... (Doug Hutcheson) Date: Wed, 16 Aug 2017 10:35:58 +1000 Subject: [Gambas-user] Declaring 'Public pbSwitch As Object[16]' throws error 'Syntax error in FMain.class:3' In-Reply-To: <20170816000248.GT541@...3600...> References: <1502787580.2636.11.camel@...626...> <20170815110303.GN541@...3600...> <1502840007.2537.5.camel@...626...> <20170816000248.GT541@...3600...> Message-ID: <1502843758.2537.18.camel@...626...> On Wed, 2017-08-16 at 02:02 +0200, Tobias Boege wrote: > On Wed, 16 Aug 2017, Doug Hutcheson wrote: > > Thanks for the explanation, Tobias. Having fixed the declaration, I > > am > > able to run the code, but all I see is an empty form with no > > controls. > > Sigh. I will keep hacking until I understand enough to make it > > work. > > > > In case you don't want to figure it out on your own (although you > didn't > ask), this is most likely because the code uses the Picture[] cache. > It accesses Picture["imgSwtchOn.png"] and Picture["imgSwtchOff.png"], > but you probably don't have those files in your application (you > don't > unless you added them on your own). Since Picture[] is the picture > cache, > it won't raise an error if the named pictures aren't found and > returns a > silent Null instead. Assigning Null to a PictureBox.Picture clears > the > PictureBox. This is why you don't see anything. > > Actually this example is horrible. Not only uses it resources which > aren't available by default, it also relies on the geometry of the > PictureBoxes and Mouse coordinates to identify which PictureBox > raised the event, instead of simply using Last. And then it > needlessly > uses Object instead of PictureBox, and uses a *bitmask* to store the > on/off state of the pictures instead of just the PictureBox's Tag > property. Not to mention it isn't indented properly. There is a high > density of things I would advise to avoid here. Why did you choose > this of all to learn from? :-) > > I updated the example and it should work out of the box now. > > Regards, > Tobi > Thanks for making me smile, Tobi. I will now download the corrected version and use that as my learning platform. I must admit, the indentation was not to my liking, but I thought "well, it is on the site as an example, so it must be correct". Chuckle. Kind regards, Doug From bagonergi at ...626... Wed Aug 16 13:47:54 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 16 Aug 2017 13:47:54 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: Warning, in explanations of how I delete any Gambas3 track in my Notebook I made a mistake of copy and paste, sorry. The first two steps are these: cd trunk sudo make uninstall and not sudo apt-get --purge remove gambas3 sudo apt-get autoremove gambas3 related to uninstalling Gambas from PPA to install the trunk from SVN Regards Gianluigi 2017-08-15 14:49 GMT+02:00 Gianluigi : > For people with a hard head like mine, I would add that Gambas3's > compilation from Git is as smooth as that from SVN in my notebook with > Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I > did so: > > First, I deleted every Gambas3 track with the commands suggested by Jussi > Lahtinen and that is: > > sudo apt-get --purge remove gambas3 > sudo apt-get autoremove gambas3 > > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > /usr/local/bin/gbi3 /usr/local/bin/gbs3 > sudo rm -rf /usr/local/lib/gambas3 > sudo rm -rf /usr/local/share/gambas3 > sudo rm -f /usr/local/bin/gambas3 > sudo rm -f /usr/local/bin/gambas3.gambas > > sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > /usr/local/bin/gbs3 > sudo rm -rf /usr/lib/gambas3 > sudo rm -rf /usr/share/gambas3 > sudo rm -f /usr/bin/gambas3 > sudo rm -f /usr/bin/gambas3.gambas > > Then I installed Git: > > sudo apt-get install git > > Then I downloaded the development version that creates the gambasdevel > folder in our home: > > git clone https://gitlab.com/gambas/gambas.git gambasdevel > > Then I did as I did before, with gambasdevel in place of trunk: > > cd gambasdevel > > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > > After checking that everything was ok: > > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 > > Note: Change Scrivania with Desktop > > I have not tried yet, but I presume that, to compile the stable need to > download with the command: > > mkdir gambasstable & cd gambasstable; wget https://gitlab.com/gambas/ > gambas/repository/archive.tar.gz?ref=v3.10.0; tar -zxvf *.tar.gz > > And then continue with gambasstable instead of gambasdevel. > > To avoid mistakes with commands, a good idea is to create a script, as a > friend suggested to me :-) > > Regards > Gianluigi > > 2017-08-14 15:50 GMT+02:00 Gianluigi : > >> Your question has caused me a doubt and I went to check the commands, I >> do not know for which obscure reason between ./configure -C and make a cd >> has gone out and I came out of the directory. >> I apologize for not having checked before asking. >> >> So now everything is clear to me, SVN for those who just want to fill the >> trunk works still. >> >> Thank you. >> Gianluigi >> >> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : >> >>> On Mon, 14 Aug 2017 14:34:51 +0200 >>> Gianluigi wrote: >>> >>> > I tried to install from SVN in a notebook where I had Gambas from PPA, >>> I >>> > get this: >>> > make:*** No specified target and no makefile found. Stop. >>> >>> What was the exact "make" command that you entered? >>> >>> >>> >>> > Who kindly explains step by step how can I have the trunk in my >>> Notebook >>> > (Ubuntu 14.04.01) by compiling Gambas? >>> > >>> > Regards >>> > Gianluigi >>> > >>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >>> > >>> > > Hi Jussi, >>> > > thanks for the suggestion, but once I had problems and since I did >>> so I >>> > > did not have any more problems. >>> > > So if I understand well, I can continue updating Gambas trunk from >>> SVN. >>> > > Is that so? >>> > > >>> > > Regards >>> > > Gianluigi >>> > > >>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen >> >: >>> > > >>> > >> > ============================================================ >>> > >> > ================================================ >>> > >> > >>> > >> > To update, I wrote these commands: >>> > >> > >>> > >> > ============================================================ >>> > >> > ================================================ >>> > >> > cd trunk >>> > >> > sudo make uninstall >>> > >> > cd >>> > >> > rm -rf trunk/ >>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >>> > >> > cd trunk >>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >>> > >> > >>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log >>> 2>&1 >>> > >> > ============================================================ >>> > >> > ================================================ >>> > >> > >>> > >> >>> > >> What? Why? No need to delete any sources, just use "svn update". >>> > >> >>> > >> I hope svn still stays as alternative way, as in my experience git >>> will >>> > >> eventually make things very complicated. >>> > >> >>> > >> >>> > >> Jussi >>> > >> ------------------------------------------------------------ >>> > >> ------------------ >>> > >> 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 at 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 at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> -- >>> B Bruen >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > From bagonergi at ...626... Wed Aug 16 14:06:17 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 16 Aug 2017 14:06:17 +0200 Subject: [Gambas-user] FProperty.class:25: error: Unknown identifier: &1 WebView In-Reply-To: <20170815100837.GM541@...3600...> References: <4c3193f3-853e-cdbd-eeb0-ba7e1b6030fc@...1...> <1925152.jLOyN0o5nE@...3677...> <762cbad0daaa975e6f61b15481a378c0@...3488...> <1502744532.5677.60.camel@...3609...> <89c6864feccfa6fbd6814840bb0dde4a@...3488...> <1502784381.5677.62.camel@...3609...> <20170815094026.GL541@...3600...> <20170815100837.GM541@...3600...> Message-ID: I forgot (for git) to communicate this. The first time you open System information is very slow in gambasdevel and fast in stable. Regards Gianluigi 2017-08-15 12:08 GMT+02:00 Tobias Boege : > On Tue, 15 Aug 2017, Tobias Boege wrote: > > I'm currently running > > > > $ gbx3 -V > > 3.10.90 raa559edd9 (master) > > > > Which was obviously due to a bug ("r" is not a hexadecimal digit) > which I caught before pushing the commit. Correct should now be > "3.10.90 48c951987 (master)". > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Wed Aug 16 16:03:46 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 16 Aug 2017 23:33:46 +0930 Subject: [Gambas-user] Gottit! Message-ID: <20170816233346.47084c565235e51c825198cf@...626...> So far anyway. ~-) Aha! So the Git is pretty stupid! (Which is what Torvalds said in the first place.) Now I get it. It's just a version controller (with added carrots). And there I was looking for a 3 month learning curve, severe pain and high blood pressure. Sheesh! Seven thousand lines of "pseudo man" pages later ... git help wtf? etc I finally found this : Having a distributed architecture, Git is an example of a DVCS (hence Distributed Version Control System). Rather than have only one single place for the full version history of the software as is common in once-popular version control systems like CVS or Subversion (also known as SVN), in Git, every developer's working copy of the code is also a repository that can contain the full history of all changes. Hang on! DVCS? CVS? Oh my blessed little red cotton socks! I remember them. (The anachronyms, not the socks - must look for them tomorrow.) They were werry, werry good at hunting wabbits ... back in the day. Bloody hell, the damn thing is just a CVS with big tits and those sparkly things on it (them). Ah .. the Pretzel ... but now I must to bed. A'voir. b p.s. The only people who may be able to understand a word of this gibberish are obviously Australian, -- B Bruen From mckaygerhard at ...626... Wed Aug 16 16:21:59 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 16 Aug 2017 10:21:59 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: i think you can makde a truck/git packages easyle without problems, the only you must have are the "debian" directory and then run the rules.. all the packages from recent truck will be created icluding the checks and sources.. http://200.82.144.73/dokuwiki/doku.php?id=debian-gambas-empezando check mi debian and devuan specific instruction up to date Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-16 7:47 GMT-04:00 Gianluigi : > Warning, in explanations of how I delete any Gambas3 track in my Notebook I > made a mistake of copy and paste, sorry. > The first two steps are these: > > cd trunk > sudo make uninstall > > and not > > sudo apt-get --purge remove gambas3 > sudo apt-get autoremove gambas3 > > related to uninstalling Gambas from PPA to install the trunk from SVN > > Regards > Gianluigi > > 2017-08-15 14:49 GMT+02:00 Gianluigi : > >> For people with a hard head like mine, I would add that Gambas3's >> compilation from Git is as smooth as that from SVN in my notebook with >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I >> did so: >> >> First, I deleted every Gambas3 track with the commands suggested by Jussi >> Lahtinen and that is: >> >> sudo apt-get --purge remove gambas3 >> sudo apt-get autoremove gambas3 >> >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 >> sudo rm -rf /usr/local/lib/gambas3 >> sudo rm -rf /usr/local/share/gambas3 >> sudo rm -f /usr/local/bin/gambas3 >> sudo rm -f /usr/local/bin/gambas3.gambas >> >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 >> /usr/local/bin/gbs3 >> sudo rm -rf /usr/lib/gambas3 >> sudo rm -rf /usr/share/gambas3 >> sudo rm -f /usr/bin/gambas3 >> sudo rm -f /usr/bin/gambas3.gambas >> >> Then I installed Git: >> >> sudo apt-get install git >> >> Then I downloaded the development version that creates the gambasdevel >> folder in our home: >> >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> >> Then I did as I did before, with gambasdevel in place of trunk: >> >> cd gambasdevel >> >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> >> After checking that everything was ok: >> >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 >> >> Note: Change Scrivania with Desktop >> >> I have not tried yet, but I presume that, to compile the stable need to >> download with the command: >> >> mkdir gambasstable & cd gambasstable; wget https://gitlab.com/gambas/ >> gambas/repository/archive.tar.gz?ref=v3.10.0; tar -zxvf *.tar.gz >> >> And then continue with gambasstable instead of gambasdevel. >> >> To avoid mistakes with commands, a good idea is to create a script, as a >> friend suggested to me :-) >> >> Regards >> Gianluigi >> >> 2017-08-14 15:50 GMT+02:00 Gianluigi : >> >>> Your question has caused me a doubt and I went to check the commands, I >>> do not know for which obscure reason between ./configure -C and make a cd >>> has gone out and I came out of the directory. >>> I apologize for not having checked before asking. >>> >>> So now everything is clear to me, SVN for those who just want to fill the >>> trunk works still. >>> >>> Thank you. >>> Gianluigi >>> >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : >>> >>>> On Mon, 14 Aug 2017 14:34:51 +0200 >>>> Gianluigi wrote: >>>> >>>> > I tried to install from SVN in a notebook where I had Gambas from PPA, >>>> I >>>> > get this: >>>> > make:*** No specified target and no makefile found. Stop. >>>> >>>> What was the exact "make" command that you entered? >>>> >>>> >>>> >>>> > Who kindly explains step by step how can I have the trunk in my >>>> Notebook >>>> > (Ubuntu 14.04.01) by compiling Gambas? >>>> > >>>> > Regards >>>> > Gianluigi >>>> > >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >>>> > >>>> > > Hi Jussi, >>>> > > thanks for the suggestion, but once I had problems and since I did >>>> so I >>>> > > did not have any more problems. >>>> > > So if I understand well, I can continue updating Gambas trunk from >>>> SVN. >>>> > > Is that so? >>>> > > >>>> > > Regards >>>> > > Gianluigi >>>> > > >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen >>> >: >>>> > > >>>> > >> > ============================================================ >>>> > >> > ================================================ >>>> > >> > >>>> > >> > To update, I wrote these commands: >>>> > >> > >>>> > >> > ============================================================ >>>> > >> > ================================================ >>>> > >> > cd trunk >>>> > >> > sudo make uninstall >>>> > >> > cd >>>> > >> > rm -rf trunk/ >>>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >>>> > >> > cd trunk >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >>>> > >> > >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.log >>>> 2>&1 >>>> > >> > ============================================================ >>>> > >> > ================================================ >>>> > >> > >>>> > >> >>>> > >> What? Why? No need to delete any sources, just use "svn update". >>>> > >> >>>> > >> I hope svn still stays as alternative way, as in my experience git >>>> will >>>> > >> eventually make things very complicated. >>>> > >> >>>> > >> >>>> > >> Jussi >>>> > >> ------------------------------------------------------------ >>>> > >> ------------------ >>>> > >> 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 at 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 at lists.sourceforge.net >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> -- >>>> B Bruen >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Wed Aug 16 16:30:34 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 16 Aug 2017 10:30:34 -0400 Subject: [Gambas-user] Gottit! In-Reply-To: <20170816233346.47084c565235e51c825198cf@...626...> References: <20170816233346.47084c565235e51c825198cf@...626...> Message-ID: 2017-08-16 10:03 GMT-04:00 adamnt42 at ...626... : > Rather than have only one single place for the full version history of the software as is common in once-popular version control systems like CVS or Subversion (also known as SVN), YEs that the main problem of the CVS and SVN, the only problem in right! > in Git, every developer's working copy of the code is also a repository that can contain the full history of all changes. The mayor feature are that every git its a own repo.. \ Decentralized or non-centralized ! that's one of the main features of git! > > Hang on! DVCS? CVS? Oh my blessed little red cotton socks! I remember them. (The anachronyms, not the socks - must look for them tomorrow.) They were werry, werry good at hunting wabbits ... back in the day. jajaja > > Bloody hell, the damn thing is just a CVS with big tits and those sparkly things on it Of course, the large amount of systems for version control always do the same, only added features where the other have failures From bagonergi at ...626... Wed Aug 16 16:46:36 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 16 Aug 2017 16:46:36 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: Attention Piccoro, I was talking about compiling the devel and not the stable. I just wrote my experience that might be useful to someone. Starting with a system with already installed libraries. 2017-08-16 16:21 GMT+02:00 PICCORO McKAY Lenz : > i think you can makde a truck/git packages easyle without problems, > the only you must have are the "debian" directory and then run the > rules.. all the packages from recent truck will be created icluding > the checks and sources.. > > http://200.82.144.73/dokuwiki/doku.php?id=debian-gambas-empezando > check mi debian and devuan specific instruction up to date > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2017-08-16 7:47 GMT-04:00 Gianluigi : > > Warning, in explanations of how I delete any Gambas3 track in my > Notebook I > > made a mistake of copy and paste, sorry. > > The first two steps are these: > > > > cd trunk > > sudo make uninstall > > > > and not > > > > sudo apt-get --purge remove gambas3 > > sudo apt-get autoremove gambas3 > > > > related to uninstalling Gambas from PPA to install the trunk from SVN > > > > Regards > > Gianluigi > > > > 2017-08-15 14:49 GMT+02:00 Gianluigi : > > > >> For people with a hard head like mine, I would add that Gambas3's > >> compilation from Git is as smooth as that from SVN in my notebook with > >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday I > >> did so: > >> > >> First, I deleted every Gambas3 track with the commands suggested by > Jussi > >> Lahtinen and that is: > >> > >> sudo apt-get --purge remove gambas3 > >> sudo apt-get autoremove gambas3 > >> > >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 > >> sudo rm -rf /usr/local/lib/gambas3 > >> sudo rm -rf /usr/local/share/gambas3 > >> sudo rm -f /usr/local/bin/gambas3 > >> sudo rm -f /usr/local/bin/gambas3.gambas > >> > >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > >> /usr/local/bin/gbs3 > >> sudo rm -rf /usr/lib/gambas3 > >> sudo rm -rf /usr/share/gambas3 > >> sudo rm -f /usr/bin/gambas3 > >> sudo rm -f /usr/bin/gambas3.gambas > >> > >> Then I installed Git: > >> > >> sudo apt-get install git > >> > >> Then I downloaded the development version that creates the gambasdevel > >> folder in our home: > >> > >> git clone https://gitlab.com/gambas/gambas.git gambasdevel > >> > >> Then I did as I did before, with gambasdevel in place of trunk: > >> > >> cd gambasdevel > >> > >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > >> > >> After checking that everything was ok: > >> > >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log > 2>&1 > >> > >> Note: Change Scrivania with Desktop > >> > >> I have not tried yet, but I presume that, to compile the stable need to > >> download with the command: > >> > >> mkdir gambasstable & cd gambasstable; wget https://gitlab.com/gambas/ > >> gambas/repository/archive.tar.gz?ref=v3.10.0; tar -zxvf *.tar.gz > >> > >> And then continue with gambasstable instead of gambasdevel. > >> > >> To avoid mistakes with commands, a good idea is to create a script, as a > >> friend suggested to me :-) > >> > >> Regards > >> Gianluigi > >> > >> 2017-08-14 15:50 GMT+02:00 Gianluigi : > >> > >>> Your question has caused me a doubt and I went to check the commands, I > >>> do not know for which obscure reason between ./configure -C and make a > cd > >>> has gone out and I came out of the directory. > >>> I apologize for not having checked before asking. > >>> > >>> So now everything is clear to me, SVN for those who just want to fill > the > >>> trunk works still. > >>> > >>> Thank you. > >>> Gianluigi > >>> > >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : > >>> > >>>> On Mon, 14 Aug 2017 14:34:51 +0200 > >>>> Gianluigi wrote: > >>>> > >>>> > I tried to install from SVN in a notebook where I had Gambas from > PPA, > >>>> I > >>>> > get this: > >>>> > make:*** No specified target and no makefile found. Stop. > >>>> > >>>> What was the exact "make" command that you entered? > >>>> > >>>> > >>>> > >>>> > Who kindly explains step by step how can I have the trunk in my > >>>> Notebook > >>>> > (Ubuntu 14.04.01) by compiling Gambas? > >>>> > > >>>> > Regards > >>>> > Gianluigi > >>>> > > >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : > >>>> > > >>>> > > Hi Jussi, > >>>> > > thanks for the suggestion, but once I had problems and since I did > >>>> so I > >>>> > > did not have any more problems. > >>>> > > So if I understand well, I can continue updating Gambas trunk from > >>>> SVN. > >>>> > > Is that so? > >>>> > > > >>>> > > Regards > >>>> > > Gianluigi > >>>> > > > >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen < > jussi.lahtinen at ...626... > >>>> >: > >>>> > > > >>>> > >> > ============================================================ > >>>> > >> > ================================================ > >>>> > >> > > >>>> > >> > To update, I wrote these commands: > >>>> > >> > > >>>> > >> > ============================================================ > >>>> > >> > ================================================ > >>>> > >> > cd trunk > >>>> > >> > sudo make uninstall > >>>> > >> > cd > >>>> > >> > rm -rf trunk/ > >>>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk > >>>> > >> > cd trunk > >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > > >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 > >>>> > >> > > >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk. > log > >>>> 2>&1 > >>>> > >> > ============================================================ > >>>> > >> > ================================================ > >>>> > >> > > >>>> > >> > >>>> > >> What? Why? No need to delete any sources, just use "svn update". > >>>> > >> > >>>> > >> I hope svn still stays as alternative way, as in my experience > git > >>>> will > >>>> > >> eventually make things very complicated. > >>>> > >> > >>>> > >> > >>>> > >> Jussi > >>>> > >> ------------------------------------------------------------ > >>>> > >> ------------------ > >>>> > >> 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 at 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 at lists.sourceforge.net > >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > >>>> -- > >>>> B Bruen > >>>> > >>>> ------------------------------------------------------------ > >>>> ------------------ > >>>> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Wed Aug 16 16:55:21 2017 From: bagonergi at ...626... (Gianluigi) Date: Wed, 16 Aug 2017 16:55:21 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: It should also be stated that for the compilation of the stable there is no need to install Git, which is indispensable for the development version. Regards Gianluigi 2017-08-16 16:46 GMT+02:00 Gianluigi : > Attention Piccoro, > I was talking about compiling the devel and not the stable. > I just wrote my experience that might be useful to someone. > Starting with a system with already installed libraries. > > 2017-08-16 16:21 GMT+02:00 PICCORO McKAY Lenz : > >> i think you can makde a truck/git packages easyle without problems, >> the only you must have are the "debian" directory and then run the >> rules.. all the packages from recent truck will be created icluding >> the checks and sources.. >> >> http://200.82.144.73/dokuwiki/doku.php?id=debian-gambas-empezando >> check mi debian and devuan specific instruction up to date >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2017-08-16 7:47 GMT-04:00 Gianluigi : >> > Warning, in explanations of how I delete any Gambas3 track in my >> Notebook I >> > made a mistake of copy and paste, sorry. >> > The first two steps are these: >> > >> > cd trunk >> > sudo make uninstall >> > >> > and not >> > >> > sudo apt-get --purge remove gambas3 >> > sudo apt-get autoremove gambas3 >> > >> > related to uninstalling Gambas from PPA to install the trunk from SVN >> > >> > Regards >> > Gianluigi >> > >> > 2017-08-15 14:49 GMT+02:00 Gianluigi : >> > >> >> For people with a hard head like mine, I would add that Gambas3's >> >> compilation from Git is as smooth as that from SVN in my notebook with >> >> Ubuntu 14.04.05 LTS Italian where I had just compiled by SVN yesterday >> I >> >> did so: >> >> >> >> First, I deleted every Gambas3 track with the commands suggested by >> Jussi >> >> Lahtinen and that is: >> >> >> >> sudo apt-get --purge remove gambas3 >> >> sudo apt-get autoremove gambas3 >> >> >> >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 >> >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 >> >> sudo rm -rf /usr/local/lib/gambas3 >> >> sudo rm -rf /usr/local/share/gambas3 >> >> sudo rm -f /usr/local/bin/gambas3 >> >> sudo rm -f /usr/local/bin/gambas3.gambas >> >> >> >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 >> >> /usr/local/bin/gbs3 >> >> sudo rm -rf /usr/lib/gambas3 >> >> sudo rm -rf /usr/share/gambas3 >> >> sudo rm -f /usr/bin/gambas3 >> >> sudo rm -f /usr/bin/gambas3.gambas >> >> >> >> Then I installed Git: >> >> >> >> sudo apt-get install git >> >> >> >> Then I downloaded the development version that creates the gambasdevel >> >> folder in our home: >> >> >> >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> >> >> >> Then I did as I did before, with gambasdevel in place of trunk: >> >> >> >> cd gambasdevel >> >> >> >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> >> >> >> After checking that everything was ok: >> >> >> >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log >> 2>&1 >> >> >> >> Note: Change Scrivania with Desktop >> >> >> >> I have not tried yet, but I presume that, to compile the stable need to >> >> download with the command: >> >> >> >> mkdir gambasstable & cd gambasstable; wget https://gitlab.com/gambas/ >> >> gambas/repository/archive.tar.gz?ref=v3.10.0; tar -zxvf *.tar.gz >> >> >> >> And then continue with gambasstable instead of gambasdevel. >> >> >> >> To avoid mistakes with commands, a good idea is to create a script, as >> a >> >> friend suggested to me :-) >> >> >> >> Regards >> >> Gianluigi >> >> >> >> 2017-08-14 15:50 GMT+02:00 Gianluigi : >> >> >> >>> Your question has caused me a doubt and I went to check the commands, >> I >> >>> do not know for which obscure reason between ./configure -C and make >> a cd >> >>> has gone out and I came out of the directory. >> >>> I apologize for not having checked before asking. >> >>> >> >>> So now everything is clear to me, SVN for those who just want to fill >> the >> >>> trunk works still. >> >>> >> >>> Thank you. >> >>> Gianluigi >> >>> >> >>> 2017-08-14 14:54 GMT+02:00 adamnt42 at ...626... : >> >>> >> >>>> On Mon, 14 Aug 2017 14:34:51 +0200 >> >>>> Gianluigi wrote: >> >>>> >> >>>> > I tried to install from SVN in a notebook where I had Gambas from >> PPA, >> >>>> I >> >>>> > get this: >> >>>> > make:*** No specified target and no makefile found. Stop. >> >>>> >> >>>> What was the exact "make" command that you entered? >> >>>> >> >>>> >> >>>> >> >>>> > Who kindly explains step by step how can I have the trunk in my >> >>>> Notebook >> >>>> > (Ubuntu 14.04.01) by compiling Gambas? >> >>>> > >> >>>> > Regards >> >>>> > Gianluigi >> >>>> > >> >>>> > 2017-08-14 11:11 GMT+02:00 Gianluigi : >> >>>> > >> >>>> > > Hi Jussi, >> >>>> > > thanks for the suggestion, but once I had problems and since I >> did >> >>>> so I >> >>>> > > did not have any more problems. >> >>>> > > So if I understand well, I can continue updating Gambas trunk >> from >> >>>> SVN. >> >>>> > > Is that so? >> >>>> > > >> >>>> > > Regards >> >>>> > > Gianluigi >> >>>> > > >> >>>> > > 2017-08-13 23:24 GMT+02:00 Jussi Lahtinen < >> jussi.lahtinen at ...626... >> >>>> >: >> >>>> > > >> >>>> > >> > ============================================================ >> >>>> > >> > ================================================ >> >>>> > >> > >> >>>> > >> > To update, I wrote these commands: >> >>>> > >> > >> >>>> > >> > ============================================================ >> >>>> > >> > ================================================ >> >>>> > >> > cd trunk >> >>>> > >> > sudo make uninstall >> >>>> > >> > cd >> >>>> > >> > rm -rf trunk/ >> >>>> > >> > svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk >> >>>> > >> > cd trunk >> >>>> > >> > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C >> ) > >> >>>> > >> > ~/Scrivania/R_conf-Trunk.log 2>&1 >> >>>> > >> > >> >>>> > >> > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Trunk.lo >> g >> >>>> 2>&1 >> >>>> > >> > ============================================================ >> >>>> > >> > ================================================ >> >>>> > >> > >> >>>> > >> >> >>>> > >> What? Why? No need to delete any sources, just use "svn update". >> >>>> > >> >> >>>> > >> I hope svn still stays as alternative way, as in my experience >> git >> >>>> will >> >>>> > >> eventually make things very complicated. >> >>>> > >> >> >>>> > >> >> >>>> > >> Jussi >> >>>> > >> ------------------------------------------------------------ >> >>>> > >> ------------------ >> >>>> > >> 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 at 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 at lists.sourceforge.net >> >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >>>> >> >>>> >> >>>> -- >> >>>> B Bruen >> >>>> >> >>>> ------------------------------------------------------------ >> >>>> ------------------ >> >>>> 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 at 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 at 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From karl.reinl at ...9... Wed Aug 16 18:19:12 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 16 Aug 2017 18:19:12 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> Message-ID: <1502900352.5677.100.camel@...3609...> Am Dienstag, den 15.08.2017, 11:59 -0400 schrieb PICCORO McKAY Lenz: > $ wget https://gitlab.com/gambas/gambas/repository/v3.10.0/archive.tar.gz > -O gambas-3.10.0.tar.gz > $ tar -zxvf gambas-3.10.0.tar.gz > $ cd gambas-v3.10.0-* Salut, not knowing git, and not having read anything about GitLab, following these instructions seems to run oK! But this is a > 35 MB download. Do I have to do that every time, if I want to get the newest release (I know the example is for the stable Version)? What is to do to get only the changes like with svn ? Any short HowTo somewhere ? -- Amicalement Charlie From gambas at ...1... Wed Aug 16 18:30:03 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 16 Aug 2017 18:30:03 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <1502900352.5677.100.camel@...3609...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> Message-ID: <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Le 16/08/2017 ? 18:19, Karl Reinl a ?crit : > Am Dienstag, den 15.08.2017, 11:59 -0400 schrieb PICCORO McKAY Lenz: > >> $ wget https://gitlab.com/gambas/gambas/repository/v3.10.0/archive.tar.gz >> -O gambas-3.10.0.tar.gz >> $ tar -zxvf gambas-3.10.0.tar.gz >> $ cd gambas-v3.10.0-* > > Salut, > > not knowing git, and not having read anything about GitLab, > following these instructions seems to run oK! But this is a > 35 MB > download. Do I have to do that every time, if I want to get the newest > release (I know the example is for the stable Version)? > What is to do to get only the changes like with svn ? Any short HowTo > somewhere ? > > It's because the download tool of GitLab downloads everything (especially the 'MakeWebSite' project that has a lot big files in it), whereas the "make dist-bzip2" command only package what is relevant to compile and install Gambas. If no 'git' solution exist, maybe I will have to make these source packages manually again, and store them on Sourceforge as usual... -- Beno?t Minisini From adamnt42 at ...626... Wed Aug 16 19:44:56 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 17 Aug 2017 03:14:56 +0930 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <1502900352.5677.100.camel@...3609...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> Message-ID: <20170817031456.6e687490f40ac8db1d1e335b@...626...> On Wed, 16 Aug 2017 18:19:12 +0200 Karl Reinl wrote: > Salut, > > not knowing git, and not having read anything about GitLab, > following these instructions seems to run oK! But this is a > 35 MB > download. Do I have to do that every time, if I want to get the newest > release (I know the example is for the stable Version)? > What is to do to get only the changes like with svn ? Any short HowTo > somewhere ? > > > -- > Amicalement > Charlie > Oh hell, do I ever feel your pain! But it is 3am here and I must go to bed. I'll try and write something sensible in the morning, but yes there is an answer (and amazingly it is "fairly simple"). b p.s. The damn thing is just a damn stupid version control system (VCS) Like you I was expecting something like SVN but with bells, whistles and kitchen fairies! -- B Bruen From adrien.prokopowicz at ...626... Wed Aug 16 21:30:30 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 16 Aug 2017 21:30:30 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user a ?crit: > > It's because the download tool of GitLab downloads everything > (especially the 'MakeWebSite' project that has a lot big files in it), > whereas the "make dist-bzip2" command only package what is relevant to > compile and install Gambas. > > If no 'git' solution exist, maybe I will have to make these source > packages manually again, and store them on Sourceforge as usual... > While there are no "git" solutions for this, maybe we should put the website in its own repository, apart from the rest of the source tree ? Same goes for the wiki, the bugtracker, etc. (I can move it into a new repository without losing the history, if you want) As a side-note, we can also use GitLab's Pipelines feature to run the make dist-bzip2 command and store the results every time we tag a new release (we can also use it to distribute compiled binaries if we want). -- Adrien Prokopowicz From moviga at ...3488... Wed Aug 16 22:19:38 2017 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 16 Aug 2017 22:19:38 +0200 Subject: [Gambas-user] Arch / Manjaro PKGBUILD file for GIT Message-ID: <6241eda7ad625ab4b4c6f9233992237c@...3488...> Hi! I've made a PKGBUILD file for Gambas that gets sources from gitlab. It's still too messy and crude for AUR, but it works. So, untill then, you can get it here: https://forum.gambas.one/viewtopic.php?f=4&t=535 From mckaygerhard at ...626... Thu Aug 17 01:40:49 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 16 Aug 2017 19:40:49 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: attention to all fisr; the second commands are for stable.. if want to download lasted as the wiki said clarelly, git clone "OR" then wget stable.. i provided that command due old svn wiki HAS SAME VEHABIOUR (a download way for last and a download way for satble truck version tag/branch) in second, the link i provide was for tar.gz but gitlab alteady "automatically make tar.xz" links that its the most compresed posible.. and lasted, if a debian user want to compile lasted but mantain control of software installed, just copy the debian ppa(daily) directory inside the source downloade, and run the rules as "debian/rules" all the packages and dsc/source files will be made ... always be a 35MB or similar due git ship "all" the history due are decentraliced, the git user have the "feature" to make all the things like the "central" Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-16 15:30 GMT-04:00 Adrien Prokopowicz : > Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user > a ?crit: >> >> >> It's because the download tool of GitLab downloads everything (especially >> the 'MakeWebSite' project that has a lot big files in it), whereas the "make >> dist-bzip2" command only package what is relevant to compile and install >> Gambas. >> >> If no 'git' solution exist, maybe I will have to make these source >> packages manually again, and store them on Sourceforge as usual... >> > > While there are no "git" solutions for this, maybe we should put the website > in > its own repository, apart from the rest of the source tree ? > Same goes for the wiki, the bugtracker, etc. > > (I can move it into a new repository without losing the history, if you > want) > > As a side-note, we can also use GitLab's Pipelines feature to run the make > dist-bzip2 command and store the results every time we tag a new release > (we can also use it to distribute compiled binaries if we want). > > -- > Adrien Prokopowicz > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Thu Aug 17 01:44:04 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 16 Aug 2017 19:44:04 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: 2017-08-16 15:30 GMT-04:00 Adrien Prokopowicz : >> It's because the download tool of GitLab downloads everything (especially >> the 'MakeWebSite' project that has a lot big files in it), whereas the "make >> dist-bzip2" command only package what is relevant to compile and install >> Gambas. mayor software are prepared separated.. and due the nature of subversion (and limist) all was shiped in a isolated repository.. modern software are made, as each product have their own repository.. >> >> If no 'git' solution exist, maybe I will have to make these source >> packages manually again, and store them on Sourceforge as usual... >> > > While there are no "git" solutions for this, maybe we should put the website > in > its own repository, apart from the rest of the source tree ? > Same goes for the wiki, the bugtracker, etc. its the most obvius and the right way.. the website there nothig to do with the code of the softwafre.. > > (I can move it into a new repository without losing the history, if you > want) > > As a side-note, we can also use GitLab's Pipelines feature to run the make > dist-bzip2 command and store the results every time we tag a new release > (we can also use it to distribute compiled binaries if we want). > > -- > Adrien Prokopowicz > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From hans at ...3219... Thu Aug 17 09:11:58 2017 From: hans at ...3219... (Hans Lehmann) Date: Thu, 17 Aug 2017 09:11:58 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Hello, After the many discussions and suggestions I would have as a simple user of Gambas as a result a working description (commands and meaningful comments) how to (1) completely deletes an old Gambas version and (2) installed a new * stable * Gambas version. This would have a real practical benefit for everyone! Best regards Hans From owlbrudder at ...626... Thu Aug 17 09:14:29 2017 From: owlbrudder at ...626... (Doug Hutcheson) Date: Thu, 17 Aug 2017 17:14:29 +1000 Subject: [Gambas-user] Connect to and control LibreOffice Message-ID: <1502954069.2537.45.camel@...626...> On the page http://gambaswiki.org/wiki/doc/intro?nh is this information: Gambas is build on top of many free softwares, and could not exist without them. So I would like to thank every people involved in the following projects: * Linux * KDE * GCC and all of the GNU tools, of course. * The Qt toolkit. * The GIMP and its toolkit GTK+. * Libre Office. * The MySQL, PostgreSQL and SQLite database management systems. * And any other libraries used by Gambas. The reference to LibreOffice is interesting. Does it mean there are built-in 'hooks' into LibreOffice? I suppose that would be too much to hope for, but perhaps there is a 'bridge' between LO and Gambas? I need to update several LO spreadsheets in tandem with creating and maintaining a new PostgreSQL database storing the same data but in properly normalised tables.I cannot change the structure of the existing spreadsheets, so just uncompressing them and running search- and-replace processes is not quite good enough. Any pointers to help in this would be welcome, even if only to say I am wasting my time. "8-) Kind regards, Doug From chrisml at ...3340... Thu Aug 17 09:46:32 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 17 Aug 2017 09:46:32 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <1502900352.5677.100.camel@...3609...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> Message-ID: Hi, Am 16.08.2017 um 18:19 schrieb Karl Reinl: > not knowing git, and not having read anything about GitLab, > following these instructions seems to run oK! But this is a > 35 MB > download. Do I have to do that every time, if I want to get the newest > release (I know the example is for the stable Version)? > What is to do to get only the changes like with svn ? Any short HowTo > somewhere ? Sorry for all, but downloading Gambas each time is quite silly (and bad to Gitlab also). Normally one would clone the repo first, then work with it and just fetch the differences: Clone: git clone https://gitlab.com/gambas/gambas Then you are automatically on the master branch, which is bleeding edge development. Fetch only differences since last clone/pull: cd gambas git pull And that's all. If your current branch is master then you always are on bleeding edge! (do configure/make/install as usual) But as you now have the complete repository on your computer you can easyly switch to another version, you can checkout tags and also branches: For actual stable you would do: git checkout v3.10.0 For an older one: git checkout v3.7.1 I dont know much about compiling gambas, but I think, that a "make clean" could be neccessary between compiler runs. 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... Thu Aug 17 09:57:57 2017 From: taboege at ...626... (Tobias Boege) Date: Thu, 17 Aug 2017 09:57:57 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> Message-ID: <20170817075757.GV541@...3600...> On Thu, 17 Aug 2017, Christof Thalhofer wrote: > But as you now have the complete repository on your computer you can > easyly switch to another version, you can checkout tags and also branches: > > For actual stable you would do: > > git checkout v3.10.0 > > For an older one: > > git checkout v3.7.1 > > I dont know much about compiling gambas, but I think, that a "make > clean" could be neccessary between compiler runs. > Usually, yes. You only have to make clean && ./reconf && ./configure if the autoconf files of Gambas change. One source of such a change is adding a new source file to (a C/C++ component of) Gambas, which may or may not have happened since your last pull. If you pay attention to where files changed, you don't have to reconfigure the whole tree (reconf-all in the root), but only in directories where changes occured. But if you checkout another branch it is a good bet you have to make clean && ./reconf-all && ./configure, because you would suspect more substantial changes between, say, different stable releases. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From adamnt42 at ...626... Thu Aug 17 10:01:53 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 17 Aug 2017 17:31:53 +0930 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> Message-ID: <20170817173153.02cd6c578ed7fabbe0296f89@...626...> This might help some folks: https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet b On Thu, 17 Aug 2017 09:46:32 +0200 Christof Thalhofer wrote: > Hi, > > Am 16.08.2017 um 18:19 schrieb Karl Reinl: > > > not knowing git, and not having read anything about GitLab, > > following these instructions seems to run oK! But this is a > 35 MB > > download. Do I have to do that every time, if I want to get the newest > > release (I know the example is for the stable Version)? > > What is to do to get only the changes like with svn ? Any short HowTo > > somewhere ? > > Sorry for all, but downloading Gambas each time is quite silly (and bad > to Gitlab also). > > Normally one would clone the repo first, then work with it and just > fetch the differences: > > Clone: > > git clone https://gitlab.com/gambas/gambas > > Then you are automatically on the master branch, which is bleeding edge > development. > > Fetch only differences since last clone/pull: > > cd gambas > git pull > > And that's all. If your current branch is master then you always are on > bleeding edge! > > (do configure/make/install as usual) > > But as you now have the complete repository on your computer you can > easyly switch to another version, you can checkout tags and also branches: > > For actual stable you would do: > > git checkout v3.10.0 > > For an older one: > > git checkout v3.7.1 > > I dont know much about compiling gambas, but I think, that a "make > clean" could be neccessary between compiler runs. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > -- B Bruen From adrien.prokopowicz at ...626... Thu Aug 17 16:11:00 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 17 Aug 2017 16:11:00 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a ?crit: > Hi Benoit, > > I apologize for ignorance but I have never used Git. > To update the Trunk, what should I do now? > To subscribe to the new ML? > To report a bug? > Write access is only for participating in the code, or? > > Regards > Gianluigi (I'm responding here because this thread is a mess) I just updated the installation instructions on the wiki for those who want to download the development version from git : http://gambaswiki.org/wiki/install#t6 . This should help those who are unfamiliar with git, and just want to download the latest development version. :-) -- Adrien Prokopowicz From bagonergi at ...626... Thu Aug 17 17:46:47 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 17 Aug 2017 17:46:47 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: I had previously successfully updated using these drastic commands. cd gambasdevel sudo make uninstall cd rm -rf gambasdevel/ git clone https://gitlab.com/gambas/gambas.git gambasdevel cd gambasdevel ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git pull) Since there were variations I gave the usual command: ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 But I get this error: libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' libtoolize: Remember to add `LT_INIT' to configure.ac. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory main to autoreconf autoreconf: Entering directory `main' autoreconf: running: aclocal -I m4 --install autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force Makefile.am: error: required file './ChangeLog' not found autoreconf: automake failed with exit status: 1 What am I doing wrong? Regards Gianluigi 2017-08-17 16:11 GMT+02:00 Adrien Prokopowicz : > Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a > ?crit: > > Hi Benoit, >> >> I apologize for ignorance but I have never used Git. >> To update the Trunk, what should I do now? >> To subscribe to the new ML? >> To report a bug? >> Write access is only for participating in the code, or? >> >> Regards >> Gianluigi >> > > (I'm responding here because this thread is a mess) > > I just updated the installation instructions on the wiki for those who > want to > download the development version from git : http://gambaswiki.org/wiki/ins > tall#t6 . > > This should help those who are unfamiliar with git, and just want to > download the > latest development version. :-) > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Aug 17 17:52:34 2017 From: taboege at ...626... (Tobias Boege) Date: Thu, 17 Aug 2017 17:52:34 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: <20170817155234.GA541@...3600...> On Thu, 17 Aug 2017, Gianluigi wrote: > I had previously successfully updated using these drastic commands. > > cd gambasdevel > sudo make uninstall > cd > rm -rf gambasdevel/ > git clone https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 > > This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git pull) > Since there were variations I gave the usual command: > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > > But I get this error: > > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > libtoolize: Remember to add `LT_INIT' to configure.ac. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal > autoreconf: configure.ac: tracing > autoreconf: configure.ac: adding subdirectory main to autoreconf > autoreconf: Entering directory `main' > autoreconf: running: aclocal -I m4 --install > autoreconf: running: libtoolize --copy > autoreconf: running: /usr/bin/autoconf > autoreconf: running: /usr/bin/autoheader > autoreconf: running: automake --add-missing --copy --no-force > Makefile.am: error: required file './ChangeLog' not found > autoreconf: automake failed with exit status: 1 > > What am I doing wrong? > You're not reading the commit log, despite using the development version. 40 minutes ago, Benoit deleted the ChangeLog file because he deemed it useless. So, this explains why the file survived until this day: it isn't useless. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Aug 17 17:52:42 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 17 Aug 2017 17:52:42 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: <6acf479c-a996-1a6e-8708-d5bde79be09d@...1...> Le 17/08/2017 ? 17:46, Gianluigi a ?crit : > I had previously successfully updated using these drastic commands. > > cd gambasdevel > sudo make uninstall > cd > rm -rf gambasdevel/ > git clone https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 > > This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git pull) > Since there were variations I gave the usual command: > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > > But I get this error: > > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > libtoolize: Remember to add `LT_INIT' to configure.ac. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal > autoreconf: configure.ac: tracing > autoreconf: configure.ac: adding subdirectory main to autoreconf > autoreconf: Entering directory `main' > autoreconf: running: aclocal -I m4 --install > autoreconf: running: libtoolize --copy > autoreconf: running: /usr/bin/autoconf > autoreconf: running: /usr/bin/autoheader > autoreconf: running: automake --add-missing --copy --no-force > Makefile.am: error: required file './ChangeLog' not found > autoreconf: automake failed with exit status: 1 > > What am I doing wrong? > > Regards > Gianluigi > Nothing, it's me: I have just removed that file, and I forgot it is required by autotools. I fix that immediately... -- Beno?t Minisini From gambas at ...1... Thu Aug 17 17:54:37 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 17 Aug 2017 17:54:37 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <6acf479c-a996-1a6e-8708-d5bde79be09d@...1...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <6acf479c-a996-1a6e-8708-d5bde79be09d@...1...> Message-ID: <95d541cc-551e-2f5e-812c-2c92f478709b@...1...> Le 17/08/2017 ? 17:52, Beno?t Minisini a ?crit : > Le 17/08/2017 ? 17:46, Gianluigi a ?crit : >> I had previously successfully updated using these drastic commands. >> >> cd gambasdevel >> sudo make uninstall >> cd >> rm -rf gambasdevel/ >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> cd gambasdevel >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log >> 2>&1 >> >> This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git >> pull) >> Since there were variations I gave the usual command: >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> >> But I get this error: >> >> libtoolize: putting auxiliary files in `.'. >> libtoolize: copying file `./ltmain.sh' >> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. >> libtoolize: copying file `m4/libtool.m4' >> libtoolize: copying file `m4/ltoptions.m4' >> libtoolize: copying file `m4/ltsugar.m4' >> libtoolize: copying file `m4/ltversion.m4' >> libtoolize: copying file `m4/lt~obsolete.m4' >> libtoolize: Remember to add `LT_INIT' to configure.ac. >> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. >> autoreconf: Entering directory `.' >> autoreconf: configure.ac: not using Gettext >> autoreconf: running: aclocal >> autoreconf: configure.ac: tracing >> autoreconf: configure.ac: adding subdirectory main to autoreconf >> autoreconf: Entering directory `main' >> autoreconf: running: aclocal -I m4 --install >> autoreconf: running: libtoolize --copy >> autoreconf: running: /usr/bin/autoconf >> autoreconf: running: /usr/bin/autoheader >> autoreconf: running: automake --add-missing --copy --no-force >> Makefile.am: error: required file './ChangeLog' not found >> autoreconf: automake failed with exit status: 1 >> >> What am I doing wrong? >> >> Regards >> Gianluigi >> > Nothing, it's me: I have just removed that file, and I forgot it is > required by autotools. I fix that immediately... > You should wait a bit, as apparently GitLab is down. -- Beno?t Minisini From bagonergi at ...626... Thu Aug 17 18:20:23 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 17 Aug 2017 18:20:23 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <95d541cc-551e-2f5e-812c-2c92f478709b@...1...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <6acf479c-a996-1a6e-8708-d5bde79be09d@...1...> <95d541cc-551e-2f5e-812c-2c92f478709b@...1...> Message-ID: Thanks for the answers, as I have already written only to Benoit (wrong as usual :-)), no problem. I'm just doing experiance. Regards Gianluigi 2017-08-17 17:54 GMT+02:00 Beno?t Minisini : > Le 17/08/2017 ? 17:52, Beno?t Minisini a ?crit : > >> Le 17/08/2017 ? 17:46, Gianluigi a ?crit : >> >>> I had previously successfully updated using these drastic commands. >>> >>> cd gambasdevel >>> sudo make uninstall >>> cd >>> rm -rf gambasdevel/ >>> git clone https://gitlab.com/gambas/gambas.git gambasdevel >>> cd gambasdevel >>> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >>> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log >>> 2>&1 >>> >>> This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git >>> pull) >>> Since there were variations I gave the usual command: >>> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >>> >>> But I get this error: >>> >>> libtoolize: putting auxiliary files in `.'. >>> libtoolize: copying file `./ltmain.sh' >>> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. >>> libtoolize: copying file `m4/libtool.m4' >>> libtoolize: copying file `m4/ltoptions.m4' >>> libtoolize: copying file `m4/ltsugar.m4' >>> libtoolize: copying file `m4/ltversion.m4' >>> libtoolize: copying file `m4/lt~obsolete.m4' >>> libtoolize: Remember to add `LT_INIT' to configure.ac. >>> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. >>> autoreconf: Entering directory `.' >>> autoreconf: configure.ac: not using Gettext >>> autoreconf: running: aclocal >>> autoreconf: configure.ac: tracing >>> autoreconf: configure.ac: adding subdirectory main to autoreconf >>> autoreconf: Entering directory `main' >>> autoreconf: running: aclocal -I m4 --install >>> autoreconf: running: libtoolize --copy >>> autoreconf: running: /usr/bin/autoconf >>> autoreconf: running: /usr/bin/autoheader >>> autoreconf: running: automake --add-missing --copy --no-force >>> Makefile.am: error: required file './ChangeLog' not found >>> autoreconf: automake failed with exit status: 1 >>> >>> What am I doing wrong? >>> >>> Regards >>> Gianluigi >>> >>> Nothing, it's me: I have just removed that file, and I forgot it is >> required by autotools. I fix that immediately... >> >> > You should wait a bit, as apparently GitLab is down. > > -- > Beno?t Minisini > From mckaygerhard at ...626... Thu Aug 17 20:05:31 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 17 Aug 2017 14:05:31 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <20170817173153.02cd6c578ed7fabbe0296f89@...626...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <20170817173153.02cd6c578ed7fabbe0296f89@...626...> Message-ID: really usefully, i'm taking all the feedback here for a more completion use cases guide Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-17 4:01 GMT-04:00 adamnt42 at ...626... : > This might help some folks: https://www.atlassian.com/git/tutorials/atlassian-git-cheatsheet > > b > > On Thu, 17 Aug 2017 09:46:32 +0200 > Christof Thalhofer wrote: > >> Hi, >> >> Am 16.08.2017 um 18:19 schrieb Karl Reinl: >> >> > not knowing git, and not having read anything about GitLab, >> > following these instructions seems to run oK! But this is a > 35 MB >> > download. Do I have to do that every time, if I want to get the newest >> > release (I know the example is for the stable Version)? >> > What is to do to get only the changes like with svn ? Any short HowTo >> > somewhere ? >> >> Sorry for all, but downloading Gambas each time is quite silly (and bad >> to Gitlab also). >> >> Normally one would clone the repo first, then work with it and just >> fetch the differences: >> >> Clone: >> >> git clone https://gitlab.com/gambas/gambas >> >> Then you are automatically on the master branch, which is bleeding edge >> development. >> >> Fetch only differences since last clone/pull: >> >> cd gambas >> git pull >> >> And that's all. If your current branch is master then you always are on >> bleeding edge! >> >> (do configure/make/install as usual) >> >> But as you now have the complete repository on your computer you can >> easyly switch to another version, you can checkout tags and also branches: >> >> For actual stable you would do: >> >> git checkout v3.10.0 >> >> For an older one: >> >> git checkout v3.7.1 >> >> I dont know much about compiling gambas, but I think, that a "make >> clean" could be neccessary between compiler runs. >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> Dies ist keine Signatur >> > > > -- > B Bruen > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Thu Aug 17 20:07:30 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 17 Aug 2017 14:07:30 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <95d541cc-551e-2f5e-812c-2c92f478709b@...1...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <6acf479c-a996-1a6e-8708-d5bde79be09d@...1...> <95d541cc-551e-2f5e-812c-2c92f478709b@...1...> Message-ID: sometimes gitlab make rapid deploys of their software that only takes some minutes... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-17 11:54 GMT-04:00 Beno?t Minisini via Gambas-user : > Le 17/08/2017 ? 17:52, Beno?t Minisini a ?crit : >> >> Le 17/08/2017 ? 17:46, Gianluigi a ?crit : >>> >>> I had previously successfully updated using these drastic commands. >>> >>> cd gambasdevel >>> sudo make uninstall >>> cd >>> rm -rf gambasdevel/ >>> git clone https://gitlab.com/gambas/gambas.git gambasdevel >>> cd gambasdevel >>> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >>> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log >>> 2>&1 >>> >>> This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git >>> pull) >>> Since there were variations I gave the usual command: >>> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >>> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >>> >>> But I get this error: >>> >>> libtoolize: putting auxiliary files in `.'. >>> libtoolize: copying file `./ltmain.sh' >>> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. >>> libtoolize: copying file `m4/libtool.m4' >>> libtoolize: copying file `m4/ltoptions.m4' >>> libtoolize: copying file `m4/ltsugar.m4' >>> libtoolize: copying file `m4/ltversion.m4' >>> libtoolize: copying file `m4/lt~obsolete.m4' >>> libtoolize: Remember to add `LT_INIT' to configure.ac. >>> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. >>> autoreconf: Entering directory `.' >>> autoreconf: configure.ac: not using Gettext >>> autoreconf: running: aclocal >>> autoreconf: configure.ac: tracing >>> autoreconf: configure.ac: adding subdirectory main to autoreconf >>> autoreconf: Entering directory `main' >>> autoreconf: running: aclocal -I m4 --install >>> autoreconf: running: libtoolize --copy >>> autoreconf: running: /usr/bin/autoconf >>> autoreconf: running: /usr/bin/autoheader >>> autoreconf: running: automake --add-missing --copy --no-force >>> Makefile.am: error: required file './ChangeLog' not found >>> autoreconf: automake failed with exit status: 1 >>> >>> What am I doing wrong? >>> >>> Regards >>> Gianluigi >>> >> Nothing, it's me: I have just removed that file, and I forgot it is >> required by autotools. I fix that immediately... >> > > You should wait a bit, as apparently GitLab is down. > > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Thu Aug 17 20:47:31 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Thu, 17 Aug 2017 20:47:31 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <95d541cc-551e-2f5e-812c-2c92f478709b@...1...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <6acf479c-a996-1a6e-8708-d5bde79be09d@...1...> <95d541cc-551e-2f5e-812c-2c92f478709b@...1...> Message-ID: <1502995651.4300.4.camel@...3609...> Am Donnerstag, den 17.08.2017, 17:54 +0200 schrieb Beno?t Minisini via Gambas-user: > Le 17/08/2017 ? 17:52, Beno?t Minisini a ?crit : > > Le 17/08/2017 ? 17:46, Gianluigi a ?crit : > >> I had previously successfully updated using these drastic commands. > >> > >> cd gambasdevel > >> sudo make uninstall > >> cd > >> rm -rf gambasdevel/ > >> git clone https://gitlab.com/gambas/gambas.git gambasdevel > >> cd gambasdevel > >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log > >> 2>&1 > >> > >> This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git > >> pull) > >> Since there were variations I gave the usual command: > >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > >> > >> But I get this error: > >> > >> libtoolize: putting auxiliary files in `.'. > >> libtoolize: copying file `./ltmain.sh' > >> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > >> libtoolize: copying file `m4/libtool.m4' > >> libtoolize: copying file `m4/ltoptions.m4' > >> libtoolize: copying file `m4/ltsugar.m4' > >> libtoolize: copying file `m4/ltversion.m4' > >> libtoolize: copying file `m4/lt~obsolete.m4' > >> libtoolize: Remember to add `LT_INIT' to configure.ac. > >> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > >> autoreconf: Entering directory `.' > >> autoreconf: configure.ac: not using Gettext > >> autoreconf: running: aclocal > >> autoreconf: configure.ac: tracing > >> autoreconf: configure.ac: adding subdirectory main to autoreconf > >> autoreconf: Entering directory `main' > >> autoreconf: running: aclocal -I m4 --install > >> autoreconf: running: libtoolize --copy > >> autoreconf: running: /usr/bin/autoconf > >> autoreconf: running: /usr/bin/autoheader > >> autoreconf: running: automake --add-missing --copy --no-force > >> Makefile.am: error: required file './ChangeLog' not found > >> autoreconf: automake failed with exit status: 1 > >> > >> What am I doing wrong? > >> > >> Regards > >> Gianluigi > >> > > Nothing, it's me: I have just removed that file, and I forgot it is > > required by autotools. I fix that immediately... > > > > You should wait a bit, as apparently GitLab is down. > ?a recommence encore ! ;?) From bagonergi at ...626... Thu Aug 17 22:17:16 2017 From: bagonergi at ...626... (Gianluigi) Date: Thu, 17 Aug 2017 22:17:16 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: I updated with git pull but I get the same mistake. I deduce that once deleted the files with this command are not rewritten. Is that so? [0] Regards Gianluigi [0] gian at ...3678...:~$ cd gambasdevel gian at ...3678...:~/gambasdevel$ git pull remote: Counting objects: 33, done. remote: Compressing objects: 100% (19/19), done. remote: Total 33 (delta 15), reused 24 (delta 14) Unpacking objects: 100% (33/33), done. Da https://gitlab.com/gambas/gambas 191e862..ef241ff qt5ext -> origin/qt5ext Already up-to-date. gian at ...3678...:~/gambasdevel$ ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 gian at ...3678...:~/gambasdevel$ libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' libtoolize: Remember to add `LT_INIT' to configure.ac. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory main to autoreconf autoreconf: Entering directory `main' autoreconf: running: aclocal -I m4 --install autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force Makefile.am: error: required file './ChangeLog' not found autoreconf: automake failed with exit status: 1 2017-08-17 17:46 GMT+02:00 Gianluigi : > I had previously successfully updated using these drastic commands. > > cd gambasdevel > sudo make uninstall > cd > rm -rf gambasdevel/ > git clone https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 > > This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git > pull) > Since there were variations I gave the usual command: > ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > > But I get this error: > > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > libtoolize: Remember to add `LT_INIT' to configure.ac. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal > autoreconf: configure.ac: tracing > autoreconf: configure.ac: adding subdirectory main to autoreconf > autoreconf: Entering directory `main' > autoreconf: running: aclocal -I m4 --install > autoreconf: running: libtoolize --copy > autoreconf: running: /usr/bin/autoconf > autoreconf: running: /usr/bin/autoheader > autoreconf: running: automake --add-missing --copy --no-force > Makefile.am: error: required file './ChangeLog' not found > autoreconf: automake failed with exit status: 1 > > What am I doing wrong? > > Regards > Gianluigi > > > 2017-08-17 16:11 GMT+02:00 Adrien Prokopowicz < > adrien.prokopowicz at ...626...>: > >> Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a >> ?crit: >> >> Hi Benoit, >>> >>> I apologize for ignorance but I have never used Git. >>> To update the Trunk, what should I do now? >>> To subscribe to the new ML? >>> To report a bug? >>> Write access is only for participating in the code, or? >>> >>> Regards >>> Gianluigi >>> >> >> (I'm responding here because this thread is a mess) >> >> I just updated the installation instructions on the wiki for those who >> want to >> download the development version from git : >> http://gambaswiki.org/wiki/install#t6 . >> >> This should help those who are unfamiliar with git, and just want to >> download the >> latest development version. :-) >> >> -- >> Adrien Prokopowicz >> >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From mckaygerhard at ...626... Thu Aug 17 22:41:32 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 17 Aug 2017 16:41:32 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> Message-ID: i'll do my own test and report feedback.. seems your recent git versions obvious some commands.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-17 16:17 GMT-04:00 Gianluigi : > I updated with git pull but I get the same mistake. > I deduce that once deleted the files with this command are not rewritten. > Is that so? > [0] > Regards > Gianluigi > [0] > > gian at ...3678...:~$ cd gambasdevel > gian at ...3678...:~/gambasdevel$ git pull > remote: Counting objects: 33, done. > remote: Compressing objects: 100% (19/19), done. > remote: Total 33 (delta 15), reused 24 (delta 14) > Unpacking objects: 100% (33/33), done. > Da https://gitlab.com/gambas/gambas > 191e862..ef241ff qt5ext -> origin/qt5ext > Already up-to-date. > gian at ...3678...:~/gambasdevel$ ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 > ./configure -C ) > ~/Scrivania/R_conf-Gambsdevel.log 2>&1 > gian at ...3678...:~/gambasdevel$ > > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > libtoolize: Remember to add `LT_INIT' to configure.ac. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal > autoreconf: configure.ac: tracing > autoreconf: configure.ac: adding subdirectory main to autoreconf > autoreconf: Entering directory `main' > autoreconf: running: aclocal -I m4 --install > autoreconf: running: libtoolize --copy > autoreconf: running: /usr/bin/autoconf > autoreconf: running: /usr/bin/autoheader > autoreconf: running: automake --add-missing --copy --no-force > Makefile.am: error: required file './ChangeLog' not found > autoreconf: automake failed with exit status: 1 > > > 2017-08-17 17:46 GMT+02:00 Gianluigi : > >> I had previously successfully updated using these drastic commands. >> >> cd gambasdevel >> sudo make uninstall >> cd >> rm -rf gambasdevel/ >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> cd gambasdevel >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> ( make && sudo make install ) > ~/Scrivania/Make_Inst-Gambasdevel.log 2>&1 >> >> This time I tried with the git pull command (gian at ...3678...:~gambasdevel$ git >> pull) >> Since there were variations I gave the usual command: >> ( ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C ) > >> ~/Scrivania/R_conf-Gambsdevel.log 2>&1 >> >> But I get this error: >> >> libtoolize: putting auxiliary files in `.'. >> libtoolize: copying file `./ltmain.sh' >> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. >> libtoolize: copying file `m4/libtool.m4' >> libtoolize: copying file `m4/ltoptions.m4' >> libtoolize: copying file `m4/ltsugar.m4' >> libtoolize: copying file `m4/ltversion.m4' >> libtoolize: copying file `m4/lt~obsolete.m4' >> libtoolize: Remember to add `LT_INIT' to configure.ac. >> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. >> autoreconf: Entering directory `.' >> autoreconf: configure.ac: not using Gettext >> autoreconf: running: aclocal >> autoreconf: configure.ac: tracing >> autoreconf: configure.ac: adding subdirectory main to autoreconf >> autoreconf: Entering directory `main' >> autoreconf: running: aclocal -I m4 --install >> autoreconf: running: libtoolize --copy >> autoreconf: running: /usr/bin/autoconf >> autoreconf: running: /usr/bin/autoheader >> autoreconf: running: automake --add-missing --copy --no-force >> Makefile.am: error: required file './ChangeLog' not found >> autoreconf: automake failed with exit status: 1 >> >> What am I doing wrong? >> >> Regards >> Gianluigi >> >> >> 2017-08-17 16:11 GMT+02:00 Adrien Prokopowicz < >> adrien.prokopowicz at ...626...>: >> >>> Le Sun, 13 Aug 2017 14:56:51 +0200, Gianluigi a >>> ?crit: >>> >>> Hi Benoit, >>>> >>>> I apologize for ignorance but I have never used Git. >>>> To update the Trunk, what should I do now? >>>> To subscribe to the new ML? >>>> To report a bug? >>>> Write access is only for participating in the code, or? >>>> >>>> Regards >>>> Gianluigi >>>> >>> >>> (I'm responding here because this thread is a mess) >>> >>> I just updated the installation instructions on the wiki for those who >>> want to >>> download the development version from git : >>> http://gambaswiki.org/wiki/install#t6 . >>> >>> This should help those who are unfamiliar with git, and just want to >>> download the >>> latest development version. :-) >>> >>> -- >>> Adrien Prokopowicz >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adamnt42 at ...626... Fri Aug 18 08:29:39 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 18 Aug 2017 15:59:39 +0930 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. Message-ID: <20170818155939.faab62dc9b0159878bef9e64@...626...> Probably obscure, but I'll give it a go anyway... This project has about 80 or so Timers running at any given time, when they fire some stuff is updated and then a balloon pops up to alert the user that some update has happened. All fantastic. And an added bonus is that the balloon pops up on any virtual desktop. Which is even more fantastic as far as I am concerned and exactly what I have been looking for for some years. What is not so great is that when this happens on the desktop where the app is running, not only does the balloon appear, but the actual form that produces the balloon gets popped up to the top of the desktop. Which is infuriating if the user is actually in another app on that desktop. Even further, the project itself has a bunch of popup forms where the user can enter manual updates of some data. When the balloon appears (and the main form) the popup is lowered and you cannot bring it back to the top layer. I'll try a more concrete example (or two), to see if I can explain what I am trying to do a bit more clearly. I have my email client (sylpheed) running, every so often it goes and checks for incoming mail. If there is some new mail a boxy looking thing appears at the bottom right corner of the screen telling me I have new mail. No matter which desktop I am actually on at the time. A bit later that boxy thing fades away. It doesn't interrupt what I am doing in any way, nor does it pop up the main email client screen. Similarly, on my laptop I have Batti running which when I'm getting a bit low on battery power pops up a message in the desktop panel telling me to plug the damn thing in. Again this does not interrupt what I'm doing. So, how can I achieve the same effect in gambas? tia bruce -- B Bruen From mckaygerhard at ...626... Fri Aug 18 10:46:49 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 04:46:49 -0400 Subject: [Gambas-user] gambas install instructions Message-ID: i have found a great addition to the wiki, in install.. that download the git sources without the comolete history.. git clone --depth=1 https://gitlab.com/gambas/gambas.git but the install section i thnk must reference to stable installs,. and if i dont remenber that command download the development branch... not a stable release... i send this to mail list before made any wiki modification due wiki changes dont have a "reason" input to explain the changes.. so as i understand install wiki section may refers to a stable download and install? due the command in question are as i understand for development lasted not stable lasted Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Fri Aug 18 12:47:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 12:47:50 +0200 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: Message-ID: Le 14/08/2017 ? 00:18, Jussi Lahtinen a ?crit : > The freeze from gdb. > > #0 0x00007ffff7b068b3 in select () from /lib/x86_64-linux-gnu/libc.so.6 > #1 0x000000000041e26d in WATCH_process (fd_end=fd_end at ...2861...=4, > fd_output=-1, > timeout=timeout at ...2861...=0) at gbx_watch.c:685 > #2 0x00000000004286d9 in CPROCESS_wait_for (process=0x688298, timeout=0) > at gbx_c_process.c:976 > #3 0x000000000043250e in EXEC_native () at gbx_exec.c:1375 > #4 0x000000000043cc4a in EXEC_loop () at gbx_exec_loop.c:1427 > #5 0x00000000004316fb in EXEC_function_loop () at gbx_exec.c:931 > #6 0x000000000043346f in EXEC_function_real () at gbx_exec.c:895 > #7 EXEC_public_desc (class=, object=object at ...2861...=0x0, > desc=desc at ...2861...=0x681aa8, nparam=nparam at ...2861...=0) at gbx_exec.c:1618 > #8 0x0000000000404b68 in main (argc=1, argv=0x7fffffffdfd8) at gbx.c:416 > > > Jussi > I confirm the bug. I isolated the loop, and ran it 1000 times. It always freezes sooner or later on my machine. Shame! -- Beno?t Minisini From gambas at ...1... Fri Aug 18 13:18:45 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 13:18:45 +0200 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: Message-ID: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Le 18/08/2017 ? 12:47, Beno?t Minisini via Gambas-user a ?crit : > Le 14/08/2017 ? 00:18, Jussi Lahtinen a ?crit : >> The freeze from gdb. >> >> #0 0x00007ffff7b068b3 in select () from /lib/x86_64-linux-gnu/libc.so.6 >> #1 0x000000000041e26d in WATCH_process (fd_end=fd_end at ...2861...=4, >> fd_output=-1, >> timeout=timeout at ...2861...=0) at gbx_watch.c:685 >> #2 0x00000000004286d9 in CPROCESS_wait_for (process=0x688298, timeout=0) >> at gbx_c_process.c:976 >> #3 0x000000000043250e in EXEC_native () at gbx_exec.c:1375 >> #4 0x000000000043cc4a in EXEC_loop () at gbx_exec_loop.c:1427 >> #5 0x00000000004316fb in EXEC_function_loop () at gbx_exec.c:931 >> #6 0x000000000043346f in EXEC_function_real () at gbx_exec.c:895 >> #7 EXEC_public_desc (class=, object=object at ...3679....=0x0, >> desc=desc at ...2861...=0x681aa8, nparam=nparam at ...2861...=0) at gbx_exec.c:1618 >> #8 0x0000000000404b68 in main (argc=1, argv=0x7fffffffdfd8) at gbx.c:416 >> >> >> Jussi >> > > I confirm the bug. I isolated the loop, and ran it 1000 times. It always > freezes sooner or later on my machine. Shame! > OK, fixed in commit e1a5412f4ffb5ac7af62e78c7b93e2468152b13a. -- Beno?t Minisini From bagonergi at ...626... Fri Aug 18 14:38:21 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 14:38:21 +0200 Subject: [Gambas-user] Git compilation report Message-ID: The last update fails due to missing files. It seems that the git pull command can delete but can not restore the files. I uninstalled with: cd gambasdevel sudo make uninstall But having received error, I searched with "local" and manually uninstalled files. Then I gave these commands: git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel cd gambasdevel ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C make && sudo make install Then I updated (with git pull) at 38a6017 so: cd gambasdevel git pull remote: Counting objects: 12, done. remote: Compressing objects: 100% (12/12), done. remote: Total 12 (delta 10), reused 0 (delta 0) Unpacking objects: 100% (12/12), done. Da https://gitlab.com/gambas/gambas 4aed62d..38a6017 master -> origin/master Aggiornamento di 4aed62d..38a6017 Fast-forward main/gbx/gbx_c_process.c | 16 ++++++++++++++-- main/gbx/gbx_c_process.h | 1 + 2 files changed, 15 insertions(+), 2 deletions(-) ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C make && sudo make install This time it worked. Now all it's ok, but my doubts remain about using the git pull command, maybe update it should be done like this: cd gambasdevel sudo make uninstall cd rm -rf gambasdevel/ git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel cd gambasdevel ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C make && sudo make install Regards Gianluigi From mckaygerhard at ...626... Fri Aug 18 14:41:14 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 08:41:14 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: Message-ID: i'm now at the office, i'll give you feedback in few .. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 8:38 GMT-04:00 Gianluigi : > The last update fails due to missing files. > It seems that the git pull command can delete but can not restore the > files. > I uninstalled with: > > cd gambasdevel > sudo make uninstall > > But having received error, I searched with "local" and manually uninstalled > files. > Then I gave these commands: > > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > > Then I updated (with git pull) at 38a6017 so: > > cd gambasdevel > git pull > remote: Counting objects: 12, done. > remote: Compressing objects: 100% (12/12), done. > remote: Total 12 (delta 10), reused 0 (delta 0) > Unpacking objects: 100% (12/12), done. > Da https://gitlab.com/gambas/gambas > 4aed62d..38a6017 master -> origin/master > Aggiornamento di 4aed62d..38a6017 > Fast-forward > main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > main/gbx/gbx_c_process.h | 1 + > 2 files changed, 15 insertions(+), 2 deletions(-) > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > > This time it worked. > Now all it's ok, but my doubts remain about using the git pull command, > maybe update it should be done like this: > > cd gambasdevel > sudo make uninstall > cd > rm -rf gambasdevel/ > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > > Regards > Gianluigi > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Aug 18 14:49:19 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 14:49:19 +0200 Subject: [Gambas-user] System informations report Message-ID: With git compilation, system information is very slow, about 50 seconds. Compared to the few (2 or 3) with SVN, why? Regards Gianluigi From gambas at ...1... Fri Aug 18 14:55:52 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 14:55:52 +0200 Subject: [Gambas-user] System informations report In-Reply-To: References: Message-ID: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> Le 18/08/2017 ? 14:49, Gianluigi a ?crit : > With git compilation, system information is very slow, about 50 seconds. > Compared to the few (2 or 3) with SVN, why? > > Regards > Gianluigi I don't see any problem here... -- Beno?t Minisini From gambas at ...1... Fri Aug 18 14:58:19 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 14:58:19 +0200 Subject: [Gambas-user] System informations report In-Reply-To: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> Message-ID: <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> Le 18/08/2017 ? 14:55, Beno?t Minisini a ?crit : > Le 18/08/2017 ? 14:49, Gianluigi a ?crit : >> With git compilation, system information is very slow, about 50 seconds. >> Compared to the few (2 or 3) with SVN, why? >> >> Regards >> Gianluigi > > I don't see any problem here... > The slowness normally should come from the recursive browse of the "/lib" and "/usr/lib" directories. Do you have anything special about these directories? -- Beno?t Minisini From taboege at ...626... Fri Aug 18 15:28:20 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 18 Aug 2017 15:28:20 +0200 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <20170818155939.faab62dc9b0159878bef9e64@...626...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> Message-ID: <20170818132820.GC548@...3600...> On Fri, 18 Aug 2017, adamnt42 at ...626... wrote: > Probably obscure, but I'll give it a go anyway... > > This project has about 80 or so Timers running at any given time, when they fire some stuff is updated and then a balloon pops up to alert the user that some update has happened. All fantastic. > > And an added bonus is that the balloon pops up on any virtual desktop. Which is even more fantastic as far as I am concerned and exactly what I have been looking for for some years. > > What is not so great is that when this happens on the desktop where the app is running, not only does the balloon appear, but the actual form that produces the balloon gets popped up to the top of the desktop. Which is infuriating if the user is actually in another app on that desktop. Even further, the project itself has a bunch of popup forms where the user can enter manual updates of some data. When the balloon appears (and the main form) the popup is lowered and you cannot bring it back to the top layer. > > I'll try a more concrete example (or two), to see if I can explain what I am trying to do a bit more clearly. > > I have my email client (sylpheed) running, every so often it goes and checks for incoming mail. If there is some new mail a boxy looking thing appears at the bottom right corner of the screen telling me I have new mail. No matter which desktop I am actually on at the time. A bit later that boxy thing fades away. It doesn't interrupt what I am doing in any way, nor does it pop up the main email client screen. > Similarly, on my laptop I have Batti running which when I'm getting a bit low on battery power pops up a message in the desktop panel telling me to plug the damn thing in. Again this does not interrupt what I'm doing. > > So, how can I achieve the same effect in gambas? > Sounds like a feature of your DE (and I'm not good with DEs) but a quick search suggests something called libnotify for sending desktop notifications. It is said to be toolkit- and desktop-independent, but you need a conforming notification daemon running -- which you may already have, if you can see notifications from other programs (assuming they use the same machinery). So, I guess you would need a gb.libnotify component (it really doesn't look hard to do, there's only maybe 3 dozen functions in the library and it seems you only need as few as 5 of them to show your first notification). If you can't do that, there seems to be a tool called "notify-send" which looks like it lets you access all the library features via the command-line. That said, notify-send does nothing on my desktop, probably because I don't run a fancy notification server... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From adrien.prokopowicz at ...626... Fri Aug 18 15:31:50 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 18 Aug 2017 15:31:50 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Le Wed, 16 Aug 2017 23:14:54 +0200, Beno?t Minisini a ?crit: > Le 16/08/2017 ? 21:30, Adrien Prokopowicz a ?crit : >> Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user >> a ?crit: >>> >>> It's because the download tool of GitLab downloads everything >>> (especially the 'MakeWebSite' project that has a lot big files in it), >>> whereas the "make dist-bzip2" command only package what is relevant to >>> compile and install Gambas. >>> >>> If no 'git' solution exist, maybe I will have to make these source >>> packages manually again, and store them on Sourceforge as usual... >>> >> While there are no "git" solutions for this, maybe we should put the >> website in >> its own repository, apart from the rest of the source tree ? >> Same goes for the wiki, the bugtracker, etc. >> > > Maybe. But the MakeWebSite project is not the only tool located in the > source tree. Or it may not be. It's just the one that takes a lot of > place. I will think about that. Making separate repositories for each project is not a problem : we can have as many repositories as we want in the Gambas group. :-) Also, if the website is in its own repository, it can be hosted with the GitLab Pages service (which I've never tried, but it seems similar to the hosting provided by SourceForge). >> (I can move it into a new repository without losing the history, if you >> want) >> As a side-note, we can also use GitLab's Pipelines feature to run the >> make >> dist-bzip2 command and store the results every time we tag a new release >> (we can also use it to distribute compiled binaries if we want). >> > > Ha! This is more interesting. But "make dist-bzip2" is not enough. You > must run it after a full configuration of the source, so it must be run > on a clean system, and it needs to be hacked so that it can handle > symbolic links. > (I'm not sure what you mean by "it needs to be hacked so that it can handle symbolic links". Doesn't every system handle symbolic links out-of-the-box ?) I forked the repository to make tests on my account, and I configured a small pipeline thats configures the sources and then generates the archive. You can see the job result here : https://gitlab.com/prokopyl/gambas/-/jobs/29620075 (Warning : Big ./configure log, expect your tab to freeze for a bit !) On the right panel you can browse the Job artifacts, and see it generated the .tar.bz2 archive as an artifact you can download. Unlike the repository source archive, Job artifacts are not meant to be directly downloaded by the users, as anyone in the group can delete them wile cleaning up (they do not expire by default, but we have a 10GB job artifact limit if I remember correctly). However, you can configure the pipeline to automatically upload the source package to any server you'd like (using SSH, FTP, or anything that has a CLI really). Something I would also like to setup later, is a Pipeline that checks the configuration/build on several Linux distributions on every commit. Since the Pipelines can rely on Docker, we can basically check for most major x86_64 distributions (and I think we can use qemu for other architectures, like x86 or ARM). But that's just an idea, for now. :-) -- Adrien Prokopowicz From bagonergi at ...626... Fri Aug 18 15:35:12 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 15:35:12 +0200 Subject: [Gambas-user] System informations report In-Reply-To: <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> Message-ID: Could it be because I uninstalled the trunk but kept the folder with the files? Regards Gianluigi 2017-08-18 14:58 GMT+02:00 Beno?t Minisini : > Le 18/08/2017 ? 14:55, Beno?t Minisini a ?crit : > >> Le 18/08/2017 ? 14:49, Gianluigi a ?crit : >> >>> With git compilation, system information is very slow, about 50 seconds. >>> Compared to the few (2 or 3) with SVN, why? >>> >>> Regards >>> Gianluigi >>> >> >> I don't see any problem here... >> >> > The slowness normally should come from the recursive browse of the "/lib" > and "/usr/lib" directories. Do you have anything special about these > directories? > > -- > Beno?t Minisini > From adrien.prokopowicz at ...626... Fri Aug 18 16:00:17 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 18 Aug 2017 16:00:17 +0200 Subject: [Gambas-user] gambas install instructions In-Reply-To: References: Message-ID: Le Fri, 18 Aug 2017 10:46:49 +0200, PICCORO McKAY Lenz a ?crit: > i have found a great addition to the wiki, in install.. that download > the > git sources without the comolete history.. > > git clone --depth=1 https://gitlab.com/gambas/gambas.git > > > but the install section i thnk must reference to stable installs,. and > if i > dont remenber that command download the development branch... not a > stable > release... > > i send this to mail list before made any wiki modification due wiki > changes > dont have a "reason" input to explain the changes.. > > so as i understand install wiki section may refers to a stable download > and > install? due the command in question are as i understand for development > lasted not stable lasted The Distribution-specific instructions already explain how to install the development versions, and it makes more sense to cover all versions (stable and development) in the compilation guide so it is easily found, rather than putting it in the contributing guide where most users will get lost. -- Adrien Prokopowicz From tmorehen at ...3602... Fri Aug 18 16:05:16 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Fri, 18 Aug 2017 10:05:16 -0400 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <20170818132820.GC548@...3600...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> Message-ID: <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> Gambas can talk to the notifications daemon via Dbus. I use this code: Private NotifyInterface As String = "org.freedesktop.Notifications" Private NotifyApp As String = "session://" & NotifyInterface Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") 'does the daemon support icon, body, button to click etc Dim sArray As String[] = Dbus[NotifyApp][NotifyPath, NotifyInterface].GetCapabilities() 'popup (the hintsCollection is an empty collection, iDuration = -1, use default) notifyID = Dbus[NotifyApp][NotifyPath, NotifyInterface].Notify(AppName, notifyID, IconPath,SummaryText, BodyText, [TextToSignal, ButtonText], hintsCollection, iDuration) 'setup dbussignal to get popup closed and and buttonpressed notifications Private NotifySignal as New DbusSignal(Dbus.Session,NotifyInterface, True) As "NotifyDbusSignal" 'signal handler Public Sub NotifyDbusSignal_Signal(Signal As String, Arguments As Variant[]) Select Case Signal Case "NotificationClosed" Case "ActionInvoked" 'Arguments[0] contains TextToSignal from above End Select End You can see the code in action in the attached gbAutoMount code. This app uses Udisks2 to automatically mount usb drives when plugged in. On 2017-08-18 09:28 AM, Tobias Boege wrote: > On Fri, 18 Aug 2017, adamnt42 at ...626... wrote: >> Probably obscure, but I'll give it a go anyway... >> >> This project has about 80 or so Timers running at any given time, when they fire some stuff is updated and then a balloon pops up to alert the user that some update has happened. All fantastic. >> >> And an added bonus is that the balloon pops up on any virtual desktop. Which is even more fantastic as far as I am concerned and exactly what I have been looking for for some years. >> >> What is not so great is that when this happens on the desktop where the app is running, not only does the balloon appear, but the actual form that produces the balloon gets popped up to the top of the desktop. Which is infuriating if the user is actually in another app on that desktop. Even further, the project itself has a bunch of popup forms where the user can enter manual updates of some data. When the balloon appears (and the main form) the popup is lowered and you cannot bring it back to the top layer. >> >> I'll try a more concrete example (or two), to see if I can explain what I am trying to do a bit more clearly. >> >> I have my email client (sylpheed) running, every so often it goes and checks for incoming mail. If there is some new mail a boxy looking thing appears at the bottom right corner of the screen telling me I have new mail. No matter which desktop I am actually on at the time. A bit later that boxy thing fades away. It doesn't interrupt what I am doing in any way, nor does it pop up the main email client screen. >> Similarly, on my laptop I have Batti running which when I'm getting a bit low on battery power pops up a message in the desktop panel telling me to plug the damn thing in. Again this does not interrupt what I'm doing. >> >> So, how can I achieve the same effect in gambas? >> > Sounds like a feature of your DE (and I'm not good with DEs) but a quick > search suggests something called libnotify for sending desktop notifications. > It is said to be toolkit- and desktop-independent, but you need a conforming > notification daemon running -- which you may already have, if you can see > notifications from other programs (assuming they use the same machinery). > > So, I guess you would need a gb.libnotify component (it really doesn't look > hard to do, there's only maybe 3 dozen functions in the library and it seems > you only need as few as 5 of them to show your first notification). > > If you can't do that, there seems to be a tool called "notify-send" which > looks like it lets you access all the library features via the command-line. > That said, notify-send does nothing on my desktop, probably because I don't > run a fancy notification server... > > Regards, > Tobi > -------------- next part -------------- A non-text attachment was scrubbed... Name: gbAutoMount-0.0.3.tar.gz Type: application/gzip Size: 13931 bytes Desc: not available URL: From taboege at ...626... Fri Aug 18 16:15:35 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 18 Aug 2017 16:15:35 +0200 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> Message-ID: <20170818141535.GE548@...3600...> On Fri, 18 Aug 2017, Tony Morehen wrote: > Gambas can talk to the notifications daemon via Dbus. I use this code: > > Private NotifyInterface As String = "org.freedesktop.Notifications" > Private NotifyApp As String = "session://" & NotifyInterface > Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") > > 'does the daemon support icon, body, button to click etc > Dim sArray As String[] = Dbus[NotifyApp][NotifyPath, > NotifyInterface].GetCapabilities() > 'popup (the hintsCollection is an empty collection, iDuration = -1, use > default) > notifyID = Dbus[NotifyApp][NotifyPath, > NotifyInterface].Notify(AppName, notifyID, IconPath,SummaryText, BodyText, > [TextToSignal, ButtonText], hintsCollection, iDuration) > 'setup dbussignal to get popup closed and and buttonpressed notifications > > Private NotifySignal as New DbusSignal(Dbus.Session,NotifyInterface, True) > As "NotifyDbusSignal" > 'signal handler > Public Sub NotifyDbusSignal_Signal(Signal As String, Arguments As Variant[]) > Select Case Signal > Case "NotificationClosed" > Case "ActionInvoked" > 'Arguments[0] contains TextToSignal from above > End Select > End > I just checked the code and this is exactly what libnotify does. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From tmorehen at ...3602... Fri Aug 18 16:34:39 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Fri, 18 Aug 2017 10:34:39 -0400 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> Message-ID: <294cd79d-e3f2-1a01-15c0-a6adba97e5e6@...3602...> BTW the attached code is not fully functional. It tries to listen for a signal on both the system bus (Udisks2 signal) and the session bus (Notifications). Unfortunately, Gambas can only listen to one bus at a time, the second declared bus is ignored. As a result, the code that responds to the Notifications signal is never called. I've opened a bug report (1132) on this issue. On 2017-08-18 10:05 AM, Tony Morehen wrote: > Gambas can talk to the notifications daemon via Dbus. I use this code: > > Private NotifyInterface As String = "org.freedesktop.Notifications" > Private NotifyApp As String = "session://" & NotifyInterface > Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") > > 'does the daemon support icon, body, button to click etc > Dim sArray As String[] = Dbus[NotifyApp][NotifyPath, > NotifyInterface].GetCapabilities() > 'popup (the hintsCollection is an empty collection, iDuration = -1, > use default) > notifyID = Dbus[NotifyApp][NotifyPath, > NotifyInterface].Notify(AppName, notifyID, IconPath,SummaryText, > BodyText, [TextToSignal, ButtonText], hintsCollection, iDuration) > 'setup dbussignal to get popup closed and and buttonpressed notifications > > Private NotifySignal as New DbusSignal(Dbus.Session,NotifyInterface, > True) As "NotifyDbusSignal" > 'signal handler > Public Sub NotifyDbusSignal_Signal(Signal As String, Arguments As > Variant[]) > Select Case Signal > Case "NotificationClosed" > Case "ActionInvoked" > 'Arguments[0] contains TextToSignal from above > End Select > End > > You can see the code in action in the attached gbAutoMount code. This > app uses Udisks2 to automatically mount usb drives when plugged in. > > > On 2017-08-18 09:28 AM, Tobias Boege wrote: >> On Fri, 18 Aug 2017, adamnt42 at ...626... wrote: >>> Probably obscure, but I'll give it a go anyway... >>> >>> This project has about 80 or so Timers running at any given time, >>> when they fire some stuff is updated and then a balloon pops up to >>> alert the user that some update has happened. All fantastic. >>> >>> And an added bonus is that the balloon pops up on any virtual >>> desktop. Which is even more fantastic as far as I am concerned and >>> exactly what I have been looking for for some years. >>> >>> What is not so great is that when this happens on the desktop where >>> the app is running, not only does the balloon appear, but the actual >>> form that produces the balloon gets popped up to the top of the >>> desktop. Which is infuriating if the user is actually in another app >>> on that desktop. Even further, the project itself has a bunch of >>> popup forms where the user can enter manual updates of some data. >>> When the balloon appears (and the main form) the popup is lowered >>> and you cannot bring it back to the top layer. >>> >>> I'll try a more concrete example (or two), to see if I can explain >>> what I am trying to do a bit more clearly. >>> >>> I have my email client (sylpheed) running, every so often it goes >>> and checks for incoming mail. If there is some new mail a boxy >>> looking thing appears at the bottom right corner of the screen >>> telling me I have new mail. No matter which desktop I am actually on >>> at the time. A bit later that boxy thing fades away. It doesn't >>> interrupt what I am doing in any way, nor does it pop up the main >>> email client screen. >>> Similarly, on my laptop I have Batti running which when I'm getting >>> a bit low on battery power pops up a message in the desktop panel >>> telling me to plug the damn thing in. Again this does not interrupt >>> what I'm doing. >>> >>> So, how can I achieve the same effect in gambas? >>> >> Sounds like a feature of your DE (and I'm not good with DEs) but a quick >> search suggests something called libnotify for sending desktop >> notifications. >> It is said to be toolkit- and desktop-independent, but you need a >> conforming >> notification daemon running -- which you may already have, if you can >> see >> notifications from other programs (assuming they use the same >> machinery). >> >> So, I guess you would need a gb.libnotify component (it really >> doesn't look >> hard to do, there's only maybe 3 dozen functions in the library and >> it seems >> you only need as few as 5 of them to show your first notification). >> >> If you can't do that, there seems to be a tool called "notify-send" >> which >> looks like it lets you access all the library features via the >> command-line. >> That said, notify-send does nothing on my desktop, probably because I >> don't >> run a fancy notification server... >> >> Regards, >> Tobi >> > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Aug 18 16:41:54 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 16:41:54 +0200 Subject: [Gambas-user] Problem running Gambas on Pi touch screen In-Reply-To: References: Message-ID: <0603f1a3-8307-2236-7dba-908c8fc5cbb5@...1...> Le 18/08/2017 ? 16:33, Brian Childs a ?crit : > I am trying to run gambas on a pi with a 640x800 size touch screen. My > problem is that when I start Gambas up the splash screen is larger than > the resolution of the touch screen and therefore I cannot click any of > its controls and therefore I can go no further. > > Can you help me please? > Cheers > Brian Try to define a smaller default font size with the qtconfig utility. The size of the interface is a multiple of the font height. Regards, -- Beno?t Minisini From bagonergi at ...626... Fri Aug 18 16:52:56 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 16:52:56 +0200 Subject: [Gambas-user] Trunk update Message-ID: I see the last trunk is 8175 two days ago. Does this mean that SVN is definitely abandoned? Regards Gianluigi From adrien.prokopowicz at ...626... Fri Aug 18 17:00:53 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 18 Aug 2017 17:00:53 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: Message-ID: Le Fri, 18 Aug 2017 14:38:21 +0200, Gianluigi a ?crit: > The last update fails due to missing files. > It seems that the git pull command can delete but can not restore the > files. > I uninstalled with: > > cd gambasdevel > sudo make uninstall > > But having received error, I searched with "local" and manually > uninstalled > files. > Then I gave these commands: > > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > > Then I updated (with git pull) at 38a6017 so: > > cd gambasdevel > git pull > remote: Counting objects: 12, done. > remote: Compressing objects: 100% (12/12), done. > remote: Total 12 (delta 10), reused 0 (delta 0) > Unpacking objects: 100% (12/12), done. > Da https://gitlab.com/gambas/gambas > 4aed62d..38a6017 master -> origin/master > Aggiornamento di 4aed62d..38a6017 > Fast-forward > main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > main/gbx/gbx_c_process.h | 1 + > 2 files changed, 15 insertions(+), 2 deletions(-) > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > > This time it worked. > Now all it's ok, but my doubts remain about using the git pull command, > maybe update it should be done like this: > > cd gambasdevel > sudo make uninstall > cd > rm -rf gambasdevel/ > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > > Regards > Gianluigi What errors were you getting ? The git pull command definitely works when new files are (re-)added, and I've been updating to the latest versions using it without a problem. -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Fri Aug 18 17:02:43 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 18 Aug 2017 17:02:43 +0200 Subject: [Gambas-user] Trunk update In-Reply-To: References: Message-ID: Le Fri, 18 Aug 2017 16:52:56 +0200, Gianluigi a ?crit: > I see the last trunk is 8175 two days ago. > Does this mean that SVN is definitely abandoned? > > Regards > Gianluigi Yes. As Beno?t said somewhere on this mailing-list, and on the website, the SVN repository has been made read-only. All of the updates are now on git. -- Adrien Prokopowicz From mckaygerhard at ...626... Fri Aug 18 17:05:16 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 11:05:16 -0400 Subject: [Gambas-user] Git compilation report Message-ID: you should take in consideration that a pull fetch changes.. so i noted you do a uninstall only after do the pull.. worng! if the uninstall process was changed beetween pulls, your "uninstall" could faild and let garbage in your system.. so the correction here its in your case: cd gambasdevel sudo make uninstall git fetch; git pull and of course due you are in development version errors are at the order!, so i must suggest a install controled way: in the debian case check this : 1) lest emulate a old revision of the git gambas: flork to my profile and clone, and added some ignore files to property work git clone https://gitlab.com/mckaygerhard/gambas.git gambasdevelcd gambasdevel echo "debian" >> .gitignore echo "archive.tar.*" >> .gitignore IMPORTANT: must be cloned with ALL the revision history! nthothing of that checks to avoid downloading ok! 2) lest now compile that old version etc etc (more easyle, i only put the debian dir directly wget https://gitlab.com/venenux/gambasex/repository/master/archive.tar.bz2tar --strip-components 2 --wildcards --bzip2 -xvf archive.tar.bz2 gambasex-master*/exgambas/debian debbuild -d NOTE: I used "-d" to uncheck depends due i already has all the need and want directly, but lest assume all the requirements are installed by distro 3) install the result in proper way dpkg -i ../*.deb 4) at this point we have the git repository with some build garbage and updated.. lest emulate a change in upstream: go to gitlab->make a new archive->write someting->save 5) return to console and lest update the origin from upstream: git fetch git pull IMPORTANT: i do "fetch" and then i do "pull" 6) now i recompile my new fashion innecesary change if i have already all working due i want it!: dpkg --purge ../*.debdebbuild -d debuild cleans and recofigure again.. controsl external and internals.. the pull command only "fetch newer changes" and of course if you make a change to "uninstall" script that are not in sync with older version.. could fail.. so you must uninstall fist berfore do the pull Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 8:41 GMT-04:00 PICCORO McKAY Lenz : > i'm now at the office, i'll give you feedback in few .. > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-18 8:38 GMT-04:00 Gianluigi : > >> The last update fails due to missing files. >> It seems that the git pull command can delete but can not restore the >> files. >> I uninstalled with: >> >> cd gambasdevel >> sudo make uninstall >> >> But having received error, I searched with "local" and manually >> uninstalled >> files. >> Then I gave these commands: >> >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel >> cd gambasdevel >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C >> make && sudo make install >> >> Then I updated (with git pull) at 38a6017 so: >> >> cd gambasdevel >> git pull >> remote: Counting objects: 12, done. >> remote: Compressing objects: 100% (12/12), done. >> remote: Total 12 (delta 10), reused 0 (delta 0) >> Unpacking objects: 100% (12/12), done. >> Da https://gitlab.com/gambas/gambas >> 4aed62d..38a6017 master -> origin/master >> Aggiornamento di 4aed62d..38a6017 >> Fast-forward >> main/gbx/gbx_c_process.c | 16 ++++++++++++++-- >> main/gbx/gbx_c_process.h | 1 + >> 2 files changed, 15 insertions(+), 2 deletions(-) >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C >> make && sudo make install >> >> This time it worked. >> Now all it's ok, but my doubts remain about using the git pull command, >> maybe update it should be done like this: >> >> cd gambasdevel >> sudo make uninstall >> cd >> rm -rf gambasdevel/ >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel >> cd gambasdevel >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C >> make && sudo make install >> >> Regards >> Gianluigi >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Fri Aug 18 17:09:02 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 17:09:02 +0200 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <294cd79d-e3f2-1a01-15c0-a6adba97e5e6@...3602...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> <294cd79d-e3f2-1a01-15c0-a6adba97e5e6@...3602...> Message-ID: <6a13ee6f-92e3-04dd-9caf-388db05408e7@...1...> Le 18/08/2017 ? 16:34, Tony Morehen a ?crit : > BTW the attached code is not fully functional. It tries to listen for a > signal on both the system bus (Udisks2 signal) and the session bus > (Notifications). Unfortunately, Gambas can only listen to one bus at a > time, the second declared bus is ignored. As a result, the code that > responds to the Notifications signal is never called. > > I've opened a bug report (1132) on this issue. > > Sorry, I didn't see it. Apparently SourceForge has unsubscribed the bugtracker from the mailing-list, and as it removed the ability to subscribe an arbitrary e-mail, I'm done. :-( Does GitLab plan to offer a mailing-list feature? I will pray for that. -- Beno?t Minisini From bagonergi at ...626... Fri Aug 18 17:15:12 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 17:15:12 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: Message-ID: Always the same as the first time: Makefile.am: error: required file './ChangeLog' not found autoreconf: automake failed with exit status: 1 Regards Gianluigi 2017-08-18 17:00 GMT+02:00 Adrien Prokopowicz : > Le Fri, 18 Aug 2017 14:38:21 +0200, Gianluigi a > ?crit: > > The last update fails due to missing files. >> It seems that the git pull command can delete but can not restore the >> files. >> I uninstalled with: >> >> cd gambasdevel >> sudo make uninstall >> >> But having received error, I searched with "local" and manually >> uninstalled >> files. >> Then I gave these commands: >> >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel >> cd gambasdevel >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C >> make && sudo make install >> >> Then I updated (with git pull) at 38a6017 so: >> >> cd gambasdevel >> git pull >> remote: Counting objects: 12, done. >> remote: Compressing objects: 100% (12/12), done. >> remote: Total 12 (delta 10), reused 0 (delta 0) >> Unpacking objects: 100% (12/12), done. >> Da https://gitlab.com/gambas/gambas >> 4aed62d..38a6017 master -> origin/master >> Aggiornamento di 4aed62d..38a6017 >> Fast-forward >> main/gbx/gbx_c_process.c | 16 ++++++++++++++-- >> main/gbx/gbx_c_process.h | 1 + >> 2 files changed, 15 insertions(+), 2 deletions(-) >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C >> make && sudo make install >> >> This time it worked. >> Now all it's ok, but my doubts remain about using the git pull command, >> maybe update it should be done like this: >> >> cd gambasdevel >> sudo make uninstall >> cd >> rm -rf gambasdevel/ >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel >> cd gambasdevel >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C >> make && sudo make install >> >> Regards >> Gianluigi >> > > What errors were you getting ? > The git pull command definitely works when new files are (re-)added, and > I've been > updating to the latest versions using it without a problem. > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Aug 18 17:15:45 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 11:15:45 -0400 Subject: [Gambas-user] gambas install instructions In-Reply-To: References: Message-ID: got it! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 10:00 GMT-04:00 Adrien Prokopowicz : > Le Fri, 18 Aug 2017 10:46:49 +0200, PICCORO McKAY Lenz < > mckaygerhard at ...626...> a ?crit: > > i have found a great addition to the wiki, in install.. that download the >> git sources without the comolete history.. >> >> git clone --depth=1 https://gitlab.com/gambas/gambas.git >> >> >> but the install section i thnk must reference to stable installs,. and if >> i >> dont remenber that command download the development branch... not a stable >> release... >> >> i send this to mail list before made any wiki modification due wiki >> changes >> dont have a "reason" input to explain the changes.. >> >> so as i understand install wiki section may refers to a stable download >> and >> install? due the command in question are as i understand for development >> lasted not stable lasted >> > > The Distribution-specific instructions already explain how to install the > development versions, and it makes more sense to cover all versions > (stable and > development) in the compilation guide so it is easily found, rather than > putting > it in the contributing guide where most users will get lost. > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Aug 18 17:18:07 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 11:18:07 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: Message-ID: in the previous mail i send i do not have that error... repeated many time during last 3 hours.. emulatin changes in upstream fork Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 11:15 GMT-04:00 Gianluigi : > Always the same as the first time: > Makefile.am: error: required file './ChangeLog' not found > autoreconf: automake failed with exit status: 1 > > Regards > Gianluigi > > 2017-08-18 17:00 GMT+02:00 Adrien Prokopowicz < > adrien.prokopowicz at ...626...> > : > > > Le Fri, 18 Aug 2017 14:38:21 +0200, Gianluigi a > > ?crit: > > > > The last update fails due to missing files. > >> It seems that the git pull command can delete but can not restore the > >> files. > >> I uninstalled with: > >> > >> cd gambasdevel > >> sudo make uninstall > >> > >> But having received error, I searched with "local" and manually > >> uninstalled > >> files. > >> Then I gave these commands: > >> > >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > >> cd gambasdevel > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > >> make && sudo make install > >> > >> Then I updated (with git pull) at 38a6017 so: > >> > >> cd gambasdevel > >> git pull > >> remote: Counting objects: 12, done. > >> remote: Compressing objects: 100% (12/12), done. > >> remote: Total 12 (delta 10), reused 0 (delta 0) > >> Unpacking objects: 100% (12/12), done. > >> Da https://gitlab.com/gambas/gambas > >> 4aed62d..38a6017 master -> origin/master > >> Aggiornamento di 4aed62d..38a6017 > >> Fast-forward > >> main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > >> main/gbx/gbx_c_process.h | 1 + > >> 2 files changed, 15 insertions(+), 2 deletions(-) > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > >> make && sudo make install > >> > >> This time it worked. > >> Now all it's ok, but my doubts remain about using the git pull command, > >> maybe update it should be done like this: > >> > >> cd gambasdevel > >> sudo make uninstall > >> cd > >> rm -rf gambasdevel/ > >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > >> cd gambasdevel > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > >> make && sudo make install > >> > >> Regards > >> Gianluigi > >> > > > > What errors were you getting ? > > The git pull command definitely works when new files are (re-)added, and > > I've been > > updating to the latest versions using it without a problem. > > > > -- > > Adrien Prokopowicz > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Aug 18 17:22:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 17:22:40 +0200 Subject: [Gambas-user] Trunk update In-Reply-To: References: Message-ID: I had read it, but did not understand it meant that. Now it's clear. Thank you Gianluigi 2017-08-18 17:02 GMT+02:00 Adrien Prokopowicz : > Le Fri, 18 Aug 2017 16:52:56 +0200, Gianluigi a > ?crit: > > I see the last trunk is 8175 two days ago. >> Does this mean that SVN is definitely abandoned? >> >> Regards >> Gianluigi >> > > Yes. As Beno?t said somewhere on this mailing-list, and on the website, > the SVN > repository has been made read-only. All of the updates are now on git. > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Fri Aug 18 17:57:53 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 18 Aug 2017 17:57:53 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: Message-ID: <20170818155753.GF548@...3600...> On Fri, 18 Aug 2017, PICCORO McKAY Lenz wrote: > you should take in consideration that a pull fetch changes.. so i noted you > do a uninstall only after do the pull.. worng! > > if the uninstall process was changed beetween pulls, your "uninstall" could > faild and let garbage in your system.. > worng! In the case of Gambas, the Makefiles are generated by autotools. There are no Makefiles in the Gambas repository, so pulling changes will never destroy your Makefiles. Having your old Makefiles intact, you can still uninstall Gambas cleanly, even after git pull. You do have to take care to uninstall before running your next ./configure, though. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Fri Aug 18 18:34:23 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 18:34:23 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: Message-ID: Hi Piccoro, Thank you very much for the explanations. But I think there has been a misunderstanding. If after sudo make uninstall did not get the error I would continue with: cd rm -rf gambasdevel/ And I think that would be enough. Instead, I finded all the files and deleted them manually and deleted the folder. Then I used all the commands suggested by Jussi to delete any trace of Gambas (I hope). I done: git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel ecc. only after. I thought it was OK, even the upgrade. >From what you write, it does not seem like this. >cd gambasdevel >sudo make uninstall >git fetch; git pull Why should I uninstall if I just want to update? Or use git pull and not uninstall or uninstall and do not use git pull. > git clone https://gitlab.com/mckaygerhard/gambas.git gambasdevelcd gambasdevel It does not seem to me to be a correct command and as Adrien writes in the wiki, I have given: git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel etc... > wget https://gitlab.com/venenux/gambasex/repository/master/archive.tar.bz2tar --strip-components 2 --wildcards --bzip2 -xvf archive.tar.bz2 This is not about the stable? > etc It sounds all very complicated, I'm confused. All this only to have the development version? When do we return to SVN? Regards Gianluigi 2017-08-18 17:05 GMT+02:00 PICCORO McKAY Lenz : > you should take in consideration that a pull fetch changes.. so i noted you > do a uninstall only after do the pull.. worng! > > if the uninstall process was changed beetween pulls, your "uninstall" could > faild and let garbage in your system.. so the correction here its in your > case: > > cd gambasdevel > sudo make uninstall > git fetch; git pull > > and of course due you are in development version errors are at the order!, > so i must suggest a install controled way: in the debian case check this : > > 1) lest emulate a old revision of the git gambas: flork to my profile and > clone, and added some ignore files to property work > > git clone https://gitlab.com/mckaygerhard/gambas.git gambasdevelcd > gambasdevel > echo "debian" >> .gitignore > echo "archive.tar.*" >> .gitignore > > IMPORTANT: must be cloned with ALL the revision history! nthothing of that > checks to avoid downloading ok! > > 2) lest now compile that old version etc etc (more easyle, i only put the > debian dir directly > > wget https://gitlab.com/venenux/gambasex/repository/master/ > archive.tar.bz2tar > --strip-components 2 --wildcards --bzip2 -xvf archive.tar.bz2 > gambasex-master*/exgambas/debian > debbuild -d > > NOTE: I used "-d" to uncheck depends due i already has all the need and > want directly, but lest assume all the requirements are installed by distro > > 3) install the result in proper way > > dpkg -i ../*.deb > > > 4) at this point we have the git repository with some build garbage and > updated.. lest emulate a change in upstream: > go to gitlab->make a new archive->write someting->save > > 5) return to console and lest update the origin from upstream: > > git fetch > > git pull > > IMPORTANT: i do "fetch" and then i do "pull" > 6) now i recompile my new fashion innecesary change if i have already all > working due i want it!: > > dpkg --purge ../*.debdebbuild -d > > debuild cleans and recofigure again.. controsl external and internals.. > > the pull command only "fetch newer changes" and of course if you make a > change to "uninstall" script that are not in sync with older version.. > could fail.. > so you must uninstall fist berfore do the pull > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-18 8:41 GMT-04:00 PICCORO McKAY Lenz : > > > i'm now at the office, i'll give you feedback in few .. > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-08-18 8:38 GMT-04:00 Gianluigi : > > > >> The last update fails due to missing files. > >> It seems that the git pull command can delete but can not restore the > >> files. > >> I uninstalled with: > >> > >> cd gambasdevel > >> sudo make uninstall > >> > >> But having received error, I searched with "local" and manually > >> uninstalled > >> files. > >> Then I gave these commands: > >> > >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > >> cd gambasdevel > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > >> make && sudo make install > >> > >> Then I updated (with git pull) at 38a6017 so: > >> > >> cd gambasdevel > >> git pull > >> remote: Counting objects: 12, done. > >> remote: Compressing objects: 100% (12/12), done. > >> remote: Total 12 (delta 10), reused 0 (delta 0) > >> Unpacking objects: 100% (12/12), done. > >> Da https://gitlab.com/gambas/gambas > >> 4aed62d..38a6017 master -> origin/master > >> Aggiornamento di 4aed62d..38a6017 > >> Fast-forward > >> main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > >> main/gbx/gbx_c_process.h | 1 + > >> 2 files changed, 15 insertions(+), 2 deletions(-) > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > >> make && sudo make install > >> > >> This time it worked. > >> Now all it's ok, but my doubts remain about using the git pull command, > >> maybe update it should be done like this: > >> > >> cd gambasdevel > >> sudo make uninstall > >> cd > >> rm -rf gambasdevel/ > >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > >> cd gambasdevel > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > >> make && sudo make install > >> > >> Regards > >> Gianluigi > >> ------------------------------------------------------------ > >> ------------------ > >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Fri Aug 18 18:45:42 2017 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 18 Aug 2017 18:45:42 +0200 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <20170818141535.GE548@...3600...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> <20170818141535.GE548@...3600...> Message-ID: This could perhaps implemented into the gb.Desktop component as 'Desktop.Notify()'? Den 18.08.2017 16:15, skrev Tobias Boege: > On Fri, 18 Aug 2017, Tony Morehen wrote: > >> Gambas can talk to the notifications daemon via Dbus. I use this code: >> >> Private NotifyInterface As String = "org.freedesktop.Notifications" >> Private NotifyApp As String = "session://" & NotifyInterface >> Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") >> >> 'does the daemon support icon, body, button to click etc >> Dim sArray As String[] = Dbus[NotifyApp][NotifyPath, >> NotifyInterface].GetCapabilities() >> 'popup (the hintsCollection is an empty collection, iDuration = -1, use >> default) >> notifyID = Dbus[NotifyApp][NotifyPath, >> NotifyInterface].Notify(AppName, notifyID, IconPath,SummaryText, BodyText, >> [TextToSignal, ButtonText], hintsCollection, iDuration) >> 'setup dbussignal to get popup closed and and buttonpressed notifications >> >> Private NotifySignal as New DbusSignal(Dbus.Session,NotifyInterface, True) >> As "NotifyDbusSignal" >> 'signal handler >> Public Sub NotifyDbusSignal_Signal(Signal As String, Arguments As Variant[]) >> Select Case Signal >> Case "NotificationClosed" >> Case "ActionInvoked" >> 'Arguments[0] contains TextToSignal from above >> End Select >> End > > I just checked the code and this is exactly what libnotify does. From mckaygerhard at ...626... Fri Aug 18 18:46:29 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 12:46:29 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: Message-ID: Tobias wrote: "l. You do have to take care to uninstall before running your next ./configure, though." 2017-08-18 12:34 GMT-04:00 Gianluigi : > Why should I uninstall if I just want to update? > Or use git pull and not uninstall or uninstall and do not use git pull. > i fact dont matter do pull due makefiles always are present, but still tobias said "take care to uninstall before running your next..." its recomended due isolated installation beetween components version and updates seems "just upgraded" its not recomended and its better (specially if are in development branch) uninstall and then clean install If after sudo make uninstall did not get the error I would continue with: > > cd > rm -rf gambasdevel/ > > And I think that would be enough. > yeah, you have right, drastically but have right its better.. > > > git clone https://gitlab.com/mckaygerhard/gambas.git gambasdevelcd > gambasdevel > the "new line" are missing > > It does not seem to me to be a correct command and as Adrien writes in the > wiki, I have given: > > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > this command are in the wiki at install wiki, the other its just in the git explanation > > > wget > https://gitlab.com/venenux/gambasex/repository/master/archive.tar.bz2tar > --strip-components 2 --wildcards --bzip2 -xvf archive.tar.bz2 > > This is not about the stable? > that command its to use a autopackage build.. makes all the necesary debs from the downloaded tarball and put a "debian" directory inside.. > > > etc > > It sounds all very complicated, I'm confused. All this only to have the > development version? > you are doin all in complicated way.. just "wget" to a tag, extract and follow same instructions.. as i put in the wiki... its not recomended "overwrite" the current installation as you said "as upgrade" > > When do we return to SVN? > > Regards > Gianluigi > > > 2017-08-18 17:05 GMT+02:00 PICCORO McKAY Lenz : > > > you should take in consideration that a pull fetch changes.. so i noted > you > > do a uninstall only after do the pull.. worng! > > > > if the uninstall process was changed beetween pulls, your "uninstall" > could > > faild and let garbage in your system.. so the correction here its in your > > case: > > > > cd gambasdevel > > sudo make uninstall > > git fetch; git pull > > > > and of course due you are in development version errors are at the > order!, > > so i must suggest a install controled way: in the debian case check this > : > > > > 1) lest emulate a old revision of the git gambas: flork to my profile and > > clone, and added some ignore files to property work > > > > git clone https://gitlab.com/mckaygerhard/gambas.git gambasdevelcd > > gambasdevel > > echo "debian" >> .gitignore > > echo "archive.tar.*" >> .gitignore > > > > IMPORTANT: must be cloned with ALL the revision history! nthothing of > that > > checks to avoid downloading ok! > > > > 2) lest now compile that old version etc etc (more easyle, i only put the > > debian dir directly > > > > wget https://gitlab.com/venenux/gambasex/repository/master/ > > archive.tar.bz2tar > > --strip-components 2 --wildcards --bzip2 -xvf archive.tar.bz2 > > gambasex-master*/exgambas/debian > > debbuild -d > > > > NOTE: I used "-d" to uncheck depends due i already has all the need and > > want directly, but lest assume all the requirements are installed by > distro > > > > 3) install the result in proper way > > > > dpkg -i ../*.deb > > > > > > 4) at this point we have the git repository with some build garbage and > > updated.. lest emulate a change in upstream: > > go to gitlab->make a new archive->write someting->save > > > > 5) return to console and lest update the origin from upstream: > > > > git fetch > > > > git pull > > > > IMPORTANT: i do "fetch" and then i do "pull" > > 6) now i recompile my new fashion innecesary change if i have already all > > working due i want it!: > > > > dpkg --purge ../*.debdebbuild -d > > > > debuild cleans and recofigure again.. controsl external and internals.. > > > > the pull command only "fetch newer changes" and of course if you make a > > change to "uninstall" script that are not in sync with older version.. > > could fail.. > > so you must uninstall fist berfore do the pull > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-08-18 8:41 GMT-04:00 PICCORO McKAY Lenz : > > > > > i'm now at the office, i'll give you feedback in few .. > > > > > > Lenz McKAY Gerardo (PICCORO) > > > http://qgqlochekone.blogspot.com > > > > > > 2017-08-18 8:38 GMT-04:00 Gianluigi : > > > > > >> The last update fails due to missing files. > > >> It seems that the git pull command can delete but can not restore the > > >> files. > > >> I uninstalled with: > > >> > > >> cd gambasdevel > > >> sudo make uninstall > > >> > > >> But having received error, I searched with "local" and manually > > >> uninstalled > > >> files. > > >> Then I gave these commands: > > >> > > >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > > >> cd gambasdevel > > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > > >> make && sudo make install > > >> > > >> Then I updated (with git pull) at 38a6017 so: > > >> > > >> cd gambasdevel > > >> git pull > > >> remote: Counting objects: 12, done. > > >> remote: Compressing objects: 100% (12/12), done. > > >> remote: Total 12 (delta 10), reused 0 (delta 0) > > >> Unpacking objects: 100% (12/12), done. > > >> Da https://gitlab.com/gambas/gambas > > >> 4aed62d..38a6017 master -> origin/master > > >> Aggiornamento di 4aed62d..38a6017 > > >> Fast-forward > > >> main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > > >> main/gbx/gbx_c_process.h | 1 + > > >> 2 files changed, 15 insertions(+), 2 deletions(-) > > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > > >> make && sudo make install > > >> > > >> This time it worked. > > >> Now all it's ok, but my doubts remain about using the git pull > command, > > >> maybe update it should be done like this: > > >> > > >> cd gambasdevel > > >> sudo make uninstall > > >> cd > > >> rm -rf gambasdevel/ > > >> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > > >> cd gambasdevel > > >> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > > >> make && sudo make install > > >> > > >> Regards > > >> Gianluigi > > >> ------------------------------------------------------------ > > >> ------------------ > > >> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Aug 18 18:50:12 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 18:50:12 +0200 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> <20170818141535.GE548@...3600...> Message-ID: <02499c13-289c-5926-dd24-ba6b3eadaf28@...1...> Le 18/08/2017 ? 18:45, Moviga Technologies a ?crit : > This could perhaps implemented into the gb.Desktop component as > 'Desktop.Notify()'? > No, because gb.desktop should not depend on DBus. Better put that in the gb.dbus component. Or make a gb.desktop.notify component that requires gb.dbus. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Fri Aug 18 18:51:23 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 12:51:23 -0400 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <6a13ee6f-92e3-04dd-9caf-388db05408e7@...1...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> <294cd79d-e3f2-1a01-15c0-a6adba97e5e6@...3602...> <6a13ee6f-92e3-04dd-9caf-388db05408e7@...1...> Message-ID: sourceforge some times ago said that mailer services will be limited.. do the bugtracker are using the mail service of sourceforge? there's a mail service integration, in settuings->integration->service->mail for gitlab... but its for commits only gitlab and github have a build in mail list, when a notification are trigered.. like a new comment in a issue or a commit in related watched git's but that's all.. no mail services as is! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 11:09 GMT-04:00 Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net>: > Le 18/08/2017 ? 16:34, Tony Morehen a ?crit : > >> BTW the attached code is not fully functional. It tries to listen for a >> signal on both the system bus (Udisks2 signal) and the session bus >> (Notifications). Unfortunately, Gambas can only listen to one bus at a >> time, the second declared bus is ignored. As a result, the code that >> responds to the Notifications signal is never called. >> >> I've opened a bug report (1132) on this issue. >> >> >> > Sorry, I didn't see it. Apparently SourceForge has unsubscribed the > bugtracker from the mailing-list, and as it removed the ability to > subscribe an arbitrary e-mail, I'm done. :-( > > Does GitLab plan to offer a mailing-list feature? I will pray for that. > > -- > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From karl.reinl at ...9... Fri Aug 18 19:16:08 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 18 Aug 2017 19:16:08 +0200 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: <1503076568.4300.7.camel@...3609...> Am Freitag, den 18.08.2017, 13:18 +0200 schrieb Beno?t Minisini via Gambas-user: > OK, fixed in commit e1a5412f4ffb5ac7af62e78c7b93e2468152b13a. oh, thats too easy, much easier the r8175 ;?( -- Amicalement Charlie From gambas at ...1... Fri Aug 18 19:20:59 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 19:20:59 +0200 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: <1503076568.4300.7.camel@...3609...> References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> <1503076568.4300.7.camel@...3609...> Message-ID: Le 18/08/2017 ? 19:16, Karl Reinl a ?crit : > Am Freitag, den 18.08.2017, 13:18 +0200 schrieb Beno?t Minisini via > Gambas-user: >> OK, fixed in commit e1a5412f4ffb5ac7af62e78c7b93e2468152b13a. > > oh, thats too easy, much easier the r8175 ;?( > Indeed! Maybe a time stamp would have been clearer to communicate... -- Beno?t Minisini From mckaygerhard at ...626... Fri Aug 18 19:25:03 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 13:25:03 -0400 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> Message-ID: ummm with lasted gambas version 3.10 system information are more slow in fact! its not only git compilation.. in my machines takes around 38 seconds now Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 9:35 GMT-04:00 Gianluigi : > Could it be because I uninstalled the trunk but kept the folder with the > files? > > Regards > Gianluigi > > 2017-08-18 14:58 GMT+02:00 Beno?t Minisini : > > > Le 18/08/2017 ? 14:55, Beno?t Minisini a ?crit : > > > >> Le 18/08/2017 ? 14:49, Gianluigi a ?crit : > >> > >>> With git compilation, system information is very slow, about 50 > seconds. > >>> Compared to the few (2 or 3) with SVN, why? > >>> > >>> Regards > >>> Gianluigi > >>> > >> > >> I don't see any problem here... > >> > >> > > The slowness normally should come from the recursive browse of the "/lib" > > and "/usr/lib" directories. Do you have anything special about these > > directories? > > > > -- > > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Aug 18 19:35:36 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 19:35:36 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: <20170818155753.GF548@...3600...> References: <20170818155753.GF548@...3600...> Message-ID: Hi Tobias, This git response does not indicate that pull worked properly? ---------------------------------------------------------------------------- remote: Counting objects: 12, done. remote: Compressing objects: 100% (12/12), done. remote: Total 12 (delta 10), reused 0 (delta 0) Unpacking objects: 100% (12/12), done. Da https://gitlab.com/gambas/gambas 4aed62d..38a6017 master -> origin/master Aggiornamento di 4aed62d..38a6017 Fast-forward main/gbx/gbx_c_process.c | 16 ++++++++++++++-- main/gbx/gbx_c_process.h | 1 + 2 files changed, 15 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------ Regards Gianluigi 2017-08-18 17:57 GMT+02:00 Tobias Boege : > On Fri, 18 Aug 2017, PICCORO McKAY Lenz wrote: > > you should take in consideration that a pull fetch changes.. so i noted > you > > do a uninstall only after do the pull.. worng! > > > > if the uninstall process was changed beetween pulls, your "uninstall" > could > > faild and let garbage in your system.. > > > > worng! In the case of Gambas, the Makefiles are generated by autotools. > There are no Makefiles in the Gambas repository, so pulling changes will > never destroy your Makefiles. Having your old Makefiles intact, you can > still uninstall Gambas cleanly, even after git pull. You do have to take > care to uninstall before running your next ./configure, though. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Aug 18 19:37:22 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 13:37:22 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> Message-ID: yeah! that's correct Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 13:35 GMT-04:00 Gianluigi : > Hi Tobias, > > This git response does not indicate that pull worked properly? > ------------------------------------------------------------ > ---------------- > remote: Counting objects: 12, done. > remote: Compressing objects: 100% (12/12), done. > remote: Total 12 (delta 10), reused 0 (delta 0) > Unpacking objects: 100% (12/12), done. > Da https://gitlab.com/gambas/gambas > 4aed62d..38a6017 master -> origin/master > Aggiornamento di 4aed62d..38a6017 > Fast-forward > main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > main/gbx/gbx_c_process.h | 1 + > 2 files changed, 15 insertions(+), 2 deletions(-) > ------------------------------------------------------------ > ------------------ > > Regards > Gianluigi > > > 2017-08-18 17:57 GMT+02:00 Tobias Boege : > > > On Fri, 18 Aug 2017, PICCORO McKAY Lenz wrote: > > > you should take in consideration that a pull fetch changes.. so i noted > > you > > > do a uninstall only after do the pull.. worng! > > > > > > if the uninstall process was changed beetween pulls, your "uninstall" > > could > > > faild and let garbage in your system.. > > > > > > > worng! In the case of Gambas, the Makefiles are generated by autotools. > > There are no Makefiles in the Gambas repository, so pulling changes will > > never destroy your Makefiles. Having your old Makefiles intact, you can > > still uninstall Gambas cleanly, even after git pull. You do have to take > > care to uninstall before running your next ./configure, though. > > > > Regards, > > Tobi > > > > -- > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Aug 18 19:44:14 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 18 Aug 2017 20:44:14 +0300 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> <1503076568.4300.7.camel@...3609...> Message-ID: SVN log doesn't say anything about the fix in r8175..? Jussi On Fri, Aug 18, 2017 at 8:20 PM, Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net> wrote: > Le 18/08/2017 ? 19:16, Karl Reinl a ?crit : > >> Am Freitag, den 18.08.2017, 13:18 +0200 schrieb Beno?t Minisini via >> Gambas-user: >> >>> OK, fixed in commit e1a5412f4ffb5ac7af62e78c7b93e2468152b13a. >>> >> >> oh, thats too easy, much easier the r8175 ;?( >> >> > Indeed! Maybe a time stamp would have been clearer to communicate... > > -- > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Fri Aug 18 19:50:43 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 18 Aug 2017 19:50:43 +0200 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> Message-ID: <20170818175043.GG548@...3600...> On Fri, 18 Aug 2017, PICCORO McKAY Lenz wrote: > ummm with lasted gambas version 3.10 system information are more slow in > fact! its not only git compilation.. in my machines takes around 38 seconds > now > It's the same here and has always been, as far as I remember back. At least for me, there's nothing recent about this. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Aug 18 20:03:22 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 18 Aug 2017 20:03:22 +0200 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> Message-ID: <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> Le 18/08/2017 ? 19:25, PICCORO McKAY Lenz a ?crit : > ummm with lasted gambas version 3.10 system information are more slow in > fact! its not only git compilation.. in my machines takes around 38 seconds > now > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > What's your machine exactly? How many files do you have in '/lib' and '/usr/lib'? -- Beno?t Minisini From mckaygerhard at ...626... Fri Aug 18 20:13:26 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 14:13:26 -0400 Subject: [Gambas-user] System informations report In-Reply-To: <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> Message-ID: umm, in /usr/lib 2753 and in /lib 765 have a debian lenny 5.0.10 with gambas lasted from trunck .now i think it make sense.. gambas must read all the shared libs and scan for version. i tested in debian 8 jeesie with 519 files in /usr/lib and takes 9 seconds... .so in my case it make sense if have many shared libs to "read" by IDE Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-18 14:03 GMT-04:00 Beno?t Minisini : > Le 18/08/2017 ? 19:25, PICCORO McKAY Lenz a ?crit : > >> ummm with lasted gambas version 3.10 system information are more slow in >> fact! its not only git compilation.. in my machines takes around 38 >> seconds >> now >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> > What's your machine exactly? How many files do you have in '/lib' and > '/usr/lib'? > > -- > Beno?t Minisini > From taboege at ...626... Fri Aug 18 20:27:43 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 18 Aug 2017 20:27:43 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> Message-ID: <20170818182743.GH548@...3600...> On Fri, 18 Aug 2017, Gianluigi wrote: > Hi Tobias, > > This git response does not indicate that pull worked properly? > ---------------------------------------------------------------------------- > remote: Counting objects: 12, done. > remote: Compressing objects: 100% (12/12), done. > remote: Total 12 (delta 10), reused 0 (delta 0) > Unpacking objects: 100% (12/12), done. > Da https://gitlab.com/gambas/gambas > 4aed62d..38a6017 master -> origin/master > Aggiornamento di 4aed62d..38a6017 > Fast-forward > main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > main/gbx/gbx_c_process.h | 1 + > 2 files changed, 15 insertions(+), 2 deletions(-) > ------------------------------------------------------------------------------ > This response means it was successful. And regarding your other question: > Why should I uninstall if I just want to update? The act of "updating" should be: uninstalling, compiling anew and installing. You should *not* just pull the changes, compile and overwrite your existing installation. I'm pretty sure I have seen bug reports on this list that were later determined to be caused by not uninstalling Gambas prior to installing a new version. Sometimes internals change that make the newer Gambas incompatible with the older one on your system. Now what happens when you overwrite your old Gambas with the new one, but due to circumstances not all old files are replaced by new ones, so the old, incompatible parts of Gambas keep lying around? There will be usually funny errors about incorrect types or missing symbols, e.g. this one [1], or Gambas may straight up crash. I shouldn't say this but I myself rarely uninstall before updating, because in >= 98% of times it works and if it doesn't work I remember how to fix it. Regards, Tobi [1] https://sourceforge.net/p/gambas/mailman/message/34320297/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Fri Aug 18 20:57:19 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 20:57:19 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: <20170818182743.GH548@...3600...> References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Thank you Tobias, so if I understand well, it's best to do this (in the git pull case indicate changes): ------------------------------------------------------------------------------------------------------- cd gambasdevel sudo make uninstall cd rm -rf gambasdevel/ git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel cd gambasdevel ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C make && sudo make install --------------------------------------------------------------------------------------------------------- Even if Piccoro does not approve? Regards Gianluigi 2017-08-18 20:27 GMT+02:00 Tobias Boege : > On Fri, 18 Aug 2017, Gianluigi wrote: > > Hi Tobias, > > > > This git response does not indicate that pull worked properly? > > ------------------------------------------------------------ > ---------------- > > remote: Counting objects: 12, done. > > remote: Compressing objects: 100% (12/12), done. > > remote: Total 12 (delta 10), reused 0 (delta 0) > > Unpacking objects: 100% (12/12), done. > > Da https://gitlab.com/gambas/gambas > > 4aed62d..38a6017 master -> origin/master > > Aggiornamento di 4aed62d..38a6017 > > Fast-forward > > main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > > main/gbx/gbx_c_process.h | 1 + > > 2 files changed, 15 insertions(+), 2 deletions(-) > > ------------------------------------------------------------ > ------------------ > > > > This response means it was successful. > > And regarding your other question: > > > Why should I uninstall if I just want to update? > > The act of "updating" should be: uninstalling, compiling anew and > installing. > You should *not* just pull the changes, compile and overwrite your existing > installation. I'm pretty sure I have seen bug reports on this list that > were > later determined to be caused by not uninstalling Gambas prior to > installing > a new version. > > Sometimes internals change that make the newer Gambas incompatible with the > older one on your system. Now what happens when you overwrite your old > Gambas > with the new one, but due to circumstances not all old files are replaced > by > new ones, so the old, incompatible parts of Gambas keep lying around? > There will be usually funny errors about incorrect types or missing > symbols, > e.g. this one [1], or Gambas may straight up crash. > > I shouldn't say this but I myself rarely uninstall before updating, because > in >= 98% of times it works and if it doesn't work I remember how to fix > it. > > Regards, > Tobi > > [1] https://sourceforge.net/p/gambas/mailman/message/34320297/ > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tmorehen at ...3602... Fri Aug 18 21:14:24 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Fri, 18 Aug 2017 15:14:24 -0400 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> <20170818141535.GE548@...3600...> Message-ID: <13b5414c-ec38-0224-2d4e-c044aa0c241f@...3602...> I'm not too sure that a component is needed since there is so little code involved. I also not sure if a component would be appropriate. I'll put together a Howto and a demo class and uploaded it in a day or two to the mailing list. On 2017-08-18 12:45 PM, Moviga Technologies wrote: > This could perhaps implemented into the gb.Desktop component as > 'Desktop.Notify()'? > > Den 18.08.2017 16:15, skrev Tobias Boege: > >> On Fri, 18 Aug 2017, Tony Morehen wrote: >> >>> Gambas can talk to the notifications daemon via Dbus. I use this code: >>> >>> Private NotifyInterface As String = "org.freedesktop.Notifications" >>> Private NotifyApp As String = "session://" & NotifyInterface >>> Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") >>> >>> 'does the daemon support icon, body, button to click etc >>> Dim sArray As String[] = Dbus[NotifyApp][NotifyPath, >>> NotifyInterface].GetCapabilities() >>> 'popup (the hintsCollection is an empty collection, iDuration = -1, use >>> default) >>> notifyID = Dbus[NotifyApp][NotifyPath, >>> NotifyInterface].Notify(AppName, notifyID, IconPath,SummaryText, BodyText, >>> [TextToSignal, ButtonText], hintsCollection, iDuration) >>> 'setup dbussignal to get popup closed and and buttonpressed notifications >>> >>> Private NotifySignal as New DbusSignal(Dbus.Session,NotifyInterface, True) >>> As "NotifyDbusSignal" >>> 'signal handler >>> Public Sub NotifyDbusSignal_Signal(Signal As String, Arguments As Variant[]) >>> Select Case Signal >>> Case "NotificationClosed" >>> Case "ActionInvoked" >>> 'Arguments[0] contains TextToSignal from above >>> End Select >>> End >> I just checked the code and this is exactly what libnotify does. > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Fri Aug 18 21:15:28 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 15:15:28 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: 2017-08-18 14:57 GMT-04:00 Gianluigi : > ------------------------------------------------------------ > --------------------------------------------- > Even if Piccoro does not approve? > i already said the same, do not update, alway remove previous install and made again! and toby has right makefiles are not touched, but you remove the directory, and toby said its not necesary... > > Regards > Gianluigi > > 2017-08-18 20:27 GMT+02:00 Tobias Boege : > > > On Fri, 18 Aug 2017, Gianluigi wrote: > > > Hi Tobias, > > > > > > This git response does not indicate that pull worked properly? > > > ------------------------------------------------------------ > > ---------------- > > > remote: Counting objects: 12, done. > > > remote: Compressing objects: 100% (12/12), done. > > > remote: Total 12 (delta 10), reused 0 (delta 0) > > > Unpacking objects: 100% (12/12), done. > > > Da https://gitlab.com/gambas/gambas > > > 4aed62d..38a6017 master -> origin/master > > > Aggiornamento di 4aed62d..38a6017 > > > Fast-forward > > > main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > > > main/gbx/gbx_c_process.h | 1 + > > > 2 files changed, 15 insertions(+), 2 deletions(-) > > > ------------------------------------------------------------ > > ------------------ > > > > > > > This response means it was successful. > > > > And regarding your other question: > > > > > Why should I uninstall if I just want to update? > > > > The act of "updating" should be: uninstalling, compiling anew and > > installing. > > You should *not* just pull the changes, compile and overwrite your > existing > > installation. I'm pretty sure I have seen bug reports on this list that > > were > > later determined to be caused by not uninstalling Gambas prior to > > installing > > a new version. > > > > Sometimes internals change that make the newer Gambas incompatible with > the > > older one on your system. Now what happens when you overwrite your old > > Gambas > > with the new one, but due to circumstances not all old files are replaced > > by > > new ones, so the old, incompatible parts of Gambas keep lying around? > > There will be usually funny errors about incorrect types or missing > > symbols, > > e.g. this one [1], or Gambas may straight up crash. > > > > I shouldn't say this but I myself rarely uninstall before updating, > because > > in >= 98% of times it works and if it doesn't work I remember how to fix > > it. > > > > Regards, > > Tobi > > > > [1] https://sourceforge.net/p/gambas/mailman/message/34320297/ > > > > -- > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Aug 18 21:34:59 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 21:34:59 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Hi Piccoro, you're telling me that you agree and that in the sequence of commands the only one that does not fit is: rm -rf gambasdevel/ With the two 'cd' commands that become useless. But then all you said before, and that confused me? Why? Regards Gianluigi 2017-08-18 21:15 GMT+02:00 PICCORO McKAY Lenz : > 2017-08-18 14:57 GMT-04:00 Gianluigi : > > > ------------------------------------------------------------ > > --------------------------------------------- > > Even if Piccoro does not approve? > > > i already said the same, do not update, alway remove previous install and > made again! > > and toby has right makefiles are not touched, but you remove the directory, > and toby said its not necesary... > > > > > > Regards > > Gianluigi > > > > 2017-08-18 20:27 GMT+02:00 Tobias Boege : > > > > > On Fri, 18 Aug 2017, Gianluigi wrote: > > > > Hi Tobias, > > > > > > > > This git response does not indicate that pull worked properly? > > > > ------------------------------------------------------------ > > > ---------------- > > > > remote: Counting objects: 12, done. > > > > remote: Compressing objects: 100% (12/12), done. > > > > remote: Total 12 (delta 10), reused 0 (delta 0) > > > > Unpacking objects: 100% (12/12), done. > > > > Da https://gitlab.com/gambas/gambas > > > > 4aed62d..38a6017 master -> origin/master > > > > Aggiornamento di 4aed62d..38a6017 > > > > Fast-forward > > > > main/gbx/gbx_c_process.c | 16 ++++++++++++++-- > > > > main/gbx/gbx_c_process.h | 1 + > > > > 2 files changed, 15 insertions(+), 2 deletions(-) > > > > ------------------------------------------------------------ > > > ------------------ > > > > > > > > > > This response means it was successful. > > > > > > And regarding your other question: > > > > > > > Why should I uninstall if I just want to update? > > > > > > The act of "updating" should be: uninstalling, compiling anew and > > > installing. > > > You should *not* just pull the changes, compile and overwrite your > > existing > > > installation. I'm pretty sure I have seen bug reports on this list that > > > were > > > later determined to be caused by not uninstalling Gambas prior to > > > installing > > > a new version. > > > > > > Sometimes internals change that make the newer Gambas incompatible with > > the > > > older one on your system. Now what happens when you overwrite your old > > > Gambas > > > with the new one, but due to circumstances not all old files are > replaced > > > by > > > new ones, so the old, incompatible parts of Gambas keep lying around? > > > There will be usually funny errors about incorrect types or missing > > > symbols, > > > e.g. this one [1], or Gambas may straight up crash. > > > > > > I shouldn't say this but I myself rarely uninstall before updating, > > because > > > in >= 98% of times it works and if it doesn't work I remember how to > fix > > > it. > > > > > > Regards, > > > Tobi > > > > > > [1] https://sourceforge.net/p/gambas/mailman/message/34320297/ > > > > > > -- > > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > > > > ------------------------------------------------------------ > > > ------------------ > > > 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From karl.reinl at ...9... Fri Aug 18 21:41:23 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 18 Aug 2017 21:41:23 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: <1503085283.4300.31.camel@...3609...> Am Freitag, den 18.08.2017, 21:34 +0200 schrieb Gianluigi: > Hi Piccoro, > you're telling me that you agree and that in the sequence of commands the > only one that does not fit is: > > rm -rf gambasdevel/ > > With the two 'cd' commands that become useless. > > But then all you said before, and that confused me? Why? > > Regards > Gianluigi > ------------------------------------------------------------------------------------------------------- > cd gambasdevel > sudo make uninstall > cd > rm -rf gambasdevel/ > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > cd gambasdevel > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > --------------------------------------------------------------------------------------------------------- Salut Gianluigi; I never worked with git, sure I not tried it, so that's pure theory - you enter into your gambas3 source directory - you delete all previous installed gambas3 parts - you leave your gambas3 source directory - you git clone all from GitLab to gambasdevel (about 35 MB) - you (re)enter into your gambas3 source directory - you make all steps to compile gambas3 and install it So is the way your script works. That will be the right way the first time you get it (gambas3 source-code by git) But next time, when you get changes, you should get only the changes. Said: your way works, but there ist a shortcut. If I right understood, that's the 'git pull' command. so you way should be on theory : - enter into your gambas3 source directory - delete all previous installed gambas3 parts - call git pull - make all steps to compile gambas3 and install it That should be faster then your way, I call 'only from scratch made' But maybe I misunderstood the 'git pull' command. -- Amicalement Charlie From chrisml at ...3340... Fri Aug 18 21:48:30 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 18 Aug 2017 21:48:30 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Hello Gianluigi, Am 18.08.2017 um 20:57 schrieb Gianluigi: > Thank you Tobias, > so if I understand well, it's best to do this (in the git pull case > indicate changes): > ------------------------------------------------------------------------------------------------------- > cd gambasdevel > sudo make uninstall > cd > rm -rf gambasdevel/ > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel This is also bad, because to delete the whole repository on your computer every time somthing has changed is without sense! If it is cloned once (thats a download of about 100MB!), you only should update it (with git pull), not delete it and clone it again!!! With git pull you download only the couple of bytes changed since your last clone or pull. With Git after a clone the whole repository (all of it, the whole history of Gambas) is now on your computer, and you can check out and (theoretically) compile every old version of Gambas. No need to delete the repository any more! So you have (before compile) to decide, which version of Gambas you want to check out of the repository, and then compile and install. This is done by checking out a tag or branch. If you do: git checkout master the Gambas source in your filesystem is now bleeding edge of the current development. Its alpha and if a developer made an error thats what you got ... If you do git checkout v3.10.0 the gambas source in your filesystem is now the last stable version (this is what I prefer). ---------------------------------------------------------------- Compiling: As you can switch between versions so easily you always have to uninstall the compiled(!) version of Gambas (make uninstall) on your computer and occassionally clean the filesystem of the Gambas sourcecode (make clean) before compiling and installing a new version. Tobias said the commands needed for that in an answer to a mail of mine where askey, whether "make clean" is needed: > Usually, yes. You only have to make clean && ./reconf && ./configure if the > autoconf files of Gambas change. One source of such a change is adding a > new source file to (a C/C++ component of) Gambas, which may or may not have > happened since your last pull. If you pay attention to where files changed, > you don't have to reconfigure the whole tree (reconf-all in the root), but > only in directories where changes occured. > > But if you checkout another branch it is a good bet you have to make clean > && ./reconf-all && ./configure, because you would suspect more substantial > changes between, say, different stable releases. 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 Aug 18 21:54:02 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 18 Aug 2017 21:54:02 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Am 18.08.2017 um 21:15 schrieb PICCORO McKAY Lenz: > 2017-08-18 14:57 GMT-04:00 Gianluigi : > >> ------------------------------------------------------------ >> --------------------------------------------- >> Even if Piccoro does not approve? >> > i already said the same, do not update, alway remove previous install and > made again! Removing the last installation (make uninstall) is neccessary but not deleting the whole repository with the Gambas sources every time!!! That would be bullshit. 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 jussi.lahtinen at ...626... Fri Aug 18 22:30:32 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 18 Aug 2017 23:30:32 +0300 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: When the fixes done in git will be available with svn? Jussi On Fri, Aug 18, 2017 at 2:18 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 18/08/2017 ? 12:47, Beno?t Minisini via Gambas-user a ?crit : > >> Le 14/08/2017 ? 00:18, Jussi Lahtinen a ?crit : >> >>> The freeze from gdb. >>> >>> #0 0x00007ffff7b068b3 in select () from /lib/x86_64-linux-gnu/libc.so.6 >>> #1 0x000000000041e26d in WATCH_process (fd_end=fd_end at ...2861...=4, >>> fd_output=-1, >>> timeout=timeout at ...2861...=0) at gbx_watch.c:685 >>> #2 0x00000000004286d9 in CPROCESS_wait_for (process=0x688298, timeout=0) >>> at gbx_c_process.c:976 >>> #3 0x000000000043250e in EXEC_native () at gbx_exec.c:1375 >>> #4 0x000000000043cc4a in EXEC_loop () at gbx_exec_loop.c:1427 >>> #5 0x00000000004316fb in EXEC_function_loop () at gbx_exec.c:931 >>> #6 0x000000000043346f in EXEC_function_real () at gbx_exec.c:895 >>> #7 EXEC_public_desc (class=, object=object at ...3605.....=0x0, >>> desc=desc at ...2861...=0x681aa8, nparam=nparam at ...2861...=0) at gbx_exec.c:1618 >>> #8 0x0000000000404b68 in main (argc=1, argv=0x7fffffffdfd8) at gbx.c:416 >>> >>> >>> Jussi >>> >>> >> I confirm the bug. I isolated the loop, and ran it 1000 times. It always >> freezes sooner or later on my machine. Shame! >> >> > OK, fixed in commit e1a5412f4ffb5ac7af62e78c7b93e2468152b13a. > > -- > Beno?t Minisini > From karl.reinl at ...9... Fri Aug 18 22:43:28 2017 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 18 Aug 2017 22:43:28 +0200 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: <1503089008.4300.35.camel@...3609...> Am Freitag, den 18.08.2017, 23:30 +0300 schrieb Jussi Lahtinen: > When the fixes done in git will be available with svn? > > > Jussi > Salut Jussi, all I read, never, the svn is no more served, if you want the newest Gambas Version you have to switch to git (see 'Switching to GitLab') -- Amicalement Charlie From mckaygerhard at ...626... Fri Aug 18 22:53:12 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 16:53:12 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: 2017-08-18 15:54 GMT-04:00 Christof Thalhofer : > Removing the last installation (make uninstall) is neccessary but not > deleting the whole repository with the Gambas sources every time!!! That > would be bullshit. > its that i said in my coupe of comands.. its more easyle just copy the "debian" dir inside the root,and just run "debian/rules" after each pull, assuming all the depends are installed > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bagonergi at ...626... Fri Aug 18 22:54:15 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Aug 2017 22:54:15 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Perhaps I begin to understand something, but apologize me if I continue to say nonsense. When updating: cd gambasdevel sudo make uninstall Unclear part (see below) ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C make && sudo make install Unclear part: I run the git pull command as Charlie suggests? Or git checkout master as Christof seems to suggest? I have never used make clean when need to use it? Would it be the same as rm -rf gambasdevel /? I note that the command: git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel Download only the latest version of development and not the whole git, as explained in the wiki (about a third of the 100MB) He is turning my head, I go to sleep. Goodnight to everyone (in Italy it's night :-)) Gianluigi 2017-08-18 21:54 GMT+02:00 Christof Thalhofer : > Am 18.08.2017 um 21:15 schrieb PICCORO McKAY Lenz: > > 2017-08-18 14:57 GMT-04:00 Gianluigi : > > > >> ------------------------------------------------------------ > >> --------------------------------------------- > >> Even if Piccoro does not approve? > >> > > i already said the same, do not update, alway remove previous install and > > made again! > > Removing the last installation (make uninstall) is neccessary but not > deleting the whole repository with the Gambas sources every time!!! That > would be bullshit. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From mckaygerhard at ...626... Fri Aug 18 22:58:55 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 18 Aug 2017 16:58:55 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: 2017-08-18 16:54 GMT-04:00 Gianluigi : > Goodnight to everyone (in Italy it's night :-)) > Here there is still sun, but I must code at night .. > > Gianluigi > > 2017-08-18 21:54 GMT+02:00 Christof Thalhofer : > > > Am 18.08.2017 um 21:15 schrieb PICCORO McKAY Lenz: > > > 2017-08-18 14:57 GMT-04:00 Gianluigi : > > > > > >> ------------------------------------------------------------ > > >> --------------------------------------------- > > >> Even if Piccoro does not approve? > > >> > > > i already said the same, do not update, alway remove previous install > and > > > made again! > > > > Removing the last installation (make uninstall) is neccessary but not > > deleting the whole repository with the Gambas sources every time!!! That > > would be bullshit. > > > > > > Alles Gute > > > > Christof Thalhofer > > > > -- > > Dies ist keine Signatur > > > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Fri Aug 18 23:32:00 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 18 Aug 2017 23:32:00 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Am 18.08.2017 um 22:54 schrieb Gianluigi: > Perhaps I begin to understand something, but apologize me if I continue to > say nonsense. No problem :-) > When updating: What? Do you always use the latest version of Gambas? Do you use the Gambas development version? Seems so: > cd gambasdevel Then check you branch git branch * master Ok, you are on master, thats bleeding edge. > sudo make uninstall ok, you uninstalled binary Gambas from your computer now: git pull This fetches all new changes from Gitlab into the repository (in the subdir .git) and updates the master branch, you are in. Now: > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install Ok and you're done. But be careful! Maybe you need make clean before that (as Tobi wrote). > Unclear part: > I run the git pull command as Charlie suggests? Yes, that is right. It downloads only the changes to the local repository (in .git). > Or git checkout master as Christof seems to suggest? The local repository resides in .git There are all branches, all versions, all tags of Gambas ever! git checkout anything extracts one single state out of the (local) repository to your filesystem. git checkout master = bleeding edge git checkout v3.10.0 = Gambas V3.10 Please understand: If you did a clone from Gitlab to your computer you have the complete repository, look at that: git tag > I have never used make clean when need to use it? As Tobi wrote, if C/C++ files have been added. > Would it be the same as rm -rf gambasdevel /? Jesus! Avoid that! 100MB are gone and you have to download that again! > I note that the command: > > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel This is a shallow clone https://www.perforce.com/blog/git-beyond-basics-using-shallow-clones > Download only the latest version of development and not the whole git, as > explained in the wiki (about a third of the 100MB) So clone it once all and never delete it but just fetch differences. > He is turning my head, I go to sleep. > Goodnight to everyone (in Italy it's night :-)) Good night, turning head when switching over to Git is normal :-) But later you will be in heaven :-) 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 tmorehen at ...3602... Fri Aug 18 23:36:05 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Fri, 18 Aug 2017 17:36:05 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: <7277e30c-b303-f433-4a2f-1d5929f6bb0d@...3602...> I'd recommend for a very clean make: cd gambasdevel sudo make uninstall 'really only needed on a version change or your compilation is likely 'to include different ie fewer components make clean 'get rid of all the generated or backup cruft git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel 'no need for all the previous versions ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C make && sudo make install To just update to the latest revision (there must be no changes to the configure.ac or Makefile.am files. cd gambasdevel git pull 'watch for changes to configure or Makefile 'if there are do ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C make && sudo make install On 2017-08-18 04:54 PM, Gianluigi wrote: > Perhaps I begin to understand something, but apologize me if I continue to > say nonsense. > > When updating: > > cd gambasdevel > sudo make uninstall > Unclear part (see below) > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > make && sudo make install > > Unclear part: > I run the git pull command as Charlie suggests? > Or git checkout master as Christof seems to suggest? > I have never used make clean when need to use it? > Would it be the same as rm -rf gambasdevel /? > I note that the command: > > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > > Download only the latest version of development and not the whole git, as > explained in the wiki (about a third of the 100MB) > > He is turning my head, I go to sleep. > Goodnight to everyone (in Italy it's night :-)) > > Gianluigi > > 2017-08-18 21:54 GMT+02:00 Christof Thalhofer : > >> Am 18.08.2017 um 21:15 schrieb PICCORO McKAY Lenz: >>> 2017-08-18 14:57 GMT-04:00 Gianluigi : >>> >>>> ------------------------------------------------------------ >>>> --------------------------------------------- >>>> Even if Piccoro does not approve? >>>> >>> i already said the same, do not update, alway remove previous install and >>> made again! >> Removing the last installation (make uninstall) is neccessary but not >> deleting the whole repository with the Gambas sources every time!!! That >> would be bullshit. >> >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> Dies ist keine Signatur >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From chrisml at ...3340... Fri Aug 18 23:38:50 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 18 Aug 2017 23:38:50 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Argh, I wrote something wrong: Am 18.08.2017 um 23:32 schrieb Christof Thalhofer: > now: > git pull > > This fetches all new changes from Gitlab into the repository (in the > subdir .git) and updates the master branch, you are in. No, it just updates the differences of the current branch(master) and updates this branch. https://stackoverflow.com/questions/292357/what-is-the-difference-between-git-pull-and-git-fetch 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... Sat Aug 19 08:13:09 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 19 Aug 2017 08:13:09 +0200 Subject: [Gambas-user] Mailinglist Message-ID: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Am 18.08.2017 um 17:09 schrieb Beno?t Minisini via Gambas-user: > Does GitLab plan to offer a mailing-list feature? I will pray for > that. Maybe its better not to rely to one vendor only. Why not switching over to a vendor for mailinglists like https://www.freelists.org/about.html or ... make a subdomain list.gambaswiki.org and host a mailinglist by self? Thats not rocket science. The latter is sth I could do, as I already host gambas-club.de at my hosting provider. As I can see the traffic the Gambas lists creates is not a big problem. But I'm in holliday right now. 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... Sat Aug 19 11:42:04 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 19 Aug 2017 11:42:04 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Message-ID: Le 19/08/2017 ? 08:13, Christof Thalhofer a ?crit : > Am 18.08.2017 um 17:09 schrieb Beno?t Minisini via Gambas-user: > >> Does GitLab plan to offer a mailing-list feature? I will pray for >> that. > > Maybe its better not to rely to one vendor only. Why not switching over > to a vendor for mailinglists like > > https://www.freelists.org/about.html I send them a request for a new Gambas mailing-list. > > or ... > > make a subdomain list.gambaswiki.org and host a mailinglist by self? > Thats not rocket science. Yes, but it takes time to deal with. > > The latter is sth I could do, as I already host gambas-club.de at my > hosting provider. As I can see the traffic the Gambas lists creates is > not a big problem. > > But I'm in holliday right now. > > Alles Gute > > Christof Thalhofer > OK, thanks. I will wait for your return. If anyone has ideas about how and where to host at least two mailing-lists, you are welcome! Regards, -- Beno?t Minisini From t.lee.davidson at ...626... Sat Aug 19 16:33:04 2017 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 19 Aug 2017 10:33:04 -0400 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Message-ID: <93fb2bcf-8f53-3508-26d5-4bf1e071f676@...626...> On 08/19/2017 05:42 AM, Beno?t Minisini via Gambas-user wrote: > Le 19/08/2017 ? 08:13, Christof Thalhofer a ?crit : >> Am 18.08.2017 um 17:09 schrieb Beno?t Minisini via Gambas-user: >> >>> Does GitLab plan to offer a mailing-list feature? I will pray for >>> that. >> >> Maybe its better not to rely to one vendor only. Why not switching over >> to a vendor for mailinglists like >> >> https://www.freelists.org/about.html > > I send them a request for a new Gambas mailing-list. > >> >> or ... >> >> make a subdomain list.gambaswiki.org and host a mailinglist by self? >> Thats not rocket science. > > Yes, but it takes time to deal with. > >> >> The latter is sth I could do, as I already host gambas-club.de at my >> hosting provider. As I can see the traffic the Gambas lists creates is >> not a big problem. >> >> But I'm in holliday right now. >> >> Alles Gute >> >> Christof Thalhofer >> > > OK, thanks. I will wait for your return. > > If anyone has ideas about how and where to host at least two mailing-lists, you are welcome! > > Regards, > There may be reason to be concerned about the long-term reliability of freelists.org. They use three different free software packages, two of which haven't been updated in over three years and the third's website doesn't even load. The Gambas community might be better served by setting up Mailman at something like list.gambaswiki.org as suggested; even though Mailman setup does not, at first glance, appear simple and would take an initial time investment. -- Lee From mckaygerhard at ...626... Sat Aug 19 16:54:49 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 19 Aug 2017 10:54:49 -0400 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Message-ID: 2017-08-19 5:42 GMT-04:00 Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net>:If anyone has ideas about how and where to host at least two mailing-lists, you are welcome! PLEASE BENOIT; USE THE GOOGLE GROUPS! its the most easy solution: take a view example: https://vegnuli.sourceforge.io/index.php/Forums here the list can be embebed at the front page, also provides a mobile view very usefully for old browsers (browse the SF mail archive its a pain), take a shot: https://groups.google.com/forum/m/?place=forum/venenuxsarisari#!forum/venenuxsarisari From bagonergi at ...626... Sat Aug 19 17:10:25 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 19 Aug 2017 17:10:25 +0200 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> Message-ID: While I'm studying, on my notebook as it installs from Git but above all as it updates with the help of many friends in the list, I inform you that I have again installed the r8175 to see if the times are the same. In fact I remembered badly, I believed that SVN was faster than the real 22 seconds employing, but much slower is Git than time consuming 48 seconds. Now you have the confirm in the Git reading loop there is something that does not work well. Regards Gianluigi 2017-08-18 20:13 GMT+02:00 PICCORO McKAY Lenz : > umm, in /usr/lib 2753 and in /lib 765 > > have a debian lenny 5.0.10 with gambas lasted from trunck > > .now i think it make sense.. gambas must read all the shared libs and scan > for version. > > i tested in debian 8 jeesie with 519 files in /usr/lib and takes 9 > seconds... > > .so in my case it make sense if have many shared libs to "read" by IDE > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-18 14:03 GMT-04:00 Beno?t Minisini : > > > Le 18/08/2017 ? 19:25, PICCORO McKAY Lenz a ?crit : > > > >> ummm with lasted gambas version 3.10 system information are more slow in > >> fact! its not only git compilation.. in my machines takes around 38 > >> seconds > >> now > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> > > What's your machine exactly? How many files do you have in '/lib' and > > '/usr/lib'? > > > > -- > > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Sat Aug 19 17:48:30 2017 From: bagonergi at ...626... (Gianluigi) Date: Sat, 19 Aug 2017 17:48:30 +0200 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> Message-ID: I do not understand why the first time I got that data (22 seconds), now restarting the notebook more times are the same as those with Git. Sorry, greetings Gianluigi 2017-08-19 17:10 GMT+02:00 Gianluigi : > While I'm studying, on my notebook as it installs from Git but above all > as it updates with the help of many friends in the list, I inform you that > I have again installed the r8175 to see if the times are the same. > In fact I remembered badly, I believed that SVN was faster than the real > 22 seconds employing, but much slower is Git than time consuming 48 seconds. > > Now you have the confirm in the Git reading loop there is something that > does not work well. > > Regards > Gianluigi > > 2017-08-18 20:13 GMT+02:00 PICCORO McKAY Lenz : > >> umm, in /usr/lib 2753 and in /lib 765 >> >> have a debian lenny 5.0.10 with gambas lasted from trunck >> >> .now i think it make sense.. gambas must read all the shared libs and scan >> for version. >> >> i tested in debian 8 jeesie with 519 files in /usr/lib and takes 9 >> seconds... >> >> .so in my case it make sense if have many shared libs to "read" by IDE >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-08-18 14:03 GMT-04:00 Beno?t Minisini >> : >> >> > Le 18/08/2017 ? 19:25, PICCORO McKAY Lenz a ?crit : >> > >> >> ummm with lasted gambas version 3.10 system information are more slow >> in >> >> fact! its not only git compilation.. in my machines takes around 38 >> >> seconds >> >> now >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> > What's your machine exactly? How many files do you have in '/lib' and >> > '/usr/lib'? >> > >> > -- >> > Beno?t Minisini >> > >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From adrien.prokopowicz at ...626... Sat Aug 19 18:07:07 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 19 Aug 2017 18:07:07 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: <93fb2bcf-8f53-3508-26d5-4bf1e071f676@...626...> References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <93fb2bcf-8f53-3508-26d5-4bf1e071f676@...626...> Message-ID: Le Sat, 19 Aug 2017 16:33:04 +0200, T Lee Davidson a ?crit: > On 08/19/2017 05:42 AM, Beno?t Minisini via Gambas-user wrote: >> Le 19/08/2017 ? 08:13, Christof Thalhofer a ?crit : >>> Am 18.08.2017 um 17:09 schrieb Beno?t Minisini via Gambas-user: >>> >>>> Does GitLab plan to offer a mailing-list feature? I will pray for >>>> that. >>> >>> Maybe its better not to rely to one vendor only. Why not switching over >>> to a vendor for mailinglists like >>> >>> https://www.freelists.org/about.html >> I send them a request for a new Gambas mailing-list. >> >>> >>> or ... >>> >>> make a subdomain list.gambaswiki.org and host a mailinglist by self? >>> Thats not rocket science. >> Yes, but it takes time to deal with. >> >>> >>> The latter is sth I could do, as I already host gambas-club.de at my >>> hosting provider. As I can see the traffic the Gambas lists creates is >>> not a big problem. >>> >>> But I'm in holliday right now. >>> >>> Alles Gute >>> >>> Christof Thalhofer >>> >> OK, thanks. I will wait for your return. >> If anyone has ideas about how and where to host at least two >> mailing-lists, you are welcome! >> Regards, >> > > There may be reason to be concerned about the long-term reliability of > freelists.org. They use three different free software packages, two of > which haven't been updated in over three years and the third's website > doesn't even load. > > The Gambas community might be better served by setting up Mailman at > something like list.gambaswiki.org as suggested; even though Mailman > setup does not, at first glance, appear simple and would take an initial > time investment. I'm having the same feeling about freelists.org. Not only the software they rely on look abandoned, but I couldn't find any kind of blog/newsletter giving signs of life from the administrators. The closest I could find is their "updates" mailing-list, which hasn't been updated since 2005 ! I have looked for free & open-source mailing-list providers, but they all seem pretty outdated. The best I could find was https://framalistes.org/, but their site seems to only be in French ? However, self-hosting is another long-term investment, and requires continuous maintenance, so I don't think it is worth it. But if Christof can offer that hosting (as he already hosts other lists), I think it can be a good idea. :-) -- Adrien Prokopowicz From chrisml at ...3340... Sat Aug 19 18:15:59 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 19 Aug 2017 18:15:59 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Message-ID: Am 19.08.2017 um 16:54 schrieb PICCORO McKAY Lenz: > PLEASE BENOIT; USE THE GOOGLE GROUPS! its the most easy solution: > take a view example: https://vegnuli.sourceforge.io/index.php/Forums First rant against "M$" and then run to Google??? 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 mckaygerhard at ...626... Sat Aug 19 18:17:13 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 19 Aug 2017 12:17:13 -0400 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> Message-ID: 2017-08-19 11:10 GMT-04:00 Gianluigi : > Now you have the confirm in the Git reading loop there is something that > does not work well. > Please men, the procedure to gatter info from system nothig have to do or related to git.. as the law said: more lines more to compute! it make sense ! i take a old revision FROM GIT a fgambas 3.1 and compile it, and the system info takes less obviously please! > > Regards > Gianluigi > > 2017-08-18 20:13 GMT+02:00 PICCORO McKAY Lenz : > > > umm, in /usr/lib 2753 and in /lib 765 > > > > have a debian lenny 5.0.10 with gambas lasted from trunck > > > > .now i think it make sense.. gambas must read all the shared libs and > scan > > for version. > > > > i tested in debian 8 jeesie with 519 files in /usr/lib and takes 9 > > seconds... > > > > .so in my case it make sense if have many shared libs to "read" by IDE > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-08-18 14:03 GMT-04:00 Beno?t Minisini >: > > > > > Le 18/08/2017 ? 19:25, PICCORO McKAY Lenz a ?crit : > > > > > >> ummm with lasted gambas version 3.10 system information are more slow > in > > >> fact! its not only git compilation.. in my machines takes around 38 > > >> seconds > > >> now > > >> > > >> Lenz McKAY Gerardo (PICCORO) > > >> http://qgqlochekone.blogspot.com > > >> > > >> > > > What's your machine exactly? How many files do you have in '/lib' and > > > '/usr/lib'? > > > > > > -- > > > Beno?t Minisini > > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sat Aug 19 18:19:28 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 19 Aug 2017 12:19:28 -0400 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Message-ID: 2017-08-19 12:15 GMT-04:00 Christof Thalhofer : > > PLEASE BENOIT; USE THE GOOGLE GROUPS! its the most easy solution: > > take a view example: https://vegnuli.sourceforge.io/index.php/Forums > > First rant against "M$" and then run to Google??? > well its the best shot today, as many here said.. there's no much free mail list choices... i dont like the very intrusive google groups services.. but unless do you like the mail.ru services or the yantex services. its the best in my experience > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From chrisml at ...3340... Sat Aug 19 18:27:34 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 19 Aug 2017 18:27:34 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <93fb2bcf-8f53-3508-26d5-4bf1e071f676@...626...> Message-ID: <4d0629c6-152d-fedd-a985-8bcecdf40e53@...3340...> Am 19.08.2017 um 18:07 schrieb Adrien Prokopowicz: > However, self-hosting is another long-term investment, and requires > continuous > maintenance, so I don't think it is worth it. But if Christof can offer > that hosting (as he already hosts other lists), I think it can be a good > idea. :-) I do hosting, also a couple of (very small private) Mailinglists. I am member of hostsharing.net, a german open source webhosting coop. As I host for my firm and some others I can donate some free traffic to the Gambas community. I never hosted a public ML, also do not know anything about spam problems and so on, but this should not be such a great thing ... 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... Sat Aug 19 19:13:25 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 19 Aug 2017 19:13:25 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Message-ID: <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Le 19/08/2017 ? 18:19, PICCORO McKAY Lenz a ?crit : > 2017-08-19 12:15 GMT-04:00 Christof Thalhofer : > >>> PLEASE BENOIT; USE THE GOOGLE GROUPS! its the most easy solution: >>> take a view example: https://vegnuli.sourceforge.io/index.php/Forums >> >> First rant against "M$" and then run to Google??? >> By principle, I'm against Google, even, as everyone, I use it a lot. Adrien explains the problem well: The better is hosting the mailing-list ourself, but it requires a server, some bandwith, a hostname, and, more difficult, time to manage it. So we must find: - Someone who can host the mailing-list and who has time to manage the server. - Otherwise a mailing-list free host. Apparently freelists.org is not a good choice. And SourceForge is not too, since I can't subscribe (for example) the git mail announces to their mailing-list anymore. Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Sat Aug 19 20:29:10 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 19 Aug 2017 20:29:10 +0200 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> Message-ID: Le Sat, 19 Aug 2017 17:48:30 +0200, Gianluigi a ?crit: > I do not understand why the first time I got that data (22 seconds), now > restarting the notebook more times are the same as those with Git. > > Sorry, greetings > Gianluigi For me it goes fairly fast (~3 seconds), but on a SSD, a i5-2450M and 16GB of RAM. I have 135861 files in /usr/lib. The System info has nothing to do with git however (it just reads files in your library paths), so I don't see how it can be related. However, I noticed that the System Info reads both /lib and /usr/lib, but on some distributions (like ArchLinux), /lib is actually a symlink to /usr/lib, so it gets scanned twice. I also noticed a lot of the scanning time was spent sorting the files (not sure why they had to be sorted, it has no effect on my results). I changed these behaviors in the latest commit, and it made it 4 times faster for me, does it help your case ? Regards, -- Adrien Prokopowicz From jussi.lahtinen at ...626... Sat Aug 19 21:00:37 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 19 Aug 2017 22:00:37 +0300 Subject: [Gambas-user] Mailinglist In-Reply-To: <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: I'm signed on multiple google groups (and I'm admin of one [there can be multiple admins]). They work without problems. It's by far the easiest option. No need to put time, money, etc on it. What is the problem with google? Jussi On Sat, Aug 19, 2017 at 8:13 PM, Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net> wrote: > Le 19/08/2017 ? 18:19, PICCORO McKAY Lenz a ?crit : > >> 2017-08-19 12:15 GMT-04:00 Christof Thalhofer : >> >> PLEASE BENOIT; USE THE GOOGLE GROUPS! its the most easy solution: >>>> take a view example: https://vegnuli.sourceforge.io/index.php/Forums >>>> >>> >>> First rant against "M$" and then run to Google??? >>> >>> > By principle, I'm against Google, even, as everyone, I use it a lot. > > Adrien explains the problem well: > > The better is hosting the mailing-list ourself, but it requires a server, > some bandwith, a hostname, and, more difficult, time to manage it. > > So we must find: > > - Someone who can host the mailing-list and who has time to manage the > server. > > - Otherwise a mailing-list free host. Apparently freelists.org is not a > good choice. And SourceForge is not too, since I can't subscribe (for > example) the git mail announces to their mailing-list anymore. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Aug 19 21:08:29 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 19 Aug 2017 21:08:29 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: Le 19/08/2017 ? 21:00, Jussi Lahtinen a ?crit : > What is the problem with google? > 1) Google groups are not a mailing-list. I want mails, so that I can have every post in my mail client and read them without Internet. 2) Google crawls the data, and who knows what they do with them. 3) Google brutally stopped their issue tracker. I had to make an issue tracker for Gambas in a hurry because of that. There is no guarantee that they won't stop Google groups brutally too. 4) I don't want to force people to have a Google account. Enough problems for me. -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 19 21:25:16 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 19 Aug 2017 22:25:16 +0300 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: > > 1) Google groups are not a mailing-list. I want mails, so that I can have > every post in my mail client and read them without Internet. > They are if you want. That is exactly how I use google groups. I never use the web interface. 2) Google crawls the data, and who knows what they do with them. > It's Gambas mailing list, do we care? Also nabble already publishes the mailing list content. > 3) Google brutally stopped their issue tracker. I had to make an issue > tracker for Gambas in a hurry because of that. There is no guarantee that > they won't stop Google groups brutally too. > Yeah, bad policy from google, but this is quite hard requirement to fulfill. There is always some uncertainty. > 4) I don't want to force people to have a Google account. > Google account is needed only for the web interface. Jussi From mikeB at ...3673... Sat Aug 19 21:31:32 2017 From: mikeB at ...3673... (mikeB) Date: Sat, 19 Aug 2017 13:31:32 -0600 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: AMEN! On 08/19/2017 01:08 PM, Beno?t Minisini via Gambas-user wrote: > Le 19/08/2017 ? 21:00, Jussi Lahtinen a ?crit : >> What is the problem with google? >> > > 1) Google groups are not a mailing-list. I want mails, so that I can > have every post in my mail client and read them without Internet. > > 2) Google crawls the data, and who knows what they do with them. > > 3) Google brutally stopped their issue tracker. I had to make an issue > tracker for Gambas in a hurry because of that. There is no guarantee > that they won't stop Google groups brutally too. > > 4) I don't want to force people to have a Google account. > > Enough problems for me. > From bagonergi at ...626... Sun Aug 20 00:00:51 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 20 Aug 2017 00:00:51 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: Hi Christof, First of all I apologize for the delay with which I answer you, but today it was a day of work entirely dedicated to my wife, and in addition I helped an Italian friend explaining how to install Gambas from Git :-D I also wanted to make sure I understood. Thank you very much for the step-by-step help, which is indispensable for a tough head (goat is my logo) like me. The next time I update from Git will do as you have clearly suggested. Only ask you for a confirmation to see the changes, we need to watch the commit here [0] or does a better method exist from the terminal? With your permission I take advantage of this mail to thank the friends Piccoro, Charlie (Karl), Tobias, Adrien, Tony you are all fantastic I am honored that you give me yours time. Regards Gianluigi [0] https://gitlab.com/gambas/gambas/tree/master 2017-08-18 23:32 GMT+02:00 Christof Thalhofer : > Am 18.08.2017 um 22:54 schrieb Gianluigi: > > Perhaps I begin to understand something, but apologize me if I continue > to > > say nonsense. > > No problem :-) > > > When updating: > > What? Do you always use the latest version of Gambas? Do you use the > Gambas development version? Seems so: > > > cd gambasdevel > > Then check you branch > > git branch > * master > > Ok, you are on master, thats bleeding edge. > > > sudo make uninstall > > ok, you uninstalled binary Gambas from your computer > > now: > git pull > > This fetches all new changes from Gitlab into the repository (in the > subdir .git) and updates the master branch, you are in. > > Now: > > > ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C > > make && sudo make install > > Ok and you're done. But be careful! Maybe you need make clean before > that (as Tobi wrote). > > > Unclear part: > > I run the git pull command as Charlie suggests? > > Yes, that is right. It downloads only the changes to the local > repository (in .git). > > > Or git checkout master as Christof seems to suggest? > > The local repository resides in .git > > There are all branches, all versions, all tags of Gambas ever! > > git checkout anything > > extracts one single state out of the (local) repository to your filesystem. > > git checkout master > = bleeding edge > > git checkout v3.10.0 > = Gambas V3.10 > > Please understand: If you did a clone from Gitlab to your computer you > have the complete repository, look at that: > > git tag > > > I have never used make clean when need to use it? > > As Tobi wrote, if C/C++ files have been added. > > > Would it be the same as rm -rf gambasdevel /? > > Jesus! Avoid that! 100MB are gone and you have to download that again! > > > I note that the command: > > > > git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel > > This is a shallow clone > https://www.perforce.com/blog/git-beyond-basics-using-shallow-clones > > > Download only the latest version of development and not the whole git, as > > explained in the wiki (about a third of the 100MB) > > So clone it once all and never delete it but just fetch differences. > > > He is turning my head, I go to sleep. > > Goodnight to everyone (in Italy it's night :-)) > > Good night, turning head when switching over to Git is normal :-) > > But later you will be in heaven :-) > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From tmorehen at ...3602... Sun Aug 20 00:02:24 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sat, 19 Aug 2017 18:02:24 -0400 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: <5d33436a-6ee5-fdda-1ab0-51b343627418@...3602...> What about using nabble itself? On 2017-08-19 03:25 PM, Jussi Lahtinen wrote: >> 1) Google groups are not a mailing-list. I want mails, so that I can have >> every post in my mail client and read them without Internet. >> > They are if you want. That is exactly how I use google groups. I never use > the web interface. > > > 2) Google crawls the data, and who knows what they do with them. > It's Gambas mailing list, do we care? Also nabble already publishes the > mailing list content. > > > >> 3) Google brutally stopped their issue tracker. I had to make an issue >> tracker for Gambas in a hurry because of that. There is no guarantee that >> they won't stop Google groups brutally too. >> > Yeah, bad policy from google, but this is quite hard requirement to > fulfill. There is always some uncertainty. > > > >> 4) I don't want to force people to have a Google account. >> > Google account is needed only for the web interface. > > > > Jussi > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Sun Aug 20 00:18:58 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 20 Aug 2017 00:18:58 +0200 Subject: [Gambas-user] System informations report In-Reply-To: References: <8fdcd6cf-4b96-6e0a-4e67-e10dd8e81121@...1...> <2880f21c-7e05-0a1a-e97e-7bf40aa4f866@...1...> <09d7dabf-3ae4-18e0-6ddf-1dc3a2bb0870@...1...> Message-ID: Hi Adrien, I have no problem with this. Even I with pc have the result in a few seconds and it seemed, wrong, that the same thing happened with notebooks. Then I thought that in code change to adapt to git was introduced a bug. That's why I signaled it. I apologize for the disorder and for how I have written of it. Regards Gianluigi 2017-08-19 20:29 GMT+02:00 Adrien Prokopowicz : > Le Sat, 19 Aug 2017 17:48:30 +0200, Gianluigi a > ?crit: > > I do not understand why the first time I got that data (22 seconds), now >> restarting the notebook more times are the same as those with Git. >> >> Sorry, greetings >> Gianluigi >> > > For me it goes fairly fast (~3 seconds), but on a SSD, a i5-2450M and 16GB > of RAM. > I have 135861 files in /usr/lib. > > The System info has nothing to do with git however (it just reads files in > your > library paths), so I don't see how it can be related. > > However, I noticed that the System Info reads both /lib and /usr/lib, but > on some > distributions (like ArchLinux), /lib is actually a symlink to /usr/lib, so > it gets > scanned twice. > I also noticed a lot of the scanning time was spent sorting the files (not > sure why > they had to be sorted, it has no effect on my results). > > I changed these behaviors in the latest commit, and it made it 4 times > faster for me, > does it help your case ? > > Regards, > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Sun Aug 20 01:01:27 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 20 Aug 2017 08:31:27 +0930 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> Message-ID: <20170820083127.7b1295faedd24d8cfcc5ab0b@...626...> On Sat, 19 Aug 2017 10:54:49 -0400 PICCORO McKAY Lenz wrote: > 2017-08-19 5:42 GMT-04:00 Beno?t Minisini via Gambas-user < > gambas-user at lists.sourceforge.net>:If anyone has ideas about how and where > to host at least two mailing-lists, you are welcome! > > PLEASE BENOIT; USE THE GOOGLE GROUPS! its the most easy solution: > take a view example: https://vegnuli.sourceforge.io/index.php/Forums > Please don't!!!!!!!! b -- B Bruen From jussi.lahtinen at ...626... Sun Aug 20 01:22:20 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 20 Aug 2017 02:22:20 +0300 Subject: [Gambas-user] Mailinglist In-Reply-To: <20170820083127.7b1295faedd24d8cfcc5ab0b@...626...> References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <20170820083127.7b1295faedd24d8cfcc5ab0b@...626...> Message-ID: Why people are so against google groups? It would be much better than this current one. No spam, no attachment size limits, better service reliability, forum interface as alternative to people who like it... otherwise it would work identically. Jussi On Sun, Aug 20, 2017 at 2:01 AM, adamnt42 at ...626... wrote: > On Sat, 19 Aug 2017 10:54:49 -0400 > PICCORO McKAY Lenz wrote: > > > 2017-08-19 5:42 GMT-04:00 Beno?t Minisini via Gambas-user < > > gambas-user at lists.sourceforge.net>:If anyone has ideas about how and > where > > to host at least two mailing-lists, you are welcome! > > > > PLEASE BENOIT; USE THE GOOGLE GROUPS! its the most easy solution: > > take a view example: https://vegnuli.sourceforge.io/index.php/Forums > > > > > Please don't!!!!!!!! > > b > > > -- > B Bruen > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Sun Aug 20 10:13:55 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 20 Aug 2017 10:13:55 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <20170820083127.7b1295faedd24d8cfcc5ab0b@...626...> Message-ID: Am 20.08.2017 um 01:22 schrieb Jussi Lahtinen: > Why people are so against google groups? It would be much better than this > current one. No spam, no attachment size limits, better service > reliability, forum interface as alternative to people who like it... > otherwise it would work identically. Until Google decides to cancel it. If we do self hosting we are the owner of our data. That's all. 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... Sun Aug 20 10:53:38 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 20 Aug 2017 10:53:38 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: Am 19.08.2017 um 19:13 schrieb Beno?t Minisini via Gambas-user: > So we must find: > > - Someone who can host the mailing-list and who has time to manage the > server. Our servers* are powerful servers running with Debian, mirrored by DRBD, backupped to another datacenter at night and used for shared hosting. There are hostmasters who manage the servers. The only thing I had to do would be configuring Mailman. This is done once and then it runs forever. Do you know the count of users and traffic of the Gambas ML? One web-packet there costs 5?/month, has 1GB webspace and 10GB traffic included, I would have no problem to donate it to the Gambas community, but for sure there are better ways to finance it (maybe a Gambas Foundation, that is owner of the web-packet?). * ------------------------------------------------------------------- Hostsharing Coop, 15 years old, I am a member, there are about 170 other members. It's the only german webhosting Coop. https://de.wikipedia.org/wiki/Hostsharing https://www.hostsharing.net/ Sorry, only german language. ------------------------------------------------------------------- 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 bagonergi at ...626... Sun Aug 20 11:52:22 2017 From: bagonergi at ...626... (Gianluigi) Date: Sun, 20 Aug 2017 11:52:22 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: Hi Christof, well, I am ready to contribute for two months each year. Try to appreciate the effort, here in Genoa we are more avaricius of the Scottishs. "At the moment of the charity in the church, a Scottish man is faint and seven Genoeses care to carry it out of the church" Regards Gianluigi 2017-08-20 10:53 GMT+02:00 Christof Thalhofer : > Am 19.08.2017 um 19:13 schrieb Beno?t Minisini via Gambas-user: > > > So we must find: > > > > - Someone who can host the mailing-list and who has time to manage the > > server. > > Our servers* are powerful servers running with Debian, mirrored by DRBD, > backupped to another datacenter at night and used for shared hosting. > There are hostmasters who manage the servers. The only thing I had to do > would be configuring Mailman. This is done once and then it runs forever. > > Do you know the count of users and traffic of the Gambas ML? > > One web-packet there costs 5?/month, has 1GB webspace and 10GB traffic > included, I would have no problem to donate it to the Gambas community, > but for sure there are better ways to finance it (maybe a Gambas > Foundation, that is owner of the web-packet?). > > * > ------------------------------------------------------------------- > Hostsharing Coop, 15 years old, I am a member, there are about 170 other > members. It's the only german webhosting Coop. > > https://de.wikipedia.org/wiki/Hostsharing > https://www.hostsharing.net/ > > Sorry, only german language. > ------------------------------------------------------------------- > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From tmorehen at ...3602... Sun Aug 20 13:18:44 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 20 Aug 2017 07:18:44 -0400 Subject: [Gambas-user] Class Implementing DBus Notifications Message-ID: As promised, attached is a heavily commented class implementing DBus Notifications. It is a complete implementation of the specification. There are two approaches to using the class: 1) fill in the properties and call SendNotification: Dim hDbusNotify As New DbusNotify hDbusNotify.Summary = "Device added:" hDbusNotify.Body = "/dev" &/ device hDbusNotify.FullPathToIcon = icon hDbusNotify.Actions = [""] notifyID = dbusNotify.SendNotification() mount = UDisks2.Mount(device) hDbusNotify.Summary = "Device mounted:" hDbusNotify.Body = "/dev" &/ device & " to " & mount hDbusNotify.Actions = ["browse=" & mount, "Browse"] hints.Add(2, "urgency") hDbusNotify.Hints = hints hDbusNotify.Duration = 5000 notifyID = dbusNotify.SendNotification(notifyID) 2) Use the Notify function directly: Dim hDbusNotify As New DbusNotify Dim hints As New Collection hints.Add("device.removed", "category") hDbusNotify.Notify("Device removed:", "/dev" &/ device, icon, [""], 0, hints, 5000) DbusNotify raises 2 events: Public Sub dbusNotify_ActionInvoked(iNotifyID As Integer, sActionKey As String) If Left(LCase(sActionKey), 7) = "browse=" Then 'want to ensure a trailing "/" sActionKey = "file://" & Trim(Mid(sActionKey, 8) &/ " ") Shell "xdg-open " & sActionKey Endif End Public Sub dbusNotify_NotificationClosed(iNotifyID As Integer, iReason As Integer) 'Usually ignored End -------------- next part -------------- A non-text attachment was scrubbed... Name: dbusNotify.class Type: application/x-java Size: 7171 bytes Desc: not available URL: From mckaygerhard at ...626... Sun Aug 20 15:29:48 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 20 Aug 2017 09:29:48 -0400 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <20170820083127.7b1295faedd24d8cfcc5ab0b@...626...> Message-ID: 2017-08-20 4:13 GMT-04:00 Christof Thalhofer : > Until Google decides to cancel it. If we do self hosting we are the > owner of our data. That's all. > I recognize that is the only reason why we should not choose google but i also noted that google offers a well made service to "catch you" . ummm very parlous I WANT TO SHARE WITH US A MOVIE TO TAKE IN CLARIFICATION THE HINT OF GOOGLE BRANDED: google, yandex, mail.ru, facebook, all of them tray to take control of user data and insert on those more data... i use gmail.. but my main mail its not gmail.. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From tmorehen at ...3602... Sun Aug 20 15:57:34 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 20 Aug 2017 09:57:34 -0400 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal In-Reply-To: References: Message-ID: I submitted a merge request on Gitlab to fix this bug. On 2017-08-10 11:21 PM, bugtracker at ...3416... wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.1133&from=L21haW4- > > Tony MOREHEN reported a new bug. > > Summary > ------- > > Paste doesn't work in gb.form.terminal > > Type : Bug > Priority : Medium > Gambas version : Unknown > Product : Unknown > > > Description > ----------- > > When running terminal.exec(["bash"]), the paste method does nothing, even though the clipboard has 'plain/text' content > > Cause: line 924 in TerminalView.class -- > If Not $hProcess Or Not $hPipeOut Then Return > -- will return either or both $hProcess or $hPipeOut are null. It should return only when both are null. > > Correct: > If Not $hProcess And Not $hPipeOut Then Return > > I've attached a patch to fix. The patch also adds a SendText method to gb.form.terminal. This allows the containing application to send commands to the terminal process or pipe. > > > System information > ------------------ > > [System] > Gambas=3.9.90 r8018 > OperatingSystem=Linux > Kernel=4.8.15-1-MANJARO > Architecture=x86_64 > Distribution=Manjaro Linux > Desktop=XFCE > Theme=Gtk > Language=en_CA.utf8 > Memory=3947M > > [Libraries] > Cairo=libcairo.so.2.11400.8 > Curl=libcurl.so.4.4.0 > DBus=libdbus-1.so.3.14.9 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.1002.0 > GTK+2=libgtk-x11-2.0.so.0.2400.31 > GTK+3=libgtk-3.so.0.2200.5 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.66.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.7.1 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > DESKTOP_SESSION=xfce > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GDMSESSION=xfce > GLADE_CATALOG_PATH=: > GLADE_MODULE_PATH=: > GLADE_PIXMAP_PATH=: > GTK2_RC_FILES=/.gtkrc-2.0 > GTK_MODULES=canberra-gtk-module > HOME= > LANG=en_CA.utf8 > LC_ADDRESS=en_CA.UTF-8 > LC_IDENTIFICATION=en_CA.UTF-8 > LC_MEASUREMENT=en_CA.UTF-8 > LC_MONETARY=en_CA.UTF-8 > LC_NAME=en_CA.UTF-8 > LC_NUMERIC=en_CA.UTF-8 > LC_PAPER=en_CA.UTF-8 > LC_TELEPHONE=en_CA.UTF-8 > LC_TIME=en_CA.UTF-8 > LOGNAME= > MAIL=/var/spool/mail/ > MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins > PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl > PWD= > QT_QPA_PLATFORMTHEME=qt5ct > SAL_USE_VCLPLUGIN=gtk > SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/:/tmp/.ICE-unix/9931 > SHELL=/bin/bash > SHLVL=2 > SSH_AGENT_PID=9936 > SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935 > TZ=:/etc/localtime > USER= > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg > XDG_CURRENT_DESKTOP=XFCE > XDG_DATA_DIRS=/usr/local/share:/usr/share > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > XDG_MENU_PREFIX=xfce- > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_DESKTOP=xfce > XDG_SESSION_ID=c4 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > _=/usr/bin/gambas3 > From adamnt42 at ...626... Sun Aug 20 16:19:49 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 20 Aug 2017 23:49:49 +0930 Subject: [Gambas-user] Class Implementing DBus Notifications In-Reply-To: References: Message-ID: <20170820234949.781b5f8d2dcf7c957ecf7fa8@...626...> On Sun, 20 Aug 2017 07:18:44 -0400 Tony Morehen wrote: > As promised, attached is a heavily commented class implementing DBus > Notifications. It is a complete implementation of the specification. > There are two approaches to using the class: > > 1) fill in the properties and call SendNotification: > > Dim hDbusNotify As New DbusNotify > hDbusNotify.Summary = "Device added:" > hDbusNotify.Body = "/dev" &/ device > hDbusNotify.FullPathToIcon = icon > hDbusNotify.Actions = [""] > notifyID = dbusNotify.SendNotification() > mount = UDisks2.Mount(device) > hDbusNotify.Summary = "Device mounted:" > hDbusNotify.Body = "/dev" &/ device & " to " & mount > hDbusNotify.Actions = ["browse=" & mount, "Browse"] > hints.Add(2, "urgency") > hDbusNotify.Hints = hints > hDbusNotify.Duration = 5000 > notifyID = dbusNotify.SendNotification(notifyID) > > 2) Use the Notify function directly: > > Dim hDbusNotify As New DbusNotify > Dim hints As New Collection > hints.Add("device.removed", "category") > hDbusNotify.Notify("Device removed:", "/dev" &/ device, icon, > [""], 0, hints, 5000) > > DbusNotify raises 2 events: > > Public Sub dbusNotify_ActionInvoked(iNotifyID As Integer, sActionKey As > String) > > If Left(LCase(sActionKey), 7) = "browse=" Then > 'want to ensure a trailing "/" > sActionKey = "file://" & Trim(Mid(sActionKey, 8) &/ " ") > Shell "xdg-open " & sActionKey > Endif > > End > > Public Sub dbusNotify_NotificationClosed(iNotifyID As Integer, iReason > As Integer) > 'Usually ignored > End > Thanks, for that Tony, some good stuff in there (the least of which is that damned "hints" collection!) Since my original post and everyones comments I have spent more time reading than doing. So a few comments (in the most sincerest mode possible). 1. We (gambas "we") should strive for agnosticism. This class is very dependent on some specific implementations of the so called gnome "standard" which is turn looks very much like the "specification" for the (lousy) notify-osd daemon. ("lousy" because it was dumbed down so far that even Shuttleworth could understand it.) Your class is dependent on the notification daemon that is running on a machine to a) use DBus messaging the way those (ahem) standards and specifications state. DE's that use non-compliant notification daemons are not supported by your code. This is not a biggy, But one has to take care. Secondly, you are relying on the daemon DBus interface being called exactly "org.freedesktop.Notifications" which is fine for all the common ones but I did find one today (might have been for IceWM - can't remember?) that registers as "org.freedesktop.notify". 2. (Very specific) the code at line 114: result.Add(sa[3], "SpecificationVersion") is very specific to notify-osd. All the so called standards only refer to 3 required items being returned from GetServerInformation. 3. This "duration" parameter seems to be supported/interpreted/used/abused willy nilly by different daemons. In general, it "appears" that a value of 0 tends to indicate a non-disappearing notification (but then again sometimes not). It "appears" that a value of -1 is generally used to do whatever the daemon designers thought might be a good idea. It appears that other values may or may not be used as a timeout period. In short, apart from the actual libnotify library (which after all is only going to pass that value on to the display daemon) its' use is rarely "the timeout before a notification is closed" ( without user interaction). 4. One thing I did find that was quite good and apparently generally broadly implemented is the use of the so called "standard" desktop icon names e.g. instead of passing a fully qualified path to a specific icon you can send one of these "names". For example, setting IconPath to, say, "task-due" will use the task-due picture depending on the users actual active icon set. The names are at: https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html#names 5. Question: In the (little) amount of playing around today I am having trouble with the "replaces_id" parameter for the notify method, i.e your $iLastNotifyID returned by the Notify function. All I ever seem to get back is zero?? The Ubuntu spec (for notify-osd) seems to be pretty quiet about this value, but then again they refer to it elsewhere as being of significant importance? any clues? Finally, I have spent a couple of hours today building a skeleton component version of what you have put in one class. Essentially, it exports two classes "CNotify" and "CMessage", CNotify is intended to be a facade to some (currently one) lower level worker classes that do the actual talking to the daemon. The "currently one" is the CDBusNotify class that is going to talk to ... gues what. This is sort of like the gb.gui aproach where your client project doesn't care what widget manager is actually being used. CMessage is really just a struct that carries the specific stuff for each "message" around ( header, text and icon). Early days yet, but I'll be using a lot of your class code! So thanks again. regards bruce -- B Bruen From adamnt42 at ...626... Sun Aug 20 16:38:53 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 21 Aug 2017 00:08:53 +0930 Subject: [Gambas-user] More DBus queries - signals Message-ID: <20170821000853.a87f7aec873221ff2708f811@...626...> The wiki @ http://gambaswiki.org/wiki/doc/dbus#t9 says "... The name of the event must be the normalized name of the interface, followed by an underscore and the normalized name of the signal. The signal is emitted to the D-Bus bus by using the DBusApplication.Raise method. ..." for the last few days I've been raising DBus signals simply by calling something like: Event Message(text As String, origin As String) ... DBus.Raise(Me, "Message", [msg.Text, "Self"]) being a DBusObject child object <"Message"> being the signal name as registered on the bus being the text parameter for the event as it is known inside the gambas code <"Self"> being the origin parameter This seems to be working fine. Am I doing something unsupported that is likely to disappear? tia b -- B Bruen From tmorehen at ...3602... Sun Aug 20 17:37:38 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 20 Aug 2017 11:37:38 -0400 Subject: [Gambas-user] Class Implementing DBus Notifications In-Reply-To: <20170820234949.781b5f8d2dcf7c957ecf7fa8@...626...> References: <20170820234949.781b5f8d2dcf7c957ecf7fa8@...626...> Message-ID: 1) I tried to be as agnostic as possible. The reference to the Gnome developer's specification is there because it is the only one available on the web. There is not even one on freedesktop.org. It is my understanding that modern DEs conform to that spec, including KDE, Gnome, Cinnamon, XFCE etc. If the server supports a current libnotify, then is should support my code. Btw, I'm running Xfce on Manjaro. Wrt Icewm, Icewm has not been updated since 2011. It probably implements an old version of the spec. People have my code they can change to suit their needs. I recommend D-feet as a Dbus explorer, so people can see what application names, paths and interfaces to use. 2) Yes, this was a slip on my part. My daemon returns the 4 parts that I coded for, but in the back of my mind I knew that only 3 were official. I've changed the code to make SpecificationVersion optional. 3) I've added 0 = no timeout to the comments on duration. Another oversight. Yes, some daemons ignore the Duration variable. In fact they can ignore almost any of the Send parameters. So providing a value may be wishful thinking, but at least it won't generate an error. 4) You're right, you can use standard icon names. I've renamed the property to IconNameOrPath and the comment to reflect this. I'd insisted on full path because that was the only thing that worked for me. The iconname I was using was drive-harddisk-usb, which is an icon in my theme. It turns out that is a non-standard icon and so needs a full path to work. When I shortened it to drive-harddisk, the simple name worked. 5) NotifyID is supposed to be a unique unsigned integer, starting at 0 and increasing by one for each notification message that occurs during the session. You need such an Id to replace a current notification or to close an open one, particularly a non-expiring one. In my system, that is exactly what occurs. For example, in my AutoMount program, when I plug in a drive, device added pops up, which is then replaced by drive mounted. I use 2 separate notifications because mounting can take some time. Anyway, attached is a revised class. On 2017-08-20 10:19 AM, adamnt42 at ...626... wrote: > Thanks, for that Tony, some good stuff in there (the least of which is > that damned "hints" collection!) Since my original post and everyones > comments I have spent more time reading than doing. So a few comments > (in the most sincerest mode possible). > 1. We (gambas "we") should strive for agnosticism. This class is very dependent on some specific implementations of the so called gnome "standard" which is turn looks very much like the "specification" for the (lousy) notify-osd daemon. ("lousy" because it was dumbed down so far that even Shuttleworth could understand it.) Your class is dependent on the notification daemon that is running on a machine to a) use DBus messaging the way those (ahem) standards and specifications state. DE's that use non-compliant notification daemons are not supported by your code. This is not a biggy, But one has to take care. Secondly, you are relying on the daemon DBus interface being called exactly "org.freedesktop.Notifications" which is fine for all the common ones but I did find one today (might have been for IceWM - can't remember?) that registers as "org.freedesktop.notify". > > 2. (Very specific) the code at line 114: result.Add(sa[3], "SpecificationVersion") is very specific to notify-osd. All the so called standards only refer to 3 required items being returned from GetServerInformation. > > 3. This "duration" parameter seems to be supported/interpreted/used/abused willy nilly by different daemons. In general, it "appears" that a value of 0 tends to indicate a non-disappearing notification (but then again sometimes not). It "appears" that a value of -1 is generally used to do whatever the daemon designers thought might be a good idea. It appears that other values may or may not be used as a timeout period. In short, > apart from the actual libnotify library (which after all is only going to pass that value on to the display daemon) its' use is rarely "the timeout before a notification is closed" ( without user interaction). > > 4. One thing I did find that was quite good and apparently generally broadly implemented is the use of the so called "standard" desktop icon names e.g. instead of passing a fully qualified path to a specific icon you can send one of these "names". For example, setting IconPath to, say, "task-due" will use the task-due picture depending on the users actual active icon set. The names are at: https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html#names > > 5. Question: In the (little) amount of playing around today I am having trouble with the "replaces_id" parameter for the notify method, i.e your $iLastNotifyID returned by the Notify function. All I ever seem to get back is zero?? The Ubuntu spec (for notify-osd) seems to be pretty quiet about this value, but then again they refer to it elsewhere as being of significant importance? any clues? > > Finally, I have spent a couple of hours today building a skeleton component version of what you have put in one class. Essentially, it exports two classes "CNotify" and "CMessage", CNotify is intended to be a facade to some (currently one) lower level worker classes that do the actual talking to the daemon. The "currently one" is the CDBusNotify class that is going to talk to ... gues what. This is sort of like the gb.gui aproach where your client project doesn't care what widget manager is actually being used. CMessage is really just a struct that carries the specific stuff for each "message" around ( header, text and icon). Early days yet, but I'll be using a lot of your class code! So thanks again. > > regards > bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: TerminalView.class Type: application/x-java Size: 19943 bytes Desc: not available URL: From tmorehen at ...3602... Sun Aug 20 17:52:38 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 20 Aug 2017 11:52:38 -0400 Subject: [Gambas-user] More DBus queries - signals In-Reply-To: <20170821000853.a87f7aec873221ff2708f811@...626...> References: <20170821000853.a87f7aec873221ff2708f811@...626...> Message-ID: <28d45a1b-8bb4-ba76-d7ac-d30491b04482@...3602...> I see nothing amiss in your code. This is the code I use for a DbusObject. It is used to control a desktop menu application. Note the event declaration. DbusObject is missing, but implicit to the class. I raise the event the same way you do: DBus.Raise(hDbusObj, "org.ajmconsulting.gbmenu.App.StartupNotification", [$key, pid]) $key is a AppName.desktop file, pid is the id/handle of the process just launched. ' Gambas class file ' hDbusObj Inherits DBusObject Private ClientCount As Integer = -1 Event org_ajmconsulting_gbmenu_App_StartupNotification(sName As String, pid As Integer) Public Function org_ajmconsulting_gbmenu_App_show() As Boolean FMain.Show ' Debug "show" Desktop.ActiveWindow = FMain.Id Return FMain.Visible End Public Function org_ajmconsulting_gbmenu_App_showAt(Optional X As Integer, Y As Integer, Gravity As String) As Boolean ' Debug "showat", X, Y, Gravity If X < 10 Then X = 0 Select Case String.LCase(Gravity) Case "northwest" FMain.x = X FMain.y = Y Case "west" FMain.x = X FMain.y = Y - FMain.Height / 2 Case "southwest" FMain.x = X FMain.y = Y - FMain.Height Case "north" FMain.x = X - FMain.Width / 2 FMain.y = Y Case "center", "centre" FMain.x = X - FMain.Width / 2 FMain.y = Y - FMain.Height / 2 Case "south" FMain.x = X - FMain.Width / 2 FMain.y = Y - FMain.Height Case "northeast" FMain.x = X - FMain.Width FMain.y = Y Case "east" FMain.x = X - FMain.Width FMain.y = Y - FMain.Height / 2 Case "southeast" FMain.x = X - FMain.Width FMain.y = Y - FMain.Height End Select Return org_ajmconsulting_gbmenu_App_show() End Public Function org_ajmconsulting_gbmenu_App_showToggle() As Boolean ' Debug "showtoggle" If FMain.Visible Then Return org_ajmconsulting_gbmenu_App_hide() Else Return org_ajmconsulting_gbmenu_App_show() Endif End Public Function org_ajmconsulting_gbmenu_App_showPreferences() As Boolean FSetup.Run ' Debug "setup" Return True End Public Function org_ajmconsulting_gbmenu_App_showCentered() As Boolean ' Debug "showCentered" FMain.X = (Screen.W - FMain.W) / 2 FMain.Y = (Screen.H - FMain.H) / 2 Return org_ajmconsulting_gbmenu_App_show() End Public Function org_ajmconsulting_gbmenu_App_hide() As Boolean ' Debug "hide" FMain.Visible = False Return Not FMain.Visible End Public Function org_ajmconsulting_gbmenu_App_isShowing() As Boolean ' Debug "isShowing" Return FMain.Visible End Public Function org_ajmconsulting_gbmenu_App_addClient() As Integer ' Debug "addClient" Inc ClientCount Return ClientCount End Public Function org_ajmconsulting_gbmenu_App_removeClient(arg1 As Integer) As Boolean ' Debug "removeClient", arg1 Return True End Public Function org_ajmconsulting_gbmenu_App_getDesktopFilePath(arg1 As String) As String ' Debug "removeClient", arg1 Return FMain.$DesktopFiles[arg1].Location End Public Function org_ajmconsulting_gbmenu_App_getIconPath(arg1 As String[], sz As Integer) As String ' Debug "removeClient", arg1 Return Icons.GetIconPath(arg1, sz) End On 2017-08-20 10:38 AM, adamnt42 at ...626... wrote: > The wiki @ http://gambaswiki.org/wiki/doc/dbus#t9 says > "... > The name of the event must be the normalized name of the interface, followed by an underscore and the normalized name of the signal. > The signal is emitted to the D-Bus bus by using the DBusApplication.Raise method. > ..." > > for the last few days I've been raising DBus signals simply by calling something like: > > Event Message(text As String, origin As String) > ... > DBus.Raise(Me, "Message", [msg.Text, "Self"]) > > being a DBusObject child object > <"Message"> being the signal name as registered on the bus > being the text parameter for the event as it is known inside the gambas code > <"Self"> being the origin parameter > > This seems to be working fine. Am I doing something unsupported that is likely to disappear? > > tia > b From adamnt42 at ...626... Sun Aug 20 18:06:36 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 21 Aug 2017 01:36:36 +0930 Subject: [Gambas-user] Class Implementing DBus Notifications In-Reply-To: References: <20170820234949.781b5f8d2dcf7c957ecf7fa8@...626...> Message-ID: <20170821013636.4940bf48fb808f24eec344b6@...626...> On Sun, 20 Aug 2017 11:37:38 -0400 Tony Morehen wrote: > 1) I tried to be as agnostic as possible. The reference to the Gnome > developer's specification is there because it is the only one available > on the web. http://www.galago-project.org/specs/notification/0.9/index.html seems to the one for the notify-osd "spec" but there is at least a 1.1 version around somewhere. Can't find it though. > There is not even one on freedesktop.org. It is my > understanding that modern DEs conform to that spec, including KDE, > Gnome, Cinnamon, XFCE etc. If the server supports a current libnotify, > then is should support my code. Btw, I'm running Xfce on Manjaro. Wrt .... etc cheers b -- B Bruen From tmorehen at ...3602... Sun Aug 20 18:16:50 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 20 Aug 2017 12:16:50 -0400 Subject: [Gambas-user] Class Implementing DBus Notifications In-Reply-To: <20170821013636.4940bf48fb808f24eec344b6@...626...> References: <20170820234949.781b5f8d2dcf7c957ecf7fa8@...626...> <20170821013636.4940bf48fb808f24eec344b6@...626...> Message-ID: <7e064bbe-66b9-7ad4-eccc-99871b60de4b@...3602...> I saw that. As far as I could tell, it's identical to the gnome discussion. Including having the hints category and urgency discussion before the hints chapter! On 2017-08-20 12:06 PM, adamnt42 at ...626... wrote: > On Sun, 20 Aug 2017 11:37:38 -0400 > Tony Morehen wrote: > >> 1) I tried to be as agnostic as possible. The reference to the Gnome >> developer's specification is there because it is the only one available >> on the web. > http://www.galago-project.org/specs/notification/0.9/index.html > seems to the one for the notify-osd "spec" but there is at least a 1.1 version around somewhere. Can't find it though. >> There is not even one on freedesktop.org. It is my >> understanding that modern DEs conform to that spec, including KDE, >> Gnome, Cinnamon, XFCE etc. If the server supports a current libnotify, >> then is should support my code. Btw, I'm running Xfce on Manjaro. Wrt > .... etc > > cheers > b From jussi.lahtinen at ...626... Sun Aug 20 20:31:11 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 20 Aug 2017 21:31:11 +0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: How do you get the change log with git? "git log" shows only one change (most recent?). Is this because I cloned the sources with "git clone --depth=1 https://gitlab.com/gambas/gambas.git"? Even when I want only the latest dev version, I would still like to know what has changed. It's quite important if you do bug hunting. Jussi On Fri, Aug 18, 2017 at 4:31 PM, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > Le Wed, 16 Aug 2017 23:14:54 +0200, Beno?t Minisini < > gambas at ...1...> a ?crit: > > Le 16/08/2017 ? 21:30, Adrien Prokopowicz a ?crit : >> >>> Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user < >>> gambas-user at lists.sourceforge.net> a ?crit: >>> >>>> >>>> It's because the download tool of GitLab downloads everything >>>> (especially the 'MakeWebSite' project that has a lot big files in it), >>>> whereas the "make dist-bzip2" command only package what is relevant to >>>> compile and install Gambas. >>>> >>>> If no 'git' solution exist, maybe I will have to make these source >>>> packages manually again, and store them on Sourceforge as usual... >>>> >>>> While there are no "git" solutions for this, maybe we should put the >>> website in >>> its own repository, apart from the rest of the source tree ? >>> Same goes for the wiki, the bugtracker, etc. >>> >>> >> Maybe. But the MakeWebSite project is not the only tool located in the >> source tree. Or it may not be. It's just the one that takes a lot of place. >> I will think about that. >> > > Making separate repositories for each project is not a problem : we can > have as > many repositories as we want in the Gambas group. :-) > > Also, if the website is in its own repository, it can be hosted with the > GitLab Pages service (which I've never tried, but it seems similar to the > hosting > provided by SourceForge). > > (I can move it into a new repository without losing the history, if you >>> want) >>> As a side-note, we can also use GitLab's Pipelines feature to run the >>> make >>> dist-bzip2 command and store the results every time we tag a new release >>> (we can also use it to distribute compiled binaries if we want). >>> >>> >> Ha! This is more interesting. But "make dist-bzip2" is not enough. You >> must run it after a full configuration of the source, so it must be run on >> a clean system, and it needs to be hacked so that it can handle symbolic >> links. >> >> > (I'm not sure what you mean by "it needs to be hacked so that it can handle > symbolic links". Doesn't every system handle symbolic links out-of-the-box > ?) > > I forked the repository to make tests on my account, and I configured a > small pipeline thats configures the sources and then generates the archive. > > You can see the job result here : > > https://gitlab.com/prokopyl/gambas/-/jobs/29620075 > > (Warning : Big ./configure log, expect your tab to freeze for a bit !) > > On the right panel you can browse the Job artifacts, and see it generated > the > .tar.bz2 archive as an artifact you can download. > > Unlike the repository source archive, Job artifacts are not meant to be > directly > downloaded by the users, as anyone in the group can delete them wile > cleaning up > (they do not expire by default, but we have a 10GB job artifact limit if I > remember > correctly). > > However, you can configure the pipeline to automatically upload the source > package > to any server you'd like (using SSH, FTP, or anything that has a CLI > really). > > Something I would also like to setup later, is a Pipeline that checks the > configuration/build on several Linux distributions on every commit. Since > the > Pipelines can rely on Docker, we can basically check for most major x86_64 > distributions (and I think we can use qemu for other architectures, like > x86 > or ARM). > > But that's just an idea, for now. :-) > > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 20 20:34:46 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 20 Aug 2017 20:34:46 +0200 Subject: [Gambas-user] Mailinglist In-Reply-To: References: <0f4d04ba-7a24-915c-0994-98f9e3fb3042@...3340...> <5dcf10ca-09e2-6cf7-fef4-6146a06b3c96@...1...> Message-ID: <1598be04-53cf-3fd9-7bb4-5425d48f8704@...1...> Le 20/08/2017 ? 10:53, Christof Thalhofer a ?crit : > Am 19.08.2017 um 19:13 schrieb Beno?t Minisini via Gambas-user: > >> So we must find: >> >> - Someone who can host the mailing-list and who has time to manage the >> server. > > Our servers* are powerful servers running with Debian, mirrored by DRBD, > backupped to another datacenter at night and used for shared hosting. > There are hostmasters who manage the servers. The only thing I had to do > would be configuring Mailman. This is done once and then it runs forever. > > Do you know the count of users and traffic of the Gambas ML? I can't access the subscription interface of the mailing-lists anymore, so I don't know exactly. About 500 users for the user mailing-list, far less for the developer mailing-list. As for the number of mails, you can see it on the mailing-list archives on SourceForge. It gives you the number of mails by month. And maybe I will merge the developer and the user mailing-list. One mailing-list to rule them all! > > One web-packet there costs 5?/month, has 1GB webspace and 10GB traffic > included, I would have no problem to donate it to the Gambas community, > but for sure there are better ways to finance it (maybe a Gambas > Foundation, that is owner of the web-packet?). You will tell me. There is 500 users ; each mails had a limit of 512 Kb; there is about 300 mails by month ; most of the mails are... let's say 16 Kb. So: 16 x 300 x 500 ~= 2,4 Gb / month. Regards, -- Beno?t Minisini From d4t4full at ...626... Sun Aug 20 21:17:09 2017 From: d4t4full at ...626... (First Last) Date: Sun, 20 Aug 2017 16:17:09 -0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Guys, This will sound kinda awful and probably dumb. The docs and opinions and even doubts I read so far made me way afraid of attempting any GIT. Looks like I will either end up with 2 terabyte of useless data, my contrib will end up in the wrong place, or I'll loose the changes I made just as easy. I have a new, patched gb.db.odbc's main.c file I'd like to submit (won't use words like COMMIT, UPLOAD, etc.). I updated my local copy from SVN today (20170820) and tested my changes; all was fine. I have a GitLab acct as zxMarce and even created my key pair. Now, if anyone there with enough patience explains to me in plain english or even spanish how to upload the file, I'll be grateful. Or, if preferred, I can attach the file to an email, so someone with the proper knowledge can upload it and not make the universe implode like I would... Regards, zxMarce. On Sun, Aug 20, 2017 at 3:31 PM, Jussi Lahtinen wrote: > How do you get the change log with git? "git log" shows only one change > (most recent?). > Is this because I cloned the sources with "git clone --depth=1 > https://gitlab.com/gambas/gambas.git"? > > Even when I want only the latest dev version, I would still like to know > what has changed. It's quite important if you do bug hunting. > > > Jussi > > On Fri, Aug 18, 2017 at 4:31 PM, Adrien Prokopowicz < > adrien.prokopowicz at ...626...> wrote: > > > Le Wed, 16 Aug 2017 23:14:54 +0200, Beno?t Minisini < > > gambas at ...1...> a ?crit: > > > > Le 16/08/2017 ? 21:30, Adrien Prokopowicz a ?crit : > >> > >>> Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user < > >>> gambas-user at lists.sourceforge.net> a ?crit: > >>> > >>>> > >>>> It's because the download tool of GitLab downloads everything > >>>> (especially the 'MakeWebSite' project that has a lot big files in it), > >>>> whereas the "make dist-bzip2" command only package what is relevant to > >>>> compile and install Gambas. > >>>> > >>>> If no 'git' solution exist, maybe I will have to make these source > >>>> packages manually again, and store them on Sourceforge as usual... > >>>> > >>>> While there are no "git" solutions for this, maybe we should put the > >>> website in > >>> its own repository, apart from the rest of the source tree ? > >>> Same goes for the wiki, the bugtracker, etc. > >>> > >>> > >> Maybe. But the MakeWebSite project is not the only tool located in the > >> source tree. Or it may not be. It's just the one that takes a lot of > place. > >> I will think about that. > >> > > > > Making separate repositories for each project is not a problem : we can > > have as > > many repositories as we want in the Gambas group. :-) > > > > Also, if the website is in its own repository, it can be hosted with the > > GitLab Pages service (which I've never tried, but it seems similar to the > > hosting > > provided by SourceForge). > > > > (I can move it into a new repository without losing the history, if you > >>> want) > >>> As a side-note, we can also use GitLab's Pipelines feature to run the > >>> make > >>> dist-bzip2 command and store the results every time we tag a new > release > >>> (we can also use it to distribute compiled binaries if we want). > >>> > >>> > >> Ha! This is more interesting. But "make dist-bzip2" is not enough. You > >> must run it after a full configuration of the source, so it must be run > on > >> a clean system, and it needs to be hacked so that it can handle symbolic > >> links. > >> > >> > > (I'm not sure what you mean by "it needs to be hacked so that it can > handle > > symbolic links". Doesn't every system handle symbolic links > out-of-the-box > > ?) > > > > I forked the repository to make tests on my account, and I configured a > > small pipeline thats configures the sources and then generates the > archive. > > > > You can see the job result here : > > > > https://gitlab.com/prokopyl/gambas/-/jobs/29620075 > > > > (Warning : Big ./configure log, expect your tab to freeze for a bit !) > > > > On the right panel you can browse the Job artifacts, and see it generated > > the > > .tar.bz2 archive as an artifact you can download. > > > > Unlike the repository source archive, Job artifacts are not meant to be > > directly > > downloaded by the users, as anyone in the group can delete them wile > > cleaning up > > (they do not expire by default, but we have a 10GB job artifact limit if > I > > remember > > correctly). > > > > However, you can configure the pipeline to automatically upload the > source > > package > > to any server you'd like (using SSH, FTP, or anything that has a CLI > > really). > > > > Something I would also like to setup later, is a Pipeline that checks the > > configuration/build on several Linux distributions on every commit. Since > > the > > Pipelines can rely on Docker, we can basically check for most major > x86_64 > > distributions (and I think we can use qemu for other architectures, like > > x86 > > or ARM). > > > > But that's just an idea, for now. :-) > > > > > > -- > > Adrien Prokopowicz > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sun Aug 20 21:24:17 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 20 Aug 2017 15:24:17 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Jusssi please do: http://gambaswiki.org/wiki/howto/git#t14 git whatchanged Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-20 14:31 GMT-04:00 Jussi Lahtinen : > How do you get the change log with git? "git log" shows only one change > (most recent?). > Is this because I cloned the sources with "git clone --depth=1 > https://gitlab.com/gambas/gambas.git"? > > Even when I want only the latest dev version, I would still like to know > what has changed. It's quite important if you do bug hunting. > > > Jussi > > On Fri, Aug 18, 2017 at 4:31 PM, Adrien Prokopowicz < > adrien.prokopowicz at ...626...> wrote: > > > Le Wed, 16 Aug 2017 23:14:54 +0200, Beno?t Minisini < > > gambas at ...1...> a ?crit: > > > > Le 16/08/2017 ? 21:30, Adrien Prokopowicz a ?crit : > >> > >>> Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user < > >>> gambas-user at lists.sourceforge.net> a ?crit: > >>> > >>>> > >>>> It's because the download tool of GitLab downloads everything > >>>> (especially the 'MakeWebSite' project that has a lot big files in it), > >>>> whereas the "make dist-bzip2" command only package what is relevant to > >>>> compile and install Gambas. > >>>> > >>>> If no 'git' solution exist, maybe I will have to make these source > >>>> packages manually again, and store them on Sourceforge as usual... > >>>> > >>>> While there are no "git" solutions for this, maybe we should put the > >>> website in > >>> its own repository, apart from the rest of the source tree ? > >>> Same goes for the wiki, the bugtracker, etc. > >>> > >>> > >> Maybe. But the MakeWebSite project is not the only tool located in the > >> source tree. Or it may not be. It's just the one that takes a lot of > place. > >> I will think about that. > >> > > > > Making separate repositories for each project is not a problem : we can > > have as > > many repositories as we want in the Gambas group. :-) > > > > Also, if the website is in its own repository, it can be hosted with the > > GitLab Pages service (which I've never tried, but it seems similar to the > > hosting > > provided by SourceForge). > > > > (I can move it into a new repository without losing the history, if you > >>> want) > >>> As a side-note, we can also use GitLab's Pipelines feature to run the > >>> make > >>> dist-bzip2 command and store the results every time we tag a new > release > >>> (we can also use it to distribute compiled binaries if we want). > >>> > >>> > >> Ha! This is more interesting. But "make dist-bzip2" is not enough. You > >> must run it after a full configuration of the source, so it must be run > on > >> a clean system, and it needs to be hacked so that it can handle symbolic > >> links. > >> > >> > > (I'm not sure what you mean by "it needs to be hacked so that it can > handle > > symbolic links". Doesn't every system handle symbolic links > out-of-the-box > > ?) > > > > I forked the repository to make tests on my account, and I configured a > > small pipeline thats configures the sources and then generates the > archive. > > > > You can see the job result here : > > > > https://gitlab.com/prokopyl/gambas/-/jobs/29620075 > > > > (Warning : Big ./configure log, expect your tab to freeze for a bit !) > > > > On the right panel you can browse the Job artifacts, and see it generated > > the > > .tar.bz2 archive as an artifact you can download. > > > > Unlike the repository source archive, Job artifacts are not meant to be > > directly > > downloaded by the users, as anyone in the group can delete them wile > > cleaning up > > (they do not expire by default, but we have a 10GB job artifact limit if > I > > remember > > correctly). > > > > However, you can configure the pipeline to automatically upload the > source > > package > > to any server you'd like (using SSH, FTP, or anything that has a CLI > > really). > > > > Something I would also like to setup later, is a Pipeline that checks the > > configuration/build on several Linux distributions on every commit. Since > > the > > Pipelines can rely on Docker, we can basically check for most major > x86_64 > > distributions (and I think we can use qemu for other architectures, like > > x86 > > or ARM). > > > > But that's just an idea, for now. :-) > > > > > > -- > > Adrien Prokopowicz > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sun Aug 20 21:26:14 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 20 Aug 2017 15:26:14 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: hi zxMarce.. i VERY INTERESTING.. lest get in sync and coordinate.. what do you need? learn and/or do? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-20 15:17 GMT-04:00 First Last : > Guys, > > This will sound kinda awful and probably dumb. The docs and opinions and > even doubts I read so far made me way afraid of attempting any GIT. > Looks like I will either end up with 2 terabyte of useless data, my contrib > will end up in the wrong place, or I'll loose the changes I made just as > easy. > > I have a new, patched gb.db.odbc's main.c file I'd like to submit (won't > use words like COMMIT, UPLOAD, etc.). I updated my local copy from SVN > today (20170820) and tested my changes; all was fine. > > I have a GitLab acct as zxMarce and even created my key pair. Now, if > anyone there with enough patience explains to me in plain english or even > spanish how to upload the file, I'll be grateful. Or, if preferred, I can > attach the file to an email, so someone with the proper knowledge can > upload it and not make the universe implode like I would... > > Regards, > zxMarce. > > On Sun, Aug 20, 2017 at 3:31 PM, Jussi Lahtinen > wrote: > > > How do you get the change log with git? "git log" shows only one change > > (most recent?). > > Is this because I cloned the sources with "git clone --depth=1 > > https://gitlab.com/gambas/gambas.git"? > > > > Even when I want only the latest dev version, I would still like to know > > what has changed. It's quite important if you do bug hunting. > > > > > > Jussi > > > > On Fri, Aug 18, 2017 at 4:31 PM, Adrien Prokopowicz < > > adrien.prokopowicz at ...626...> wrote: > > > > > Le Wed, 16 Aug 2017 23:14:54 +0200, Beno?t Minisini < > > > gambas at ...1...> a ?crit: > > > > > > Le 16/08/2017 ? 21:30, Adrien Prokopowicz a ?crit : > > >> > > >>> Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user < > > >>> gambas-user at lists.sourceforge.net> a ?crit: > > >>> > > >>>> > > >>>> It's because the download tool of GitLab downloads everything > > >>>> (especially the 'MakeWebSite' project that has a lot big files in > it), > > >>>> whereas the "make dist-bzip2" command only package what is relevant > to > > >>>> compile and install Gambas. > > >>>> > > >>>> If no 'git' solution exist, maybe I will have to make these source > > >>>> packages manually again, and store them on Sourceforge as usual... > > >>>> > > >>>> While there are no "git" solutions for this, maybe we should put > the > > >>> website in > > >>> its own repository, apart from the rest of the source tree ? > > >>> Same goes for the wiki, the bugtracker, etc. > > >>> > > >>> > > >> Maybe. But the MakeWebSite project is not the only tool located in the > > >> source tree. Or it may not be. It's just the one that takes a lot of > > place. > > >> I will think about that. > > >> > > > > > > Making separate repositories for each project is not a problem : we can > > > have as > > > many repositories as we want in the Gambas group. :-) > > > > > > Also, if the website is in its own repository, it can be hosted with > the > > > GitLab Pages service (which I've never tried, but it seems similar to > the > > > hosting > > > provided by SourceForge). > > > > > > (I can move it into a new repository without losing the history, if you > > >>> want) > > >>> As a side-note, we can also use GitLab's Pipelines feature to run > the > > >>> make > > >>> dist-bzip2 command and store the results every time we tag a new > > release > > >>> (we can also use it to distribute compiled binaries if we want). > > >>> > > >>> > > >> Ha! This is more interesting. But "make dist-bzip2" is not enough. You > > >> must run it after a full configuration of the source, so it must be > run > > on > > >> a clean system, and it needs to be hacked so that it can handle > symbolic > > >> links. > > >> > > >> > > > (I'm not sure what you mean by "it needs to be hacked so that it can > > handle > > > symbolic links". Doesn't every system handle symbolic links > > out-of-the-box > > > ?) > > > > > > I forked the repository to make tests on my account, and I configured a > > > small pipeline thats configures the sources and then generates the > > archive. > > > > > > You can see the job result here : > > > > > > https://gitlab.com/prokopyl/gambas/-/jobs/29620075 > > > > > > (Warning : Big ./configure log, expect your tab to freeze for a bit !) > > > > > > On the right panel you can browse the Job artifacts, and see it > generated > > > the > > > .tar.bz2 archive as an artifact you can download. > > > > > > Unlike the repository source archive, Job artifacts are not meant to be > > > directly > > > downloaded by the users, as anyone in the group can delete them wile > > > cleaning up > > > (they do not expire by default, but we have a 10GB job artifact limit > if > > I > > > remember > > > correctly). > > > > > > However, you can configure the pipeline to automatically upload the > > source > > > package > > > to any server you'd like (using SSH, FTP, or anything that has a CLI > > > really). > > > > > > Something I would also like to setup later, is a Pipeline that checks > the > > > configuration/build on several Linux distributions on every commit. > Since > > > the > > > Pipelines can rely on Docker, we can basically check for most major > > x86_64 > > > distributions (and I think we can use qemu for other architectures, > like > > > x86 > > > or ARM). > > > > > > But that's just an idea, for now. :-) > > > > > > > > > -- > > > Adrien Prokopowicz > > > > > > ------------------------------------------------------------ > > > ------------------ > > > 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sun Aug 20 21:44:16 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 20 Aug 2017 15:44:16 -0400 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal In-Reply-To: References: Message-ID: tony, the answers to "bugtraker" are not traked.. you must enter in the bug url and paste the respnse here.. and will be usefully the url of the merge url request to able others track the help/colaboration Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-20 9:57 GMT-04:00 Tony Morehen : > I submitted a merge request on Gitlab to fix this bug. > > > On 2017-08-10 11:21 PM, bugtracker at ...3416... wrote: > >> http://gambaswiki.org/bugtracker/edit?object=BUG.1133&from=L21haW4- >> >> Tony MOREHEN reported a new bug. >> >> Summary >> ------- >> >> Paste doesn't work in gb.form.terminal >> >> Type : Bug >> Priority : Medium >> Gambas version : Unknown >> Product : Unknown >> >> >> Description >> ----------- >> >> When running terminal.exec(["bash"]), the paste method does nothing, even >> though the clipboard has 'plain/text' content >> >> Cause: line 924 in TerminalView.class -- >> If Not $hProcess Or Not $hPipeOut Then Return >> -- will return either or both $hProcess or $hPipeOut are null. It should >> return only when both are null. >> >> Correct: >> If Not $hProcess And Not $hPipeOut Then Return >> >> I've attached a patch to fix. The patch also adds a SendText method to >> gb.form.terminal. This allows the containing application to send commands >> to the terminal process or pipe. >> >> >> System information >> ------------------ >> >> [System] >> Gambas=3.9.90 r8018 >> OperatingSystem=Linux >> Kernel=4.8.15-1-MANJARO >> Architecture=x86_64 >> Distribution=Manjaro Linux >> Desktop=XFCE >> Theme=Gtk >> Language=en_CA.utf8 >> Memory=3947M >> >> [Libraries] >> Cairo=libcairo.so.2.11400.8 >> Curl=libcurl.so.4.4.0 >> DBus=libdbus-1.so.3.14.9 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.1002.0 >> GTK+2=libgtk-x11-2.0.so.0.2400.31 >> GTK+3=libgtk-3.so.0.2200.5 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.66.0.0 >> QT4=libQtCore.so.4.8.7 >> QT5=libQt5Core.so.5.7.1 >> SDL=libSDL-1.2.so.0.11.4 >> SQLite=libsqlite3.so.0.8.6 >> >> [Environment] >> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus >> DESKTOP_SESSION=xfce >> DISPLAY=:0.0 >> GB_GUI=gb.qt4 >> GDMSESSION=xfce >> GLADE_CATALOG_PATH=: >> GLADE_MODULE_PATH=: >> GLADE_PIXMAP_PATH=: >> GTK2_RC_FILES=/.gtkrc-2.0 >> GTK_MODULES=canberra-gtk-module >> HOME= >> LANG=en_CA.utf8 >> LC_ADDRESS=en_CA.UTF-8 >> LC_IDENTIFICATION=en_CA.UTF-8 >> LC_MEASUREMENT=en_CA.UTF-8 >> LC_MONETARY=en_CA.UTF-8 >> LC_NAME=en_CA.UTF-8 >> LC_NUMERIC=en_CA.UTF-8 >> LC_PAPER=en_CA.UTF-8 >> LC_TELEPHONE=en_CA.UTF-8 >> LC_TIME=en_CA.UTF-8 >> LOGNAME= >> MAIL=/var/spool/mail/ >> MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins >> PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/ >> default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl >> PWD= >> QT_QPA_PLATFORMTHEME=qt5ct >> SAL_USE_VCLPLUGIN=gtk >> SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/< >> hostname>:/tmp/.ICE-unix/9931 >> SHELL=/bin/bash >> SHLVL=2 >> SSH_AGENT_PID=9936 >> SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935 >> TZ=:/etc/localtime >> USER= >> XAUTHORITY=/.Xauthority >> XDG_CONFIG_DIRS=/etc/xdg >> XDG_CURRENT_DESKTOP=XFCE >> XDG_DATA_DIRS=/usr/local/share:/usr/share >> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ >> XDG_MENU_PREFIX=xfce- >> XDG_RUNTIME_DIR=/run/user/1000 >> XDG_SEAT=seat0 >> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 >> XDG_SESSION_DESKTOP=xfce >> XDG_SESSION_ID=c4 >> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 >> XDG_SESSION_TYPE=x11 >> XDG_VTNR=7 >> _=/usr/bin/gambas3 >> >> > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tmorehen at ...3602... Sun Aug 20 22:00:26 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 20 Aug 2017 16:00:26 -0400 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal In-Reply-To: References: Message-ID: I know that bugtracker has been discontinued. I just replied to an earlier, related message as a convenient way to let Benoit and others who have write permission to gitlab gambas/gambas know that I submitted a merge request. They can be seen at https://gitlab.com/gambas/gambas/merge_requests, On 2017-08-20 03:44 PM, PICCORO McKAY Lenz wrote: > tony, the answers to "bugtraker" are not traked.. you must enter in the bug > url and paste the respnse here.. and will be usefully the url of the merge > url request to able others track the help/colaboration > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-20 9:57 GMT-04:00 Tony Morehen : > >> I submitted a merge request on Gitlab to fix this bug. >> >> >> On 2017-08-10 11:21 PM, bugtracker at ...3416... wrote: >> >>> http://gambaswiki.org/bugtracker/edit?object=BUG.1133&from=L21haW4- >>> >>> Tony MOREHEN reported a new bug. >>> >>> Summary >>> ------- >>> >>> Paste doesn't work in gb.form.terminal >>> >>> Type : Bug >>> Priority : Medium >>> Gambas version : Unknown >>> Product : Unknown >>> >>> >>> Description >>> ----------- >>> >>> When running terminal.exec(["bash"]), the paste method does nothing, even >>> though the clipboard has 'plain/text' content >>> >>> Cause: line 924 in TerminalView.class -- >>> If Not $hProcess Or Not $hPipeOut Then Return >>> -- will return either or both $hProcess or $hPipeOut are null. It should >>> return only when both are null. >>> >>> Correct: >>> If Not $hProcess And Not $hPipeOut Then Return >>> >>> I've attached a patch to fix. The patch also adds a SendText method to >>> gb.form.terminal. This allows the containing application to send commands >>> to the terminal process or pipe. >>> >>> >>> System information >>> ------------------ >>> >>> [System] >>> Gambas=3.9.90 r8018 >>> OperatingSystem=Linux >>> Kernel=4.8.15-1-MANJARO >>> Architecture=x86_64 >>> Distribution=Manjaro Linux >>> Desktop=XFCE >>> Theme=Gtk >>> Language=en_CA.utf8 >>> Memory=3947M >>> >>> [Libraries] >>> Cairo=libcairo.so.2.11400.8 >>> Curl=libcurl.so.4.4.0 >>> DBus=libdbus-1.so.3.14.9 >>> GStreamer=libgstreamer-0.10.so.0.30.0 >>> GStreamer=libgstreamer-1.0.so.0.1002.0 >>> GTK+2=libgtk-x11-2.0.so.0.2400.31 >>> GTK+3=libgtk-3.so.0.2200.5 >>> OpenGL=libGL.so.1.2.0 >>> Poppler=libpoppler.so.66.0.0 >>> QT4=libQtCore.so.4.8.7 >>> QT5=libQt5Core.so.5.7.1 >>> SDL=libSDL-1.2.so.0.11.4 >>> SQLite=libsqlite3.so.0.8.6 >>> >>> [Environment] >>> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus >>> DESKTOP_SESSION=xfce >>> DISPLAY=:0.0 >>> GB_GUI=gb.qt4 >>> GDMSESSION=xfce >>> GLADE_CATALOG_PATH=: >>> GLADE_MODULE_PATH=: >>> GLADE_PIXMAP_PATH=: >>> GTK2_RC_FILES=/.gtkrc-2.0 >>> GTK_MODULES=canberra-gtk-module >>> HOME= >>> LANG=en_CA.utf8 >>> LC_ADDRESS=en_CA.UTF-8 >>> LC_IDENTIFICATION=en_CA.UTF-8 >>> LC_MEASUREMENT=en_CA.UTF-8 >>> LC_MONETARY=en_CA.UTF-8 >>> LC_NAME=en_CA.UTF-8 >>> LC_NUMERIC=en_CA.UTF-8 >>> LC_PAPER=en_CA.UTF-8 >>> LC_TELEPHONE=en_CA.UTF-8 >>> LC_TIME=en_CA.UTF-8 >>> LOGNAME= >>> MAIL=/var/spool/mail/ >>> MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins >>> PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/ >>> default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl >>> PWD= >>> QT_QPA_PLATFORMTHEME=qt5ct >>> SAL_USE_VCLPLUGIN=gtk >>> SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/< >>> hostname>:/tmp/.ICE-unix/9931 >>> SHELL=/bin/bash >>> SHLVL=2 >>> SSH_AGENT_PID=9936 >>> SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935 >>> TZ=:/etc/localtime >>> USER= >>> XAUTHORITY=/.Xauthority >>> XDG_CONFIG_DIRS=/etc/xdg >>> XDG_CURRENT_DESKTOP=XFCE >>> XDG_DATA_DIRS=/usr/local/share:/usr/share >>> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ >>> XDG_MENU_PREFIX=xfce- >>> XDG_RUNTIME_DIR=/run/user/1000 >>> XDG_SEAT=seat0 >>> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 >>> XDG_SESSION_DESKTOP=xfce >>> XDG_SESSION_ID=c4 >>> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 >>> XDG_SESSION_TYPE=x11 >>> XDG_VTNR=7 >>> _=/usr/bin/gambas3 >>> >>> >> >> ------------------------------------------------------------ >> ------------------ >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Aug 20 22:03:17 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 20 Aug 2017 22:03:17 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal In-Reply-To: References: Message-ID: Le 20/08/2017 ? 22:00, Tony Morehen a ?crit : > I know that bugtracker has been discontinued. Where did you see that? The bugtracker has not been discontinued! -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Aug 20 22:14:03 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 20 Aug 2017 23:14:03 +0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: The same problem. Jussi On Sun, Aug 20, 2017 at 10:24 PM, PICCORO McKAY Lenz wrote: > Jusssi please do: > > http://gambaswiki.org/wiki/howto/git#t14 > > git whatchanged > > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-20 14:31 GMT-04:00 Jussi Lahtinen : > > > How do you get the change log with git? "git log" shows only one change > > (most recent?). > > Is this because I cloned the sources with "git clone --depth=1 > > https://gitlab.com/gambas/gambas.git"? > > > > Even when I want only the latest dev version, I would still like to know > > what has changed. It's quite important if you do bug hunting. > > > > > > Jussi > > > > On Fri, Aug 18, 2017 at 4:31 PM, Adrien Prokopowicz < > > adrien.prokopowicz at ...626...> wrote: > > > > > Le Wed, 16 Aug 2017 23:14:54 +0200, Beno?t Minisini < > > > gambas at ...1...> a ?crit: > > > > > > Le 16/08/2017 ? 21:30, Adrien Prokopowicz a ?crit : > > >> > > >>> Le Wed, 16 Aug 2017 18:30:03 +0200, Beno?t Minisini via Gambas-user < > > >>> gambas-user at lists.sourceforge.net> a ?crit: > > >>> > > >>>> > > >>>> It's because the download tool of GitLab downloads everything > > >>>> (especially the 'MakeWebSite' project that has a lot big files in > it), > > >>>> whereas the "make dist-bzip2" command only package what is relevant > to > > >>>> compile and install Gambas. > > >>>> > > >>>> If no 'git' solution exist, maybe I will have to make these source > > >>>> packages manually again, and store them on Sourceforge as usual... > > >>>> > > >>>> While there are no "git" solutions for this, maybe we should put > the > > >>> website in > > >>> its own repository, apart from the rest of the source tree ? > > >>> Same goes for the wiki, the bugtracker, etc. > > >>> > > >>> > > >> Maybe. But the MakeWebSite project is not the only tool located in the > > >> source tree. Or it may not be. It's just the one that takes a lot of > > place. > > >> I will think about that. > > >> > > > > > > Making separate repositories for each project is not a problem : we can > > > have as > > > many repositories as we want in the Gambas group. :-) > > > > > > Also, if the website is in its own repository, it can be hosted with > the > > > GitLab Pages service (which I've never tried, but it seems similar to > the > > > hosting > > > provided by SourceForge). > > > > > > (I can move it into a new repository without losing the history, if you > > >>> want) > > >>> As a side-note, we can also use GitLab's Pipelines feature to run > the > > >>> make > > >>> dist-bzip2 command and store the results every time we tag a new > > release > > >>> (we can also use it to distribute compiled binaries if we want). > > >>> > > >>> > > >> Ha! This is more interesting. But "make dist-bzip2" is not enough. You > > >> must run it after a full configuration of the source, so it must be > run > > on > > >> a clean system, and it needs to be hacked so that it can handle > symbolic > > >> links. > > >> > > >> > > > (I'm not sure what you mean by "it needs to be hacked so that it can > > handle > > > symbolic links". Doesn't every system handle symbolic links > > out-of-the-box > > > ?) > > > > > > I forked the repository to make tests on my account, and I configured a > > > small pipeline thats configures the sources and then generates the > > archive. > > > > > > You can see the job result here : > > > > > > https://gitlab.com/prokopyl/gambas/-/jobs/29620075 > > > > > > (Warning : Big ./configure log, expect your tab to freeze for a bit !) > > > > > > On the right panel you can browse the Job artifacts, and see it > generated > > > the > > > .tar.bz2 archive as an artifact you can download. > > > > > > Unlike the repository source archive, Job artifacts are not meant to be > > > directly > > > downloaded by the users, as anyone in the group can delete them wile > > > cleaning up > > > (they do not expire by default, but we have a 10GB job artifact limit > if > > I > > > remember > > > correctly). > > > > > > However, you can configure the pipeline to automatically upload the > > source > > > package > > > to any server you'd like (using SSH, FTP, or anything that has a CLI > > > really). > > > > > > Something I would also like to setup later, is a Pipeline that checks > the > > > configuration/build on several Linux distributions on every commit. > Since > > > the > > > Pipelines can rely on Docker, we can basically check for most major > > x86_64 > > > distributions (and I think we can use qemu for other architectures, > like > > > x86 > > > or ARM). > > > > > > But that's just an idea, for now. :-) > > > > > > > > > -- > > > Adrien Prokopowicz > > > > > > ------------------------------------------------------------ > > > ------------------ > > > 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Sun Aug 20 22:22:23 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 20 Aug 2017 22:22:23 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen a ?crit: > How do you get the change log with git? "git log" shows only one change > (most recent?). > Is this because I cloned the sources with "git clone --depth=1 > https://gitlab.com/gambas/gambas.git"? > > Even when I want only the latest dev version, I would still like to know > what has changed. It's quite important if you do bug hunting. > > > Jussi Yes, when you use --depth=1, you only retrieve the latest commit, so it can't know about anything past it. If you want to have the information locally, you can use the following : git fetch --unshallow It will retrieve the missing pieces and you will end up with a full clone, as if you just ran git clone without the --depth argument. You can also view the latest commits directly on gitlab here : https://gitlab.com/gambas/gambas/commits/master ? or as a RSS feed here : https://gitlab.com/gambas/gambas/commits/master?format=atom If you have a Gitlab account, you can also configure it so it will send you email notifications when something happens on the repository. -- Adrien Prokopowicz From gambas at ...1... Sun Aug 20 22:22:33 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 20 Aug 2017 22:22:33 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Le 20/08/2017 ? 20:31, Jussi Lahtinen a ?crit : > How do you get the change log with git? "git log" shows only one change > (most recent?). > Is this because I cloned the sources with "git clone --depth=1 > https://gitlab.com/gambas/gambas.git"? > > Even when I want only the latest dev version, I would still like to know > what has changed. It's quite important if you do bug hunting. > > > Jussi I think so. You should get a full repository to get all the changes by definition. With "--detph=1", you have only the last commit of the repository. Is it a big deal for you to get the full tree? The first time it's a lot of data, but then you just have to regularly "git pull" to get the changes, and it's fast. -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Aug 20 22:38:45 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 20 Aug 2017 23:38:45 +0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: OK, that solves the problem. Thanks! Jussi On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < > jussi.lahtinen at ...626...> a ?crit: > > How do you get the change log with git? "git log" shows only one change >> (most recent?). >> Is this because I cloned the sources with "git clone --depth=1 >> https://gitlab.com/gambas/gambas.git"? >> >> Even when I want only the latest dev version, I would still like to know >> what has changed. It's quite important if you do bug hunting. >> >> >> Jussi >> > > Yes, when you use --depth=1, you only retrieve the latest commit, so it > can't know > about anything past it. > If you want to have the information locally, you can use the following : > > git fetch --unshallow > > It will retrieve the missing pieces and you will end up with a full clone, > as if you just ran git clone without the --depth argument. > > You can also view the latest commits directly on gitlab here : > > https://gitlab.com/gambas/gambas/commits/master > > ? or as a RSS feed here : > > https://gitlab.com/gambas/gambas/commits/master?format=atom > > If you have a Gitlab account, you can also configure it so it will send you > email notifications when something happens on the repository. > > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Sun Aug 20 23:44:26 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 20 Aug 2017 23:44:26 +0200 Subject: [Gambas-user] Git compilation report In-Reply-To: References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> Message-ID: <517692bc-e578-0243-cca9-e2d362d1d57a@...3340...> Hello Gianluigi, Am 20.08.2017 um 00:00 schrieb Gianluigi: > First of all I apologize for the delay with which I answer you, but today > it was a day of work entirely dedicated to my wife, and in addition I > helped an Italian friend explaining how to install Gambas from Git :-D I think you had a great day, as I did with my family! :-) > I also wanted to make sure I understood. > Thank you very much for the step-by-step help, which is indispensable for a > tough head (goat is my logo) like me. > The next time I update from Git will do as you have clearly suggested. > Only ask you for a confirmation to see the changes, we need to watch the > commit here [0] or does a better method exist from the terminal? There is a great program called "tig", it lets you see all changes on the terminal and also organize own changes and commits easily. I think it's part of every distro. In Debian I do an "apt install tig". Then, if you're in "gambasdevel", after a "git pull", write "tig" to see and scroll through the commit log and have a look at the changes. You have to get familiar with that program, as it seems to be a little bit crude first, but I did not find any better "GUI" for Git till now. > With your permission I take advantage of this mail to thank the friends > Piccoro, Charlie (Karl), Tobias, Adrien, Tony you are all fantastic I am > honored that you give me yours time. Sure, very nice!!! :-) Great people, all over the world! 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 jussi.lahtinen at ...626... Mon Aug 21 00:38:55 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 Aug 2017 01:38:55 +0300 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: Did you run the GambasTester? It didn't get better on my box, now it crashes randomly in two possible ways: mTest.Process_Read.1975: #53: Stream is closed mTest.Process_Read.1975 mTest.DoTests.1771 mTest.Main.2212 Or: mTest.Process_Read.1975: #42: System error #9: Bad file descriptor mTest.Process_Read.1975 mTest.DoTests.1771 mTest.Main.2212 *** Error in `GambasTestercmd': free(): invalid pointer: 0x000000000068edff *** Program received signal SIGABRT, Aborted. 0x00007ffff7a47c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff7a47c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff7a4b028 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff7a842a4 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007ffff7a9082e in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00000000004207d3 in clear_pool () at gbx_string.c:290 #5 STRING_clear_cache () at gbx_string.c:395 #6 0x00000000004207ef in STRING_exit () at gbx_string.c:401 #7 0x000000000041f5ff in main_exit (silent=silent at ...2861...=1 '\001') at gbx.c:157 #8 0x0000000000404c0f in main (argc=1, argv=0x7fffffffe028) at gbx.c:458 Jussi On Fri, Aug 18, 2017 at 2:18 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 18/08/2017 ? 12:47, Beno?t Minisini via Gambas-user a ?crit : > >> Le 14/08/2017 ? 00:18, Jussi Lahtinen a ?crit : >> >>> The freeze from gdb. >>> >>> #0 0x00007ffff7b068b3 in select () from /lib/x86_64-linux-gnu/libc.so.6 >>> #1 0x000000000041e26d in WATCH_process (fd_end=fd_end at ...2861...=4, >>> fd_output=-1, >>> timeout=timeout at ...2861...=0) at gbx_watch.c:685 >>> #2 0x00000000004286d9 in CPROCESS_wait_for (process=0x688298, timeout=0) >>> at gbx_c_process.c:976 >>> #3 0x000000000043250e in EXEC_native () at gbx_exec.c:1375 >>> #4 0x000000000043cc4a in EXEC_loop () at gbx_exec_loop.c:1427 >>> #5 0x00000000004316fb in EXEC_function_loop () at gbx_exec.c:931 >>> #6 0x000000000043346f in EXEC_function_real () at gbx_exec.c:895 >>> #7 EXEC_public_desc (class=, object=object at ...3605.....=0x0, >>> desc=desc at ...2861...=0x681aa8, nparam=nparam at ...2861...=0) at gbx_exec.c:1618 >>> #8 0x0000000000404b68 in main (argc=1, argv=0x7fffffffdfd8) at gbx.c:416 >>> >>> >>> Jussi >>> >>> >> I confirm the bug. I isolated the loop, and ran it 1000 times. It always >> freezes sooner or later on my machine. Shame! >> >> > OK, fixed in commit e1a5412f4ffb5ac7af62e78c7b93e2468152b13a. > > -- > Beno?t Minisini > -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.49.tar.gz Type: application/x-gzip Size: 18376 bytes Desc: not available URL: From jussi.lahtinen at ...626... Mon Aug 21 00:44:01 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 Aug 2017 01:44:01 +0300 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: Hmmm... somehow this: hWatchFile = Open "/dev/urandom" For Read Watch Triggers execution of Process_Read(), instead of File_Read()... something changed to that? Jussi On Mon, Aug 21, 2017 at 1:38 AM, Jussi Lahtinen wrote: > Did you run the GambasTester? It didn't get better on my box, now it > crashes randomly in two possible ways: > > mTest.Process_Read.1975: #53: Stream is closed > mTest.Process_Read.1975 mTest.DoTests.1771 mTest.Main.2212 > > Or: > > mTest.Process_Read.1975: #42: System error #9: Bad file descriptor > mTest.Process_Read.1975 mTest.DoTests.1771 mTest.Main.2212 > *** Error in `GambasTestercmd': free(): invalid pointer: > 0x000000000068edff *** > > Program received signal SIGABRT, Aborted. > 0x00007ffff7a47c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6 > (gdb) bt > #0 0x00007ffff7a47c37 in raise () from /lib/x86_64-linux-gnu/libc.so.6 > #1 0x00007ffff7a4b028 in abort () from /lib/x86_64-linux-gnu/libc.so.6 > #2 0x00007ffff7a842a4 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > #3 0x00007ffff7a9082e in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > #4 0x00000000004207d3 in clear_pool () at gbx_string.c:290 > #5 STRING_clear_cache () at gbx_string.c:395 > #6 0x00000000004207ef in STRING_exit () at gbx_string.c:401 > #7 0x000000000041f5ff in main_exit (silent=silent at ...2861...=1 '\001') at > gbx.c:157 > #8 0x0000000000404c0f in main (argc=1, argv=0x7fffffffe028) at gbx.c:458 > > > > Jussi > > > > > > On Fri, Aug 18, 2017 at 2:18 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 18/08/2017 ? 12:47, Beno?t Minisini via Gambas-user a ?crit : >> >>> Le 14/08/2017 ? 00:18, Jussi Lahtinen a ?crit : >>> >>>> The freeze from gdb. >>>> >>>> #0 0x00007ffff7b068b3 in select () from /lib/x86_64-linux-gnu/libc.so. >>>> 6 >>>> #1 0x000000000041e26d in WATCH_process (fd_end=fd_end at ...2861...=4, >>>> fd_output=-1, >>>> timeout=timeout at ...2861...=0) at gbx_watch.c:685 >>>> #2 0x00000000004286d9 in CPROCESS_wait_for (process=0x688298, >>>> timeout=0) >>>> at gbx_c_process.c:976 >>>> #3 0x000000000043250e in EXEC_native () at gbx_exec.c:1375 >>>> #4 0x000000000043cc4a in EXEC_loop () at gbx_exec_loop.c:1427 >>>> #5 0x00000000004316fb in EXEC_function_loop () at gbx_exec.c:931 >>>> #6 0x000000000043346f in EXEC_function_real () at gbx_exec.c:895 >>>> #7 EXEC_public_desc (class=, object=object at ...3545......=0x0, >>>> desc=desc at ...2861...=0x681aa8, nparam=nparam at ...2861...=0) at >>>> gbx_exec.c:1618 >>>> #8 0x0000000000404b68 in main (argc=1, argv=0x7fffffffdfd8) at >>>> gbx.c:416 >>>> >>>> >>>> Jussi >>>> >>>> >>> I confirm the bug. I isolated the loop, and ran it 1000 times. It always >>> freezes sooner or later on my machine. Shame! >>> >>> >> OK, fixed in commit e1a5412f4ffb5ac7af62e78c7b93e2468152b13a. >> >> -- >> Beno?t Minisini >> > > From gambas at ...1... Mon Aug 21 01:47:13 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 21 Aug 2017 01:47:13 +0200 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: Le 21/08/2017 ? 00:44, Jussi Lahtinen a ?crit : > Hmmm... somehow this: > > hWatchFile = Open "/dev/urandom" For Read Watch > > Triggers execution of Process_Read(), instead of File_Read()... > something changed to that? > > > Jussi > No reason for that. Can you try the last commit, I added a fix. Otherwise I have no crash nor memory corruption in your Shell / Exec test, with the loop run 1000 times. -- Beno?t Minisini From mckaygerhard at ...626... Mon Aug 21 02:46:34 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 20 Aug 2017 20:46:34 -0400 Subject: [Gambas-user] Git compilation report In-Reply-To: <517692bc-e578-0243-cca9-e2d362d1d57a@...3340...> References: <20170818155753.GF548@...3600...> <20170818182743.GH548@...3600...> <517692bc-e578-0243-cca9-e2d362d1d57a@...3340...> Message-ID: 2017-08-20 17:44 GMT-04:00 Christof Thalhofer : > You have to get familiar with that program, as it seems to be a little > bit crude first, but I did not find any better "GUI" for Git till now. > that's i like of git, so then no guindo-like gui programs well not so bad, theres : - qgit, (qt, manager per directory git clones - also gitggle (gtk, manager but per git clones) - gittk (tk, only visualizer) - gitg (gtk3 viewer and browser) - magit (emacs integration only, console) - tig (ncurses console interface, recomended for linux real users) well if have amny other please post it > > > With your permission I take advantage of this mail to thank the friends > > Piccoro, Charlie (Karl), Tobias, Adrien, Tony you are all fantastic I am > > honored that you give me yours time. > > Sure, very nice!!! :-) > Great people, all over the world! > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From mckaygerhard at ...626... Mon Aug 21 03:07:21 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 20 Aug 2017 21:07:21 -0400 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal In-Reply-To: References: Message-ID: i think means "mail to bugtraker are doscontinued" Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-20 16:03 GMT-04:00 Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net>: > Le 20/08/2017 ? 22:00, Tony Morehen a ?crit : > >> I know that bugtracker has been discontinued. >> > > Where did you see that? The bugtracker has not been discontinued! > > -- > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Mon Aug 21 03:34:51 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 21 Aug 2017 04:34:51 +0300 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: OK, now I'm experiencing only the old already reported error, which no one else seem to be able to reproduce. IE the variable sTest remains empty (example in mTest.DoTest line 1686). Jussi On Mon, Aug 21, 2017 at 2:47 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 21/08/2017 ? 00:44, Jussi Lahtinen a ?crit : > >> Hmmm... somehow this: >> >> hWatchFile = Open "/dev/urandom" For Read Watch >> >> Triggers execution of Process_Read(), instead of File_Read()... something >> changed to that? >> >> >> Jussi >> >> > No reason for that. Can you try the last commit, I added a fix. > > Otherwise I have no crash nor memory corruption in your Shell / Exec test, > with the loop run 1000 times. > > -- > Beno?t Minisini > From mckaygerhard at ...626... Mon Aug 21 08:06:19 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 21 Aug 2017 02:06:19 -0400 Subject: [Gambas-user] [Gambas-devel] Cloned and edited. How do I get the changes staged, committed, and then uploaded to GitLab? In-Reply-To: References: Message-ID: hi zxMarce its not a problem.. sorry for late answer i'm very busy at the moonlight repository the problem was due you not have access to write, so just only ask to benoit.. and will be write access... but in those cases, the alternate way its to do a fork, that its a personal copy, clone that copy, iupload your changes to your copy, and then from our copy made "a pull request" Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-20 23:27 GMT-04:00 First Last : > Ok, no luck. Looks like I have to be authorized first (which sounds > reasonable). > This is the output I got for GIT PUSH: > > Username for 'https://gitlab.com': zxMarce > Password for 'https://zxMarce at ...3680...': > remote: HTTP Basic: Access denied > fatal: Authentication failed for 'https://gitlab.com/gambas/gambas.git/' > > So, cannot upload today. When someone sees this maybe I get the green > light. > > Regards, > zxMarce. > > On Sun, Aug 20, 2017 at 9:36 PM, PICCORO McKAY Lenz < > mckaygerhard at ...626...> wrote: > >> you forgot the "git add gb.db.odbc/src/main.c" before git commit >> >> its like the commit in git are to "mark what be uploaded to repository" >> >> so then: >> >> git clone https://gitlab.com/gambas/gambas.git gambasdevel >> cd gambasdevel >> git config --global user.email "zxarce-email" >> git config --global user.name "zxMarce" >> editor gb.db.odbc/src/main.c >> git add gb.db.odbc/src/main.c >> git commit -m "[gb.odbc] solve situation of odbc, to the great piccoro >> that really need this artgggg" >> git push >> >> this are in conclusion.. if have any other comment please feel free to >> mail me.. >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-08-20 18:34 GMT-04:00 First Last : >> >>> Guy, grew a pair and did the following: Got my account (zxMarce) at >>> GitLab. Created and added the necessary SSH Keys. >>> >>> Then, cloned with "git clone https://gitlab.com/gambas/gambas.git >>> gambasdevel". >>> Navigated to "gb.db.odbc/src" and changed the old "main.c" with my >>> changed file from ye olde SF SVN tree (kept changes by bgermann from 3 days >>> ago). >>> >>> Then, I guessed I had to commit my changes to my local repo, so I tried >>> "git commit". But Git surprised me by asking my for name and email (wow! >>> heavier than the NSA!). I supplied my GitLab username and email, then tried >>> to commit again, but could not due to changes not staged (?!). The exchange >>> was thus: >>> >>> ~/gambasdevel$ git commit >>> >>> *** Please tell me who you are. >>> >>> Run >>> >>> git config --global user.email "you at ...3681..." >>> git config --global user.name "Your Name" >>> >>> to set your account's default identity. >>> Omit --global to set the identity only in this repository. >>> >>> fatal: unable to auto-detect email address (got 'xxx at ...3682...') >>> ~/gambasdevel$ git config --global user.email "d4t4full at ...626..." >>> ~/gambasdevel$ git config --global user.name "zxMarce" >>> ~/gambasdevel$ git commit >>> On branch master >>> Your branch is up-to-date with 'origin/master'. >>> Changes not staged for commit: >>> modified: gb.db.odbc/src/main.c >>> >>> Untracked files: >>> gb.db.odbc/src/ml_doit.sh >>> >>> no changes added to commit >>> >>> The untracked .sh is a script I made myself to quickly compile and >>> install the ODBC component. It should remain so. >>> But I don't know how to "stage" and then "commit" my changed file. >>> Then, I will have to deal with change-logging and uploading, but I'd >>> like to go "baby steps". >>> >>> TIA, >>> zxMarce. >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Gambas-devel mailing list >>> Gambas-devel at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-devel >>> >>> >> > From adamnt42 at ...626... Mon Aug 21 11:17:53 2017 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 21 Aug 2017 18:47:53 +0930 Subject: [Gambas-user] [Gambas-devel] Fwd: Cloned and edited. How do I get the changes staged, committed, and then uploaded to GitLab? In-Reply-To: <20170821181835.ddaf7cd07cc30b0d139fc72e@...626...> References: <20170821155529.13165eb627dd492e50e717f8@...626...> <20170821181835.ddaf7cd07cc30b0d139fc72e@...626...> Message-ID: <20170821184753.580e5d468b18fa02e257398c@...626...> And just in case you may be wondering why I am so bloody cranky. I had a failed sale today in an auction about 600km away. This will cost me about $600 for the horse and about $2000 for transportation. At about a $250 margin on the day this means that two of us will be eating sausages, at best, for the next 5 or six weeks. I am, not to put too fine a point on it, not REALLY BLOODY HAPPY about moving away from some, any, who cares, SVN based repo. I think at this stage I will be looking for another base development language. So, "so long and thanks for all the fish". -- B Bruen From gambas at ...1... Mon Aug 21 13:33:38 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 21 Aug 2017 13:33:38 +0200 Subject: [Gambas-user] [Gambas-devel] Fwd: Cloned and edited. How do I get the changes staged, committed, and then uploaded to GitLab? In-Reply-To: <20170821184753.580e5d468b18fa02e257398c@...626...> References: <20170821155529.13165eb627dd492e50e717f8@...626...> <20170821181835.ddaf7cd07cc30b0d139fc72e@...626...> <20170821184753.580e5d468b18fa02e257398c@...626...> Message-ID: Le 21/08/2017 ? 11:17, adamnt42 at ...626... a ?crit : > And just in case you may be wondering why I am so bloody cranky. > > I had a failed sale today in an auction about 600km away. This will > cost me about $600 for the horse and about $2000 for transportation. > At about a $250 margin on the day this means that two of us will be > eating sausages, at best, for the next 5 or six weeks. > > I am, not to put too fine a point on it, not REALLY BLOODY HAPPY > about moving away from some, any, who cares, SVN based repo. > > I think at this stage I will be looking for another base development > language. > > So, "so long and thanks for all the fish". > I'm sorry that the switch to git happens in such a bad moment for you. I thought that doing it during the summer where a lot of people are in holidays and business is usually quiet would be a good idea. Alas, for you, it was plain wrong! I didn't really use git before, and Adrien helped me a lot for that. I admit that the switch was done like throwing people in the pool so that they learn how to swim. But I can promise you that once you get used to git, things are easier and faster than with svn. Switching to git was really the right choice. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Mon Aug 21 13:45:52 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 21 Aug 2017 07:45:52 -0400 Subject: [Gambas-user] [Gambas-devel] Fwd: Cloned and edited. How do I get the changes staged, committed, and then uploaded to GitLab? In-Reply-To: References: <20170821155529.13165eb627dd492e50e717f8@...626...> <20170821181835.ddaf7cd07cc30b0d139fc72e@...626...> <20170821184753.580e5d468b18fa02e257398c@...626...> Message-ID: 2017-08-21 7:33 GMT-04:00 Beno?t Minisini via Gambas-user < gambas-user at lists.sourceforge.net>: > Le 21/08/2017 ? 11:17, adamnt42 at ...626... a ?crit : > >> And just in case you may be wondering why I am so bloody cranky. >> > dont worry i'm undestand more thant you think! in my country $1 = 15000Bs so any thing here are very expensive ;-( > >> about moving away from some, any, who cares, SVN based repo. >> > yeah i also dont like when thinks changed! as example, i really hate when my browser sayd "you must update, your browsers are not supported, use firefox, chrome, etc" but as Benoit said, trust me! belive it! one you understand git, will be more easyle.. I MUST CITED SOME: remenber the days of the "offline help" ? well git are the same! > >> I think at this stage I will be looking for another base development >> language. >> >> So, "so long and thanks for all the fish". >> >> > I'm sorry that the switch to git happens in such a bad moment for you. I > thought that doing it during the summer where a lot of people are in > holidays and business is usually quiet would be a good idea. Alas, for you, > it was plain wrong! > > I didn't really use git before, and Adrien helped me a lot for that. > > I admit that the switch was done like throwing people in the pool so that > they learn how to swim. > > But I can promise you that once you get used to git, things are easier and > faster than with svn. Switching to git was really the right choice. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Aug 21 13:52:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 21 Aug 2017 13:52:55 +0200 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: Le 21/08/2017 ? 03:34, Jussi Lahtinen a ?crit : > OK, now I'm experiencing only the old already reported error, which no > one else seem to be able to reproduce. IE the variable sTest remains > empty (example in mTest.DoTest line 1686). > > > Jussi > Can you try that? 1) Uncomment the line #65 in the 'main/gbx/gbx_c_process.c' file ("//#define DEBUG_ME") 2) Run "make" and "sudo make install" again in the "/main" directory (so that you don't reinstall everything). 3) Run your test program, and send me the output. 4) Alternatively, you can just run Exec/Shell test loop, and run it more times (at least 1000 times), as the other tests seem to not have any problem. Regards, -- Beno?t Minisini From gbwilly at ...3606... Mon Aug 21 17:58:30 2017 From: gbwilly at ...3606... (gbwilly at ...3606...) Date: Mon, 21 Aug 2017 15:58:30 -0000 Subject: [Gambas-user] [OFF TOPIC] Trouble creating gitLab account Message-ID: <20170821155830.E7C584E0035@...3683...> I want to create a gitLab user so I can clone gambas and from there do translations, to later do the merge request for Dutch gambas translations. When I register a user I get a reCAPTCHA error. Screenshot01 shows page before registring. Screenshot02 shows page after trying to register with error. Anyone have this experience? gbWilly -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot01.png Type: image/png Size: 123313 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot02.png Type: image/png Size: 122319 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Mon Aug 21 20:14:15 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 21 Aug 2017 20:14:15 +0200 Subject: [Gambas-user] [OFF TOPIC] Trouble creating gitLab account In-Reply-To: <20170821155830.E7C584E0035@...3683...> References: <20170821155830.E7C584E0035@...3683...> Message-ID: Le Mon, 21 Aug 2017 17:58:30 +0200, a ?crit: > I want to create a gitLab user so I can clone gambas and from there do > translations, to later do the merge request for Dutch gambas > translations. > > When I register a user I get a reCAPTCHA error. > > Screenshot01 shows page before registring. > Screenshot02 shows page after trying to register with error. > > Anyone have this experience? > > gbWilly There is a captcha you need to fill in order to register, but it is probably blocked by your ad blocker. Try to disable it temporarily and refresh the page, that should fix your problem. -- Adrien Prokopowicz From gambas.fr at ...626... Mon Aug 21 21:56:32 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 21 Aug 2017 21:56:32 +0200 Subject: [Gambas-user] Balloons, everywhere but when I don't want them. In-Reply-To: <13b5414c-ec38-0224-2d4e-c044aa0c241f@...3602...> References: <20170818155939.faab62dc9b0159878bef9e64@...626...> <20170818132820.GC548@...3600...> <31d0d8c9-3717-cb0b-2e1f-2fc32b09a210@...3602...> <20170818141535.GE548@...3600...> <13b5414c-ec38-0224-2d4e-c044aa0c241f@...3602...> Message-ID: Tony I think it is needed as the notify functions depend on the desktop used... and there is a big amount of possibilities in fact. 2017-08-18 21:14 GMT+02:00 Tony Morehen : > I'm not too sure that a component is needed since there is so little code > involved. I also not sure if a component would be appropriate. I'll put > together a Howto and a demo class and uploaded it in a day or two to the > mailing list. > > > > On 2017-08-18 12:45 PM, Moviga Technologies wrote: >> >> This could perhaps implemented into the gb.Desktop component as >> 'Desktop.Notify()'? >> >> Den 18.08.2017 16:15, skrev Tobias Boege: >> >>> On Fri, 18 Aug 2017, Tony Morehen wrote: >>> >>>> Gambas can talk to the notifications daemon via Dbus. I use this code: >>>> >>>> Private NotifyInterface As String = "org.freedesktop.Notifications" >>>> Private NotifyApp As String = "session://" & NotifyInterface >>>> Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") >>>> >>>> 'does the daemon support icon, body, button to click etc >>>> Dim sArray As String[] = Dbus[NotifyApp][NotifyPath, >>>> NotifyInterface].GetCapabilities() >>>> 'popup (the hintsCollection is an empty collection, iDuration = -1, use >>>> default) >>>> notifyID = Dbus[NotifyApp][NotifyPath, >>>> NotifyInterface].Notify(AppName, notifyID, IconPath,SummaryText, >>>> BodyText, >>>> [TextToSignal, ButtonText], hintsCollection, iDuration) >>>> 'setup dbussignal to get popup closed and and buttonpressed >>>> notifications >>>> >>>> Private NotifySignal as New DbusSignal(Dbus.Session,NotifyInterface, >>>> True) >>>> As "NotifyDbusSignal" >>>> 'signal handler >>>> Public Sub NotifyDbusSignal_Signal(Signal As String, Arguments As >>>> Variant[]) >>>> Select Case Signal >>>> Case "NotificationClosed" >>>> Case "ActionInvoked" >>>> 'Arguments[0] contains TextToSignal from above >>>> End Select >>>> End >>> >>> I just checked the code and this is exactly what libnotify does. >> >> >> ------------------------------------------------------------------------------ >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From chrisml at ...3340... Mon Aug 21 22:00:32 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 21 Aug 2017 22:00:32 +0200 Subject: [Gambas-user] Gambas 3.10 on Launchpad? In-Reply-To: <8549cdfa-9f95-7724-37f8-2dc30b992bfe@...3340...> References: <8549cdfa-9f95-7724-37f8-2dc30b992bfe@...3340...> Message-ID: <0daa44a8-de0a-2444-c0c3-72fb8df97228@...3340...> Hi, I answer to myself: Am 15.08.2017 um 18:36 schrieb Christof Thalhofer: > in Launchpad there still is Gambas 3.9 when will it be upgraded to 3.10? Now it is :-) Thank you, Sebikul! 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 jussi.lahtinen at ...626... Mon Aug 21 23:10:27 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 22 Aug 2017 00:10:27 +0300 Subject: [Gambas-user] Process.Wait freeze In-Reply-To: References: <76bcb560-47ca-c4a4-8b81-398384f4cb13@...1...> Message-ID: OK, I made isolated loop. Here is output of the run. Just search the log for "Main.Main.41: sTest did not contain String 'test', instead: ''". Just in case I also attached the used project. Jussi On Mon, Aug 21, 2017 at 2:52 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 21/08/2017 ? 03:34, Jussi Lahtinen a ?crit : > >> OK, now I'm experiencing only the old already reported error, which no >> one else seem to be able to reproduce. IE the variable sTest remains empty >> (example in mTest.DoTest line 1686). >> >> >> Jussi >> >> > Can you try that? > > 1) Uncomment the line #65 in the 'main/gbx/gbx_c_process.c' file > ("//#define DEBUG_ME") > > 2) Run "make" and "sudo make install" again in the "/main" directory (so > that you don't reinstall everything). > > 3) Run your test program, and send me the output. > > 4) Alternatively, you can just run Exec/Shell test loop, and run it more > times (at least 1000 times), as the other tests seem to not have any > problem. > > Regards, > > -- > Beno?t Minisini > -------------- next part -------------- A non-text attachment was scrubbed... Name: output.txt.tar.gz Type: application/x-gzip Size: 11405 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Isolation-0.0.7.tar.gz Type: application/x-gzip Size: 11662 bytes Desc: not available URL: From owlbrudder at ...626... Tue Aug 22 05:47:41 2017 From: owlbrudder at ...626... (Doug Hutcheson) Date: Tue, 22 Aug 2017 13:47:41 +1000 Subject: [Gambas-user] Connect to and control LibreOffice Message-ID: <1503373661.2537.109.camel@...626...> On the page http://gambaswiki.org/wiki/doc/intro?nh is this information: Gambas is build on top of many free softwares, and could not exist without them. So I would like to thank every people involved in the following projects: * Linux * KDE * GCC and all of the GNU tools, of course. * The Qt toolkit. * The GIMP and its toolkit GTK+. * Libre Office. * The MySQL, PostgreSQL and SQLite database management systems. * And any other libraries used by Gambas. The reference to LibreOffice is interesting. Does it mean there are built-in 'hooks' into LibreOffice? I suppose that would be too much to hope for, but perhaps there is a 'bridge' between LO and Gambas? I need to update several LO spreadsheets in tandem with creating and maintaining a new PostgreSQL database storing the same data but in properly normalised tables.I cannot change the structure of the existing spreadsheets, so just uncompressing them and running search- and-replace processes is not quite good enough. Any pointers to help in this would be welcome, even if only to say I am wasting my time. "8-) Kind regards, Doug From chrisml at ...3340... Tue Aug 22 10:14:00 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 22 Aug 2017 10:14:00 +0200 Subject: [Gambas-user] gambas install instructions In-Reply-To: References: Message-ID: Am 18.08.2017 um 10:46 schrieb PICCORO McKAY Lenz: > but the install section i thnk must reference to stable installs,. and if i > dont remenber that command download the development branch... not a stable > release... Maybe: Clone all with git and then: git checkout $(git tag | sort -V | tail -n 1) 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... Tue Aug 22 12:41:34 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 12:41:34 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: <1503373661.2537.109.camel@...626...> References: <1503373661.2537.109.camel@...626...> Message-ID: Le 22/08/2017 ? 05:47, Doug Hutcheson a ?crit : > On the page http://gambaswiki.org/wiki/doc/intro?nh is this > information: > > Gambas is build on top of many free softwares, and could not exist > without them. > So I would like to thank every people involved in the following > projects: > * Linux > * KDE > * GCC and all of the GNU tools, of course. > * The Qt toolkit. > * The GIMP and its toolkit GTK+. > * Libre Office. > * The MySQL, PostgreSQL and SQLite database management systems. > * And any other libraries used by Gambas. > > The reference to LibreOffice is interesting. Does it mean there are > built-in 'hooks' into LibreOffice? I suppose that would be too much to > hope for, but perhaps there is a 'bridge' between LO and Gambas? I need > to update several LO spreadsheets in tandem with creating and > maintaining a new PostgreSQL database storing the same data but in > properly normalised tables.I cannot change the structure of the > existing spreadsheets, so just uncompressing them and running search- > and-replace processes is not quite good enough. > > Any pointers to help in this would be welcome, even if only to say I am > wasting my time. "8-) > Kind regards, > Doug No, it just means that I used LibreOffice to write some presentation files. :-) When I want to create a LibreOffice file, I do the following: - I create a "template" LibreOffice file that has the look of the final file, and where the data I want to put is replaced by string patterns. - I unzip the LibreOffice file. - I modify the content.xml file by replacing the string patterns with the final data. - I zip the result, and I get my final LibreOffice file. Regards, -- Beno?t Minisini From rwe-sse at ...3629... Tue Aug 22 12:52:37 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Tue, 22 Aug 2017 12:52:37 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: References: <1503373661.2537.109.camel@...626...> Message-ID: <599C0CF5.8000200@...3629...> Am 22.08.2017 12:41, schrieb Beno?t Minisini via Gambas-user: > Le 22/08/2017 ? 05:47, Doug Hutcheson a ?crit : >> On the page http://gambaswiki.org/wiki/doc/intro?nh is this >> information: >> >> Gambas is build on top of many free softwares, and could not exist >> without them. >> So I would like to thank every people involved in the following >> projects: >> * Linux >> * KDE >> * GCC and all of the GNU tools, of course. >> * The Qt toolkit. >> * The GIMP and its toolkit GTK+. >> * Libre Office. >> * The MySQL, PostgreSQL and SQLite database management systems. >> * And any other libraries used by Gambas. >> >> The reference to LibreOffice is interesting. Does it mean there are >> built-in 'hooks' into LibreOffice? I suppose that would be too much to >> hope for, but perhaps there is a 'bridge' between LO and Gambas? I need >> to update several LO spreadsheets in tandem with creating and >> maintaining a new PostgreSQL database storing the same data but in >> properly normalised tables.I cannot change the structure of the >> existing spreadsheets, so just uncompressing them and running search- >> and-replace processes is not quite good enough. >> >> Any pointers to help in this would be welcome, even if only to say I am >> wasting my time. "8-) >> Kind regards, >> Doug > > No, it just means that I used LibreOffice to write some presentation > files. :-) > > When I want to create a LibreOffice file, I do the following: > > - I create a "template" LibreOffice file that has the look of the final > file, and where the data I want to put is replaced by string patterns. > > - I unzip the LibreOffice file. > > - I modify the content.xml file by replacing the string patterns with > the final data. > > - I zip the result, and I get my final LibreOffice file. > > Regards, > Clever :) I will print this and pin it to the wall... Might even be a way to cope with Scribus. Regards Rolf From bagonergi at ...626... Tue Aug 22 13:02:55 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 22 Aug 2017 13:02:55 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: <599C0CF5.8000200@...3629...> References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> Message-ID: Great! Here's a good reason to learn xml :-) I when I had to import (but you can also export I believe) data from Excel or Calc I used csv. Regards Gianluigi 2017-08-22 12:52 GMT+02:00 Rolf-Werner Eilert : > Am 22.08.2017 12:41, schrieb Beno?t Minisini via Gambas-user: > >> Le 22/08/2017 ? 05:47, Doug Hutcheson a ?crit : >> >>> On the page http://gambaswiki.org/wiki/doc/intro?nh is this >>> information: >>> >>> Gambas is build on top of many free softwares, and could not exist >>> without them. >>> So I would like to thank every people involved in the following >>> projects: >>> * Linux >>> * KDE >>> * GCC and all of the GNU tools, of course. >>> * The Qt toolkit. >>> * The GIMP and its toolkit GTK+. >>> * Libre Office. >>> * The MySQL, PostgreSQL and SQLite database management systems. >>> * And any other libraries used by Gambas. >>> >>> The reference to LibreOffice is interesting. Does it mean there are >>> built-in 'hooks' into LibreOffice? I suppose that would be too much to >>> hope for, but perhaps there is a 'bridge' between LO and Gambas? I need >>> to update several LO spreadsheets in tandem with creating and >>> maintaining a new PostgreSQL database storing the same data but in >>> properly normalised tables.I cannot change the structure of the >>> existing spreadsheets, so just uncompressing them and running search- >>> and-replace processes is not quite good enough. >>> >>> Any pointers to help in this would be welcome, even if only to say I am >>> wasting my time. "8-) >>> Kind regards, >>> Doug >>> >> >> No, it just means that I used LibreOffice to write some presentation >> files. :-) >> >> When I want to create a LibreOffice file, I do the following: >> >> - I create a "template" LibreOffice file that has the look of the final >> file, and where the data I want to put is replaced by string patterns. >> >> - I unzip the LibreOffice file. >> >> - I modify the content.xml file by replacing the string patterns with >> the final data. >> >> - I zip the result, and I get my final LibreOffice file. >> >> Regards, >> >> > Clever :) I will print this and pin it to the wall... Might even be a way > to cope with Scribus. > > Regards > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Aug 22 13:05:17 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 13:05:17 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: <599C0CF5.8000200@...3629...> References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> Message-ID: Le 22/08/2017 ? 12:52, Rolf-Werner Eilert a ?crit : > Am 22.08.2017 12:41, schrieb Beno?t Minisini via Gambas-user: >> Le 22/08/2017 ? 05:47, Doug Hutcheson a ?crit : >>> On the page http://gambaswiki.org/wiki/doc/intro?nh is this >>> information: >>> >>> Gambas is build on top of many free softwares, and could not exist >>> without them. >>> So I would like to thank every people involved in the following >>> projects: >>> * Linux >>> * KDE >>> * GCC and all of the GNU tools, of course. >>> * The Qt toolkit. >>> * The GIMP and its toolkit GTK+. >>> * Libre Office. >>> * The MySQL, PostgreSQL and SQLite database management systems. >>> * And any other libraries used by Gambas. >>> >>> The reference to LibreOffice is interesting. Does it mean there are >>> built-in 'hooks' into LibreOffice? I suppose that would be too much to >>> hope for, but perhaps there is a 'bridge' between LO and Gambas? I need >>> to update several LO spreadsheets in tandem with creating and >>> maintaining a new PostgreSQL database storing the same data but in >>> properly normalised tables.I cannot change the structure of the >>> existing spreadsheets, so just uncompressing them and running search- >>> and-replace processes is not quite good enough. >>> >>> Any pointers to help in this would be welcome, even if only to say I am >>> wasting my time. "8-) >>> Kind regards, >>> Doug >> >> No, it just means that I used LibreOffice to write some presentation >> files. :-) >> >> When I want to create a LibreOffice file, I do the following: >> >> - I create a "template" LibreOffice file that has the look of the final >> file, and where the data I want to put is replaced by string patterns. >> >> - I unzip the LibreOffice file. >> >> - I modify the content.xml file by replacing the string patterns with >> the final data. >> >> - I zip the result, and I get my final LibreOffice file. >> >> Regards, >> > > Clever :) I will print this and pin it to the wall... Might even be a > way to cope with Scribus. > > Regards > > Rolf > Of course it is actually more complex: the structure of the content.xml file is sometimes difficult to manage, especially with LibreOffice sheets. Using the XML components may help. Regards, -- Beno?t Minisini From rwe-sse at ...3629... Tue Aug 22 15:39:43 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Tue, 22 Aug 2017 15:39:43 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> Message-ID: <599C341F.2020904@...3629...> Am 22.08.2017 13:05, schrieb Beno?t Minisini via Gambas-user: > Le 22/08/2017 ? 12:52, Rolf-Werner Eilert a ?crit : >> Am 22.08.2017 12:41, schrieb Beno?t Minisini via Gambas-user: >>> Le 22/08/2017 ? 05:47, Doug Hutcheson a ?crit : >>>> On the page http://gambaswiki.org/wiki/doc/intro?nh is this >>>> information: >>>> >>>> Gambas is build on top of many free softwares, and could not exist >>>> without them. >>>> So I would like to thank every people involved in the following >>>> projects: >>>> * Linux >>>> * KDE >>>> * GCC and all of the GNU tools, of course. >>>> * The Qt toolkit. >>>> * The GIMP and its toolkit GTK+. >>>> * Libre Office. >>>> * The MySQL, PostgreSQL and SQLite database management systems. >>>> * And any other libraries used by Gambas. >>>> >>>> The reference to LibreOffice is interesting. Does it mean there are >>>> built-in 'hooks' into LibreOffice? I suppose that would be too much to >>>> hope for, but perhaps there is a 'bridge' between LO and Gambas? I need >>>> to update several LO spreadsheets in tandem with creating and >>>> maintaining a new PostgreSQL database storing the same data but in >>>> properly normalised tables.I cannot change the structure of the >>>> existing spreadsheets, so just uncompressing them and running search- >>>> and-replace processes is not quite good enough. >>>> >>>> Any pointers to help in this would be welcome, even if only to say I am >>>> wasting my time. "8-) >>>> Kind regards, >>>> Doug >>> >>> No, it just means that I used LibreOffice to write some presentation >>> files. :-) >>> >>> When I want to create a LibreOffice file, I do the following: >>> >>> - I create a "template" LibreOffice file that has the look of the final >>> file, and where the data I want to put is replaced by string patterns. >>> >>> - I unzip the LibreOffice file. >>> >>> - I modify the content.xml file by replacing the string patterns with >>> the final data. >>> >>> - I zip the result, and I get my final LibreOffice file. >>> >>> Regards, >>> >> >> Clever :) I will print this and pin it to the wall... Might even be a >> way to cope with Scribus. >> >> Regards >> >> Rolf >> > > Of course it is actually more complex: the structure of the content.xml > file is sometimes difficult to manage, especially with LibreOffice > sheets. Using the XML components may help. > > Regards, > Yeah, ok, I am fully aware of that. But if I would need a single sheet of paper with some graphical stuff (a form to fill and check some squares etc.) this might help. Regards Rolf From gambas.fr at ...626... Tue Aug 22 17:35:32 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 22 Aug 2017 17:35:32 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: <599C341F.2020904@...3629...> References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> <599C341F.2020904@...3629...> Message-ID: hum or this :-) ... on the road... For now it display the grid, with zoom abilities Have multiple selection possibilities each cells have Background and borders properties each cells have font properties I have begin the work on the resolver based on Gambas expression class and standard spreadsheet functions. The goal is to have an interactive spreadsheet. with basic tools. Then it will be possible to add then a sub component to add loading functions. But my goal is to have it as simple as possible. see you soon 2017-08-22 15:39 GMT+02:00 Rolf-Werner Eilert : > Am 22.08.2017 13:05, schrieb Beno?t Minisini via Gambas-user: >> >> Le 22/08/2017 ? 12:52, Rolf-Werner Eilert a ?crit : >>> >>> Am 22.08.2017 12:41, schrieb Beno?t Minisini via Gambas-user: >>>> >>>> Le 22/08/2017 ? 05:47, Doug Hutcheson a ?crit : >>>>> >>>>> On the page http://gambaswiki.org/wiki/doc/intro?nh is this >>>>> information: >>>>> >>>>> Gambas is build on top of many free softwares, and could not exist >>>>> without them. >>>>> So I would like to thank every people involved in the following >>>>> projects: >>>>> * Linux >>>>> * KDE >>>>> * GCC and all of the GNU tools, of course. >>>>> * The Qt toolkit. >>>>> * The GIMP and its toolkit GTK+. >>>>> * Libre Office. >>>>> * The MySQL, PostgreSQL and SQLite database management systems. >>>>> * And any other libraries used by Gambas. >>>>> >>>>> The reference to LibreOffice is interesting. Does it mean there are >>>>> built-in 'hooks' into LibreOffice? I suppose that would be too much to >>>>> hope for, but perhaps there is a 'bridge' between LO and Gambas? I need >>>>> to update several LO spreadsheets in tandem with creating and >>>>> maintaining a new PostgreSQL database storing the same data but in >>>>> properly normalised tables.I cannot change the structure of the >>>>> existing spreadsheets, so just uncompressing them and running search- >>>>> and-replace processes is not quite good enough. >>>>> >>>>> Any pointers to help in this would be welcome, even if only to say I am >>>>> wasting my time. "8-) >>>>> Kind regards, >>>>> Doug >>>> >>>> >>>> No, it just means that I used LibreOffice to write some presentation >>>> files. :-) >>>> >>>> When I want to create a LibreOffice file, I do the following: >>>> >>>> - I create a "template" LibreOffice file that has the look of the final >>>> file, and where the data I want to put is replaced by string patterns. >>>> >>>> - I unzip the LibreOffice file. >>>> >>>> - I modify the content.xml file by replacing the string patterns with >>>> the final data. >>>> >>>> - I zip the result, and I get my final LibreOffice file. >>>> >>>> Regards, >>>> >>> >>> Clever :) I will print this and pin it to the wall... Might even be a >>> way to cope with Scribus. >>> >>> Regards >>> >>> Rolf >>> >> >> Of course it is actually more complex: the structure of the content.xml >> file is sometimes difficult to manage, especially with LibreOffice >> sheets. Using the XML components may help. >> >> Regards, >> > > Yeah, ok, I am fully aware of that. But if I would need a single sheet of > paper with some graphical stuff (a form to fill and check some squares etc.) > this might help. > > Regards > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20170822_172922.png Type: image/png Size: 22243 bytes Desc: not available URL: From gambas at ...1... Tue Aug 22 17:46:14 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 17:46:14 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> <599C341F.2020904@...3629...> Message-ID: <519b53cc-157f-c819-d598-74a52241663c@...1...> Le 22/08/2017 ? 17:35, Fabien Bodard a ?crit : > hum or this :-) ... on the road... > And as I just fixed the TerminalView control, you can even finish the gb.term.form component. :-) -- Beno?t Minisini From bagonergi at ...626... Tue Aug 22 18:14:03 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 22 Aug 2017 18:14:03 +0200 Subject: [Gambas-user] Different digit number in master version Message-ID: If you have already been asked, I apologize but I haven't seen it: Why on git the master version has a number more than my version? 3.10.90 f05e6bc (master) => f05e6bc0 Regards Gianluigi From taboege at ...626... Tue Aug 22 18:22:50 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 22 Aug 2017 18:22:50 +0200 Subject: [Gambas-user] Different digit number in master version In-Reply-To: References: Message-ID: <20170822162250.GM585@...3600...> On Tue, 22 Aug 2017, Gianluigi wrote: > If you have already been asked, I apologize but I haven't seen it: > Why on git the master version has a number more than my version? > 3.10.90 f05e6bc (master) => f05e6bc0 > Because it's newer. The x.y.90 version signifies the "rolling" unstable development version of Gambas, which is all the snapshots of Gambas that happen between two stable releases. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From tmorehen at ...3602... Tue Aug 22 18:34:20 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Tue, 22 Aug 2017 12:34:20 -0400 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: <519b53cc-157f-c819-d598-74a52241663c@...1...> References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> <599C341F.2020904@...3629...> <519b53cc-157f-c819-d598-74a52241663c@...1...> Message-ID: You're not fixing TerminalView's Paste? On 2017-08-22 11:46 AM, Beno?t Minisini via Gambas-user wrote: > Le 22/08/2017 ? 17:35, Fabien Bodard a ?crit : >> hum or this :-) ... on the road... >> > > And as I just fixed the TerminalView control, you can even finish the > gb.term.form component. :-) > From gambas at ...1... Tue Aug 22 18:54:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 18:54:55 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> <599C341F.2020904@...3629...> <519b53cc-157f-c819-d598-74a52241663c@...1...> Message-ID: <9015c5b5-3a5f-9191-a837-811f3377a602@...1...> Le 22/08/2017 ? 18:34, Tony Morehen a ?crit : > You're not fixing TerminalView's Paste? > You have closed your merge request, so I thought you wanted to make a new one with the changes I suggested. -- Beno?t Minisini From gambas at ...1... Tue Aug 22 18:55:44 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 18:55:44 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: <9015c5b5-3a5f-9191-a837-811f3377a602@...1...> References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> <599C341F.2020904@...3629...> <519b53cc-157f-c819-d598-74a52241663c@...1...> <9015c5b5-3a5f-9191-a837-811f3377a602@...1...> Message-ID: <398ed265-c866-8058-1a3b-80027988d564@...1...> Le 22/08/2017 ? 18:54, Beno?t Minisini via Gambas-user a ?crit : > Le 22/08/2017 ? 18:34, Tony Morehen a ?crit : >> You're not fixing TerminalView's Paste? >> > > You have closed your merge request, so I thought you wanted to make a > new one with the changes I suggested. > And if you want to modify the DesktopFile.class, make another merge request. Regards, -- Beno?t Minisini From gambas at ...1... Tue Aug 22 19:13:23 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 19:13:23 +0200 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: <03ccf5a0-d43d-b68c-da19-c3eaff50b08c@...3602...> References: <1503373661.2537.109.camel@...626...> <599C0CF5.8000200@...3629...> <599C341F.2020904@...3629...> <519b53cc-157f-c819-d598-74a52241663c@...1...> <9015c5b5-3a5f-9191-a837-811f3377a602@...1...> <398ed265-c866-8058-1a3b-80027988d564@...1...> <03ccf5a0-d43d-b68c-da19-c3eaff50b08c@...3602...> Message-ID: Le 22/08/2017 ? 19:07, Tony Morehen a ?crit : > I won't be submitting any merge requests. I made the mistake of > deleting my fork of Gambas. That's why my previous merge requests were > deleted. Now gitlab won't let me do a second fork, some sort of name > collision. > The merge request was not deleted, it was closed. You can see the changes again, as well as your DesktopFile.class on gitlab.com. So I will take your TerminalView changes and merge them by hand, and I suggest you clone the repository so that you can make a merge request again with your DesktopFile class. Regards, -- Beno?t Minisini From bagonergi at ...626... Tue Aug 22 20:11:27 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 22 Aug 2017 20:11:27 +0200 Subject: [Gambas-user] Different digit number in master version In-Reply-To: <20170822162250.GM585@...3600...> References: <20170822162250.GM585@...3600...> Message-ID: Sorry Tobias, but I don't have understod. I refer to the f05e6bc master version code, which I get from gbx3 -V as compared to what is in Commit f05e6bc[0] which has one number more, in this case zero. You mean that I not extracted the latest version? Regards Gianluigi 2017-08-22 18:22 GMT+02:00 Tobias Boege : > On Tue, 22 Aug 2017, Gianluigi wrote: > > If you have already been asked, I apologize but I haven't seen it: > > Why on git the master version has a number more than my version? > > 3.10.90 f05e6bc (master) => f05e6bc0 > > > > Because it's newer. The x.y.90 version signifies the "rolling" unstable > development version of Gambas, which is all the snapshots of Gambas that > happen between two stable releases. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Tue Aug 22 20:27:30 2017 From: taboege at ...626... (Tobias Boege) Date: Tue, 22 Aug 2017 20:27:30 +0200 Subject: [Gambas-user] Different digit number in master version In-Reply-To: References: <20170822162250.GM585@...3600...> Message-ID: <20170822182730.GN585@...3600...> On Tue, 22 Aug 2017, Gianluigi wrote: > Sorry Tobias, > but I don't have understod. > I refer to the f05e6bc master version code, which I get from gbx3 -V as > compared to what is in Commit f05e6bc[0] which has one number more, in this > case zero. > You mean that I not extracted the latest version? > I'm not sure I understand which difference you talk about, but could it be that you're unaware that git commit IDs are SHA-1 hashes? They are pretty long and the current commit is identified by this hash: f05e6bc0ca31f4211d46201618a79f65e78f16ae Now "gbx3 -V" shortens this to the first 8 characters in the hope that these still uniquely identify the commit, and whatever other source of the commit hash you're looking at shortens it to 7 characters. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Tue Aug 22 21:21:54 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 22 Aug 2017 21:21:54 +0200 Subject: [Gambas-user] Different digit number in master version In-Reply-To: <20170822182730.GN585@...3600...> References: <20170822162250.GM585@...3600...> <20170822182730.GN585@...3600...> Message-ID: Sorry Tobias, You're right, it's the fault of my bad English. Now I understand, thank you very much. Regards Gianluigi 2017-08-22 20:27 GMT+02:00 Tobias Boege : > On Tue, 22 Aug 2017, Gianluigi wrote: > > Sorry Tobias, > > but I don't have understod. > > I refer to the f05e6bc master version code, which I get from gbx3 -V as > > compared to what is in Commit f05e6bc[0] which has one number more, in > this > > case zero. > > You mean that I not extracted the latest version? > > > > I'm not sure I understand which difference you talk about, but could it be > that you're unaware that git commit IDs are SHA-1 hashes? They are pretty > long and the current commit is identified by this hash: > > f05e6bc0ca31f4211d46201618a79f65e78f16ae > > Now "gbx3 -V" shortens this to the first 8 characters in the hope that > these > still uniquely identify the commit, and whatever other source of the commit > hash you're looking at shortens it to 7 characters. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Tue Aug 22 22:16:13 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 22 Aug 2017 22:16:13 +0200 Subject: [Gambas-user] Different digit number in master version In-Reply-To: References: Message-ID: <2032fbdf-0e25-86b3-1441-79aa6f810b73@...3340...> Am 22.08.2017 um 18:14 schrieb Gianluigi: > If you have already been asked, I apologize but I haven't seen it: > Why on git the master version has a number more than my version? > 3.10.90 f05e6bc (master) => f05e6bc0 These are both part of the real address of the commit: f05e6bc0ca31f4211d46201618a79f65e78f16ae You can use the smallest unique part to address it. 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 jussi.lahtinen at ...626... Tue Aug 22 22:38:36 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 22 Aug 2017 23:38:36 +0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: How do I update sources overwriting local changes? Jussi On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen wrote: > OK, that solves the problem. Thanks! > > > Jussi > > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < > adrien.prokopowicz at ...626...> wrote: > >> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < >> jussi.lahtinen at ...626...> a ?crit: >> >> How do you get the change log with git? "git log" shows only one change >>> (most recent?). >>> Is this because I cloned the sources with "git clone --depth=1 >>> https://gitlab.com/gambas/gambas.git"? >>> >>> Even when I want only the latest dev version, I would still like to know >>> what has changed. It's quite important if you do bug hunting. >>> >>> >>> Jussi >>> >> >> Yes, when you use --depth=1, you only retrieve the latest commit, so it >> can't know >> about anything past it. >> If you want to have the information locally, you can use the following : >> >> git fetch --unshallow >> >> It will retrieve the missing pieces and you will end up with a full clone, >> as if you just ran git clone without the --depth argument. >> >> You can also view the latest commits directly on gitlab here : >> >> https://gitlab.com/gambas/gambas/commits/master >> >> ? or as a RSS feed here : >> >> https://gitlab.com/gambas/gambas/commits/master?format=atom >> >> If you have a Gitlab account, you can also configure it so it will send >> you >> email notifications when something happens on the repository. >> >> >> -- >> Adrien Prokopowicz >> >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Tue Aug 22 22:54:24 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 22:54:24 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1134: The scrollbar in gb.form.terminal is virtually illegible against a black background. In-Reply-To: <599c9991.c8aedf0a.9f397.8b88SMTPIN_ADDED_BROKEN@...2392...> References: <599c9991.c8aedf0a.9f397.8b88SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1134: The scrollbar in gb.form.terminal is virtually illegible against a black background. Date?: Tue, 22 Aug 2017 20:52:32 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1134&from=L21haW4- Comment #1 by Beno?t MINISINI: Which widget theme do you use? Can you provide a screenshot of the problem? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Tue Aug 22 22:54:24 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 22:54:24 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal In-Reply-To: <599c99ba.8d061c0a.837f7.4291SMTPIN_ADDED_BROKEN@...2392...> References: <599c99ba.8d061c0a.837f7.4291SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal Date?: Tue, 22 Aug 2017 20:53:14 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1133&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/4ccf87a00bfd993442aad7607972e52caeaf8700 Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Tue Aug 22 22:54:25 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 22:54:25 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression In-Reply-To: <599c99d5.8fb1df0a.5b8d3.f4c1SMTPIN_ADDED_BROKEN@...2392...> References: <599c99d5.8fb1df0a.5b8d3.f4c1SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <2a1f7b5a-2f01-a1da-2f0d-ba19168f9670@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression Date?: Tue, 22 Aug 2017 20:53:40 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1131&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From gambas at ...1... Tue Aug 22 22:59:44 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 22 Aug 2017 22:59:44 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression In-Reply-To: <599c9a4c.8dce1c0a.5a349.4aeaSMTPIN_ADDED_BROKEN@...2392...> References: <599c9a4c.8dce1c0a.5a349.4aeaSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <549ec4ad-51fe-484a-0a12-3fba5dce9ba6@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression Date?: Tue, 22 Aug 2017 20:55:40 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1131&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/46f31edffce6b32ba1fb3652aeb5910f0d90606c Beno?t MINISINI changed the state of the bug to: Fixed. From owlbrudder at ...626... Wed Aug 23 00:47:38 2017 From: owlbrudder at ...626... (Doug Hutcheson) Date: Wed, 23 Aug 2017 08:47:38 +1000 Subject: [Gambas-user] Connect to and control LibreOffice In-Reply-To: References: <1503373661.2537.109.camel@...626...> Message-ID: <1503442058.2537.149.camel@...626...> On Tue, 2017-08-22 at 12:41 +0200, Beno?t Minisini wrote: > Le 22/08/2017 ? 05:47, Doug Hutcheson a ?crit : > > On the page http://gambaswiki.org/wiki/doc/intro?nh is this > > information: > > > > Gambas is build on top of many free softwares, and could not exist > > without them. > > So I would like to thank every people involved in the following > > projects: > > * Linux > > * KDE > > * GCC and all of the GNU tools, of course. > > * The Qt toolkit. > > * The GIMP and its toolkit GTK+. > > * Libre Office. > > * The MySQL, PostgreSQL and SQLite database management systems. > > * And any other libraries used by Gambas. > > > > The reference to LibreOffice is interesting. Does it mean there are > > built-in 'hooks' into LibreOffice? I suppose that would be too much > > to > > hope for, but perhaps there is a 'bridge' between LO and Gambas? I > > need > > to update several LO spreadsheets in tandem with creating and > > maintaining a new PostgreSQL database storing the same data but in > > properly normalised tables.I cannot change the structure of the > > existing spreadsheets, so just uncompressing them and running > > search- > > and-replace processes is not quite good enough. > > > > Any pointers to help in this would be welcome, even if only to say > > I am > > wasting my time. "8-) > > Kind regards, > > Doug > > No, it just means that I used LibreOffice to write some presentation > files. :-) > > When I want to create a LibreOffice file, I do the following: > > - I create a "template" LibreOffice file that has the look of the > final > file, and where the data I want to put is replaced by string > patterns. > > - I unzip the LibreOffice file. > > - I modify the content.xml file by replacing the string patterns > with > the final data. > > - I zip the result, and I get my final LibreOffice file. > > Regards, > Thank you for the clarification. I might be able to work with that, as the uncompressed file would be available for both reading and writing. I am also looking at controlling LibreOffice with python, as there is a fully functional 'bridge' already in existence and Gambas has a python component. As you can see, I am still trying to put the pieces of the puzzle together to achieve a useful outcome. If I get the result I am hoping for, I will post the answer here. Kind regards, Doug From mckaygerhard at ...626... Wed Aug 23 02:28:28 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 22 Aug 2017 20:28:28 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: git fetch;git pull inside the drectory Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen : > How do I update sources overwriting local changes? > > > Jussi > > On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen > > wrote: > > > OK, that solves the problem. Thanks! > > > > > > Jussi > > > > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < > > adrien.prokopowicz at ...626...> wrote: > > > >> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < > >> jussi.lahtinen at ...626...> a ?crit: > >> > >> How do you get the change log with git? "git log" shows only one change > >>> (most recent?). > >>> Is this because I cloned the sources with "git clone --depth=1 > >>> https://gitlab.com/gambas/gambas.git"? > >>> > >>> Even when I want only the latest dev version, I would still like to > know > >>> what has changed. It's quite important if you do bug hunting. > >>> > >>> > >>> Jussi > >>> > >> > >> Yes, when you use --depth=1, you only retrieve the latest commit, so it > >> can't know > >> about anything past it. > >> If you want to have the information locally, you can use the following : > >> > >> git fetch --unshallow > >> > >> It will retrieve the missing pieces and you will end up with a full > clone, > >> as if you just ran git clone without the --depth argument. > >> > >> You can also view the latest commits directly on gitlab here : > >> > >> https://gitlab.com/gambas/gambas/commits/master > >> > >> ? or as a RSS feed here : > >> > >> https://gitlab.com/gambas/gambas/commits/master?format=atom > >> > >> If you have a Gitlab account, you can also configure it so it will send > >> you > >> email notifications when something happens on the repository. > >> > >> > >> -- > >> Adrien Prokopowicz > >> > >> ------------------------------------------------------------ > >> ------------------ > >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Wed Aug 23 02:29:34 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 22 Aug 2017 20:29:34 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: sorry to overriding local change u must get back : git checkout -- git fetch;git pull Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen : > How do I update sources overwriting local changes? > > > Jussi > > On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen > > wrote: > > > OK, that solves the problem. Thanks! > > > > > > Jussi > > > > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < > > adrien.prokopowicz at ...626...> wrote: > > > >> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < > >> jussi.lahtinen at ...626...> a ?crit: > >> > >> How do you get the change log with git? "git log" shows only one change > >>> (most recent?). > >>> Is this because I cloned the sources with "git clone --depth=1 > >>> https://gitlab.com/gambas/gambas.git"? > >>> > >>> Even when I want only the latest dev version, I would still like to > know > >>> what has changed. It's quite important if you do bug hunting. > >>> > >>> > >>> Jussi > >>> > >> > >> Yes, when you use --depth=1, you only retrieve the latest commit, so it > >> can't know > >> about anything past it. > >> If you want to have the information locally, you can use the following : > >> > >> git fetch --unshallow > >> > >> It will retrieve the missing pieces and you will end up with a full > clone, > >> as if you just ran git clone without the --depth argument. > >> > >> You can also view the latest commits directly on gitlab here : > >> > >> https://gitlab.com/gambas/gambas/commits/master > >> > >> ? or as a RSS feed here : > >> > >> https://gitlab.com/gambas/gambas/commits/master?format=atom > >> > >> If you have a Gitlab account, you can also configure it so it will send > >> you > >> email notifications when something happens on the repository. > >> > >> > >> -- > >> Adrien Prokopowicz > >> > >> ------------------------------------------------------------ > >> ------------------ > >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Aug 23 03:04:40 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 03:04:40 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: References: Message-ID: <780e5d3c-e16c-de75-fc3b-78e9e03ed259@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 01:02:22 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- Sometimes "Print" function in a Timer routine prints also a kind of \t Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- In Timer routine, often, "Print" function prints in console also a kind of \t. Example: Private tempus As New Timer As "Tempus" Public Sub Main() With tempus .Delay = 1000 .Start End With End Public Sub Tempus_Timer() Print "aaaaaaaaaa" Print "bbbbb" End Here results in console: aaaaaaaaaa bbbbb aaaaaaaaaa bbbbb System information ------------------ [System] Gambas=3.10.90 b99546d (master) OperatingSystem=Linux Kernel=4.11.0-14-generic Architecture=x86_64 Distribution=Linux Mint 18.2 Sonya Desktop=CINNAMON Theme=Cleanlooks Language=it_IT.UTF-8 Memory=3949M [Libraries] Cairo=libcairo.so.2.11400.6 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From gambas at ...1... Wed Aug 23 03:09:33 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 03:09:33 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599cd4ef.03541c0a.ecab9.ddb4SMTPIN_ADDED_BROKEN@...2392...> References: <599cd4ef.03541c0a.ecab9.ddb4SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <51b5a447-940d-0ed1-7f76-c5d13b7995be@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 01:05:50 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- vuott VUOTT added an attachment: Print-0.0.1.tar.gz From gambas at ...1... Wed Aug 23 03:38:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 03:38:55 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599cdca9.0a861c0a.112b2.ea8aSMTPIN_ADDED_BROKEN@...2392...> References: <599cdca9.0a861c0a.112b2.ea8aSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 01:38:48 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- Comment #1 by Beno?t MINISINI: Did you really use the latest commit? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Wed Aug 23 03:43:48 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 03:43:48 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1129: lybrary extern return illegal instruction In-Reply-To: <599cdda2.9aa7df0a.16b74.8583SMTPIN_ADDED_BROKEN@...2392...> References: <599cdda2.9aa7df0a.16b74.8583SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <1f804f42-2b7e-2659-a00d-4d868ea9d614@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1129: lybrary extern return illegal instruction Date?: Wed, 23 Aug 2017 01:42:58 GMT De?: bugtracker at ...3416... Pour?: ppbienvault at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1129&from=L21haW4- Comment #1 by Beno?t MINISINI: Your extern declaration must be accurate with the declaration of your function in C, which is apparently not the case. Beno?t MINISINI changed the state of the bug to: Rejected. From gambas at ...1... Wed Aug 23 03:43:48 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 03:43:48 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1130: JSON.Encode serializes null objects as "undefined" In-Reply-To: <599cddcd.930a1c0a.264f5.ed2aSMTPIN_ADDED_BROKEN@...2392...> References: <599cddcd.930a1c0a.264f5.ed2aSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <4671a0ba-943c-6c2a-5d75-bbb21c853ff5@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1130: JSON.Encode serializes null objects as "undefined" Date?: Wed, 23 Aug 2017 01:43:41 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1130&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From gambas at ...1... Wed Aug 23 03:48:59 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 03:48:59 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1130: JSON.Encode serializes null objects as "undefined" In-Reply-To: <599cdecd.425a1c0a.1b87a.ec3bSMTPIN_ADDED_BROKEN@...2392...> References: <599cdecd.425a1c0a.1b87a.ec3bSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1130: JSON.Encode serializes null objects as "undefined" Date?: Wed, 23 Aug 2017 01:47:57 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1130&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/b77004d014e384531253a85add249e899057280b Beno?t MINISINI changed the state of the bug to: Fixed. From tmorehen at ...3602... Wed Aug 23 04:30:01 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Tue, 22 Aug 2017 22:30:01 -0400 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1134: The scrollbar in gb.form.terminal is virtually illegible against a black background. In-Reply-To: References: <599c9991.c8aedf0a.9f397.8b88SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <1cdbe85e-f500-1846-6582-ca976283534f@...3602...> I was using Breeze Dark and it was responsible for the invisible scroll bars. I've switched themes so this bug should be marked Rejected. On 2017-08-22 04:54 PM, Beno?t Minisini via Gambas-user wrote: > > > -------- Message transf?r? -------- > Sujet : [Gambas Bug Tracker] Bug #1134: The scrollbar in > gb.form.terminal is virtually illegible against a black background. > Date : Tue, 22 Aug 2017 20:52:32 GMT > De : bugtracker at ...3416... > Pour : tmorehen at ...3634..., g4mba5 at ...626... > > http://gambaswiki.org/bugtracker/edit?object=BUG.1134&from=L21haW4- > > Comment #1 by Beno?t MINISINI: > > Which widget theme do you use? Can you provide a screenshot of the > problem? > > Beno?t MINISINI changed the state of the bug to: NeedsInfo. > > > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Aug 23 04:49:32 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 04:49:32 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1123: Desktop.SendMail in its attachment field gives error if file name contains a comma In-Reply-To: <599cec3f.0da7df0a.bb6b5.b79aSMTPIN_ADDED_BROKEN@...2392...> References: <599cec3f.0da7df0a.bb6b5.b79aSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <53f2ba83-8c96-2dac-afe0-38dd664d50ef@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1123: Desktop.SendMail in its attachment field gives error if file name contains a comma Date?: Wed, 23 Aug 2017 02:45:18 GMT De?: bugtracker at ...3416... Pour?: uno.cero at ...3595..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1123&from=L21haW4- Comment #1 by Beno?t MINISINI: This is a bug in xdg-email that does not realize that thunderbird can't take comma in file names, unless you use an encoded URL. The bug can be fixed by patching xdg-email so that it sends an encoded URL t Thunderbird, and not a filename. Beno?t MINISINI changed the state of the bug to: Upstream. From gambas at ...1... Wed Aug 23 04:49:33 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 04:49:33 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599cecaf.0481df0a.e1b89.b1c5SMTPIN_ADDED_BROKEN@...2392...> References: <599cecaf.0481df0a.e1b89.b1c5SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <50a69af7-c83e-670e-4f80-9efd375228c0@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 02:47:11 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From jessacandelearia at ...626... Wed Aug 23 06:59:53 2017 From: jessacandelearia at ...626... (Jessa) Date: Wed, 23 Aug 2017 12:59:53 +0800 Subject: [Gambas-user] Database help Message-ID: Good day, how to create a simple database with picture in gambas? From taboege at ...626... Wed Aug 23 07:10:40 2017 From: taboege at ...626... (Tobias Boege) Date: Wed, 23 Aug 2017 07:10:40 +0200 Subject: [Gambas-user] Database help In-Reply-To: References: Message-ID: <20170823051040.GO585@...3600...> On Wed, 23 Aug 2017, Jessa wrote: > Good day, how to create a simple database with picture in gambas? > Have you seen the example project called "PictureDatabase" on the software farm? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Wed Aug 23 11:37:37 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 23 Aug 2017 11:37:37 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: or maby statch ? 2017-08-23 2:29 GMT+02:00 PICCORO McKAY Lenz : > sorry to overriding local change u must get back : > > git checkout -- > git fetch;git pull > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen : > >> How do I update sources overwriting local changes? >> >> >> Jussi >> >> On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen > > >> wrote: >> >> > OK, that solves the problem. Thanks! >> > >> > >> > Jussi >> > >> > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < >> > adrien.prokopowicz at ...626...> wrote: >> > >> >> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < >> >> jussi.lahtinen at ...626...> a ?crit: >> >> >> >> How do you get the change log with git? "git log" shows only one change >> >>> (most recent?). >> >>> Is this because I cloned the sources with "git clone --depth=1 >> >>> https://gitlab.com/gambas/gambas.git"? >> >>> >> >>> Even when I want only the latest dev version, I would still like to >> know >> >>> what has changed. It's quite important if you do bug hunting. >> >>> >> >>> >> >>> Jussi >> >>> >> >> >> >> Yes, when you use --depth=1, you only retrieve the latest commit, so it >> >> can't know >> >> about anything past it. >> >> If you want to have the information locally, you can use the following : >> >> >> >> git fetch --unshallow >> >> >> >> It will retrieve the missing pieces and you will end up with a full >> clone, >> >> as if you just ran git clone without the --depth argument. >> >> >> >> You can also view the latest commits directly on gitlab here : >> >> >> >> https://gitlab.com/gambas/gambas/commits/master >> >> >> >> ? or as a RSS feed here : >> >> >> >> https://gitlab.com/gambas/gambas/commits/master?format=atom >> >> >> >> If you have a Gitlab account, you can also configure it so it will send >> >> you >> >> email notifications when something happens on the repository. >> >> >> >> >> >> -- >> >> Adrien Prokopowicz >> >> >> >> ------------------------------------------------------------ >> >> ------------------ >> >> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Wed Aug 23 12:07:42 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 12:07:42 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599cfadb.6794df0a.87b64.ce39SMTPIN_ADDED_BROKEN@...2392...> References: <599cfadb.6794df0a.87b64.ce39SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 03:47:38 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- Comment #3 by Tony MOREHEN: Whoops. The original should read "'cd /home/tony/.config'\\n" From gambas at ...1... Wed Aug 23 12:07:42 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 12:07:42 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599cfa94.91d31c0a.8a073.2d90SMTPIN_ADDED_BROKEN@...2392...> References: <599cfa94.91d31c0a.8a073.2d90SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <4efee886-a93d-9b40-563f-bc33866f7b6c@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 03:46:27 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- Comment #2 by Tony MOREHEN: This may actually be related to the latest changes to TerminalView. I was using the Input() function to send a command "'cd /home/tony/.config'\n" and got the same staircase pattern on the screen. Bash did the cd ok. Switching to "'cd /home/tony/.config'\r" fixed the screen response. From mckaygerhard at ...626... Wed Aug 23 14:03:55 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Aug 2017 08:03:55 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: yeah, but with statch you need firs made it a "mark" i that case he dont have that mark Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-23 5:37 GMT-04:00 Fabien Bodard : > or maby statch ? > > 2017-08-23 2:29 GMT+02:00 PICCORO McKAY Lenz : > > sorry to overriding local change u must get back : > > > > git checkout -- > > git fetch;git pull > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen : > > > >> How do I update sources overwriting local changes? > >> > >> > >> Jussi > >> > >> On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen < > jussi.lahtinen at ...626... > >> > > >> wrote: > >> > >> > OK, that solves the problem. Thanks! > >> > > >> > > >> > Jussi > >> > > >> > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < > >> > adrien.prokopowicz at ...626...> wrote: > >> > > >> >> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < > >> >> jussi.lahtinen at ...626...> a ?crit: > >> >> > >> >> How do you get the change log with git? "git log" shows only one > change > >> >>> (most recent?). > >> >>> Is this because I cloned the sources with "git clone --depth=1 > >> >>> https://gitlab.com/gambas/gambas.git"? > >> >>> > >> >>> Even when I want only the latest dev version, I would still like to > >> know > >> >>> what has changed. It's quite important if you do bug hunting. > >> >>> > >> >>> > >> >>> Jussi > >> >>> > >> >> > >> >> Yes, when you use --depth=1, you only retrieve the latest commit, so > it > >> >> can't know > >> >> about anything past it. > >> >> If you want to have the information locally, you can use the > following : > >> >> > >> >> git fetch --unshallow > >> >> > >> >> It will retrieve the missing pieces and you will end up with a full > >> clone, > >> >> as if you just ran git clone without the --depth argument. > >> >> > >> >> You can also view the latest commits directly on gitlab here : > >> >> > >> >> https://gitlab.com/gambas/gambas/commits/master > >> >> > >> >> ? or as a RSS feed here : > >> >> > >> >> https://gitlab.com/gambas/gambas/commits/master?format=atom > >> >> > >> >> If you have a Gitlab account, you can also configure it so it will > send > >> >> you > >> >> email notifications when something happens on the repository. > >> >> > >> >> > >> >> -- > >> >> Adrien Prokopowicz > >> >> > >> >> ------------------------------------------------------------ > >> >> ------------------ > >> >> 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 at 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 at 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 at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Wed Aug 23 14:06:36 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Aug 2017 08:06:36 -0400 Subject: [Gambas-user] Database help In-Reply-To: <20170823051040.GO585@...3600...> References: <20170823051040.GO585@...3600...> Message-ID: in the IDE->menu->tools->softwarefarm-> then search do you are female jessacandelearia ? due then a female "+" in the gambas community Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-23 1:10 GMT-04:00 Tobias Boege : > On Wed, 23 Aug 2017, Jessa wrote: > > Good day, how to create a simple database with picture in gambas? > > > > Have you seen the example project called "PictureDatabase" on the > software farm? > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Aug 23 14:56:40 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 23 Aug 2017 15:56:40 +0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Thanks for all the answers. I was hoping something more automatic. I find these commands: git fetch --all git reset --hard origin/master Are there any side effects? I don't really know how git works and thus I don't quite understand what they do. I should learn the basics, but it seems to be thing which I have problems to concentrate. Anyone knows good graphical presentation of how git works in principle? Jussi On Wed, Aug 23, 2017 at 3:03 PM, PICCORO McKAY Lenz wrote: > yeah, but with statch you need firs made it a "mark" > > i that case he dont have that mark > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-23 5:37 GMT-04:00 Fabien Bodard : > > > or maby statch ? > > > > 2017-08-23 2:29 GMT+02:00 PICCORO McKAY Lenz : > > > sorry to overriding local change u must get back : > > > > > > git checkout -- > > > git fetch;git pull > > > > > > Lenz McKAY Gerardo (PICCORO) > > > http://qgqlochekone.blogspot.com > > > > > > 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen : > > > > > >> How do I update sources overwriting local changes? > > >> > > >> > > >> Jussi > > >> > > >> On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen < > > jussi.lahtinen at ...626... > > >> > > > >> wrote: > > >> > > >> > OK, that solves the problem. Thanks! > > >> > > > >> > > > >> > Jussi > > >> > > > >> > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < > > >> > adrien.prokopowicz at ...626...> wrote: > > >> > > > >> >> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < > > >> >> jussi.lahtinen at ...626...> a ?crit: > > >> >> > > >> >> How do you get the change log with git? "git log" shows only one > > change > > >> >>> (most recent?). > > >> >>> Is this because I cloned the sources with "git clone --depth=1 > > >> >>> https://gitlab.com/gambas/gambas.git"? > > >> >>> > > >> >>> Even when I want only the latest dev version, I would still like > to > > >> know > > >> >>> what has changed. It's quite important if you do bug hunting. > > >> >>> > > >> >>> > > >> >>> Jussi > > >> >>> > > >> >> > > >> >> Yes, when you use --depth=1, you only retrieve the latest commit, > so > > it > > >> >> can't know > > >> >> about anything past it. > > >> >> If you want to have the information locally, you can use the > > following : > > >> >> > > >> >> git fetch --unshallow > > >> >> > > >> >> It will retrieve the missing pieces and you will end up with a full > > >> clone, > > >> >> as if you just ran git clone without the --depth argument. > > >> >> > > >> >> You can also view the latest commits directly on gitlab here : > > >> >> > > >> >> https://gitlab.com/gambas/gambas/commits/master > > >> >> > > >> >> ? or as a RSS feed here : > > >> >> > > >> >> https://gitlab.com/gambas/gambas/commits/master?format=atom > > >> >> > > >> >> If you have a Gitlab account, you can also configure it so it will > > send > > >> >> you > > >> >> email notifications when something happens on the repository. > > >> >> > > >> >> > > >> >> -- > > >> >> Adrien Prokopowicz > > >> >> > > >> >> ------------------------------------------------------------ > > >> >> ------------------ > > >> >> 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 at 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 at 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 at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > -- > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Wed Aug 23 17:08:44 2017 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 23 Aug 2017 11:08:44 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: <26fe9d5a-db6b-de48-5902-0e13d531407a@...626...> "git - the simple guide" : https://rogerdudler.github.io/git-guide/ (Geared toward GitHub but still applicable and quite simple.) "Understanding Git Conceptually" : https://www.sbf5.com/~cduan/technical/git/ "Pro Git" : https://git-scm.com/book/en/v2 (More comprehensive since it's an online HTML book.) -- Lee On 08/23/2017 08:56 AM, Jussi Lahtinen wrote: > Thanks for all the answers. I was hoping something more automatic. I find > these commands: > git fetch --all > git reset --hard origin/master > > Are there any side effects? I don't really know how git works and thus I > don't quite understand what they do. I should learn the basics, but it > seems to be thing which I have problems to concentrate. Anyone knows good > graphical presentation of how git works in principle? > > > Jussi > > > On Wed, Aug 23, 2017 at 3:03 PM, PICCORO McKAY Lenz > wrote: > >> yeah, but with statch you need firs made it a "mark" >> >> i that case he dont have that mark >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-08-23 5:37 GMT-04:00 Fabien Bodard : >> >>> or maby statch ? >>> >>> 2017-08-23 2:29 GMT+02:00 PICCORO McKAY Lenz : >>>> sorry to overriding local change u must get back : >>>> >>>> git checkout -- >>>> git fetch;git pull >>>> >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen : >>>> >>>>> How do I update sources overwriting local changes? >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen < >>> jussi.lahtinen at ...626... >>>>>> >>>>> wrote: >>>>> >>>>>> OK, that solves the problem. Thanks! >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < >>>>>> adrien.prokopowicz at ...626...> wrote: >>>>>> >>>>>>> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < >>>>>>> jussi.lahtinen at ...626...> a ?crit: >>>>>>> >>>>>>> How do you get the change log with git? "git log" shows only one >>> change >>>>>>>> (most recent?). >>>>>>>> Is this because I cloned the sources with "git clone --depth=1 >>>>>>>> https://gitlab.com/gambas/gambas.git"? >>>>>>>> >>>>>>>> Even when I want only the latest dev version, I would still like >> to >>>>> know >>>>>>>> what has changed. It's quite important if you do bug hunting. >>>>>>>> >>>>>>>> >>>>>>>> Jussi >>>>>>>> >>>>>>> >>>>>>> Yes, when you use --depth=1, you only retrieve the latest commit, >> so >>> it >>>>>>> can't know >>>>>>> about anything past it. >>>>>>> If you want to have the information locally, you can use the >>> following : >>>>>>> >>>>>>> git fetch --unshallow >>>>>>> >>>>>>> It will retrieve the missing pieces and you will end up with a full >>>>> clone, >>>>>>> as if you just ran git clone without the --depth argument. >>>>>>> >>>>>>> You can also view the latest commits directly on gitlab here : >>>>>>> >>>>>>> https://gitlab.com/gambas/gambas/commits/master >>>>>>> >>>>>>> ? or as a RSS feed here : >>>>>>> >>>>>>> https://gitlab.com/gambas/gambas/commits/master?format=atom >>>>>>> >>>>>>> If you have a Gitlab account, you can also configure it so it will >>> send >>>>>>> you >>>>>>> email notifications when something happens on the repository. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Adrien Prokopowicz >>>>>>> >>>>>>> ------------------------------------------------------------ >>>>>>> ------------------ >>>>>>> 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 at 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 at 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 at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> -- >>> 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Aug 23 18:18:22 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 18:18:22 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599daa16.0fec1c0a.a9c3b.bca5SMTPIN_ADDED_BROKEN@...2392...> References: <599daa16.0fec1c0a.a9c3b.bca5SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 16:15:17 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- Comment #5 by vuott VUOTT: > Did you really use the latest commit? Strange question... Today I updated again my Gambas. Now I have: [System] Gambas=3.10.90 b77004d (master) "Print" problem still persist. From gambas at ...1... Wed Aug 23 18:28:43 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 18:28:43 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599dacdb.091f1c0a.963d1.9cfdSMTPIN_ADDED_BROKEN@...2392...> References: <599dacdb.091f1c0a.963d1.9cfdSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <28ed502c-b000-744a-6393-74bb9604d3f5@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 16:27:07 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- Comment #6 by Beno?t MINISINI: It was not strange as I am committing regularly as I am working on the problem. By the way, you should update, I have just committed some fixes about that. It should work now, but with a solution I don't like. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Wed Aug 23 18:48:26 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 18:48:26 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1144: No gambas 3.10 packages in launchpad In-Reply-To: References: Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1144: No gambas 3.10 packages in launchpad Date?: Wed, 23 Aug 2017 16:43:43 GMT De?: bugtracker at ...3416... Pour?: isafiur at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1144&from=L21haW4- Safiur RAHMAN reported a new bug. Summary ------- No gambas 3.10 packages in launchpad Type : Bug Priority : High Gambas version : Unknown Product : Unknown Description ----------- There are no gambas 3.10 packages in launchpad. Although there is false list of gambas 3.10 builds in https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3. From mckaygerhard at ...626... Wed Aug 23 19:04:59 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Aug 2017 13:04:59 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Jussi, that commands are good.. that's the difference: git checkout onlyif you trash changes by files (one file or only some files) git reset for a entire branch (all the files that changes) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-23 8:56 GMT-04:00 Jussi Lahtinen : > Thanks for all the answers. I was hoping something more automatic. I find > these commands: > git fetch --all > git reset --hard origin/master > > Are there any side effects? I don't really know how git works and thus I > don't quite understand what they do. I should learn the basics, but it > seems to be thing which I have problems to concentrate. Anyone knows good > graphical presentation of how git works in principle? > > > Jussi > > > On Wed, Aug 23, 2017 at 3:03 PM, PICCORO McKAY Lenz < > mckaygerhard at ...626...> > wrote: > > > yeah, but with statch you need firs made it a "mark" > > > > i that case he dont have that mark > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-08-23 5:37 GMT-04:00 Fabien Bodard : > > > > > or maby statch ? > > > > > > 2017-08-23 2:29 GMT+02:00 PICCORO McKAY Lenz : > > > > sorry to overriding local change u must get back : > > > > > > > > git checkout -- > > > > git fetch;git pull > > > > > > > > Lenz McKAY Gerardo (PICCORO) > > > > http://qgqlochekone.blogspot.com > > > > > > > > 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen >: > > > > > > > >> How do I update sources overwriting local changes? > > > >> > > > >> > > > >> Jussi > > > >> > > > >> On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen < > > > jussi.lahtinen at ...626... > > > >> > > > > >> wrote: > > > >> > > > >> > OK, that solves the problem. Thanks! > > > >> > > > > >> > > > > >> > Jussi > > > >> > > > > >> > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < > > > >> > adrien.prokopowicz at ...626...> wrote: > > > >> > > > > >> >> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < > > > >> >> jussi.lahtinen at ...626...> a ?crit: > > > >> >> > > > >> >> How do you get the change log with git? "git log" shows only one > > > change > > > >> >>> (most recent?). > > > >> >>> Is this because I cloned the sources with "git clone --depth=1 > > > >> >>> https://gitlab.com/gambas/gambas.git"? > > > >> >>> > > > >> >>> Even when I want only the latest dev version, I would still like > > to > > > >> know > > > >> >>> what has changed. It's quite important if you do bug hunting. > > > >> >>> > > > >> >>> > > > >> >>> Jussi > > > >> >>> > > > >> >> > > > >> >> Yes, when you use --depth=1, you only retrieve the latest commit, > > so > > > it > > > >> >> can't know > > > >> >> about anything past it. > > > >> >> If you want to have the information locally, you can use the > > > following : > > > >> >> > > > >> >> git fetch --unshallow > > > >> >> > > > >> >> It will retrieve the missing pieces and you will end up with a > full > > > >> clone, > > > >> >> as if you just ran git clone without the --depth argument. > > > >> >> > > > >> >> You can also view the latest commits directly on gitlab here : > > > >> >> > > > >> >> https://gitlab.com/gambas/gambas/commits/master > > > >> >> > > > >> >> ? or as a RSS feed here : > > > >> >> > > > >> >> https://gitlab.com/gambas/gambas/commits/master?format=atom > > > >> >> > > > >> >> If you have a Gitlab account, you can also configure it so it > will > > > send > > > >> >> you > > > >> >> email notifications when something happens on the repository. > > > >> >> > > > >> >> > > > >> >> -- > > > >> >> Adrien Prokopowicz > > > >> >> > > > >> >> ------------------------------------------------------------ > > > >> >> ------------------ > > > >> >> 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 at 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 at 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 at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > -- > > > 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Wed Aug 23 19:27:38 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 23 Aug 2017 19:27:38 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: Am 23.08.2017 um 19:04 schrieb PICCORO McKAY Lenz: > Jussi, that commands are good.. that's the difference: > git checkout onlyif you trash changes by files (one file or only some files) > git reset for a entire branch (all the files that changes) Sorry, but what you write is not understandable. And this: http://gambaswiki.org/wiki/howto/git should first be translated to English before recommending it to newcomers in Git! I am not able to tell, whether it's content is right, as I hardly understand it. Sentences like "In Gambas git repository the work are in the branch, master are the principal and the develop working, there's a stable branch and some other of not yet working and in develop work like the cmake future feature." are pure nonsense. And this piece is full of such sentences! 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 mckaygerhard at ...626... Wed Aug 23 19:39:41 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Aug 2017 13:39:41 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: well cristhof, you could improve it! please go on! of course all the wiki pages are a couple of many modifications over the time, until got pretty well done! sorry for my bad english.. do you write at the gambas wiki? you can improve it.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-23 13:27 GMT-04:00 Christof Thalhofer : > Am 23.08.2017 um 19:04 schrieb PICCORO McKAY Lenz: > > Jussi, that commands are good.. that's the difference: > > git checkout onlyif you trash changes by files (one file or only some > files) > > git reset for a entire branch (all the files that changes) > > Sorry, but what you write is not understandable. > > And this: > > http://gambaswiki.org/wiki/howto/git > > should first be translated to English before recommending it to > newcomers in Git! I am not able to tell, whether it's content is right, > as I hardly understand it. > > Sentences like > > "In Gambas git repository the work are in the branch, master are the > principal and the develop working, there's a stable branch and some > other of not yet working and in develop work like the cmake future > feature." > > are pure nonsense. > > And this piece is full of such sentences! > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From jussi.lahtinen at ...626... Wed Aug 23 20:27:20 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 23 Aug 2017 21:27:20 +0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <26fe9d5a-db6b-de48-5902-0e13d531407a@...626...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> <26fe9d5a-db6b-de48-5902-0e13d531407a@...626...> Message-ID: Thanks! Jussi On Wed, Aug 23, 2017 at 6:08 PM, T Lee Davidson wrote: > "git - the simple guide" : https://rogerdudler.github.io/git-guide/ > (Geared toward GitHub but still applicable and quite simple.) > > "Understanding Git Conceptually" : https://www.sbf5.com/~cduan/te > chnical/git/ > > "Pro Git" : https://git-scm.com/book/en/v2 > (More comprehensive since it's an online HTML book.) > > > -- > Lee > > > > On 08/23/2017 08:56 AM, Jussi Lahtinen wrote: > >> Thanks for all the answers. I was hoping something more automatic. I find >> these commands: >> git fetch --all >> git reset --hard origin/master >> >> Are there any side effects? I don't really know how git works and thus I >> don't quite understand what they do. I should learn the basics, but it >> seems to be thing which I have problems to concentrate. Anyone knows good >> graphical presentation of how git works in principle? >> >> >> Jussi >> >> >> On Wed, Aug 23, 2017 at 3:03 PM, PICCORO McKAY Lenz < >> mckaygerhard at ...626...> >> wrote: >> >> yeah, but with statch you need firs made it a "mark" >>> >>> i that case he dont have that mark >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> 2017-08-23 5:37 GMT-04:00 Fabien Bodard : >>> >>> or maby statch ? >>>> >>>> 2017-08-23 2:29 GMT+02:00 PICCORO McKAY Lenz : >>>> >>>>> sorry to overriding local change u must get back : >>>>> >>>>> git checkout -- >>>>> git fetch;git pull >>>>> >>>>> Lenz McKAY Gerardo (PICCORO) >>>>> http://qgqlochekone.blogspot.com >>>>> >>>>> 2017-08-22 16:38 GMT-04:00 Jussi Lahtinen : >>>>> >>>>> How do I update sources overwriting local changes? >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen < >>>>>> >>>>> jussi.lahtinen at ...626... >>>> >>>>> >>>>>>> wrote: >>>>>> >>>>>> OK, that solves the problem. Thanks! >>>>>>> >>>>>>> >>>>>>> Jussi >>>>>>> >>>>>>> On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < >>>>>>> adrien.prokopowicz at ...626...> wrote: >>>>>>> >>>>>>> Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < >>>>>>>> jussi.lahtinen at ...626...> a ?crit: >>>>>>>> >>>>>>>> How do you get the change log with git? "git log" shows only one >>>>>>>> >>>>>>> change >>>> >>>>> (most recent?). >>>>>>>>> Is this because I cloned the sources with "git clone --depth=1 >>>>>>>>> https://gitlab.com/gambas/gambas.git"? >>>>>>>>> >>>>>>>>> Even when I want only the latest dev version, I would still like >>>>>>>>> >>>>>>>> to >>> >>>> know >>>>>> >>>>>>> what has changed. It's quite important if you do bug hunting. >>>>>>>>> >>>>>>>>> >>>>>>>>> Jussi >>>>>>>>> >>>>>>>>> >>>>>>>> Yes, when you use --depth=1, you only retrieve the latest commit, >>>>>>>> >>>>>>> so >>> >>>> it >>>> >>>>> can't know >>>>>>>> about anything past it. >>>>>>>> If you want to have the information locally, you can use the >>>>>>>> >>>>>>> following : >>>> >>>>> >>>>>>>> git fetch --unshallow >>>>>>>> >>>>>>>> It will retrieve the missing pieces and you will end up with a full >>>>>>>> >>>>>>> clone, >>>>>> >>>>>>> as if you just ran git clone without the --depth argument. >>>>>>>> >>>>>>>> You can also view the latest commits directly on gitlab here : >>>>>>>> >>>>>>>> https://gitlab.com/gambas/gambas/commits/master >>>>>>>> >>>>>>>> ? or as a RSS feed here : >>>>>>>> >>>>>>>> https://gitlab.com/gambas/gambas/commits/master?format=atom >>>>>>>> >>>>>>>> If you have a Gitlab account, you can also configure it so it will >>>>>>>> >>>>>>> send >>>> >>>>> you >>>>>>>> email notifications when something happens on the repository. >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Adrien Prokopowicz >>>>>>>> >>>>>>>> ------------------------------------------------------------ >>>>>>>> ------------------ >>>>>>>> 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 at 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 at 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 at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>> >>>> >>>> >>>> -- >>>> 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From d4t4full at ...626... Wed Aug 23 20:42:01 2017 From: d4t4full at ...626... (ML) Date: Wed, 23 Aug 2017 15:42:01 -0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Piccoro, Please don't take it personal. I tried to read that same wiki page, and I had the same issues as Christof; could not make heads nor tails of it. You know your english lacks sometimes, and have been told so a couple of times now. To make things worse, it looks -to me at least- that you assume your audience to be as vastly experienced in Git as you are. As an example, I forked the official repo for ODBC-tweaking only after I saw two or three other sites and read over one hour from other Git sites, and bits from the mails and the wiki. And even so, I'm not sure I understood half of it! I can translate technical SPA to ENG if I'm given an equally coherent spanish text. If you care to write it, I can translate it for you so you reupload it. Also, as I said, it looks like you use Git for very long and know how it works pretty well. Please try to write the guide in a way that's more newbie-friendly and Gambas-repo-policies oriented (I mean, using the proper "workflow"), so people like me that NEVER used Git are not scared to type something and blow Beno?t's hard work sky-high! Regards, On 23/08/17 14:39, PICCORO McKAY Lenz wrote: > well cristhof, you could improve it! please go on! of course all the > wiki pages are a couple of many modifications over the time, until got > pretty well done! > sorry for my bad english.. do you write at the gambas wiki? you can > improve it.. > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-23 13:27 GMT-04:00 Christof Thalhofer : >> Am 23.08.2017 um 19:04 schrieb PICCORO McKAY Lenz: >>> Jussi, that commands are good.. that's the difference: >>> git checkout onlyif you trash changes by files (one file or only >>> some files) >>> git reset for a entire branch (all the files that changes) >> Sorry, but what you write is not understandable. And this: >> http://gambaswiki.org/wiki/howto/git >> should first be translated to English before recommending it to >> newcomers in Git! I am not able to tell, whether it's content is >> right, as I hardly understand it. >> >> Sentences like >> >> "In Gambas git repository the work are in the branch, master are >> the principal and the develop working, there's a stable branch and >> some other of not yet working and in develop work like the cmake >> future feature." >> >> are pure nonsense. >> And this piece is full of such sentences! >> Alles Gute >> Christof Thalhofer >> -- >> Dies ist keine Signatur From gambas at ...1... Wed Aug 23 20:52:28 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 20:52:28 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599dcece.0785df0a.d925c.dcb7SMTPIN_ADDED_BROKEN@...2392...> References: <599dcece.0785df0a.d925c.dcb7SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <349f2301-c383-99f5-07f5-c0b3337c93c1@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 18:51:58 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- Comment #7 by vuott VUOTT: Well, I updated to: [System] Gambas=3.10.90 ab06f83 (master) and now it works regularly. Bye vuott VUOTT changed the state of the bug to: Accepted. From gambas at ...1... Wed Aug 23 20:52:28 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Aug 2017 20:52:28 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t In-Reply-To: <599dcedd.cc471c0a.499ff.0b19SMTPIN_ADDED_BROKEN@...2392...> References: <599dcedd.cc471c0a.499ff.0b19SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <8aa47258-c16b-e3cf-dcf4-9457bd3dcd42@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1143: Sometimes "Print" function in a Timer routine prints also a kind of \t Date?: Wed, 23 Aug 2017 18:52:13 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1143&from=L21haW4- vuott VUOTT changed the state of the bug to: Fixed. From mckaygerhard at ...626... Thu Aug 24 00:03:54 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Aug 2017 18:03:54 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Yes, i understand no problem .. please edit the wiki or change it! As need .. I don't know what its the problem. I'm not in a injury its my faul, due its a very extended ... but you guys there are you here.. to fixed right? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-23 14:42 GMT-04:00 ML : > Piccoro, > > Please don't take it personal. I tried to read that same wiki page, and > I had the same issues as Christof; could not make heads nor tails of it. > You know your english lacks sometimes, and have been told so a couple of > times now. To make things worse, it looks -to me at least- that you > assume your audience to be as vastly experienced in Git as you are. > > As an example, I forked the official repo for ODBC-tweaking only after I > saw two or three other sites and read over one hour from other Git > sites, and bits from the mails and the wiki. And even so, I'm not sure I > understood half of it! > > I can translate technical SPA to ENG if I'm given an equally coherent > spanish text. If you care to write it, I can translate it for you so you > reupload it. > > Also, as I said, it looks like you use Git for very long and know how it > works pretty well. > Please try to write the guide in a way that's more newbie-friendly and > Gambas-repo-policies oriented (I mean, using the proper "workflow"), so > people like me that NEVER used Git are not scared to type something and > blow Beno?t's hard work sky-high! > > Regards, > > On 23/08/17 14:39, PICCORO McKAY Lenz wrote: > > well cristhof, you could improve it! please go on! of course all the > > wiki pages are a couple of many modifications over the time, until got > > pretty well done! > > sorry for my bad english.. do you write at the gambas wiki? you can > > improve it.. > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-08-23 13:27 GMT-04:00 Christof Thalhofer : > >> Am 23.08.2017 um 19:04 schrieb PICCORO McKAY Lenz: > >>> Jussi, that commands are good.. that's the difference: > >>> git checkout onlyif you trash changes by files (one file or only > >>> some files) > >>> git reset for a entire branch (all the files that changes) > >> Sorry, but what you write is not understandable. And this: > >> http://gambaswiki.org/wiki/howto/git > >> should first be translated to English before recommending it to > >> newcomers in Git! I am not able to tell, whether it's content is > >> right, as I hardly understand it. > >> > >> Sentences like > >> > >> "In Gambas git repository the work are in the branch, master are > >> the principal and the develop working, there's a stable branch and > >> some other of not yet working and in develop work like the cmake > >> future feature." > >> > >> are pure nonsense. > >> And this piece is full of such sentences! > >> Alles Gute > >> Christof Thalhofer > >> -- > >> Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Thu Aug 24 00:07:22 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Aug 2017 18:07:22 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: yes, i reading now with calm.. all you have right in part... T lee pass a good guide> "git - the simple guide" : https://rogerdudler.github.io/git-guide/ i-ll try to make a article externally and pass to you guys .. about the wiki, i-ll check today at my night, if nobody take it.. if there-s no problem.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-23 18:03 GMT-04:00 PICCORO McKAY Lenz : > Yes, i understand no problem .. please edit the wiki or change it! As need > .. > I don't know what its the problem. I'm not in a injury > > its my faul, due its a very extended ... but you guys there are you here.. > to fixed right? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-23 14:42 GMT-04:00 ML : > >> Piccoro, >> >> Please don't take it personal. I tried to read that same wiki page, and >> I had the same issues as Christof; could not make heads nor tails of it. >> You know your english lacks sometimes, and have been told so a couple of >> times now. To make things worse, it looks -to me at least- that you >> assume your audience to be as vastly experienced in Git as you are. >> >> As an example, I forked the official repo for ODBC-tweaking only after I >> saw two or three other sites and read over one hour from other Git >> sites, and bits from the mails and the wiki. And even so, I'm not sure I >> understood half of it! >> >> I can translate technical SPA to ENG if I'm given an equally coherent >> spanish text. If you care to write it, I can translate it for you so you >> reupload it. >> >> Also, as I said, it looks like you use Git for very long and know how it >> works pretty well. >> Please try to write the guide in a way that's more newbie-friendly and >> Gambas-repo-policies oriented (I mean, using the proper "workflow"), so >> people like me that NEVER used Git are not scared to type something and >> blow Beno?t's hard work sky-high! >> >> Regards, >> >> On 23/08/17 14:39, PICCORO McKAY Lenz wrote: >> > well cristhof, you could improve it! please go on! of course all the >> > wiki pages are a couple of many modifications over the time, until got >> > pretty well done! >> > sorry for my bad english.. do you write at the gambas wiki? you can >> > improve it.. >> > Lenz McKAY Gerardo (PICCORO) >> > http://qgqlochekone.blogspot.com >> > >> > 2017-08-23 13:27 GMT-04:00 Christof Thalhofer : >> >> Am 23.08.2017 um 19:04 schrieb PICCORO McKAY Lenz: >> >>> Jussi, that commands are good.. that's the difference: >> >>> git checkout onlyif you trash changes by files (one file or only >> >>> some files) >> >>> git reset for a entire branch (all the files that changes) >> >> Sorry, but what you write is not understandable. And this: >> >> http://gambaswiki.org/wiki/howto/git >> >> should first be translated to English before recommending it to >> >> newcomers in Git! I am not able to tell, whether it's content is >> >> right, as I hardly understand it. >> >> >> >> Sentences like >> >> >> >> "In Gambas git repository the work are in the branch, master are >> >> the principal and the develop working, there's a stable branch and >> >> some other of not yet working and in develop work like the cmake >> >> future feature." >> >> >> >> are pure nonsense. >> >> And this piece is full of such sentences! >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> >> Dies ist keine Signatur >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From mckaygerhard at ...626... Thu Aug 24 00:15:54 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 23 Aug 2017 18:15:54 -0400 Subject: [Gambas-user] gambas install instructions In-Reply-To: References: Message-ID: oh i have a very old version of sort, the -V dont work for me.. and -g gives me 3.9.2 grrraa download and recompile sort.... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-22 4:14 GMT-04:00 Christof Thalhofer : > Am 18.08.2017 um 10:46 schrieb PICCORO McKAY Lenz: > > > but the install section i thnk must reference to stable installs,. and > if i > > dont remenber that command download the development branch... not a > stable > > release... > > Maybe: Clone all with git and then: > > git checkout $(git tag | sort -V | tail -n 1) > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From chrisml at ...3340... Thu Aug 24 07:36:20 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 24 Aug 2017 07:36:20 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Hello Piccoro, Am 24.08.2017 um 00:07 schrieb PICCORO McKAY Lenz: > yes, i reading now with calm.. all you have right in part... Thank you! I did not want to offend you! Maybe you could really work together with ML, unfortunately I do not have the time to rewrite the article, as I have a hard job. And also my English is not the best ... 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 mckaygerhard at ...626... Thu Aug 24 14:50:17 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 08:50:17 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: 2017-08-24 1:36 GMT-04:00 Christof Thalhofer : > Hello Piccoro, > > Am 24.08.2017 um 00:07 schrieb PICCORO McKAY Lenz: > > yes, i reading now with calm.. all you have right in part... > > Thank you! I did not want to offend you! Maybe you could really work > together with ML, unfortunately I do not have the time to rewrite the > i write it in a hurry, sorry tobias seem are writing a guide.. in the weekend i'll do a rewrite of that wiki.. based on the guide send by T Lee but after i do the proper test of the new odbc patches from xzMarce... > article, as I have a hard job. And also my English is not the best ... > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From adrien.prokopowicz at ...626... Thu Aug 24 16:09:48 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 24 Aug 2017 16:09:48 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Le Thu, 24 Aug 2017 14:50:17 +0200, PICCORO McKAY Lenz a ?crit: > 2017-08-24 1:36 GMT-04:00 Christof Thalhofer : > >> Hello Piccoro, >> >> Am 24.08.2017 um 00:07 schrieb PICCORO McKAY Lenz: >> > yes, i reading now with calm.. all you have right in part... >> >> Thank you! I did not want to offend you! Maybe you could really work >> together with ML, unfortunately I do not have the time to rewrite the >> > i write it in a hurry, sorry > > tobias seem are writing a guide.. > > in the weekend i'll do a rewrite of that wiki.. based on the guide send > by > T Lee > > but after i do the proper test of the new odbc patches from xzMarce... > Is Tobias working on this too ? I'm currently writing a guide here : http://gambaswiki.org/wiki/howto/contribute, but instead of making a masterclass on how git works, I directly describe how to contribute to the Gambas source code, so it is easier for newcomers. It's still work in progress (it's missing the "how to create a merge request", the commit log format description, and probably more), but this can help a little already. Since it is much different from the existing SVN/Git howtos, I put it under a different path for now, but in the future those should be merged so there is only one guide (which will also end up on the CONTRIBUTING.md file in the repository). -- Adrien Prokopowicz From mckaygerhard at ...626... Thu Aug 24 16:16:59 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 10:16:59 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: ah! sorry, i mean Adrien, not tobias.. yeah ... and as adrien said, i noted why mi guide are so condensed, its based from the existing SVN wiki howto i think i must read your work, see and paste some in the git made by me and then you see it and make a final work.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-24 10:09 GMT-04:00 Adrien Prokopowicz : > Le Thu, 24 Aug 2017 14:50:17 +0200, PICCORO McKAY Lenz < > mckaygerhard at ...626...> a ?crit: > > 2017-08-24 1:36 GMT-04:00 Christof Thalhofer : >> >> Hello Piccoro, >>> >>> Am 24.08.2017 um 00:07 schrieb PICCORO McKAY Lenz: >>> > yes, i reading now with calm.. all you have right in part... >>> >>> Thank you! I did not want to offend you! Maybe you could really work >>> together with ML, unfortunately I do not have the time to rewrite the >>> >>> i write it in a hurry, sorry >> >> tobias seem are writing a guide.. >> >> in the weekend i'll do a rewrite of that wiki.. based on the guide send by >> T Lee >> >> but after i do the proper test of the new odbc patches from xzMarce... >> >> > Is Tobias working on this too ? > I'm currently writing a guide here : http://gambaswiki.org/wiki/how > to/contribute, but > instead of making a masterclass on how git works, I directly describe how > to contribute > to the Gambas source code, so it is easier for newcomers. > > It's still work in progress (it's missing the "how to create a merge > request", the > commit log format description, and probably more), but this can help a > little already. > > Since it is much different from the existing SVN/Git howtos, I put it > under a different > path for now, but in the future those should be merged so there is only > one guide > (which will also end up on the CONTRIBUTING.md file in the repository). > > -- > Adrien Prokopowicz > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Aug 24 16:27:50 2017 From: taboege at ...626... (Tobias Boege) Date: Thu, 24 Aug 2017 16:27:50 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: <20170824142750.GA555@...3600...> On Thu, 24 Aug 2017, PICCORO McKAY Lenz wrote: > 2017-08-24 1:36 GMT-04:00 Christof Thalhofer : > > > Hello Piccoro, > > > > Am 24.08.2017 um 00:07 schrieb PICCORO McKAY Lenz: > > > yes, i reading now with calm.. all you have right in part... > > > > Thank you! I did not want to offend you! Maybe you could really work > > together with ML, unfortunately I do not have the time to rewrite the > > > i write it in a hurry, sorry > > tobias seem are writing a guide.. > You probably meant Adrien. I don't have the time (or expertise with git workflows) to be writing guides at the moment. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at ...626... Thu Aug 24 16:51:53 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 10:51:53 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <20170824142750.GA555@...3600...> References: <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> <20170824142750.GA555@...3600...> Message-ID: yes was Adrian, i mean.. he answered.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-24 10:27 GMT-04:00 Tobias Boege : > On Thu, 24 Aug 2017, PICCORO McKAY Lenz wrote: > > 2017-08-24 1:36 GMT-04:00 Christof Thalhofer : > > > > > Hello Piccoro, > > > > > > Am 24.08.2017 um 00:07 schrieb PICCORO McKAY Lenz: > > > > yes, i reading now with calm.. all you have right in part... > > > > > > Thank you! I did not want to offend you! Maybe you could really work > > > together with ML, unfortunately I do not have the time to rewrite the > > > > > i write it in a hurry, sorry > > > > tobias seem are writing a guide.. > > > > You probably meant Adrien. I don't have the time (or expertise with git > workflows) to be writing guides at the moment. > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Thu Aug 24 18:20:45 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 12:20:45 -0400 Subject: [Gambas-user] gambas | New gb.db.odbc patch. (!7) In-Reply-To: <553ce5857a67e29297757b6a0c724b91@...3680...> References: <553ce5857a67e29297757b6a0c724b91@...3680...> Message-ID: must follow a naming format.. all the branches.. it the best practice! 2017-08-24 12:15 GMT-04:00 zxMarce : > Regarding naming the branch, Beno?t, I concur. Names must differ. I think > having the ODBC branch apart will be best so I don kill anything by mistake > (same as before with SF). > > What do you think a proper name would be? Something like "ODBC contrib"? I > only have to find where to change my (fork, branch?) name, though... > all the new development and workinig branches must be in naming format.. its the best practice! > Regards, > > *On 24/08/17 13:03, PICCORO Lenz McKAY wrote:* > > ? > Reply to this email directly or view it on GitLab > . > You're receiving this email because of your account on gitlab.com. If > you'd like to receive fewer emails, you can unsubscribe > > from this thread or adjust your notification settings. > From herberthguzman at ...626... Thu Aug 24 22:39:31 2017 From: herberthguzman at ...626... (herberth guzman) Date: Thu, 24 Aug 2017 14:39:31 -0600 Subject: [Gambas-user] I need a hint on how to delete duplicate items in a array Message-ID: Hi Benoit, how are you..? I have a question, I'm lost Lol I need a hint on how to delete duplicate items in a array I have the following function (I send you the code) And if he works Example For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] For Each sNames In RDir(sDir, "*", gb.Directory) Print sNames Next Next The problem is the following: I have /usr/share/themes/Ambiance I have /home/herberth.local/share/themes/Ambiance And I only need one Ambiance And not two Ambiance Please help me solve my problem, I have two days and I can not. I want to cry. Lol Attachme my complete code Private Function ReturnArrays(SortedArray As String[], withNumber As Boolean) As String[] Dim sSingle, sWithNumber As New String[] Dim i, n As Integer For i = 0 To SortedArray.Max ' You can avoid with Tobias's trick (For i = 1 To ...) If i < SortedArray.Max Then If SortedArray[i] = SortedArray[i + 1] Then Inc n Else Inc n sSingle.Push(SortedArray[i]) sWithNumber.Push(n & SortedArray[i]) n = 0 Endif Endif Next Inc n sSingle.Push(SortedArray[SortedArray.Max]) sWithNumber.Push(n & SortedArray[SortedArray.Max]) If withNumber Then Return sWithNumber Else Return sSingle Endif End Public Sub sListTheme() Dim sDir As String Dim sFiles As String Dim sSort As String[] Dim s As String For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() sSort = [sFiles] For Each s In ReturnArrays(sSort, 0) Print s Next Next Next End If you can help me I'll thank you. Thank you. Regards From bagonergi at ...626... Fri Aug 25 00:04:12 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 25 Aug 2017 00:04:12 +0200 Subject: [Gambas-user] I need a hint on how to delete duplicate items in a array In-Reply-To: References: Message-ID: I don't know if this can help you. https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 Regards Gianluigi 2017-08-24 22:39 GMT+02:00 herberth guzman : > Hi Benoit, how are you..? > > I have a question, I'm lost > Lol > > I need a hint on how to delete duplicate items in a array > > I have the following function (I send you the code) > And if he works > > > Example > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] > For Each sNames In RDir(sDir, "*", gb.Directory) > > Print sNames > > Next > Next > > > The problem is the following: > > I have /usr/share/themes/Ambiance > I have /home/herberth.local/share/themes/Ambiance > > And I only need one Ambiance > And not two Ambiance > > Please help me solve my problem, I have two days and I can not. I want to > cry. > Lol > > > Attachme my complete code > > > > > Private Function ReturnArrays(SortedArray As String[], withNumber As > Boolean) As String[] > > Dim sSingle, sWithNumber As New String[] > Dim i, n As Integer > > For i = 0 To SortedArray.Max > ' You can avoid with Tobias's trick (For i = 1 To ...) > If i < SortedArray.Max Then > If SortedArray[i] = SortedArray[i + 1] Then > Inc n > Else > Inc n > sSingle.Push(SortedArray[i]) > sWithNumber.Push(n & SortedArray[i]) > n = 0 > Endif > Endif > Next > Inc n > sSingle.Push(SortedArray[SortedArray.Max]) > sWithNumber.Push(n & SortedArray[SortedArray.Max]) > If withNumber Then > Return sWithNumber > Else > Return sSingle > Endif > > End > > Public Sub sListTheme() > > Dim sDir As String > Dim sFiles As String > Dim sSort As String[] > Dim s As String > > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] > > For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() > sSort = [sFiles] > > For Each s In ReturnArrays(sSort, 0) > Print s > Next > > Next > Next > > End > > > If you can help me I'll thank you. > Thank you. > Regards > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mikeB at ...3673... Fri Aug 25 00:14:48 2017 From: mikeB at ...3673... (mikeB) Date: Thu, 24 Aug 2017 16:14:48 -0600 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: <88fd657f-1c32-feb4-3233-5f9a8643520d@...3673...> eGreetings, I THINK I understand that the "Crypt" function is used to encrypt a password that can be checked by challenging user input (asking to input the password). Verifies plain text against encrypted data - It can NOT be decrypted. ?1 = where does this encrypted file (or string) exist after created? in the "shadow" file perhaps? ?2 = I am using the following lines of code for testing - I must not understand what I'm doing cuz does not seem to do as expected: userid = "xcodex" Crypt.MD5(userid, "abcdefgh") cked = Crypt.Check(userid, "abcdefgh") Message.Info(cked) cked ALWAYS returns "T" no matter how the code values are changed. Doc says "True" = not found? ?3 = could someone give me a couple lines of code to perform this function? learning by example ;-) $4 = what's your opinion if this method is a secure way to store/ verify a users entry password? Thank you very much for any help - it is GREATLY APPRECIATED! mikeB From mckaygerhard at ...626... Fri Aug 25 00:58:30 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 18:58:30 -0400 Subject: [Gambas-user] I need a hint on how to delete duplicate items in a array In-Reply-To: References: Message-ID: thanks gianluigi.. i'm search for same function.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-24 18:04 GMT-04:00 Gianluigi : > I don't know if this can help you. > https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 > Regards > Gianluigi > > 2017-08-24 22:39 GMT+02:00 herberth guzman : > > > Hi Benoit, how are you..? > > > > I have a question, I'm lost > > Lol > > > > I need a hint on how to delete duplicate items in a array > > > > I have the following function (I send you the code) > > And if he works > > > > > > Example > > > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] > > For Each sNames In RDir(sDir, "*", gb.Directory) > > > > Print sNames > > > > Next > > Next > > > > > > The problem is the following: > > > > I have /usr/share/themes/Ambiance > > I have /home/herberth.local/share/themes/Ambiance > > > > And I only need one Ambiance > > And not two Ambiance > > > > Please help me solve my problem, I have two days and I can not. I want to > > cry. > > Lol > > > > > > Attachme my complete code > > > > > > > > > > Private Function ReturnArrays(SortedArray As String[], withNumber As > > Boolean) As String[] > > > > Dim sSingle, sWithNumber As New String[] > > Dim i, n As Integer > > > > For i = 0 To SortedArray.Max > > ' You can avoid with Tobias's trick (For i = 1 To ...) > > If i < SortedArray.Max Then > > If SortedArray[i] = SortedArray[i + 1] Then > > Inc n > > Else > > Inc n > > sSingle.Push(SortedArray[i]) > > sWithNumber.Push(n & SortedArray[i]) > > n = 0 > > Endif > > Endif > > Next > > Inc n > > sSingle.Push(SortedArray[SortedArray.Max]) > > sWithNumber.Push(n & SortedArray[SortedArray.Max]) > > If withNumber Then > > Return sWithNumber > > Else > > Return sSingle > > Endif > > > > End > > > > Public Sub sListTheme() > > > > Dim sDir As String > > Dim sFiles As String > > Dim sSort As String[] > > Dim s As String > > > > > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] > > > > For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() > > sSort = [sFiles] > > > > For Each s In ReturnArrays(sSort, 0) > > Print s > > Next > > > > Next > > Next > > > > End > > > > > > If you can help me I'll thank you. > > Thank you. > > Regards > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Aug 25 01:09:03 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 19:09:03 -0400 Subject: [Gambas-user] I need a hint on how to delete duplicate items in a array In-Reply-To: References: Message-ID: hey herbert, made it .. only return the local theme: the hint: https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 Dim sA As String Dim i, e As Integer Dim ssA As String[] = ["usr/share/Lopez", "Anderson", "Clark", "Wright", "Mitchell", "Johnson", "Thomas", "Rodriguez"] Dim ssB As String[] = ["Johnson", "usr/local/Lopez", "Perez", "Wright", "Williams", "Smith", "Thomas", "Jones", "Anderson"] Dim ssC As New String[] For e = ssA.Max To 0 Step -1 sA = ssA[e] For i = ssB.Max To 0 Step -1 sA = Replace$(sA, "usr/share/", "") If InStr(ssB[i],sA,1,gb.Ignorecase) > 0 Then ssA.Remove(e) ssB.Remove(i) ssC.Push(sA) Break Endif Next Next ssC.Insert(ssA) ssC.Insert(ssB) ssC.Sort() For Each sA In ssC Print sA Next Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-24 18:58 GMT-04:00 PICCORO McKAY Lenz : > thanks gianluigi.. i'm search for same function.. > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-24 18:04 GMT-04:00 Gianluigi : > >> I don't know if this can help you. >> https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 >> Regards >> Gianluigi >> >> 2017-08-24 22:39 GMT+02:00 herberth guzman : >> >> > Hi Benoit, how are you..? >> > >> > I have a question, I'm lost >> > Lol >> > >> > I need a hint on how to delete duplicate items in a array >> > >> > I have the following function (I send you the code) >> > And if he works >> > >> > >> > Example >> > >> > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] >> > For Each sNames In RDir(sDir, "*", gb.Directory) >> > >> > Print sNames >> > >> > Next >> > Next >> > >> > >> > The problem is the following: >> > >> > I have /usr/share/themes/Ambiance >> > I have /home/herberth.local/share/themes/Ambiance >> > >> > And I only need one Ambiance >> > And not two Ambiance >> > >> > Please help me solve my problem, I have two days and I can not. I want >> to >> > cry. >> > Lol >> > >> > >> > Attachme my complete code >> > >> > >> > >> > >> > Private Function ReturnArrays(SortedArray As String[], withNumber As >> > Boolean) As String[] >> > >> > Dim sSingle, sWithNumber As New String[] >> > Dim i, n As Integer >> > >> > For i = 0 To SortedArray.Max >> > ' You can avoid with Tobias's trick (For i = 1 To ...) >> > If i < SortedArray.Max Then >> > If SortedArray[i] = SortedArray[i + 1] Then >> > Inc n >> > Else >> > Inc n >> > sSingle.Push(SortedArray[i]) >> > sWithNumber.Push(n & SortedArray[i]) >> > n = 0 >> > Endif >> > Endif >> > Next >> > Inc n >> > sSingle.Push(SortedArray[SortedArray.Max]) >> > sWithNumber.Push(n & SortedArray[SortedArray.Max]) >> > If withNumber Then >> > Return sWithNumber >> > Else >> > Return sSingle >> > Endif >> > >> > End >> > >> > Public Sub sListTheme() >> > >> > Dim sDir As String >> > Dim sFiles As String >> > Dim sSort As String[] >> > Dim s As String >> > >> > >> > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] >> > >> > For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() >> > sSort = [sFiles] >> > >> > For Each s In ReturnArrays(sSort, 0) >> > Print s >> > Next >> > >> > Next >> > Next >> > >> > End >> > >> > >> > If you can help me I'll thank you. >> > Thank you. >> > Regards >> > ------------------------------------------------------------ >> > ------------------ >> > 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 at 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From mckaygerhard at ...626... Fri Aug 25 01:11:05 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 19:11:05 -0400 Subject: [Gambas-user] I need a hint on how to delete duplicate items in a array In-Reply-To: References: Message-ID: sorry, changed: If InStr(ssB[i],sA,1,gb.Ignorecase) > 0 Then ssA.Remove(e) ssC.Push(ssB[i]) ssB.Remove(i) Break Endif now done, only return the local theme for user.. not for system theme Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-24 19:09 GMT-04:00 PICCORO McKAY Lenz : > hey herbert, made it .. only return the local theme: the hint: > > https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a368 > > Dim sA As String > Dim i, e As Integer > Dim ssA As String[] = ["usr/share/Lopez", "Anderson", "Clark", "Wright", > "Mitchell", "Johnson", "Thomas", "Rodriguez"] > Dim ssB As String[] = ["Johnson", "usr/local/Lopez", "Perez", "Wright", > "Williams", "Smith", "Thomas", "Jones", "Anderson"] > Dim ssC As New String[] > > For e = ssA.Max To 0 Step -1 > sA = ssA[e] > For i = ssB.Max To 0 Step -1 > sA = Replace$(sA, "usr/share/", "") > If InStr(ssB[i],sA,1,gb.Ignorecase) > 0 Then > ssA.Remove(e) > ssB.Remove(i) > ssC.Push(sA) > Break > Endif > Next > Next > ssC.Insert(ssA) > ssC.Insert(ssB) > ssC.Sort() > > For Each sA In ssC > Print sA > Next > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-24 18:58 GMT-04:00 PICCORO McKAY Lenz : > >> thanks gianluigi.. i'm search for same function.. >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-08-24 18:04 GMT-04:00 Gianluigi : >> >>> I don't know if this can help you. >>> https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3 >>> ff50d2b46a368 >>> Regards >>> Gianluigi >>> >>> 2017-08-24 22:39 GMT+02:00 herberth guzman : >>> >>> > Hi Benoit, how are you..? >>> > >>> > I have a question, I'm lost >>> > Lol >>> > >>> > I need a hint on how to delete duplicate items in a array >>> > >>> > I have the following function (I send you the code) >>> > And if he works >>> > >>> > >>> > Example >>> > >>> > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] >>> > For Each sNames In RDir(sDir, "*", gb.Directory) >>> > >>> > Print sNames >>> > >>> > Next >>> > Next >>> > >>> > >>> > The problem is the following: >>> > >>> > I have /usr/share/themes/Ambiance >>> > I have /home/herberth.local/share/themes/Ambiance >>> > >>> > And I only need one Ambiance >>> > And not two Ambiance >>> > >>> > Please help me solve my problem, I have two days and I can not. I want >>> to >>> > cry. >>> > Lol >>> > >>> > >>> > Attachme my complete code >>> > >>> > >>> > >>> > >>> > Private Function ReturnArrays(SortedArray As String[], withNumber As >>> > Boolean) As String[] >>> > >>> > Dim sSingle, sWithNumber As New String[] >>> > Dim i, n As Integer >>> > >>> > For i = 0 To SortedArray.Max >>> > ' You can avoid with Tobias's trick (For i = 1 To ...) >>> > If i < SortedArray.Max Then >>> > If SortedArray[i] = SortedArray[i + 1] Then >>> > Inc n >>> > Else >>> > Inc n >>> > sSingle.Push(SortedArray[i]) >>> > sWithNumber.Push(n & SortedArray[i]) >>> > n = 0 >>> > Endif >>> > Endif >>> > Next >>> > Inc n >>> > sSingle.Push(SortedArray[SortedArray.Max]) >>> > sWithNumber.Push(n & SortedArray[SortedArray.Max]) >>> > If withNumber Then >>> > Return sWithNumber >>> > Else >>> > Return sSingle >>> > Endif >>> > >>> > End >>> > >>> > Public Sub sListTheme() >>> > >>> > Dim sDir As String >>> > Dim sFiles As String >>> > Dim sSort As String[] >>> > Dim s As String >>> > >>> > >>> > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] >>> > >>> > For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() >>> > sSort = [sFiles] >>> > >>> > For Each s In ReturnArrays(sSort, 0) >>> > Print s >>> > Next >>> > >>> > Next >>> > Next >>> > >>> > End >>> > >>> > >>> > If you can help me I'll thank you. >>> > Thank you. >>> > Regards >>> > ------------------------------------------------------------ >>> > ------------------ >>> > 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 at 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 at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > From tmorehen at ...3602... Fri Aug 25 02:18:45 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Thu, 24 Aug 2017 20:18:45 -0400 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> Message-ID: <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> Dim userid As String Dim encrypted As String Dim cked As Boolean userid = "xcodex" encrypted = Crypt.md5(userid, "abcdefgh") cked = Crypt.Check(userid, encrypted) Print cked On 2017-08-24 06:14 PM, mikeB wrote: > userid = "xcodex" > Crypt.MD5(userid, "abcdefgh") > cked = Crypt.Check(userid, "abcdefgh") > Message.Info(cked) From mckaygerhard at ...626... Fri Aug 25 02:49:36 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 24 Aug 2017 20:49:36 -0400 Subject: [Gambas-user] gambas playground only runs in docker? Message-ID: https://gitlab.com/prokopyl/gambas-playground the playground seems only runs in docker.. before i try to runs at my own internal service for my job.. this its true? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mikeB at ...3673... Fri Aug 25 05:43:00 2017 From: mikeB at ...3673... (mikeB) Date: Thu, 24 Aug 2017 21:43:00 -0600 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> Message-ID: <4bbc32b8-8008-a4de-693c-572df0b2e077@...3673...> A BIG Thanks to Tony for the quick and working example - this function is exactly what I needed. Not being able to decrypt it was a brilliant idea - who ever wrote it gets my vote. NOW - if anyone out there has a minute and knows - where does this encrypted file or string reside after it is created? As always - appreciate your time and knowledge, mikeB On 08/24/2017 06:18 PM, Tony Morehen wrote: > Dim userid As String > > Dim encrypted As String > Dim cked As Boolean > > userid = "xcodex" > encrypted = Crypt.md5(userid, "abcdefgh") > cked = Crypt.Check(userid, encrypted) > Print cked > > On 2017-08-24 06:14 PM, mikeB wrote: >> userid = "xcodex" >> Crypt.MD5(userid, "abcdefgh") >> cked = Crypt.Check(userid, "abcdefgh") >> Message.Info(cked) > > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Fri Aug 25 06:19:23 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 25 Aug 2017 00:19:23 -0400 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <4bbc32b8-8008-a4de-693c-572df0b2e077@...3673...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <4bbc32b8-8008-a4de-693c-572df0b2e077@...3673...> Message-ID: 2017-08-24 23:43 GMT-04:00 mikeB : > > this encrypted file or string reside after it is created? > its obviously you are afraid of security in your proyect.. its better takes more in how the project parse the information and not in how the project cryp the information.... > > As always - appreciate your time and knowledge, > > mikeB > > > > > On 08/24/2017 06:18 PM, Tony Morehen wrote: > >> Dim userid As String >> >> Dim encrypted As String >> Dim cked As Boolean >> >> userid = "xcodex" >> encrypted = Crypt.md5(userid, "abcdefgh") >> cked = Crypt.Check(userid, encrypted) >> Print cked >> >> On 2017-08-24 06:14 PM, mikeB wrote: >> >>> userid = "xcodex" >>> Crypt.MD5(userid, "abcdefgh") >>> cked = Crypt.Check(userid, "abcdefgh") >>> Message.Info(cked) >>> >> >> >> >> ------------------------------------------------------------------------------ >> >> 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rwe-sse at ...3629... Fri Aug 25 08:23:38 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Fri, 25 Aug 2017 08:23:38 +0200 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <4bbc32b8-8008-a4de-693c-572df0b2e077@...3673...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <4bbc32b8-8008-a4de-693c-572df0b2e077@...3673...> Message-ID: <599FC26A.7040105@...3629...> > > NOW - if anyone out there has a minute and knows - where does > > this encrypted file or string reside after it is created? > Guess where strings reside, somewhere in memory, with a pointer to it... Depends on the interpreter. Why do you care? It's encrypted. If you care for security, the unencrypted original would be more interesting, but can easily be deleted or written over. Or did I get you completely wrong here? Regards Rolf From bagonergi at ...626... Fri Aug 25 09:47:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 25 Aug 2017 09:47:40 +0200 Subject: [Gambas-user] I need a hint on how to delete duplicate items in a array In-Reply-To: References: Message-ID: This code suggested by Vuott of Gambas-it.org, it only uses the two arrays. http://www.gambas-it.org/smf/index.php?topic=5876.msg42088#msg42088 Regards Gianluigi 2017-08-25 0:58 GMT+02:00 PICCORO McKAY Lenz : > thanks gianluigi.. i'm search for same function.. > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-24 18:04 GMT-04:00 Gianluigi : > > > I don't know if this can help you. > > https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3ff50d2b46a3 > 68 > > Regards > > Gianluigi > > > > 2017-08-24 22:39 GMT+02:00 herberth guzman : > > > > > Hi Benoit, how are you..? > > > > > > I have a question, I'm lost > > > Lol > > > > > > I need a hint on how to delete duplicate items in a array > > > > > > I have the following function (I send you the code) > > > And if he works > > > > > > > > > Example > > > > > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] > > > For Each sNames In RDir(sDir, "*", gb.Directory) > > > > > > Print sNames > > > > > > Next > > > Next > > > > > > > > > The problem is the following: > > > > > > I have /usr/share/themes/Ambiance > > > I have /home/herberth.local/share/themes/Ambiance > > > > > > And I only need one Ambiance > > > And not two Ambiance > > > > > > Please help me solve my problem, I have two days and I can not. I want > to > > > cry. > > > Lol > > > > > > > > > Attachme my complete code > > > > > > > > > > > > > > > Private Function ReturnArrays(SortedArray As String[], withNumber As > > > Boolean) As String[] > > > > > > Dim sSingle, sWithNumber As New String[] > > > Dim i, n As Integer > > > > > > For i = 0 To SortedArray.Max > > > ' You can avoid with Tobias's trick (For i = 1 To ...) > > > If i < SortedArray.Max Then > > > If SortedArray[i] = SortedArray[i + 1] Then > > > Inc n > > > Else > > > Inc n > > > sSingle.Push(SortedArray[i]) > > > sWithNumber.Push(n & SortedArray[i]) > > > n = 0 > > > Endif > > > Endif > > > Next > > > Inc n > > > sSingle.Push(SortedArray[SortedArray.Max]) > > > sWithNumber.Push(n & SortedArray[SortedArray.Max]) > > > If withNumber Then > > > Return sWithNumber > > > Else > > > Return sSingle > > > Endif > > > > > > End > > > > > > Public Sub sListTheme() > > > > > > Dim sDir As String > > > Dim sFiles As String > > > Dim sSort As String[] > > > Dim s As String > > > > > > > > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] > > > > > > For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() > > > sSort = [sFiles] > > > > > > For Each s In ReturnArrays(sSort, 0) > > > Print s > > > Next > > > > > > Next > > > Next > > > > > > End > > > > > > > > > If you can help me I'll thank you. > > > Thank you. > > > Regards > > > ------------------------------------------------------------ > > > ------------------ > > > 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mikeB at ...3673... Fri Aug 25 10:20:51 2017 From: mikeB at ...3673... (mikeB) Date: Fri, 25 Aug 2017 02:20:51 -0600 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <599FC26A.7040105@...3629...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <4bbc32b8-8008-a4de-693c-572df0b2e077@...3673...> <599FC26A.7040105@...3629...> Message-ID: Greetings, I don't see how it could be help in memory cuz it can still be verified after the system has been turned off. Why do I care? Inquiring minds just want to learn and know I guess;-) I would think that if a person is going to write a software program that implements something as important as encryption then he/ she should have a good understanding of what's happening? Anyway, I think from the last several answers I must of hit a 'sore spot' or something - so I'll consider these questions answered and REALLY - I do appreciate the input. have a GREAT day or night - what ever the case might be, mikeB On 08/25/2017 12:23 AM, Rolf-Werner Eilert wrote: >> >> NOW - if anyone out there has a minute and knows - where does >> >> this encrypted file or string reside after it is created? >> > > > Guess where strings reside, somewhere in memory, with a pointer to > it... Depends on the interpreter. > > Why do you care? It's encrypted. If you care for security, the > unencrypted original would be more interesting, but can easily be > deleted or written over. > > Or did I get you completely wrong here? > > Regards > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Fri Aug 25 10:29:04 2017 From: taboege at ...626... (Tobias Boege) Date: Fri, 25 Aug 2017 10:29:04 +0200 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> Message-ID: <20170825082904.GC555@...3600...> On Thu, 24 Aug 2017, mikeB wrote: > eGreetings, > I THINK I understand that the "Crypt" function is used to encrypt a password > that can be checked > by challenging user input (asking to input the password). Verifies plain > text against encrypted data - > It can NOT be decrypted. > > > ?1 = where does this encrypted file (or string) exist after created? in the > "shadow" file perhaps? > > > ?2 = I am using the following lines of code for testing - I must not > understand what I'm doing > cuz does not seem to do as expected: > > userid = "xcodex" > Crypt.MD5(userid, "abcdefgh") > cked = Crypt.Check(userid, "abcdefgh") > Message.Info(cked) > > cked ALWAYS returns "T" no matter how the code values are changed. Doc says > "True" = not found? > > > ?3 = could someone give me a couple lines of code to perform this function? > learning by example ;-) > > > $4 = what's your opinion if this method is a secure way to store/ verify a > users entry password? > > Thank you very much for any help - it is GREATLY APPRECIATED! > mikeB > First of all, don't reply to a message from the mailing list when you want to start a new topic. It's not enough to just change the subject line. Write a brand new email instead. Both your questions about encryption ended up in the humongous thread about Gambas switching to Gitlab. Now to your questions: (1) Crypt does not operate with files. It takes an input password and hashes it, returning the hash. It does just this one thing and leaves storage to you -- because a hash function should not be concerned about storage. (2) In light of the answer to (1), you are ignoring the return value of Crypt.MD5(). This return value is the password hash which you need to get into a variable and use in a call to Crypt.Check(). Crypt.MD5() doesn't magically associate a hashed version of "abcdefgh" with "xcodex". (3) Here: Public Sub Main() Dim s As String s = Crypt.MD5("secret", "salt5678") Print s Print Crypt.Check("test", s) Print Crypt.Check("secret", s) End >> $1$salt5678$eRxLEhWQsIei43/wfY66J/ >> True >> False (4) You should have read the site about good password hashes I gave you last time. It explicitly says that MD5 is NOT a good hash for passwords. MD5 can be used for quick file integrity checks, not passwords. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Aug 25 10:37:21 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 25 Aug 2017 10:37:21 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1139: fail to build gbx with CLOCK_MONOTONIC_RAW undeclared PATCH provided In-Reply-To: <599f5a8c.ca991c0a.4d046.20b9SMTPIN_ADDED_BROKEN@...2392...> References: <599f5a8c.ca991c0a.4d046.20b9SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1139: fail to build gbx with CLOCK_MONOTONIC_RAW undeclared PATCH provided Date?: Thu, 24 Aug 2017 23:00:27 GMT De?: bugtracker at ...3416... Pour?: mckaygerhard at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1139&from=L21haW4- Comment #2 by PICCORO LENZ MCKAY: please, merge my request for fixed that bug: https://gitlab.com/gambas/gambas/merge_requests/8 From adrien.prokopowicz at ...626... Fri Aug 25 10:37:34 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 25 Aug 2017 10:37:34 +0200 Subject: [Gambas-user] gambas playground only runs in docker? In-Reply-To: References: Message-ID: Le Fri, 25 Aug 2017 02:49:36 +0200, PICCORO McKAY Lenz a ?crit: > https://gitlab.com/prokopyl/gambas-playground > > the playground seems only runs in docker.. before i try to runs at my own > internal service for my job.. this its true? The playground does indeed need docker to work (in order to provide isolated throw-away environments for each script), but everything is not run in a docker container. The playground actually consists of three parts (the three directories in the repo) : - The Web interface (playground-web) : It's just a bunch of static HTML/CSS/JS, they make the UI in the browser, and can be served by any web server (I use NGINX for the version I host, but it can be anything). - The Playground Server : It's a Gambas Web Application that exposes a REST API, which takes the source code as input and outputs the generated result. It uses docker to create a container for each incoming request, and returns the stdout and stderr of the container. It also handles the timeouts and cuts the output if it is too long. The Server actually stands by itself, as it is run as by gb.httpd process, but I made it managed by Systemd and with NGINX as a reverse proxy for HTTPS, caching, gzip and some other things. - The Runner : it's a very simple Gambas application that gathers its standard input, and then feeds it into the Gambas Scripter (gbs3). The Runner is built and put into a docker image (see the Dockerfile in the repo), which serves as a base image for the containers ran by the Playground Server. So, for short, what you need is *access* to the Docker daemon, some webserver to serve the static files, and of course a recent version of Gambas. -- Adrien Prokopowicz From adrien.prokopowicz at ...626... Fri Aug 25 11:22:07 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 25 Aug 2017 11:22:07 +0200 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <20170825082904.GC555@...3600...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <20170825082904.GC555@...3600...> Message-ID: Le Fri, 25 Aug 2017 10:29:04 +0200, Tobias Boege a ?crit: > > First of all, don't reply to a message from the mailing list when you > want > to start a new topic. It's not enough to just change the subject line. > Write a brand new email instead. Both your questions about encryption > ended > up in the humongous thread about Gambas switching to Gitlab. > > Now to your questions: > > (1) Crypt does not operate with files. It takes an input password and > hashes it, returning the hash. It does just this one thing and leaves > storage to you -- because a hash function should not be concerned about > storage. > > (2) In light of the answer to (1), you are ignoring the return value of > Crypt.MD5(). This return value is the password hash which you need to get > into a variable and use in a call to Crypt.Check(). Crypt.MD5() doesn't > magically associate a hashed version of "abcdefgh" with "xcodex". > > (3) Here: > > Public Sub Main() > Dim s As String > > s = Crypt.MD5("secret", "salt5678") > Print s > > Print Crypt.Check("test", s) > Print Crypt.Check("secret", s) > End > > >> $1$salt5678$eRxLEhWQsIei43/wfY66J/ > >> True > >> False > > (4) You should have read the site about good password hashes I gave you > last time. It explicitly says that MD5 is NOT a good hash for passwords. > MD5 can be used for quick file integrity checks, not passwords. > > Regards, > Tobi > I would like to put my two cents on this subject (although, disclaimer : I am not a professional in security). First of all, the documentation of gb.crypt is completely wrong. As Tobias says, its methods have *nothing* to do with encryption : they only make hashes, and NONE of the hashing methods provided are suitable for hashing passwords, only for integrity checks (and even for that, MD5 is completely outdated, we recently found some collisions for SHA-1, and I don't know why DES is even there). (I should probably go fix that documentation when I have some time, actually.) As for Tobias' code example, using a pre-defined salt for the hash is not a good idea : it only makes you more vulnerable to rainbow tables. It is better to let gb.crypt choose a random salt, like this : Public Sub Main() Dim s As String s = Crypt.MD5("secret")' Try 1 Print s Print Crypt.Check("test", s) Print Crypt.Check("secret", s) s = Crypt.MD5("secret") 'Try 2, same password Print s Print Crypt.Check("test", s) Print Crypt.Check("secret", s) End >> $1$7aSkjqOz$U5G4oets/2qDVJc9tXmml1 >> True >> False >> $1$RIh/RpJL$2PH3QOTo/81tqOFAxllh2. >> True >> False Here, as you can see, the MD5 hashes differ even though we used the same password, which is really useful if you want to store several passwords in a database. Although MD5 is still very bad for hashing passwords. -- Adrien Prokopowicz From gambas at ...1... Fri Aug 25 11:32:36 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 25 Aug 2017 11:32:36 +0200 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <20170825082904.GC555@...3600...> Message-ID: <792a8539-8b7d-08bd-0144-36e4ace592ec@...1...> Le 25/08/2017 ? 11:22, Adrien Prokopowicz a ?crit : > > I would like to put my two cents on this subject (although, > disclaimer : I am not a professional in security). > > First of all, the documentation of gb.crypt is completely wrong. As > Tobias says, its methods have *nothing* to do with encryption : ... Not my fault: $ man crypt CRYPT(3) NAME crypt, crypt_r - password and data encryption ... But you are right. The documentation should be updated with emphasis on hashing instead of encryption, and an explanation of the risks. And SHA-1 and SHA-2 are provided too for better security. Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Fri Aug 25 11:58:28 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 25 Aug 2017 11:58:28 +0200 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <792a8539-8b7d-08bd-0144-36e4ace592ec@...1...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <20170825082904.GC555@...3600...> <792a8539-8b7d-08bd-0144-36e4ace592ec@...1...> Message-ID: Le Fri, 25 Aug 2017 11:32:36 +0200, Beno?t Minisini a ?crit: > Le 25/08/2017 ? 11:22, Adrien Prokopowicz a ?crit : >> I would like to put my two cents on this subject (although, >> disclaimer : I am not a professional in security). >> First of all, the documentation of gb.crypt is completely wrong. As >> Tobias says, its methods have *nothing* to do with encryption : ... > > Not my fault: > > $ man crypt > > CRYPT(3) > > NAME > crypt, crypt_r - password and data encryption > ... Oh wow, I actually never noticed this. Probably it is because it's a very old function, and no one wanted to update the man page ? > But you are right. The documentation should be updated with emphasis on > hashing > instead of encryption, and an explanation of the risks. Yep, I will probably do that when I'm finished with writing the Git guide. > And SHA-1 and SHA-2 are provided too for better security. I know they are there, but while they are a little better than MD5, they still are very bad for handling passwords, they are way too quick. Some functions that are commonly used for password hashing are PBKDF2 or bcrypt (and maybe scrypt too, although I heard it is a bit young). PBKDF2 and scrypt can be provided by OpenSSL, but I think bcrypt is implemented in a separate library. -- Adrien Prokopowicz From rwe-sse at ...3629... Fri Aug 25 12:01:37 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Fri, 25 Aug 2017 12:01:37 +0200 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <20170825082904.GC555@...3600...> Message-ID: <599FF581.10502@...3629...> Ok Adrien, > First of all, the documentation of gb.crypt is completely wrong. As > Tobias says, > its methods have *nothing* to do with encryption : they only make > hashes, and NONE is there a way to make real encryption in Gambas? If I wanted to encrypt some file with a password for instance, what would I do? Regards Rolf From adrien.prokopowicz at ...626... Fri Aug 25 12:26:01 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 25 Aug 2017 12:26:01 +0200 Subject: [Gambas-user] CRYPT function - a little help please? In-Reply-To: <599FF581.10502@...3629...> References: <2c165d88-94ca-0e42-1b18-def0d39041e1@...3602...> <643f8c71-8bc0-dd3c-dad7-2abda90ad9ec@...3602...> <20170825082904.GC555@...3600...> <599FF581.10502@...3629...> Message-ID: Le Fri, 25 Aug 2017 12:01:37 +0200, Rolf-Werner Eilert a ?crit: > Ok Adrien, > > > First of all, the documentation of gb.crypt is completely wrong. As >> Tobias says, >> its methods have *nothing* to do with encryption : they only make >> hashes, and NONE > > > is there a way to make real encryption in Gambas? If I wanted to encrypt > some file with a password for instance, what would I do? > > Regards > Rolf > I've never used it, but I think you would have to take a look at gb.openssl and its Cipher class. -- Adrien Prokopowicz From bagonergi at ...626... Fri Aug 25 13:56:24 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 25 Aug 2017 13:56:24 +0200 Subject: [Gambas-user] I need a hint on how to delete duplicate items in a array In-Reply-To: References: Message-ID: Of course, speaking of directories, I thought it was correct not to take into account Tobias's admonitions [0]. I hope I will not go wrong :-/ Regards Gianluigi [0] https://sourceforge.net/p/gambas/mailman/message/35921360/ 2017-08-25 9:47 GMT+02:00 Gianluigi : > This code suggested by Vuott of Gambas-it.org, it only uses the two arrays. > http://www.gambas-it.org/smf/index.php?topic=5876.msg42088#msg42088 > > Regards > Gianluigi > > 2017-08-25 0:58 GMT+02:00 PICCORO McKAY Lenz : > >> thanks gianluigi.. i'm search for same function.. >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-08-24 18:04 GMT-04:00 Gianluigi : >> >> > I don't know if this can help you. >> > https://gambas-playground.proko.eu/?gist=c6e63a84d209911a2b3 >> ff50d2b46a368 >> > Regards >> > Gianluigi >> > >> > 2017-08-24 22:39 GMT+02:00 herberth guzman : >> > >> > > Hi Benoit, how are you..? >> > > >> > > I have a question, I'm lost >> > > Lol >> > > >> > > I need a hint on how to delete duplicate items in a array >> > > >> > > I have the following function (I send you the code) >> > > And if he works >> > > >> > > >> > > Example >> > > >> > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] >> > > For Each sNames In RDir(sDir, "*", gb.Directory) >> > > >> > > Print sNames >> > > >> > > Next >> > > Next >> > > >> > > >> > > The problem is the following: >> > > >> > > I have /usr/share/themes/Ambiance >> > > I have /home/herberth.local/share/themes/Ambiance >> > > >> > > And I only need one Ambiance >> > > And not two Ambiance >> > > >> > > Please help me solve my problem, I have two days and I can not. I >> want to >> > > cry. >> > > Lol >> > > >> > > >> > > Attachme my complete code >> > > >> > > >> > > >> > > >> > > Private Function ReturnArrays(SortedArray As String[], withNumber As >> > > Boolean) As String[] >> > > >> > > Dim sSingle, sWithNumber As New String[] >> > > Dim i, n As Integer >> > > >> > > For i = 0 To SortedArray.Max >> > > ' You can avoid with Tobias's trick (For i = 1 To ...) >> > > If i < SortedArray.Max Then >> > > If SortedArray[i] = SortedArray[i + 1] Then >> > > Inc n >> > > Else >> > > Inc n >> > > sSingle.Push(SortedArray[i]) >> > > sWithNumber.Push(n & SortedArray[i]) >> > > n = 0 >> > > Endif >> > > Endif >> > > Next >> > > Inc n >> > > sSingle.Push(SortedArray[SortedArray.Max]) >> > > sWithNumber.Push(n & SortedArray[SortedArray.Max]) >> > > If withNumber Then >> > > Return sWithNumber >> > > Else >> > > Return sSingle >> > > Endif >> > > >> > > End >> > > >> > > Public Sub sListTheme() >> > > >> > > Dim sDir As String >> > > Dim sFiles As String >> > > Dim sSort As String[] >> > > Dim s As String >> > > >> > > >> > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ >> "themes/"] >> > > >> > > For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() >> > > sSort = [sFiles] >> > > >> > > For Each s In ReturnArrays(sSort, 0) >> > > Print s >> > > Next >> > > >> > > Next >> > > Next >> > > >> > > End >> > > >> > > >> > > If you can help me I'll thank you. >> > > Thank you. >> > > Regards >> > > ------------------------------------------------------------ >> > > ------------------ >> > > 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 at 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 at 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gbwilly at ...3606... Fri Aug 25 14:07:53 2017 From: gbwilly at ...3606... (gbwilly at ...3606...) Date: Fri, 25 Aug 2017 12:07:53 -0000 Subject: [Gambas-user] [OFF TOPIC] Trouble creating gitLab account Message-ID: <20170825120754.A84CA4E0047@...3683...> > Le Mon, 21 Aug 2017 17:58:30 +0200, a ?crit: > >> I want to create a gitLab user so I can clone gambas and from there do >> translations, to later do the merge request for Dutch gambas >> translations. >> >> When I register a user I get a reCAPTCHA error. >> >> Screenshot01 shows page before registring. >> Screenshot02 shows page after trying to register with error. >> >> Anyone have this experience? >> >> gbWilly > > There is a captcha you need to fill in order to register, but it is > probably > blocked by your ad blocker. > > Try to disable it temporarily and refresh the page, that should fix your > problem. > Well, I disabled the ad blocker, no recaptcha. So I restarted the browser, still no recaptcha. Guess I'll try it at work on monday, maybe more luck there. gbWilly From mckaygerhard at ...626... Fri Aug 25 14:13:17 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 25 Aug 2017 08:13:17 -0400 Subject: [Gambas-user] [OFF TOPIC] Trouble creating gitLab account In-Reply-To: <20170825120754.A84CA4E0047@...3683...> References: <20170825120754.A84CA4E0047@...3683...> Message-ID: in some situations very rare, i sufers the same... well maybe its too much bnut i go to the cybercafe and make the same process and see work.. try it Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-25 8:07 GMT-04:00 : > > Le Mon, 21 Aug 2017 17:58:30 +0200, a ?crit: > > > >> I want to create a gitLab user so I can clone gambas and from there do > >> translations, to later do the merge request for Dutch gambas > >> translations. > >> > >> When I register a user I get a reCAPTCHA error. > >> > >> Screenshot01 shows page before registring. > >> Screenshot02 shows page after trying to register with error. > >> > >> Anyone have this experience? > >> > >> gbWilly > > > > There is a captcha you need to fill in order to register, but it is > > probably > > blocked by your ad blocker. > > > > Try to disable it temporarily and refresh the page, that should fix your > > problem. > > > > Well, I disabled the ad blocker, no recaptcha. > So I restarted the browser, still no recaptcha. > > Guess I'll try it at work on monday, maybe more luck there. > > gbWilly > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Fri Aug 25 15:03:55 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 25 Aug 2017 15:03:55 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Le Thu, 24 Aug 2017 16:09:48 +0200, Adrien Prokopowicz a ?crit: > > Is Tobias working on this too ? > I'm currently writing a guide here : > http://gambaswiki.org/wiki/howto/contribute, but > instead of making a masterclass on how git works, I directly describe > how to contribute > to the Gambas source code, so it is easier for newcomers. > > It's still work in progress (it's missing the "how to create a merge > request", the > commit log format description, and probably more), but this can help a > little already. Okay, I think the contributing guide is now complete. You can see it here : http://gambaswiki.org/wiki/howto/contribute When writing this guide, I assumed readers would know close to nothing about Git, but would still kinda know what Version Control Systems are in general. I also didn't want to make a masterclass on what Git is, or how it works internally. There are much better resources elsewhere for this, this guide should be restricted to "How to get my code to the Gambas repo", but with some links sprinkled here and there, for those who want to learn more. I would appreciate any remarks or criticism on this, from experienced Git users, but more importantly from newcomers who currently struggle with Git. :-) Regards, -- Adrien Prokopowicz From mckaygerhard at ...626... Fri Aug 25 15:49:40 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 25 Aug 2017 09:49:40 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: hi Adrien.. its a very consise and good simgle guide, good work! i think can sustitute the "how to deal with git" if some other things are added like removal of items and branches... but if the target its be as simple as possible maybe part of that guide can be merged .. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-25 9:03 GMT-04:00 Adrien Prokopowicz : > Le Thu, 24 Aug 2017 16:09:48 +0200, Adrien Prokopowicz < > adrien.prokopowicz at ...626...> a ?crit: > >> >> Is Tobias working on this too ? >> I'm currently writing a guide here : http://gambaswiki.org/wiki/how >> to/contribute, but >> instead of making a masterclass on how git works, I directly describe how >> to contribute >> to the Gambas source code, so it is easier for newcomers. >> >> It's still work in progress (it's missing the "how to create a merge >> request", the >> commit log format description, and probably more), but this can help a >> little already. >> > > Okay, I think the contributing guide is now complete. You can see it here : > http://gambaswiki.org/wiki/howto/contribute > > When writing this guide, I assumed readers would know close to nothing > about Git, > but would still kinda know what Version Control Systems are in general. > > I also didn't want to make a masterclass on what Git is, or how it works > internally. > There are much better resources elsewhere for this, this guide should be > restricted > to "How to get my code to the Gambas repo", but with some links sprinkled > here and > there, for those who want to learn more. > > I would appreciate any remarks or criticism on this, from experienced Git > users, > but more importantly from newcomers who currently struggle with Git. :-) > > Regards, > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Aug 25 15:55:09 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 25 Aug 2017 09:55:09 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: umm well, too much "consice" that's why i think can be a light version and a complete version but well.. the guide have many references for almost all important operations, but does not have a link to the guide provide by T Lee "git the simples guide" very usefully for all of newbies the command for clone only assumed the git+ssh, and the added command dont take into removal of items... and for little changes, i think the very complicated process of making a gpgp to use a ssh access/git its too much complex to non-regular users.. https its more simple for little patches its only my apreciations.. in general terms are very concise .. good work Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-25 9:49 GMT-04:00 PICCORO McKAY Lenz : > hi Adrien.. its a very consise and good simgle guide, good work! > > i think can sustitute the "how to deal with git" if some other things are > added like removal of items and branches... > > but if the target its be as simple as possible maybe part of that guide > can be merged .. > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-08-25 9:03 GMT-04:00 Adrien Prokopowicz >: > >> Le Thu, 24 Aug 2017 16:09:48 +0200, Adrien Prokopowicz < >> adrien.prokopowicz at ...626...> a ?crit: >> >>> >>> Is Tobias working on this too ? >>> I'm currently writing a guide here : http://gambaswiki.org/wiki/how >>> to/contribute, but >>> instead of making a masterclass on how git works, I directly describe >>> how to contribute >>> to the Gambas source code, so it is easier for newcomers. >>> >>> It's still work in progress (it's missing the "how to create a merge >>> request", the >>> commit log format description, and probably more), but this can help a >>> little already. >>> >> >> Okay, I think the contributing guide is now complete. You can see it here >> : >> http://gambaswiki.org/wiki/howto/contribute >> >> When writing this guide, I assumed readers would know close to nothing >> about Git, >> but would still kinda know what Version Control Systems are in general. >> >> I also didn't want to make a masterclass on what Git is, or how it works >> internally. >> There are much better resources elsewhere for this, this guide should be >> restricted >> to "How to get my code to the Gambas repo", but with some links sprinkled >> here and >> there, for those who want to learn more. >> >> I would appreciate any remarks or criticism on this, from experienced Git >> users, >> but more importantly from newcomers who currently struggle with Git. :-) >> >> Regards, >> >> -- >> Adrien Prokopowicz >> >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From bagonergi at ...626... Fri Aug 25 16:29:40 2017 From: bagonergi at ...626... (Gianluigi) Date: Fri, 25 Aug 2017 16:29:40 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Hi Adrien, For me that I never understand at first, this wiki is simple and clear thank you very much. May I have a prayer for you? Could you write a simple and clear wiki just for compiling, already clear but above all the updating, less clear in spite of the fatigue made by all of you to explain it to me and which still does not keep track on the wiki? Regards Gianluigi 2017-08-25 15:03 GMT+02:00 Adrien Prokopowicz : > Le Thu, 24 Aug 2017 16:09:48 +0200, Adrien Prokopowicz < > adrien.prokopowicz at ...626...> a ?crit: > >> >> Is Tobias working on this too ? >> I'm currently writing a guide here : http://gambaswiki.org/wiki/how >> to/contribute, but >> instead of making a masterclass on how git works, I directly describe how >> to contribute >> to the Gambas source code, so it is easier for newcomers. >> >> It's still work in progress (it's missing the "how to create a merge >> request", the >> commit log format description, and probably more), but this can help a >> little already. >> > > Okay, I think the contributing guide is now complete. You can see it here : > http://gambaswiki.org/wiki/howto/contribute > > When writing this guide, I assumed readers would know close to nothing > about Git, > but would still kinda know what Version Control Systems are in general. > > I also didn't want to make a masterclass on what Git is, or how it works > internally. > There are much better resources elsewhere for this, this guide should be > restricted > to "How to get my code to the Gambas repo", but with some links sprinkled > here and > there, for those who want to learn more. > > I would appreciate any remarks or criticism on this, from experienced Git > users, > but more importantly from newcomers who currently struggle with Git. :-) > > Regards, > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gbwilly at ...3606... Fri Aug 25 22:48:51 2017 From: gbwilly at ...3606... (gbwilly at ...3606...) Date: Fri, 25 Aug 2017 20:48:51 -0000 Subject: [Gambas-user] [OFF TOPIC] Trouble creating gitLab account Message-ID: <20170825204852.AB2644E001A@...3683...> > On 08/25/2017 08:07 AM, gbwilly at ...3606... wrote: >>> Le Mon, 21 Aug 2017 17:58:30 +0200, a ?crit: >>> >>>> I want to create a gitLab user so I can clone gambas and from there do >>>> translations, to later do the merge request for Dutch gambas >>>> translations. >>>> >>>> When I register a user I get a reCAPTCHA error. >>>> >>>> Screenshot01 shows page before registring. >>>> Screenshot02 shows page after trying to register with error. >>>> >>>> Anyone have this experience? >>>> >>>> gbWilly >>> >>> There is a captcha you need to fill in order to register, but it is >>> probably >>> blocked by your ad blocker. >>> >>> Try to disable it temporarily and refresh the page, that should fix your >>> problem. >>> >> >> Well, I disabled the ad blocker, no recaptcha. >> So I restarted the browser, still no recaptcha. >> >> Guess I'll try it at work on monday, maybe more luck there. >> >> gbWilly >> > > The reCaptcha is delivered via Javascript with a noscript fallback in an iframe. Perhaps you are blocking scripts _and_ iframes > from third-party sources. > > [code] > >
> > [/code] > > -- > Lee You set me at the right track, turned out to be a privacy tracking setting in Firefox. Tnx all, got my gitLab account up and running and forked Gambas. Now let' s do some translations and give git a go :) gbWilly From gbwilly at ...3606... Fri Aug 25 23:21:43 2017 From: gbwilly at ...3606... (gbwilly at ...3606...) Date: Fri, 25 Aug 2017 21:21:43 -0000 Subject: [Gambas-user] Switching to GitLab Message-ID: <20170825212145.27F6E4E000F@...3683...> > Le Thu, 24 Aug 2017 16:09:48 +0200, Adrien Prokopowicz > a ?crit: >> >> Is Tobias working on this too ? >> I'm currently writing a guide here : >> http://gambaswiki.org/wiki/howto/contribute, but >> instead of making a masterclass on how git works, I directly describe >> how to contribute >> to the Gambas source code, so it is easier for newcomers. >> >> It's still work in progress (it's missing the "how to create a merge >> request", the >> commit log format description, and probably more), but this can help a >> little already. > > Okay, I think the contributing guide is now complete. You can see it here : > http://gambaswiki.org/wiki/howto/contribute > > When writing this guide, I assumed readers would know close to nothing > about Git, > but would still kinda know what Version Control Systems are in general. > > I also didn't want to make a masterclass on what Git is, or how it works > internally. > There are much better resources elsewhere for this, this guide should be > restricted > to "How to get my code to the Gambas repo", but with some links sprinkled > here and > there, for those who want to learn more. > > I would appreciate any remarks or criticism on this, from experienced Git > users, > but more importantly from newcomers who currently struggle with Git. :-) > > Regards, > -- > Adrien Prokopowicz Good work Adrien, It was clear enough to me. There is one thing I am missing. Once you make your private fork of gambas on gitLab, how do you keep it updated with the gambas project at gitLab? Is this an automated thing or do we have to do something. Maybe something to add to your excellent guide. gbWilly From d4t4full at ...626... Sat Aug 26 00:48:45 2017 From: d4t4full at ...626... (d4t4full at ...626...) Date: Fri, 25 Aug 2017 19:48:45 -0300 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <20170825212145.27F6E4E000F@...3683...> References: <20170825212145.27F6E4E000F@...3683...> Message-ID: Count me in! I'd like also, of course, have Git(Lab) not overwrite any changes I may have made in my contrib with upstream, in case these changes were not yet PUSHed successfully to upstream. Er... Does that sound right? I meant that we need to update our private forks while not "downgrading" our contributions. That sounds better. TIA, zxMarce. On Aug 25, 2017, 18:21, at 18:21, gbwilly at ...3606... wrote: >> Le Thu, 24 Aug 2017 16:09:48 +0200, Adrien Prokopowicz >> a ?crit: >>> >>> Is Tobias working on this too ? >>> I'm currently writing a guide here : >>> http://gambaswiki.org/wiki/howto/contribute, but >>> instead of making a masterclass on how git works, I directly >describe >>> how to contribute >>> to the Gambas source code, so it is easier for newcomers. >>> >>> It's still work in progress (it's missing the "how to create a merge > >>> request", the >>> commit log format description, and probably more), but this can help >a >>> little already. >> >> Okay, I think the contributing guide is now complete. You can see it >here : >> http://gambaswiki.org/wiki/howto/contribute >> >> When writing this guide, I assumed readers would know close to >nothing >> about Git, >> but would still kinda know what Version Control Systems are in >general. >> >> I also didn't want to make a masterclass on what Git is, or how it >works >> internally. >> There are much better resources elsewhere for this, this guide should >be >> restricted >> to "How to get my code to the Gambas repo", but with some links >sprinkled >> here and >> there, for those who want to learn more. >> >> I would appreciate any remarks or criticism on this, from experienced >Git >> users, >> but more importantly from newcomers who currently struggle with Git. >:-) >> >> Regards, >> -- >> Adrien Prokopowicz > >Good work Adrien, > >It was clear enough to me. >There is one thing I am missing. >Once you make your private fork of gambas on gitLab, how do you keep it >updated with the gambas project at gitLab? >Is this an automated thing or do we have to do something. Maybe >something to add to your excellent guide. > >gbWilly >------------------------------------------------------------------------------ >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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From chrisml at ...3340... Sat Aug 26 07:56:06 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 26 Aug 2017 07:56:06 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: <4090dac0-1cc2-2881-ba25-cd65d9e33808@...3340...> Am 25.08.2017 um 15:03 schrieb Adrien Prokopowicz: > Okay, I think the contributing guide is now complete. You can see it here : > http://gambaswiki.org/wiki/howto/contribute Thank you very much fro your work, very clear! I also think, that it lacks a way to fetch updates from upstream to the local repo, but as I think this would be a solution, allthough it was written for Github: http://share.ez.no/blogs/virgil-ciobanu/how-to-syncronize-your-github-fork-with-original-repository 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 adrien.prokopowicz at ...626... Sat Aug 26 12:14:06 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 26 Aug 2017 12:14:06 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <20170825212145.2979B4E000E@...3683...> References: <20170825212145.2979B4E000E@...3683...> Message-ID: Le Fri, 25 Aug 2017 23:21:43 +0200, a ?crit: > > Good work Adrien, > > It was clear enough to me. > There is one thing I am missing. > Once you make your private fork of gambas on gitLab, how do you keep it > updated with the gambas project at gitLab? > Is this an automated thing or do we have to do something. Maybe > something to add to your excellent guide. > > gbWilly It is not automatic : you have to manually fetch the changes from the Gambas repository, and then push them to your own. I just added a section on how to do that in the guide. :-) -- Adrien Prokopowicz From mckaygerhard at ...626... Sat Aug 26 14:54:00 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 26 Aug 2017 08:54:00 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <20170825212145.2979B4E000E@...3683...> Message-ID: 2017-08-26 6:14 GMT-04:00 Adrien Prokopowicz : > It is not automatic : you have to manually fetch the changes from the > Gambas > my repos are in sync automatically with github! as Cris said have lack of.. > repository, and then push them to your own. > this its only in local case! > > I just added a section on how to do that in the guide. :-) > its better let it as is.. to keep it simple > > -- > Adrien Prokopowicz > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gbwilly at ...3606... Sat Aug 26 20:33:00 2017 From: gbwilly at ...3606... (gbwilly at ...3606...) Date: Sat, 26 Aug 2017 18:33:00 -0000 Subject: [Gambas-user] Switching to GitLab Message-ID: <20170826183301.44BF84E001A@...3683...> > Le Fri, 25 Aug 2017 23:21:43 +0200, a ?crit: >> >> Good work Adrien, >> >> It was clear enough to me. >> There is one thing I am missing. >> Once you make your private fork of gambas on gitLab, how do you keep it >> updated with the gambas project at gitLab? >> Is this an automated thing or do we have to do something. Maybe >> something to add to your excellent guide. >> >> gbWilly > > It is not automatic : you have to manually fetch the changes from the > Gambas > repository, and then push them to your own. > > I just added a section on how to do that in the guide. :-) > > -- > Adrien Prokopowicz Thanks, very clear, worked right away. I'm beginning to like git a lot :) gbWilly From gambas at ...1... Sat Aug 26 21:50:44 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 26 Aug 2017 21:50:44 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" In-Reply-To: References: Message-ID: <6333c8ae-358d-be1e-c9a4-7a7da81ebd9a@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" Date?: Sat, 26 Aug 2017 19:47:07 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1145&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- fca930e (master): "Unable to compile gb.term.form" Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- Hello, at the end of " make install ", while I was installing fca930e (master) version, I obtained this warning: || || Unable to compile gb.term.form || System information ------------------ [System] Gambas=3.10.90 fca930e (master) OperatingSystem=Linux Kernel=4.11.0-14-generic Architecture=x86_64 Distribution=Linux Mint 18.2 Sonya Desktop=CINNAMON Theme=Cleanlooks Language=it_IT.UTF-8 Memory=3949M [Libraries] Cairo=libcairo.so.2.11400.6 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From gambas at ...1... Sat Aug 26 21:55:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 26 Aug 2017 21:55:55 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" In-Reply-To: <59a1d214.759adf0a.9aa6f.d271SMTPIN_ADDED_BROKEN@...2392...> References: <59a1d214.759adf0a.9aa6f.d271SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <178d5805-3590-d273-7ae1-3b93deb6676a@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" Date?: Sat, 26 Aug 2017 19:54:59 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1145&from=L21haW4- Comment #1 by vuott VUOTT: I report this other warning during "make install": Installing gb.form.terminal... Compiling gb.term.form... TermControl.class:9: error: Unexpected '<' From gambas at ...1... Sat Aug 26 22:05:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 26 Aug 2017 22:05:50 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" In-Reply-To: <59a1d3f7.ad8adf0a.1b998.d4e0SMTPIN_ADDED_BROKEN@...2392...> References: <59a1d3f7.ad8adf0a.1b998.d4e0SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" Date?: Sat, 26 Aug 2017 20:03:02 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1145&from=L21haW4- Comment #2 by Beno?t MINISINI: No problem here... . From gambas at ...1... Sat Aug 26 22:05:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 26 Aug 2017 22:05:50 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" In-Reply-To: <59a1d47b.d0801c0a.d3278.1188SMTPIN_ADDED_BROKEN@...2392...> References: <59a1d47b.d0801c0a.d3278.1188SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" Date?: Sat, 26 Aug 2017 20:05:14 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1145&from=L21haW4- Comment #3 by Beno?t MINISINI: Oops, sorry, it's the last commit of Fabien I hadn't pull that broke everything. Beno?t MINISINI changed the state of the bug to: Accepted. From Karl.Reinl at ...2345... Sat Aug 26 22:06:44 2017 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 26 Aug 2017 22:06:44 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <20170814222453.b39a9329f85fcbf716854af5@...626...> <1502900352.5677.100.camel@...3609...> <6b4ae492-9d00-7a85-4e82-0015a1e661a3@...1...> Message-ID: <1503778004.5071.15.camel@...3609...> Am Sonntag, den 20.08.2017, 21:31 +0300 schrieb Jussi Lahtinen: > How do you get the change log with git? "git log" shows only one change > (most recent?). > Is this because I cloned the sources with "git clone --depth=1 > https://gitlab.com/gambas/gambas.git"? > > Even when I want only the latest dev version, I would still like to know > what has changed. It's quite important if you do bug hunting. > > > Jussi > Salut Jussi, I found that 'git log --graph --oneline --all' you can go back to gambas 2.0.0 Tag -- Amicalement Charlie From gambas at ...1... Sat Aug 26 22:40:12 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 26 Aug 2017 22:40:12 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" In-Reply-To: <59a1dbae.c81e1c0a.57478.eb49SMTPIN_ADDED_BROKEN@...2392...> References: <59a1dbae.c81e1c0a.57478.eb49SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" Date?: Sat, 26 Aug 2017 20:35:58 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1145&from=L21haW4- Comment #4 by Beno?t MINISINI: It should be fixed in commit https://gitlab.com/gambas/gambas/commit/0c2b70d16e2d28924a10a5f9a6e96494120bb3ba Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Sat Aug 26 22:54:49 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 26 Aug 2017 22:54:49 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" In-Reply-To: <59a1dfa9.b882df0a.f5843.bd61SMTPIN_ADDED_BROKEN@...2392...> References: <59a1dfa9.b882df0a.f5843.bd61SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <1eaaf173-bec9-7a87-bf13-af1f09717988@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1145: fca930e (master): "Unable to compile gb.term.form" Date?: Sat, 26 Aug 2017 20:52:57 GMT De?: bugtracker at ...3416... Pour?: vuott at ...325..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1145&from=L21haW4- Comment #5 by vuott VUOTT: Now it's ok. From mckaygerhard at ...626... Sun Aug 27 00:13:35 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 26 Aug 2017 18:13:35 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <20170826183301.44BF84E001A@...3683...> References: <20170826183301.44BF84E001A@...3683...> Message-ID: great work, now the contributing wiki guide has the missing "keep up to date" part, now are more complete but with more pieces will get less "short" ;-) 2017-08-26 14:33 GMT-04:00 : > > Le Fri, 25 Aug 2017 23:21:43 +0200, a ?crit: > >> > >> Good work Adrien, > >> > >> It was clear enough to me. > >> There is one thing I am missing. > >> Once you make your private fork of gambas on gitLab, how do you keep it > >> updated with the gambas project at gitLab? > >> Is this an automated thing or do we have to do something. Maybe > >> something to add to your excellent guide. > >> > >> gbWilly > > > > It is not automatic : you have to manually fetch the changes from the > > Gambas > > repository, and then push them to your own. > > > > I just added a section on how to do that in the guide. :-) > > > > -- > > Adrien Prokopowicz > > Thanks, very clear, worked right away. > I'm beginning to like git a lot :) > > gbWilly > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sun Aug 27 03:34:18 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 26 Aug 2017 21:34:18 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <20170826183301.44BF84E001A@...3683...> Message-ID: I redone many sections of the git gambas wiki, and link the wiki contribute page http://gambaswiki.org/wiki/howto/git?l=en I track all the Gambas' gitlab organization, development workflow, and code hints, tomorrow i'll chek last parts and pass a spell check again just for sure.. Please take a shot of the given corrections Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-26 18:13 GMT-04:00 PICCORO McKAY Lenz : > great work, now the contributing wiki guide has the missing "keep up to > date" part, now are more complete but with more pieces will get less > "short" ;-) > > > 2017-08-26 14:33 GMT-04:00 : > >> > Le Fri, 25 Aug 2017 23:21:43 +0200, a ?crit: >> >> >> >> Good work Adrien, >> >> >> >> It was clear enough to me. >> >> There is one thing I am missing. >> >> Once you make your private fork of gambas on gitLab, how do you keep it >> >> updated with the gambas project at gitLab? >> >> Is this an automated thing or do we have to do something. Maybe >> >> something to add to your excellent guide. >> >> >> >> gbWilly >> > >> > It is not automatic : you have to manually fetch the changes from the >> > Gambas >> > repository, and then push them to your own. >> > >> > I just added a section on how to do that in the guide. :-) >> > >> > -- >> > Adrien Prokopowicz >> >> Thanks, very clear, worked right away. >> I'm beginning to like git a lot :) >> >> gbWilly >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Sun Aug 27 09:55:16 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Aug 2017 09:55:16 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <20170826183301.44BF84E001A@...3683...> Message-ID: <5bb32e02-dd28-ac4d-9d67-ca260cc29ec3@...1...> Le 27/08/2017 ? 03:34, PICCORO McKAY Lenz a ?crit : > I redone many sections of the git gambas wiki, and link the wiki contribute > page > > http://gambaswiki.org/wiki/howto/git?l=en > > I track all the Gambas' gitlab organization, development workflow, and code > hints, tomorrow i'll chek last parts and pass a spell check again just for > sure.. > > Please take a shot of the given corrections > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > Thanks for the work, but your english is still full of errors and barely readable by anyone... :-/ -- Beno?t Minisini From mckaygerhard at ...626... Sun Aug 27 14:01:26 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 27 Aug 2017 08:01:26 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: <5bb32e02-dd28-ac4d-9d67-ca260cc29ec3@...1...> References: <20170826183301.44BF84E001A@...3683...> <5bb32e02-dd28-ac4d-9d67-ca260cc29ec3@...1...> Message-ID: 2017-08-27 3:55 GMT-04:00 Beno?t Minisini : > Le 27/08/2017 ? 03:34, PICCORO McKAY Lenz a ?crit : > >> >> > Thanks for the work, but your english is still full of errors and barely > readable by anyone... :-/ > Ok benoit working on... > > -- > Beno?t Minisini > From mckaygerhard at ...626... Sun Aug 27 15:12:00 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 27 Aug 2017 09:12:00 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <20170826183301.44BF84E001A@...3683...> <5bb32e02-dd28-ac4d-9d67-ca260cc29ec3@...1...> Message-ID: ok fixed, your have right, (unless->Unlike, disgregated, etc etc etc) sory sorry.. .. http://gambaswiki.org/wiki/howto/git Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-27 8:01 GMT-04:00 PICCORO McKAY Lenz : > 2017-08-27 3:55 GMT-04:00 Beno?t Minisini : > >> Le 27/08/2017 ? 03:34, PICCORO McKAY Lenz a ?crit : >> >>> >>> >> Thanks for the work, but your english is still full of errors and barely >> readable by anyone... :-/ >> > Ok benoit working on... > > >> >> -- >> Beno?t Minisini >> > > From mckaygerhard at ...626... Sun Aug 27 17:49:13 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 27 Aug 2017 11:49:13 -0400 Subject: [Gambas-user] about the debian gambas guide, seems are not debian Message-ID: Hi "gbwilliy" i'm reading the Debian install guide to added Devuan (as you guess know, Debian was forked) It is loosely based on Debian: Debian only make sense of sudo command if a mayor desktop are installed, if "root" account are defined with password... I mean, expert install, server install (to use gambas packages), advanced install images like bussines and network based.. sudo are not a option... But dont worry, sudo it's great, but: also after the sudo group are performed, its nonsense a "restart" of the hole system... ! so it's clears, commands to compile and install on Debian are strong based on non-debian distro.. the commands to compile are strong based on non-debian distro.. i want changes some of these aspects - Debian does not need restart the OS after a system change, only restart session, unless are a kernel or systemd change, that are not related to gambas packaging or installing - Package search page are too complicated, get right directly to users to a simple input interface page, event the main multisearch package page. - Unlike other non-Debian, sudo its not default or referenced, if installation are made by network or minimal or expert flavor installer - Subversion are deprecated, now we use Gitlab and Git, added commands to install, and proper sustitutions for - libgnome-keyring-dev are deprecated in strech and sid, as many other packages must be cited and mani package need a "virtual name equivalent" to make fit across the time I guess was a *buntu guide based to try to contribute to debian users.. good work but.. i'm right now make some changes and them you gbwilly can trash or get back to the last you made (very lose based on debian behaviour) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Sun Aug 27 20:39:29 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Aug 2017 20:39:29 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a3066f.2b88df0a.9013c.14d0SMTPIN_ADDED_BROKEN@...2392...> References: <59a3066f.2b88df0a.9013c.14d0SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <31c86e33-3783-ba7a-4a7f-2d415ca049c9@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Sun, 27 Aug 2017 17:50:38 GMT De?: bugtracker at ...3416... Pour?: mckaygerhard at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- PICCORO LENZ MCKAY added an attachment: 2017-08-27-135006_1366x768_scrot.png From gambas at ...1... Sun Aug 27 20:39:29 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Aug 2017 20:39:29 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: References: Message-ID: <5e970bdd-2d0a-f878-38e8-bb1ece3a7ef2@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Sun, 27 Aug 2017 17:49:27 GMT De?: bugtracker at ...3416... Pour?: mckaygerhard at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- wiki incorrectly points to wrong position on anchor click if there's a index implicit Type : Bug Priority : Medium Gambas version : Unknown Product : Wiki Description ----------- see it on the gambas what's new page of 3.1.1: http://gambaswiki.org/wiki/doc/release/3.9.0#t1 event points to the "what's new" sections, goes to the second index page element! tested on firefox 45 and lasted palemoon browsers see the snapshot attached: From jussi.lahtinen at ...626... Sun Aug 27 22:18:03 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 27 Aug 2017 23:18:03 +0300 Subject: [Gambas-user] \r\n and \n Message-ID: See the attached project. I'm not sure whether this is feature or bug, but I would appreciate explanation for it. I expect to get string ending with \n, but I always get it ending with \r\n. Why? Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: Isolation-0.0.8.tar.gz Type: application/x-gzip Size: 11752 bytes Desc: not available URL: From mckaygerhard at ...626... Sun Aug 27 22:46:19 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 27 Aug 2017 16:46:19 -0400 Subject: [Gambas-user] \r\n and \n In-Reply-To: References: Message-ID: in gambas 3.5.2 i got always endding with \n in gambas 3.1.1 also.. i not at my office, so i cannot test with gambas 3.9 or 3.10 Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-27 16:18 GMT-04:00 Jussi Lahtinen : > See the attached project. I'm not sure whether this is feature or bug, but > I would appreciate explanation for it. I expect to get string ending with > \n, but I always get it ending with \r\n. > Why? > > > Jussi > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From t.lee.davidson at ...626... Sun Aug 27 22:49:06 2017 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 27 Aug 2017 16:49:06 -0400 Subject: [Gambas-user] \r\n and \n In-Reply-To: References: Message-ID: On 08/27/2017 04:18 PM, Jussi Lahtinen wrote: > See the attached project. I'm not sure whether this is feature or bug, but > I would appreciate explanation for it. I expect to get string ending with > \n, but I always get it ending with \r\n. > Why? > > > Jussi Don't know, Jussi. I get "test\n" on every iteration. -- Lee From jussi.lahtinen at ...626... Sun Aug 27 22:57:19 2017 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 27 Aug 2017 23:57:19 +0300 Subject: [Gambas-user] Fwd: \r\n and \n In-Reply-To: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> Message-ID: I just realized that Benoit answered directly to me, not via the list. Thank you everyone, but the "problem" is solved. See below. Jussi ---------- Forwarded message ---------- From: Beno?t Minisini Date: Sun, Aug 27, 2017 at 11:21 PM Subject: Re: [Gambas-user] \r\n and \n To: Jussi Lahtinen Le 27/08/2017 ? 22:18, Jussi Lahtinen a ?crit : > See the attached project. I'm not sure whether this is feature or bug, but > I would appreciate explanation for it. I expect to get string ending with > \n, but I always get it ending with \r\n. > Why? > > > Jussi > > Because: - Your programs are run inside pseudo-terminals. - The pseudo-terminals are now "correctly" initialized, with newlines "\n" emitted by the process becoming "\r\n" on the pseudo-terminal, so that they have the intentional effect (start a new line and go back to the beginning of the line). Regards, -- Beno?t Minisini From gambas at ...1... Sun Aug 27 23:12:58 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 27 Aug 2017 23:12:58 +0200 Subject: [Gambas-user] Fwd: \r\n and \n In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> Message-ID: Le 27/08/2017 ? 22:57, Jussi Lahtinen a ?crit : > I just realized that Benoit answered directly to me, not via the list. > Thank you everyone, but the "problem" is solved. See below. > > > Jussi > Yep, sorry. I don't know why, but my Thunderbird seems to ignore the Reply-to field of the mails now! -- Beno?t Minisini From tmorehen at ...3602... Mon Aug 28 00:39:24 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 27 Aug 2017 18:39:24 -0400 Subject: [Gambas-user] Fwd: \r\n and \n In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> Message-ID: <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> I'm having the same issue.? I have to remember to click reply to list.? Unfortunatly, memory fails all to often. On 2017-08-27 05:12 PM, Beno?t Minisini via Gambas-user wrote: > Le 27/08/2017 ? 22:57, Jussi Lahtinen a ?crit : >> I just realized that Benoit answered directly to me, not via the list. >> Thank you everyone, but the "problem" is solved. See below. >> >> >> Jussi >> > > Yep, sorry. I don't know why, but my Thunderbird seems to ignore the > Reply-to field of the mails now! > From chrisml at ...3340... Mon Aug 28 05:48:20 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 28 Aug 2017 05:48:20 +0200 Subject: [Gambas-user] Thunderbird issue In-Reply-To: <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: Am 28.08.2017 um 00:39 schrieb Tony Morehen: > I'm having the same issue. I have to remember to click reply to list. > Unfortunatly, memory fails all to often. They changed behaviour of TB 52 for mailinglists: https://bugzilla.mozilla.org/show_bug.cgi?id=1309486 Very, very silly. And now they did a patch here: https://bugzilla.mozilla.org/show_bug.cgi?id=1392371 We will have to wait until TB 57 and then alter mail.override_list_reply_to in about.config to get the old bahaviour back. Thats so silly, I think about replacing TB in future. Until then a Addon helps: https://bugzilla.mozilla.org/show_bug.cgi?id=1309486#c48 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... Mon Aug 28 06:08:28 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 28 Aug 2017 06:08:28 +0200 Subject: [Gambas-user] Thunderbird issue In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: Am 28.08.2017 um 05:48 schrieb Christof Thalhofer: > We will have to wait until TB 57 Ahm sorry, "TB 52.4 at the end of September". 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 bagonergi at ...626... Mon Aug 28 08:55:27 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 28 Aug 2017 08:55:27 +0200 Subject: [Gambas-user] Thunderbird issue In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: Also with gmail i have to be careful and I often mistake (always :-)) I click on the first entry but it is not always the right one to answer the list. See attached picture Regards Gianluigi 2017-08-28 6:08 GMT+02:00 Christof Thalhofer : > Am 28.08.2017 um 05:48 schrieb Christof Thalhofer: > > > We will have to wait until TB 57 > > Ahm sorry, "TB 52.4 at the end of September". > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- A non-text attachment was scrubbed... Name: mlgambas.png Type: image/png Size: 22979 bytes Desc: not available URL: From bagonergi at ...626... Mon Aug 28 09:20:50 2017 From: bagonergi at ...626... (Gianluigi) Date: Mon, 28 Aug 2017 09:20:50 +0200 Subject: [Gambas-user] Thunderbird issue In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: only now I realize that the address appears in the image. Can anyone replace it with this one? Thank you I'm sorry Gianluigi 2017-08-28 8:55 GMT+02:00 Gianluigi : > Also with gmail i have to be careful and I often mistake (always :-)) > I click on the first entry but it is not always the right one to answer > the list. > > See attached picture > > Regards > Gianluigi > > 2017-08-28 6:08 GMT+02:00 Christof Thalhofer : > >> Am 28.08.2017 um 05:48 schrieb Christof Thalhofer: >> >> > We will have to wait until TB 57 >> >> Ahm sorry, "TB 52.4 at the end of September". >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> Dies ist keine Signatur >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: mlgambas.png Type: image/png Size: 21408 bytes Desc: not available URL: From mckaygerhard at ...626... Mon Aug 28 09:31:52 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 28 Aug 2017 03:31:52 -0400 Subject: [Gambas-user] Thunderbird issue In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: Listen guys, firefox and thunderbird changed all the behaviour in firefox 52 and thunderbird 52 that's why many users now are migrating to palemoon and fossamanil Benoit and others, my recomendation its to use palemoon and fosamail if all your plugins and behaviour want to see the same of older firefox and thunderbird Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-27 23:48 GMT-04:00 Christof Thalhofer : > Am 28.08.2017 um 00:39 schrieb Tony Morehen: > > > I'm having the same issue. I have to remember to click reply to list. > > Unfortunatly, memory fails all to often. > > They changed behaviour of TB 52 for mailinglists: > > https://bugzilla.mozilla.org/show_bug.cgi?id=1309486 > > Very, very silly. > > And now they did a patch here: > https://bugzilla.mozilla.org/show_bug.cgi?id=1392371 > > We will have to wait until TB 57 and then alter > mail.override_list_reply_to in about.config to get the old bahaviour > back. Thats so silly, I think about replacing TB in future. > > Until then a Addon helps: > https://bugzilla.mozilla.org/show_bug.cgi?id=1309486#c48 > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From chrisml at ...3340... Mon Aug 28 10:21:00 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 28 Aug 2017 10:21:00 +0200 Subject: [Gambas-user] Thunderbird issue In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: Am 28.08.2017 um 09:31 schrieb PICCORO McKAY Lenz: > that's why many users now are migrating to ... fossamanil No. https://www.fossamail.org/ 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 rwe-sse at ...3629... Mon Aug 28 10:56:38 2017 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Mon, 28 Aug 2017 10:56:38 +0200 Subject: [Gambas-user] Thunderbird issue In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: <59A3DAC6.5010500@...3629...> Am 28.08.2017 06:08, schrieb Christof Thalhofer: > Am 28.08.2017 um 05:48 schrieb Christof Thalhofer: > >> We will have to wait until TB 57 > > Ahm sorry, "TB 52.4 at the end of September". > > Alles Gute > > Christof Thalhofer Strange that you see this only now. I have had this problem for ages. On my main system, I work with Thunderbird 17, and it has shown this forever. The problem arises when I get 2 mails from someone, one mail is with the personal adress and one Answer button only, the other one has Answer AND Answer to List. In most cases, the two mails appear in different fonts. So I am pretty much used to looking for the right one and clicking Answer To List. As this has been going for years, I would not wonder anymore. The only thing that changed recently is that I now get mails with "mailing list for Gambas users" instead of the sender's name. Regards Rolf From mckaygerhard at ...626... Mon Aug 28 13:40:36 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 28 Aug 2017 07:40:36 -0400 Subject: [Gambas-user] Thunderbird issue In-Reply-To: <59A3DAC6.5010500@...3629...> References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> <59A3DAC6.5010500@...3629...> Message-ID: 2017-08-28 4:56 GMT-04:00 Rolf-Werner Eilert : The problem arises when I get 2 mails from someone, one mail is with the > personal adress and one Answer button only, the other one has Answer AND > Answer to List. In most cases, the two mails appear in different fonts. So > I am pretty much used to looking for the right one and clicking Answer To > List. > this due the other person has the same problem.. and click to response all From mckaygerhard at ...626... Mon Aug 28 13:44:07 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 28 Aug 2017 07:44:07 -0400 Subject: [Gambas-user] Thunderbird issue In-Reply-To: References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> Message-ID: 2017-08-28 4:21 GMT-04:00 Christof Thalhofer : > > https://www.fossamail.org/ O.o well seems the main effors are concentrated in palemoon.. but now as i can see, today the choices are very reducted! > > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Mon Aug 28 13:47:17 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:17 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1147: Application with GTK3 widgetset not responsive In-Reply-To: References: Message-ID: <47a917e5-ac0c-53d9-41ea-ffc331267dc4@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1147: Application with GTK3 widgetset not responsive Date?: Mon, 28 Aug 2017 07:17:51 GMT De?: bugtracker at ...3416... Pour?: marc.hanisch at ...1601..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1147&from=L21haW4- Marc HANISCH reported a new bug. Summary ------- Application with GTK3 widgetset not responsive Type : Bug Priority : Medium Gambas version : 3.10 Product : GTK+3 component Description ----------- Hello, I was not able to find a report about this here, so I will create a new one: I was testing Gambas 3.10.0 on elementary OS Loki, which is based on Ubuntu 16.04. When I start an application which uses the GTK3 widget set, the controls are not responsive. I've switched to QT4 and it works. All GTK3 libraries are installed. Can anyone reproduce this bug? Thanks, Marc System information ------------------ Linux 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux From gambas at ...1... Mon Aug 28 13:47:19 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:19 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1148: MediaPipeline.position updates slow In-Reply-To: References: Message-ID: <8adfcf2c-f513-9f95-2bec-23cbf98b442c@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1148: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 10:08:48 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1148&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- MediaPipeline.position updates slow Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Hi, It looks like there is some kind of delay in this variable In earlier versions every time you read this variable it gave another value, but now it holds the value for a while the media is playing. For example : When i ask every 40ms (1 video frame) what current position is, the output looks like this : 85.344761 85.344761 85.344761 85.344761 85.344761 85.344761 85.594809 85.594809 85.594809 Is there a chance this can be fixed? With kind regards, Joris. System information ------------------ Linux Joris 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux Gambas 3.9.2 From gambas at ...1... Mon Aug 28 13:47:20 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:20 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1151: MediaPipeline.position updates slow In-Reply-To: References: Message-ID: <67425438-fb38-79e0-64aa-c0dc8a579962@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1151: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 10:10:04 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1151&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- MediaPipeline.position updates slow Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Hi, It looks like there is some kind of delay in this variable In earlier versions every time you read this variable it gave another value, but now it holds the value for a while the media is playing. For example : When i ask every 40ms (1 video frame) what current position is, the output looks like this : 85.344761 85.344761 85.344761 85.344761 85.344761 85.344761 85.594809 85.594809 85.594809 Is there a chance this can be fixed? With kind regards, Joris. System information ------------------ Linux Joris 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux Gambas 3.9.2 From gambas at ...1... Mon Aug 28 13:47:19 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:19 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1150: MediaPipeline.position updates slow In-Reply-To: References: Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1150: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 10:10:03 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1150&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- MediaPipeline.position updates slow Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Hi, It looks like there is some kind of delay in this variable In earlier versions every time you read this variable it gave another value, but now it holds the value for a while the media is playing. For example : When i ask every 40ms (1 video frame) what current position is, the output looks like this : 85.344761 85.344761 85.344761 85.344761 85.344761 85.344761 85.594809 85.594809 85.594809 Is there a chance this can be fixed? With kind regards, Joris. System information ------------------ Linux Joris 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux Gambas 3.9.2 From gambas at ...1... Mon Aug 28 13:47:19 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:19 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1149: MediaPipeline.position updates slow In-Reply-To: References: Message-ID: <3fd28e4f-cd54-5c0a-83e9-cec658e4731a@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1149: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 10:10:02 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1149&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- MediaPipeline.position updates slow Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Hi, It looks like there is some kind of delay in this variable In earlier versions every time you read this variable it gave another value, but now it holds the value for a while the media is playing. For example : When i ask every 40ms (1 video frame) what current position is, the output looks like this : 85.344761 85.344761 85.344761 85.344761 85.344761 85.344761 85.594809 85.594809 85.594809 Is there a chance this can be fixed? With kind regards, Joris. System information ------------------ Linux Joris 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux Gambas 3.9.2 From gambas at ...1... Mon Aug 28 13:47:20 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:20 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1152: MediaPipeline.position updates slow In-Reply-To: References: Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1152: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 10:10:05 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1152&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- MediaPipeline.position updates slow Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Hi, It looks like there is some kind of delay in this variable In earlier versions every time you read this variable it gave another value, but now it holds the value for a while the media is playing. For example : When i ask every 40ms (1 video frame) what current position is, the output looks like this : 85.344761 85.344761 85.344761 85.344761 85.344761 85.344761 85.594809 85.594809 85.594809 Is there a chance this can be fixed? With kind regards, Joris. System information ------------------ Linux Joris 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux Gambas 3.9.2 From gambas at ...1... Mon Aug 28 13:47:20 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:20 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1153: MediaPipeline.position updates slow In-Reply-To: References: Message-ID: <06d8a454-b526-2963-0741-276b08c938ef@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1153: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 10:10:06 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1153&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- MediaPipeline.position updates slow Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Hi, It looks like there is some kind of delay in this variable In earlier versions every time you read this variable it gave another value, but now it holds the value for a while the media is playing. For example : When i ask every 40ms (1 video frame) what current position is, the output looks like this : 85.344761 85.344761 85.344761 85.344761 85.344761 85.344761 85.594809 85.594809 85.594809 Is there a chance this can be fixed? With kind regards, Joris. System information ------------------ Linux Joris 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux Gambas 3.9.2 From gambas at ...1... Mon Aug 28 13:47:21 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:21 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a3ecdc.c68adf0a.205fe.12e2SMTPIN_ADDED_BROKEN@...2392...> References: <59a3ecdc.c68adf0a.205fe.12e2SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 10:13:48 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #1 by Joris ALDERS: Linux Joris 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux From gambas at ...1... Mon Aug 28 13:47:20 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:47:20 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: References: Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 10:13:29 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- MediaPipeline.position Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, It looks like there is some kind of delay in this variable In earlier versions every time you read this variable it gave another value, but now it holds the value for a while the media is playing. For example : When i ask every 40ms (1 video frame) what current position is, the output looks like this : 85.344761 85.344761 85.344761 85.344761 85.344761 85.344761 85.594809 85.594809 85.594809 Is there a chance this can be fixed? With kind regards, Joris. From gambas at ...1... Mon Aug 28 13:57:25 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:57:25 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a40490.036f1c0a.2dfe4.3d4fSMTPIN_ADDED_BROKEN@...2392...> References: <59a40490.036f1c0a.2dfe4.3d4fSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 11:54:56 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #2 by Beno?t MINISINI: Can you stop creating ten times the same bug report?! From gambas at ...1... Mon Aug 28 13:57:25 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:57:25 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1148: MediaPipeline.position updates slow In-Reply-To: <59a404a6.04bbdf0a.6f62f.468cSMTPIN_ADDED_BROKEN@...2392...> References: <59a404a6.04bbdf0a.6f62f.468cSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1148: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 11:55:18 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1148&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Invalid. From gambas at ...1... Mon Aug 28 13:57:26 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:57:26 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1151: MediaPipeline.position updates slow In-Reply-To: <59a404b8.11a51c0a.11c6a.3f14SMTPIN_ADDED_BROKEN@...2392...> References: <59a404b8.11a51c0a.11c6a.3f14SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1151: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 11:55:36 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1151&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Invalid. From gambas at ...1... Mon Aug 28 13:57:26 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:57:26 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1149: MediaPipeline.position updates slow In-Reply-To: <59a404ac.4fa71c0a.a0bfa.3b8aSMTPIN_ADDED_BROKEN@...2392...> References: <59a404ac.4fa71c0a.a0bfa.3b8aSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <61fe55f6-92ab-a63a-680a-0e8175dfbd70@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1149: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 11:55:23 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1149&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Invalid. From gambas at ...1... Mon Aug 28 13:57:26 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:57:26 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1150: MediaPipeline.position updates slow In-Reply-To: <59a404b1.5bc3df0a.ae078.48cdSMTPIN_ADDED_BROKEN@...2392...> References: <59a404b1.5bc3df0a.ae078.48cdSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <49962a29-0f92-e518-f8e3-e5f537f7299a@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1150: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 11:55:28 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1150&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Invalid. From gambas at ...1... Mon Aug 28 13:57:27 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:57:27 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1153: MediaPipeline.position updates slow In-Reply-To: <59a404d3.9388df0a.5f50c.47d0SMTPIN_ADDED_BROKEN@...2392...> References: <59a404d3.9388df0a.5f50c.47d0SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <277f4018-4158-b73f-d1ef-b887d6fba9d6@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1153: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 11:56:02 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1153&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Invalid. From gambas at ...1... Mon Aug 28 13:57:27 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 13:57:27 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1152: MediaPipeline.position updates slow In-Reply-To: <59a404be.6e8fdf0a.e81c6.3fa4SMTPIN_ADDED_BROKEN@...2392...> References: <59a404be.6e8fdf0a.e81c6.3fa4SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <24333b21-a179-06d3-2f6f-962b0a6051d9@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1152: MediaPipeline.position updates slow Date?: Mon, 28 Aug 2017 11:55:42 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1152&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Invalid. From gambas.fr at ...626... Mon Aug 28 15:28:30 2017 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 28 Aug 2017 15:28:30 +0200 Subject: [Gambas-user] Benoit Message-ID: Tu re?ois mes mails direct ? -- Fabien Bodard From olivier.cruilles at ...614... Mon Aug 28 15:54:58 2017 From: olivier.cruilles at ...614... (Yahoo) Date: Mon, 28 Aug 2017 09:54:58 -0400 Subject: [Gambas-user] Benoit In-Reply-To: References: Message-ID: Salut, Oui pas de soucis. ?? Olivier Cruilles Email: olivier.cruilles at ...614... Le August 28, 2017 ? 09:28:53, Fabien Bodard (gambas.fr at ...626...) 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Mon Aug 28 16:49:34 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 16:49:34 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a42c60.c7a6df0a.61b9d.a06cSMTPIN_ADDED_BROKEN@...2392...> References: <59a42c60.c7a6df0a.61b9d.a06cSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <56a10c28-4dc1-ba60-fb22-90388b0702ac@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 14:44:47 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #3 by Joris ALDERS: I am sorry, it looked like it didn't save the report. From gambas at ...1... Mon Aug 28 16:59:35 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 16:59:35 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a42f0a.4e161c0a.66812.9b36SMTPIN_ADDED_BROKEN@...2392...> References: <59a42f0a.4e161c0a.66812.9b36SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <594d26a2-d655-a003-799e-d154823b997b@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 14:56:10 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #4 by Beno?t MINISINI: OK. But please provide a full project that reproduces the bug if you want a chance to be fixed! Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Mon Aug 28 19:09:31 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 19:09:31 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a44d28.8794df0a.f0e76.f927SMTPIN_ADDED_BROKEN@...2392...> References: <59a44d28.8794df0a.f0e76.f927SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 17:04:39 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #5 by Joris ALDERS: Is there a way i can upload the project? Public ClockTimer As Timer Public PositionTimer As Timer Public Frames As Integer Public PreviousSeconds As Integer Public VideoFile As String Public $hhPlayer As MediaPlayer Public hSink As MediaControl Public Sub InitTimer_Timer() InitTimer.enabled = False Dialog.path = "." Try $hhPlayer = New Mediaplayer As "MediaPlayer" Try hSink = New MediaControl($hhPlayer, "ximagesink") Try hSink.SetWindow(VideoDisplay, VideoDisplay.X, VideoDisplay.Y, 640, 360) Try $hhPlayer.Video.output = hSink If Error Then Print Error.text ClockTimer = New Timer As "ClockTimer" ClockTimer.delay = 40 ClockTimer.enabled = True PositionTimer = New Timer As "PositionTimer" PositionTimer.delay = 40 PositionTimer.enabled = True End Public Sub ClockTimer_Timer() If PreviousSeconds <> Str$(Second(Now)) Then Frames = 0 ClockDisplay.text = Str$(Hour(Now)) & ":" If Len(Str$(Minute(Now))) = 1 Then ClockDisplay.text = ClockDisplay.text & "0" ClockDisplay.text = ClockDisplay.Text & Str$(Minute(Now)) & ":" If Len(Str$(Second(Now))) = 1 Then ClockDisplay.text = ClockDisplay.text & "0" ClockDisplay.text = ClockDisplay.Text & Str$(Second(Now)) & ":" If Len(Str$(frames)) = 1 Then ClockDisplay.text = ClockDisplay.text & "0" ClockDisplay.text = ClockDisplay.text & Str$(Frames) PreviousSeconds = Str$(Second(Now)) Frames = Frames + 1 End Public Sub OpenButton_Click() If Dialog.OpenFile(False) Then Return VideoFile = Dialog.path Print VideoFile Try $hhPlayer.url = Media.URL(VideoFile) Try hSink.SetWindow(VideoDisplay, VideoDisplay.X, VideoDisplay.Y, 640, 360) If Error Then PlayButton.enabled = False StopButton.enabled = False Print Error.Text Message.Error(Error.text, "OK") Else PlayButton.enabled = True StopButton.enabled = True Endif End Public Sub PlayButton_Click() Try $hhPlayer.Play If Error Then Print Error.text End Public Sub StopButton_Click() Try $hhPlayer.pause End Public Sub PositionTimer_Timer() PositionDisplay.text = JDate($hhPlayer.position) End Public Function JDate(Durat As Variant) As String Dim H As Integer Dim M As Integer Dim S As Integer Dim F As Integer Dim HH As String = "00" Dim MM As String = "00" Dim SS As String = "00" Dim FF As String = "00" Dim FPS As Integer Dim Dur As Integer FPS = 25 Dur = Durat * 1000 H = Dur / (3600 * 1000) Dur = Dur Mod (3600 * 1000) M = Dur / (60 * 1000) Dur = Dur Mod (60 * 1000) S = Dur / 1000 Dur = Dur Mod 1000 F = (Dur * FPS) / 1000 HH = Str(H) MM = Str$(M) SS = Str$(S) FF = Str$(F) If Len(HH) = 1 Then HH = "0" & HH If Len(MM) = 1 Then MM = "0" & MM If Len(SS) = 1 Then SS = "0" & SS If Len(FF) = 1 Then FF = "0" & FF Return HH & ":" & MM & ":" & SS & ":" & FF End Joris ALDERS changed the state of the bug to: Accepted. From herberthguzman at ...626... Mon Aug 28 19:19:22 2017 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 28 Aug 2017 11:19:22 -0600 Subject: [Gambas-user] I need a hint on how to delete duplicate Message-ID: Thank you all for helping me. Solve my problem, now it works fine. I show the code how it works. Dim sResult_Theme As String Dim sA As String Dim i, e As Integer Dim ssA As String[] Dim ssB As String[] Dim ssC As New String[] Dim sListUser As String Dim sListShare As String ssA = New String[] For Each sDir In Dir("/usr/share/themes", Null, gb.Directory) ssA.Add(sDir) Next ssB = New String[] For Each sListUser In Dir( Desktop.DataDir &/ "themes/", Null, gb.Directory) ssB.Add(sListUser) Next For e = ssA.Max To 0 Step -1 sA = ssA[e] For i = ssB.Max To 0 Step -1 If sA = ssB[i] Then ssA.Remove(e) ssB.Remove(i) ssC.Push(sA) Break Endif Next Next ssC.Insert(ssA) ssC.Insert(ssB) ssC.Sort() For Each sA In ssC.Sort(gb.Ascent) Print sA Next Regards > >This code suggested by Vuott of Gambas-it.org, it only uses the two > arrays. > > http://www.gambas-it.org/smf/index.php?topic=5876.msg42088#msg42088 > > >Regards > >Gianluigi > > >2017-08-25 0:58 GMT+02:00 PICCORO McKAY Lenz : > > > thanks gianluigi.. i'm search for same function.. > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-08-24 18:04 GMT-04:00 Gianluigi : > > > > > I don't know if this can help you. > > > https://gambas-playground.proko.eu/?gist= > c6e63a84d209911a2b3ff50d2b46a3 > > 68 > > > Regards > > > Gianluigi > > > > > > 2017-08-24 22:39 GMT+02:00 herberth guzman : > > > > > > > Hi Benoit, how are you..? > > > > > > > > I have a question, I'm lost > > > > Lol > > > > > > > > I need a hint on how to delete duplicate items in a array > > > > > > > > I have the following function (I send you the code) > > > > And if he works > > > > > > > > > > > > Example > > > > > > > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ "themes/"] > > > > For Each sNames In RDir(sDir, "*", gb.Directory) > > > > > > > > Print sNames > > > > > > > > Next > > > > Next > > > > > > > > > > > > The problem is the following: > > > > > > > > I have /usr/share/themes/Ambiance > > > > I have /home/herberth.local/share/themes/Ambiance > > > > > > > > And I only need one Ambiance > > > > And not two Ambiance > > > > > > > > Please help me solve my problem, I have two days and I can not. I > want > > to > > > > cry. > > > > Lol > > > > > > > > > > > > Attachme my complete code > > > > > > > > > > > > > > > > > > > > Private Function ReturnArrays(SortedArray As String[], withNumber As > > > > Boolean) As String[] > > > > > > > > Dim sSingle, sWithNumber As New String[] > > > > Dim i, n As Integer > > > > > > > > For i = 0 To SortedArray.Max > > > > ' You can avoid with Tobias's trick (For i = 1 To ...) > > > > If i < SortedArray.Max Then > > > > If SortedArray[i] = SortedArray[i + 1] Then > > > > Inc n > > > > Else > > > > Inc n > > > > sSingle.Push(SortedArray[i]) > > > > sWithNumber.Push(n & SortedArray[i]) > > > > n = 0 > > > > Endif > > > > Endif > > > > Next > > > > Inc n > > > > sSingle.Push(SortedArray[SortedArray.Max]) > > > > sWithNumber.Push(n & SortedArray[SortedArray.Max]) > > > > If withNumber Then > > > > Return sWithNumber > > > > Else > > > > Return sSingle > > > > Endif > > > > > > > > End > > > > > > > > Public Sub sListTheme() > > > > > > > > Dim sDir As String > > > > Dim sFiles As String > > > > Dim sSort As String[] > > > > Dim s As String > > > > > > > > > > > > For Each sDir In ["/usr/share/themes/", Desktop.DataDir &/ > "themes/"] > > > > > > > > For Each sFiles In Dir(sDir, "*", gb.Directory).Sort() > > > > sSort = [sFiles] > > > > > > > > For Each s In ReturnArrays(sSort, 0) > > > > Print s > > > > Next > > > > > > > > Next > > > > Next > > > > > > > > End > > > > > > > > > > > > If you can help me I'll thank you. > > > > Thank you. > > > > Regards > > > > ------------------------------------------------------------ > > > > ------------------ > > > > 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 at 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 at 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 at 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 > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------ > > End of Gambas-user Digest, Vol 135, Issue 89 > ******************************************** > From gambas at ...1... Mon Aug 28 19:19:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 19:19:50 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a44ff1.84161c0a.605ee.f1faSMTPIN_ADDED_BROKEN@...2392...> References: <59a44ff1.84161c0a.605ee.f1faSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 17:16:32 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #6 by Beno?t MINISINI: didn't you see the button to join a file after having added a comment? From gambas at ...1... Mon Aug 28 19:24:55 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 19:24:55 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a4510c.8fa4df0a.ae36f.076eSMTPIN_ADDED_BROKEN@...2392...> References: <59a4510c.8fa4df0a.ae36f.076eSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 17:21:16 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #7 by Beno?t MINISINI: Anyway, the default polling of the MediaPlayer message list is 250ms, so it's the resolution of the Position property. If really needed, you can specify another polling resolution in the MediaPlayer constructor. Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Mon Aug 28 19:27:28 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 19:27:28 +0200 Subject: [Gambas-user] I need a hint on how to delete duplicate In-Reply-To: References: Message-ID: Le 28/08/2017 ? 19:19, herberth guzman a ?crit : > Thank you all for helping me. > Solve my problem, now it works fine. I show the code how it works. > > Dim sResult_Theme As String > Dim sA As String > Dim i, e As Integer > Dim ssA As String[] > Dim ssB As String[] > Dim ssC As New String[] > Dim sListUser As String > Dim sListShare As String > > ssA = New String[] > For Each sDir In Dir("/usr/share/themes", Null, gb.Directory) > ssA.Add(sDir) > Next > > ssB = New String[] > For Each sListUser In Dir( Desktop.DataDir &/ "themes/", Null, > gb.Directory) > ssB.Add(sListUser) > Next > > For e = ssA.Max To 0 Step -1 > sA = ssA[e] > For i = ssB.Max To 0 Step -1 > If sA = ssB[i] Then > ssA.Remove(e) > ssB.Remove(i) > ssC.Push(sA) > Break > Endif > Next > Next > ssC.Insert(ssA) > ssC.Insert(ssB) > ssC.Sort() > > For Each sA In ssC.Sort(gb.Ascent) > Print sA > Next > > > Regards > Isn't that faster? Dim cThemes As New Collection Dim sTheme As String Dim sDir As String For Each sDir In Dir("/usr/share/themes", Null, gb.Directory) cThemes[sDir] = True Next For Each sDir In Dir(Desktop.DataDir &/ "themes/", Null, gb.Directory) cThemes[sDir] = True Next For Each cThemes aThemes.Add(cThemes.Key) Next aThemes.Sort(gb.Ascent) For Each sTheme In aThemes Print aThemes Next -- Beno?t Minisini From gambas at ...1... Mon Aug 28 19:29:50 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 19:29:50 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position In-Reply-To: <59a452d2.c7c5df0a.bbd2b.1277SMTPIN_ADDED_BROKEN@...2392...> References: <59a452d2.c7c5df0a.bbd2b.1277SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <490ff621-65d2-d89e-5bf9-bc354a461e50@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1154: MediaPipeline.position Date?: Mon, 28 Aug 2017 17:28:49 GMT De?: bugtracker at ...3416... Pour?: joir2000 at ...67..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1154&from=L21haW4- Comment #8 by Joris ALDERS: How do i do that? There isn't a $hhPlayer.polling variable From gambas at ...1... Mon Aug 28 20:14:49 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 20:14:49 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a45c78.1d6b1c0a.b91fb.0760SMTPIN_ADDED_BROKEN@...2392...> References: <59a45c78.1d6b1c0a.b91fb.0760SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 18:09:59 GMT De?: bugtracker at ...3416... Pour?: mckaygerhard at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #1 by Beno?t MINISINI: Isn't it a firefox bug? From chrisml at ...3340... Mon Aug 28 21:01:15 2017 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 28 Aug 2017 21:01:15 +0200 Subject: [Gambas-user] Thunderbird issue In-Reply-To: <59A3DAC6.5010500@...3629...> References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> <59A3DAC6.5010500@...3629...> Message-ID: <19b140f1-a359-9187-ed3b-e2559ac58200@...3340...> Am 28.08.2017 um 10:56 schrieb Rolf-Werner Eilert: > Strange that you see this only now. I have had this problem for ages. On > my main system, I work with Thunderbird 17, and it has shown this forever. This could be a security problem. > The problem arises when I get 2 mails from someone, one mail is with the > personal adress and one Answer button only, the other one has Answer AND > Answer to List. In most cases, the two mails appear in different fonts. > So I am pretty much used to looking for the right one and clicking > Answer To List. I don't know if TB 17 did, but 45 did respect Reply-To which is usually set by mailinglist software to the address of the ML. One could hit Ctrl-R to send the answer to the ML. Since V 52 TB answers to the sender if hit Ctrl-R and causes a lot of trouble for users of mailinglists. > As this has been going for years, I would not wonder anymore. The only > thing that changed recently is that I now get mails with "mailing list > for Gambas users" instead of the sender's name. Maybe you should choose a newer TB. :-) 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... Mon Aug 28 22:14:29 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 22:14:29 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a4795c.4b80df0a.73186.7224SMTPIN_ADDED_BROKEN@...2392...> References: <59a4795c.4b80df0a.73186.7224SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <28f14dfd-75a6-0969-38c3-b8e55f40ff33@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 20:13:15 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #2 by Adrien PROKOPOWICZ: Actually, I have the same issue on Opera 12. The problem is that the anchor element is an inline element, and since the generated index is not full width, the anchor is on the same "line" than the index. I don't think the anchor scroll position for an inline empty element is really defined (actually I haven't found the spec, if there is any), so I guess browsers just pick one : Bottom of the line for Chrome, Top of the line for Firefox/Opera. The easy fix would just be to make them block elements, but that makes me wondering : why does the markdown create an empty anchor for titles ? Wouldn't it just be easier (and lighter on the HTML markup) to put an id on the title element ? From herberthguzman at ...626... Mon Aug 28 22:22:11 2017 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 28 Aug 2017 14:22:11 -0600 Subject: [Gambas-user] I need a hint on how to delete duplicate Message-ID: > Thank you all for helping me. > Solve my problem, now it works fine. I show the code how it works. > > Dim sResult_Theme As String > Dim sA As String > Dim i, e As Integer > Dim ssA As String[] > Dim ssB As String[] > Dim ssC As New String[] > Dim sListUser As String > Dim sListShare As String > > ssA = New String[] > For Each sDir In Dir("/usr/share/themes", Null, gb.Directory) > ssA.Add(sDir) > Next > > ssB = New String[] > For Each sListUser In Dir( Desktop.DataDir &/ "themes/", Null, > gb.Directory) > ssB.Add(sListUser) > Next > > For e = ssA.Max To 0 Step -1 > sA = ssA[e] > For i = ssB.Max To 0 Step -1 > If sA = ssB[i] Then > ssA.Remove(e) > ssB.Remove(i) > ssC.Push(sA) > Break > Endif > Next > Next > ssC.Insert(ssA) > ssC.Insert(ssB) > ssC.Sort() > > For Each sA In ssC.Sort(gb.Ascent) > Print sA > Next > > > Regards > >Isn't that faster? > Dim cThemes As New Collection > Dim sTheme As String > Dim sDir As String > For Each sDir In Dir("/usr/share/themes", Null, gb.Directory) > cThemes[sDir] = True > Next > For Each sDir In Dir(Desktop.DataDir &/ "themes/", Null, gb.Directory) > cThemes[sDir] = True > Next > For Each cThemes > aThemes.Add(cThemes.Key) > Next > aThemes.Sort(gb.Ascent) > For Each sTheme In aThemes > Print aThemes > Next > -- > Beno?t Minisini Thanks Benoit, your code work for me. Regards From gambas at ...1... Mon Aug 28 22:24:42 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 22:24:42 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a47b2b.859a1c0a.379fe.5bceSMTPIN_ADDED_BROKEN@...2392...> References: <59a47b2b.859a1c0a.379fe.5bceSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <79db25cd-13b7-a9a7-b21e-49264bd6ff0a@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 20:20:58 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #3 by PICCORO LENZ MCKAY: i tested with: * firefox 3.6.24 : good * chromium 46: works but the title "what's new" dissapears * firefox 16.0.2 : dont work! * google chrome 5.0 : works * firefox 52: dont work * palemoon 27: don't work! looks like a firefox problem.. (palemoon has same code base), but as adrian said happened also in opera.. i not tested in safary... umm ok looks like a firefox problem, but firefox it's widely used! if this "little" problem happened in others wiki places? From gambas at ...1... Mon Aug 28 22:35:00 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 22:35:00 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a47df8.878ddf0a.6e0b.9a09SMTPIN_ADDED_BROKEN@...2392...> References: <59a47df8.878ddf0a.6e0b.9a09SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <6fd32437-7971-5ccc-d92c-6d44a4ce204a@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 20:32:55 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #4 by Beno?t MINISINI: Actually I don't know. I think the HTML is perfectly legitimate, but maybe there is no accurate standard about what a browser should do when going to an anchor, and so firefox may have its own interpretation. But then why does it fail only for the first anchor? From gambas at ...1... Mon Aug 28 22:50:17 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 22:50:17 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a481f8.486d1c0a.6fa72.6841SMTPIN_ADDED_BROKEN@...2392...> References: <59a481f8.486d1c0a.6fa72.6841SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 20:49:59 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #6 by Tobias BOEGE: > * firefox 3.6.24 : good > * chromium 46: works but the title "what's new" dissapears > * firefox 16.0.2 : dont work! > * google chrome 5.0 : works > * firefox 52: dont work > * palemoon 27: don't work! It also works with konqueror 3.5.10 :-) From gambas at ...1... Mon Aug 28 22:50:17 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 22:50:17 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a4810c.04251c0a.fad14.6d7cSMTPIN_ADDED_BROKEN@...2392...> References: <59a4810c.04251c0a.fad14.6d7cSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 20:46:03 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #5 by PICCORO LENZ MCKAY: yeah, only for the firts anchor.. maybe due the anchor (and its normally and perfectly made) are over the title.. it's pretty rare.. well Benoit, wellcome to the headaches of the html world! a total pain! . From gambas at ...1... Mon Aug 28 23:04:49 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 23:04:49 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a484ce.561d1c0a.69ce5.7ca5SMTPIN_ADDED_BROKEN@...2392...> References: <59a484ce.561d1c0a.69ce5.7ca5SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 21:02:05 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Adrien PROKOPOWICZ added an attachment: Screenshot_20170828_225124.png From gambas at ...1... Mon Aug 28 23:04:49 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Aug 2017 23:04:49 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a484bd.52c4df0a.2e5cf.b571SMTPIN_ADDED_BROKEN@...2392...> References: <59a484bd.52c4df0a.2e5cf.b571SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <310dec95-8601-a2a3-4154-cc382f7c1153@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Mon, 28 Aug 2017 21:01:48 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #7 by Adrien PROKOPOWICZ: Actually, the name attribute on elements is obsolete since HTML5 : https://www.w3.org/TR/html5/obsolete.html#obsolete-but-conforming-features . It only fails on the first element because of the index (see attached screenshot) : The element is on the same line as the previous element, but since the index is very tall, well the line is also huge ? which creates the bug. I think the best fix would be to use ids instead of elements, but I think this CSS rule could also do the trick : .index + * { display: block; } From gambas at ...1... Tue Aug 29 02:25:10 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 02:25:10 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1155: DateBox control contains "Children" symbol In-Reply-To: References: Message-ID: <95fdc241-f6da-29d3-b94d-2d83fe04ed52@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1155: DateBox control contains "Children" symbol Date?: Tue, 29 Aug 2017 00:23:26 GMT De?: bugtracker at ...3416... Pour?: mourad.reggadi at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1155&from=L21haW4- Mourad REGGADI reported a new bug. Summary ------- DateBox control contains "Children" symbol Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- First of all, thanks or this incredible programming language and for all the efforts you put to maintain it. I updated to Gambas 3.10 lately (Linux Mint 17.3 rosa) : I had a piece of code looping into form's controls, testing if each control is a container, then if it is, looping again into sub controls recursively. So it was working quite good and as expected. Today i was using this piece of code and noticed that DateBox control contained a "Children" symbol, which was not the case before, so my code is identifying it as a container. I do not know if it is a new object design decision or maybe just a bug. This is the piece of code i am using : Dim ChildClass As Class Dim ChildSymbol As String Dim ChildIsContainer As Boolean ChildClass = Object.Class(ctrl) ChildIsContainer = False For Each ChildSymbol In ChildClass.Symbols If ChildSymbol = "Children" Then ChildIsContainer = True Endif Next If it is a new design choice, can you please tell me how i can achieve the same using something else, some other Gambas language feature ? Many thanks. From gambas at ...1... Tue Aug 29 03:36:02 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:36:02 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a4c4a1.3cc3df0a.fc809.4e6aSMTPIN_ADDED_BROKEN@...2392...> References: <59a4c4a1.3cc3df0a.fc809.4e6aSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <6dcd3007-52fb-3051-712e-a674e96dc8e9@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 01:34:24 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From gambas at ...1... Tue Aug 29 03:36:02 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:36:02 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1147: Application with GTK3 widgetset not responsive In-Reply-To: <59a4c4d8.f28ddf0a.8d4d6.2790SMTPIN_ADDED_BROKEN@...2392...> References: <59a4c4d8.f28ddf0a.8d4d6.2790SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1147: Application with GTK3 widgetset not responsive Date?: Tue, 29 Aug 2017 01:35:19 GMT De?: bugtracker at ...3416... Pour?: marc.hanisch at ...1601..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1147&from=L21haW4- Comment #1 by Beno?t MINISINI: No. Please provide a project that reproduces the bug. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Tue Aug 29 03:36:02 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:36:02 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1144: No gambas 3.10 packages in launchpad In-Reply-To: <59a4c4f3.060d1c0a.def6d.7b2cSMTPIN_ADDED_BROKEN@...2392...> References: <59a4c4f3.060d1c0a.def6d.7b2cSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <0dd6a131-909a-6eba-b260-83953431168c@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1144: No gambas 3.10 packages in launchpad Date?: Tue, 29 Aug 2017 01:35:46 GMT De?: bugtracker at ...3416... Pour?: isafiur at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1144&from=L21haW4- Comment #1 by Beno?t MINISINI: Is it fixed now? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Tue Aug 29 03:36:02 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:36:02 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1155: DateBox control contains "Children" symbol In-Reply-To: <59a4c48c.ce901c0a.3d165.7f3cSMTPIN_ADDED_BROKEN@...2392...> References: <59a4c48c.ce901c0a.3d165.7f3cSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1155: DateBox control contains "Children" symbol Date?: Tue, 29 Aug 2017 01:34:03 GMT De?: bugtracker at ...3416... Pour?: mourad.reggadi at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1155&from=L21haW4- Comment #1 by Beno?t MINISINI: Making a "control" (in the meaning of the form editor) with Gambas sometimes requires compounding other controls. So a "control" is sometimes a Container, but not necessarily a "container" (in the meaning of the form editor). No idea why exactly you want to know if a Control is a "container", but to do that, you have to check first if it inherits UserContainer (every "container" made in Gambas must inherit that class). If not, check if it inherits Container, but not UserControl (every "control" made in Gambas must inherit UserControl). Another method is checking the value of the hidden constant "_IsContainer" of the control. But beware that there are "controls" that are not necessarily GUI Controls. Beno?t MINISINI changed the state of the bug to: Rejected. From gambas at ...1... Tue Aug 29 03:41:15 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:41:15 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1139: fail to build gbx with CLOCK_MONOTONIC_RAW undeclared PATCH provided In-Reply-To: <59a4c5a7.0293df0a.387ac.4546SMTPIN_ADDED_BROKEN@...2392...> References: <59a4c5a7.0293df0a.387ac.4546SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1139: fail to build gbx with CLOCK_MONOTONIC_RAW undeclared PATCH provided Date?: Tue, 29 Aug 2017 01:38:46 GMT De?: bugtracker at ...3416... Pour?: mckaygerhard at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1139&from=L21haW4- Comment #3 by Beno?t MINISINI: I don't like defining a constant arbitrary. So I decided instead of using CLOCK_MONOTONIC if CLOCK_MONOTONIC_RAW is not defined. See https://gitlab.com/gambas/gambas/commit/21bf519dc91b7edfccb701fe16e8f8c09cec1fc7 If you really want that constant, just request glibc maintainers to fix that. I think that if the constant is missing, it surely means there are other problems hidden behind. Beno?t MINISINI changed the state of the bug to: Upstream. From gambas at ...1... Tue Aug 29 03:41:15 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:41:15 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1137: gambas3 IDE fail to build without gb.qt4.webkit whereas gb.qt5.webkit is installed In-Reply-To: <59a4c610.c9961c0a.c7b95.d019SMTPIN_ADDED_BROKEN@...2392...> References: <59a4c610.c9961c0a.c7b95.d019SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <41c4e5cc-dd50-544b-21c0-dadeaada5263@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1137: gambas3 IDE fail to build without gb.qt4.webkit whereas gb.qt5.webkit is installed Date?: Tue, 29 Aug 2017 01:40:31 GMT De?: bugtracker at ...3416... Pour?: moviga at ...3488..., lordheavym at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1137&from=L21haW4- Comment #2 by Beno?t MINISINI: It should be fixed with commit https://gitlab.com/gambas/gambas/commit/0abba10995099a54d1774994d87474c8dbf732e0 Please tell me! Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Tue Aug 29 03:46:22 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:46:22 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1089: Spinbox and sliderbox do not show integer according to set System.Language in gb.qt5 In-Reply-To: <59a4c6c8.d2b3df0a.dd6b.0774SMTPIN_ADDED_BROKEN@...2392...> References: <59a4c6c8.d2b3df0a.dd6b.0774SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <132f768b-36a2-4000-a01e-092cec0c7a69@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1089: Spinbox and sliderbox do not show integer according to set System.Language in gb.qt5 Date?: Tue, 29 Aug 2017 01:43:35 GMT De?: bugtracker at ...3416... Pour?: isafiur at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1089&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. . From gambas at ...1... Tue Aug 29 03:46:22 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:46:22 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1089: Spinbox and sliderbox do not show integer according to set System.Language in gb.qt5 In-Reply-To: <59a4c75f.08691c0a.96a2c.ecf0SMTPIN_ADDED_BROKEN@...2392...> References: <59a4c75f.08691c0a.96a2c.ecf0SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <8a1086bc-8cd4-d0fd-ef96-76f607d960ff@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1089: Spinbox and sliderbox do not show integer according to set System.Language in gb.qt5 Date?: Tue, 29 Aug 2017 01:46:06 GMT De?: bugtracker at ...3416... Pour?: isafiur at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1089&from=L21haW4- Comment #3 by Beno?t MINISINI: I think it's a qt5 "feature". But what do you want? Arabic digits or nepali digits? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Tue Aug 29 03:51:12 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 03:51:12 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: <59a4c814.545a1c0a.d4553.7aceSMTPIN_ADDED_BROKEN@...2392...> References: <59a4c814.545a1c0a.d4553.7aceSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images Date?: Tue, 29 Aug 2017 01:49:07 GMT De?: bugtracker at ...3416... Pour?: kokoko3k at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From gambas at ...1... Tue Aug 29 15:03:18 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 15:03:18 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1139: fail to build gbx with CLOCK_MONOTONIC_RAW undeclared PATCH provided In-Reply-To: <59a56589.478f1c0a.5067.e957SMTPIN_ADDED_BROKEN@...2392...> References: <59a56589.478f1c0a.5067.e957SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <13ef6907-7421-5243-3ce6-45899c354186@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1139: fail to build gbx with CLOCK_MONOTONIC_RAW undeclared PATCH provided Date?: Tue, 29 Aug 2017 13:00:56 GMT De?: bugtracker at ...3416... Pour?: mckaygerhard at ...626..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1139&from=L21haW4- Comment #4 by PICCORO LENZ MCKAY: i saw, so closing the merge request in favor of your commit, thanks, marks as solved/upstream From gambas at ...1... Tue Aug 29 15:13:12 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 15:13:12 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a5685e.cd0b1c0a.43ab2.44e2SMTPIN_ADDED_BROKEN@...2392...> References: <59a5685e.cd0b1c0a.43ab2.44e2SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <6e056234-a73f-b45b-e8ff-45f483afe099@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 13:13:01 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #8 by PICCORO LENZ MCKAY: your solutionns seems to make sense, but also could be confuse to most conservative developers.. a better solution and MORE EASY its a gb.newline after the close tag of the indes and a
.. that does the trick witour complex CSS+new kind of trick that breacks compatibility with olders browsers.. that i said its very important due implicts strange behaviour using the internal webkits of the gambas ide, for those like me and for people that using some minor browsers like arora, qupzilla, etc so see picture attached for more info that the right solution: From gambas at ...1... Tue Aug 29 15:18:10 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 15:18:10 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a56890.52181c0a.ad98a.3144SMTPIN_ADDED_BROKEN@...2392...> References: <59a56890.52181c0a.ad98a.3144SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 13:13:51 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- PICCORO LENZ MCKAY added an attachment: correccion.png . From gambas at ...1... Tue Aug 29 15:18:11 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 15:18:11 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a568ed.4cafdf0a.f4523.c568SMTPIN_ADDED_BROKEN@...2392...> References: <59a568ed.4cafdf0a.f4523.c568SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 13:15:24 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: soory i mean a gb.newline BEFORE the div tag.. and a new
after the dic tag.. that solve the problem in easy weay and backguard compatibility your solutionns seems to make sense, but also could be confuse to most conservative developers.. that i said its very important due implicts strange behaviour using the internal webkits of the gambas ide, for those like me and for people that using some minor browsers like arora, qupzilla, etc From mckaygerhard at ...626... Tue Aug 29 15:28:41 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 29 Aug 2017 09:28:41 -0400 Subject: [Gambas-user] Thunderbird issue In-Reply-To: <19b140f1-a359-9187-ed3b-e2559ac58200@...3340...> References: <10fa97d1-e40a-34de-94f0-d1136330384d@...1...> <0cb64c2d-9fb0-fb5c-b2b1-186b009d77e4@...3602...> <59A3DAC6.5010500@...3629...> <19b140f1-a359-9187-ed3b-e2559ac58200@...3340...> Message-ID: for those that have problem its better deactivate the digest mode of the mail list.. its a pain for answered the mails.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-28 15:01 GMT-04:00 Christof Thalhofer : > Am 28.08.2017 um 10:56 schrieb Rolf-Werner Eilert: > > > Strange that you see this only now. I have had this problem for ages. On > > my main system, I work with Thunderbird 17, and it has shown this > forever. > > This could be a security problem. > > > The problem arises when I get 2 mails from someone, one mail is with the > > personal adress and one Answer button only, the other one has Answer AND > > Answer to List. In most cases, the two mails appear in different fonts. > > So I am pretty much used to looking for the right one and clicking > > Answer To List. > > I don't know if TB 17 did, but 45 did respect Reply-To which is usually > set by mailinglist software to the address of the ML. One could hit > Ctrl-R to send the answer to the ML. > > Since V 52 TB answers to the sender if hit Ctrl-R and causes a lot of > trouble for users of mailinglists. > > > As this has been going for years, I would not wonder anymore. The only > > thing that changed recently is that I now get mails with "mailing list > > for Gambas users" instead of the sender's name. > > Maybe you should choose a newer TB. > > :-) > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Tue Aug 29 16:12:41 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 16:12:41 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a57591.07ae1c0a.cc21f.5a68SMTPIN_ADDED_BROKEN@...2392...> References: <59a57591.07ae1c0a.cc21f.5a68SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <47f83e8c-6662-e899-2fe2-fd1b6f0763e1@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 14:09:20 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #10 by Adrien PROKOPOWICZ: What do you mean by "complex CSS + trick that breaks compatibility" ? Have you even tried it ? This is a very simple CSS rule, the closest thing to a "new trick" in it is the + operator, which is supported since IE 7 ! Of course, this rule is not the right way to do, I put it because it's the simplest one to implement without having to change the HTML generated by the markdown parser. However, since the
name attribute is obsolete, I think using an id attribute on the title element is the best solution : it does not require any additional CSS, it only relies on standard and non-obsolete behavior, and it does not bloat the HTML output. I made a merge request implementing this, so that Beno?t can review it if he wants. From adrien.prokopowicz at ...626... Tue Aug 29 16:29:38 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 29 Aug 2017 16:29:38 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Le Fri, 25 Aug 2017 16:29:40 +0200, Gianluigi a ?crit: > Hi Adrien, > > For me that I never understand at first, this wiki is simple and clear > thank you very much. > > May I have a prayer for you? > Could you write a simple and clear wiki just for compiling, already clear > but above all the updating, less clear in spite of the fatigue made by > all > of you to explain it to me and which still does not keep track on the > wiki? > > Regards > Gianluigi > Sorry, I'm not sure I understand this well. Do you mean you want a simple guide on how to download Gambas sources with Git for building them ? If that's the case, I've already updated the installation instructions here : http://gambaswiki.org/wiki/install . Are these good ? If not, what do you think is missing, or needs to be changed ? Regards, -- Adrien Prokopowicz From gambas at ...1... Tue Aug 29 17:33:33 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 17:33:33 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a58906.e198df0a.13b50.0f46SMTPIN_ADDED_BROKEN@...2392...> References: <59a58906.e198df0a.13b50.0f46SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <75eeef3b-7752-d51a-668d-25d1d39161fc@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 15:32:21 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #11 by PICCORO LENZ MCKAY: i mean a CSS-less, .. just Benoit made a gb.newline BEFORE the div that close the index and that should fixed ALL but waith... IE7? gime a break! From gambas at ...1... Tue Aug 29 18:03:51 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 18:03:51 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a59037.c62b1c0a.354ea.366cSMTPIN_ADDED_BROKEN@...2392...> References: <59a59037.c62b1c0a.354ea.366cSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 16:03:02 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #12 by Beno?t MINISINI: I think I fixed it, by using "id" instead of "name", and the following CSS trick: A[id] { position: relative; display: block; top: -1em; height: 1em; margin-bottom: -1em; } Beno?t MINISINI changed the state of the bug to: Fixed. From mikeB at ...3673... Tue Aug 29 18:07:53 2017 From: mikeB at ...3673... (mikeB) Date: Tue, 29 Aug 2017 10:07:53 -0600 Subject: [Gambas-user] Embedded Terminal Possible? Message-ID: <5b0cef6d-bdac-985c-0eaf-ff0ca312e5d3@...3673...> eGreetings - it's a wonderful day in the Gambas neighborhood, Could someone tell me if it's possible, and if so, point me in the right direction, to create a form (that the FrmMain opens) with a very simple, functional "terminal/ console"? Any/ all advise is GREATLY APPRECIATED, mikeB From gambas at ...1... Tue Aug 29 18:10:47 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 18:10:47 +0200 Subject: [Gambas-user] Embedded Terminal Possible? In-Reply-To: <5b0cef6d-bdac-985c-0eaf-ff0ca312e5d3@...3673...> References: <5b0cef6d-bdac-985c-0eaf-ff0ca312e5d3@...3673...> Message-ID: <7d9fac3b-f800-fcc5-91a9-932702eba3b3@...1...> Le 29/08/2017 ? 18:07, mikeB a ?crit : > eGreetings - it's a wonderful day in the Gambas neighborhood, > > Could someone tell me if it's possible, and if so, point me in the right > > direction, to create a form (that the FrmMain opens) with a very simple, > > functional "terminal/ console"? > > Any/ all advise is GREATLY APPRECIATED, > > mikeB > > 1) Check the 'gb.form.term' component. 2) Put a TerminalView control in your form, let's name it "TerminalView1". 3) Call TerminalView1.Exec("bash") That's all. -- Beno?t Minisini From gambas at ...1... Tue Aug 29 18:14:52 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 18:14:52 +0200 Subject: [Gambas-user] Embedded Terminal Possible? In-Reply-To: <7d9fac3b-f800-fcc5-91a9-932702eba3b3@...1...> References: <5b0cef6d-bdac-985c-0eaf-ff0ca312e5d3@...3673...> <7d9fac3b-f800-fcc5-91a9-932702eba3b3@...1...> Message-ID: <0bff619a-3b30-4f1e-d320-228d623893c5@...1...> Le 29/08/2017 ? 18:10, Beno?t Minisini via Gambas-user a ?crit : > Le 29/08/2017 ? 18:07, mikeB a ?crit : >> eGreetings - it's a wonderful day in the Gambas neighborhood, >> >> Could someone tell me if it's possible, and if so, point me in the right >> >> direction, to create a form (that the FrmMain opens) with a very simple, >> >> functional "terminal/ console"? >> >> Any/ all advise is GREATLY APPRECIATED, >> >> mikeB >> >> > > 1) Check the 'gb.form.term' component. > > 2) Put a TerminalView control in your form, let's name it "TerminalView1". > > 3) Call TerminalView1.Exec("bash") > > That's all. > ...and better use the development version! -- Beno?t Minisini From gambas at ...1... Tue Aug 29 18:49:16 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 18:49:16 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a599e3.6cc3df0a.b9250.bf96SMTPIN_ADDED_BROKEN@...2392...> References: <59a599e3.6cc3df0a.b9250.bf96SMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 16:44:18 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #13 by PICCORO LENZ MCKAY: well was done?, i hate the CSS, html5, constants changes of the web-browsers, why not only using html pure as i suggest? From gambas at ...1... Tue Aug 29 18:59:10 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 18:59:10 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a59ca1.098fdf0a.50a6f.1821SMTPIN_ADDED_BROKEN@...2392...> References: <59a59ca1.098fdf0a.50a6f.1821SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <3c97371d-79df-1f1f-1a7b-a0c809f2212c@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 16:56:00 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #14 by Beno?t MINISINI: "html pure" is a dream of yours. It does not exist in reality. There is always a CSS. . From gambas at ...1... Tue Aug 29 18:59:10 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 29 Aug 2017 18:59:10 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit In-Reply-To: <59a59d4c.891e1c0a.69890.0e47SMTPIN_ADDED_BROKEN@...2392...> References: <59a59d4c.891e1c0a.69890.0e47SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <7983451c-ef70-7b25-fb22-481fa80ec79e@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit Date?: Tue, 29 Aug 2017 16:58:51 GMT De?: bugtracker at ...3416... Pour?: adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626... http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4- Comment #15 by PICCORO LENZ MCKAY: well yeah, the browsers always computed a CSS, but the solution i mention was a new line only.. well was fixed.. thanks benoit! From bagonergi at ...626... Tue Aug 29 19:48:11 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 29 Aug 2017 19:48:11 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Hi Adrien, first I apologize for my bad English. The steps for compiling Gambas from Git are clear. What is not described in your help is the steps for subsequent master updates, or am I unable to see them? Thanks for the attention. Gianluigi 2017-08-29 16:29 GMT+02:00 Adrien Prokopowicz : > Le Fri, 25 Aug 2017 16:29:40 +0200, Gianluigi a > ?crit: > > Hi Adrien, >> >> For me that I never understand at first, this wiki is simple and clear >> thank you very much. >> >> May I have a prayer for you? >> Could you write a simple and clear wiki just for compiling, already clear >> but above all the updating, less clear in spite of the fatigue made by all >> of you to explain it to me and which still does not keep track on the >> wiki? >> >> Regards >> Gianluigi >> >> > Sorry, I'm not sure I understand this well. Do you mean you want a simple > guide on > how to download Gambas sources with Git for building them ? > > If that's the case, I've already updated the installation instructions > here : > http://gambaswiki.org/wiki/install . > > Are these good ? If not, what do you think is missing, or needs to be > changed ? > > Regards, > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Tue Aug 29 20:38:33 2017 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 29 Aug 2017 20:38:33 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Le Tue, 29 Aug 2017 19:48:11 +0200, Gianluigi a ?crit: > Hi Adrien, > first I apologize for my bad English. > The steps for compiling Gambas from Git are clear. > What is not described in your help is the steps for subsequent master > updates, or am I unable to see them? > > Thanks for the attention. > Gianluigi It's right at the end of this section : http://gambaswiki.org/wiki/install#t6. Basically, 'git pull' is enough to update everything, you just have to re-run the compilation just like what it was with SVN. :-) -- Adrien Prokopowicz From mckaygerhard at ...626... Tue Aug 29 20:47:45 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 29 Aug 2017 14:47:45 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: 2017-08-29 13:48 GMT-04:00 Gianluigi : > Hi Adrien, > first I apologize for my bad English. > The steps for compiling Gambas from Git are clear. > What is not described in your help is the steps for subsequent master > updates, or am I unable to see them? > not that's only for contributin rules.. the updates for compiling are just "pull" as described in http://gambaswiki.org/wiki/howto/git#t4 also for install in http://gambaswiki.org/wiki/install#t6. > > Thanks for the attention. > Gianluigi > > 2017-08-29 16:29 GMT+02:00 Adrien Prokopowicz < > adrien.prokopowicz at ...626...> > : > > > Le Fri, 25 Aug 2017 16:29:40 +0200, Gianluigi a > > ?crit: > > > > Hi Adrien, > >> > >> For me that I never understand at first, this wiki is simple and clear > >> thank you very much. > >> > >> May I have a prayer for you? > >> Could you write a simple and clear wiki just for compiling, already > clear > >> but above all the updating, less clear in spite of the fatigue made by > all > >> of you to explain it to me and which still does not keep track on the > >> wiki? > >> > >> Regards > >> Gianluigi > >> > >> > > Sorry, I'm not sure I understand this well. Do you mean you want a simple > > guide on > > how to download Gambas sources with Git for building them ? > > > > If that's the case, I've already updated the installation instructions > > here : > > http://gambaswiki.org/wiki/install . > > > > Are these good ? If not, what do you think is missing, or needs to be > > changed ? > > > > Regards, > > > > -- > > Adrien Prokopowicz > > > > ------------------------------------------------------------ > > ------------------ > > 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Tue Aug 29 22:46:41 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 29 Aug 2017 22:46:41 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: That's all right My was just a suggestion for greater clarity. Regards Gianluigi 2017-08-29 20:38 GMT+02:00 Adrien Prokopowicz : > Le Tue, 29 Aug 2017 19:48:11 +0200, Gianluigi a > ?crit: > > Hi Adrien, >> first I apologize for my bad English. >> The steps for compiling Gambas from Git are clear. >> What is not described in your help is the steps for subsequent master >> updates, or am I unable to see them? >> >> Thanks for the attention. >> Gianluigi >> > > It's right at the end of this section : http://gambaswiki.org/wiki/ins > tall#t6. > > Basically, 'git pull' is enough to update everything, you just have to > re-run the > compilation just like what it was with SVN. :-) > > -- > Adrien Prokopowicz > > ------------------------------------------------------------ > ------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Tue Aug 29 22:49:01 2017 From: bagonergi at ...626... (Gianluigi) Date: Tue, 29 Aug 2017 22:49:01 +0200 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: Hi Piccoro, that's all right :-) Regards Gianluigi 2017-08-29 20:47 GMT+02:00 PICCORO McKAY Lenz : > 2017-08-29 13:48 GMT-04:00 Gianluigi : > > > Hi Adrien, > > first I apologize for my bad English. > > The steps for compiling Gambas from Git are clear. > > What is not described in your help is the steps for subsequent master > > updates, or am I unable to see them? > > > not that's only for contributin rules.. > > the updates for compiling are just "pull" as described in > http://gambaswiki.org/wiki/howto/git#t4 > > also for install in http://gambaswiki.org/wiki/install#t6. > > > > > > > Thanks for the attention. > > Gianluigi > > > > 2017-08-29 16:29 GMT+02:00 Adrien Prokopowicz < > > adrien.prokopowicz at ...626...> > > : > > > > > Le Fri, 25 Aug 2017 16:29:40 +0200, Gianluigi a > > > ?crit: > > > > > > Hi Adrien, > > >> > > >> For me that I never understand at first, this wiki is simple and clear > > >> thank you very much. > > >> > > >> May I have a prayer for you? > > >> Could you write a simple and clear wiki just for compiling, already > > clear > > >> but above all the updating, less clear in spite of the fatigue made by > > all > > >> of you to explain it to me and which still does not keep track on the > > >> wiki? > > >> > > >> Regards > > >> Gianluigi > > >> > > >> > > > Sorry, I'm not sure I understand this well. Do you mean you want a > simple > > > guide on > > > how to download Gambas sources with Git for building them ? > > > > > > If that's the case, I've already updated the installation instructions > > > here : > > > http://gambaswiki.org/wiki/install . > > > > > > Are these good ? If not, what do you think is missing, or needs to be > > > changed ? > > > > > > Regards, > > > > > > -- > > > Adrien Prokopowicz > > > > > > ------------------------------------------------------------ > > > ------------------ > > > 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Aug 30 00:56:38 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 30 Aug 2017 00:56:38 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals In-Reply-To: <59a5f11a.249ddf0a.97a6.e184SMTPIN_ADDED_BROKEN@...2392...> References: <59a5f11a.249ddf0a.97a6.e184SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <13de22c0-1693-4547-886f-842182697609@...1...> -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals Date?: Tue, 29 Aug 2017 22:56:25 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1132&from=L21haW4- Comment #3 by Beno?t MINISINI: It should have been fixed in commit https://gitlab.com/gambas/gambas/commit/a2183117ffd8448b10008f76e7dac6eecd01cc3d. Can you confirm? Beno?t MINISINI changed the state of the bug to: Fixed. From mckaygerhard at ...626... Wed Aug 30 02:07:46 2017 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 29 Aug 2017 20:07:46 -0400 Subject: [Gambas-user] Switching to GitLab In-Reply-To: References: <3691541b-2d9a-0100-5a9a-3a5da6f8ab6f@...1...> <49ff4b38-75ab-0ef6-ccf7-3974f9a93c14@...626...> Message-ID: sorry i dont see the adrian mail.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-08-29 16:49 GMT-04:00 Gianluigi : > Hi Piccoro, > that's all right :-) > > Regards > Gianluigi > > 2017-08-29 20:47 GMT+02:00 PICCORO McKAY Lenz : > > > 2017-08-29 13:48 GMT-04:00 Gianluigi : > > > > > Hi Adrien, > > > first I apologize for my bad English. > > > The steps for compiling Gambas from Git are clear. > > > What is not described in your help is the steps for subsequent master > > > updates, or am I unable to see them? > > > > > not that's only for contributin rules.. > > > > the updates for compiling are just "pull" as described in > > http://gambaswiki.org/wiki/howto/git#t4 > > > > also for install in http://gambaswiki.org/wiki/install#t6. > > > > > > > > > > > > Thanks for the attention. > > > Gianluigi > > > > > > 2017-08-29 16:29 GMT+02:00 Adrien Prokopowicz < > > > adrien.prokopowicz at ...626...> > > > : > > > > > > > Le Fri, 25 Aug 2017 16:29:40 +0200, Gianluigi > a > > > > ?crit: > > > > > > > > Hi Adrien, > > > >> > > > >> For me that I never understand at first, this wiki is simple and > clear > > > >> thank you very much. > > > >> > > > >> May I have a prayer for you? > > > >> Could you write a simple and clear wiki just for compiling, already > > > clear > > > >> but above all the updating, less clear in spite of the fatigue made > by > > > all > > > >> of you to explain it to me and which still does not keep track on > the > > > >> wiki? > > > >> > > > >> Regards > > > >> Gianluigi > > > >> > > > >> > > > > Sorry, I'm not sure I understand this well. Do you mean you want a > > simple > > > > guide on > > > > how to download Gambas sources with Git for building them ? > > > > > > > > If that's the case, I've already updated the installation > instructions > > > > here : > > > > http://gambaswiki.org/wiki/install . > > > > > > > > Are these good ? If not, what do you think is missing, or needs to be > > > > changed ? > > > > > > > > Regards, > > > > > > > > -- > > > > Adrien Prokopowicz > > > > > > > > ------------------------------------------------------------ > > > > ------------------ > > > > 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 at 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 at 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 at 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tmorehen at ...3602... Wed Aug 30 21:37:50 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Wed, 30 Aug 2017 15:37:50 -0400 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals In-Reply-To: <13de22c0-1693-4547-886f-842182697609@...1...> References: <59a5f11a.249ddf0a.97a6.e184SMTPIN_ADDED_BROKEN@...2392...> <13de22c0-1693-4547-886f-842182697609@...1...> Message-ID: <3a2204c7-8bac-44ed-1e09-96021a80dec5@...3602...> Sorry, it doesn't work for me. In fact, my test program receives no signals at all. I'm working off what at the time was the latest commit, a2183117ffd8448b10008f76e7dac6eecd01cc3d I've attached the test program. To use, just insert or remove a usb drive and watch the debug messages. BTW I replaced /usr/lib/gambas3/gb.dbus.so.0.0.0 with the same file from my previous build and the test program received the signals ok. On 2017-08-29 06:56 PM, Beno?t Minisini via Gambas-user wrote: > > > -------- Message transf?r? -------- > Sujet : [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the > first declared bus for signals > Date : Tue, 29 Aug 2017 22:56:25 GMT > De : bugtracker at ...3416... > Pour : tmorehen at ...3634..., g4mba5 at ...626... > > http://gambaswiki.org/bugtracker/edit?object=BUG.1132&from=L21haW4- > > Comment #3 by Beno?t MINISINI: > > It should have been fixed in commit > https://gitlab.com/gambas/gambas/commit/a2183117ffd8448b10008f76e7dac6eecd01cc3d. > > Can you confirm? > > Beno?t MINISINI changed the state of the bug to: Fixed. > > > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: dbussignals-0.0.1.tar.gz Type: application/gzip Size: 11822 bytes Desc: not available URL: From gambas at ...1... Wed Aug 30 21:57:49 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 30 Aug 2017 21:57:49 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals In-Reply-To: <59a718af.8cbf1c0a.4d60d.9c6fSMTPIN_ADDED_BROKEN@...2392...> References: <59a718af.8cbf1c0a.4d60d.9c6fSMTPIN_ADDED_BROKEN@...2392...> Message-ID: -------- Message transf?r? -------- Sujet?: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals Date?: Wed, 30 Aug 2017 19:57:34 GMT De?: bugtracker at ...3416... Pour?: tmorehen at ...3634..., g4mba5 at ...626... http://gambaswiki.org/bugtracker/edit?object=BUG.1132&from=L21haW4- Comment #4 by Beno?t MINISINI: It should really be fixes in commit https://gitlab.com/gambas/gambas/commit/4d9579f217036d570080b6175f67e7ac96a19470. From tmorehen at ...3602... Thu Aug 31 00:07:09 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Wed, 30 Aug 2017 18:07:09 -0400 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals In-Reply-To: References: <59a718af.8cbf1c0a.4d60d.9c6fSMTPIN_ADDED_BROKEN@...2392...> Message-ID: It is indeed fixed.? Thanks Benoit! BTW is there any way to add an event loop to a console app?? ie I want to use a console app as a daemon, responding to dbus signals. On 2017-08-30 03:57 PM, Beno?t Minisini via Gambas-user wrote: > > > -------- Message transf?r? -------- > Sujet?: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the > first declared bus for signals > Date?: Wed, 30 Aug 2017 19:57:34 GMT > De?: bugtracker at ...3416... > Pour?: tmorehen at ...3634..., g4mba5 at ...626... > > http://gambaswiki.org/bugtracker/edit?object=BUG.1132&from=L21haW4- > > Comment #4 by Beno?t MINISINI: > > It should really be fixes in commit > https://gitlab.com/gambas/gambas/commit/4d9579f217036d570080b6175f67e7ac96a19470. > > > > > ------------------------------------------------------------------------------ > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Aug 31 00:10:41 2017 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 31 Aug 2017 00:10:41 +0200 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals In-Reply-To: References: <59a718af.8cbf1c0a.4d60d.9c6fSMTPIN_ADDED_BROKEN@...2392...> Message-ID: Le 31/08/2017 ? 00:07, Tony Morehen a ?crit : > It is indeed fixed. Thanks Benoit! > > BTW is there any way to add an event loop to a console app? ie I want > to use a console app as a daemon, responding to dbus signals. > There is always an event loop in Gambas programs. It starts as soon as the Main() function is finished. -- Beno?t Minisini From tmorehen at ...3602... Thu Aug 31 05:35:01 2017 From: tmorehen at ...3602... (Tony Morehen) Date: Wed, 30 Aug 2017 23:35:01 -0400 Subject: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals In-Reply-To: References: <59a718af.8cbf1c0a.4d60d.9c6fSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <80741662-0a2b-4acf-5cae-542e7af27f35@...3602...> I thought some more about what you wrote and I tried: 1) Created a Main module and set it as the startup class. 2) Moved FMain's _new code (setting up signal handlers etc) to Sub Main() in module Main 3) Moved all other code into Main 4) deleted FMain and removed all components except gb.DBus and gb.base Everything worked.? I have my daemon with a minimum of memory overhead.? Brilliant! On 2017-08-30 06:10 PM, Beno?t Minisini wrote: > Le 31/08/2017 ? 00:07, Tony Morehen a ?crit : >> It is indeed fixed.? Thanks Benoit! >> >> BTW is there any way to add an event loop to a console app?? ie I >> want to use a console app as a daemon, responding to dbus signals. >> > > There is always an event loop in Gambas programs. It starts as soon as > the Main() function is finished. >