Commit graph

7377 commits

Author SHA1 Message Date
Benoît Minisini
7f12844128 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for template array classes in automatic completion.

[INTERPRETER]
* BUG: LIE INPUT and INPUT work correctly on tty streams.

[GB.DB]
* NEW: Add an API that allows a driver function to get the current 
  database when it does not get it from its arguments.

[GB.DB.POSTGRESQL]
* BUG: Fix blob support for some encodings, and when PostgreSQL version is
  greater or equal than 8.2.

[GB.DB.SQLITE3]
* BUG: Field values are not truncated anymore.

[GB.FORM]
* NEW: MessageLabel is a new control made by David Villalobos Cambronero.
  It is a TextLabel that changes its background color for indicating a 
  warning, an error, and so on.

[GB.FORM.MDI]
* NEW: Workspace.ButtonPosition is a new property that allows to put the 
  tab close button on the left or on the right.

[GB.GTK]
* BUG: Speeds up the combo-box control as much as I can. Slowness seems to 
  be a GTK+ feature. :-/

[GB.QT]
* BUG: Fix crash when setting a shortcut on a top-level menu.


git-svn-id: svn://localhost/gambas/trunk@1548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-09 11:03:47 +00:00
Peter Landgren
6ed1b3db23 [tips.sv]
*NEW: Update of tips.sv for GAMBAS3

git-svn-id: svn://localhost/gambas/trunk@1546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-07 14:32:51 +00:00
Laurent Carlier
27af745e5f More code cleanups
git-svn-id: svn://localhost/gambas/trunk@1544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-06 21:49:46 +00:00
Laurent Carlier
85c3a1013b small cleanup and first test of git-svn !
git-svn-id: svn://localhost/gambas/trunk@1540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-04 21:49:22 +00:00
David Villalobos Cambronero
297f31a2b5 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-04 20:32:30 +00:00
David Villalobos Cambronero
031802f2f2 [GB.DB.MYSQL]
* NEW: Added the function PrimaryKey to _Index class.
* BUG: Rename in _Field class works correctly now.
* NEW: Added property Query to _MySQL class.
* OPT: Optimized procedure RunQuery in modMain.
* OPT: Optimized Modify procedure in _Table class.
* NEW: Added function Definition to _Routine class.
* OPT: Optimized Tables procedure in _Database class.
* NEW: Added Triggers procedure to  _Database class.
* NEW: Added Views procedure to  _Database class.

git-svn-id: svn://localhost/gambas/trunk@1538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-04 20:04:15 +00:00
Benoît Minisini
44e0814952 [DEVELOPMENT ENVIRONMENT]
* NEW: Nicer window buttons in the form editor.
* BUG: Console popup menu must start disable, otherwise shortcuts conflict.
* NEW: Use the new template array class in the CControl class.

[COMPILER]
* BUG: Make a difference between project classes (they must be searched 
  by the interpreter inside the project symbol table first) and the classes
  exported by components (they are always searched in the global symbol 
  table).


git-svn-id: svn://localhost/gambas/trunk@1532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-01 00:48:01 +00:00
Benoît Minisini
d38d3910d4 [INTERPRETER]
* BUG: Enhance and fix support for template array classes.

[COMPILER]
* BUG: Enhance and fix support for template array classes.

[GB.EVAL]
* NEW: Support for template array classes.


git-svn-id: svn://localhost/gambas/trunk@1531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-31 23:45:47 +00:00
Benoît Minisini
50e6bd3583 [CONFIGURATION]
* NEW: Some clean-up in the acinclude.m4 file.

[DEVELOPMENT ENVIRONMENT]
* NEW: Small changes in the project property dialog layout.
* BUG: When opening a project, the packager information is correctly reset.

[WIKI CGI SCRIPT]
* NEW: Simplified chinese translation updated.
* NEW: Support for albanian language.
* NEW: New web site look.

[INTERPRETER]
* BUG: Really really fix the bit manipulation functions.
* NEW: Support for types object arrays. For example: Label[] for an array 
  of Labels.

[COMPILER]
* NEW: Support for types object arrays.
* BUG: Do not store the source file full path into object files, so that 
  rmplint does not cry.

[GB.GTK]
* BUG: Fix the tray icon management. Now GTK+ icons work on Gnome and KDE, 
  and are fully transparent!
* BUG: Tray icons are correctly refreshed when the icon is changed.

[GB.QT]
* BUG: Fix the menu shortcut management.
* BUG: Tray icons are correctly refreshed when the icon is changed.


git-svn-id: svn://localhost/gambas/trunk@1529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-31 00:32:21 +00:00
Laurent Carlier
8437f91191 [INTERPRETER]
* NEW: The interpreter is now linked with the pthread library on Linux 
  systems.



git-svn-id: svn://localhost/gambas/trunk@1528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-30 19:53:24 +00:00
David Villalobos Cambronero
2864b30105 [GB.DB.MYSQL]
* NEW: Added function Definition to _View class.
* NEW: Added function Use to _MYSQL class.

git-svn-id: svn://localhost/gambas/trunk@1521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-28 19:58:51 +00:00
Laurent Carlier
95bc4d566f [DEVELOPMENT ENVIRONMENT]
* NEW: Add preliminary support for extra test during configure with Autotools packages. 


git-svn-id: svn://localhost/gambas/trunk@1520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-28 00:26:15 +00:00
Laurent Carlier
3dbbaa34ac [GB.OPENGL]
* BUG: Add missing support for Gl.Normal3fv(Float[]) and Gl.Normal3iv(Integer[]).


git-svn-id: svn://localhost/gambas/trunk@1517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-25 14:51:53 +00:00
David Villalobos Cambronero
7877114d0e [GB.DB.MYSQL]
* BUG: The functions Collations, Charsets, Users, Databases work
  correctly now.

git-svn-id: svn://localhost/gambas/trunk@1516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-22 20:22:50 +00:00
David Villalobos Cambronero
1457821bcb [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-21 19:15:18 +00:00
David Villalobos Cambronero
31aa3f0b82 [GB.DB.MYSQL]
* BUG: Replaced the word DataBase by Database.

git-svn-id: svn://localhost/gambas/trunk@1513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-21 19:10:49 +00:00
Benoît Minisini
174bcd8732 [DEVELOPMENT ENVIRONMENT]
* BUG: The property grid edit field is not displayed outside of the grid 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@1504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-19 11:20:37 +00:00
David Villalobos Cambronero
74cf500e2b [GB.DB.MYSQL]
* BUG: Class _Trigger works correctly now.

git-svn-id: svn://localhost/gambas/trunk@1502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-16 17:02:28 +00:00
David Villalobos Cambronero
576034a621 [GB.DB.MYSQL]
* OPT: Optimized almost all functions and procedures making
  parameters optionals.
* NEW: Add basic Trigger support.

git-svn-id: svn://localhost/gambas/trunk@1501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-16 16:49:17 +00:00
Peter Landgren
d03d47de83 [doc.cgi]
*NEW: Swedish translation update

git-svn-id: svn://localhost/gambas/trunk@1500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-15 19:08:16 +00:00
Peter Landgren
eeab130aee [gb.form]
*NEW: Swedish translation update

git-svn-id: svn://localhost/gambas/trunk@1499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-15 19:02:52 +00:00
Peter Landgren
5c669e1370 [DEVELOPMENT ENVIRONMENT]
*NEW: Swedish translation update

git-svn-id: svn://localhost/gambas/trunk@1497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-15 18:56:51 +00:00
Benoît Minisini
99730a185f [CONFIGURATION]
* NEW: Use colorgcc if it is present. Beware that ccache removes the 
  colors.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the output console search.
* BUG: When making a package, ignore the charset translation errors while 
  printing the commands output.
* NEW: Support for the Khmer language.

[WIKI CGI SCRIPT]
* NEW: Support for the macedonian language.

[INTERPRETER]
* BUG: Fix the interpreter for gcc 4.3.
* NEW: Prints the gcc version used for compiling the interpreter when 
  running 'gbx2 -h'.
* BUG: Fix the initialization of standard input/output streams.

[COMPILER]
* BUG: Fix a compilation warning on FILE_set_chown.

[GB.GTK]
* BUG: Initialize correctly the gControl class.
* BUG: Draw.Tile now works correctly.
* BUG: Fix the vertical alignment management.
* BUG: The alignment of a GridView cell with a picture only is correct now.

[GB.QT]
* BUG: Choose the right moc executable when both QT3 and QT4 are installed 
  on the system.
* BUG: Fix the system tray icons for KDE 3.5.10. :-)
* BUG: The alignment of a GridView cell with a picture only is correct now.


git-svn-id: svn://localhost/gambas/trunk@1493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-14 19:42:27 +00:00
Laurent Carlier
cc8399d17e Code cleanup, remove obsolete and uneeded specific OpenBSD code.
git-svn-id: svn://localhost/gambas/trunk@1491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-08 14:41:57 +00:00
Laurent Carlier
b44fe1941d [GB.SDL]
* NEW: Add Tracking property in Window class, if Tracking is set, MouseMove is raised without any button pressed.
  


git-svn-id: svn://localhost/gambas/trunk@1490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-08 12:40:54 +00:00
David Villalobos Cambronero
d2f4b32f5e [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-07 22:01:06 +00:00
Alexander Kazancev
91c3bba960 update on Russian
git-svn-id: svn://localhost/gambas/trunk@1485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-27 09:26:07 +00:00
David Villalobos Cambronero
39c1df325d [GB.DB.MYSQL]
* NEW: Avoid the use of DB.Qoute(), use ` instead.
* NEW: Added function Quote to _MySQL class.

git-svn-id: svn://localhost/gambas/trunk@1482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-25 17:54:59 +00:00
Benoît Minisini
0eb9507c52 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not abort if you try to open a dead symbolic link.

[INTERPRETER]
* BUG: Fix base object structure size when compiling with gcc 4.3 on a 64 
  bits system.

[INFORMER]
* BUG: The informer now can be run without argument from anywhere.

[GB.FORM]
* NEW: The ListContainer refreshes itself before raising the Click event.


git-svn-id: svn://localhost/gambas/trunk@1481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-22 21:31:17 +00:00
Benoît Minisini
50b88215df [DEVELOPMENT ENVIRONMENT]
* BUG: Replace the old Border property by the new Resizable property in the 
  forms created by the file creation dialog.


git-svn-id: svn://localhost/gambas/trunk@1476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-19 23:08:00 +00:00
Benoît Minisini
5562f8f75e [INTERPRETER]
* BUG: Observers don't raise events anymore if their parent is invalid, 
  like other objects do.

[GB.FORM]
* NEW: FileView now display image preview if the image size is up to 64 Kb.

[GB.QT.EXT]
* BUG: Blended procedure separation is now correctly refreshed when the 
  font size changes.


git-svn-id: svn://localhost/gambas/trunk@1474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-19 21:53:22 +00:00
Benoît Minisini
977cbb75da [DEVELOPMENT ENVIRONMENT]
* BUG: Commenting and uncommenting now do not forget the last line if the 
  text was selected from bottom to top.


git-svn-id: svn://localhost/gambas/trunk@1472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-19 17:35:27 +00:00
Benoît Minisini
e353f27679 [DEVELOPMENT ENVIRONMENT]
* BUG: The signature deals correctly with methods having a variable number 
  of arguments.


git-svn-id: svn://localhost/gambas/trunk@1470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-19 14:01:22 +00:00
Benoît Minisini
dcea4334d7 [DEVELOPMENT ENVIRONMENT]
* NEW: The signature popup now underlines the argument under the cursor.
* NEW: A new option to minimize the IDE when the project is run.
* NEW: Replaced the '[Modified]' text in the title of a modified form or 
  class by a star.
* BUG: GridView, TableView, TextEdit and Editor are correctly refreshed in 
  the form editor when they are renamed.


git-svn-id: svn://localhost/gambas/trunk@1468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-19 13:35:36 +00:00
David Villalobos Cambronero
7c54ef6abb [GB.DB.MYSQL]
* NEW: Rename function added to _Table class.

[DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.
* BUG: Commented line 220 in FCreateFile (Windows.Fixed).


git-svn-id: svn://localhost/gambas/trunk@1464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-18 22:00:39 +00:00
Benoît Minisini
7eb12dff51 [DEVELOPMENT ENVIRONMENT]
* NEW: Enhance the behaviour of the console text search.
* BUG: Enhance and fix the behaviour of the ESCAPE key.
* BUG: Renamed controls like DataControl are correctly refreshed inside the
  form editor.

[INFORMER]
* NEW: When creating all information files in one shot, child processes are
  used instead of loading all components in the same process.

[INTERPRETER]
* BUG: RInStr() third argument is now correctly taken into account in all 
  cases.
* BUG: Fix a bug in inheritance with classes written in Gambas overriding 
  symbols whose name begins with 'P', 'R' or 'M'.

[GB.DB.FORM]
* BUG: Setting DataBrowser.Control property to FALSE works again.

[GB.QT]
* BUG: Menu shortcuts are automatically enabled when the menu is shown.

[GB.QT.EXT]
* NEW: When the focus is set on an Editor, the cursor is ensured to be 
  visible.


git-svn-id: svn://localhost/gambas/trunk@1462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-17 23:45:32 +00:00
Benoît Minisini
054fe188b0 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for macedonian and albanian translations.


git-svn-id: svn://localhost/gambas/trunk@1458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-17 11:21:48 +00:00
Benoît Minisini
54112a5acb [DEVELOPMENT ENVIRONMENT]
* NEW: Display subversion revision in the About dialog.


git-svn-id: svn://localhost/gambas/trunk@1456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-17 10:35:49 +00:00
Benoît Minisini
31af0cd0a1 [GB.GTK]
* BUG: Fix the fake transparency of tray icons.

[GB.QT]
* BUG: Wow! Finally fix TrayIcons so that they are visible inside Gnome and
  XFCE notification area.


git-svn-id: svn://localhost/gambas/trunk@1454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-17 00:16:44 +00:00
Benoît Minisini
3b12a492ef [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the title of the search list window.
* NEW: Support for hebrew translations.

[INTERPRETER]
* BUG: Do not free the classes before the _free() special methods are 
  executed.

[GB.FORM]
* BUG: Fix the default event declaration of ValueBox.

[GB.QT]
* BUG: GridView.Clear now correctly refreshes the GridView.


git-svn-id: svn://localhost/gambas/trunk@1452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-16 10:12:13 +00:00
Laurent Carlier
71d887bd05 [GB.SDL]
* BUG: Removed linking against libGL, as libSDL is already linked with 
it. This fixed gbi segfault on my box. 



git-svn-id: svn://localhost/gambas/trunk@1448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-14 14:18:18 +00:00
Benoît Minisini
abbcd6c930 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw project details in gray.

[INTERPRETER]
* BUG: Fix the management of standard input, standard output and standard 
  error streams.
  
[GB.DRAW]
* BUG: Draw.Begin() now correctly raises an error if the device is a static
  class that is not drawable. This bug was fixed by using "Draw" for the 
  interface name of drawable objects and "StaticDraw" for the interface 
  name of drawable classes like Printer.

[GB.FORM]
* NEW: File dialogs now remember the last used directories in the directory
  combo-box.

[GB.GTK]
* NEW: Font strikeout and underline are used when drawing Buttons.

[GB.QT.EXT]
* BUG: Uses "StaticDraw" to specify the drawing interface of the Printer 
  class.


git-svn-id: svn://localhost/gambas/trunk@1446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-10 21:49:11 +00:00
Benoît Minisini
f82d866d72 [DEVELOPMENT ENVIRONMENT]
* BUG: Renaming a directory in the project tree now works correctly.
* BUG: Correctly refresh the form editor title when the form is locked.

[INTERPRETER]
* BUG: Dir() and RDir() do not leak memory anymore when there is a charset 
  conversion error during the directory parsing.

[GB.DB.MYSQL]
* BUG: Fix a possible crash when reading information on a date field.

[GB.GTK]
* BUG: Redesigned the management of Font properties.
* BUG: GridView item Font property works correctly now.
* BUG: Font Underline and StrikeOut properties were implemented for Label
  controls, GridView cells, and the Draw class.


git-svn-id: svn://localhost/gambas/trunk@1443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-07-10 08:00:19 +00:00
David Villalobos Cambronero
f4a80e6b70 [GB.DB.MYSQL]
* BUG: Function CurrentTimestamp works correctly now.

git-svn-id: svn://localhost/gambas/trunk@1440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-28 17:14:36 +00:00
David Villalobos Cambronero
947d61cfa5 [GB.DB.MYSQL]
* OPT: Function CurrentTimestamp() can return value in many formats.

git-svn-id: svn://localhost/gambas/trunk@1439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-27 17:45:45 +00:00
David Villalobos Cambronero
79105c779e [GB.DB.MYSQL]
* NEW: Added the function MySQL.CurrentTimestamp() that returns the Current
  timestamp from the server.

git-svn-id: svn://localhost/gambas/trunk@1437 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-26 18:01:30 +00:00
Benoît Minisini
6ca5126595 [DEVELOPMENT ENVIRONMENT]
* NEW: Little changes in the hall of fame animation.

[INTERPRETER]
* NEW: Do not warn against circular references when the program aborts 
  because of an error.

[COMPILER]
* NEW: The error message displayed when you try to return a value in a 
  procedure is more explicit now.

[GB.FORM.MDI]
* BUG: When a MDI child window is activated, the focus is set on it unless 
  one of its child control already has the focus.

[GB.GTK]
* BUG: Fix Application.Busy when forms are embedded.
* BUG: ComboBox does not raise the Click event anymore when its Text 
  property changes.
* BUG: Fix the management of Window Activate and Deactivate events.
* BUG: Fix the management of GotFocus and LostFocus events.
* BUG: SetFocus is correctly honored when used inside the Open event 
  handler of an embedded form.
* BUG: Desktop.Scale is now computed the same way as in gb.qt.

[GB.QT]
* BUG: SetFocus is correctly honored when used inside the Open event 
  handler of an embedded form.


git-svn-id: svn://localhost/gambas/trunk@1436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-26 09:49:06 +00:00
Laurent Carlier
95b15cea66 [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for DESTDIR variable in autotools packages.

see http://www.gnu.org/prep/standards/html_node/DESTDIR.html



git-svn-id: svn://localhost/gambas/trunk@1435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-26 09:39:12 +00:00
David Villalobos Cambronero
1ec7a1d792 [DEVELOPMENT ENVIRONMENT]
* NEW: Added a ToolButton in FCommit to clear the editor contents.
* NEW: Spanish and French translations updated.

git-svn-id: svn://localhost/gambas/trunk@1429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-24 18:01:38 +00:00
David Villalobos Cambronero
d84b68a1ff [DEVELOPMENT ENVIRONMENT]
* NEW: Run "Update All Forms" for all gambas projects.
* BUG: Now the IDE opens the database manager.

[EXAMPLES]
* NEW: Run "Update All Forms" for all gambas projects.


git-svn-id: svn://localhost/gambas/trunk@1428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-24 16:48:11 +00:00