Commit graph

4985 commits

Author SHA1 Message Date
David Villalobos Cambronero
eaf169bb57 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-20 00:24:58 +00:00
David Villalobos Cambronero
ef1e217ab4 [DEVELOPMENT ENVIROMENT]
* BUG: Corecction in the translation of FMakeInstall.
* BUG: Set the width of CheckBox2 in FMakeInstall to 182 (like all).

git-svn-id: svn://localhost/gambas/trunk@1567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-18 20:30:14 +00:00
Benoît Minisini
5b649e3471 [DEVELOPMENT ENVIRONMENT]
* NEW: Write Gambas version in .project files.
* BUG: Fix crash in automatic completion.

[GB.QT.EXT]
* BUG: In Editor, the line width must not be smaller than the visible 
 width.


git-svn-id: svn://localhost/gambas/trunk@1566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-17 11:39:37 +00:00
Benoît Minisini
733050b7ab [CONFIGURATION]
* BUG: Rename the "SDL_SOUND" autoconf package name as "SDLSOUND".

[DEVELOPMENT ENVIRONMENT]
* NEW: Add a checkbox to tell the packager if it should create the 
  packages in their own distribution-specific directories. The name of 
  this sub-directory is the package kind: "mandriva" for a Mandriva rpm, 
  "ubuntu" for an Ubuntu deb, and so on.
* BUG: The save file dialog now correctly displays unsaved file icons.
* BUG: Some other fixes in the case of signature symbols.
* BUG: Fix the drawing of symbolic link overlay icon.
* NEW: Editors can use non fixed-size fonts.
* BUG: Fixes relative to non fixed-size fonts support.

[WIKI CGI SCRIPT]
* BUG: Handle loops in symbolic links correctly.

[SCRIPTER]
* BUG: Use gb.eval to analyze script instead of hand-made parsing.
* BUG: Print a warning message when a component requirement is not found 
  instead of halting.
* NEW: New option -v to be verbose.
* NEW: New option -c to ignore cache contents.

[GB.DB.MYSQL]
* BUG: Fix the drop index driver function.

[GB.QT]
* BUG: The ComboBox.Item.Text property now correctly returns UTF-8 text.

[GB.QT.EXT]
* NEW: The editor now support non fixed-size fonts.
* OPT: Indention, unindentation, and everything that acts between a 
  Begin() and End() commands only emit the Change event once. 
  Consequently, these actions are not slow anymore.
* OPT: Optimize undo and redo the same way as ident and unindent.
* NEW: In Editor, CTRL+BACKSPACE deletes the left word now.
* NEW: In Editor, CTRL+DELETE deletes the right word now.


git-svn-id: svn://localhost/gambas/trunk@1564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-16 20:49:39 +00:00
Benoît Minisini
d60e728617 [COMPILER]
* BUG: Disable debugging messages.


git-svn-id: svn://localhost/gambas/trunk@1562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-16 12:48:21 +00:00
Benoît Minisini
efc688455c [CONFIGURATION]
* BUG: Some bugs fixes coming from Gentoo.

[DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in the case of signature symbols.

[WIKI CGI SCRIPT]
* BUG: Try to display the language bar in Firefox the same way as in 
  Konqueror.

[INTERPRETER]
* BUG: Collection[] now correctly raises an error when the key is null.

[GB.GTK]
* BUG: Fix the use of the gambas part in the TreeView class.

[GB.NET.CURL]
* BUG: Successive calls to the Get() or Put() methods should not make the 
  interpreter crash at exit anymore.


git-svn-id: svn://localhost/gambas/trunk@1554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-13 15:35:13 +00:00
David Villalobos Cambronero
047946e735 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@1553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-11 20:22:07 +00:00
David Villalobos Cambronero
f7db72be7f [GB.DB.MYSQL]
* BUG: Fixed a bug in the _MySQL.Use procedure.
* NEW: Added Routines procedure to Database class.

git-svn-id: svn://localhost/gambas/trunk@1552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-11 20:16:47 +00:00
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