Commit graph

5468 commits

Author SHA1 Message Date
Benoît Minisini
e719e777b4 [DEVELOPMENT ENVIRONMENT]
* NEW: Image selection dialog has now more options, and can choose image
  inside the ".public" directory.
* NEW: Image selection now depends on form family.

[INTERPRETER]
* NEW: Timer.Restart() is a new method that stops and starts again a timer.

[GB.FORM.EDITOR]
* NEW: TextEditor: Image line cache is now limited by the visible height.
* BUG: TextEditor: Don't use image line cache for lines too high.

[GB.WEB]
* BUG: WebPage.ToString() now works correctly.

[GB.WEB.FORM]
* NEW: Generate webform style sheet recursively.
* NEW: WebButton can have an icon with the Image property.
* NEW: WebHtml control is now usable.
* NEW: WebContainer Arrangement, Margin and Spacing properties.
* NEW: WebControl Expand property.
* NEW: WebContainer boolean Border property is there just for debugging.
* NEW: WebForm.Title property.


git-svn-id: svn://localhost/gambas/trunk@7459 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-09 01:41:20 +00:00
Tobias Boege
8b58e07941 [GB.NET.CURL]
* NEW: HttpClient.Head() is a new method to issue a HTTP HEAD request.



git-svn-id: svn://localhost/gambas/trunk@7458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-08 19:57:18 +00:00
Benoît Minisini
ce6b2c35b3 [GB.UTIL]
* NEW: Class.Stat() is a new static method that returns information about
  a project class without loading it. At the moment you only get the parent
  class name and if the class is exported.

[GB.WEB.FORM]
* NEW: A new embryo component that aims at providing web application GUI
  controls, web application automatic user management (login & register),
  and many other features not yet decided.


git-svn-id: svn://localhost/gambas/trunk@7457 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-08 03:11:47 +00:00
Benoît Minisini
2343770b6f [GB.FORM.EDITOR]
* BUG: TextEditor: Fix 'page up' and 'page down' cursor moves.
* OPT: TextEditor: Each editor has now an internal line image cache to
  speed up redraws. This image cache is cleared as soon as the editor
  loses the focus, to save memory, or five seconds after the last redraw.


git-svn-id: svn://localhost/gambas/trunk@7456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-07 20:57:54 +00:00
Benoît Minisini
2cec42ba01 [GB.FORM.EDITOR]
* OPT: Refresh only the concerned lines when the selection changes.


git-svn-id: svn://localhost/gambas/trunk@7455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-05 22:51:19 +00:00
Benoît Minisini
f3c7a87dcf [GB.DB.POSTGRESQL]
* BUG: Don't send '00-00-0000' for date/time values whose year is zero.
  Just send the time to the PostgreSQL server.


git-svn-id: svn://localhost/gambas/trunk@7454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-05 16:39:18 +00:00
Benoît Minisini
0e417f489a [DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Extra directories are now correctly defined in Debian
  packages.


git-svn-id: svn://localhost/gambas/trunk@7450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 18:57:20 +00:00
Benoît Minisini
0f5e67b85e [GB.QT4]
* BUG: Disable warning messages when rendering a SVG file.

[GB.QT5]
* BUG: Disable warning messages when rendering a SVG file.


git-svn-id: svn://localhost/gambas/trunk@7449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 16:13:45 +00:00
Benoît Minisini
9d7e77214b [WEB SITE MAKER]
* NEW: New look.

[WIKI CGI SCRIPT]
* NEW: Hall of fame is now generated from the wiki.
* NEW: Accounts are now managed by the bugtracker.
* NEW: Registration is now managed by the bugtracker.


git-svn-id: svn://localhost/gambas/trunk@7448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 13:09:23 +00:00
Benoît Minisini
8a8e5cbdd6 [DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Remove sort by vote.
* BUG: Use the 'file' stock icon at correct size when making a project file
  icon.


git-svn-id: svn://localhost/gambas/trunk@7447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 09:31:50 +00:00
Benoît Minisini
5ab0ae6858 [GB.FORM]
* BUG: Fix stock icon templates.
* NEW: Print each loaded stock icon when Stock.Debug is set.


git-svn-id: svn://localhost/gambas/trunk@7446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 09:15:51 +00:00
Benoît Minisini
0b70c0d37c [BENCHMARKS]
* NEW: Add a new 'string' benchmark.


git-svn-id: svn://localhost/gambas/trunk@7442 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-03 02:02:47 +00:00
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