[Gambas-user] [Gambas Bug Tracker] Bug #710: Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed

2015-09-05 Thread bugtracker
Geoffrey DE BELIE added an attachment:

gambas-testcase-utf8gtkbug.zip



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #710: Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed

2015-09-05 Thread bugtracker
Geoffrey DE BELIE reported a new bug.

Summary
---

Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 
'g_utf8_validate (text, len, NULL)' failed

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Unknown


Description
---

Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 
'g_utf8_validate (text, len, NULL)' failed

1) Copy the lyrics from this page: 
http://www.songteksten.nl/songteksten/167605/eighth-wonder/i-m-not-scared.htm
2) Paste the lyrics with CTRL+V in a textarea
3) The lyrics cannot be pasted this way, it shows this in console:
assertion 'g_utf8_validate (text, len, NULL)' failed
4) The only way the lyrics can be pasted is right click -> paste

Please see 
http://stackoverflow.com/questions/23046382/utf-8-error-in-gtktextview-while-decoding-base64





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #710: Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed

2015-09-05 Thread bugtracker
Comment #1 by Geoffrey DE BELIE:

I'm sorry if this is already fixed in 3.8 series. I currently have version 
3.7.1.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #711: Remember cursor position when double clicking a file in the project tree

2015-09-05 Thread bugtracker
Moviga TECHNOLOGIES reported a new bug.

Summary
---

Remember cursor position when double clicking a file in the project tree

Type : Request
Priority : Low
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

When you are switching between files using the tabs, the editor remembers where 
you where in that document the last time.
When you have a lot of tabs open, it can often be more easy to navigate to the 
desired file by double clicking the file in the project tree, rather than 
scrolling through the tab panel.
The problem is that when you do the latter, the cursor is placed inside the 
main procedure, and you have to find back to the place you left off.





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #710: Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Accepted.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #710: Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed

2015-09-05 Thread bugtracker
Comment #2 by Benoît MINISINI:

Fixed in revision #7272.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #2 by Moviga TECHNOLOGIES:

Yes, it is correctly highlighted. It happes to any code anywhere...
The only ways I have found to circumvent it is to add a blank line so that the 
code is on e.g. line 12 instead of 11, or to make a double comment ('').

It also works the other way around, when lines are commented out, and I 
uncomment them - they are not run.

It does not happen every time... but it seems to be quite random.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #3 by Benoît MINISINI:

Please a provide a way to reproduce that.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #4 by Benoît MINISINI:

Oops... one 'a' too much.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #5 by Moviga TECHNOLOGIES:

It just happens as I code... I have not seen any clear pattern of how it 
happens, so I need to get back on that. Strange that nobody else is reporting 
it. It causes a lot of unwanted behaviour.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #6 by Jussi LAHTINEN:

Can you give at least few lines of code where the problem has occurred?
I have tried to reproduce this in several ways without any success.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #7 by Moviga TECHNOLOGIES:

Well, one of the latest I've been working on is this:

Public Sub FormatPost(Post As String) As String



  Dim sNewPost As String

  Dim sSplitPost As String[]

  Dim iLastPos As Integer = 1

  Dim iStart As Integer

  Dim iEnd As Integer



  If InStr(Post, "[code=gambas]", iLastPos) > 0 Then

While InStr(Post, "[code=gambas]", iLastPos) > 0



  sSplitPost = New String[]

  iStart = InStr(Post, "[code=gambas]", iLastPos)

  sSplitPost.Add(Html(Mid(Post, IIf(iEnd > 0, iEnd + 7, 1), iStart - 
IIf(iEnd > 0, iEnd + 7, 1

  iEnd = InStr(Post, "[/code]", iLastPos)

  iLastPos = iEnd + 6

  sSplitPost.Add("" & GambasCode.Higlight(Trim(Mid(Post, iStart + 13, 
iEnd - iStart - 13))) & "")

  sNewPost &= sSplitPost.Join("")

  'Break

Wend

sNewPost &= Html(Right(Post, Len(Post) - iEnd - 6))

  Else

sNewPost = Post

sNewPost = Html(sNewPost)

  Endif

  sNewPost = Markdown.ToHTML(sNewPost)



  Return sNewPost



End



Commenting out the sSpilPost.Add( ... lines has failed many times



The most resent was just simply



'Session.Abandon()



I removed the ', but it was not run until I moved it to a different line...



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #8 by Moviga TECHNOLOGIES:

The post above was messed up with a french message:



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Moviga TECHNOLOGIES added an attachment:

french.png



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #9 by Benoît MINISINI:

OK, I will fix the message. But you should create another report! Don't put 
different problems inside the same bug report.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #712: Indentation is not kept inside comments

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Accepted.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #712: Indentation is not kept inside comments

2015-09-05 Thread bugtracker
Benoît MINISINI reported a new bug.

Summary
---

Indentation is not kept inside comments

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Bugtracker


Description
---

See bug #708: when you paste code inside comments, you lose the indentation.





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #710: Pasting text with CTRL+V in textarea: gtk_text_buffer_emit_insert: assertion 'g_utf8_validate (text, len, NULL)' failed

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Closed.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #707: PPA problem, please repair gambas3-gb-dbus package.

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Working.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #707: PPA problem, please repair gambas3-gb-dbus package.

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Accepted.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #10 by Jussi LAHTINEN:

Can you try to take screenshot from error message generated of commented line?



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #713: Dutch spelling mistakes in context menu of code editor

2015-09-05 Thread bugtracker
Geoffrey DE BELIE reported a new bug.

Summary
---

Dutch spelling mistakes in context menu of code editor

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Unknown


Description
---

"Verge_ndelt" should be "Vergre_ndeld" ("Locked")
"Formaat code" should be "Code opmaken" ("Advanced" -> "Format code")





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #11 by Moviga TECHNOLOGIES:

There is no error as long as the code is valid. It is just that the code is 
run/not run regardless of the comment sign...



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #12 by Jussi LAHTINEN:

I understand that, you wrote "one way is that the code is not valid and it 
gives me an error inside the comment". So maybe you could intentionally put 
some obvious error in the code to re-create this situation (better to make 
another copy of your project for this).

This way we could better see what are the circumstances, and exclude any human 
errors.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #13 by Moviga TECHNOLOGIES:

I don't see where that would be helpful. To me the problem is that Gambas is 
executing code that is commented out, or not executing code that has just been 
uncommented. If Gambas believes this line is to be included in the program, and 
it has invalid code, then Gambas will throw off the same error that it would 
under normal circumstances, e.g. missing closing bracket or what ever.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #14 by Moviga TECHNOLOGIES:

I made a video. Take a look!



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Moviga TECHNOLOGIES added an attachment:

comment-issue.avi.tar.gz



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Moviga TECHNOLOGIES added an attachment:

CommentIssue.tar.gz



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Accepted.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #15 by Benoît MINISINI:

Thanks. Now I guess the reason: the compiler is not called when you click on 
run, whereas it should as you modified a source file...
I will investigate.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #16 by Benoît MINISINI:

I cannot reproduce the bug with your project...

1) Can you detail how you used the keyboard while running your example? 
  (if you comment the line by hitting the quote key, by using undo...)

2) Can you try to explicitly recompile the project with F7 before running it?

3) Automatic compilation is based on file last modification date. Can you check 
the date of the files you are using and see if
   everything is correct?



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #712: Indentation is not kept inside comments

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Closed.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #17 by Jussi LAHTINEN:

In the video you can see that the modified file is not marked by the IDE as 
modified (* is missing) when adding only '.
That's why the compiler is not run...



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #713: Dutch spelling mistakes in context menu of code editor

2015-09-05 Thread bugtracker
Comment #1 by Benoît MINISINI:

Fixed in revision #7277.

If you want to make other fixes in the translation, you should checkout the 
development version with subversion, 
open the IDE source project, and update the translation with it. Then you will 
just have send me the "nl.po" file
located in the ".lang" directory of the project folder.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #713: Dutch spelling mistakes in context menu of code editor

2015-09-05 Thread bugtracker
Benoît MINISINI changed the state of the bug to: Closed.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #18 by Moviga TECHNOLOGIES:

No, I suspected you would not get the same effect from that project :) Because, 
I suppose you would have gotten it with any other project too then.

1) I used the quote key.
2) F7 does not help
3) Ran it at 21:59, and the FMain.class was last changed at 21:56



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Release of Gambas 3.8.1.

2015-09-05 Thread Benoît Minisini
Hi,

The release of Gambas 3.8.1 is now official.

It's available at the same place:

http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.1.tar.bz2/download

And the detailed changelog is in the wiki:

http://gambaswiki.org/wiki/doc/release/3.8.1

There are still pending bugs, so expect a Gambas 3.8.2 release in the 
near future.

Regards,

-- 
Benoît Minisini

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #19 by Zainudin AHMAD:

do you still get the same thing when using the default configuration ? 
maybe you can rename the file  ~/.config/gambas3/gambas3.conf for the 
temporary. and try it with default configuration.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #20 by Moviga TECHNOLOGIES:

Hmm... that seems to work :)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #21 by Moviga TECHNOLOGIES:

Well now it is back... I changed my settings to the way I like them, and 
also the colour scheme...
That seem to possibly be the trigger.
I will attach my config file



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Moviga TECHNOLOGIES added an attachment:

gambas3.conf



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #708: Commented code is being run

2015-09-05 Thread bugtracker
Comment #22 by Jussi LAHTINEN:

Yes, that was it! 
When you use "format on load & save" the file changed status is not correctly 
set.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #702: Installation Package Building

2015-09-05 Thread bugtracker
Comment #3 by Donald Dwane ROSS:

Made a little headway. I built a Ubuntu 14.04 flash drive and installed Gambas 
3.8 and copied code that wouldn't build with the sign option ON and tried it on 
the Flash drive install and it built OK. The Ubuntu Software Center still says 
the package is of bad quality though. I have some pictures and sound files in 
the package build. Details says "non-standard-toplevel-dir '/" and I don't have 
anything going there.
As far as the problem with my 15.04 install not Gambas3.8 building correctly 
with sign box checked, I originally got Gumbas 3.5 from the Software center, 
later I tried to compile 3.8 with it in and it failed. It messed 3.5 up so I 
removed it and reinstalled and 3.5 seemed ok. Later I added ppa to 3.8 so I 
removed 3.5 and installed 3.8. Maybe something along that path has the sign 
option not working. I might try removing and reinstalling again I have a 3.8 
working on a flash drive with Ubuntu 14.04 but its slow to use.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #702: Installation Package Building

2015-09-05 Thread bugtracker
Comment #4 by Donald Dwane ROSS:

Still like to try and get the Ubuntu Software Center to not say the Package is 
of bad quality though. I would like to have the picture to show but that may 
work when I put the package in the center it may go in then.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user