Commit graph

3290 commits

Author SHA1 Message Date
Benoît Minisini
72ee74e8d4 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw the projet property dialog library list with a GridView.

[INTERPRETER]
* BUG: Fix class overriding routine.

[GB.ARGS]
* NEW: 'gb.args' is a new component that analyzes the command-line options,
  and automatically handles the "--help" option.

[GB.HTTPD]
* BUG: Hide the component.


git-svn-id: svn://localhost/gambas/trunk@5241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-15 10:06:37 +00:00
Benoît Minisini
17a0748815 [CONFIGURATION]
* NEW: Each component installation now generates all information files
  systematically, to fix possible dependencies between components written
  in Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Running a project using the 'gb.web' component now automatically
  starts the embedded HTTP server.

[INTERPRETER]
* NEW: Class overriding is retrospective now.
* NEw: System._Breakpoint() is a new hidden method that raises a 
  breakpoint. Very useful for debugging.

[GB.GTK]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.

[GB.HTTPD]
* NEW: Define a custom exported HTTP server name.

[GB.JIT]
* BEW: Support for new class overriding (the CLASS structure has lost one 
  field).

[GB.QT4]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.


git-svn-id: svn://localhost/gambas/trunk@5240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 22:42:53 +00:00
Benoît Minisini
c6b16d6ce2 [GB.FORM]
* BUG: MaskBox and ButtonBox controls with no mask now should act like a 
  normal TextBox for popup menu and focus events.


git-svn-id: svn://localhost/gambas/trunk@5239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 14:46:01 +00:00
Benoît Minisini
87e1d27af4 [GB.QT4]
* BUG: Less flicker when showing fullscreen windows.


git-svn-id: svn://localhost/gambas/trunk@5238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 12:24:40 +00:00
Benoît Minisini
fedc591dfc [INTERPRETER]
* BUG: Implicit array conversion now correctly preserves dimensions.


git-svn-id: svn://localhost/gambas/trunk@5237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 10:52:02 +00:00
Benoît Minisini
2ab47c59e0 [COMPILER]
* NEW: Support for IF ... THEN ... ELSE syntax on the same line.


git-svn-id: svn://localhost/gambas/trunk@5236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-13 22:43:36 +00:00
Benoît Minisini
4ecc3420e6 [GB.IMAGE]
* BUG: Fix Image.RotateRight() algorithm.


git-svn-id: svn://localhost/gambas/trunk@5235 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-13 09:46:35 +00:00
Benoît Minisini
06977c713d [GB.IMAGE]
* BUG: Image.RotateRight() now really rotates to the right.


git-svn-id: svn://localhost/gambas/trunk@5233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-11 20:39:06 +00:00
Benoît Minisini
8701a2f020 [INTERPRETER]
* BUG: Fix symbol table search that could sometimes fail with non ASCII 
  characters.

[ARCHIVER]
* NEW: Add '.public' directory to executables.
* NEW: A new '-i' option not to display warnings when an information file 
  include fails.


git-svn-id: svn://localhost/gambas/trunk@5230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-10 14:58:14 +00:00
Benoît Minisini
0bc1869019 [DEVELOPMENT ENVIRONMENT]
* NEW: Use 'open' icon for top-level project tree folders.


git-svn-id: svn://localhost/gambas/trunk@5229 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-08 16:37:22 +00:00
Sebastian Kulesz
f297239776 [GB.DESKTOP]
* BUG: Fix compilation error



git-svn-id: svn://localhost/gambas/trunk@5228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-08 05:03:14 +00:00
Benoît Minisini
a907dacfbe [CONFIGURATION]
* NEW: The default installation prefix is now /usr, and /usr/local anymore.

[BENCHMARKS]
* NEW: New 'Manderlbrot' benchmark.


git-svn-id: svn://localhost/gambas/trunk@5227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-07 22:38:44 +00:00
Benoît Minisini
6c2bb03d7c [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new 'Public' project virtual directory, which is 
  '.public' on the disk.

[SCRIPTER]
* NEW: Support for a new '-f- option that compile the script with JIT 
  compilation enabled.

[GB.DESKTOP]
* BUG: Remove _Desktop.ActivateWindow() method.

[GB.HTTPD]
* NEW: The embedded HTTP server now can serve static files located in the 
  '.public' hidden project directory.


git-svn-id: svn://localhost/gambas/trunk@5226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-07 21:12:53 +00:00
Fabien Bodard
9918015264 [GB.REPORT]
* BUG: Reinit the Default Height and Width of the ReportControls to 0 cm. It correct the last seen default display.


git-svn-id: svn://localhost/gambas/trunk@5225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-06 15:32:51 +00:00
Benoît Minisini
c11f373e19 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix conversion of multiple array declarations on the same line in 
  Gambas 2 projects.


git-svn-id: svn://localhost/gambas/trunk@5224 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-03 19:39:30 +00:00
Benoît Minisini
0d88e31a1a [COMPILER]
* BUG: Error messages are correctly printed when warnings are disabled.


git-svn-id: svn://localhost/gambas/trunk@5223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-02 20:31:06 +00:00
Benoît Minisini
99981d4dc0 [DEVELOPMENT ENVIRONMENT]
* BUG: Clicking on the "Fixed font" check box in the Text property editor 
  does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-02 18:28:30 +00:00
Benoît Minisini
a68336da9b [CONFIGURATION]
* NEW: Switch to 3.3.90 version.

[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.

[INTERPRETER]
* NEW: New API for getting information about a file.

[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a 
  next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.

[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.HTTPD]
* NEW: Reindent source files.

[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.


git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-02 08:01:25 +00:00
Benoît Minisini
8b1458f7ab [GB.DESKTOP]
* BUG: Writing the Desktop.ActivateWindow property works now.


git-svn-id: svn://localhost/gambas/trunk@5220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-01 12:33:36 +00:00
Sebastian Kulesz
03941b84c4 [GB.WIKI]
* NEW: Complete rewrite of the current doc.cgi wiki.
  Still needs a lot of work!


git-svn-id: svn://localhost/gambas/trunk@5219 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-30 20:50:47 +00:00
Benoît Minisini
6fd0742ea4 [GB.GTK]
* BUG: Fix the Control.Grab() method.


git-svn-id: svn://localhost/gambas/trunk@5213 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-30 20:05:00 +00:00
Radek Fryšták
8e64692047 [DEVELOPMENT ENVIRONMENT]
* NEW: Correct & new czech translate

[WIKI CGI SCRIPT]
* NEW: update czech translate

[WEB SITE MAKER]
* NEW: update czech translate

[GB.FORM.DIALOG]
* NEW: update czech translate

[GB.FORM]
* NEW: update czech translate

[GB.NET.POP3]
* NEW: new czech translate

[GB.FORM.MDI]
* NEW: update czech translate

[GB.REPORT]
* NEW: update czech translate

[EXAMPLES]
* NEW: check czech translate for: GNUBoxWorld, 
       WebBrowser, MoviePlayer, Gravity, Painting


git-svn-id: svn://localhost/gambas/trunk@5211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-28 11:59:25 +00:00
Fabien Bodard
04dca7c6b5 [GB.REPORT]
* BUG: Reactivate OnePiece... some report are lose there arrangement.


git-svn-id: svn://localhost/gambas/trunk@5210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-28 07:41:51 +00:00
Benoît Minisini
41b6a93cef [EXAMPLES]
* BUG: Fix Embedded window layout.

[INTERPRETER]
* NEW: The '-H' option now runs the interpreted program as a CGI script
  through an embedded HTTP server.

[GB.HTTPD]
* NEW: New hidden component that embeds an HTTP server that runs the 
  project as a CGI script. It is activated by a new interpreter option.
  Warning! This is highly experimental. The HTTP server is based on the
  thttpd source code.

[GB.WEB]
* BUG: As the _init static class is always executed at startup for exported
  classes, delay the intialization of Session class the first time one of 
  its properties is used.
* BUG: If the SCRIPT_NAME CGI variable equals nothing or "/", set it to 
  "/." so that it can be concatenated to any path and still gives a valid
  url.
* BUG: Support for explicit URL ports.
* NEW: Application.Port is a new property that returns the port used by the 
  HTTP request.


git-svn-id: svn://localhost/gambas/trunk@5209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-27 20:52:08 +00:00
Sebastian Kulesz
dcc327e864 [GB.MEMCACHED]
* OPT: Refactored the code.
* NEW: Support other datatypes besides strings.
* NEW: Allow increment and decrement operations.
* BUG: Properly implement Compare-And-Set functions.


git-svn-id: svn://localhost/gambas/trunk@5208 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-26 20:57:56 +00:00
Benoît Minisini
2d68579654 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash during automatic completion.


git-svn-id: svn://localhost/gambas/trunk@5207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-26 16:33:35 +00:00
Sebastian Kulesz
7d65c8ff2c [GB.MEMCACHED]
* NEW: memcached client



git-svn-id: svn://localhost/gambas/trunk@5206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-26 04:36:57 +00:00
Benoît Minisini
3faf07c11c [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion correctly follows the current edition again.


git-svn-id: svn://localhost/gambas/trunk@5204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 21:24:04 +00:00
Benoît Minisini
81613f1cb8 [DEVELOPMENT ENVIRONMENT]
* BUG: When scanning classes, detect the value of constants.


git-svn-id: svn://localhost/gambas/trunk@5201 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 17:44:59 +00:00
Benoît Minisini
2b45910f9a [GB.FORM]
* NEW: ScrollArea.Shadow is now a dynamic property. This will be backported 
  to 3.3 as soon as possible because this is a forbidden background 
  compatibility break!


git-svn-id: svn://localhost/gambas/trunk@5200 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 14:10:55 +00:00
Benoît Minisini
f0a5dfb6ae [DEVELOPMENT ENVIRONMENT]
* NEW: Use a GridView instead of a ListView for automatic completion, so 
  that we get rid of the Qt4 "gray ListView" bug.


git-svn-id: svn://localhost/gambas/trunk@5198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-25 13:54:05 +00:00
Benoît Minisini
7e694b6fc7 [WEBSITE MAKER]
* NEW: Updates for 3.3.0 release.

[GB.WEB]
* NEW: Session.CookiePath is a new property that allows to define the URL 
  path of the session cookie.


git-svn-id: svn://localhost/gambas/trunk@5197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-24 23:37:55 +00:00
Benoît Minisini
619f6c0e3c [GB.DATA]
* BUG: Add 'list.h' to the source file list.


git-svn-id: svn://localhost/gambas/trunk@5195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 18:32:39 +00:00
Benoît Minisini
0a1f329fdd [CONFIGURATION]
* BUG: Do not distribute '.action' directories in source packages (again).


git-svn-id: svn://localhost/gambas/trunk@5193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 15:03:53 +00:00
Benoît Minisini
c7b905cf9e [CONFIGURATION]
* BUG: Do not distribute '.action' directories in source packages.


git-svn-id: svn://localhost/gambas/trunk@5192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 15:01:18 +00:00
Benoît Minisini
fd7f08d6d7 [DEVELOPMENT ENVIRONMENT]
* NEW: In the database connection editor, make the table data browser read-
  only by default, and add a button to toggle the editable state.

[GB.DB.FORM]
* BUG: Setting DataView.Editable to FALSE correctly hides the record 
  creation extra line.

[GB.NET.POP3]
* BUG: Hide public constants that should have been private only.


git-svn-id: svn://localhost/gambas/trunk@5190 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-23 14:03:15 +00:00
Benoît Minisini
252053f9b3 [GB.GTK]
* BUG: Windows should not receive a keyboard event twice anymore.

[GB.QT4]
* BUG: Windows should not receive a keyboard event twice anymore.


git-svn-id: svn://localhost/gambas/trunk@5188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-22 01:38:15 +00:00
Benoît Minisini
c8a3dd541f [GB.GTK]
* BUG: Fix handle of mouse events and modality.


git-svn-id: svn://localhost/gambas/trunk@5187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-22 01:34:56 +00:00
Benoît Minisini
479ae9353b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix inheritance management in projects that are the Gambas part of
  an existed component, or a component entirely written in Gambas.
* NEW: Add '-h', '-v' and '-L' command-line options.


git-svn-id: svn://localhost/gambas/trunk@5186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 23:35:04 +00:00
Benoît Minisini
13b86f2e7e [GB.DBUS]
* BUG: Remove a file that should not be under version control.


git-svn-id: svn://localhost/gambas/trunk@5185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 21:58:20 +00:00
Benoît Minisini
f1d5220649 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't try to refresh the search list if we are closing the project.
* NEW: Hide error message if debugger is stopped.


git-svn-id: svn://localhost/gambas/trunk@5184 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 21:40:35 +00:00
Benoît Minisini
2dcaa54c91 [INTERPRETER]
* BUG: The debugger won't crash anymore when trying to continue after an 
  error has been raised inside a component.


git-svn-id: svn://localhost/gambas/trunk@5183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 11:09:07 +00:00
Benoît Minisini
0d36fabf2a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix loading of component information when the current project is the
  Gambas part of a Gambas component.
* BUG: Opening a project in another window should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@5182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 09:11:06 +00:00
Benoît Minisini
c117da905e [GB.DESKTOP]
* BUG: The Gambas part of the component must not use the gb.form component.


git-svn-id: svn://localhost/gambas/trunk@5181 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 08:27:13 +00:00
Benoît Minisini
d76f3be8f5 [GB.DBUS]
* NEW: Add the DBus error message to the Gambas error message when 
  registering or unregistering fails.


git-svn-id: svn://localhost/gambas/trunk@5180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-21 08:21:27 +00:00
Benoît Minisini
3f8c71a8db [DEVELOPMENT ENVIRONMENT]
* BUG: Handle official components projects like 'gb.web' better.

[GB.WEB]
* BUG: Fix gb.web compilation.


git-svn-id: svn://localhost/gambas/trunk@5179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 14:33:38 +00:00
Benoît Minisini
57764a966b [DEVELOPMENT ENVIRONMENT]
* BUG: Indent & unident buttons now work in text editors.


git-svn-id: svn://localhost/gambas/trunk@5178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 13:55:47 +00:00
Benoît Minisini
54150a91e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little redesign of the welcome dialog.
* NEW: Remove the "Alternate" theme color.

[COMPILER]
* NEW: New WebPage syntaxes: <<Include>>, <</Include>>, <%/%>, <<--->>.

[GB.EVAL]
* NEW: Highlight.Alternate has been deprecated.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new WebPage syntaxes.

[GB.QT4.EXT]
* NEW: Editor: The alternate background is automatically computed.
* NEW: Editor: Brace highlighting now works on alternate background.
* NEW: Highlight.Alternate has been deprecated.


git-svn-id: svn://localhost/gambas/trunk@5177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 02:29:37 +00:00
Benoît Minisini
a707a2cb8e [DEVELOPMENT ENVIRONMENT]
* NEW: Modify the behaviour of the "Replace" command. Now the text is 
  searched only if it has not been just replaced.


git-svn-id: svn://localhost/gambas/trunk@5176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-19 19:05:37 +00:00
Benoît Minisini
cf5a5d8c8f [GB.GTK]
* BUG: Copying an image to clipboard does not corrupt the image anymore.


git-svn-id: svn://localhost/gambas/trunk@5175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-18 09:31:36 +00:00