Commit graph

5839 commits

Author SHA1 Message Date
Peter Landgren
a224313e1c [DEVELOPMENT ENVIRONMENT]
* NEW: Update of Swedish translations

git-svn-id: svn://localhost/gambas/trunk@1597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-25 09:20:14 +00:00
David Villalobos Cambronero
009463c394 [GB.DB.MYSQL]
* OPT: Store every query in a variable, so it can be retrived
  with _MySQL.Query.

git-svn-id: svn://localhost/gambas/trunk@1594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-24 22:07:53 +00:00
Benoît Minisini
ac1a4f5a4f [CONFIGURATION]
* BUG: The help installation should work again.


git-svn-id: svn://localhost/gambas/trunk@1577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-22 00:40:32 +00:00
Benoît Minisini
5acae8e8bb [WIKI CGI SCRIPT]
* NEW: Do not use <pre> markups, they cannot break lines.

[DEVELOPMENT ENVIRONMENT]
* NEW: Replace anonymous object arrays by template arrays.
* NEW: A button that clears the shortcut in the menu editor.
* NEW: When evaluating expression in the console, a semi-colon at the end 
  of the expression prevents the end newline to be printed, like in the 
  PRINT instruction.
* NEW: CTRL+G in the console makes it flash.
* OPT: Remove the CCoolTabs class, that was not used anymore.
* NEW: The main selected control is unselectable in the form editor now.
* NEW: Selected controls can be resized by pressing CTRL and an arrow key.
* NEW: Some form editor shortcuts have been changed to not conflict with
  the previous feature.
* BUG: Fix the horizontal position of the automatic completion.
* BUG: Look in project classes before component classes in automatic 
  completion.

[INTERPRETER]
* BUG: Fix the memory allocation debug routines.
* BUG: When instanciating a template array class, search for element class 
  symbol locally first.
* BUG: Template arrays now correctly release their elements.
* NEW: Update copyright year in gb_common.h header file.

[COMPILER]
* BUG: Manage .list and .info files incrementally, so that they are up to 
  date even when the project is not fully compiled.
* BUG: Float and Single constants are correctly written in the .info file.

[GB.QT.EXT]
* BUG: Fix some painting artifacts in Editor.
* BUG: In Editor, Undo and Redo now should always work correctly when a 
  line is rewritten.
* NEW: In Editor, when a line is rewritten, the Change event is always 
  emitted.
* NEW: The Editor is cleared now when it prints a CTRL+L character.
* NEW: The Editor flashes now when it prints a CTRL+G character.


git-svn-id: svn://localhost/gambas/trunk@1576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-09-21 23:22:07 +00:00
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