Commit graph

9712 commits

Author SHA1 Message Date
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
David Villalobos Cambronero
7779da3347 [GB.DB.MYSQL]
* NEW: Removed the Confirm property.

git-svn-id: svn://localhost/gambas/trunk@1426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-21 16:53:46 +00:00
Benoît Minisini
9343dd059d [DEVELOPMENT ENVIRONMENT]
* BUG: Shift+Delete now works correctly in the editor. It does not cut an 
  extra character anymore.
* BUG: The selected control name on top of the property sheet is now 
  correctly displayed.

[EXAMPLES]
* NEW: The AnalogWatch example now displays the time.

[GB.GTK]
* BUG: The Form.Load() method works correctly now.
* BUG: Draw.Begin() and DrawingArea Draw event correctly initialize the 
  background and foreground colors now.

[GB.NET.CURL]
* BUG: Fix some bad uses of interpreter API.

[GB.NET.SMTP]
* BUG: Fix some bugs in quoted-printable encoding and the sending of body 
  data.
* BUG: Apparently, a point at the beginning of a quoted-printable line is
  not allowed. So encode the point in that specific case.

[GB.QT]
* BUG: DrawingArea whose Background property has been changed does not 
  flicker anymore.


git-svn-id: svn://localhost/gambas/trunk@1425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-20 18:14:02 +00:00
David Villalobos Cambronero
7941ea217b [GB.DB.MYSQL]
* NEW: Added functions: Revoke, SetPassword and Rename to the User class.

git-svn-id: svn://localhost/gambas/trunk@1423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-20 12:27:18 +00:00
Laurent Carlier
519e1a2dfc [DEVELOPMENT ENVIRONMENT]
* BUG: Oups ! revert installation in sbin dir, sbin dir is reserved for 
superuser binaries. Back to bin dir !



git-svn-id: svn://localhost/gambas/trunk@1422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-20 10:45:04 +00:00
Laurent Carlier
585dbf6339 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix installation path for gambas executable for autotools 
package, and install it in sbin dir instead of bin dir now.



git-svn-id: svn://localhost/gambas/trunk@1420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-20 10:28:43 +00:00
Benoît Minisini
4834202640 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display the current opened project in the list of recently 
  opened projects.

[GB.XML]
* BUG: XMLDocument.Open() now can open a file located inside the project.


git-svn-id: svn://localhost/gambas/trunk@1406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-11 19:16:52 +00:00
Benoît Minisini
9b46a269c7 [DEVELOPMENT ENVIRONMENT]
* NEW: Adds a popup menu to the console window.

[WIKI CGI SCRIPT]
* BUG: Display a message when accessing a symbol page that does not exist 
  in the current version.

[EXAMPLES]
* NEW: New Barcode example made by Charles Guerin and modified by me.

[INTERPRETER]
* NEW: New API for returning the fully-qualified domain name.
* BUG: Fix a bug in DateAdd() that made this function corrupt the next 
  date to string conversion, which then lead to other bad weird things.

[GB.DRAW]
* BUG: Fix Draw.Circle center that was shifted one pixel to the top left.

[GB.GTK]
* BUG: Window.Reparent() now works correctly when embedding or unembedding 
  a top-level window.
  
[GB.NET.SMTP]
* NEW: Do not use MIME parts when it is useless.
* BUG: Try to use the fully-qualified domain name when sending the EHLO 
  command to the SMTP server. That actually works only if the system domain
  name has been set to the DNS domain name.

[GB.PCRE]
* BUG: Fix crashes due to bad uses of interpreter API.

[GB.QT]
* BUG: Fix the drawing of the frame of cached DrawingArea controls.


git-svn-id: svn://localhost/gambas/trunk@1404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-11 10:44:50 +00:00
David Villalobos Cambronero
934b781fec [GB.DB.MYSQL]
* NEW: Added Info function to _User class.
* OPT: Optimized the Info function in some clases.
* NEW: Spanish translation updated.
* NEW: Added basic support to Routines.
* NEW: Dumps include routines now.

[DEVELOPMENT ENVIROMENT]
* BUG: Updated country for David Villalobos (authors.txt). ;-)
* NEW: Spanish translation updated.

[GB.FORM]
* BUG: Commented line 547 in class ValueBox (Print "aa").
* NEW: ValueBox and DatePicker close the DateChooser form when Esc key is
  pressed.

git-svn-id: svn://localhost/gambas/trunk@1402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-09 12:30:41 +00:00
David Villalobos Cambronero
ab1f13eb50 [GB.DB.MYSQL]
* BUG: Quoted symbols in Table::INSERT

[GB.DESKTOP]
* BUG: Commented line 193 in Desktop class. Terminal
  opens on KDE desktops.

git-svn-id: svn://localhost/gambas/trunk@1398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-03 14:31:59 +00:00
Benoît Minisini
a660249f58 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor selection frame is now drawn with controls, because
  drawing directly on a form is not possible anymore with qt4.
* BUG: "Update all forms" menu entry works again.


git-svn-id: svn://localhost/gambas/trunk@1397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-01 22:18:31 +00:00
David Villalobos Cambronero
d7f48d3487 [GB.DB.MYSQL]
* NEW: Added a logo.
* NEW: Added the Datatype NULL.

git-svn-id: svn://localhost/gambas/trunk@1396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-26 12:52:42 +00:00
Benoît Minisini
0ff08d2231 [WIKI CGI SCRIPT]
* BUG: Fix the "<hr>" bug in example sections.
* BUG: Correctly display the main title before syntax sections.

[ARCHIVER]
* NEW: Ignore core dump files when making an executable.

[GB.GTK]
* BUG: Fix the XEMBED protocol support.

[GB.QT]
* BUG: Fix the XEMBED protocol support.
* BUG: Adding an item to a ComboBox with a bad index should not print any 
  warning message anymore.


git-svn-id: svn://localhost/gambas/trunk@1391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-21 09:41:25 +00:00
seraf1
11d0dcad71 [GB.FORM]
* BUG: In DatePicker and ValueBox : DateChooser Move when Window Move
* BUG: In ValueBox : Always hide DateChooser when DeActivate



git-svn-id: svn://localhost/gambas/trunk@1389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-20 08:54:04 +00:00
Benoît Minisini
d0ddcf2e1b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly focus on the Name property when a new control is created 
  in the form editor.

[EXAMPLES]
* BUG: Fix the DataReportExample example.


git-svn-id: svn://localhost/gambas/trunk@1384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-15 11:23:16 +00:00
Benoît Minisini
5007aa705b [GB.GTK]
* NEW: PictureBox.AutoResize is a new property that makes the PictureBox 
  fits its contents.


git-svn-id: svn://localhost/gambas/trunk@1383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-14 22:36:25 +00:00