Commit graph

3483 commits

Author SHA1 Message Date
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
Benoît Minisini
9dd14f1a47 [GB.DESKTOP]
* BUG: Fix DesktopWindow.Resize() method.


git-svn-id: svn://localhost/gambas/trunk@5174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 19:05:18 +00:00
Benoît Minisini
cbad814159 [GB.DESKTOP]
* BUG: DesktopWindow.X and Desktop.Y now return the correct window 
  position, provided that the window manager follows the EWMH freedesktop
  standard of course.


git-svn-id: svn://localhost/gambas/trunk@5173 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 14:22:26 +00:00
Benoît Minisini
22a119f0a6 [DEVELOPMENT ENVIRONMENT]
* BUG: When saving a project with another name, the ExecPath and SourcePath 
  options of the target project are reset, and the target project is 
  cleaned up.


git-svn-id: svn://localhost/gambas/trunk@5172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 13:41:50 +00:00
Benoît Minisini
0f985417cf [DEVELOPMENT ENVIRONMENT]
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same 
  name as the current project. This is a temporary incorrect fix!

[INTERPRETER]
* BUG: Fix Classes enumeration.

[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of 
  the window.

[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.

[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.


git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 11:13:32 +00:00
Benoît Minisini
b174b79ada [DEVELOPMENT ENVIRONMENT]
* NEW: Display a PDF icon for PDF files.

[GB.FORM]
* NEW: Add a PDF icon to the stock.

[GB.FORM.STOCK]
* NEW: Add a PDF icon.

[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must 
  be printed.

[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly 
  returns the Printer object to an inactive state.


git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-16 14:54:10 +00:00
Adrien Prokopowicz
22972ba5ce [GB.XML.HTML]
* BUG: The HTML parser now really correctly raises an error if the document is incomplete (no doctype/root element).

[GB.XML]
* BUG: Errors that doesn't give any position in the parsed data are correctly raised now.

git-svn-id: svn://localhost/gambas/trunk@5169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-15 21:25:33 +00:00
Adrien Prokopowicz
0d0e541e38 [GB.XML.HTML]
* BUG: The HTML parser now correctly raises an error if the document is incomplete (no doctype/root element).

git-svn-id: svn://localhost/gambas/trunk@5168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-15 21:02:17 +00:00