Commit graph

5306 commits

Author SHA1 Message Date
Benoît Minisini
8c51cc2d2c [INTERPRETER]
* BUG: Fix Variant to Boolean conversion.


git-svn-id: svn://localhost/gambas/trunk@7441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-02 15:54:13 +00:00
Benoît Minisini
217f075c8b [INTERPRETER]
* OPT: Collection access is faster now.
* OPT: LINE INPUT and INPUT are faster now.
* OPT: Conversions to Boolean, from and to Variant are faster now.


git-svn-id: svn://localhost/gambas/trunk@7440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-02 03:24:44 +00:00
Benoît Minisini
26d137d850 [INTERPRETER]
* OPT: Some optimization in native array accessors.
* BUG: Fix a compilation warning.


git-svn-id: svn://localhost/gambas/trunk@7439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-31 01:49:40 +00:00
Benoît Minisini
ebaf5d5ac8 [BENCHMARKS]
* NEW: Do less iterations in benchmarks to get the result faster.
* BUG: Fix 'sort.pl' bench.


git-svn-id: svn://localhost/gambas/trunk@7438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-31 01:02:58 +00:00
Benoît Minisini
8a0146801b [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Correctly handle descriptions having newlines inside.


git-svn-id: svn://localhost/gambas/trunk@7437 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-30 23:58:31 +00:00
Benoît Minisini
6e6631bdf7 [WEB SITE MAKER]
* NEW: New website design, beta version.


git-svn-id: svn://localhost/gambas/trunk@7436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-26 14:49:39 +00:00
Fabien Bodard
715a38f607 [SCRIPTER]
* BUG: Now code in arg is correctly quoted.
  


git-svn-id: svn://localhost/gambas/trunk@7435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-25 16:42:57 +00:00
Benoît Minisini
6114149896 [DEVELOPMENT ENVIRONMENT]
* BUG: Reloading a class or module file now keep the breakpoints.


git-svn-id: svn://localhost/gambas/trunk@7434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-24 21:28:02 +00:00
Benoît Minisini
ff78386557 [DEVELOPMENT ENVIROMNENT]
* BUG: Use MaskBox with a filter to enter vendor name and vendor prefix in
  option dialog, packager wizard.
* BUG: Use MaskBox with a filter to enter software farm tags.

[WIKI CGI SCRIPT]
* NEW: Black & white colors and layout redesign.
* OPT: Add cache headers to the responses.


git-svn-id: svn://localhost/gambas/trunk@7433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-24 21:20:08 +00:00
Benoît Minisini
bd3dfd4fa4 [GB.FORM]
* NEW: MaskBox.Filter is a new property that takes a LIKE regular 
  expression describing the allowed characters. By default all characters
  are allowed.
* NEW: MaskBox now raises the Filter event with a character as argument. If
  this event is stopped, then the character is not allowed. By default all
  characters are allowed.

[GB.WEB]
* NEW: Request.Referer is a new property that returns the request referer.
* NEW: Request.UserAgent is a new property that returns the request user 
  agent.


git-svn-id: svn://localhost/gambas/trunk@7432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-24 21:09:13 +00:00
Benoît Minisini
cb58f0f072 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly fix the library "Compatible until" option of the project 
  property dialog.


git-svn-id: svn://localhost/gambas/trunk@7430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-21 21:16:43 +00:00
Benoît Minisini
0b2383c255 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the library "Compatible until" option of the project property 
  dialog.
* NEW: Don't display the wiki language combo-box in the help browser.


git-svn-id: svn://localhost/gambas/trunk@7429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-21 21:14:33 +00:00
Benoît Minisini
5f9e87da54 [GB.OPENAL]
* BUG: Fix return value of Al.GetBufferi(), Al.GetSourcei() and 
  Al.GetListeneri().


git-svn-id: svn://localhost/gambas/trunk@7428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-21 20:25:44 +00:00
Benoît Minisini
5a3264a97d [INTERPRETER]
* BUG: Ensure better entropy when initializing pseudo-random number 
  generator.
* NEW: Ensure a better hash key seed for hash tables.


git-svn-id: svn://localhost/gambas/trunk@7427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-19 19:30:17 +00:00
Benoît Minisini
061bb35502 [INTERPRETER]
* BUG: Prevent the use of seed 0 for the random-number generator, by 
  replacing it by -1 if Randomize 0 is requested.


git-svn-id: svn://localhost/gambas/trunk@7426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 21:10:13 +00:00
Benoît Minisini
297a3a6a15 [DEVELOPMENT ENVIRONMENT]
* NEW: Allow project directories to be moved.


git-svn-id: svn://localhost/gambas/trunk@7425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 13:16:04 +00:00
Benoît Minisini
ff932bc1c6 [DEVELOPMENT ENVIRONMENT]
* BUG: Cutting & pasting source files now works as expected.
* NEW: A child class is now displayed in the project tree under its parent 
  class only if they are in the same directory. Consequently, dragging a 
  child class to any directory is now possible.


git-svn-id: svn://localhost/gambas/trunk@7424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 09:43:06 +00:00
Benoît Minisini
39e1c4b060 [DEVELOPMENT ENVIRONMENT]
* BUG: Reloading a file now correctly resets the procedure combo.
* BUG: Reverting a form now reverts the class file too.


git-svn-id: svn://localhost/gambas/trunk@7423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 09:09:32 +00:00
Benoît Minisini
c06e1339d6 [DEVELOPMENT ENVIRONMENT]
* NEW: Larger connection properties dialog.


git-svn-id: svn://localhost/gambas/trunk@7422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 00:39:53 +00:00
Benoît Minisini
1d6a348ab3 [DEVELOPMENT ENVIRONMENT]
* NEW: Database editor: Redraw some database editor icons.
* BUG: Database editor: Renaming a table does not delete it anymore if the 
  renaming fails for any reason.


git-svn-id: svn://localhost/gambas/trunk@7421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-18 00:30:26 +00:00
Benoît Minisini
d289c1d0ad [GB.GTK3]
* BUG: ScrollView with a border should not display scrollbars anymore when 
  they are void.


git-svn-id: svn://localhost/gambas/trunk@7420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 23:27:35 +00:00
Benoît Minisini
596a81eeb6 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save CSV file path in data export and table import 
  dialogs.
* BUG: HelpView.Stop() method now always hides the spinner.


git-svn-id: svn://localhost/gambas/trunk@7419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 20:49:40 +00:00
Benoît Minisini
9e5924c628 [INTERPRETER]
* BUG: Fix File.IsHidden() method for paths having "." or ".." element 
  inside.


git-svn-id: svn://localhost/gambas/trunk@7418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 18:40:29 +00:00
Benoît Minisini
657266cf4b [GB.QT4]
* BUG: Draw masked windows the same way as in gb.gtk.

[GB.QT5]
* BUG: Draw masked windows the same way as in gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@7417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 18:36:53 +00:00
Benoît Minisini
d3c0c9db6b [GB.FORM.EDITOR]
* BUG: CTRL+ENTER does not crash anymore if there is nothing to fold or 
  unfold.


git-svn-id: svn://localhost/gambas/trunk@7416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 02:10:54 +00:00
Benoît Minisini
81a4022fba [GB.DB.ODBC]
* BUG: Don't crash when trying to open a database if the host is void.


git-svn-id: svn://localhost/gambas/trunk@7415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 02:04:46 +00:00
Benoît Minisini
bc6493120e [INTERPRETER]
* NEW: File.IsHidden() is a new static method that returns if a path is 
  hidden, i.e. if its filename or one of its directory components starts 
  with a dot.

[GB.FORM]
* NEW: Setting an hidden path to a DirChooser or FileChooser automatically 
  toggles the ShowHidden property if needed.


git-svn-id: svn://localhost/gambas/trunk@7414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-17 01:59:12 +00:00
Willy Raets
0edfabd984 [DEVELOPMENT ENVIRONMENT]
* Updated Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-16 13:56:13 +00:00
Benoît Minisini
c60a05fc9c [GB.DB.SQLITE2]
* BUG: Listing databases without specifying the host does not crash 
  anymore.
  
[GB.DB.SQLITE3]
* BUG: Listing databases without specifying the host does not crash 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@7412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-16 11:52:39 +00:00
Benoît Minisini
da95a37de1 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly set url of help browser in all cases.


git-svn-id: svn://localhost/gambas/trunk@7411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-15 00:29:05 +00:00
Benoît Minisini
087a9d10a0 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove not yet implemented "template" database type.
* BUG: Fix list property editor layout.


git-svn-id: svn://localhost/gambas/trunk@7410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-15 00:20:23 +00:00
Benoît Minisini
c6ff0fe96f [GB.GTK]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.
  
[GB.GTK3]
* BUG: Control.Reparent() now works as expected when the new Parent 
  inherits UserContainer.


git-svn-id: svn://localhost/gambas/trunk@7409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 23:11:45 +00:00
Benoît Minisini
0c9a9bc08c [GB.FORM]
* BUG: Fix "linux" stock icon.


git-svn-id: svn://localhost/gambas/trunk@7408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-12 22:59:51 +00:00
Benoît Minisini
4508817f56 [DEVELOPMENT ENVIRONMENT]
* NEW: When compiling changes the project information metadata, only reload 
  forms.
* NEW: Support for future webforms.
* NEW: About dialog: Mouse wheel now scrolls the text in both direction.

[COMPILER]
* NEW:  Support for future webforms.


git-svn-id: svn://localhost/gambas/trunk@7407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-11 08:18:22 +00:00
Benoît Minisini
7f44f910de [GB.GTK]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.

[GB.GTK3]
* BUG: Fix ScrollView ClientWidth and ClientHeight properties.
* BUG: When searching for event targets, don't look at controls outside of 
  containers client area.


git-svn-id: svn://localhost/gambas/trunk@7406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 21:50:05 +00:00
Benoît Minisini
9e9514c318 [GB.GTK]
* BUG: Correctly initialize resolution when drawing on a DrawingArea.

[GB.GTK3]
* BUG: Correctly initialize resolution when drawing on a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@7405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 14:04:46 +00:00
Benoît Minisini
fc66292f50 [GB.GTK]
* BUG: Setting PictureBox.Picture to NULL with PictureBox.Stretch set now 
  works as expected.
  
[GB.GTK3]
* BUG: Setting PictureBox.Picture to NULL with PictureBox.Stretch set now 
  works as expected.


git-svn-id: svn://localhost/gambas/trunk@7404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:09:36 +00:00
Benoît Minisini
01a2b34270 [DEVELOPMENT ENVIRONMENT]
* NEW: Project exported control icons are thiner.

[INTERPRETER]
* NEW: Release classes having an array class if that array class has no 
  instance.

[GB.GUI.BASE]
* NEW: _Gui._Quit is a new method called by the GUI components during their
  "quit" hook. At the moment it releases Drag.Icon picture and voids the 
  Picture cache.


git-svn-id: svn://localhost/gambas/trunk@7403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-10 02:02:12 +00:00
Benoît Minisini
156ca6984b [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Draw toolbar icons of project exported controls larger, 
  so that they are more readable.
* BUG: Form editor: Set the Design property of controls the later as 
  possible. That way it is propagated to inner controls that are created
  after because of a control property.

[GB.QT4]
* BUG: Style.Name now returns "Breeze" if the patched breeze style is used.

[GB.QT5]
* BUG: Style.Name now returns "Breeze" if the patched breeze style is used.


git-svn-id: svn://localhost/gambas/trunk@7402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-09 23:08:48 +00:00
Benoît Minisini
f640481f4d [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Property help now works offline.


git-svn-id: svn://localhost/gambas/trunk@7401 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-09 18:25:33 +00:00
Benoît Minisini
9198a0462e [DEVELOPMENT ENVIRONMENT]
* BUG: Search: Fix replace all in current procedure.


git-svn-id: svn://localhost/gambas/trunk@7400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-09 00:09:10 +00:00
Benoît Minisini
0bd5a95bee [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* BUG: Remove now useless debugging code.
* BUG: Fix report border chooser dialog.
* BUG: Image editor: Fix magnet detection.
* NEW: Image editor: Display the target frame when moving the pasted image.
* BUG: Image editor: Fix the zero-width line drawing.
* BUG: Fix project icon folder generation.
* NEW: Add missing dark theme icons.


git-svn-id: svn://localhost/gambas/trunk@7399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 23:14:47 +00:00
Benoît Minisini
8db3ee2deb [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Buttons for line cap style, line join style and fill 
  rule.
* BUG: Image editor: Fix drawing of ghost line tool.

[GB.FORM.EDITOR]
* BUG: TextEditor: SHIFT + PGUP or PGDOWN keys now works as expected.

[GB.FORM.MDI]
* NEW: Workspace: Always shows the global close button, even if there is 
  only one tab.


git-svn-id: svn://localhost/gambas/trunk@7396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 01:20:37 +00:00
Benoît Minisini
bc5933f905 [INTERPRETER]
* BUG: Fix a crash when trying twice accessing a collection without the 
  good number of arguments.


git-svn-id: svn://localhost/gambas/trunk@7395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-08 00:55:44 +00:00
Willy Raets
29d31b52f0 [DEVELOPMENT ENVIRONMENT]
* Updated Dutch translations



git-svn-id: svn://localhost/gambas/trunk@7394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-07 23:50:48 +00:00
Tobias Boege
4a8947f64b [GB.COMPRESS.ZLIB]
* NEW: Uncompress.String(): Detect gzip format.



git-svn-id: svn://localhost/gambas/trunk@7393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-07 01:02:31 +00:00
Benoît Minisini
f073b22eae [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly catch errors when reloading a file.

[INTERPRETER]
* BUG: Fix a possible crash when removing an element from an enumerated 
  collection.


git-svn-id: svn://localhost/gambas/trunk@7392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-06 23:29:35 +00:00
Benoît Minisini
2a7c35e6e8 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic comment insertion is now done in one step to prevent 
  syntax highlighting from occuring inside the new comment line.


git-svn-id: svn://localhost/gambas/trunk@7391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-06 01:54:30 +00:00
Benoît Minisini
f19a549361 [CONFIGURATION]
* BUG: Forgot to put VERSION file in the source package file list.

[COMPILER]
* NEW: Trim the VERSION file before inserting into the ".startup" file.


git-svn-id: svn://localhost/gambas/trunk@7390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-05 17:24:34 +00:00
Tobias Boege
afc5f34660 [GB.XML.HTML]
* BUG: XmlElement: Fix infinite loop from MatchFilter()



git-svn-id: svn://localhost/gambas/trunk@7389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-05 15:41:37 +00:00